no message

cyl/job_im
jscyl13849007907 4 days ago
parent fbcb6fe8a7
commit 282c95c479

@ -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.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),
url: "/root/NEUIKit/index?item=" + (uni.getStorageSync("im-accid") + '|1|' + cusData.accid) + '&f=1',
});
},
() => {},
);
},
() => {},
);
});
},
switchRadioChange(e) {

Loading…
Cancel
Save