cyl/job_im_cus
wangxia 2 weeks ago
parent f86aa75c15
commit b039e4f809

@ -830,6 +830,7 @@ export default {
const idsArray = this.getFilterData.jobSpecialLabelObjects.map((obj) => obj.id);
//
this.getFilterData.jobSpecialLabelIds = idsArray.join(",");
this.getFilterData["jobRequestLabelIds"] = idsArray.join(",");
// console.log("deleteJobSpecialLabel", this.getFilterData);
this.getList();
},

@ -71,7 +71,7 @@
</view>
<!-- v-if="!userInfo.agencyId && isLogin" -->
<view class="g_mt_10" v-if="(!userInfo.agencyId || !applystatys) && isLogin">
<view class="g_mt_10" v-if="(!userInfo.agencyId || !applystatys) && userInfo.agencyId != miniAppInfo.id && isLogin">
<g-panel-form-item
:list="[
{
@ -168,7 +168,7 @@
@clickItem="goPage('/root/merchantManagement/teamManage')"
/>
</view>
<view class="g_bg_f g_h_56 g_ml_12 g_mr_12 g_mt_24 g_radius_8 g_flex_row_center flex_center g_position_rela" @click="goPage('/root/merchantManagement/merchantManagement')" hover-class="thover" v-if="isAdmin">
<view class="g_bg_f g_h_56 g_ml_12 g_mr_12 g_mt_24 g_radius_8 g_flex_row_center flex_center g_position_rela" @click="goPage('/root/merchantManagement/merchantManagement')" hover-class="thover" v-if="isAdmin && userInfo.agencyId == miniAppInfo.id">
<view class="iconfont icon-shangjiahoutai g_mr_6 g_mt_2"></view>
<view class="g_fw_600 g_fs_17">商家管理后台</view>
<view v-if="hasNewResume > 0" class="g_ml_4" style="font-size: 12px; color: #ffffff; background-color: #fa3534; display: inline-flex; justify-content: center; align-items: center; line-height: 24rpx; padding: 4rpx 8rpx; border-radius: 100rpx; z-index: 9">
@ -800,6 +800,7 @@ export default {
this.api.person_dataValue + "?classify=1",
{
classify: 1,
jobAgencyId: uni.getStorageSync("miniApp-info").id,
},
(res) => {
// console.log("res", res);

@ -1,8 +1,6 @@
<template>
<view class="p-root-detail-job g_ml_10 g_mr_10 g_mt_10 g_kuaishou">
<view class="g_bg_f g_radius_8 g_mb_10 g_pl_10 g_pr_10" style="width: calc(100% - 0px); margin: 0 auto; margin-bottom: 10px"
>
<view class="g_bg_f g_radius_8 g_mb_10 g_pl_10 g_pr_10" style="width: calc(100% - 0px); margin: 0 auto; margin-bottom: 10px">
<view class="g_flex_row_between flex_center g_h_57 g_fs_16 g_border_e_b" v-if="isJm && jobDetail.newXmf">
<view class="g_flex_row_start" style="flex: none">
<view class="g_fw_600 g_mr_4 g_flex_column_center">项目方</view>
@ -79,54 +77,44 @@
<view class="g_fs_16 g_fw_600 g_c_f40 g_lh_1_2 g_flex_column_center" v-if="jobDetail.priceStr">
{{ jobDetail.priceStr }}
</view>
<view class="g_fs_14 g_c_9" v-if="(jobDetail.minMonthlyPay && jobDetail.maxMonthlyPay) && jobDetail.monthPay && jobDetail.priceStr && jobDetail.priceStr.indexOf('元/月') == -1">
<view class="g_fs_14 g_c_9" v-if="jobDetail.minMonthlyPay && jobDetail.maxMonthlyPay && jobDetail.monthPay && jobDetail.priceStr && jobDetail.priceStr.indexOf('元/月') == -1">
{{ jobDetail.monthPay ? "丨" + jobDetail.monthPay : "" }}
</view>
</view>
<view class="g_flex_none g_flex_column_center" style="font-size: 14px;color: #999999;">
招聘人数{{ jobDetail.headcount || recruitNum }}
</view>
<view class="g_flex_none g_flex_column_center" style="font-size: 14px; color: #999999"> 招聘人数{{ jobDetail.headcount || recruitNum }} </view>
</view>
<!-- 地址 -->
<div style="border-top: 1px solid #eee;margin: 10px auto 0;">
<div style="border-radius: 8px;margin: 0px auto;padding: 8px 0;" class="bossinfo_dom">
<view class="m-address "
hover-class="thover"
v-if="(jobDetail && jobDetail.store) || (jobDetail.storeLat && jobDetail.storeLng)">
<div class="store-item g_flex_row_start" v-if="jobDetail && jobDetail.store" style="margin-bottom: 6px;">
<view class="g_flex_none" style="font-size: 14px;color: #999;">
工作单位
</view>
<div style="border-top: 1px solid #eee; margin: 10px auto 0">
<div style="border-radius: 8px; margin: 0px auto; padding: 8px 0" class="bossinfo_dom">
<view class="m-address" hover-class="thover" v-if="(jobDetail && jobDetail.store) || (jobDetail.storeLat && jobDetail.storeLng)">
<div class="store-item g_flex_row_start" v-if="jobDetail && jobDetail.store" style="margin-bottom: 6px">
<view class="g_flex_none" style="font-size: 14px; color: #999"> 工作单位 </view>
<view class="g_flex_1 g_flex_column_center" @click="showCompanyInfo">
<view class="g_ell_1 g_fw_600" style="font-size: 14px;color: #000;">
<view class="g_ell_1 g_fw_600" style="font-size: 14px; color: #000">
{{ jobDetail.store.aliasName || "-" }}
</view>
</view>
</div>
<div class="store-item g_flex_row_start" v-if="jobDetail && jobDetail.store" style="margin-bottom: 6px;">
<view class="g_flex_none" style="font-size: 14px;color: #999;">
企业简介
</view>
<div class="store-item g_flex_row_start" v-if="jobDetail && jobDetail.store" style="margin-bottom: 6px">
<view class="g_flex_none" style="font-size: 14px; color: #999"> 企业简介 </view>
<view class="g_flex_1 g_flex_column_center" @click="showCompanyInfo">
<view class="g_ell_2" style="font-size: 14px;color: #999;">
<view class="g_ell_2" style="font-size: 14px; color: #999">
{{ jobDetail.store.storeInfo || "-" }}
</view>
</view>
<view class="g_flex_none g_flex_c" style="width: 24px;" @click="showCompanyInfo">
<i class="iconfont icon-gengduo11 g_c_9 g_w_14 g_h_14" style="font-size: 16px;color: #999999;"></i>
<view class="g_flex_none g_flex_c" style="width: 24px" @click="showCompanyInfo">
<i class="iconfont icon-gengduo11 g_c_9 g_w_14 g_h_14" style="font-size: 16px; color: #999999"></i>
</view>
</div>
<div class="store-item g_flex_row_start">
<view class="g_flex_none" style="font-size: 14px;color: #999;">
工作地点
</view>
<view class="g_flex_none" style="font-size: 14px; color: #999"> 工作地点 </view>
<view class="g_flex_1 g_mr_4 g_flex_column_center" @click="goAddress">
<view class="g_ell_2" style="font-size: 14px;color: #999;">
<view class="g_ell_2" style="font-size: 14px; color: #999">
{{ jobDetail.storeAddr || "-" }}
</view>
</view>
<view class="g_flex_none g_flex_c" style="width: 24px;" @click="goAddress">
<i class="iconfont icon-dizhi1 g_c_9 g_w_14 g_h_14" style="font-size: 18px;color: #999999;"></i>
<view class="g_flex_none g_flex_c" style="width: 24px" @click="goAddress">
<i class="iconfont icon-dizhi1 g_c_9 g_w_14 g_h_14" style="font-size: 18px; color: #999999"></i>
</view>
</div>
</view>
@ -155,7 +143,7 @@
</view>
<view class="" v-if="tabInfo.active == 0">
<view class="g_fs_15">
<view @click="copyJobDetail" v-if="hasJobDetailContent" style="padding-top: 12px;">
<view @click="copyJobDetail" v-if="hasJobDetailContent" style="padding-top: 12px">
<span class="desp-copy" :style="{ color: themeColor, border: '1px solid ' + themeColor }">复制</span>
</view>
<template v-for="(item, index) in templateArr" :key="index">
@ -208,8 +196,9 @@
<view @click="setCops" v-if="jobDetail.newdesc != '暂无脱敏版通告'">
<span class="desp-copy" :style="{ color: themeColor, border: '1px solid ' + themeColor }">复制</span>
</view>
<div :style="{
'margin-top':jobDetail.newdesc == '暂无脱敏版通告' ? '0' : '26px'
<div
:style="{
'margin-top': jobDetail.newdesc == '暂无脱敏版通告' ? '0' : '26px',
}"
:class="jobDetail.newdesc == '暂无脱敏版通告' ? 'g_flex_row_center' : ''"
>
@ -243,7 +232,7 @@
<view class="g_fs_12 g_c_6" style="margin-top: 4px">客服</view>
</button>
</view>
<view class="g_flex_none g_flex_column_center" v-if="isAdmin">
<view class="g_flex_none g_flex_column_center" v-if="isAdmin && userInfo.agencyId == miniAppInfo.id">
<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="gojob">
<icon class="iconfont icon-edit-square" style="color: #787878; line-height: 1; margin-top: -5px; font-size: 20px !important"> </icon>
<view class="g_fs_12 g_c_6" style="margin-top: 4px">编辑</view>
@ -255,7 +244,6 @@
<view v-if="!isLogin" class="g_flex_column_center">
<rh-quicklogin mobileToLogin="/appLoginByTelAssistant" codeToMobile="/getWechatTel" @exportSetToken="pushSetToken('relationService')">
<rh-button
:cusStyle="{
position: 'relative',
top: '-1px',
@ -269,7 +257,6 @@
</view>
<view v-else class="g_flex_column_center">
<rh-button
btnText="联系客服"
class="g_fw_600 g_mr_12 g_w_100"
size="small_auto"
@ -287,7 +274,6 @@
<view v-if="!isLogin" class="">
<rh-quicklogin mobileToLogin="/appLoginByTelAssistant" codeToMobile="/getWechatTel" @exportSetToken="pushSetToken('record')">
<rh-button
:cusStyle="{
position: 'relative',
top: '-1px',
@ -302,7 +288,6 @@
</view>
<view v-else class="">
<rh-button
:cusStyle="{
position: 'relative',
top: '-1px',
@ -324,41 +309,26 @@
</view>
</view>
<div class="other-dom" style="margin-top: 12px;background-color: #fff;border-radius: 8px;">
<div class="g_flex_row_start" style="padding: 10px 12px 0;">
<div style="font-size: 16px;color: #666;" class="g_flex_none">
信息来源
</div>
<div style="font-size: 16px;color: #333;margin-left: 0px;" class="g_flex_1 g_flex_column_center">
<div class="other-dom" style="margin-top: 12px; background-color: #fff; border-radius: 8px">
<div class="g_flex_row_start" style="padding: 10px 12px 0">
<div style="font-size: 16px; color: #666" class="g_flex_none">信息来源</div>
<div style="font-size: 16px; color: #333; margin-left: 0px" class="g_flex_1 g_flex_column_center">
{{ fullName || "-" }}
</div>
</div>
<div class="g_flex_row_start" style="padding: 2px 12px 10px;">
<div style="font-size: 16px;color: #666;" class="g_flex_none g_flex_column_center">
有效期限
</div>
<div style="font-size: 16px;color: #333;margin-left: 0px;" class="g_flex_1 g_flex_column_center">
<div class="g_flex_row_start" style="padding: 2px 12px 10px">
<div style="font-size: 16px; color: #666" class="g_flex_none g_flex_column_center">有效期限</div>
<div style="font-size: 16px; color: #333; margin-left: 0px" class="g_flex_1 g_flex_column_center">
{{ validEndTime }}
</div>
</div>
</div>
<div class="other-dom" style="margin-top: 12px;background-color: #fff;border-radius: 8px;">
<div class="g_flex_row_start" style="padding: 10px 16px;font-size: 17px;font-weight: bold;border-bottom: 1px solid #eee;">
{{_title}}安全提示
</div>
<div class="" style="padding: 8px 10px 10px;color: rgba(102, 102, 102, 1);font-size: 14px;">
本平台严禁用工方扣押证件收取费用集资入股诱导异地入职异地参加培训违规使用求职者简历等侵害求职者权益的违规行为发现请<text style="color: #027aff" @click="goReport"></text>
</div>
<div class="other-dom" style="margin-top: 12px; background-color: #fff; border-radius: 8px">
<div class="g_flex_row_start" style="padding: 10px 16px; font-size: 17px; font-weight: bold; border-bottom: 1px solid #eee">{{ _title }}安全提示</div>
<div class="" style="padding: 8px 10px 10px; color: rgba(102, 102, 102, 1); font-size: 14px">本平台严禁用工方扣押证件收取费用集资入股诱导异地入职异地参加培训违规使用求职者简历等侵害求职者权益的违规行为发现请<text style="color: #027aff" @click="goReport"></text></div>
</div>
<view class="g_h_104s"></view>
<view class="g_pt_10 pop-container" :class="showServicePop ? 'show' : ''" v-if="false">
<view class="g_p_8 g_bg_f g_border_e">
@ -489,8 +459,6 @@
</u-popup>
<canvas type="2d" style="position: absolute; left: -2000px; width: 425px; height: 350px; background: #fff" id="canvasId" ref="canvasId"></canvas>
</view>
</template>
@ -524,7 +492,7 @@ export default {
// console.log("getWXCanvas", res);
wx.hideLoading();
resolve({
title: uni.getStorageSync("apply-token") && uni.getStorageSync("apply-userinfo") ? (uni.getStorageSync("apply-userinfo").user.userName +'帮你挑选了一份靠谱好工作,快来看看是不是适合你~') : '',
title: uni.getStorageSync("apply-token") && uni.getStorageSync("apply-userinfo") ? uni.getStorageSync("apply-userinfo").user.userName + "帮你挑选了一份靠谱好工作,快来看看是不是适合你~" : "",
imageUrl: res.tempFilePath,
path,
});
@ -547,18 +515,18 @@ export default {
// console.log("getWXCanvas", res);
wx.hideLoading();
//
let title = '';
let title = "";
if (that.jobDetail.jobName) {
title += that.jobDetail.jobName + ' ';
title += that.jobDetail.jobName + " ";
}
if (that.jobDetail.priceStr) {
title += that.jobDetail.priceStr + ' ';
title += that.jobDetail.priceStr + " ";
}
if (that.jobDetail.monthPay) {
title += '月薪' + that.jobDetail.monthPay + ' ';
title += "月薪" + that.jobDetail.monthPay + " ";
}
if (that.jobDetail.jobSpecialLabelNames && that.jobDetail.jobSpecialLabelNames.length > 0) {
title += that.jobDetail.jobSpecialLabelNames.join(' ');
title += that.jobDetail.jobSpecialLabelNames.join(" ");
}
resolve({
title: title,
@ -586,7 +554,7 @@ export default {
fullName: uni.getStorageSync("miniApp-info") && uni.getStorageSync("miniApp-info").agencyName,
isfensi: uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").isfensi,
isAgency: uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyId,
isJm:uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyId && uni.getStorageSync("apply-userinfo").agencyId == '114827',
isJm: uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyId && uni.getStorageSync("apply-userinfo").agencyId == "114827",
pushJobChecked: false, //
showPushJobPop: false,
showServicePop: false, //
@ -748,7 +716,7 @@ export default {
this.getRecruitNum();
// console.log("=====================", that.api.hasSee);
this.getDetail().then((res) => {
console.log("详情页1123", res,'--',that.jobDetail);
console.log("详情页1123", res, "--", that.jobDetail);
let objMiddle = JSON.parse(res.cozeStructureRes);
console.log("objMiddle", objMiddle);
delete objMiddle["佣金"];
@ -783,7 +751,7 @@ export default {
// cozeStructureRessafeNotice
// -lastNotice
// -jobInfotoB jobInfoWithoutxxtoC
that.jobDetail.newdesc = res.lastNotice || '暂无原单'; //objMiddle['safeNotice'] || '';
that.jobDetail.newdesc = res.lastNotice || "暂无原单"; //objMiddle['safeNotice'] || '';
});
this.loginInfo = uni.getStorageSync("apply-userinfo");
if (uni.getStorageSync("apply-token")) {
@ -815,7 +783,6 @@ export default {
// console.log("this.IS_CREATOR", this.IS_CREATOR);
this.corpUserFlag = uni.getStorageSync("apply-userinfo").corpUserFlag;
if (that.isJm) {
that.tabInfo = {
list: [
@ -850,7 +817,6 @@ export default {
};
}
uni.getSystemInfo({
success: function (res) {
// console.log(res);
@ -861,8 +827,8 @@ export default {
computed: {
hasJobDetailContent() {
return this.templateArr.some(item => item.show);
}
return this.templateArr.some((item) => item.show);
},
},
methods: {
@ -876,15 +842,15 @@ export default {
let now = new Date();
let endTime = new Date(now.getTime() + 48 * 60 * 60 * 1000);
let year = endTime.getFullYear();
let month = String(endTime.getMonth() + 1).padStart(2, '0');
let day = String(endTime.getDate()).padStart(2, '0');
let hour = String(endTime.getHours()).padStart(2, '0');
let minute = String(endTime.getMinutes()).padStart(2, '0');
let month = String(endTime.getMonth() + 1).padStart(2, "0");
let day = String(endTime.getDate()).padStart(2, "0");
let hour = String(endTime.getHours()).padStart(2, "0");
let minute = String(endTime.getMinutes()).padStart(2, "0");
this.validEndTime = `${year}${month}${day}${hour}:${minute} 前有效`;
},
// 12id
getRecruitNum() {
let storageKey = 'job_recruit_num_' + this.uid;
let storageKey = "job_recruit_num_" + this.uid;
let storedData = uni.getStorageSync(storageKey);
let now = new Date().getTime();
@ -900,11 +866,14 @@ export default {
// 280-36010
let num = (Math.floor(Math.random() * 9) + 28) * 10;
this.recruitNum = num;
uni.setStorageSync(storageKey, JSON.stringify({
uni.setStorageSync(
storageKey,
JSON.stringify({
num: num,
timestamp: now,
uid: this.uid
}));
uid: this.uid,
}),
);
},
showFee() {
let that = this;
@ -915,9 +884,7 @@ export default {
content: "仅代理可见",
confirmText: "知道了",
showCancel: false,
success(res) {
},
success(res) {},
});
return false;
}
@ -939,8 +906,6 @@ export default {
return false;
}
let content, title;
title = that.jobDetail.serverPrice;
content = that.jobDetail.returnFeeDesp;
@ -961,8 +926,8 @@ export default {
url: `/root/detail/bossinfo?jobDetail=${jobDetailStr}`,
success: () => {},
fail: (err) => {
console.log('跳转失败', err);
}
console.log("跳转失败", err);
},
});
},
getCode(callback = () => {}) {
@ -1153,7 +1118,7 @@ export default {
res.storeJobDetail = {};
}
if (!res.storeDistrict && !res.storeAddr) {
res.addss = '';
res.addss = "";
} else {
res.addss = that.G.setJobInfoPositionv3(res.storeDistrict || res.storeAddr);
}
@ -1214,12 +1179,7 @@ export default {
// that.jobDetail.jobName = ''
that.jobDetail.logo = that.jobDetail.logo.indexOf("http:") > -1 ? that.jobDetail.logo.replace("http:", "https:") : that.jobDetail.logo;
that.jobDetail.newXmf = uni.getStorageSync('apply-agencyId') == uni.getStorageSync('pgy-agency-id') ?
(res.agencyId == uni.getStorageSync('apply-agencyId') ? (res.upFullName || res.upAgencyName || res.upProviderName) : res.agencyName) :
'金马人力';
that.jobDetail.newXmf = uni.getStorageSync("apply-agencyId") == uni.getStorageSync("pgy-agency-id") ? (res.agencyId == uni.getStorageSync("apply-agencyId") ? res.upFullName || res.upAgencyName || res.upProviderName : res.agencyName) : "金马人力";
setTimeout(() => {
that.speed = 1;
@ -1747,23 +1707,23 @@ export default {
//
copyJobDetail(e) {
var that = this;
let text = '';
let text = "";
that.templateArr.forEach((item) => {
if (item.show) {
let sectionText = '';
if (item.num == 1) sectionText += '一、';
if (item.num == 2) sectionText += '二、';
if (item.num == 3) sectionText += '三、';
if (item.num == 4) sectionText += '四、';
if (item.num == 5) sectionText += '五、';
if (item.num == 6) sectionText += '六、';
sectionText += item.type + '\n';
let sectionText = "";
if (item.num == 1) sectionText += "一、";
if (item.num == 2) sectionText += "二、";
if (item.num == 3) sectionText += "三、";
if (item.num == 4) sectionText += "四、";
if (item.num == 5) sectionText += "五、";
if (item.num == 6) sectionText += "六、";
sectionText += item.type + "\n";
item.children.forEach((inner) => {
if (inner.show) {
sectionText += inner.num + '. ' + inner.key + ': ' + inner.value + '\n';
sectionText += inner.num + ". " + inner.key + ": " + inner.value + "\n";
}
});
text += sectionText + '\n';
text += sectionText + "\n";
}
});
uni.setClipboardData({
@ -2104,7 +2064,7 @@ export default {
} else if (_type == "pushJob") {
that.handlePushJob("allow");
}
})
});
});
},
setType(e) {
@ -2114,7 +2074,7 @@ export default {
let that = this;
if (that.isLogin) {
uni.navigateTo({
url: '/root/merchantManagement/jobForm?id=' + that.uid
url: "/root/merchantManagement/jobForm?id=" + that.uid,
});
} else {
uni.navigateTo({
@ -2131,13 +2091,16 @@ export default {
});
} else {
that.F.wyyxGet(that.api.job_get_cus + "?jobId=" + that.jobDetail.id, {}, (cusData) => {
uni.setStorageSync("jobim", JSON.stringify({
uni.setStorageSync(
"jobim",
JSON.stringify({
cusData: cusData,
jobDetail: that.jobDetail,
uid: that.uid,
}));
}),
);
uni.navigateTo({
url: "/root/NEUIKit/index?item=" + (uni.getStorageSync("im-accid") + '|1|' + cusData.accid) + '&f=1',
url: "/root/NEUIKit/index?item=" + (uni.getStorageSync("im-accid") + "|1|" + cusData.accid) + "&f=1",
});
});
}

@ -375,11 +375,16 @@ export default {
that.$forceUpdate();
console.log("that.applyData", that.applyData);
}
},
);
},
getData() {
this.G.Get(this.api.person_dataValue, {}, (res) => {
this.G.Get(
this.api.person_dataValue,
{
jobAgencyId: uni.getStorageSync("miniApp-info").id,
},
(res) => {
console.log(res);
//
// for (var k in res) {
@ -392,7 +397,8 @@ export default {
// }
// }
this.map = res;
});
},
);
},
goDetail(e, _item) {
console.log("_item", _item);

@ -16,6 +16,7 @@ let data = {
baseUrl: "https://daotian.matripe.com.cn",// 网络请求的基础路径
// baseUrl: "http://192.168.3.83:8001", // 网络请求的基础路径
// baseUrl: "http://192.168.1.3:8001",// tom3
// baseUrl: "http://192.168.1.58:8001",// tom
// #ifdef MP-WEIXIN
version: uni.getAccountInfoSync().miniProgram.version || "1.0.0",
mapKey: 'LHQBZ-MLTEG-BO4QK-QJ2TH-NLGZJ-7GFAS',

Loading…
Cancel
Save