page_show.js 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. stageExtra: 1,
  28. closeExportPdf: 0,
  29. closeExportExcel: 0,
  30. closeWatermark: 0,
  31. openSign: 0,
  32. openNetCaSign: 0,
  33. openChangeRevise: 1,
  34. openMaterialTax: 0,
  35. addDataCollect: 1,
  36. closeWapYfSf: 0,
  37. openManagement: 0,
  38. openMaterialChecklist: 0,
  39. openMaterialSelf: 0,
  40. openMaterialEditForAudit: 0,
  41. close1stStageCheckDealParam: 0,
  42. openChangeProject: 0,
  43. openChangeApply: 0,
  44. openChangePlan: 0,
  45. openChangeWhiteList: 0,
  46. openChangeState: 0,
  47. isPreset: 0,
  48. isOnlyChecked: 1,
  49. openSettle: 0,
  50. openMultiStageCalc: 0,
  51. maxMultiStageCount: 5,
  52. openStageStart: 0,
  53. openDataCollect: 1,
  54. openFile: 1,
  55. openBudget: 1,
  56. openPayment: 1,
  57. openConstruction: 1,
  58. openMaterialStageRepeat: 0,
  59. };
  60. module.exports = {
  61. pageStatus,
  62. defaultSetting,
  63. };