project_setting.js 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. 'use strict';
  2. /**
  3. * 项目的通用 相关常量
  4. *
  5. * @author Mai
  6. * @date 2018/9/25
  7. * @version
  8. */
  9. // 重新发送通知设置
  10. const notice_setting = {
  11. fixed: 72, // 固定间隔
  12. activity: { // 活动间隔
  13. first: 72,
  14. second: 48,
  15. later: 24,
  16. },
  17. mode: 'fixed', // 默认模式
  18. shield_times: { // 屏蔽时间段
  19. start: null,
  20. end: null,
  21. },
  22. };
  23. const colSet = {
  24. info: [
  25. { field: 'name', name: '标段名称', fixed: ['show', 'alias'] },
  26. { field: 'measure_type', name: '计量模式', fixed: ['show', 'alias'] },
  27. { field: 'calc_flow', name: '计量进度', fixed: ['show', 'alias'] },
  28. { field: 'cur_flow', name: '当前流程', fixed: ['show', 'alias'] },
  29. { field: 'contract_price', name: '签约合同价', fixed: ['show', 'alias'] },
  30. { field: 'total_price', name: '0号台账', fixed: [] },
  31. { field: 'gather_tp', name: '本期完成', fixed: [] },
  32. { field: 'end_contract_tp', name: '截止本期合同', fixed: [] },
  33. { field: 'end_qc_tp', name: '截止本期变更', fixed: [] },
  34. { field: 'end_gather_tp', name: '截止本期完成', fixed: [] },
  35. { field: 'pre_gather_tp', name: '截止上期完成', fixed: [] },
  36. { field: 'advance_tp', name: '预付款', fixed: [] },
  37. { field: 'yf_tp', name: '本期应付', fixed: [] },
  38. { field: 'end_yf_tp', name: '截止本期应付', fixed: [] },
  39. { field: 'sf_tp', name: '本期实付', fixed: [] },
  40. { field: 'end_sf_tp', name: '截止本期实付', fixed: [] },
  41. { field: 'wf_tp', name: '未付金额', fixed: [], hint:'截止本期应付-截止本期实付' },
  42. ]
  43. };
  44. const defaultColSet = {
  45. info: [
  46. { field: 'name', show: 1, alias: '' },
  47. { field: 'measure_type', show: 1, alias: '' },
  48. { field: 'calc_flow', show: 1, alias: '' },
  49. { field: 'cur_flow', show: 1, alias: '' },
  50. { field: 'contract_price', show: 1, alias: '' },
  51. { field: 'total_price', show: 1, alias: '' },
  52. { field: 'gather_tp', show: 1, alias: '' },
  53. { field: 'end_contract_tp', show: 1, alias: '' },
  54. { field: 'end_qc_tp', show: 1, alias: '' },
  55. { field: 'end_gather_tp', show: 1, alias: '' },
  56. { field: 'pre_gather_tp', show: 1, alias: '' },
  57. { field: 'advance_tp', show: 1, alias: '' },
  58. { field: 'yf_tp', show: 1, alias: '' },
  59. { field: 'end_yf_tp', show: 1, alias: '' },
  60. { field: 'sf_tp', show: 0, alias: '' },
  61. { field: 'end_sf_tp', show: 0, alias: '' },
  62. { field: 'wf_tp', show: 0, alias: '' },
  63. ],
  64. };
  65. // 决策大屏06 报表数据统计值设置及保存
  66. const daPing06Set = {
  67. sr: null,
  68. sr_value: null,
  69. cb: null,
  70. cb_value: null,
  71. cb_show: [],
  72. };
  73. module.exports = {
  74. noticeSetting: notice_setting,
  75. colSet,
  76. defaultColSet,
  77. daPing06Set,
  78. };