|
|
|
|
@ -1234,11 +1234,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: that.jobDetail.customServiceUserId,
|
|
|
|
|
receiverUserId: cusData,
|
|
|
|
|
},
|
|
|
|
|
(res) => {
|
|
|
|
|
uni.$UIKitStore.uiStore.selectConversation(res.conversationId);
|
|
|
|
|
@ -1247,7 +1250,7 @@ export default {
|
|
|
|
|
{
|
|
|
|
|
conversationType: 1,
|
|
|
|
|
senderUserId: uni.getStorageSync("apply-uid"), // 发送者id 即当前登录用户id
|
|
|
|
|
receiverUserId: that.jobDetail.customServiceUserId, // 接收方用户id
|
|
|
|
|
receiverUserId: cusData, // 接收方用户id
|
|
|
|
|
type: 100000,
|
|
|
|
|
jobDetail: {
|
|
|
|
|
title: that.jobDetail.jobName,
|
|
|
|
|
@ -1269,6 +1272,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
() => {}
|
|
|
|
|
);
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
|