|
|
|
@ -2101,16 +2101,23 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
goIm() {
|
|
|
|
goIm() {
|
|
|
|
let that = this;
|
|
|
|
let that = this;
|
|
|
|
that.F.wyyxGet(that.api.job_get_cus + "?jobId=" + that.jobDetail.id, {}, (cusData) => {
|
|
|
|
if(that.isJm){
|
|
|
|
uni.setStorageSync("jobim", JSON.stringify({
|
|
|
|
uni.showToast({
|
|
|
|
cusData: cusData,
|
|
|
|
title: "暂未开通客服",
|
|
|
|
jobDetail: that.jobDetail,
|
|
|
|
icon: "none",
|
|
|
|
uid: that.uid,
|
|
|
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
|
|
|
url: "/root/NEUIKit/index?item=" + (uni.getStorageSync("im-accid") + '|1|' + cusData.accid) + '&f=1',
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}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) {
|
|
|
|
switchRadioChange(e) {
|
|
|
|
let that = this;
|
|
|
|
let that = this;
|
|
|
|
|