|
|
|
@ -6,9 +6,7 @@
|
|
|
|
<view class="card-tip g_pt_12 g_pb_8 g_pl_20 g_c_6">老乡信息</view>
|
|
|
|
<view class="card-tip g_pt_12 g_pb_8 g_pl_20 g_c_6">老乡信息</view>
|
|
|
|
<view>
|
|
|
|
<view>
|
|
|
|
<view class="g_bg_f g_pl_15 g_pr_15 g_pt_10 g_ml_10 g_mr_10 g_radius_8 g_mb_12"
|
|
|
|
<view class="g_bg_f g_pl_15 g_pr_15 g_pt_10 g_ml_10 g_mr_10 g_radius_8 g_mb_12"
|
|
|
|
v-for="(item, index) in persenInfo" :key="index"
|
|
|
|
v-for="(item, index) in persenInfo" :key="index" style="margin-bottom: 12px;">
|
|
|
|
style="margin-bottom: 12px;"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<view class="g_pb_2 g_flex_row_between">
|
|
|
|
<view class="g_pb_2 g_flex_row_between">
|
|
|
|
<view class="g_flex_1 g_flex_column_center g_mr_10">
|
|
|
|
<view class="g_flex_1 g_flex_column_center g_mr_10">
|
|
|
|
<view class="g_flex_row_start g_fs_16 g_fw_bold">
|
|
|
|
<view class="g_flex_row_start g_fs_16 g_fw_bold">
|
|
|
|
@ -21,7 +19,8 @@
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="g_flex_none g_flex_row_end">
|
|
|
|
<view class="g_flex_none g_flex_row_end">
|
|
|
|
<view class="g_flex_row_end g_pl_16 g_pr_16 g_pt_9 g_pb_9" style="background-color: #f0fff8; border-radius: 17px">
|
|
|
|
<view class="g_flex_row_end g_pl_16 g_pr_16 g_pt_9 g_pb_9"
|
|
|
|
|
|
|
|
style="background-color: #f0fff8; border-radius: 17px">
|
|
|
|
<view class="g_flex_row_end" @click="goFellow(item, index)">
|
|
|
|
<view class="g_flex_row_end" @click="goFellow(item, index)">
|
|
|
|
<view class="g_flex_column_center">
|
|
|
|
<view class="g_flex_column_center">
|
|
|
|
<i class="iconfont icon-bianji g_c_3"></i>
|
|
|
|
<i class="iconfont icon-bianji g_c_3"></i>
|
|
|
|
@ -47,7 +46,8 @@
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="g_pb_17 g_flex_row_start">
|
|
|
|
<view class="g_pb_17 g_flex_row_start">
|
|
|
|
<g-panel-image :url="item.idCardImageUrl" v-if="item.idCardImageUrl" radius="4" size="112" @clickItem="handleClickIDcard" />
|
|
|
|
<g-panel-image :url="item.idCardImageUrl" v-if="item.idCardImageUrl" radius="4" size="112"
|
|
|
|
|
|
|
|
@clickItem="handleClickIDcard" />
|
|
|
|
<view v-if="item.imgs" class="g_flex_row_start">
|
|
|
|
<view v-if="item.imgs" class="g_flex_row_start">
|
|
|
|
<view v-for="i in item.imgs" class="g_ml_10">
|
|
|
|
<view v-for="i in item.imgs" class="g_ml_10">
|
|
|
|
<g-panel-image :url="i" radius="4" size="112" @clickItem="handleClickIDcard" />
|
|
|
|
<g-panel-image :url="i" radius="4" size="112" @clickItem="handleClickIDcard" />
|
|
|
|
@ -56,7 +56,9 @@
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="g_flex_row_center flex_center g_flex_1 g_h_48 g_bg_f g_fs_16 g_c_main g_ml_10 g_mr_10 g_radius_8" @click="goFellow('')" v-if="persenInfo.length <= 5">
|
|
|
|
<view
|
|
|
|
|
|
|
|
class="g_flex_row_center flex_center g_flex_1 g_h_48 g_bg_f g_fs_16 g_c_main g_ml_10 g_mr_10 g_radius_8"
|
|
|
|
|
|
|
|
@click="goFellow('')" v-if="persenInfo.length <= 5">
|
|
|
|
<!-- <view class="g_w_18 g_h_18 g_mr_6 g_text_c g_radius_20 g_border_main g_fsi_18" style="line-height: 13px">+</view> -->
|
|
|
|
<!-- <view class="g_w_18 g_h_18 g_mr_6 g_text_c g_radius_20 g_border_main g_fsi_18" style="line-height: 13px">+</view> -->
|
|
|
|
<view class="g_flex_column_center">
|
|
|
|
<view class="g_flex_column_center">
|
|
|
|
<i class="iconfont icon-jia1 g_c_min g_mr_6" style="font-size: 18px"></i>
|
|
|
|
<i class="iconfont icon-jia1 g_c_min g_mr_6" style="font-size: 18px"></i>
|
|
|
|
@ -67,13 +69,17 @@
|
|
|
|
<view class="card-tip g_pt_24 g_pb_8 g_pl_20 g_c_6">职位信息</view>
|
|
|
|
<view class="card-tip g_pt_24 g_pb_8 g_pl_20 g_c_6">职位信息</view>
|
|
|
|
<view class="fs_top text-wrap">
|
|
|
|
<view class="fs_top text-wrap">
|
|
|
|
|
|
|
|
|
|
|
|
<g-panel-form-slot :list="jobData" @clickResult="changePage" @changeTime="getInviteTime" @changeAddress="changeAddress" @chooseAddress="chooseAddress"> </g-panel-form-slot>
|
|
|
|
<g-panel-form-slot :list="jobData" @clickResult="changePage" @changeTime="getInviteTime"
|
|
|
|
|
|
|
|
@changeAddress="changeAddress" @chooseAddress="chooseAddress"> </g-panel-form-slot>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view>
|
|
|
|
<view>
|
|
|
|
<view class="card-tip g_pt_24 g_pb_8 g_pl_20 g_c_6">报名备注</view>
|
|
|
|
<view class="card-tip g_pt_24 g_pb_8 g_pl_20 g_c_6">报名备注</view>
|
|
|
|
<view class="g_flex_row_center g_p_10 g_pt_16 g_ml_10 g_mr_10 g_bg_f g_radius_8" style="width: calc(100vw- 20px)">
|
|
|
|
<view class="g_flex_row_center g_p_10 g_pt_16 g_ml_10 g_mr_10 g_bg_f g_radius_8"
|
|
|
|
<textarea class="weui-input g_flex_1 g_fs_16" placeholder="请输入报名备注" v-model="updateInfo.desp" placeholder-style="color:#999" :maxlength="-1" auto-height style="min-height: 137px; width: 100%; z-index: 0"></textarea>
|
|
|
|
style="width: calc(100vw- 20px)">
|
|
|
|
|
|
|
|
<textarea class="weui-input g_flex_1 g_fs_16" placeholder="请输入报名备注" v-model="updateInfo.desp"
|
|
|
|
|
|
|
|
placeholder-style="color:#999" :maxlength="-1" auto-height
|
|
|
|
|
|
|
|
style="min-height: 137px; width: 100%; z-index: 0"></textarea>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="g_mt_12">
|
|
|
|
<view class="g_mt_12">
|
|
|
|
@ -93,7 +99,8 @@
|
|
|
|
<g-panel-fixed>
|
|
|
|
<g-panel-fixed>
|
|
|
|
<slot>
|
|
|
|
<slot>
|
|
|
|
<view class="g_flex_row_between g_pl_16 g_pr_16" style="z-index: 99">
|
|
|
|
<view class="g_flex_row_between g_pl_16 g_pr_16" style="z-index: 99">
|
|
|
|
<view class="g_fs_16 g_c_6 g_flex_c g_pl_8 g_pr_8 g_radius_6 g_ml_16" hover-class="thover" @click="goReturn">取消</view>
|
|
|
|
<view class="g_fs_16 g_c_6 g_flex_c g_pl_8 g_pr_8 g_radius_6 g_ml_16" hover-class="thover"
|
|
|
|
|
|
|
|
@click="goReturn">取消</view>
|
|
|
|
<g-button btnText="立即报名" type="primary" @clickBtn="submitForm" />
|
|
|
|
<g-button btnText="立即报名" type="primary" @clickBtn="submitForm" />
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</slot>
|
|
|
|
</slot>
|
|
|
|
@ -103,7 +110,9 @@
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import { nationlist } from "../../utils/nation.js";
|
|
|
|
import {
|
|
|
|
|
|
|
|
nationlist
|
|
|
|
|
|
|
|
} from "../../utils/nation.js";
|
|
|
|
import dateUtil from "../../utils/dateUtil.js";
|
|
|
|
import dateUtil from "../../utils/dateUtil.js";
|
|
|
|
import AiApply from "./components/AiApply.vue"
|
|
|
|
import AiApply from "./components/AiApply.vue"
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
@ -116,11 +125,17 @@ export default {
|
|
|
|
uni.$on("getTownsman", function(data) {
|
|
|
|
uni.$on("getTownsman", function(data) {
|
|
|
|
console.log("getTownsman", data);
|
|
|
|
console.log("getTownsman", data);
|
|
|
|
if (that.persenInfo.length == 0) {
|
|
|
|
if (that.persenInfo.length == 0) {
|
|
|
|
that.persenInfo[0] = { ...data.info, index: that.persenInfo.length };
|
|
|
|
that.persenInfo[0] = {
|
|
|
|
|
|
|
|
...data.info,
|
|
|
|
|
|
|
|
index: that.persenInfo.length
|
|
|
|
|
|
|
|
};
|
|
|
|
} else if (data.info.index || data.info.index === 0) {
|
|
|
|
} else if (data.info.index || data.info.index === 0) {
|
|
|
|
that.persenInfo[data.info.index] = data.info;
|
|
|
|
that.persenInfo[data.info.index] = data.info;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
that.persenInfo[that.persenInfo.length] = { ...data.info, index: that.persenInfo.length };
|
|
|
|
that.persenInfo[that.persenInfo.length] = {
|
|
|
|
|
|
|
|
...data.info,
|
|
|
|
|
|
|
|
index: that.persenInfo.length
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
console.log("that.persenInfo", that.persenInfo);
|
|
|
|
console.log("that.persenInfo", that.persenInfo);
|
|
|
|
that.$forceUpdate();
|
|
|
|
that.$forceUpdate();
|
|
|
|
@ -167,15 +182,17 @@ export default {
|
|
|
|
// 设置默认时间
|
|
|
|
// 设置默认时间
|
|
|
|
let hour = new Date().getHours();
|
|
|
|
let hour = new Date().getHours();
|
|
|
|
if (hour < 20 && hour >= 6) {
|
|
|
|
if (hour < 20 && hour >= 6) {
|
|
|
|
this.updateInfo.interviewTimeStr = dateUtil.formatDateYMD(new Date().toLocaleDateString()) + " " + (hour + 1) + ":00";
|
|
|
|
this.updateInfo.interviewTimeStr = dateUtil.formatDateYMD(new Date().toLocaleDateString()) +
|
|
|
|
|
|
|
|
" " + (hour + 1) + ":00";
|
|
|
|
} else if (hour >= 20) {
|
|
|
|
} else if (hour >= 20) {
|
|
|
|
this.updateInfo.interviewTimeStr = dateUtil.formatDateYMD(new Date().toLocaleDateString()) + " 19:30";
|
|
|
|
this.updateInfo.interviewTimeStr = dateUtil.formatDateYMD(new Date().toLocaleDateString()) +
|
|
|
|
|
|
|
|
" 19:30";
|
|
|
|
} else if (hour < 6) {
|
|
|
|
} else if (hour < 6) {
|
|
|
|
this.updateInfo.interviewTimeStr = dateUtil.formatDateYMD(new Date().toLocaleDateString()) + " 6:00";
|
|
|
|
this.updateInfo.interviewTimeStr = dateUtil.formatDateYMD(new Date().toLocaleDateString()) +
|
|
|
|
|
|
|
|
" 6:00";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// that.updateInfo.interviewTimeStr = dateUtil.formatDateYMD(new Date().toLocaleDateString()) + " 06:00";
|
|
|
|
// that.updateInfo.interviewTimeStr = dateUtil.formatDateYMD(new Date().toLocaleDateString()) + " 06:00";
|
|
|
|
that.jobData = [
|
|
|
|
that.jobData = [{
|
|
|
|
{
|
|
|
|
|
|
|
|
icon: "",
|
|
|
|
icon: "",
|
|
|
|
label: "报名职位",
|
|
|
|
label: "报名职位",
|
|
|
|
result: that.updateInfo.jobName,
|
|
|
|
result: that.updateInfo.jobName,
|
|
|
|
@ -281,21 +298,24 @@ export default {
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
getTownsManInfo(info) {
|
|
|
|
getTownsManInfo(info) {
|
|
|
|
console.log('info', info);
|
|
|
|
console.log('info', info);
|
|
|
|
uni.$emit('getTownsman', { info })
|
|
|
|
uni.$emit('getTownsman', {
|
|
|
|
|
|
|
|
info
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
getJobDetail($data) {
|
|
|
|
getJobDetail($data) {
|
|
|
|
let that = this;
|
|
|
|
let that = this;
|
|
|
|
that.G.Get(
|
|
|
|
that.G.Get(
|
|
|
|
that.api.job_personDetail + "/" + $data.leafCateId,
|
|
|
|
that.api.job_personDetail + "/" + $data.leafCateId, {
|
|
|
|
{
|
|
|
|
|
|
|
|
id: $data.leafCateId,
|
|
|
|
id: $data.leafCateId,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
(res) => {
|
|
|
|
(res) => {
|
|
|
|
let policyStr = "1. 佣金:" + (res.record.returnFeeType !== "" ? that.G.setReturnFee(res.record.returnFee, res.record.returnFeeType) : "详询客服") + " \n\n" + "2. 佣金详情:" + (res.record.returnFeeDesp || "详询客服") + " \n\n" + "3. 薪资待遇:" + (res.record.salaryDetail || "详询客服") + "\n\n";
|
|
|
|
let policyStr = "1. 佣金:" + (res.record.returnFeeType !== "" ? that.G.setReturnFee(res.record
|
|
|
|
|
|
|
|
.returnFee, res.record.returnFeeType) : "详询客服") + " \n\n" + "2. 佣金详情:" + (res.record
|
|
|
|
|
|
|
|
.returnFeeDesp || "详询客服") + " \n\n" + "3. 薪资待遇:" + (res.record.salaryDetail ||
|
|
|
|
|
|
|
|
"详询客服") + "\n\n";
|
|
|
|
console.log("政策列表:", res);
|
|
|
|
console.log("政策列表:", res);
|
|
|
|
that.jobData = [
|
|
|
|
that.jobData = [{
|
|
|
|
{
|
|
|
|
|
|
|
|
icon: "",
|
|
|
|
icon: "",
|
|
|
|
label: "报名职位",
|
|
|
|
label: "报名职位",
|
|
|
|
result: that.updateInfo.jobName,
|
|
|
|
result: that.updateInfo.jobName,
|
|
|
|
@ -488,14 +508,13 @@ export default {
|
|
|
|
nation: item.nation,
|
|
|
|
nation: item.nation,
|
|
|
|
tel: item.tel,
|
|
|
|
tel: item.tel,
|
|
|
|
address: item.address,
|
|
|
|
address: item.address,
|
|
|
|
images:
|
|
|
|
userApplyOrderFiles: item.imgs && item.imgs.length > 0 ?
|
|
|
|
item.fujianGroup && item.fujianGroup.length > 0
|
|
|
|
item.imgs
|
|
|
|
? item.fujianGroup
|
|
|
|
|
|
|
|
.map((itm) => {
|
|
|
|
.map((itm) => {
|
|
|
|
return itm.thumbUrl
|
|
|
|
return itm
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.join(',')
|
|
|
|
.join(',') :
|
|
|
|
: '',
|
|
|
|
'',
|
|
|
|
// desp: item.desp,
|
|
|
|
// desp: item.desp,
|
|
|
|
// policyIdx: item.policyIdx,
|
|
|
|
// policyIdx: item.policyIdx,
|
|
|
|
// pickerStr: item.pickerStr,
|
|
|
|
// pickerStr: item.pickerStr,
|
|
|
|
@ -575,18 +594,22 @@ export default {
|
|
|
|
<style lang="scss">
|
|
|
|
<style lang="scss">
|
|
|
|
.p-root-home-quick {
|
|
|
|
.p-root-home-quick {
|
|
|
|
min-height: 100%;
|
|
|
|
min-height: 100%;
|
|
|
|
|
|
|
|
|
|
|
|
.fs_top {
|
|
|
|
.fs_top {
|
|
|
|
.m-set {
|
|
|
|
.m-set {
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fs_bottom {
|
|
|
|
.fs_bottom {
|
|
|
|
.m-set {
|
|
|
|
.m-set {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
|
|
|
|
|
|
|
|
.item {
|
|
|
|
.item {
|
|
|
|
position: relative;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
@ -599,6 +622,7 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.text-wrap {
|
|
|
|
.text-wrap {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|