|
|
|
|
@ -488,14 +488,21 @@
|
|
|
|
|
<div class="g_fs_12 g_c_6" style="margin-top: 8px">{{ isSc ? "已收藏" : "收藏" }}</div>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="g_flex_none g_flex_column_center" v-if="userinfo && userinfo.agencyId">
|
|
|
|
|
<button class="g_pl_0 g_pr_0 g_bg_f g_mr_12 g_w_36" hover-class="thover" style="line-height: 1; border-radius: 0" @click="goIm">
|
|
|
|
|
<div class="g_flex_none g_flex_column_center" v-if="userinfo && userinfo.agencyId && false">
|
|
|
|
|
<g-button btnText="客服" class="g_flex_1 g_fw_600" size="small_auto" @clickBtn="goIm"></g-button>
|
|
|
|
|
|
|
|
|
|
<!-- <button class="g_pl_0 g_pr_0 g_bg_f g_mr_12 g_w_36" hover-class="thover" style="line-height: 1; border-radius: 0" @click="goIm">
|
|
|
|
|
<icon class="iconfont icon-xiaoxi" style="color: #787878; line-height: 1; margin-top: -5px; font-size: 20px !important; position: relative; top: 3px"></icon>
|
|
|
|
|
<div class="g_fs_12 g_c_6" style="margin-top: 8px">客服</div>
|
|
|
|
|
</button>
|
|
|
|
|
</button> -->
|
|
|
|
|
</div>
|
|
|
|
|
<div class="g_flex_1 g_flex_column_center">
|
|
|
|
|
<g-button btnText="我要报名" class="g_flex_1 g_fw_600" size="small_auto" :type="jobDetail.recruitment == 2 || !attention ? 'infro' : 'primary'" @clickBtn="handleOpenApplyPopup" style="width: calc(100% - 36px)"></g-button>
|
|
|
|
|
<div class="g_flex_1 g_flex_row_center">
|
|
|
|
|
<div class="g_flex_none g_flex_column_center g_mr_12">
|
|
|
|
|
<g-button btnText="联系客服" class="g_w_100" size="small_auto" @clickBtn="goIm"></g-button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="g_flex_1 g_flex_column_center ">
|
|
|
|
|
<g-button btnText="我要报名" class="" size="small_auto" :type="jobDetail.recruitment == 2 || !attention ? 'infro' : 'primary'" @clickBtn="handleOpenApplyPopup" style="width: calc(100% - 32px)"></g-button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</slot>
|
|
|
|
|
@ -1357,22 +1364,34 @@ export default {
|
|
|
|
|
that.F.wyyxPost(
|
|
|
|
|
that.api.wyyx_create,
|
|
|
|
|
{
|
|
|
|
|
senderUserId: uni.getStorageSync("apply-uid"),
|
|
|
|
|
receiverUserId: cusData,
|
|
|
|
|
// senderUserId: uni.getStorageSync("apply-uid"),
|
|
|
|
|
// receiverUserId: cusData,
|
|
|
|
|
senderAccid: uni.getStorageSync("im-accid"),
|
|
|
|
|
receiverAccid: cusData,
|
|
|
|
|
},
|
|
|
|
|
(res) => {
|
|
|
|
|
uni.$UIKitStore.uiStore.selectConversation(res.conversationId);
|
|
|
|
|
console.log("that.jobDetail", that.jobDetail);
|
|
|
|
|
let list = ["addss", "genderRestrict", "genderAge"];
|
|
|
|
|
let newList = [];
|
|
|
|
|
list.forEach((item) => {
|
|
|
|
|
if (that.jobDetail[item]) {
|
|
|
|
|
newList.push(that.jobDetail[item]);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
that.jobDetail.info = newList.join("丨");
|
|
|
|
|
that.F.wyyxPost(
|
|
|
|
|
that.api.wyyx_sendCard,
|
|
|
|
|
{
|
|
|
|
|
conversationType: 1,
|
|
|
|
|
senderUserId: uni.getStorageSync("apply-uid"), // 发送者id 即当前登录用户id
|
|
|
|
|
receiverUserId: cusData, // 接收方用户id
|
|
|
|
|
// senderUserId: uni.getStorageSync("apply-uid"), // 发送者id 即当前登录用户id
|
|
|
|
|
// receiverUserId: cusData, // 接收方用户id
|
|
|
|
|
senderAccid: uni.getStorageSync("im-accid"),
|
|
|
|
|
receiverAccid: cusData,
|
|
|
|
|
type: 100000,
|
|
|
|
|
jobDetail: {
|
|
|
|
|
title: that.jobDetail.jobName,
|
|
|
|
|
info: (that.jobDetail.addss ? that.jobDetail.addss + "丨" : "") + that.jobDetail.genderRestrict + "丨" + that.jobDetail.age,
|
|
|
|
|
info: that.jobDetail.info,
|
|
|
|
|
label: that.jobDetail.jobRequestLabelNames.length > 0 ? that.jobDetail.jobRequestLabelNames : [],
|
|
|
|
|
salaryClassifyValue: that.jobDetail.priceStr,
|
|
|
|
|
serviceFee: that.showPrice ? that.jobDetail.serverPrice : "",
|
|
|
|
|
|