project_consts.js 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. DIVIDE_SETTING:'divide_setting'
  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 commonConst = {
  53. UT_UPDATE: 'ut_update',
  54. UT_CREATE: 'ut_create',
  55. UT_DELETE: 'ut_delete'
  56. };
  57. const gljKeyArray =['code','name','specs','unit','type'];
  58. const rationKeyArray =['code','name','specs','unit','subType'];
  59. const rationType = {
  60. ration: 1,
  61. volumePrice: 2,
  62. gljRation: 3,
  63. install:4
  64. };
  65. module.exports = {projectConst: projectConst, commonConst: commonConst, projectConstList: projectConstList,gljKeyArray:gljKeyArray,rationKeyArray:rationKeyArray,rationType:rationType, summaryConstList: summaryConstList};