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); const idsArray = this.getFilterData.jobSpecialLabelObjects.map((obj) => obj.id);
// //
this.getFilterData.jobSpecialLabelIds = idsArray.join(","); this.getFilterData.jobSpecialLabelIds = idsArray.join(",");
this.getFilterData["jobRequestLabelIds"] = idsArray.join(",");
// console.log("deleteJobSpecialLabel", this.getFilterData); // console.log("deleteJobSpecialLabel", this.getFilterData);
this.getList(); this.getList();
}, },

@ -71,7 +71,7 @@
</view> </view>
<!-- v-if="!userInfo.agencyId && isLogin" --> <!-- 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 <g-panel-form-item
:list="[ :list="[
{ {
@ -168,7 +168,7 @@
@clickItem="goPage('/root/merchantManagement/teamManage')" @clickItem="goPage('/root/merchantManagement/teamManage')"
/> />
</view> </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="iconfont icon-shangjiahoutai g_mr_6 g_mt_2"></view>
<view class="g_fw_600 g_fs_17">商家管理后台</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"> <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", this.api.person_dataValue + "?classify=1",
{ {
classify: 1, classify: 1,
jobAgencyId: uni.getStorageSync("miniApp-info").id,
}, },
(res) => { (res) => {
// console.log("res", res); // console.log("res", res);

@ -1,8 +1,6 @@
<template> <template>
<view class="p-root-detail-job g_ml_10 g_mr_10 g_mt_10 g_kuaishou"> <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_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_flex_row_start" style="flex: none">
<view class="g_fw_600 g_mr_4 g_flex_column_center">项目方</view> <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"> <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 }} {{ jobDetail.priceStr }}
</view> </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 : "" }} {{ jobDetail.monthPay ? "丨" + jobDetail.monthPay : "" }}
</view> </view>
</view> </view>
<view class="g_flex_none g_flex_column_center" style="font-size: 14px;color: #999999;"> <view class="g_flex_none g_flex_column_center" style="font-size: 14px; color: #999999"> 招聘人数{{ jobDetail.headcount || recruitNum }} </view>
招聘人数{{ jobDetail.headcount || recruitNum }}
</view>
</view> </view>
<!-- 地址 --> <!-- 地址 -->
<div style="border-top: 1px solid #eee;margin: 10px auto 0;"> <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"> <div style="border-radius: 8px; margin: 0px auto; padding: 8px 0" class="bossinfo_dom">
<view class="m-address " <view class="m-address" hover-class="thover" v-if="(jobDetail && jobDetail.store) || (jobDetail.storeLat && jobDetail.storeLng)">
hover-class="thover" <div class="store-item g_flex_row_start" v-if="jobDetail && jobDetail.store" style="margin-bottom: 6px">
v-if="(jobDetail && jobDetail.store) || (jobDetail.storeLat && jobDetail.storeLng)"> <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_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 || "-" }} {{ jobDetail.store.aliasName || "-" }}
</view> </view>
</view> </view>
</div> </div>
<div class="store-item g_flex_row_start" v-if="jobDetail && jobDetail.store" style="margin-bottom: 6px;"> <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 class="g_flex_none" style="font-size: 14px; color: #999"> 企业简介 </view>
企业简介
</view>
<view class="g_flex_1 g_flex_column_center" @click="showCompanyInfo"> <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 || "-" }} {{ jobDetail.store.storeInfo || "-" }}
</view> </view>
</view> </view>
<view class="g_flex_none g_flex_c" style="width: 24px;" @click="showCompanyInfo"> <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> <i class="iconfont icon-gengduo11 g_c_9 g_w_14 g_h_14" style="font-size: 16px; color: #999999"></i>
</view> </view>
</div> </div>
<div class="store-item g_flex_row_start"> <div class="store-item g_flex_row_start">
<view class="g_flex_none" style="font-size: 14px;color: #999;"> <view class="g_flex_none" style="font-size: 14px; color: #999"> 工作地点 </view>
工作地点
</view>
<view class="g_flex_1 g_mr_4 g_flex_column_center" @click="goAddress"> <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 || "-" }} {{ jobDetail.storeAddr || "-" }}
</view> </view>
</view> </view>
<view class="g_flex_none g_flex_c" style="width: 24px;" @click="goAddress"> <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> <i class="iconfont icon-dizhi1 g_c_9 g_w_14 g_h_14" style="font-size: 18px; color: #999999"></i>
</view> </view>
</div> </div>
</view> </view>
@ -155,7 +143,7 @@
</view> </view>
<view class="" v-if="tabInfo.active == 0"> <view class="" v-if="tabInfo.active == 0">
<view class="g_fs_15"> <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> <span class="desp-copy" :style="{ color: themeColor, border: '1px solid ' + themeColor }">复制</span>
</view> </view>
<template v-for="(item, index) in templateArr" :key="index"> <template v-for="(item, index) in templateArr" :key="index">
@ -208,8 +196,9 @@
<view @click="setCops" v-if="jobDetail.newdesc != '暂无脱敏版通告'"> <view @click="setCops" v-if="jobDetail.newdesc != '暂无脱敏版通告'">
<span class="desp-copy" :style="{ color: themeColor, border: '1px solid ' + themeColor }">复制</span> <span class="desp-copy" :style="{ color: themeColor, border: '1px solid ' + themeColor }">复制</span>
</view> </view>
<div :style="{ <div
'margin-top':jobDetail.newdesc == '暂无脱敏版通告' ? '0' : '26px' :style="{
'margin-top': jobDetail.newdesc == '暂无脱敏版通告' ? '0' : '26px',
}" }"
:class="jobDetail.newdesc == '暂无脱敏版通告' ? 'g_flex_row_center' : ''" :class="jobDetail.newdesc == '暂无脱敏版通告' ? 'g_flex_row_center' : ''"
> >
@ -243,7 +232,7 @@
<view class="g_fs_12 g_c_6" style="margin-top: 4px">客服</view> <view class="g_fs_12 g_c_6" style="margin-top: 4px">客服</view>
</button> </button>
</view> </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"> <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> <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> <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"> <view v-if="!isLogin" class="g_flex_column_center">
<rh-quicklogin mobileToLogin="/appLoginByTelAssistant" codeToMobile="/getWechatTel" @exportSetToken="pushSetToken('relationService')"> <rh-quicklogin mobileToLogin="/appLoginByTelAssistant" codeToMobile="/getWechatTel" @exportSetToken="pushSetToken('relationService')">
<rh-button <rh-button
:cusStyle="{ :cusStyle="{
position: 'relative', position: 'relative',
top: '-1px', top: '-1px',
@ -269,7 +257,6 @@
</view> </view>
<view v-else class="g_flex_column_center"> <view v-else class="g_flex_column_center">
<rh-button <rh-button
btnText="联系客服" btnText="联系客服"
class="g_fw_600 g_mr_12 g_w_100" class="g_fw_600 g_mr_12 g_w_100"
size="small_auto" size="small_auto"
@ -287,7 +274,6 @@
<view v-if="!isLogin" class=""> <view v-if="!isLogin" class="">
<rh-quicklogin mobileToLogin="/appLoginByTelAssistant" codeToMobile="/getWechatTel" @exportSetToken="pushSetToken('record')"> <rh-quicklogin mobileToLogin="/appLoginByTelAssistant" codeToMobile="/getWechatTel" @exportSetToken="pushSetToken('record')">
<rh-button <rh-button
:cusStyle="{ :cusStyle="{
position: 'relative', position: 'relative',
top: '-1px', top: '-1px',
@ -302,7 +288,6 @@
</view> </view>
<view v-else class=""> <view v-else class="">
<rh-button <rh-button
:cusStyle="{ :cusStyle="{
position: 'relative', position: 'relative',
top: '-1px', top: '-1px',
@ -324,41 +309,26 @@
</view> </view>
</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 class="other-dom" style="margin-top: 12px;background-color: #fff;border-radius: 8px;"> <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: 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 || "-" }} {{ fullName || "-" }}
</div> </div>
</div> </div>
<div class="g_flex_row_start" style="padding: 2px 12px 10px;"> <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 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>
<div style="font-size: 16px;color: #333;margin-left: 0px;" class="g_flex_1 g_flex_column_center">
{{ validEndTime }} {{ validEndTime }}
</div> </div>
</div> </div>
</div> </div>
<div class="other-dom" style="margin-top: 12px;background-color: #fff;border-radius: 8px;"> <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;"> <div class="g_flex_row_start" style="padding: 10px 16px; font-size: 17px; font-weight: bold; border-bottom: 1px solid #eee">{{ _title }}安全提示</div>
{{_title}}安全提示 <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>
<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> </div>
<view class="g_h_104s"></view> <view class="g_h_104s"></view>
<view class="g_pt_10 pop-container" :class="showServicePop ? 'show' : ''" v-if="false"> <view class="g_pt_10 pop-container" :class="showServicePop ? 'show' : ''" v-if="false">
<view class="g_p_8 g_bg_f g_border_e"> <view class="g_p_8 g_bg_f g_border_e">
@ -489,8 +459,6 @@
</u-popup> </u-popup>
<canvas type="2d" style="position: absolute; left: -2000px; width: 425px; height: 350px; background: #fff" id="canvasId" ref="canvasId"></canvas> <canvas type="2d" style="position: absolute; left: -2000px; width: 425px; height: 350px; background: #fff" id="canvasId" ref="canvasId"></canvas>
</view> </view>
</template> </template>
@ -524,7 +492,7 @@ export default {
// console.log("getWXCanvas", res); // console.log("getWXCanvas", res);
wx.hideLoading(); wx.hideLoading();
resolve({ 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, imageUrl: res.tempFilePath,
path, path,
}); });
@ -547,18 +515,18 @@ export default {
// console.log("getWXCanvas", res); // console.log("getWXCanvas", res);
wx.hideLoading(); wx.hideLoading();
// //
let title = ''; let title = "";
if (that.jobDetail.jobName) { if (that.jobDetail.jobName) {
title += that.jobDetail.jobName + ' '; title += that.jobDetail.jobName + " ";
} }
if (that.jobDetail.priceStr) { if (that.jobDetail.priceStr) {
title += that.jobDetail.priceStr + ' '; title += that.jobDetail.priceStr + " ";
} }
if (that.jobDetail.monthPay) { if (that.jobDetail.monthPay) {
title += '月薪' + that.jobDetail.monthPay + ' '; title += "月薪" + that.jobDetail.monthPay + " ";
} }
if (that.jobDetail.jobSpecialLabelNames && that.jobDetail.jobSpecialLabelNames.length > 0) { if (that.jobDetail.jobSpecialLabelNames && that.jobDetail.jobSpecialLabelNames.length > 0) {
title += that.jobDetail.jobSpecialLabelNames.join(' '); title += that.jobDetail.jobSpecialLabelNames.join(" ");
} }
resolve({ resolve({
title: title, title: title,
@ -586,7 +554,7 @@ export default {
fullName: uni.getStorageSync("miniApp-info") && uni.getStorageSync("miniApp-info").agencyName, fullName: uni.getStorageSync("miniApp-info") && uni.getStorageSync("miniApp-info").agencyName,
isfensi: uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").isfensi, isfensi: uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").isfensi,
isAgency: uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyId, 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, // pushJobChecked: false, //
showPushJobPop: false, showPushJobPop: false,
showServicePop: false, // showServicePop: false, //
@ -748,7 +716,7 @@ export default {
this.getRecruitNum(); this.getRecruitNum();
// console.log("=====================", that.api.hasSee); // console.log("=====================", that.api.hasSee);
this.getDetail().then((res) => { this.getDetail().then((res) => {
console.log("详情页1123", res,'--',that.jobDetail); console.log("详情页1123", res, "--", that.jobDetail);
let objMiddle = JSON.parse(res.cozeStructureRes); let objMiddle = JSON.parse(res.cozeStructureRes);
console.log("objMiddle", objMiddle); console.log("objMiddle", objMiddle);
delete objMiddle["佣金"]; delete objMiddle["佣金"];
@ -783,7 +751,7 @@ export default {
// cozeStructureRessafeNotice // cozeStructureRessafeNotice
// -lastNotice // -lastNotice
// -jobInfotoB jobInfoWithoutxxtoC // -jobInfotoB jobInfoWithoutxxtoC
that.jobDetail.newdesc = res.lastNotice || '暂无原单'; //objMiddle['safeNotice'] || ''; that.jobDetail.newdesc = res.lastNotice || "暂无原单"; //objMiddle['safeNotice'] || '';
}); });
this.loginInfo = uni.getStorageSync("apply-userinfo"); this.loginInfo = uni.getStorageSync("apply-userinfo");
if (uni.getStorageSync("apply-token")) { if (uni.getStorageSync("apply-token")) {
@ -815,7 +783,6 @@ export default {
// console.log("this.IS_CREATOR", this.IS_CREATOR); // console.log("this.IS_CREATOR", this.IS_CREATOR);
this.corpUserFlag = uni.getStorageSync("apply-userinfo").corpUserFlag; this.corpUserFlag = uni.getStorageSync("apply-userinfo").corpUserFlag;
if (that.isJm) { if (that.isJm) {
that.tabInfo = { that.tabInfo = {
list: [ list: [
@ -850,7 +817,6 @@ export default {
}; };
} }
uni.getSystemInfo({ uni.getSystemInfo({
success: function (res) { success: function (res) {
// console.log(res); // console.log(res);
@ -861,8 +827,8 @@ export default {
computed: { computed: {
hasJobDetailContent() { hasJobDetailContent() {
return this.templateArr.some(item => item.show); return this.templateArr.some((item) => item.show);
} },
}, },
methods: { methods: {
@ -876,15 +842,15 @@ export default {
let now = new Date(); let now = new Date();
let endTime = new Date(now.getTime() + 48 * 60 * 60 * 1000); let endTime = new Date(now.getTime() + 48 * 60 * 60 * 1000);
let year = endTime.getFullYear(); let year = endTime.getFullYear();
let month = String(endTime.getMonth() + 1).padStart(2, '0'); let month = String(endTime.getMonth() + 1).padStart(2, "0");
let day = String(endTime.getDate()).padStart(2, '0'); let day = String(endTime.getDate()).padStart(2, "0");
let hour = String(endTime.getHours()).padStart(2, '0'); let hour = String(endTime.getHours()).padStart(2, "0");
let minute = String(endTime.getMinutes()).padStart(2, '0'); let minute = String(endTime.getMinutes()).padStart(2, "0");
this.validEndTime = `${year}${month}${day}${hour}:${minute} 前有效`; this.validEndTime = `${year}${month}${day}${hour}:${minute} 前有效`;
}, },
// 12id // 12id
getRecruitNum() { getRecruitNum() {
let storageKey = 'job_recruit_num_' + this.uid; let storageKey = "job_recruit_num_" + this.uid;
let storedData = uni.getStorageSync(storageKey); let storedData = uni.getStorageSync(storageKey);
let now = new Date().getTime(); let now = new Date().getTime();
@ -900,11 +866,14 @@ export default {
// 280-36010 // 280-36010
let num = (Math.floor(Math.random() * 9) + 28) * 10; let num = (Math.floor(Math.random() * 9) + 28) * 10;
this.recruitNum = num; this.recruitNum = num;
uni.setStorageSync(storageKey, JSON.stringify({ uni.setStorageSync(
storageKey,
JSON.stringify({
num: num, num: num,
timestamp: now, timestamp: now,
uid: this.uid uid: this.uid,
})); }),
);
}, },
showFee() { showFee() {
let that = this; let that = this;
@ -915,9 +884,7 @@ export default {
content: "仅代理可见", content: "仅代理可见",
confirmText: "知道了", confirmText: "知道了",
showCancel: false, showCancel: false,
success(res) { success(res) {},
},
}); });
return false; return false;
} }
@ -939,8 +906,6 @@ export default {
return false; return false;
} }
let content, title; let content, title;
title = that.jobDetail.serverPrice; title = that.jobDetail.serverPrice;
content = that.jobDetail.returnFeeDesp; content = that.jobDetail.returnFeeDesp;
@ -961,8 +926,8 @@ export default {
url: `/root/detail/bossinfo?jobDetail=${jobDetailStr}`, url: `/root/detail/bossinfo?jobDetail=${jobDetailStr}`,
success: () => {}, success: () => {},
fail: (err) => { fail: (err) => {
console.log('跳转失败', err); console.log("跳转失败", err);
} },
}); });
}, },
getCode(callback = () => {}) { getCode(callback = () => {}) {
@ -1153,7 +1118,7 @@ export default {
res.storeJobDetail = {}; res.storeJobDetail = {};
} }
if (!res.storeDistrict && !res.storeAddr) { if (!res.storeDistrict && !res.storeAddr) {
res.addss = ''; res.addss = "";
} else { } else {
res.addss = that.G.setJobInfoPositionv3(res.storeDistrict || res.storeAddr); res.addss = that.G.setJobInfoPositionv3(res.storeDistrict || res.storeAddr);
} }
@ -1214,12 +1179,7 @@ export default {
// that.jobDetail.jobName = '' // that.jobDetail.jobName = ''
that.jobDetail.logo = that.jobDetail.logo.indexOf("http:") > -1 ? that.jobDetail.logo.replace("http:", "https:") : that.jobDetail.logo; 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') ? 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) : "金马人力";
(res.agencyId == uni.getStorageSync('apply-agencyId') ? (res.upFullName || res.upAgencyName || res.upProviderName) : res.agencyName) :
'金马人力';
setTimeout(() => { setTimeout(() => {
that.speed = 1; that.speed = 1;
@ -1747,23 +1707,23 @@ export default {
// //
copyJobDetail(e) { copyJobDetail(e) {
var that = this; var that = this;
let text = ''; let text = "";
that.templateArr.forEach((item) => { that.templateArr.forEach((item) => {
if (item.show) { if (item.show) {
let sectionText = ''; let sectionText = "";
if (item.num == 1) sectionText += '一、'; if (item.num == 1) sectionText += "一、";
if (item.num == 2) sectionText += '二、'; if (item.num == 2) sectionText += "二、";
if (item.num == 3) sectionText += '三、'; if (item.num == 3) sectionText += "三、";
if (item.num == 4) sectionText += '四、'; if (item.num == 4) sectionText += "四、";
if (item.num == 5) sectionText += '五、'; if (item.num == 5) sectionText += "五、";
if (item.num == 6) sectionText += '六、'; if (item.num == 6) sectionText += "六、";
sectionText += item.type + '\n'; sectionText += item.type + "\n";
item.children.forEach((inner) => { item.children.forEach((inner) => {
if (inner.show) { 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({ uni.setClipboardData({
@ -2104,7 +2064,7 @@ export default {
} else if (_type == "pushJob") { } else if (_type == "pushJob") {
that.handlePushJob("allow"); that.handlePushJob("allow");
} }
}) });
}); });
}, },
setType(e) { setType(e) {
@ -2114,7 +2074,7 @@ export default {
let that = this; let that = this;
if (that.isLogin) { if (that.isLogin) {
uni.navigateTo({ uni.navigateTo({
url: '/root/merchantManagement/jobForm?id=' + that.uid url: "/root/merchantManagement/jobForm?id=" + that.uid,
}); });
} else { } else {
uni.navigateTo({ uni.navigateTo({
@ -2131,13 +2091,16 @@ export default {
}); });
} else { } else {
that.F.wyyxGet(that.api.job_get_cus + "?jobId=" + that.jobDetail.id, {}, (cusData) => { 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, cusData: cusData,
jobDetail: that.jobDetail, jobDetail: that.jobDetail,
uid: that.uid, uid: that.uid,
})); }),
);
uni.navigateTo({ 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(); that.$forceUpdate();
console.log("that.applyData", that.applyData); console.log("that.applyData", that.applyData);
} },
); );
}, },
getData() { 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); console.log(res);
// //
// for (var k in res) { // for (var k in res) {
@ -392,7 +397,8 @@ export default {
// } // }
// } // }
this.map = res; this.map = res;
}); },
);
}, },
goDetail(e, _item) { goDetail(e, _item) {
console.log("_item", _item); console.log("_item", _item);

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

Loading…
Cancel
Save