pageconfig.js 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. // 页面 schema
  2. const config = {
  3. pageConfig: {
  4. pageName: '',
  5. router: '',
  6. header: {
  7. desc: '',
  8. button: [
  9. {
  10. text: '返回',
  11. type: '',
  12. loading: false,
  13. disabled: false,
  14. clickEvent: '',
  15. backPath: ''
  16. },
  17. {
  18. text: '报事',
  19. type: '',
  20. loading: false,
  21. disabled: false,
  22. clickEvent: ''
  23. },
  24. {
  25. text: '',
  26. type: '',
  27. loading: false,
  28. disabled: false,
  29. clickEvent: ''
  30. }
  31. ]
  32. }
  33. },
  34. queryForm: {
  35. fields: [
  36. {
  37. __config__: {
  38. label: '单行输入',
  39. labelWidth: null,
  40. showLabel: true,
  41. changeTag: true,
  42. tag: 'el-input',
  43. tagIcon: 'input',
  44. required: true,
  45. layout: 'colFormItem',
  46. span: 24,
  47. document: 'https://element.eleme.cn/#/zh-CN/component/input',
  48. regList: [],
  49. formId: 362,
  50. renderKey: 1619055104509
  51. },
  52. __slot__: {
  53. prepend: '',
  54. append: ''
  55. },
  56. placeholder: '请输入单行输入',
  57. style: {
  58. width: '100%'
  59. },
  60. clearable: true,
  61. 'prefix-icon': '',
  62. 'suffix-icon': '',
  63. maxlength: 64,
  64. 'show-word-limit': false,
  65. readonly: false,
  66. disabled: false,
  67. __vModel__: 'inputField362'
  68. },
  69. {
  70. __config__: {
  71. label: '金额',
  72. showLabel: true,
  73. changeTag: true,
  74. labelWidth: null,
  75. tag: 'el-input-number',
  76. tagIcon: 'money',
  77. span: 24,
  78. layout: 'colFormItem',
  79. required: true,
  80. regList: [],
  81. document: 'https://element.eleme.cn/#/zh-CN/component/input-number',
  82. formId: 361,
  83. renderKey: 1619055101287
  84. },
  85. isConditionValue: true,
  86. placeholder: '请输入金额,不超过2位小数金额',
  87. step: 1,
  88. 'step-strictly': false,
  89. precision: 2,
  90. 'controls-position': 'right',
  91. disabled: false,
  92. __vModel__: 'moneyField361'
  93. }
  94. ],
  95. formRef: 'elForm',
  96. formModel: 'formData',
  97. size: 'medium',
  98. labelPosition: 'right',
  99. labelWidth: 110,
  100. formRules: 'rules',
  101. gutter: 15,
  102. disabled: false,
  103. span: 24,
  104. formBtns: false
  105. },
  106. table: {
  107. column: {
  108. label: '',
  109. prop: '',
  110. fixed: '',
  111. minWidth: '',
  112. showOverflowTooltip: false
  113. }
  114. }
  115. }