mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 20:16:44 +08:00
【销管二次优化需求】 测试反馈三条优化
This commit is contained in:
@@ -61,6 +61,7 @@
|
|||||||
:required='!!item.requiredType'
|
:required='!!item.requiredType'
|
||||||
:disabled='!item.requiredType'
|
:disabled='!item.requiredType'
|
||||||
maxlength='18'
|
maxlength='18'
|
||||||
|
@blur="getRelatedData(item, '1')"
|
||||||
/>
|
/>
|
||||||
<FieldDatePicter
|
<FieldDatePicter
|
||||||
label='出生日期'
|
label='出生日期'
|
||||||
@@ -120,6 +121,7 @@ import RsTop from '@/components/ebiz/agentEenter/RsTop';
|
|||||||
import idNoCheck from '@/assets/js/utils/idNoCheck';
|
import idNoCheck from '@/assets/js/utils/idNoCheck';
|
||||||
import beforeDate from '@/assets/js/utils/getBeforeDate.js';
|
import beforeDate from '@/assets/js/utils/getBeforeDate.js';
|
||||||
import { saveOrUpdateInfo, agentAll } from '@/api/ebiz/agentEenter/agentEenter';
|
import { saveOrUpdateInfo, agentAll } from '@/api/ebiz/agentEenter/agentEenter';
|
||||||
|
import {idToData} from "../cardList/js/verification";
|
||||||
// 是否存在亲属关系的枚举值
|
// 是否存在亲属关系的枚举值
|
||||||
const immediateFamilyEnum = {
|
const immediateFamilyEnum = {
|
||||||
existence: 1, // 存在亲属关系
|
existence: 1, // 存在亲属关系
|
||||||
@@ -488,6 +490,19 @@ export default {
|
|||||||
mobile: '', // 联系电话
|
mobile: '', // 联系电话
|
||||||
requiredType: immediateFamilyEnum.existence // 是否必填
|
requiredType: immediateFamilyEnum.existence // 是否必填
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
getRelatedData(val, ind) {
|
||||||
|
if (ind == '1') {
|
||||||
|
if (val.idType != '1') {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
//如果证件校验不通过,恢复默认值
|
||||||
|
if (idToData(val.idNo).text) {
|
||||||
|
//;[val.idNo, val.birthday] = ['', '']
|
||||||
|
return this.$toast(idToData(val.idNo).text)
|
||||||
|
}
|
||||||
|
val.birthday = idToData(val.idNo).birthday
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -209,11 +209,11 @@
|
|||||||
placeholder='请选择'
|
placeholder='请选择'
|
||||||
@click="toSelect('15')"
|
@click="toSelect('15')"
|
||||||
/>
|
/>
|
||||||
|
<!-- @click="toSelect('13')"-->
|
||||||
<van-field
|
<van-field
|
||||||
:value="userInfo.applGrade | idToText('applGrade')"
|
:value="userInfo.applGrade | idToText('applGrade')"
|
||||||
right-icon='arrow'
|
right-icon='arrow'
|
||||||
placeholder='请选择'
|
placeholder='请选择'
|
||||||
@click="toSelect('13')"
|
|
||||||
label='拟聘职级'
|
label='拟聘职级'
|
||||||
name='拟聘职级'
|
name='拟聘职级'
|
||||||
readonly
|
readonly
|
||||||
|
|||||||
@@ -65,6 +65,7 @@
|
|||||||
</van-cell-group>
|
</van-cell-group>
|
||||||
<p style="border-bottom: 1px solid #ebedf0" class="fs15 fwb pl10 pv12">家属信息</p>
|
<p style="border-bottom: 1px solid #ebedf0" class="fs15 fwb pl10 pv12">家属信息</p>
|
||||||
<van-cell-group v-for="item in relationList" :key="item.id" class="fs15">
|
<van-cell-group v-for="item in relationList" :key="item.id" class="fs15">
|
||||||
|
<van-cell v-if="item.birthday!=''">
|
||||||
<van-cell title="姓名" :value="item.name | blankFilter" />
|
<van-cell title="姓名" :value="item.name | blankFilter" />
|
||||||
<van-cell title="性别" :value="item.sex | genderFilter" />
|
<van-cell title="性别" :value="item.sex | genderFilter" />
|
||||||
<van-cell title="出生日期" :value="item.birthday | blankFilter" />
|
<van-cell title="出生日期" :value="item.birthday | blankFilter" />
|
||||||
@@ -72,6 +73,7 @@
|
|||||||
<van-cell title="证件号码" :value="item.idNo | blankFilter" />
|
<van-cell title="证件号码" :value="item.idNo | blankFilter" />
|
||||||
<van-cell title="关系" :value="item.relationType | familyRelationFilter" />
|
<van-cell title="关系" :value="item.relationType | familyRelationFilter" />
|
||||||
<van-cell title="联系电话" :value="item.mobile | blankFilter" />
|
<van-cell title="联系电话" :value="item.mobile | blankFilter" />
|
||||||
|
</van-cell>
|
||||||
</van-cell-group>
|
</van-cell-group>
|
||||||
</div>
|
</div>
|
||||||
<div class="imgInfo bg-white" v-show="active === 1">
|
<div class="imgInfo bg-white" v-show="active === 1">
|
||||||
|
|||||||
@@ -65,7 +65,8 @@
|
|||||||
<van-cell title="担保人类别" :value="item.type | relationFilter" />
|
<van-cell title="担保人类别" :value="item.type | relationFilter" />
|
||||||
</van-cell-group>
|
</van-cell-group>
|
||||||
<p style="border-bottom: 1px solid #ebedf0" class="fs15 fwb pl10 pv12">家属信息</p>
|
<p style="border-bottom: 1px solid #ebedf0" class="fs15 fwb pl10 pv12">家属信息</p>
|
||||||
<van-cell-group v-for="item in relationList" :key="item.id" class="fs15">
|
<van-cell-group v-for="item in relationList" :key="item.id" class="fs15">
|
||||||
|
<van-cell v-if="item.birthday!=''">
|
||||||
<van-cell title="姓名" :value="item.name | blankFilter" />
|
<van-cell title="姓名" :value="item.name | blankFilter" />
|
||||||
<van-cell title="性别" :value="item.sex | genderFilter" />
|
<van-cell title="性别" :value="item.sex | genderFilter" />
|
||||||
<van-cell title="出生日期" :value="item.birthday | blankFilter" />
|
<van-cell title="出生日期" :value="item.birthday | blankFilter" />
|
||||||
@@ -73,6 +74,7 @@
|
|||||||
<van-cell title="证件号码" :value="item.idNo | blankFilter" />
|
<van-cell title="证件号码" :value="item.idNo | blankFilter" />
|
||||||
<van-cell title="关系" :value="item.relationType | familyRelationFilter" />
|
<van-cell title="关系" :value="item.relationType | familyRelationFilter" />
|
||||||
<van-cell title="联系电话" :value="item.mobile | blankFilter" />
|
<van-cell title="联系电话" :value="item.mobile | blankFilter" />
|
||||||
|
</van-cell>
|
||||||
</van-cell-group>
|
</van-cell-group>
|
||||||
<p style="border-bottom: 1px solid #ebedf0" class="fs15 fwb pl10 pv12">审批信息</p>
|
<p style="border-bottom: 1px solid #ebedf0" class="fs15 fwb pl10 pv12">审批信息</p>
|
||||||
<van-cell-group v-for="item in approvalInfo" :key="item.examineApproveName" class="fs15">
|
<van-cell-group v-for="item in approvalInfo" :key="item.examineApproveName" class="fs15">
|
||||||
|
|||||||
Reference in New Issue
Block a user