project_consts.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /**
  2. * Created by jimiz on 2017/4/18.
  3. */
  4. let projectConst = {
  5. BILLS: 'bills',
  6. RATION: 'ration',
  7. GLJ: 'GLJ',
  8. RATION_GLJ:'ration_glj',
  9. RATION_COE:'ration_coe',
  10. RATION_ASS:'ration_ass',
  11. RATION_INSTALLATION:'ration_installation',
  12. QUANTITY_DETAIL:'quantity_detail',
  13. PROJECTGLJ: 'projectGLJ',
  14. GLJLIST: 'GLJList',
  15. UNITPRICEFILE: 'unitPriceFile',
  16. PROPERTIES: 'properties',
  17. // VOLUMEPRICE: 'volume_price',
  18. FEERATE:'feeRate',
  19. LABOUR_COE:'labour_coe',
  20. CALC_PROGRAM:'calc_program',
  21. INSTALLATION_FEE:'installation_fee'
  22. };
  23. let projectConstList = [
  24. 'bills',
  25. 'ration',
  26. 'GLJ',
  27. 'ration_glj',
  28. 'ration_coe',
  29. 'ration_ass',
  30. 'quantity_detail',
  31. 'projectGLJ',
  32. 'GLJList',
  33. 'unitPriceFile',
  34. 'properties',
  35. // 'volume_price',
  36. 'feeRate',
  37. 'labour_coe',
  38. 'calc_program'
  39. ];
  40. let commonConst = {
  41. UT_UPDATE: 'ut_update',
  42. UT_CREATE: 'ut_create',
  43. UT_DELETE: 'ut_delete'
  44. };
  45. const gljKeyArray =['code','name','specs','unit','type'];
  46. const rationKeyArray =['code','name','specs','unit','subType'];
  47. const rationType = {
  48. ration: 1,
  49. volumePrice: 2,
  50. gljRation: 3,
  51. install:4
  52. };
  53. module.exports = {projectConst: projectConst, commonConst: commonConst, projectConstList: projectConstList,gljKeyArray:gljKeyArray,rationKeyArray:rationKeyArray,rationType:rationType};