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(
that.api.wyyx_sendCard, {
conversationType: 1, conversationType: 1,
// senderUserId: uni.getStorageSync("apply-uid"), // id id
// receiverUserId: cusData, // id
senderAccid: uni.getStorageSync("im-accid"), senderAccid: uni.getStorageSync("im-accid"),
receiverAccid: cusData.accid, receiverAccid: cusData.accid,
type: 100000, type: 100000,
jobDetail: { jobDetail: {
title: that.jobDetail.jobName, title: that.jobDetail.jobName,
info: that.jobDetail.info, info: that.jobDetail.info,
label: that.jobDetail.jobRequestLabelNames.length > 0 ? that.jobDetail.jobRequestLabelNames : [], label: that.jobDetail.jobRequestLabelNames.length > 0 ? that
.jobDetail.jobRequestLabelNames : "",
salaryClassifyValue: that.jobDetail.priceStr, salaryClassifyValue: that.jobDetail.priceStr,
serviceFee: that.showPrice ? that.jobDetail.serverPrice : "", serviceFee: that.jobDetail.fuWuFei,
monthPay: that.jobDetail.monthPay, monthPay: that.jobDetail.monthPay,
jobId: that.uid, 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