project_consts.js 2.1 KB

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