From cc4b7a114ad7e648799bcdd3d13a422abb2cce0a Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Thu, 28 May 2026 16:31:48 +0800 Subject: [PATCH] no message --- root/detail/job.vue | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/root/detail/job.vue b/root/detail/job.vue index eb923d3..860533b 100644 --- a/root/detail/job.vue +++ b/root/detail/job.vue @@ -2101,16 +2101,23 @@ export default { }, goIm() { let that = this; - that.F.wyyxGet(that.api.job_get_cus + "?jobId=" + that.jobDetail.id, {}, (cusData) => { - uni.setStorageSync("jobim", JSON.stringify({ - cusData: cusData, - jobDetail: that.jobDetail, - uid: that.uid, - })); - uni.navigateTo({ - url: "/root/NEUIKit/index?item=" + (uni.getStorageSync("im-accid") + '|1|' + cusData.accid) + '&f=1', + if(that.isJm){ + uni.showToast({ + title: "暂未开通客服", + icon: "none", }); - }); + }else{ + that.F.wyyxGet(that.api.job_get_cus + "?jobId=" + that.jobDetail.id, {}, (cusData) => { + uni.setStorageSync("jobim", JSON.stringify({ + cusData: cusData, + jobDetail: that.jobDetail, + uid: that.uid, + })); + uni.navigateTo({ + url: "/root/NEUIKit/index?item=" + (uni.getStorageSync("im-accid") + '|1|' + cusData.accid) + '&f=1', + }); + }); + } }, switchRadioChange(e) { let that = this;