project_consts.js 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /**
  2. * Created by jimiz on 2017/4/18.
  3. */
  4. let projectConst = {
  5. PROJECT: 'project',
  6. BILLS: 'bills',
  7. RATION: 'ration',
  8. GLJ: 'GLJ',
  9. RATION_GLJ:'ration_glj',
  10. RATION_COE:'ration_coe',
  11. RATION_ASS:'ration_ass',
  12. RATION_INSTALLATION:'ration_installation',
  13. RATION_TEMPLATE:'ration_template',
  14. QUANTITY_DETAIL:'quantity_detail',
  15. PROJECTGLJ: 'projectGLJ',
  16. GLJLIST: 'GLJList',
  17. UNITPRICEFILE: 'unitPriceFile',
  18. PROPERTIES: 'properties',
  19. // VOLUMEPRICE: 'volume_price',
  20. FEERATE:'feeRate',
  21. LABOUR_COE:'labour_coe',
  22. CALC_PROGRAM:'calc_program',
  23. INSTALLATION_FEE:'installation_fee',
  24. PROJECT_INFO: 'project_info',
  25. EVALUATE_LIST:'evaluate_list'
  26. };
  27. let projectConstList = [
  28. 'bills',
  29. 'ration',
  30. 'GLJ',
  31. 'ration_glj',
  32. 'ration_coe',
  33. 'ration_ass',
  34. 'quantity_detail',
  35. 'projectGLJ',
  36. 'GLJList',
  37. 'unitPriceFile',
  38. 'properties',
  39. // 'volume_price',
  40. 'feeRate',
  41. 'labour_coe',
  42. 'calc_program'
  43. ];
  44. let summaryConstList = [
  45. `Construct`,
  46. `ConstructDetail`,
  47. `Segment`,
  48. `SegmentDetail`
  49. ];
  50. let projectFieldConstList = [
  51. `ProjectInfoFields`, //工程信息指标
  52. `ProjectFeatureFields`, //工程特征指标
  53. `ProjectCostFields`, //工程造价指标
  54. `ProjectEcoFields`, //工程(主要)经济指标
  55. `ProjectLabMaterialFields`, //主要工料指标
  56. `ProjectQtyFields` //主要工程量指标
  57. ];
  58. let commonConst = {
  59. UT_UPDATE: 'ut_update',
  60. UT_CREATE: 'ut_create',
  61. UT_DELETE: 'ut_delete'
  62. };
  63. const gljKeyArray =['code','name','specs','unit','type'];
  64. const rationKeyArray =['code','name','specs','unit','subType'];
  65. const rationType = {
  66. ration: 1,
  67. volumePrice: 2,
  68. gljRation: 3,
  69. install:4
  70. };
  71. module.exports = {
  72. projectConst: projectConst,
  73. commonConst: commonConst,
  74. projectConstList: projectConstList,
  75. gljKeyArray:gljKeyArray,
  76. rationKeyArray:rationKeyArray,
  77. rationType:rationType,
  78. summaryConstList: summaryConstList,
  79. projectFieldConstList: projectFieldConstList
  80. };