dataFormat.js 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. export const regTypeOptions = [
  2. { dictLabel: '有限责任公司', dictValue: '1'},
  3. { dictLabel: '股份有限公司', dictValue: '2'},
  4. { dictLabel: '外资投资企业', dictValue: '3'},
  5. { dictLabel: '国企', dictValue: '4'},
  6. { dictLabel: '独资企业', dictValue: '5'},
  7. { dictLabel: '个体工商户', dictValue: '6'},
  8. { dictLabel: '联营企业', dictValue: '7'},
  9. { dictLabel: '集团所有制', dictValue: '8'},
  10. { dictLabel: '有限合伙', dictValue: '9'},
  11. { dictLabel: '普通合伙', dictValue: '10'}
  12. ]
  13. export const mainProductsOptions = [
  14. { dictLabel: '电子信息', dictValue: '1'},
  15. { dictLabel: '生物与新医药', dictValue: '2'},
  16. { dictLabel: '航空航天', dictValue: '3'},
  17. { dictLabel: '新能源及节能', dictValue: '4'},
  18. { dictLabel: '新材料', dictValue: '5'},
  19. { dictLabel: '先进制造', dictValue: '6'},
  20. { dictLabel: '现代农业', dictValue: '7'},
  21. { dictLabel: '高技术服务', dictValue: '8'},
  22. { dictLabel: '资源与环境', dictValue: '9'},
  23. { dictLabel: '高新技术改造传统产业', dictValue: '10'},
  24. { dictLabel: '其他', dictValue: '11'}
  25. ]
  26. export const techScopeOptions = [
  27. { dictLabel: '电子信息', dictValue: '1'},
  28. { dictLabel: '生物与新医药', dictValue: '2'},
  29. { dictLabel: '航空航天', dictValue: '3'},
  30. { dictLabel: '新材料', dictValue: '4'},
  31. { dictLabel: '高新技术服务', dictValue: '5'},
  32. { dictLabel: '新能源及节能', dictValue: '6'},
  33. { dictLabel: '资源与环境', dictValue: '7'},
  34. { dictLabel: '先进制造与自动化', dictValue: '8'},
  35. { dictLabel: '其他', dictValue: '9'},
  36. ]
  37. export const userListOptions = [
  38. { dictLabel: '技术员', dictValue: 'ENT_TECH'},
  39. { dictLabel: '技术负责人', dictValue: 'ENT_ADMIN_TECH'},
  40. { dictLabel: '财务员', dictValue: 'ENT_FIN'},
  41. { dictLabel: '财务负责人', dictValue: 'ENT_ADMIN_FIN'}
  42. ]
  43. export const userAllListOptions = [
  44. { dictLabel: '企业管理员', dictValue: 'ENT_ADMIN'},
  45. { dictLabel: '技术员', dictValue: 'ENT_TECH'},
  46. { dictLabel: '技术负责人', dictValue: 'ENT_ADMIN_TECH'},
  47. { dictLabel: '财务员', dictValue: 'ENT_FIN'},
  48. { dictLabel: '财务负责人', dictValue: 'ENT_ADMIN_FIN'}
  49. ]
  50. /**
  51. * 服务状态 1:待审核 2:服务中 3:已过期 4:冻结
  52. */
  53. export const entStateOptions = [
  54. { dictLabel: '待审核', dictValue: '1'},
  55. { dictLabel: '服务中', dictValue: '2'},
  56. { dictLabel: '已过期', dictValue: '3'},
  57. {dictLabel: '冻结',dictValue: '4'}
  58. ]
  59. export const yesOrNoOptions = [
  60. { dictLabel: '是', dictValue: 1},
  61. { dictLabel: '否', dictValue: 0}
  62. ]
  63. /**
  64. *
  65. * 审核状态 1:待审核 2:通过 3:驳回
  66. */
  67. export const authStateOptions =[
  68. { dictLabel: '待提交', dictValue: '1'},
  69. { dictLabel: '待审核', dictValue: '2'},
  70. { dictLabel: '审核通过', dictValue: '3'},
  71. { dictLabel: '审核拒绝', dictValue: '4'}
  72. ]
  73. export const dutyAreaOptions =[
  74. { dictLabel: '省级', dictValue: 1},
  75. { dictLabel: '市级', dictValue: 2},
  76. { dictLabel: '区级', dictValue: 3}
  77. ]
  78. /**
  79. * 申报状态
  80. */
  81. export const reportStateOptions = [
  82. { dictLabel: '未申报', dictValue: 1},
  83. { dictLabel: '已申报', dictValue: 2},
  84. { dictLabel: '撤回', dictValue: 3}
  85. ]
  86. export function getLabel(list, val) {
  87. for (let i = 0; i < list.length; i++) {
  88. if (val == list[i].dictValue) {
  89. return list[i].dictLabel
  90. }
  91. }
  92. }