importMapping.js 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. // 注释是表名
  2. // achievement
  3. const achievement = [
  4. { index: 1, field: 'name', zh: '名称' },
  5. { index: 2, field: 'industry', zh: '所属产业' },
  6. { index: 3, field: 'patent', zh: '专利号' },
  7. { index: 4, field: 'name', zh: '名称' },
  8. { index: 5, field: 'attribute', type: 'dict', code: 'attribute', zh: '属性' },
  9. { index: 6, field: 'sell', type: 'dict', code: 'sell', zh: '出让方式' },
  10. { index: 7, field: 'mature', type: 'dict', code: 'mature', zh: '成熟度' },
  11. { index: 8, field: 'field', type: 'dict', code: 'field', zh: '行业领域' },
  12. { index: 9, field: 'technology', type: 'dict', code: 'technology', zh: '技术分类' },
  13. { index: 10, field: 'area', type: 'area', zh: '地区' },
  14. { index: 10, field: 'money', zh: '参考价格' },
  15. { index: 11, field: 'time', type: 'date', zh: '发布时间' },
  16. { index: 12, field: 'source', zh: '项目来源' },
  17. { index: 13, field: 'person', zh: '负责人' },
  18. { index: 14, field: 'tel', zh: '联系电话' },
  19. { index: 15, field: 'brief', zh: '简介' },
  20. ];
  21. // project
  22. const project = [
  23. { index: 1, field: 'name', zh: '名称' },
  24. { index: 2, field: 'industry', zh: '所属产业' },
  25. { index: 3, field: 'time', type: 'date', zh: '发布时间' },
  26. { index: 4, field: 'type', type: 'dict', code: 'industry', zh: '行业分类' },
  27. { index: 5, field: 'maturity', type: 'dict', code: 'projectMaturity', zh: '成熟度' },
  28. { index: 6, field: 'skill', type: 'dict', code: 'technology', zh: '技术类型' },
  29. { index: 7, field: 'field', type: 'dict', code: 'field', zh: '行业领域' },
  30. { index: 8, field: 'cooperate', type: 'dict', code: 'projectType', zh: '合作类型' },
  31. { index: 9, field: 'area', type: 'area', zh: '地区' },
  32. { index: 10, field: 'main', zh: '项目主体' },
  33. { index: 11, field: 'progress', zh: '项目进展' },
  34. { index: 12, field: 'main', zh: '项目主体' },
  35. { index: 13, field: 'track_unit', zh: '跟踪支持单位' },
  36. { index: 14, field: 'source', zh: '项目来源' },
  37. { index: 15, field: 'brief', zh: '简介' },
  38. ];
  39. // demand
  40. const demand = [
  41. { index: 1, field: 'name', zh: '名称' },
  42. { index: 2, field: 'industry', zh: '所属产业' },
  43. { index: 3, field: 'start_time', type: 'date', zh: '开始时间' },
  44. { index: 4, field: 'end_time', type: 'date', zh: '结束时间' },
  45. { index: 5, field: 'money', type: 'date', zh: '价格' },
  46. { index: 6, field: 'type', type: 'dict', code: 'type', zh: '类型' },
  47. { index: 7, field: 'field', type: 'dict', code: 'field', zh: '行业领域' },
  48. { index: 8, field: 'urgent', type: 'dict', code: 'urgent', zh: '需求紧急度' },
  49. { index: 9, field: 'method', type: 'dict', code: 'method', zh: '合作方式' },
  50. { index: 10, field: 'area', type: 'area', zh: '地区' },
  51. { index: 11, field: 'company', zh: '所属企业' },
  52. { index: 12, field: 'company_brief', zh: '企业简况' },
  53. { index: 13, field: 'contacts', zh: '联系人' },
  54. { index: 14, field: 'tel', zh: '联系电话' },
  55. { index: 15, field: 'year', zh: '年份' },
  56. { index: 16, field: 'month', zh: '月份' },
  57. { index: 17, field: 'tec_name', zh: '技术需求名称' },
  58. { index: 18, field: 'question', zh: '待解决问题' },
  59. { index: 19, field: 'brief', zh: '简介' },
  60. ];
  61. // supply
  62. const supply = [
  63. { index: 1, field: 'name', zh: '名称' },
  64. { index: 2, field: 'industry', zh: '所属产业' },
  65. { index: 3, field: 'start_time', type: 'date', zh: '开始时间' },
  66. { index: 4, field: 'end_time', type: 'date', zh: '结束时间' },
  67. { index: 5, field: 'money', type: 'date', zh: '价格' },
  68. { index: 6, field: 'type', type: 'dict', code: 'type', zh: '类型' },
  69. { index: 7, field: 'field', type: 'dict', code: 'field', zh: '行业领域' },
  70. { index: 8, field: 'urgent', type: 'dict', code: 'urgent', zh: '需求紧急度' },
  71. { index: 9, field: 'method', type: 'dict', code: 'method', zh: '合作方式' },
  72. { index: 10, field: 'area', type: 'area', zh: '地区' },
  73. { index: 11, field: 'source', zh: '项目来源' },
  74. { index: 19, field: 'brief', zh: '简介' },
  75. ];
  76. // company
  77. const company = [
  78. { index: 1, field: 'name', zh: '名称' },
  79. { index: 2, field: 'industry', zh: '所属产业' },
  80. { index: 3, field: 'code', zh: '企业统一信用代码名称' },
  81. { index: 3, field: 'representative', zh: '法定代表人' },
  82. { index: 3, field: 'email', zh: '电子邮箱' },
  83. { index: 3, field: 'number', zh: '员工人数' },
  84. { index: 3, field: 'register', zh: '注册资本' },
  85. { index: 3, field: 'create_time', type: 'date', zh: '成立时间' },
  86. { index: 6, field: 'pattern', type: 'dict', code: 'pattern', zh: '企业类型' },
  87. { index: 7, field: 'scale', type: 'dict', code: 'scale', zh: '企业规模' },
  88. { index: 7, field: 'type', type: 'dict', code: 'type', zh: '所属行业' },
  89. { index: 10, field: 'area', type: 'area', zh: '地区' },
  90. { index: 11, field: 'phone', zh: '联系电话' },
  91. { index: 12, field: 'address', zh: '地址' },
  92. { index: 13, field: 'products', zh: '产品' },
  93. { index: 19, field: 'brief', zh: '简介' },
  94. ];
  95. module.exports = {
  96. achievement,
  97. project,
  98. demand,
  99. supply,
  100. company,
  101. };