export const credentialType = [{ id: 101, title: '身份证(含临时身份证)' }, { id: 102, title: '护照(限外籍人士)' }, { id: 103, title: '港澳居民来往内地通行证' }, { id: 104, title: '台湾居民来往大陆通行证' }, { id: 105, title: '军官证' }, { id: 106, title: '武警警察身份证' }, { id: 113, title: '澳门永久/非永久居民身份证' }, { id: 114, title: '香港永久/非永久居民身份证' }, { id: 201, title: '统一社会信用代码证书' }, { id: 202, title: '组织机构代码证' }, { id: 203, title: '营业执照' }, { id: 204, title: '事业单位法人证书' }, { id: 205, title: '社会团体法人登记证书' }, { id: 206, title: '律师事务所执业许可证' }, { id: 217, title: '公司商业登记副本(3个月内)' }, { id: 218, title: '公司营业税单M8副本' }, { id: 219, title: '公司营业税开业/更改M1副本' } ]; //获取证件类型名称 export const getCredentialType = (id=101) => { let types = credentialType.filter(item => item.id == id); console.log(types); if(types.length>0){ return types[0].title }else{ return "" } } export const credentialTypeSelect = [{ value: 101, label: '身份证(含临时身份证)' }, { value: 102, label: '护照(限外籍人士)' }, { value: 103, label: '港澳居民来往内地通行证' }, { value: 104, label: '台湾居民来往大陆通行证' }, { value: 105, label: '军官证' }, { value: 106, label: '武警警察身份证' }, { value: 113, label: '澳门永久/非永久居民身份证' }, { value: 114, label: '香港永久/非永久居民身份证' }, { value: 201, label: '统一社会信用代码证书' }, { value: 202, label: '组织机构代码证' }, { value: 203, label: '营业执照' }, { value: 204, label: '事业单位法人证书' }, { value: 205, label: '社会团体法人登记证书' }, { value: 206, label: '律师事务所执业许可证' }, { value: 217, label: '公司商业登记副本(3个月内)' }, { value: 218, label: '公司营业税单M8副本' }, { value: 219, label: '公司营业税开业/更改M1副本' } ];