project_log.js 921 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. };
  19. const type_list = [
  20. { code: 'all', type: type.all, name: '全部模块' },
  21. { code: 'tender', type: type.tender, name: '标段' },
  22. { code: 'stage', type: type.stage, name: '计量期' },
  23. { code: 'change', type: type.change, name: '变更令' },
  24. { code: 'material', type: type.material, name: '材料调差' },
  25. { code: 'changeProject', type: type.changeProject, name: '变更立项' },
  26. { code: 'changeApply', type: type.changeApply, name: '变更申请' },
  27. ];
  28. // 操作状态
  29. const status = {
  30. delete: 1, // 删除
  31. };
  32. const status_list = [
  33. '',
  34. '删除',
  35. ];
  36. module.exports = {
  37. type,
  38. type_list,
  39. status,
  40. status_list,
  41. };