no message

cyl/master-im
jscyl13849007907 5 months ago
parent 6f4b4ebe05
commit 7fe624987a

@ -15,6 +15,7 @@ let jobInfo = {
job_getPolicyShare: '/yishoudan/store/job/getPolicyByStoreJobId',// 获取共享职位政策 job_getPolicyShare: '/yishoudan/store/job/getPolicyByStoreJobId',// 获取共享职位政策
job_ai: '/yishoudan/common/structure/get', // 获取ai结果 job_ai: '/yishoudan/common/structure/get', // 获取ai结果
yi_job_class_new: "/labels/getListByTypeAndIndustry", // 新职位要求接口(新) yi_job_class_new: "/labels/getListByTypeAndIndustry", // 新职位要求接口(新)
job_get_cus: "/yishoudan/job/customer/support/getJobCustomerSupportIM", // 获取客服ID
} }
export default jobInfo; export default jobInfo;

@ -1234,11 +1234,14 @@ export default {
}, },
goIm() { goIm() {
let that = this; let that = this;
that.F.wyyxGet(that.api.job_get_cus + '?jobId=' + that.jobDetail.id,{},(cusData)=>{
that.F.wyyxPost( that.F.wyyxPost(
that.api.wyyx_create, that.api.wyyx_create,
{ {
senderUserId: uni.getStorageSync("apply-uid"), senderUserId: uni.getStorageSync("apply-uid"),
receiverUserId: that.jobDetail.customServiceUserId, receiverUserId: cusData,
}, },
(res) => { (res) => {
uni.$UIKitStore.uiStore.selectConversation(res.conversationId); uni.$UIKitStore.uiStore.selectConversation(res.conversationId);
@ -1247,7 +1250,7 @@ export default {
{ {
conversationType: 1, conversationType: 1,
senderUserId: uni.getStorageSync("apply-uid"), // id id senderUserId: uni.getStorageSync("apply-uid"), // id id
receiverUserId: that.jobDetail.customServiceUserId, // id receiverUserId: cusData, // id
type: 100000, type: 100000,
jobDetail: { jobDetail: {
title: that.jobDetail.jobName, title: that.jobDetail.jobName,
@ -1269,6 +1272,7 @@ export default {
}, },
() => {} () => {}
); );
})
}, },
}, },
}; };

@ -832,3 +832,6 @@ $max-radius: 49;
height: 40% !important; height: 40% !important;
} }
// //
.g_mb_50 {
margin-bottom: 50px;
}
Loading…
Cancel
Save