no message

cyl/master-0804
jscyl13849007907 3 months ago
parent a2a3b619c1
commit 56424b6bc6

@ -22,7 +22,8 @@ let jobInfo = {
hasSee: "/yishoudan/job/view/record/addRecord", hasSee: "/yishoudan/job/view/record/addRecord",
getCityNameByLatLng: '/location/getCityNameByLatLng' ,// 根据经纬度获取城市 getCityNameByLatLng: '/location/getCityNameByLatLng' ,// 根据经纬度获取城市
get_city_list: '/city/getAllCityLevel2', // 获取城市列表 get_city_list: '/city/getAllCityLevel2', // 获取城市列表
new_job_list: '/yishoudan/custom/job/listV2', // 新职位列表
dao_job_list: '/yishoudan/store/job/platform/list', // 稻田职位列表
} }
export default jobInfo; export default jobInfo;

@ -1090,6 +1090,7 @@
pageSize: 10, pageSize: 10,
}, },
(historyRes) => { (historyRes) => {
uni.setStorageSync('isExecute',0) uni.setStorageSync('isExecute',0)
if ($type == "concat") { if ($type == "concat") {
uni.hideToast(); uni.hideToast();
@ -1102,10 +1103,12 @@
item.ids = ''; item.ids = '';
item.comList = []; item.comList = [];
try { try {
console.log('0811 try')
item.chatType = "markdown"; item.chatType = "markdown";
item.message = JSON.parse(item.message); item.message = JSON.parse(item.message);
item.ids = item.message.map(itm => itm['职位ID']).join(','); item.ids = item.message.map(itm => itm['职位ID']).join(',');
} catch (e) { } catch (e) {
console.log('0811 catch')
if(item.messageType == 99){ if(item.messageType == 99){
item.chatType = "markdown"; item.chatType = "markdown";
item.message = item.message; item.message = item.message;
@ -1140,7 +1143,7 @@
attr2:item.attr2 || '', attr2:item.attr2 || '',
}; };
}); });
console.log('0811 001')
if ($type != "concat") { if ($type != "concat") {
uni.showLoading({ title: '加载中' }); uni.showLoading({ title: '加载中' });
setTimeout(()=>{ setTimeout(()=>{
@ -1148,6 +1151,7 @@
},300) },300)
that.isShowWelcome = false; that.isShowWelcome = false;
} }
console.log('0811 002')
const promises = _array.map(item => { const promises = _array.map(item => {
if (item.ids && item.ids.replace(/,/g, "")) { if (item.ids && item.ids.replace(/,/g, "")) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
@ -1160,9 +1164,9 @@
return Promise.resolve(); // ids Promise return Promise.resolve(); // ids Promise
} }
}); });
console.log('0811 003')
Promise.all(promises).then(() => { Promise.all(promises).then(() => {
console.log('0811 004')
if ($type != "concat") { if ($type != "concat") {
uni.hideLoading(); uni.hideLoading();
} }

Loading…
Cancel
Save