project_consts.js 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. QUANTITY_DETAIL:'quantity_detail',
  14. PROJECTGLJ: 'projectGLJ',
  15. GLJLIST: 'GLJList',
  16. UNITPRICEFILE: 'unitPriceFile',
  17. PROPERTIES: 'properties',
  18. // VOLUMEPRICE: 'volume_price',
  19. FEERATE:'feeRate',
  20. LABOUR_COE:'labour_coe',
  21. CALC_PROGRAM:'calc_program',
  22. INSTALLATION_FEE:'installation_fee'
  23. };
  24. let projectConstList = [
  25. 'bills',
  26. 'ration',
  27. 'GLJ',
  28. 'ration_glj',
  29. 'ration_coe',
  30. 'ration_ass',
  31. 'quantity_detail',
  32. 'projectGLJ',
  33. 'GLJList',
  34. 'unitPriceFile',
  35. 'properties',
  36. // 'volume_price',
  37. 'feeRate',
  38. 'labour_coe',
  39. 'calc_program'
  40. ];
  41. let commonConst = {
  42. UT_UPDATE: 'ut_update',
  43. UT_CREATE: 'ut_create',
  44. UT_DELETE: 'ut_delete'
  45. };
  46. const gljKeyArray =['code','name','specs','unit','type'];
  47. const rationKeyArray =['code','name','specs','unit','subType'];
  48. const rationType = {
  49. ration: 1,
  50. volumePrice: 2,
  51. gljRation: 3,
  52. install:4
  53. };
  54. module.exports = {projectConst: projectConst, commonConst: commonConst, projectConstList: projectConstList,gljKeyArray:gljKeyArray,rationKeyArray:rationKeyArray,rationType:rationType};