From d5b31230433e540228ea3b2c7658415f3315945b Mon Sep 17 00:00:00 2001 From: "pang.lizong" Date: Thu, 19 Sep 2019 18:46:06 +0800 Subject: [PATCH] =?UTF-8?q?fixed:=E4=BB=A3=E7=90=86=E4=BA=BA=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E4=BF=A1=E6=81=AF=E8=AF=81=E4=BB=B6=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/utils/data-dictionary.js | 11 +++++++++++ src/views/ebiz/my/UserInfo.vue | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/assets/js/utils/data-dictionary.js b/src/assets/js/utils/data-dictionary.js index c08ceb10d..8b3b5f7bf 100644 --- a/src/assets/js/utils/data-dictionary.js +++ b/src/assets/js/utils/data-dictionary.js @@ -57,6 +57,17 @@ export default { { id: 6, text: '台湾居民通行证' }, { id: 7, text: '其他' } ], + //代理人证件类型 + agentIdType: [ + { id: 0, text: '居民身份证' }, + { id: 1, text: '户口本' }, + { id: 2, text: '出生证' }, + { id: 3, text: '外国人永久居留身份证' }, + { id: 4, text: '外国人护照' }, + { id: 5, text: '港澳居民来往内地通行证' }, + { id: 6, text: '台湾居民来往大陆通行证' }, + { id: 7, text: '其他' } + ], //出生证明 birthType: [ { id: 1, text: '身份证' }, diff --git a/src/views/ebiz/my/UserInfo.vue b/src/views/ebiz/my/UserInfo.vue index 419f3432b..2ff5825c1 100644 --- a/src/views/ebiz/my/UserInfo.vue +++ b/src/views/ebiz/my/UserInfo.vue @@ -72,7 +72,7 @@ export default { if (res.result == 0) { this.userInfo = res document.title = this.userInfo.name + '(' + this.userInfo.jobNo + ')' - obj.idType.some(item => { + obj.agentIdType.some(item => { if (item.id == res.cardType) { res.cardType = item.text }