From 282c95c4795adc2dbdce83ad28a01e6c5489d4ef Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Mon, 11 May 2026 17:31:24 +0800 Subject: [PATCH] no message --- root/detail/job.vue | 47 ++++++++--------------------------------------- 1 file changed, 8 insertions(+), 39 deletions(-) diff --git a/root/detail/job.vue b/root/detail/job.vue index 2c831ba..49bf9d2 100644 --- a/root/detail/job.vue +++ b/root/detail/job.vue @@ -1834,45 +1834,14 @@ export default { goIm() { let that = this; that.F.wyyxGet(that.api.job_get_cus + "?jobId=" + that.jobDetail.id, {}, (cusData) => { - that.F.wyyxPost( - that.api.wyyx_create, - { - // senderUserId: uni.getStorageSync("apply-uid"), - // receiverUserId: cusData, - senderAccid: uni.getStorageSync("im-accid"), - receiverAccid: cusData.accid, - }, - (res) => { - // uni.$UIKitStore.uiStore.selectConversation(res.conversationId); - that.F.wyyxPost( - that.api.wyyx_sendCard, - { - conversationType: 1, - // senderUserId: uni.getStorageSync("apply-uid"), // 发送者id 即当前登录用户id - // receiverUserId: cusData, // 接收方用户id - senderAccid: uni.getStorageSync("im-accid"), - receiverAccid: cusData.accid, - type: 100000, - jobDetail: { - title: that.jobDetail.jobName, - info: (that.jobDetail.addss ? that.jobDetail.addss + "丨" : "") + that.jobDetail.genderRestrict + "丨" + that.jobDetail.age, - label: that.jobDetail.jobRequestLabelNames.length > 0 ? that.jobDetail.jobRequestLabelNames : "", - salaryClassifyValue: that.jobDetail.priceStr, - serviceFee: that.jobDetail.fuWuFei, - monthPay: that.jobDetail.monthPay, - jobId: that.uid, - }, - }, - () => { - uni.navigateTo({ - url: "/root/NEUIKit/index?item=" + (uni.getStorageSync("im-accid") + '|1|' + cusData.accid), - }); - }, - () => {}, - ); - }, - () => {}, - ); + 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) {