project_log.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. 'use strict';
  2. /**
  3. * 项目操作日志
  4. *
  5. * @author ELlisran
  6. * @date 2021/01/12
  7. * @version
  8. */
  9. // 操作模块
  10. const type = {
  11. all: 0,
  12. tender: 1,
  13. stage: 2,
  14. change: 3,
  15. material: 4,
  16. changeProject: 5,
  17. changeApply: 6,
  18. changePlan: 7,
  19. settle: 8,
  20. phasePay: 9,
  21. };
  22. const type_list = [
  23. { code: 'all', type: type.all, name: '全部模块' },
  24. { code: 'tender', type: type.tender, name: '标段' },
  25. { code: 'stage', type: type.stage, name: '计量期' },
  26. { code: 'change', type: type.change, name: '变更令' },
  27. { code: 'material', type: type.material, name: '材料调差' },
  28. { code: 'changeProject', type: type.changeProject, name: '变更立项' },
  29. { code: 'changeApply', type: type.changeApply, name: '变更申请' },
  30. { code: 'changePlan', type: type.changePlan, name: '变更方案' },
  31. { code: 'settle', type: type.settle, name: '计量结算' },
  32. { code: 'phasePay', type: type.phasePay, name: '计量结算' },
  33. ];
  34. // 操作状态
  35. const status = {
  36. delete: 1, // 删除
  37. };
  38. const status_list = [
  39. '',
  40. '删除',
  41. ];
  42. module.exports = {
  43. type,
  44. type_list,
  45. status,
  46. status_list,
  47. };