page_show.js 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. 'use strict';
  2. /**
  3. * 前台页面展示相关
  4. *
  5. * @author Ellisran
  6. * @date
  7. * @version
  8. */
  9. const pageStatus = {
  10. show: 1,
  11. hide: 0,
  12. };
  13. // const pageControl = [
  14. // { title: '开启「部位台账」', name: 'bwtz', value: pageStatus.show, type: 'checkbox' },
  15. // { title: '开启「投资进度」功能', name: 'xxjd', value: pageStatus.show, type: 'checkbox' },
  16. // { title: '开启「其他台账」功能', name: 'stageExtra', value: pageStatus.show, type: 'checkbox' },
  17. // { title: '关闭报表「导出PDF」', name: 'closeExportPdf', value: pageStatus.show, type: 'checkbox' },
  18. // { title: '关闭报表「导出Excel」', name: 'closeExportExcel', value: pageStatus.show, type: 'checkbox' },
  19. // { title: '关闭报表「水印」', name: 'closeWatermark', value: pageStatus.show, type: 'checkbox' },
  20. // { title: '开启报表「跨标段批量签名」', name: 'openSign', value: pageStatus.show, type: 'checkbox' },
  21. // { title: '开启签名「网证通电子签名」', name: 'openNetCaSign', value: pageStatus.show, type: 'checkbox' },
  22. // ];
  23. const defaultSetting = {
  24. bwtz: 0,
  25. xxjd: 0,
  26. openMaterial: 1,
  27. phasePay: 0,
  28. stageExtra: 1,
  29. closeExportPdf: 0,
  30. closeExportExcel: 0,
  31. closeWatermark: 0,
  32. openSign: 0,
  33. openNetCaSign: 0,
  34. openChangeRevise: 1,
  35. openMaterialTax: 0,
  36. addDataCollect: 1,
  37. closeWapYfSf: 0,
  38. openManagement: 0,
  39. openMaterialChecklist: 0,
  40. openMaterialSelf: 0,
  41. openMaterialEditForAudit: 0,
  42. close1stStageCheckDealParam: 0,
  43. openChangeProject: 0,
  44. openChangeApply: 0,
  45. openChangePlan: 0,
  46. openChangeWhiteList: 0,
  47. openChangeState: 0,
  48. isPreset: 0,
  49. isOnlyChecked: 1,
  50. openSettle: 0,
  51. openMultiStageCalc: 0,
  52. maxMultiStageCount: 5,
  53. openStageStart: 0,
  54. openDataCollect: 1,
  55. openFile: 1,
  56. openBudget: 1,
  57. openPayment: 1,
  58. openConstruction: 1,
  59. openMaterialStageRepeat: 0,
  60. openContract: 1,
  61. openFinancial: 1,
  62. isCommonSetup: 1,
  63. isPrivateSetup: 1,
  64. };
  65. module.exports = {
  66. pageStatus,
  67. defaultSetting,
  68. };