mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 03:26:45 +08:00
GFRS-2561【前端】入司申请页面中增加选择职级的功能-- 提交人:张齐
This commit is contained in:
@@ -10,6 +10,17 @@
|
||||
<p style='border-bottom: 1px solid #ebedf0' class='fs15 fwb pl10 pv12'>个人信息</p>
|
||||
<van-field v-model='userInfo.name' label='姓名' name='姓名' placeholder='请输入' v-validate="'required|name'"
|
||||
clearable />
|
||||
<van-field
|
||||
:value="userInfo.applGrade | idToText('applGrade')"
|
||||
v-validate="'required'"
|
||||
readonly
|
||||
label='职级'
|
||||
name='职级'
|
||||
right-icon='arrow'
|
||||
placeholder='请选择职级'
|
||||
@click="toSelect('13')"
|
||||
/>
|
||||
|
||||
<van-field
|
||||
:value="userInfo.idType | idToText('idType')"
|
||||
v-validate="'required'"
|
||||
@@ -120,7 +131,7 @@ export default {
|
||||
idType: '1', //证件类型
|
||||
idNo: '', //证件号码
|
||||
mobile: '',//手机号
|
||||
agentGrade: ''
|
||||
applGrade: '' // 职级
|
||||
},
|
||||
areaList: areaList,
|
||||
token: '',
|
||||
@@ -166,7 +177,6 @@ export default {
|
||||
console.log('response', response);
|
||||
if (response.result == '0') {
|
||||
self.recommender = response;
|
||||
this.userInfo.agentGrade = response.agentGrade;
|
||||
} else {
|
||||
this.$toast.fail(response.resultMessage);
|
||||
}
|
||||
@@ -291,6 +301,8 @@ export default {
|
||||
if (valueKey) this.valueKey = valueKey;
|
||||
if (pickerType == '1') {
|
||||
this.columns = DataDictionary.idType;
|
||||
} else if (pickerType == '13') {
|
||||
this.columns = DataDictionary.applGrade;
|
||||
}
|
||||
},
|
||||
// //确认选择字段
|
||||
@@ -298,6 +310,8 @@ export default {
|
||||
this.popupShow = false;
|
||||
if (this.pickerType == '1') {
|
||||
this.userInfo.idType = value.id;
|
||||
} else if (this.pickerType == '13') {
|
||||
this.userInfo.applGrade = value.id;
|
||||
}
|
||||
},
|
||||
getRelatedData(val) {
|
||||
|
||||
Reference in New Issue
Block a user