jscyl13849007907 2 months ago
parent c469fb4b0e
commit 08c2e41603

@ -1403,26 +1403,52 @@ export default {
}
});
that.jobDetail.info = newList.join("丨");
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,
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.info,
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("im_sendParams", JSON.stringify(sendParams));
uni.navigateTo({
url: "/root/NEUIKit/pages/Chat/index",
});
that.goImLoading = false;
() => {
uni.navigateTo({
url: "/root/NEUIKit/pages/Chat/index",
});
},
() => {}
);
// 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