jscyl13849007907 2 months ago
parent c469fb4b0e
commit 08c2e41603

@ -1403,26 +1403,52 @@ export default {
} }
}); });
that.jobDetail.info = newList.join("丨"); that.jobDetail.info = newList.join("丨");
let sendParams = { that.F.wyyxPost(
conversationType: 1, that.api.wyyx_sendCard, {
senderAccid: uni.getStorageSync("im-accid"), conversationType: 1,
receiverAccid: cusData.accid, // senderUserId: uni.getStorageSync("apply-uid"), // id id
type: 100000, // receiverUserId: cusData, // id
jobDetail: { senderAccid: uni.getStorageSync("im-accid"),
title: that.jobDetail.jobName, receiverAccid: cusData.accid,
info: that.jobDetail.info, type: 100000,
label: that.jobDetail.jobRequestLabelNames.length > 0 ? that.jobDetail.jobRequestLabelNames : [], jobDetail: {
salaryClassifyValue: that.jobDetail.priceStr, title: that.jobDetail.jobName,
serviceFee: that.showPrice ? that.jobDetail.serverPrice : "", info: that.jobDetail.info,
monthPay: that.jobDetail.monthPay, label: that.jobDetail.jobRequestLabelNames.length > 0 ? that
jobId: that.uid, .jobDetail.jobRequestLabelNames : "",
salaryClassifyValue: that.jobDetail.priceStr,
serviceFee: that.jobDetail.fuWuFei,
monthPay: that.jobDetail.monthPay,
jobId: that.uid,
},
}, },
}; () => {
uni.setStorageSync("im_sendParams", JSON.stringify(sendParams)); uni.navigateTo({
uni.navigateTo({ url: "/root/NEUIKit/pages/Chat/index",
url: "/root/NEUIKit/pages/Chat/index", });
}); },
that.goImLoading = false; () => {}
);
// let sendParams = {
// conversationType: 1,
// senderAccid: uni.getStorageSync("im-accid"),
// receiverAccid: cusData.accid,
// type: 100000,
// jobDetail: {
// title: that.jobDetail.jobName,
// info: that.jobDetail.info,
// label: that.jobDetail.jobRequestLabelNames.length > 0 ? that.jobDetail.jobRequestLabelNames : [],
// salaryClassifyValue: that.jobDetail.priceStr,
// serviceFee: that.showPrice ? that.jobDetail.serverPrice : "",
// monthPay: that.jobDetail.monthPay,
// jobId: that.uid,
// },
// };
// uni.setStorageSync("im_sendParams", JSON.stringify(sendParams));
// uni.navigateTo({
// url: "/root/NEUIKit/pages/Chat/index",
// });
// that.goImLoading = false;
}, },
() => {} () => {}
); );

Loading…
Cancel
Save