Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

credentialType.js 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. export const credentialType = [{
  2. id: 101,
  3. title: '身份证(含临时身份证)'
  4. },
  5. {
  6. id: 102,
  7. title: '护照(限外籍人士)'
  8. },
  9. {
  10. id: 103,
  11. title: '港澳居民来往内地通行证'
  12. },
  13. {
  14. id: 104,
  15. title: '台湾居民来往大陆通行证'
  16. },
  17. {
  18. id: 105,
  19. title: '军官证'
  20. },
  21. {
  22. id: 106,
  23. title: '武警警察身份证'
  24. },
  25. {
  26. id: 113,
  27. title: '澳门永久/非永久居民身份证'
  28. },
  29. {
  30. id: 114,
  31. title: '香港永久/非永久居民身份证'
  32. },
  33. {
  34. id: 201,
  35. title: '统一社会信用代码证书'
  36. },
  37. {
  38. id: 202,
  39. title: '组织机构代码证'
  40. },
  41. {
  42. id: 203,
  43. title: '营业执照'
  44. },
  45. {
  46. id: 204,
  47. title: '事业单位法人证书'
  48. },
  49. {
  50. id: 205,
  51. title: '社会团体法人登记证书'
  52. },
  53. {
  54. id: 206,
  55. title: '律师事务所执业许可证'
  56. },
  57. {
  58. id: 217,
  59. title: '公司商业登记副本(3个月内)'
  60. },
  61. {
  62. id: 218,
  63. title: '公司营业税单M8副本'
  64. },
  65. {
  66. id: 219,
  67. title: '公司营业税开业/更改M1副本'
  68. }
  69. ];
  70. //获取证件类型名称
  71. export const getCredentialType = (id=101) => {
  72. let types = credentialType.filter(item => item.id == id);
  73. console.log(types);
  74. if(types.length>0){
  75. return types[0].title
  76. }else{
  77. return ""
  78. }
  79. }