|
|
|
@ -91,7 +91,7 @@
|
|
|
|
<div v-if="jobDetail.storeAddr">
|
|
|
|
<div v-if="jobDetail.storeAddr">
|
|
|
|
<view class="m-address g_mt_16 g_mb_16 g_pt_10 g_pb_10 g_flex_row_start g_border_e_t g_border_e_b" hover-class="thover"
|
|
|
|
<view class="m-address g_mt_16 g_mb_16 g_pt_10 g_pb_10 g_flex_row_start g_border_e_t g_border_e_b" hover-class="thover"
|
|
|
|
@click="goAddress" v-if="jobDetail.storeLat && jobDetail.storeLng">
|
|
|
|
@click="goAddress" v-if="jobDetail.storeLat && jobDetail.storeLng">
|
|
|
|
<view class="g_flex_none g_flex_column_center" style="font-size: 16px;color: #666;">
|
|
|
|
<view class="g_flex_none" style="font-size: 16px;color: #666;">
|
|
|
|
工作地点
|
|
|
|
工作地点
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="g_flex_1 g_ml_12 g_mr_4 g_flex_column_center">
|
|
|
|
<view class="g_flex_1 g_ml_12 g_mr_4 g_flex_column_center">
|
|
|
|
@ -293,14 +293,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
<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 12px 0;">
|
|
|
|
<div class="g_flex_row_start" style="padding: 10px 12px 0;">
|
|
|
|
<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">
|
|
|
|
信息来源:
|
|
|
|
信息来源:
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div style="font-size: 16px;color: #333;margin-left: 0px;" class="g_flex_1 g_flex_column_center">
|
|
|
|
<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: 10px 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>
|
|
|
|
@ -315,7 +315,7 @@
|
|
|
|
业小满安全提示
|
|
|
|
业小满安全提示
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="" style="padding: 8px 10px 10px;color: rgba(102, 102, 102, 1);font-size: 12px;">
|
|
|
|
<div class="" style="padding: 8px 10px 10px;color: rgba(102, 102, 102, 1);font-size: 12px;">
|
|
|
|
业小满严禁用人单位和招聘者用户做出任何损害求职者合法权益的违法违规行为,包括但不限于扣押求职者证件、收取求职者财物、向求职者集资、让求职者入股、诱导求职者异地入职、异地参加培训、违法违规使用求职者简历等,您一旦发现此类行为,请 <text style="color: rgba(87, 107, 149, 1)" @click="goReport">立即举报</text>
|
|
|
|
业小满严禁用人单位和招聘者用户做出任何损害求职者合法权益的违法违规行为,包括但不限于扣押求职者证件、收取求职者财物、向求职者集资、让求职者入股、诱导求职者异地入职、异地参加培训、违法违规使用求职者简历等,您一旦发现此类行为,请 <text style="color: #027aff" @click="goReport">立即举报</text>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
@ -660,8 +660,6 @@ export default {
|
|
|
|
let that = this;
|
|
|
|
let that = this;
|
|
|
|
// 计算有效期限(当前时间+48小时)
|
|
|
|
// 计算有效期限(当前时间+48小时)
|
|
|
|
this.calcValidEndTime();
|
|
|
|
this.calcValidEndTime();
|
|
|
|
// 获取招聘人数(12小时内不更新)
|
|
|
|
|
|
|
|
this.getRecruitNum();
|
|
|
|
|
|
|
|
// console.log("详情", options);
|
|
|
|
// console.log("详情", options);
|
|
|
|
// console.log("this.G.store().cdnBaseImg", this.G.store().cdnBaseImg);
|
|
|
|
// console.log("this.G.store().cdnBaseImg", this.G.store().cdnBaseImg);
|
|
|
|
if (options.id) {
|
|
|
|
if (options.id) {
|
|
|
|
@ -697,6 +695,8 @@ export default {
|
|
|
|
this.userId = sceneJson.i.split("_")[0];
|
|
|
|
this.userId = sceneJson.i.split("_")[0];
|
|
|
|
uni.setStorageSync("AGENCY_USER_ID", this.userId);
|
|
|
|
uni.setStorageSync("AGENCY_USER_ID", this.userId);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// 获取招聘人数(12小时内不更新,id变化时更新)
|
|
|
|
|
|
|
|
this.getRecruitNum();
|
|
|
|
// console.log("=====================", that.api.hasSee);
|
|
|
|
// console.log("=====================", that.api.hasSee);
|
|
|
|
this.getDetail().then((res) => {
|
|
|
|
this.getDetail().then((res) => {
|
|
|
|
// console.log("res", res);
|
|
|
|
// console.log("res", res);
|
|
|
|
@ -789,7 +789,7 @@ export default {
|
|
|
|
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} 前有效`;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 获取招聘人数(12小时内不更新)
|
|
|
|
// 获取招聘人数(12小时内不更新,id变化时更新)
|
|
|
|
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);
|
|
|
|
@ -797,19 +797,20 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
if (storedData) {
|
|
|
|
if (storedData) {
|
|
|
|
let data = JSON.parse(storedData);
|
|
|
|
let data = JSON.parse(storedData);
|
|
|
|
// 12小时内不更新
|
|
|
|
// 验证uid是否匹配,且12小时内不更新
|
|
|
|
if (now - data.timestamp < 12 * 60 * 60 * 1000) {
|
|
|
|
if (data.uid === this.uid && now - data.timestamp < 12 * 60 * 60 * 1000) {
|
|
|
|
this.recruitNum = data.num;
|
|
|
|
this.recruitNum = data.num;
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 生成新的随机数并存储
|
|
|
|
// 生成新的随机数并存储(280-360之间,10的倍数)
|
|
|
|
let num = Math.floor(Math.random() * 81) + 280;
|
|
|
|
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
|
|
|
|
}));
|
|
|
|
}));
|
|
|
|
},
|
|
|
|
},
|
|
|
|
showFee() {
|
|
|
|
showFee() {
|
|
|
|
|