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 }