mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-23 20:12:53 +08:00
[NEW]【自助入司流程优化】家庭关系增加选项“无”,因后端暂时改不了,注释入司家庭关系字典“无”
This commit is contained in:
@@ -1455,6 +1455,7 @@ export default {
|
||||
{ id: 'AD', text: '营业总监' }
|
||||
],
|
||||
relationType: [{ id: '0', text: '配偶' }, { id: '1', text: '子女' }, { id: '2', text: '父母' }],
|
||||
// relationType: [{ id: '0', text: '配偶' }, { id: '1', text: '子女' }, { id: '2', text: '父母' }, { id: '3', text: '无' }],
|
||||
guarantRelationType: [{ id: '0', text: '亲属' }, { id: '1', text: '朋友' }, { id: '2', text: '同事' }, { id: '3', text: '其他' }],
|
||||
classification: [{ id: '0', text: '司内' }, { id: '1', text: '司外' }],
|
||||
//入司国籍/地区
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
@click="toSelect('1', i)"
|
||||
required
|
||||
/>
|
||||
<div v-if="userInfo[i].relationType != '3'">
|
||||
<van-field label="姓名" type="text" name="姓名" placeholder="请输入" v-validate="'required|name'" clearable v-model="item.name" required />
|
||||
<select-radio :radios="sexRadio" label="性别" name="性别" v-validate="'required'" required :value.sync="item.sex"></select-radio>
|
||||
<van-field
|
||||
@@ -63,7 +64,8 @@
|
||||
clearable
|
||||
/>
|
||||
</div>
|
||||
<div class="add-btn mt20 pb20 text-center p15 c-gray-base" @click="add">+ 新增</div>
|
||||
</div>
|
||||
<div v-if="userInfo[0].relationType != '3'" class="add-btn mt20 pb20 text-center p15 c-gray-base" @click="add">+ 新增</div>
|
||||
<!-- end -->
|
||||
<div class="flex justify-content-s bottom-btn bg-white">
|
||||
<van-button class=" bottom0 left0" square plain type="danger" v-no-more-click="1000" @click="goBack" size="large">上一步</van-button>
|
||||
@@ -214,6 +216,10 @@ export default {
|
||||
this.popupShow = false
|
||||
if (this.pickerType == '1') {
|
||||
this.userInfo[this.enterIndex].relationType = value.id
|
||||
if (value.id == '3') {
|
||||
//如果家庭关系选择无,则页面其他信息不需要填不需要显示
|
||||
this.userInfo[0].sex = ''
|
||||
}
|
||||
// this.$forceUpdate()
|
||||
}
|
||||
if (this.pickerType == '2') {
|
||||
|
||||
Reference in New Issue
Block a user