mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 02:16:44 +08:00
fix: 入司优化
1. 担保人与家属关系回显处理
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
<van-cell title="出生日期" :value="item.birthday | blankFilter" />
|
||||
<van-cell title="证件类型" :value="item.idType | idToText('idType') | blankFilter" />
|
||||
<van-cell title="证件号码" :value="item.idNo | blankFilter" />
|
||||
<van-cell title="关系" :value="item.relationType | guarantRelationFilter" />
|
||||
<van-cell title="关系" :value="item.relationType | familyRelationFilter" />
|
||||
<van-cell title="联系电话" :value="item.mobile | blankFilter" />
|
||||
</van-cell-group>
|
||||
</div>
|
||||
@@ -329,6 +329,13 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
familyRelationFilter(val) {
|
||||
for (let item of dictionary.relationType) {
|
||||
if (item.id === val) {
|
||||
return item.text
|
||||
}
|
||||
}
|
||||
},
|
||||
relationFilter(val) {
|
||||
for (let item of dictionary.classification) {
|
||||
if (item.id === val) {
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
<van-cell title="出生日期" :value="item.birthday | blankFilter" />
|
||||
<van-cell title="证件类型" :value="item.idType | idToText('idType') | blankFilter" />
|
||||
<van-cell title="证件号码" :value="item.idNo | blankFilter" />
|
||||
<van-cell title="关系" :value="item.relationType | guarantRelationFilter" />
|
||||
<van-cell title="关系" :value="item.relationType | familyRelationFilter" />
|
||||
<van-cell title="联系电话" :value="item.mobile | blankFilter" />
|
||||
</van-cell-group>
|
||||
<p style="border-bottom: 1px solid #ebedf0" class="fs15 fwb pl10 pv12">审批信息</p>
|
||||
@@ -340,6 +340,13 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
familyRelationFilter(val) {
|
||||
for (let item of dictionary.relationType) {
|
||||
if (item.id === val) {
|
||||
return item.text
|
||||
}
|
||||
}
|
||||
},
|
||||
relationFilter(val) {
|
||||
for (let item of dictionary.classification) {
|
||||
if (item.id === val) {
|
||||
|
||||
Reference in New Issue
Block a user