project_consts.js 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. CONTRACTOR_LIST:'contractor_list',
  27. BID_EVALUATION_LIST:'bid_evaluation_list'
  28. };
  29. let projectConstList = [
  30. 'bills',
  31. 'ration',
  32. 'GLJ',
  33. 'ration_glj',
  34. 'ration_coe',
  35. 'ration_ass',
  36. 'quantity_detail',
  37. 'projectGLJ',
  38. 'GLJList',
  39. 'unitPriceFile',
  40. 'properties',
  41. // 'volume_price',
  42. 'feeRate',
  43. 'labour_coe',
  44. 'calc_program'
  45. ];
  46. let summaryConstList = [
  47. `Construct`,
  48. `ConstructDetail`,
  49. `Segment`,
  50. `SegmentDetail`
  51. ];
  52. let projectFieldConstList = [
  53. `ProjectInfoFields`, //工程信息指标
  54. `ProjectFeatureFields`, //工程特征指标
  55. `ProjectCostFields`, //工程造价指标
  56. `ProjectEcoFields`, //工程(主要)经济指标
  57. `ProjectLabMaterialFields`, //主要工料指标
  58. `ProjectQtyFields` //主要工程量指标
  59. ];
  60. let commonConst = {
  61. UT_UPDATE: 'ut_update',
  62. UT_CREATE: 'ut_create',
  63. UT_DELETE: 'ut_delete'
  64. };
  65. const gljKeyArray =['code','name','specs','unit','type'];
  66. const rationKeyArray =['code','name','specs','unit','subType'];
  67. const rationType = {
  68. ration: 1,
  69. volumePrice: 2,
  70. gljRation: 3,
  71. install:4,
  72. overHeight: 5, // 超高子目
  73. itemIncrease: 6//子目增加
  74. };
  75. module.exports = {
  76. projectConst: projectConst,
  77. commonConst: commonConst,
  78. projectConstList: projectConstList,
  79. gljKeyArray:gljKeyArray,
  80. rationKeyArray:rationKeyArray,
  81. rationType:rationType,
  82. summaryConstList: summaryConstList,
  83. projectFieldConstList: projectFieldConstList
  84. };