From 56424b6bc6bc88a4718726a9f740e0815ae2cabe Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Mon, 11 Aug 2025 15:15:19 +0800 Subject: [PATCH] no message --- api/job.js | 3 ++- root/chat/index.vue | 10 +++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/api/job.js b/api/job.js index a1d8364..a5c4a8c 100644 --- a/api/job.js +++ b/api/job.js @@ -22,7 +22,8 @@ let jobInfo = { hasSee: "/yishoudan/job/view/record/addRecord", getCityNameByLatLng: '/location/getCityNameByLatLng' ,// 根据经纬度获取城市 get_city_list: '/city/getAllCityLevel2', // 获取城市列表 - + new_job_list: '/yishoudan/custom/job/listV2', // 新职位列表 + dao_job_list: '/yishoudan/store/job/platform/list', // 稻田职位列表 } export default jobInfo; \ No newline at end of file diff --git a/root/chat/index.vue b/root/chat/index.vue index 1ac73c8..9b8f228 100644 --- a/root/chat/index.vue +++ b/root/chat/index.vue @@ -1090,6 +1090,7 @@ pageSize: 10, }, (historyRes) => { + uni.setStorageSync('isExecute',0) if ($type == "concat") { uni.hideToast(); @@ -1102,10 +1103,12 @@ item.ids = ''; item.comList = []; try { + console.log('0811 try') item.chatType = "markdown"; item.message = JSON.parse(item.message); item.ids = item.message.map(itm => itm['职位ID']).join(','); } catch (e) { + console.log('0811 catch') if(item.messageType == 99){ item.chatType = "markdown"; item.message = item.message; @@ -1140,7 +1143,7 @@ attr2:item.attr2 || '', }; }); - + console.log('0811 001') if ($type != "concat") { uni.showLoading({ title: '加载中' }); setTimeout(()=>{ @@ -1148,6 +1151,7 @@ },300) that.isShowWelcome = false; } + console.log('0811 002') const promises = _array.map(item => { if (item.ids && item.ids.replace(/,/g, "")) { return new Promise((resolve, reject) => { @@ -1160,9 +1164,9 @@ return Promise.resolve(); // 如果没有 ids,直接返回已解决的 Promise } }); - + console.log('0811 003') Promise.all(promises).then(() => { - + console.log('0811 004') if ($type != "concat") { uni.hideLoading(); }