基础信息和资格证照的修改
parent
9f5c8e59b2
commit
3c0fa70e04
|
@ -7,19 +7,19 @@
|
||||||
<scroll-view scroll-y="false" >
|
<scroll-view scroll-y="false" >
|
||||||
<view class="form">
|
<view class="form">
|
||||||
<view class="cu-form-group">
|
<view class="cu-form-group">
|
||||||
<view class="title">姓名</view>
|
<view class="title is-required">姓名</view>
|
||||||
<input v-model="formData.NAME" disabled placeholder="请输入姓名" maxlength="50" name="input" style="color: #cccccc" />
|
<input v-model="formData.NAME" disabled placeholder="请输入姓名" maxlength="50" name="input" style="color: #cccccc" />
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">身份证号</view>
|
<view class="title is-required">身份证号</view>
|
||||||
<input v-model="formData.USER_ID_CARD" disabled placeholder="请输入身份证号" maxlength="18" name="input" style="color: #cccccc" />
|
<input v-model="formData.USER_ID_CARD" disabled placeholder="请输入身份证号" maxlength="18" name="input" style="color: #cccccc" />
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">手机</view>
|
<view class="title is-required">手机</view>
|
||||||
<input v-model="formData.PHONE" disabled placeholder="请输入手机号码" maxlength="11" name="input" style="color: #cccccc" />
|
<input v-model="formData.PHONE" disabled placeholder="请输入手机号码" maxlength="11" name="input" style="color: #cccccc" />
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">人员类型</view>
|
<view class="title is-required">人员类型</view>
|
||||||
<view v-if="forbidEdit" style="color: #cccccc">{{formData.PERSONNEL_TYPE}}</view>
|
<view v-if="forbidEdit" style="color: #cccccc">{{formData.PERSONNEL_TYPE}}</view>
|
||||||
<picker v-else @change="pickerChangeData($event,'PERSONNEL_TYPE')" disabled :value="dictData.PERSONNEL_TYPE.index" :range="dictData.PERSONNEL_TYPE.list" range-key="NAME">
|
<picker v-else @change="pickerChangeData($event,'PERSONNEL_TYPE')" disabled :value="dictData.PERSONNEL_TYPE.index" :range="dictData.PERSONNEL_TYPE.list" range-key="NAME">
|
||||||
<view class="picker" style="color: #cccccc">
|
<view class="picker" style="color: #cccccc">
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
<!-- 入职申请 -->
|
<!-- 入职申请 -->
|
||||||
<uni-section title="入职申请" type="line" class="margin-top" padding>
|
<uni-section title="入职申请" type="line" class="margin-top" padding>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">入职企业</view>
|
<view class="title is-required">入职企业</view>
|
||||||
<zqs-select
|
<zqs-select
|
||||||
:multiple="false"
|
:multiple="false"
|
||||||
:list="dictData.APPLY_CORP.list"
|
:list="dictData.APPLY_CORP.list"
|
||||||
|
|
|
@ -7,19 +7,19 @@
|
||||||
<scroll-view scroll-y="false" >
|
<scroll-view scroll-y="false" >
|
||||||
<view class="form">
|
<view class="form">
|
||||||
<view class="cu-form-group">
|
<view class="cu-form-group">
|
||||||
<view class="title">姓名</view>
|
<view class="title is-required">姓名</view>
|
||||||
<input v-model="formData.NAME" disabled placeholder="请输入姓名" maxlength="50" name="input" style="color: #cccccc" />
|
<input v-model="formData.NAME" disabled placeholder="请输入姓名" maxlength="50" name="input" style="color: #cccccc" />
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">身份证号</view>
|
<view class="title is-required">身份证号</view>
|
||||||
<input v-model="formData.USER_ID_CARD" disabled placeholder="请输入身份证号" maxlength="18" name="input" style="color: #cccccc" />
|
<input v-model="formData.USER_ID_CARD" disabled placeholder="请输入身份证号" maxlength="18" name="input" style="color: #cccccc" />
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">手机</view>
|
<view class="title is-required">手机</view>
|
||||||
<input v-model="formData.PHONE" disabled placeholder="请输入手机证号" maxlength="11" name="input" style="color: #cccccc" />
|
<input v-model="formData.PHONE" disabled placeholder="请输入手机证号" maxlength="11" name="input" style="color: #cccccc" />
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">人员类型</view>
|
<view class="title is-required">人员类型</view>
|
||||||
<zqs-select
|
<zqs-select
|
||||||
:multiple="true"
|
:multiple="true"
|
||||||
:list="dictData.PERSONNEL_TYPE.list"
|
:list="dictData.PERSONNEL_TYPE.list"
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>-->
|
</view>-->
|
||||||
<view class="cu-form-group margin-top">
|
<view class="cu-form-group margin-top">
|
||||||
<view class="title">文化程度</view>
|
<view class="title is-required">文化程度</view>
|
||||||
<view v-if="forbidEdit" style="color: #cccccc">{{formData.DEGREE_OF_EDUCATION_NAME}}</view>
|
<view v-if="forbidEdit" style="color: #cccccc">{{formData.DEGREE_OF_EDUCATION_NAME}}</view>
|
||||||
<picker v-else @change="pickerChangeData($event,'DEGREE_OF_EDUCATION')" :value="dictData.DEGREE_OF_EDUCATION.index" :range="dictData.DEGREE_OF_EDUCATION.list" range-key="NAME">
|
<picker v-else @change="pickerChangeData($event,'DEGREE_OF_EDUCATION')" :value="dictData.DEGREE_OF_EDUCATION.index" :range="dictData.DEGREE_OF_EDUCATION.list" range-key="NAME">
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">政治面貌</view>
|
<view class="title is-required">政治面貌</view>
|
||||||
<view v-if="forbidEdit" style="color: #cccccc">{{formData.POLITICAL_OUTLOOK_NAME}}</view>
|
<view v-if="forbidEdit" style="color: #cccccc">{{formData.POLITICAL_OUTLOOK_NAME}}</view>
|
||||||
<picker v-else @change="pickerChangeData($event,'POLITICAL_OUTLOOK')" :value="dictData.POLITICAL_OUTLOOK.index" :range="dictData.POLITICAL_OUTLOOK.list" range-key="NAME">
|
<picker v-else @change="pickerChangeData($event,'POLITICAL_OUTLOOK')" :value="dictData.POLITICAL_OUTLOOK.index" :range="dictData.POLITICAL_OUTLOOK.list" range-key="NAME">
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
|
@ -61,7 +61,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">参加工作日期</view>
|
<view class="title is-required">参加工作日期</view>
|
||||||
<view v-if="forbidEdit" style="color: #cccccc">{{formData.WORKING_DATE}}</view>
|
<view v-if="forbidEdit" style="color: #cccccc">{{formData.WORKING_DATE}}</view>
|
||||||
<picker v-else mode="date" @change="changeDate($event,'WORKING_DATE')" :value="formData.WORKING_DATE" :end="limitData.WORKING_DATE.end">
|
<picker v-else mode="date" @change="changeDate($event,'WORKING_DATE')" :value="formData.WORKING_DATE" :end="limitData.WORKING_DATE.end">
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
|
@ -70,26 +70,43 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group">
|
<view class="cu-form-group">
|
||||||
<view class="title">健康状况</view>
|
<view class="title is-required">健康状况</view>
|
||||||
<input v-model="formData.HEALTH" placeholder="请输入健康状况" maxlength="50" name="input" />
|
<input v-model="formData.HEALTH" placeholder="请输入健康状况" maxlength="50" name="input" />
|
||||||
</view>
|
</view>
|
||||||
|
<view class="cu-form-group">
|
||||||
|
<view class="title is-required">毕业院校及专业</view>
|
||||||
|
<input v-model="formData.UNIVERSITY" placeholder="请输入毕业院校及专业" maxlength="50" name="input" />
|
||||||
|
</view>
|
||||||
|
<view class="cu-form-group">
|
||||||
|
<view class="title is-required">户籍所在地</view>
|
||||||
|
<input v-model="formData.RESIDENCE" placeholder="请输入户籍所在地" maxlength="50" name="input" />
|
||||||
|
</view>
|
||||||
|
<view class="cu-form-group margin-top-xs">
|
||||||
|
<view class="title is-required">之前从事本岗位时间</view>
|
||||||
|
<view v-if="forbidEdit" style="color: #cccccc">{{formData.PREVIOUS_POST_DATE}}</view>
|
||||||
|
<picker v-else mode="date" @change="changeDate($event,'PREVIOUS_POST_DATE')" :value="formData.PREVIOUS_POST_DATE" :end="limitData.PREVIOUS_POST_DATE.end">
|
||||||
|
<view class="picker">
|
||||||
|
{{formData.PREVIOUS_POST_DATE?formData.PREVIOUS_POST_DATE:'请选择'}}
|
||||||
|
</view>
|
||||||
|
</picker>
|
||||||
|
</view>
|
||||||
<view class="cu-form-textarea margin-top-xs">
|
<view class="cu-form-textarea margin-top-xs">
|
||||||
<view class="cu-form-title">主要工作经历</view>
|
<view class="cu-form-title is-required-cu">主要工作经历</view>
|
||||||
<textarea v-model="formData.WORK_EXPERIENCE" maxlength="200" placeholder="请输入主要工作经历"></textarea>
|
<textarea v-model="formData.WORK_EXPERIENCE" maxlength="200" placeholder="请输入主要工作经历"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-textarea margin-top-xs">
|
<view class="cu-form-textarea margin-top-xs">
|
||||||
<view class="cu-form-title">入职前接受安全培训和考核以及取得安全培训有关的岗位证书等情况</view>
|
<view class="cu-form-title is-required-cu">入职前接受安全培训和考核以及取得安全培训有关的岗位证书等情况</view>
|
||||||
<textarea v-model="formData.CERTIFICATES" maxlength="200" placeholder="请输入入职前接受安全培训和考核以及取得安全培训有关的岗位证书等情况"></textarea>
|
<textarea v-model="formData.CERTIFICATES" maxlength="200" placeholder="请输入入职前接受安全培训和考核以及取得安全培训有关的岗位证书等情况"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-textarea margin-top-xs">
|
<view class="cu-form-textarea margin-top-xs">
|
||||||
<view class="cu-form-title">入职前受过何种有关安全生产的处罚以及是否受到刑事处罚</view>
|
<view class="cu-form-title is-required-cu">入职前受过何种有关安全生产的处罚以及是否受到刑事处罚</view>
|
||||||
<textarea v-model="formData.PUNISH" maxlength="200" placeholder="请输入入职前受过何种有关安全生产的处罚以及是否受到刑事处罚"></textarea>
|
<textarea v-model="formData.PUNISH" maxlength="200" placeholder="请输入入职前受过何种有关安全生产的处罚以及是否受到刑事处罚"></textarea>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-bar btn-group" style="margin-top: 30upx;">
|
<view class="cu-bar btn-group" style="margin-top: 30upx;">
|
||||||
<button v-if="!forbidEdit" class="cu-btn bg-blue margin-tb-sm lg" @click="$noMultipleClicks(confirmBaseInfo)">下一步</button>
|
<button v-if="!forbidEdit" class="cu-btn bg-blue margin-tb-sm lg" @click="$noMultipleClicks(confirmBaseInfo)">下一步</button>
|
||||||
<button v-if="forbidEdit && applyStatus !== '0'" class="cu-btn bg-blue margin-tb-sm lg" @click="$noMultipleClicks(goEdit)">编辑</button>
|
<button v-if="forbidEdit && applyStatus !== '0'" class="cu-btn bg-blue margin-tb-sm lg" @click="goEdit">编辑</button>
|
||||||
<!-- <button class="cu-btn bg-green margin-tb-sm lg" @click="$noMultipleClicks(goback)">返回</button>-->
|
<!-- <button class="cu-btn bg-green margin-tb-sm lg" @click="$noMultipleClicks(goback)">返回</button>-->
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
|
@ -133,6 +150,7 @@ import ZqsSelect from "../../../../components/zqs-select/zqs-select.vue";
|
||||||
limitData: {
|
limitData: {
|
||||||
// 参加工作日期
|
// 参加工作日期
|
||||||
WORKING_DATE:{ start: '', end: '' },
|
WORKING_DATE:{ start: '', end: '' },
|
||||||
|
PREVIOUS_POST_DATE:{ start: '', end: '' },
|
||||||
},
|
},
|
||||||
dictData:{
|
dictData:{
|
||||||
// 人员类型
|
// 人员类型
|
||||||
|
@ -156,6 +174,7 @@ import ZqsSelect from "../../../../components/zqs-select/zqs-select.vue";
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getDictList()
|
this.getDictList()
|
||||||
this.limitData.WORKING_DATE.end = formatDate(new Date(), 'yyyy-MM-dd'); // 参加工作日期截止时间
|
this.limitData.WORKING_DATE.end = formatDate(new Date(), 'yyyy-MM-dd'); // 参加工作日期截止时间
|
||||||
|
this.limitData.PREVIOUS_POST_DATE.end = formatDate(new Date(), 'yyyy-MM-dd'); // 之前从事本岗位时间
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async getDictList(){
|
async getDictList(){
|
||||||
|
@ -213,7 +232,7 @@ import ZqsSelect from "../../../../components/zqs-select/zqs-select.vue";
|
||||||
},
|
},
|
||||||
validateData() {
|
validateData() {
|
||||||
// 人员类型
|
// 人员类型
|
||||||
if (this.formData.PERSONNEL_TYPE.length < 1) {
|
if (!this.formData.PERSONNEL_TYPE) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
title: '请选择人员类型',
|
title: '请选择人员类型',
|
||||||
|
@ -221,6 +240,54 @@ import ZqsSelect from "../../../../components/zqs-select/zqs-select.vue";
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (!this.formData.HEALTH) {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '健康状况不能为空',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (!this.formData.UNIVERSITY) {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '毕业院校及专业不能为空',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (!this.formData.RESIDENCE) {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '户籍所在地不能为空',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (!this.formData.WORK_EXPERIENCE) {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '主要工作经历不能为空',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (!this.formData.CERTIFICATES) {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '入职前接受安全培训和考核以及取得安全培训有关的岗位证书等情况不能为空',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (!this.formData.PUNISH) {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '入职前受过何种有关安全生产的处罚以及是否受到刑事处罚不能为空',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -7,19 +7,19 @@
|
||||||
<scroll-view scroll-y="false" >
|
<scroll-view scroll-y="false" >
|
||||||
<view class="form">
|
<view class="form">
|
||||||
<view class="cu-form-group">
|
<view class="cu-form-group">
|
||||||
<view class="title">姓名</view>
|
<view class="title is-required">姓名</view>
|
||||||
<input v-model="formData.NAME" disabled placeholder="请输入姓名" maxlength="50" name="input" style="color: #cccccc" />
|
<input v-model="formData.NAME" disabled placeholder="请输入姓名" maxlength="50" name="input" style="color: #cccccc" />
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">身份证号</view>
|
<view class="title is-required">身份证号</view>
|
||||||
<input v-model="formData.USER_ID_CARD" disabled placeholder="请输入身份证号" maxlength="18" name="input" style="color: #cccccc" />
|
<input v-model="formData.USER_ID_CARD" disabled placeholder="请输入身份证号" maxlength="18" name="input" style="color: #cccccc" />
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">手机</view>
|
<view class="title is-required">手机</view>
|
||||||
<input v-model="formData.PHONE" disabled placeholder="请输入手机证号" maxlength="11" name="input" style="color: #cccccc" />
|
<input v-model="formData.PHONE" disabled placeholder="请输入手机证号" maxlength="11" name="input" style="color: #cccccc" />
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">人员类型</view>
|
<view class="title is-required">人员类型</view>
|
||||||
<zqs-select
|
<zqs-select
|
||||||
:multiple="true"
|
:multiple="true"
|
||||||
:list="dictData.PERSONNEL_TYPE.list"
|
:list="dictData.PERSONNEL_TYPE.list"
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
<!-- 身份证 -->
|
<!-- 身份证 -->
|
||||||
<uni-section title="身份证" type="line" class="margin-top" padding>
|
<uni-section title="身份证" type="line" class="margin-top" padding>
|
||||||
<view v-if="forbidEdit" class="cu-form-textarea">
|
<view v-if="forbidEdit" class="cu-form-textarea">
|
||||||
<view class="title">
|
<view class="title is-required-pic">
|
||||||
<text>身份证(正面)</text>
|
<text>身份证(正面)</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-p">
|
<view class="cu-form-p">
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="!forbidEdit" class="cu-bar bg-white margin-top">
|
<view v-if="!forbidEdit" class="cu-bar bg-white margin-top">
|
||||||
<view class="action" style="font-size: 28upx; font-weight: bold; color: #000;">
|
<view class="action is-required" style="font-size: 28upx; font-weight: bold; color: #000;">
|
||||||
身份证(正面)
|
身份证(正面)
|
||||||
</view>
|
</view>
|
||||||
<view class="action">
|
<view class="action">
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="forbidEdit" class="cu-form-textarea">
|
<view v-if="forbidEdit" class="cu-form-textarea">
|
||||||
<view class="title">
|
<view class="title is-required-pic">
|
||||||
<text>身份证(背面)</text>
|
<text>身份证(背面)</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-p">
|
<view class="cu-form-p">
|
||||||
|
@ -85,7 +85,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="!forbidEdit" class="cu-bar bg-white margin-top-xs">
|
<view v-if="!forbidEdit" class="cu-bar bg-white margin-top-xs">
|
||||||
<view class="action" style="font-size: 28upx; font-weight: bold; color: #000;">
|
<view class="action is-required" style="font-size: 28upx; font-weight: bold; color: #000;">
|
||||||
身份证(背面)
|
身份证(背面)
|
||||||
</view>
|
</view>
|
||||||
<view class="action">
|
<view class="action">
|
||||||
|
@ -106,7 +106,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">生日</view>
|
<view class="title is-required">生日</view>
|
||||||
<view v-if="forbidEdit" style="color: #cccccc">{{formData.DATE_OF_BIRTH}}</view>
|
<view v-if="forbidEdit" style="color: #cccccc">{{formData.DATE_OF_BIRTH}}</view>
|
||||||
<picker v-else mode="date" @change="changeDate($event,'DATE_OF_BIRTH')" :value="formData.DATE_OF_BIRTH" :end="limitData.DATE_OF_BIRTH.end">
|
<picker v-else mode="date" @change="changeDate($event,'DATE_OF_BIRTH')" :value="formData.DATE_OF_BIRTH" :end="limitData.DATE_OF_BIRTH.end">
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
|
@ -115,7 +115,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">民族</view>
|
<view class="title is-required">民族</view>
|
||||||
<view v-if="forbidEdit" style="color: #cccccc">{{formData.NATION_NAME}}</view>
|
<view v-if="forbidEdit" style="color: #cccccc">{{formData.NATION_NAME}}</view>
|
||||||
<picker v-else @change="pickerChangeData($event,'NATION')" :value="dictData.NATION.index" :range="dictData.NATION.list" range-key="NAME">
|
<picker v-else @change="pickerChangeData($event,'NATION')" :value="dictData.NATION.index" :range="dictData.NATION.list" range-key="NAME">
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
|
@ -124,7 +124,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">性别</view>
|
<view class="title is-required">性别</view>
|
||||||
<view v-if="forbidEdit" style="color: #cccccc">{{formData.SEX_NAME}}</view>
|
<view v-if="forbidEdit" style="color: #cccccc">{{formData.SEX_NAME}}</view>
|
||||||
<picker v-else @change="pickerChangeData($event,'SEX')" :value="dictData.SEX.index" :range="dictData.SEX.list" range-key="NAME">
|
<picker v-else @change="pickerChangeData($event,'SEX')" :value="dictData.SEX.index" :range="dictData.SEX.list" range-key="NAME">
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
|
@ -133,7 +133,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">有效期(起始)</view>
|
<view class="title is-required">有效期(起始)</view>
|
||||||
<view v-if="forbidEdit" style="color: #cccccc">{{formData.ID_CARD_VALIDITY_START}}</view>
|
<view v-if="forbidEdit" style="color: #cccccc">{{formData.ID_CARD_VALIDITY_START}}</view>
|
||||||
<picker v-else mode="date" @change="changeDate($event,'ID_CARD_VALIDITY_START')" :value="formData.ID_CARD_VALIDITY_START" >
|
<picker v-else mode="date" @change="changeDate($event,'ID_CARD_VALIDITY_START')" :value="formData.ID_CARD_VALIDITY_START" >
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
|
@ -142,7 +142,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">有效期(截止)</view>
|
<view class="title is-required">有效期(截止)</view>
|
||||||
<view v-if="forbidEdit" style="color: #cccccc">{{formData.ID_CARD_VALIDITY_END}}</view>
|
<view v-if="forbidEdit" style="color: #cccccc">{{formData.ID_CARD_VALIDITY_END}}</view>
|
||||||
<picker v-else mode="date" @change="changeDate($event,'ID_CARD_VALIDITY_END')" :value="formData.ID_CARD_VALIDITY_END" >
|
<picker v-else mode="date" @change="changeDate($event,'ID_CARD_VALIDITY_END')" :value="formData.ID_CARD_VALIDITY_END" >
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
|
@ -151,11 +151,11 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-textarea margin-top-xs">
|
<view class="cu-form-textarea margin-top-xs">
|
||||||
<view class="cu-form-title">住址</view>
|
<view class="cu-form-title is-required-cu">住址</view>
|
||||||
<textarea v-model="formData.ID_CARD_ADDRESS" :disabled="forbidEdit" maxlength="150" placeholder="请输入身份证住址" :style="'color:' + colorValue + ';'"></textarea>
|
<textarea v-model="formData.ID_CARD_ADDRESS" :disabled="forbidEdit" maxlength="150" placeholder="请输入身份证住址" :style="'color:' + colorValue + ';'"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-textarea margin-top-xs">
|
<view class="cu-form-textarea margin-top-xs">
|
||||||
<view class="cu-form-title">签发机关</view>
|
<view class="cu-form-title is-required-cu">签发机关</view>
|
||||||
<textarea v-model="formData.ID_CARD_ORGAN" :disabled="forbidEdit" maxlength="150" placeholder="请输入身份证签发机关" :style="'color:' + colorValue + ';'"></textarea>
|
<textarea v-model="formData.ID_CARD_ORGAN" :disabled="forbidEdit" maxlength="150" placeholder="请输入身份证签发机关" :style="'color:' + colorValue + ';'"></textarea>
|
||||||
</view>
|
</view>
|
||||||
</uni-section>
|
</uni-section>
|
||||||
|
@ -163,7 +163,7 @@
|
||||||
<!-- 驾驶证 -->
|
<!-- 驾驶证 -->
|
||||||
<uni-section title="驾驶证" type="line" class="margin-top" padding>
|
<uni-section title="驾驶证" type="line" class="margin-top" padding>
|
||||||
<view v-if="forbidEdit" class="cu-form-textarea">
|
<view v-if="forbidEdit" class="cu-form-textarea">
|
||||||
<view class="title">
|
<view class="title is-required-pic">
|
||||||
<text>驾驶证</text>
|
<text>驾驶证</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-p">
|
<view class="cu-form-p">
|
||||||
|
@ -176,7 +176,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="!forbidEdit" class="cu-bar bg-white margin-top">
|
<view v-if="!forbidEdit" class="cu-bar bg-white margin-top">
|
||||||
<view class="action" style="font-size: 28upx; font-weight: bold; color: #000;">
|
<view class="action is-required" style="font-size: 28upx; font-weight: bold; color: #000;">
|
||||||
驾驶证
|
驾驶证
|
||||||
</view>
|
</view>
|
||||||
<view class="action">
|
<view class="action">
|
||||||
|
@ -197,11 +197,11 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">驾驶证号</view>
|
<view class="title is-required">驾驶证号</view>
|
||||||
<input v-model="formData.DRIVER_LICENSE_NO" :disabled="forbidEdit" placeholder="请输入驾驶证号" maxlength="18" name="input" :style="'color:' + colorValue + ';'" />
|
<input v-model="formData.DRIVER_LICENSE_NO" :disabled="forbidEdit" placeholder="请输入驾驶证号" maxlength="18" name="input" :style="'color:' + colorValue + ';'" />
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">准驾车型</view>
|
<view class="title is-required">准驾车型</view>
|
||||||
<zqs-select
|
<zqs-select
|
||||||
:multiple="true"
|
:multiple="true"
|
||||||
:list="dictData.DRIVING_MODEL.list"
|
:list="dictData.DRIVING_MODEL.list"
|
||||||
|
@ -217,7 +217,7 @@
|
||||||
></zqs-select>
|
></zqs-select>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">国籍</view>
|
<view class="title is-required">国籍</view>
|
||||||
<zqs-select
|
<zqs-select
|
||||||
:multiple="false"
|
:multiple="false"
|
||||||
:list="dictData.NATIONALITY.list"
|
:list="dictData.NATIONALITY.list"
|
||||||
|
@ -229,10 +229,11 @@
|
||||||
placeholder="请选择国籍"
|
placeholder="请选择国籍"
|
||||||
title="选择国籍"
|
title="选择国籍"
|
||||||
clearable
|
clearable
|
||||||
|
@search="searchSelectNationality($event, 'NATIONALITY')"
|
||||||
></zqs-select>
|
></zqs-select>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">初次领证日期</view>
|
<view class="title is-required">初次领证日期</view>
|
||||||
<view v-if="forbidEdit" style="color: #cccccc">{{formData.DRIVER_LICENSE_ISSUE_DATE}}</view>
|
<view v-if="forbidEdit" style="color: #cccccc">{{formData.DRIVER_LICENSE_ISSUE_DATE}}</view>
|
||||||
<picker v-else mode="date" @change="changeDate($event,'DRIVER_LICENSE_ISSUE_DATE')" :value="formData.DRIVER_LICENSE_ISSUE_DATE" >
|
<picker v-else mode="date" @change="changeDate($event,'DRIVER_LICENSE_ISSUE_DATE')" :value="formData.DRIVER_LICENSE_ISSUE_DATE" >
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
|
@ -241,16 +242,16 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">有效期(起始)</view>
|
<view class="title is-required">有效期(起始)</view>
|
||||||
<view v-if="forbidEdit" style="color: #cccccc">{{formData.DRIVER_LICENSE_VALIDITY_START}}</view>
|
<view v-if="forbidEdit" style="color: #cccccc">{{formData.DRIVER_LICENSE_VALIDITY_START}}</view>
|
||||||
<picker v-else mode="date" @change="changeDate($event,'DRIVER_LICENSE_VALIDITY_START')" :value="formData.DRIVER_LICENSE_VALIDITY_START" >
|
<picker v-else mode="date" @change="changeDate($event,'DRIVER_LICENSE_VALIDITY_START')" :value="formData.DRIVER_LICENSE_VALIDITY_START" :end="limitData.DRIVER_LICENSE_VALIDITY_START.end">
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
{{formData.DRIVER_LICENSE_VALIDITY_START?formData.DRIVER_LICENSE_VALIDITY_START:'请选择'}}
|
{{formData.DRIVER_LICENSE_VALIDITY_START?formData.DRIVER_LICENSE_VALIDITY_START:'请选择'}}
|
||||||
</view>
|
</view>
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">有效期(截止)</view>
|
<view class="title is-required">有效期(截止)</view>
|
||||||
<view v-if="forbidEdit" style="color: #cccccc">{{formData.DRIVER_LICENSE_VALIDITY_END}}</view>
|
<view v-if="forbidEdit" style="color: #cccccc">{{formData.DRIVER_LICENSE_VALIDITY_END}}</view>
|
||||||
<picker v-else mode="date" @change="changeDate($event,'DRIVER_LICENSE_VALIDITY_END')" :value="formData.DRIVER_LICENSE_VALIDITY_END" >
|
<picker v-else mode="date" @change="changeDate($event,'DRIVER_LICENSE_VALIDITY_END')" :value="formData.DRIVER_LICENSE_VALIDITY_END" >
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
|
@ -259,7 +260,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-textarea margin-top-xs">
|
<view class="cu-form-textarea margin-top-xs">
|
||||||
<view class="cu-form-title">签发机关</view>
|
<view class="cu-form-title is-required-cu">签发机关</view>
|
||||||
<textarea v-model="formData.DRIVER_LICENSE_ORGAN" :disabled="forbidEdit" maxlength="150" placeholder="请输入驾驶证签发机关" :style="'color:' + colorValue + ';'"></textarea>
|
<textarea v-model="formData.DRIVER_LICENSE_ORGAN" :disabled="forbidEdit" maxlength="150" placeholder="请输入驾驶证签发机关" :style="'color:' + colorValue + ';'"></textarea>
|
||||||
</view>
|
</view>
|
||||||
</uni-section>
|
</uni-section>
|
||||||
|
@ -267,7 +268,7 @@
|
||||||
<!-- 道路运输从业人员从业资格证 -->
|
<!-- 道路运输从业人员从业资格证 -->
|
||||||
<uni-section title="道路运输从业人员从业资格证" type="line" class="margin-top" padding>
|
<uni-section title="道路运输从业人员从业资格证" type="line" class="margin-top" padding>
|
||||||
<view v-if="forbidEdit" class="cu-form-textarea">
|
<view v-if="forbidEdit" class="cu-form-textarea">
|
||||||
<view class="title">
|
<view class="title is-required-pic">
|
||||||
<text>从业资格证</text>
|
<text>从业资格证</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-p">
|
<view class="cu-form-p">
|
||||||
|
@ -280,7 +281,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="!forbidEdit" class="cu-bar bg-white margin-top">
|
<view v-if="!forbidEdit" class="cu-bar bg-white margin-top">
|
||||||
<view class="action" style="font-size: 28upx; font-weight: bold; color: #000;">
|
<view class="action is-required" style="font-size: 28upx; font-weight: bold; color: #000;">
|
||||||
从业资格证
|
从业资格证
|
||||||
</view>
|
</view>
|
||||||
<view class="action">
|
<view class="action">
|
||||||
|
@ -301,11 +302,11 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">从业资格证号</view>
|
<view class="title is-required">从业资格证号</view>
|
||||||
<input v-model="formData.QUALIFICATION_CERTIFICATE_NO" :disabled="forbidEdit" placeholder="请输入从业资格证号" maxlength="18" name="input" :style="'color:' + colorValue + ';'" />
|
<input v-model="formData.QUALIFICATION_CERTIFICATE_NO" :disabled="forbidEdit" placeholder="请输入从业资格证号" maxlength="18" name="input" :style="'color:' + colorValue + ';'" />
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">从业资格类别</view>
|
<view class="title is-required">从业资格类别</view>
|
||||||
<zqs-select
|
<zqs-select
|
||||||
:multiple="true"
|
:multiple="true"
|
||||||
:list="dictData.QUALIFICATION_CERTIFICATE_CATEGORY.list"
|
:list="dictData.QUALIFICATION_CERTIFICATE_CATEGORY.list"
|
||||||
|
@ -321,10 +322,10 @@
|
||||||
></zqs-select>
|
></zqs-select>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">国籍</view>
|
<view class="title is-required">国籍</view>
|
||||||
<zqs-select
|
<zqs-select
|
||||||
:multiple="false"
|
:multiple="false"
|
||||||
:list="dictData.NATIONALITY.list"
|
:list="dictData.QUALIFICATION_CERTIFICATE_NATIONALITY.list"
|
||||||
:show-search="true"
|
:show-search="true"
|
||||||
:disabled="forbidEdit"
|
:disabled="forbidEdit"
|
||||||
v-model="formData.QUALIFICATION_CERTIFICATE_NATIONALITY"
|
v-model="formData.QUALIFICATION_CERTIFICATE_NATIONALITY"
|
||||||
|
@ -333,19 +334,20 @@
|
||||||
placeholder="请选择国籍"
|
placeholder="请选择国籍"
|
||||||
title="选择国籍"
|
title="选择国籍"
|
||||||
clearable
|
clearable
|
||||||
|
@search="searchSelectNationality($event, 'NATIONALITY')"
|
||||||
></zqs-select>
|
></zqs-select>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">初次领证日期</view>
|
<view class="title is-required">初次领证日期</view>
|
||||||
<view v-if="forbidEdit" style="color: #cccccc">{{formData.QUALIFICATION_CERTIFICATE_ISSUE_DATE}}</view>
|
<view v-if="forbidEdit" style="color: #cccccc">{{formData.QUALIFICATION_CERTIFICATE_ISSUE_DATE}}</view>
|
||||||
<picker v-else mode="date" @change="changeDate($event,'QUALIFICATION_CERTIFICATE_ISSUE_DATE')" :value="formData.QUALIFICATION_CERTIFICATE_ISSUE_DATE" >
|
<picker v-else mode="date" @change="changeDate($event,'QUALIFICATION_CERTIFICATE_ISSUE_DATE')" :value="formData.QUALIFICATION_CERTIFICATE_ISSUE_DATE" :end="limitData.QUALIFICATION_CERTIFICATE_ISSUE_DATE.end">
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
{{formData.QUALIFICATION_CERTIFICATE_ISSUE_DATE?formData.QUALIFICATION_CERTIFICATE_ISSUE_DATE:'请选择'}}
|
{{formData.QUALIFICATION_CERTIFICATE_ISSUE_DATE?formData.QUALIFICATION_CERTIFICATE_ISSUE_DATE:'请选择'}}
|
||||||
</view>
|
</view>
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">有效期(起始)</view>
|
<view class="title is-required">有效期(起始)</view>
|
||||||
<view v-if="forbidEdit" style="color: #cccccc">{{formData.QUALIFICATION_CERTIFICATE_VALIDITY_START}}</view>
|
<view v-if="forbidEdit" style="color: #cccccc">{{formData.QUALIFICATION_CERTIFICATE_VALIDITY_START}}</view>
|
||||||
<picker v-else mode="date" @change="changeDate($event,'QUALIFICATION_CERTIFICATE_VALIDITY_START')" :value="formData.QUALIFICATION_CERTIFICATE_VALIDITY_START" >
|
<picker v-else mode="date" @change="changeDate($event,'QUALIFICATION_CERTIFICATE_VALIDITY_START')" :value="formData.QUALIFICATION_CERTIFICATE_VALIDITY_START" >
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
|
@ -354,7 +356,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">有效期(截止)</view>
|
<view class="title is-required">有效期(截止)</view>
|
||||||
<view v-if="forbidEdit" style="color: #cccccc">{{formData.QUALIFICATION_CERTIFICATE_VALIDITY_END}}</view>
|
<view v-if="forbidEdit" style="color: #cccccc">{{formData.QUALIFICATION_CERTIFICATE_VALIDITY_END}}</view>
|
||||||
<picker v-else mode="date" @change="changeDate($event,'QUALIFICATION_CERTIFICATE_VALIDITY_END')" :value="formData.QUALIFICATION_CERTIFICATE_VALIDITY_END" >
|
<picker v-else mode="date" @change="changeDate($event,'QUALIFICATION_CERTIFICATE_VALIDITY_END')" :value="formData.QUALIFICATION_CERTIFICATE_VALIDITY_END" >
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
|
@ -363,7 +365,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-textarea margin-top-xs">
|
<view class="cu-form-textarea margin-top-xs">
|
||||||
<view class="cu-form-title">签发机关</view>
|
<view class="cu-form-title is-required-cu">签发机关</view>
|
||||||
<textarea v-model="formData.QUALIFICATION_CERTIFICATE_ORGAN" :disabled="forbidEdit" maxlength="150" placeholder="请输入从业资格证签发机关" :style="'color:' + colorValue + ';'"></textarea>
|
<textarea v-model="formData.QUALIFICATION_CERTIFICATE_ORGAN" :disabled="forbidEdit" maxlength="150" placeholder="请输入从业资格证签发机关" :style="'color:' + colorValue + ';'"></textarea>
|
||||||
</view>
|
</view>
|
||||||
</uni-section>
|
</uni-section>
|
||||||
|
@ -373,7 +375,7 @@
|
||||||
<view class="cu-bar btn-group" style="margin-top: 30upx;">
|
<view class="cu-bar btn-group" style="margin-top: 30upx;">
|
||||||
<!-- <button v-if="!forbidEdit" class="cu-btn bg-blue margin-tb-sm lg" @click="$noMultipleClicks(confirmCertificate)">下一步</button>-->
|
<!-- <button v-if="!forbidEdit" class="cu-btn bg-blue margin-tb-sm lg" @click="$noMultipleClicks(confirmCertificate)">下一步</button>-->
|
||||||
<button v-if="!forbidEdit" :loading="buttonloading" :disabled="buttonloading" class="cu-btn bg-green margin-tb-sm lg" @click="$noMultipleClicks(confirmCertificate)">提 交</button>
|
<button v-if="!forbidEdit" :loading="buttonloading" :disabled="buttonloading" class="cu-btn bg-green margin-tb-sm lg" @click="$noMultipleClicks(confirmCertificate)">提 交</button>
|
||||||
<button v-if="forbidEdit && applyStatus !== '0'" class="cu-btn bg-blue margin-tb-sm lg" @click="$noMultipleClicks(goEdit)">编辑</button>
|
<button v-if="forbidEdit && applyStatus !== '0'" class="cu-btn bg-blue margin-tb-sm lg" @click="goEdit">编辑</button>
|
||||||
<!-- <button class="cu-btn bg-green margin-tb-sm lg" @click="$noMultipleClicks(goback)">返回</button>-->
|
<!-- <button class="cu-btn bg-green margin-tb-sm lg" @click="$noMultipleClicks(goback)">返回</button>-->
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
|
@ -495,11 +497,18 @@ export default {
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getDictList()
|
this.getDictList()
|
||||||
|
this.getNationality()
|
||||||
|
this.getQualificationCertificateNationality()
|
||||||
var _this = this
|
var _this = this
|
||||||
let now = new Date();
|
let now = new Date();
|
||||||
var birthEnd=now.setFullYear(now.getFullYear()-17);
|
var birthEnd=now.setFullYear(now.getFullYear()-17);
|
||||||
birthEnd=new Date(birthEnd);
|
birthEnd=new Date(birthEnd);
|
||||||
this.limitData.DATE_OF_BIRTH.end = formatDate(birthEnd, 'yyyy-MM-dd'); // 生日截止时间
|
this.limitData.DATE_OF_BIRTH.end = formatDate(birthEnd, 'yyyy-MM-dd'); // 生日截止时间
|
||||||
|
this.limitData.ID_CARD_VALIDITY_START.end = formatDate(new Date(), 'yyyy-MM-dd'); // 身份证有效期(起始)
|
||||||
|
this.limitData.DRIVER_LICENSE_ISSUE_DATE.end = formatDate(new Date(), 'yyyy-MM-dd'); // 驾驶证初次领证日期
|
||||||
|
this.limitData.DRIVER_LICENSE_VALIDITY_START.end = formatDate(new Date(), 'yyyy-MM-dd'); // 驾驶证有效期(起始)
|
||||||
|
this.limitData.QUALIFICATION_CERTIFICATE_ISSUE_DATE.end = formatDate(new Date(), 'yyyy-MM-dd'); // 从业资格证初次领证日期
|
||||||
|
this.limitData.QUALIFICATION_CERTIFICATE_VALIDITY_START.end = formatDate(new Date(), 'yyyy-MM-dd'); // 从业资格证有效期(起始)
|
||||||
this.dictData.SEX.list.forEach((item, index) => {
|
this.dictData.SEX.list.forEach((item, index) => {
|
||||||
if (item.DICTIONARIES_ID === _this.formData.SEX) {
|
if (item.DICTIONARIES_ID === _this.formData.SEX) {
|
||||||
_this.dictData.SEX.index = index;
|
_this.dictData.SEX.index = index;
|
||||||
|
@ -516,8 +525,6 @@ export default {
|
||||||
this.dictData.NATION.list = await getLevel({DICTIONARIES_ID: '0a0e406f27f74ee698fe9979d25f62dd'});
|
this.dictData.NATION.list = await getLevel({DICTIONARIES_ID: '0a0e406f27f74ee698fe9979d25f62dd'});
|
||||||
// 准驾车型
|
// 准驾车型
|
||||||
this.dictData.DRIVING_MODEL.list = await getLevel({DICTIONARIES_ID: 'b41e247057334789b60bdf3fe6d8d6ba'});
|
this.dictData.DRIVING_MODEL.list = await getLevel({DICTIONARIES_ID: 'b41e247057334789b60bdf3fe6d8d6ba'});
|
||||||
// 国籍
|
|
||||||
this.dictData.NATIONALITY.list = await getLevel({DICTIONARIES_ID: '3b614b43e8814f51a3492f2fdbc9a415'});
|
|
||||||
// 从业资格类别
|
// 从业资格类别
|
||||||
this.dictData.QUALIFICATION_CERTIFICATE_CATEGORY.list = await getLevelCustom({DICTIONARIES_ID: 'ed38fa5f78c64e6d906d2bad0d72bd63', LEVEL: 3});
|
this.dictData.QUALIFICATION_CERTIFICATE_CATEGORY.list = await getLevelCustom({DICTIONARIES_ID: 'ed38fa5f78c64e6d906d2bad0d72bd63', LEVEL: 3});
|
||||||
this.dictData.QUALIFICATION_CERTIFICATE_CATEGORY.list.forEach((item) => {
|
this.dictData.QUALIFICATION_CERTIFICATE_CATEGORY.list.forEach((item) => {
|
||||||
|
@ -525,6 +532,27 @@ export default {
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
|
async getNationality(){
|
||||||
|
// 国籍
|
||||||
|
this.dictData.NATIONALITY.list = await getLevel({DICTIONARIES_ID: '3b614b43e8814f51a3492f2fdbc9a415'});
|
||||||
|
this.dictData.NATIONALITY.tempList = JSON.parse(JSON.stringify(this.dictData.NATIONALITY.list));
|
||||||
|
},
|
||||||
|
async getQualificationCertificateNationality(){
|
||||||
|
this.dictData.QUALIFICATION_CERTIFICATE_NATIONALITY.list = await getLevel({DICTIONARIES_ID: '3b614b43e8814f51a3492f2fdbc9a415'});
|
||||||
|
this.dictData.QUALIFICATION_CERTIFICATE_NATIONALITY.tempList = JSON.parse(JSON.stringify(this.dictData.QUALIFICATION_CERTIFICATE_NATIONALITY.list));
|
||||||
|
},
|
||||||
|
searchSelectNationality(e, name) {
|
||||||
|
this.dictData.NATIONALITY.list = JSON.parse(JSON.stringify(this.dictData.NATIONALITY.tempList));
|
||||||
|
if (e) {
|
||||||
|
this.dictData.NATIONALITY.list = this.dictData[name].list.filter(item => item.NAME.indexOf(e) > -1);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
searchSelectQualificationCertificateNationality(e, name) {
|
||||||
|
this.dictData.QUALIFICATION_CERTIFICATE_NATIONALITY.list = JSON.parse(JSON.stringify(this.dictData.QUALIFICATION_CERTIFICATE_NATIONALITY.tempList));
|
||||||
|
if (e) {
|
||||||
|
this.dictData.QUALIFICATION_CERTIFICATE_NATIONALITY.list = this.dictData[name].list.filter(item => item.NAME.indexOf(e) > -1);
|
||||||
|
}
|
||||||
|
},
|
||||||
//跳转事件
|
//跳转事件
|
||||||
confirmCertificate() {
|
confirmCertificate() {
|
||||||
if (this.validateData()) {
|
if (this.validateData()) {
|
||||||
|
|
|
@ -7,26 +7,26 @@
|
||||||
<scroll-view scroll-y="false" >
|
<scroll-view scroll-y="false" >
|
||||||
<view class="form">
|
<view class="form">
|
||||||
<view class="cu-form-group">
|
<view class="cu-form-group">
|
||||||
<view class="title">姓名</view>
|
<view class="title is-required">姓名</view>
|
||||||
<input v-model="formData.NAME" disabled placeholder="请输入姓名" maxlength="50" name="input" style="color: #cccccc" />
|
<input v-model="formData.NAME" disabled placeholder="请输入姓名" maxlength="50" name="input" style="color: #cccccc" />
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">身份证号</view>
|
<view class="title is-required">身份证号</view>
|
||||||
<input v-model="formData.USER_ID_CARD" disabled placeholder="请输入身份证号" maxlength="18" name="input" style="color: #cccccc" />
|
<input v-model="formData.USER_ID_CARD" disabled placeholder="请输入身份证号" maxlength="18" name="input" style="color: #cccccc" />
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">手机</view>
|
<view class="title is-required">手机</view>
|
||||||
<input v-model="formData.PHONE" disabled placeholder="请输入手机证号" maxlength="11" name="input" style="color: #cccccc" />
|
<input v-model="formData.PHONE" disabled placeholder="请输入手机证号" maxlength="11" name="input" style="color: #cccccc" />
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">人员类型</view>
|
<view class="title is-required">人员类型</view>
|
||||||
<zqs-select
|
<zqs-select
|
||||||
:multiple="true"
|
:multiple="true"
|
||||||
:list="dictData.PERSONNEL_TYPE.list"
|
:list="dictData.PERSONNEL_TYPE.list"
|
||||||
:show-search="false"
|
:show-search="false"
|
||||||
v-model="formData.PERSONNEL_TYPE"
|
v-model="formData.PERSONNEL_TYPE_NAME"
|
||||||
label-key="NAME"
|
label-key="NAME"
|
||||||
value-key="NAME"
|
value-key="DICTIONARIES_ID"
|
||||||
placeholder="请选择人员类型"
|
placeholder="请选择人员类型"
|
||||||
title="选择人员类型"
|
title="选择人员类型"
|
||||||
clearable
|
clearable
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>-->
|
</view>-->
|
||||||
<view class="cu-form-group margin-top">
|
<view class="cu-form-group margin-top">
|
||||||
<view class="title">文化程度</view>
|
<view class="title is-required">文化程度</view>
|
||||||
<picker @change="pickerChangeData($event,'DEGREE_OF_EDUCATION')" :value="dictData.DEGREE_OF_EDUCATION.index" :range="dictData.DEGREE_OF_EDUCATION.list" range-key="NAME">
|
<picker @change="pickerChangeData($event,'DEGREE_OF_EDUCATION')" :value="dictData.DEGREE_OF_EDUCATION.index" :range="dictData.DEGREE_OF_EDUCATION.list" range-key="NAME">
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
{{formData.DEGREE_OF_EDUCATIONNAME?formData.DEGREE_OF_EDUCATIONNAME:'请选择'}}
|
{{formData.DEGREE_OF_EDUCATIONNAME?formData.DEGREE_OF_EDUCATIONNAME:'请选择'}}
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">政治面貌</view>
|
<view class="title is-required">政治面貌</view>
|
||||||
<picker @change="pickerChangeData($event,'POLITICAL_OUTLOOK')" :value="dictData.POLITICAL_OUTLOOK.index" :range="dictData.POLITICAL_OUTLOOK.list" range-key="NAME">
|
<picker @change="pickerChangeData($event,'POLITICAL_OUTLOOK')" :value="dictData.POLITICAL_OUTLOOK.index" :range="dictData.POLITICAL_OUTLOOK.list" range-key="NAME">
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
{{formData.POLITICAL_OUTLOOKNAME?formData.POLITICAL_OUTLOOKNAME:'请选择'}}
|
{{formData.POLITICAL_OUTLOOKNAME?formData.POLITICAL_OUTLOOKNAME:'请选择'}}
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">参加工作日期</view>
|
<view class="title is-required">参加工作日期</view>
|
||||||
<picker mode="date" @change="changeDate($event,'WORKING_DATE')" :value="formData.WORKING_DATE" :end="limitData.WORKING_DATE.end">
|
<picker mode="date" @change="changeDate($event,'WORKING_DATE')" :value="formData.WORKING_DATE" :end="limitData.WORKING_DATE.end">
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
{{formData.WORKING_DATE?formData.WORKING_DATE:'请选择'}}
|
{{formData.WORKING_DATE?formData.WORKING_DATE:'请选择'}}
|
||||||
|
@ -66,19 +66,35 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group">
|
<view class="cu-form-group">
|
||||||
<view class="title">健康状况</view>
|
<view class="title is-required">健康状况</view>
|
||||||
<input v-model="formData.HEALTH" placeholder="请输入健康状况" maxlength="50" name="input" />
|
<input v-model="formData.HEALTH" placeholder="请输入健康状况" maxlength="50" name="input" />
|
||||||
</view>
|
</view>
|
||||||
|
<view class="cu-form-group">
|
||||||
|
<view class="title is-required">毕业院校及专业</view>
|
||||||
|
<input v-model="formData.UNIVERSITY" placeholder="请输入毕业院校及专业" maxlength="50" name="input" />
|
||||||
|
</view>
|
||||||
|
<view class="cu-form-group">
|
||||||
|
<view class="title is-required">户籍所在地</view>
|
||||||
|
<input v-model="formData.RESIDENCE" placeholder="请输入户籍所在地" maxlength="50" name="input" />
|
||||||
|
</view>
|
||||||
|
<view class="cu-form-group margin-top-xs">
|
||||||
|
<view class="title is-required">之前从事本岗位时间</view>
|
||||||
|
<picker mode="date" @change="changeDate($event,'PREVIOUS_POST_DATE')" :value="formData.PREVIOUS_POST_DATE" :end="limitData2.PREVIOUS_POST_DATE.end">
|
||||||
|
<view class="picker">
|
||||||
|
{{formData.PREVIOUS_POST_DATE?formData.PREVIOUS_POST_DATE:'请选择'}}
|
||||||
|
</view>
|
||||||
|
</picker>
|
||||||
|
</view>
|
||||||
<view class="cu-form-textarea margin-top-xs">
|
<view class="cu-form-textarea margin-top-xs">
|
||||||
<view class="cu-form-title">主要工作经历</view>
|
<view class="cu-form-title is-required-cu">主要工作经历</view>
|
||||||
<textarea v-model="formData.WORK_EXPERIENCE" maxlength="200" placeholder="请输入主要工作经历"></textarea>
|
<textarea v-model="formData.WORK_EXPERIENCE" maxlength="200" placeholder="请输入主要工作经历"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-textarea margin-top-xs">
|
<view class="cu-form-textarea margin-top-xs">
|
||||||
<view class="cu-form-title">入职前接受安全培训和考核以及取得安全培训有关的岗位证书等情况</view>
|
<view class="cu-form-title is-required-cu">入职前接受安全培训和考核以及取得安全培训有关的岗位证书等情况</view>
|
||||||
<textarea v-model="formData.CERTIFICATES" maxlength="200" placeholder="请输入入职前接受安全培训和考核以及取得安全培训有关的岗位证书等情况"></textarea>
|
<textarea v-model="formData.CERTIFICATES" maxlength="200" placeholder="请输入入职前接受安全培训和考核以及取得安全培训有关的岗位证书等情况"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-textarea margin-top-xs">
|
<view class="cu-form-textarea margin-top-xs">
|
||||||
<view class="cu-form-title">入职前受过何种有关安全生产的处罚以及是否受到刑事处罚</view>
|
<view class="cu-form-title is-required-cu">入职前受过何种有关安全生产的处罚以及是否受到刑事处罚</view>
|
||||||
<textarea v-model="formData.PUNISH" maxlength="200" placeholder="请输入入职前受过何种有关安全生产的处罚以及是否受到刑事处罚"></textarea>
|
<textarea v-model="formData.PUNISH" maxlength="200" placeholder="请输入入职前受过何种有关安全生产的处罚以及是否受到刑事处罚"></textarea>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
@ -116,6 +132,11 @@ import ZqsSelect from "../../../components/zqs-select/zqs-select.vue";
|
||||||
// 参加工作日期
|
// 参加工作日期
|
||||||
WORKING_DATE:{ start: '', end: '' },
|
WORKING_DATE:{ start: '', end: '' },
|
||||||
},
|
},
|
||||||
|
// 范围限制
|
||||||
|
limitData2: {
|
||||||
|
// 参加工作日期
|
||||||
|
PREVIOUS_POST_DATE:{ start: '', end: '' },
|
||||||
|
},
|
||||||
dictData:{
|
dictData:{
|
||||||
// 人员类型
|
// 人员类型
|
||||||
PERSONNEL_TYPE:{
|
PERSONNEL_TYPE:{
|
||||||
|
@ -138,6 +159,7 @@ import ZqsSelect from "../../../components/zqs-select/zqs-select.vue";
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getDictList()
|
this.getDictList()
|
||||||
this.limitData.WORKING_DATE.end = formatDate(new Date(), 'yyyy-MM-dd'); // 参加工作日期截止时间
|
this.limitData.WORKING_DATE.end = formatDate(new Date(), 'yyyy-MM-dd'); // 参加工作日期截止时间
|
||||||
|
this.limitData2.PREVIOUS_POST_DATE.end = formatDate(new Date(), 'yyyy-MM-dd'); // 参加工作日期截止时间
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async getDictList(){
|
async getDictList(){
|
||||||
|
@ -200,6 +222,86 @@ import ZqsSelect from "../../../components/zqs-select/zqs-select.vue";
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (!this.formData.DEGREE_OF_EDUCATIONNAME) {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '请选择文化程度',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (!this.formData.POLITICAL_OUTLOOKNAME) {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '请选择政治面貌',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (!this.formData.WORKING_DATE) {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '请选择参加工作日期',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (!this.formData.HEALTH) {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '健康状况不能为空',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (!this.formData.UNIVERSITY) {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '毕业院校及专业不能为空',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (!this.formData.RESIDENCE) {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '户籍所在地不能为空',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (!this.formData.PREVIOUS_POST_DATE) {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '请选择之前从事本岗位时间',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (!this.formData.WORK_EXPERIENCE) {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '主要工作经历不能为空',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (!this.formData.CERTIFICATES) {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '入职前接受安全培训和考核以及取得安全培训有关的岗位证书等情况不能为空',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (!this.formData.PUNISH) {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '入职前受过何种有关安全生产的处罚以及是否受到刑事处罚不能为空',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -7,19 +7,19 @@
|
||||||
<scroll-view scroll-y="false" >
|
<scroll-view scroll-y="false" >
|
||||||
<view class="form">
|
<view class="form">
|
||||||
<view class="cu-form-group">
|
<view class="cu-form-group">
|
||||||
<view class="title">姓名</view>
|
<view class="title is-required">姓名</view>
|
||||||
<input v-model="formData.NAME" disabled placeholder="请输入姓名" maxlength="50" name="input" style="color: #cccccc" />
|
<input v-model="formData.NAME" disabled placeholder="请输入姓名" maxlength="50" name="input" style="color: #cccccc" />
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">身份证号</view>
|
<view class="title is-required">身份证号</view>
|
||||||
<input v-model="formData.USER_ID_CARD" disabled placeholder="请输入身份证号" maxlength="18" name="input" style="color: #cccccc" />
|
<input v-model="formData.USER_ID_CARD" disabled placeholder="请输入身份证号" maxlength="18" name="input" style="color: #cccccc" />
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">手机</view>
|
<view class="title is-required">手机</view>
|
||||||
<input v-model="formData.PHONE" disabled placeholder="请输入手机证号" maxlength="11" name="input" style="color: #cccccc" />
|
<input v-model="formData.PHONE" disabled placeholder="请输入手机证号" maxlength="11" name="input" style="color: #cccccc" />
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">人员类型</view>
|
<view class="title is-required">人员类型</view>
|
||||||
<picker @change="pickerChangeData($event,'PERSONNEL_TYPE')" disabled :value="dictData.PERSONNEL_TYPE.index" :range="dictData.PERSONNEL_TYPE.list" range-key="NAME">
|
<picker @change="pickerChangeData($event,'PERSONNEL_TYPE')" disabled :value="dictData.PERSONNEL_TYPE.index" :range="dictData.PERSONNEL_TYPE.list" range-key="NAME">
|
||||||
<view class="picker" style="color: #cccccc">
|
<view class="picker" style="color: #cccccc">
|
||||||
{{formData.PERSONNEL_TYPE.join()}}
|
{{formData.PERSONNEL_TYPE.join()}}
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
<!-- 身份证 -->
|
<!-- 身份证 -->
|
||||||
<uni-section title="身份证" type="line" class="margin-top" padding>
|
<uni-section title="身份证" type="line" class="margin-top" padding>
|
||||||
<view class="cu-bar bg-white margin-top">
|
<view class="cu-bar bg-white margin-top">
|
||||||
<view class="action" style="font-size: 28upx; font-weight: bold; color: #000;">
|
<view class="action is-required" style="font-size: 28upx; font-weight: bold; color: #000;">
|
||||||
身份证(正面)
|
身份证(正面)
|
||||||
</view>
|
</view>
|
||||||
<view class="action">
|
<view class="action">
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-bar bg-white margin-top-xs">
|
<view class="cu-bar bg-white margin-top-xs">
|
||||||
<view class="action" style="font-size: 28upx; font-weight: bold; color: #000;">
|
<view class="action is-required" style="font-size: 28upx; font-weight: bold; color: #000;">
|
||||||
身份证(背面)
|
身份证(背面)
|
||||||
</view>
|
</view>
|
||||||
<view class="action">
|
<view class="action">
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">生日</view>
|
<view class="title is-required">生日</view>
|
||||||
<picker mode="date" @change="changeDate($event,'DATE_OF_BIRTH')" :value="formData.DATE_OF_BIRTH" :end="limitData.DATE_OF_BIRTH.end">
|
<picker mode="date" @change="changeDate($event,'DATE_OF_BIRTH')" :value="formData.DATE_OF_BIRTH" :end="limitData.DATE_OF_BIRTH.end">
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
{{formData.DATE_OF_BIRTH?formData.DATE_OF_BIRTH:'请选择'}}
|
{{formData.DATE_OF_BIRTH?formData.DATE_OF_BIRTH:'请选择'}}
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">民族</view>
|
<view class="title is-required">民族</view>
|
||||||
<picker @change="pickerChangeData($event,'NATION')" :value="dictData.NATION.index" :range="dictData.NATION.list" range-key="NAME">
|
<picker @change="pickerChangeData($event,'NATION')" :value="dictData.NATION.index" :range="dictData.NATION.list" range-key="NAME">
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
{{formData.NATIONNAME?formData.NATIONNAME:'请选择'}}
|
{{formData.NATIONNAME?formData.NATIONNAME:'请选择'}}
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">性别</view>
|
<view class="title is-required">性别</view>
|
||||||
<picker @change="pickerChangeData($event,'SEX')" :value="dictData.SEX.index" :range="dictData.SEX.list" range-key="NAME">
|
<picker @change="pickerChangeData($event,'SEX')" :value="dictData.SEX.index" :range="dictData.SEX.list" range-key="NAME">
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
{{formData.SEXNAME?formData.SEXNAME:'请选择'}}
|
{{formData.SEXNAME?formData.SEXNAME:'请选择'}}
|
||||||
|
@ -96,7 +96,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">有效期(起始)</view>
|
<view class="title is-required">有效期(起始)</view>
|
||||||
<picker mode="date" @change="changeDate($event,'ID_CARD_VALIDITY_START')" :value="formData.ID_CARD_VALIDITY_START" >
|
<picker mode="date" @change="changeDate($event,'ID_CARD_VALIDITY_START')" :value="formData.ID_CARD_VALIDITY_START" >
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
{{formData.ID_CARD_VALIDITY_START?formData.ID_CARD_VALIDITY_START:'请选择'}}
|
{{formData.ID_CARD_VALIDITY_START?formData.ID_CARD_VALIDITY_START:'请选择'}}
|
||||||
|
@ -104,7 +104,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">有效期(截止)</view>
|
<view class="title is-required">有效期(截止)</view>
|
||||||
<picker mode="date" @change="changeDate($event,'ID_CARD_VALIDITY_END')" :value="formData.ID_CARD_VALIDITY_END" >
|
<picker mode="date" @change="changeDate($event,'ID_CARD_VALIDITY_END')" :value="formData.ID_CARD_VALIDITY_END" >
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
{{formData.ID_CARD_VALIDITY_END?formData.ID_CARD_VALIDITY_END:'请选择'}}
|
{{formData.ID_CARD_VALIDITY_END?formData.ID_CARD_VALIDITY_END:'请选择'}}
|
||||||
|
@ -112,11 +112,11 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-textarea margin-top-xs">
|
<view class="cu-form-textarea margin-top-xs">
|
||||||
<view class="cu-form-title">住址</view>
|
<view class="cu-form-title is-required-cu">住址</view>
|
||||||
<textarea maxlength="150" v-model="formData.ID_CARD_ADDRESS" placeholder="请输入身份证住址"></textarea>
|
<textarea maxlength="150" v-model="formData.ID_CARD_ADDRESS" placeholder="请输入身份证住址"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-textarea margin-top-xs">
|
<view class="cu-form-textarea margin-top-xs">
|
||||||
<view class="cu-form-title">签发机关</view>
|
<view class="cu-form-title is-required-cu">签发机关</view>
|
||||||
<textarea maxlength="150" v-model="formData.ID_CARD_ORGAN" placeholder="请输入身份证签发机关"></textarea>
|
<textarea maxlength="150" v-model="formData.ID_CARD_ORGAN" placeholder="请输入身份证签发机关"></textarea>
|
||||||
</view>
|
</view>
|
||||||
</uni-section>
|
</uni-section>
|
||||||
|
@ -124,7 +124,7 @@
|
||||||
<!-- 驾驶证 -->
|
<!-- 驾驶证 -->
|
||||||
<uni-section title="驾驶证" type="line" class="margin-top" padding>
|
<uni-section title="驾驶证" type="line" class="margin-top" padding>
|
||||||
<view class="cu-bar bg-white margin-top">
|
<view class="cu-bar bg-white margin-top">
|
||||||
<view class="action" style="font-size: 28upx; font-weight: bold; color: #000;">
|
<view class="action is-required" style="font-size: 28upx; font-weight: bold; color: #000;">
|
||||||
驾驶证
|
驾驶证
|
||||||
</view>
|
</view>
|
||||||
<view class="action">
|
<view class="action">
|
||||||
|
@ -145,11 +145,11 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">驾驶证号</view>
|
<view class="title is-required">驾驶证号</view>
|
||||||
<input v-model="formData.DRIVER_LICENSE_NO" placeholder="请输入驾驶证号" maxlength="18" name="input" />
|
<input v-model="formData.DRIVER_LICENSE_NO" placeholder="请输入驾驶证号" maxlength="18" name="input" />
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">准驾车型</view>
|
<view class="title is-required">准驾车型</view>
|
||||||
<zqs-select
|
<zqs-select
|
||||||
:multiple="true"
|
:multiple="true"
|
||||||
:list="dictData.DRIVING_MODEL.list"
|
:list="dictData.DRIVING_MODEL.list"
|
||||||
|
@ -164,7 +164,7 @@
|
||||||
></zqs-select>
|
></zqs-select>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">国籍</view>
|
<view class="title is-required">国籍</view>
|
||||||
<zqs-select
|
<zqs-select
|
||||||
:multiple="false"
|
:multiple="false"
|
||||||
:list="dictData.NATIONALITY.list"
|
:list="dictData.NATIONALITY.list"
|
||||||
|
@ -175,10 +175,11 @@
|
||||||
placeholder="请选择国籍"
|
placeholder="请选择国籍"
|
||||||
title="选择国籍"
|
title="选择国籍"
|
||||||
clearable
|
clearable
|
||||||
|
@search="searchSelectNationality($event, 'NATIONALITY')"
|
||||||
></zqs-select>
|
></zqs-select>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">初次领证日期</view>
|
<view class="title is-required">初次领证日期</view>
|
||||||
<picker mode="date" @change="changeDate($event,'DRIVER_LICENSE_ISSUE_DATE')" :value="formData.DRIVER_LICENSE_ISSUE_DATE" >
|
<picker mode="date" @change="changeDate($event,'DRIVER_LICENSE_ISSUE_DATE')" :value="formData.DRIVER_LICENSE_ISSUE_DATE" >
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
{{formData.DRIVER_LICENSE_ISSUE_DATE?formData.DRIVER_LICENSE_ISSUE_DATE:'请选择'}}
|
{{formData.DRIVER_LICENSE_ISSUE_DATE?formData.DRIVER_LICENSE_ISSUE_DATE:'请选择'}}
|
||||||
|
@ -186,7 +187,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">有效期(起始)</view>
|
<view class="title is-required">有效期(起始)</view>
|
||||||
<picker mode="date" @change="changeDate($event,'DRIVER_LICENSE_VALIDITY_START')" :value="formData.DRIVER_LICENSE_VALIDITY_START" >
|
<picker mode="date" @change="changeDate($event,'DRIVER_LICENSE_VALIDITY_START')" :value="formData.DRIVER_LICENSE_VALIDITY_START" >
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
{{formData.DRIVER_LICENSE_VALIDITY_START?formData.DRIVER_LICENSE_VALIDITY_START:'请选择'}}
|
{{formData.DRIVER_LICENSE_VALIDITY_START?formData.DRIVER_LICENSE_VALIDITY_START:'请选择'}}
|
||||||
|
@ -194,7 +195,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">有效期(截止)</view>
|
<view class="title is-required">有效期(截止)</view>
|
||||||
<picker mode="date" @change="changeDate($event,'DRIVER_LICENSE_VALIDITY_END')" :value="formData.DRIVER_LICENSE_VALIDITY_END" >
|
<picker mode="date" @change="changeDate($event,'DRIVER_LICENSE_VALIDITY_END')" :value="formData.DRIVER_LICENSE_VALIDITY_END" >
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
{{formData.DRIVER_LICENSE_VALIDITY_END?formData.DRIVER_LICENSE_VALIDITY_END:'请选择'}}
|
{{formData.DRIVER_LICENSE_VALIDITY_END?formData.DRIVER_LICENSE_VALIDITY_END:'请选择'}}
|
||||||
|
@ -202,7 +203,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-textarea margin-top-xs">
|
<view class="cu-form-textarea margin-top-xs">
|
||||||
<view class="cu-form-title">签发机关</view>
|
<view class="cu-form-title is-required-cu">签发机关</view>
|
||||||
<textarea maxlength="150" v-model="formData.DRIVER_LICENSE_ORGAN" placeholder="请输入驾驶证签发机关"></textarea>
|
<textarea maxlength="150" v-model="formData.DRIVER_LICENSE_ORGAN" placeholder="请输入驾驶证签发机关"></textarea>
|
||||||
</view>
|
</view>
|
||||||
</uni-section>
|
</uni-section>
|
||||||
|
@ -210,7 +211,7 @@
|
||||||
<!-- 道路运输从业人员从业资格证 -->
|
<!-- 道路运输从业人员从业资格证 -->
|
||||||
<uni-section title="道路运输从业人员从业资格证" type="line" class="margin-top" padding>
|
<uni-section title="道路运输从业人员从业资格证" type="line" class="margin-top" padding>
|
||||||
<view class="cu-bar bg-white margin-top">
|
<view class="cu-bar bg-white margin-top">
|
||||||
<view class="action" style="font-size: 28upx; font-weight: bold; color: #000;">
|
<view class="action is-required" style="font-size: 28upx; font-weight: bold; color: #000;">
|
||||||
从业资格证
|
从业资格证
|
||||||
</view>
|
</view>
|
||||||
<view class="action">
|
<view class="action">
|
||||||
|
@ -231,11 +232,11 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">从业资格证号</view>
|
<view class="title is-required">从业资格证号</view>
|
||||||
<input v-model="formData.QUALIFICATION_CERTIFICATE_NO" placeholder="请输入从业资格证号" maxlength="18" name="input" />
|
<input v-model="formData.QUALIFICATION_CERTIFICATE_NO" placeholder="请输入从业资格证号" maxlength="18" name="input" />
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">从业资格类别</view>
|
<view class="title is-required">从业资格类别</view>
|
||||||
<zqs-select
|
<zqs-select
|
||||||
:multiple="true"
|
:multiple="true"
|
||||||
:list="dictData.QUALIFICATION_CERTIFICATE_CATEGORY.list"
|
:list="dictData.QUALIFICATION_CERTIFICATE_CATEGORY.list"
|
||||||
|
@ -250,7 +251,7 @@
|
||||||
></zqs-select>
|
></zqs-select>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">国籍</view>
|
<view class="title is-required">国籍</view>
|
||||||
<zqs-select
|
<zqs-select
|
||||||
:multiple="false"
|
:multiple="false"
|
||||||
:list="dictData.NATIONALITY.list"
|
:list="dictData.NATIONALITY.list"
|
||||||
|
@ -261,10 +262,11 @@
|
||||||
placeholder="请选择国籍"
|
placeholder="请选择国籍"
|
||||||
title="选择国籍"
|
title="选择国籍"
|
||||||
clearable
|
clearable
|
||||||
|
@search="searchSelectQualificationCertificateNationality($event, 'QUALIFICATION_CERTIFICATE_NATIONALITY')"
|
||||||
></zqs-select>
|
></zqs-select>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">初次领证日期</view>
|
<view class="title is-required">初次领证日期</view>
|
||||||
<picker mode="date" @change="changeDate($event,'QUALIFICATION_CERTIFICATE_ISSUE_DATE')" :value="formData.QUALIFICATION_CERTIFICATE_ISSUE_DATE" >
|
<picker mode="date" @change="changeDate($event,'QUALIFICATION_CERTIFICATE_ISSUE_DATE')" :value="formData.QUALIFICATION_CERTIFICATE_ISSUE_DATE" >
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
{{formData.QUALIFICATION_CERTIFICATE_ISSUE_DATE?formData.QUALIFICATION_CERTIFICATE_ISSUE_DATE:'请选择'}}
|
{{formData.QUALIFICATION_CERTIFICATE_ISSUE_DATE?formData.QUALIFICATION_CERTIFICATE_ISSUE_DATE:'请选择'}}
|
||||||
|
@ -272,7 +274,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">有效期(起始)</view>
|
<view class="title is-required">有效期(起始)</view>
|
||||||
<picker mode="date" @change="changeDate($event,'QUALIFICATION_CERTIFICATE_VALIDITY_START')" :value="formData.QUALIFICATION_CERTIFICATE_VALIDITY_START" >
|
<picker mode="date" @change="changeDate($event,'QUALIFICATION_CERTIFICATE_VALIDITY_START')" :value="formData.QUALIFICATION_CERTIFICATE_VALIDITY_START" >
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
{{formData.QUALIFICATION_CERTIFICATE_VALIDITY_START?formData.QUALIFICATION_CERTIFICATE_VALIDITY_START:'请选择'}}
|
{{formData.QUALIFICATION_CERTIFICATE_VALIDITY_START?formData.QUALIFICATION_CERTIFICATE_VALIDITY_START:'请选择'}}
|
||||||
|
@ -280,7 +282,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group margin-top-xs">
|
<view class="cu-form-group margin-top-xs">
|
||||||
<view class="title">有效期(截止)</view>
|
<view class="title is-required">有效期(截止)</view>
|
||||||
<picker mode="date" @change="changeDate($event,'QUALIFICATION_CERTIFICATE_VALIDITY_END')" :value="formData.QUALIFICATION_CERTIFICATE_VALIDITY_END" >
|
<picker mode="date" @change="changeDate($event,'QUALIFICATION_CERTIFICATE_VALIDITY_END')" :value="formData.QUALIFICATION_CERTIFICATE_VALIDITY_END" >
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
{{formData.QUALIFICATION_CERTIFICATE_VALIDITY_END?formData.QUALIFICATION_CERTIFICATE_VALIDITY_END:'请选择'}}
|
{{formData.QUALIFICATION_CERTIFICATE_VALIDITY_END?formData.QUALIFICATION_CERTIFICATE_VALIDITY_END:'请选择'}}
|
||||||
|
@ -288,7 +290,7 @@
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-textarea margin-top-xs">
|
<view class="cu-form-textarea margin-top-xs">
|
||||||
<view class="cu-form-title">签发机关</view>
|
<view class="cu-form-title is-required-cu">签发机关</view>
|
||||||
<textarea maxlength="150" v-model="formData.QUALIFICATION_CERTIFICATE_ORGAN" placeholder="请输入从业资格证签发机关"></textarea>
|
<textarea maxlength="150" v-model="formData.QUALIFICATION_CERTIFICATE_ORGAN" placeholder="请输入从业资格证签发机关"></textarea>
|
||||||
</view>
|
</view>
|
||||||
</uni-section>
|
</uni-section>
|
||||||
|
@ -373,6 +375,7 @@ export default {
|
||||||
NATION:{
|
NATION:{
|
||||||
index: -1,
|
index: -1,
|
||||||
list:[],
|
list:[],
|
||||||
|
tempList: [],
|
||||||
},
|
},
|
||||||
// 准驾车型
|
// 准驾车型
|
||||||
DRIVING_MODEL: {
|
DRIVING_MODEL: {
|
||||||
|
@ -383,6 +386,7 @@ export default {
|
||||||
NATIONALITY: {
|
NATIONALITY: {
|
||||||
index: -1,
|
index: -1,
|
||||||
list:[],
|
list:[],
|
||||||
|
tempList: [],
|
||||||
},
|
},
|
||||||
// 从业资格类别
|
// 从业资格类别
|
||||||
QUALIFICATION_CERTIFICATE_CATEGORY: {
|
QUALIFICATION_CERTIFICATE_CATEGORY: {
|
||||||
|
@ -399,6 +403,8 @@ export default {
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getDictList()
|
this.getDictList()
|
||||||
|
this.getNationality()
|
||||||
|
this.getQualificationCertificateNationality()
|
||||||
var _this = this
|
var _this = this
|
||||||
let now = new Date();
|
let now = new Date();
|
||||||
var birthEnd=now.setFullYear(now.getFullYear()-17);
|
var birthEnd=now.setFullYear(now.getFullYear()-17);
|
||||||
|
@ -429,6 +435,27 @@ export default {
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
|
async getNationality(){
|
||||||
|
// 国籍
|
||||||
|
this.dictData.NATIONALITY.list = await getLevel({DICTIONARIES_ID: '3b614b43e8814f51a3492f2fdbc9a415'});
|
||||||
|
this.dictData.NATIONALITY.tempList = JSON.parse(JSON.stringify(this.dictData.NATIONALITY.list));
|
||||||
|
},
|
||||||
|
async getQualificationCertificateNationality(){
|
||||||
|
this.dictData.QUALIFICATION_CERTIFICATE_NATIONALITY.list = await getLevel({DICTIONARIES_ID: '3b614b43e8814f51a3492f2fdbc9a415'});
|
||||||
|
this.dictData.QUALIFICATION_CERTIFICATE_NATIONALITY.tempList = JSON.parse(JSON.stringify(this.dictData.QUALIFICATION_CERTIFICATE_NATIONALITY.list));
|
||||||
|
},
|
||||||
|
searchSelectNationality(e, name) {
|
||||||
|
this.dictData.NATIONALITY.list = JSON.parse(JSON.stringify(this.dictData.NATIONALITY.tempList));
|
||||||
|
if (e) {
|
||||||
|
this.dictData.NATIONALITY.list = this.dictData[name].list.filter(item => item.NAME.indexOf(e) > -1);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
searchSelectQualificationCertificateNationality(e, name) {
|
||||||
|
this.dictData.QUALIFICATION_CERTIFICATE_NATIONALITY.list = JSON.parse(JSON.stringify(this.dictData.QUALIFICATION_CERTIFICATE_NATIONALITY.tempList));
|
||||||
|
if (e) {
|
||||||
|
this.dictData.QUALIFICATION_CERTIFICATE_NATIONALITY.list = this.dictData[name].list.filter(item => item.NAME.indexOf(e) > -1);
|
||||||
|
}
|
||||||
|
},
|
||||||
//跳转事件
|
//跳转事件
|
||||||
confirmCertificate() {
|
confirmCertificate() {
|
||||||
if (this.validateData()) {
|
if (this.validateData()) {
|
||||||
|
@ -571,18 +598,18 @@ export default {
|
||||||
},
|
},
|
||||||
validateData() {
|
validateData() {
|
||||||
// 身份证
|
// 身份证
|
||||||
if (this.fileData.idCardFront.length < 1) {
|
if (!this.formData.ID_CARD_FRONT) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
title: '请上传身份证照片(正面)',
|
title: '请上传身份证(正面)',
|
||||||
duration: 2000
|
duration: 2000
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (this.fileData.idCardBack.length < 1) {
|
if (!this.formData.ID_CARD_BACK) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
title: '请上传身份证照片(背面)',
|
title: '请上传身份证(反面)',
|
||||||
duration: 2000
|
duration: 2000
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
|
@ -619,6 +646,14 @@ export default {
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (new Date(this.formData.ID_CARD_VALIDITY_START).getTime() > new Date(this.formData.ID_CARD_VALIDITY_END).getTime()) {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '身份证有效起始时间不能超过截止时间',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if (!this.formData.ID_CARD_ADDRESS) {
|
if (!this.formData.ID_CARD_ADDRESS) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
|
@ -662,6 +697,14 @@ export default {
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (!this.formData.DRIVING_NATIONALITY) {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '请选择国籍',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if (!this.formData.DRIVER_LICENSE_ISSUE_DATE) {
|
if (!this.formData.DRIVER_LICENSE_ISSUE_DATE) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
|
@ -678,6 +721,14 @@ export default {
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (new Date(this.formData.DRIVER_LICENSE_VALIDITY_START).getTime() > new Date(this.formData.DRIVER_LICENSE_VALIDITY_END).getTime()) {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '驾驶证有效起始时间不能超过结束时间',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if (!this.formData.DRIVER_LICENSE_ORGAN) {
|
if (!this.formData.DRIVER_LICENSE_ORGAN) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
|
@ -720,6 +771,14 @@ export default {
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (!this.formData.QUALIFICATION_CERTIFICATE_NATIONALITY) {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '请选择国籍',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if (!this.formData.QUALIFICATION_CERTIFICATE_VALIDITY_START || !this.formData.QUALIFICATION_CERTIFICATE_VALIDITY_END) {
|
if (!this.formData.QUALIFICATION_CERTIFICATE_VALIDITY_START || !this.formData.QUALIFICATION_CERTIFICATE_VALIDITY_END) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
|
@ -728,6 +787,14 @@ export default {
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (new Date(this.formData.QUALIFICATION_CERTIFICATE_VALIDITY_START).getTime() > new Date(this.formData.QUALIFICATION_CERTIFICATE_VALIDITY_END).getTime()) {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '从业资格证有效起始时间不能超过结束时间',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if (!this.formData.QUALIFICATION_CERTIFICATE_ORGAN) {
|
if (!this.formData.QUALIFICATION_CERTIFICATE_ORGAN) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
|
|
Loading…
Reference in New Issue