|
|
|
@ -1234,41 +1234,45 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
goIm() {
|
|
|
|
goIm() {
|
|
|
|
let that = this;
|
|
|
|
let that = this;
|
|
|
|
that.F.wyyxPost(
|
|
|
|
that.F.wyyxGet(that.api.job_get_cus + '?jobId=' + that.jobDetail.id,{},(cusData)=>{
|
|
|
|
that.api.wyyx_create,
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
senderUserId: uni.getStorageSync("apply-uid"),
|
|
|
|
that.F.wyyxPost(
|
|
|
|
receiverUserId: that.jobDetail.customServiceUserId,
|
|
|
|
that.api.wyyx_create,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
(res) => {
|
|
|
|
senderUserId: uni.getStorageSync("apply-uid"),
|
|
|
|
uni.$UIKitStore.uiStore.selectConversation(res.conversationId);
|
|
|
|
receiverUserId: cusData,
|
|
|
|
that.F.wyyxPost(
|
|
|
|
},
|
|
|
|
that.api.wyyx_sendCard,
|
|
|
|
(res) => {
|
|
|
|
{
|
|
|
|
uni.$UIKitStore.uiStore.selectConversation(res.conversationId);
|
|
|
|
conversationType: 1,
|
|
|
|
that.F.wyyxPost(
|
|
|
|
senderUserId: uni.getStorageSync("apply-uid"), // 发送者id 即当前登录用户id
|
|
|
|
that.api.wyyx_sendCard,
|
|
|
|
receiverUserId: that.jobDetail.customServiceUserId, // 接收方用户id
|
|
|
|
{
|
|
|
|
type: 100000,
|
|
|
|
conversationType: 1,
|
|
|
|
jobDetail: {
|
|
|
|
senderUserId: uni.getStorageSync("apply-uid"), // 发送者id 即当前登录用户id
|
|
|
|
title: that.jobDetail.jobName,
|
|
|
|
receiverUserId: cusData, // 接收方用户id
|
|
|
|
info: (that.jobDetail.addss ? that.jobDetail.addss + "丨" : "") + that.jobDetail.genderRestrict + "丨" + that.jobDetail.age,
|
|
|
|
type: 100000,
|
|
|
|
label: that.jobDetail.jobRequestLabelNames.length > 0 ? that.jobDetail.jobRequestLabelNames : "",
|
|
|
|
jobDetail: {
|
|
|
|
salaryClassifyValue: that.jobDetail.priceStr,
|
|
|
|
title: that.jobDetail.jobName,
|
|
|
|
serviceFee: that.jobDetail.fuWuFei,
|
|
|
|
info: (that.jobDetail.addss ? that.jobDetail.addss + "丨" : "") + that.jobDetail.genderRestrict + "丨" + that.jobDetail.age,
|
|
|
|
monthPay: that.jobDetail.monthPay,
|
|
|
|
label: that.jobDetail.jobRequestLabelNames.length > 0 ? that.jobDetail.jobRequestLabelNames : "",
|
|
|
|
jobId: that.uid,
|
|
|
|
salaryClassifyValue: that.jobDetail.priceStr,
|
|
|
|
|
|
|
|
serviceFee: that.jobDetail.fuWuFei,
|
|
|
|
|
|
|
|
monthPay: that.jobDetail.monthPay,
|
|
|
|
|
|
|
|
jobId: that.uid,
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
() => {
|
|
|
|
() => {
|
|
|
|
uni.navigateTo({
|
|
|
|
uni.navigateTo({
|
|
|
|
url: "/root/NEUIKit/pages/Chat/index",
|
|
|
|
url: "/root/NEUIKit/pages/Chat/index",
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
() => {}
|
|
|
|
() => {}
|
|
|
|
);
|
|
|
|
);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
() => {}
|
|
|
|
() => {}
|
|
|
|
);
|
|
|
|
);
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|