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_ai: '/yishoudan/common/structure/get', // 获取ai结果
yi_job_class_new: "/labels/getListByTypeAndIndustry", // 新职位要求接口(新)
job_get_cus: "/yishoudan/job/customer/support/getJobCustomerSupportIM", // 获取客服ID
}
export default jobInfo;

@ -1234,41 +1234,45 @@ export default {
},
goIm() {
let that = this;
that.F.wyyxPost(
that.api.wyyx_create,
{
senderUserId: uni.getStorageSync("apply-uid"),
receiverUserId: that.jobDetail.customServiceUserId,
},
(res) => {
uni.$UIKitStore.uiStore.selectConversation(res.conversationId);
that.F.wyyxPost(
that.api.wyyx_sendCard,
{
conversationType: 1,
senderUserId: uni.getStorageSync("apply-uid"), // id id
receiverUserId: that.jobDetail.customServiceUserId, // id
type: 100000,
jobDetail: {
title: that.jobDetail.jobName,
info: (that.jobDetail.addss ? that.jobDetail.addss + "丨" : "") + that.jobDetail.genderRestrict + "丨" + that.jobDetail.age,
label: that.jobDetail.jobRequestLabelNames.length > 0 ? that.jobDetail.jobRequestLabelNames : "",
salaryClassifyValue: that.jobDetail.priceStr,
serviceFee: that.jobDetail.fuWuFei,
monthPay: that.jobDetail.monthPay,
jobId: that.uid,
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: cusData,
},
(res) => {
uni.$UIKitStore.uiStore.selectConversation(res.conversationId);
that.F.wyyxPost(
that.api.wyyx_sendCard,
{
conversationType: 1,
senderUserId: uni.getStorageSync("apply-uid"), // id id
receiverUserId: cusData, // id
type: 100000,
jobDetail: {
title: that.jobDetail.jobName,
info: (that.jobDetail.addss ? that.jobDetail.addss + "丨" : "") + that.jobDetail.genderRestrict + "丨" + that.jobDetail.age,
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.navigateTo({
url: "/root/NEUIKit/pages/Chat/index",
});
},
() => {}
);
},
() => {}
);
() => {
uni.navigateTo({
url: "/root/NEUIKit/pages/Chat/index",
});
},
() => {}
);
},
() => {}
);
})
},
},
};

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