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,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", });
}); },
}, () => {}
() => {} );
); },
}, () => {}
() => {} );
); })
}, },
}, },
}; };

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