super-page-designer 2.3.17-sit4-design1 → 2.3.18-tmp1-design1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/dist/es/components/design/utils/page-event-util.js +1 -0
  2. package/dist/es/components/design/utils/page-i18n-util.js +6 -5
  3. package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +12 -12
  4. package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +1 -1
  5. package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue2.js +15 -15
  6. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js +1 -1
  7. package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +1 -1
  8. package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +9 -9
  9. package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +1 -1
  10. package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +12 -12
  11. package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +3 -3
  12. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-advanced.vue.js +8 -8
  13. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +7 -7
  14. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-advanced.vue.js +7 -7
  15. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +2 -2
  16. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr-style.vue.js +4 -4
  17. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr.vue2.js +1 -1
  18. package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +6 -5
  19. package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr.vue.js +1 -1
  20. package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-bar.vue.js +1 -1
  21. package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-line.vue.js +1 -1
  22. package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +6 -6
  23. package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +6 -6
  24. package/dist/es/components/design/views/assemblys/chart/common/common-attr-sortby.vue.js +5 -5
  25. package/dist/es/components/design/views/assemblys/chart/common/common-attr-stack.vue2.js +6 -6
  26. package/dist/es/components/design/views/assemblys/chart/common/common-home-chart.vue2.js +11 -11
  27. package/dist/es/components/design/views/assemblys/chart/common/common-style-datazoom.vue.js +2 -2
  28. package/dist/es/components/design/views/assemblys/chart/common/common-style-font-subtitle.vue.js +2 -2
  29. package/dist/es/components/design/views/assemblys/chart/common/common-style-font-title.vue.js +2 -2
  30. package/dist/es/components/design/views/assemblys/chart/common/common-style-legend.vue.js +2 -2
  31. package/dist/es/components/design/views/assemblys/chart/common/common-style-tooltip.vue.js +2 -2
  32. package/dist/es/components/design/views/assemblys/chart/common/common-style-xaxis.vue.js +1 -1
  33. package/dist/es/components/design/views/assemblys/chart/common/common-style-yaxis.vue.js +7 -7
  34. package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dataset-columnline.vue.js +10 -10
  35. package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dynamic.vue.js +10 -10
  36. package/dist/es/components/design/views/assemblys/chart/common-series/common-style-label.vue.js +4 -4
  37. package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr-data.vue.js +3 -3
  38. package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr.vue2.js +1 -1
  39. package/dist/es/components/design/views/assemblys/chart/gauge/series/gauge-series-attr.vue.js +1 -1
  40. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-anchor.vue.js +1 -1
  41. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-axislabel.vue.js +2 -2
  42. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-detail.vue.js +2 -2
  43. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-gauge.vue.js +1 -1
  44. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-pointer.vue.js +2 -2
  45. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-split.vue.js +1 -1
  46. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-title.vue.js +1 -1
  47. package/dist/es/components/design/views/assemblys/chart/pie/pie-attr.vue2.js +1 -1
  48. package/dist/es/components/design/views/assemblys/chart/pie/series/pie-series-attr.vue.js +1 -1
  49. package/dist/es/components/design/views/assemblys/chart/pie/series/styles/style-pie.vue.js +4 -4
  50. package/dist/es/components/design/views/assemblys/chart/radar/radar-attr-data.vue.js +3 -3
  51. package/dist/es/components/design/views/assemblys/chart/radar/radar-attr.vue2.js +1 -1
  52. package/dist/es/components/design/views/assemblys/chart/radar/series/series-attr-dataset.vue.js +6 -6
  53. package/dist/es/components/design/views/assemblys/chart/radar/series/series-attr.vue.js +1 -1
  54. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-axisname.vue.js +2 -2
  55. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-datalabel.vue.js +1 -1
  56. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-dataline.vue.js +1 -1
  57. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-radar.vue.js +2 -2
  58. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-data.vue.js +15 -15
  59. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-style-xaxis.vue.js +1 -1
  60. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr.vue2.js +1 -1
  61. package/dist/es/components/design/views/assemblys/chart/scatter/series/scatter-series-attr.vue.js +1 -1
  62. package/dist/es/components/design/views/assemblys/chart/scatter/series/scatter-series-data.vue.js +1 -1
  63. package/dist/es/components/design/views/assemblys/chart/scatter/series/styles/style-scatter.vue.js +2 -2
  64. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +4 -4
  65. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +11 -11
  66. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +1 -1
  67. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue.js +5 -5
  68. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +9 -9
  69. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue2.js +10 -10
  70. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +17 -17
  71. package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +1 -1
  72. package/dist/es/components/design/views/assemblys/common/common-attr-cursor.vue.js +1 -1
  73. package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +2 -2
  74. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +27 -24
  75. package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +13 -13
  76. package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +8 -8
  77. package/dist/es/components/design/views/assemblys/common/common-style-background.vue.js +3 -2
  78. package/dist/es/components/design/views/assemblys/common/common-style-border.vue.js +2 -2
  79. package/dist/es/components/design/views/assemblys/common/common-style-font-head.vue.js +2 -2
  80. package/dist/es/components/design/views/assemblys/common/common-style-font.vue.js +2 -2
  81. package/dist/es/components/design/views/assemblys/common/common-style-position.vue.js +2 -2
  82. package/dist/es/components/design/views/assemblys/common/common-task-title.vue2.js +8 -8
  83. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +23 -23
  84. package/dist/es/components/design/views/assemblys/common/common-watermark.vue.js +9 -9
  85. package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +6 -6
  86. package/dist/es/components/design/views/assemblys/container/card/card-attr-base.vue.js +7 -7
  87. package/dist/es/components/design/views/assemblys/container/card/card-attr.vue2.js +1 -1
  88. package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr.vue2.js +1 -1
  89. package/dist/es/components/design/views/assemblys/container/container/container-attr-base.vue.js +2 -2
  90. package/dist/es/components/design/views/assemblys/container/container/container-attr.vue2.js +1 -1
  91. package/dist/es/components/design/views/assemblys/container/flex/flex-attr.vue2.js +1 -1
  92. package/dist/es/components/design/views/assemblys/container/form/form-attr-base.vue.js +1 -1
  93. package/dist/es/components/design/views/assemblys/container/form/form-attr.vue2.js +1 -1
  94. package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr-base.vue.js +3 -3
  95. package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr.vue2.js +1 -1
  96. package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr-base.vue.js +2 -2
  97. package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr.vue2.js +3 -2
  98. package/dist/es/components/design/views/assemblys/container/tools/tools-attr-base.vue.js +6 -6
  99. package/dist/es/components/design/views/assemblys/container/tools/tools-attr.vue2.js +1 -1
  100. package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +22 -22
  101. package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr-base.vue.js +5 -5
  102. package/dist/es/components/design/views/assemblys/data/bar-code/barcode-design.vue2.js +3 -3
  103. package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +13 -13
  104. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +7 -7
  105. package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +7 -7
  106. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +4 -4
  107. package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +11 -11
  108. package/dist/es/components/design/views/assemblys/data/component/formatting-icon-label.vue.js +9 -9
  109. package/dist/es/components/design/views/assemblys/data/component/import-header.vue.js +2 -2
  110. package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +2 -2
  111. package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +8 -8
  112. package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +7 -7
  113. package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +4 -4
  114. package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +3 -3
  115. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +5 -5
  116. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +11 -11
  117. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +5 -5
  118. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +6 -6
  119. package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +3 -3
  120. package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +5 -5
  121. package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +4 -4
  122. package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +13 -13
  123. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +10 -10
  124. package/dist/es/components/design/views/assemblys/form/common/data-origin-autoset.vue.js +25 -25
  125. package/dist/es/components/design/views/assemblys/form/common/data-origin-service-in.vue.js +3 -3
  126. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +8 -8
  127. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +2 -26
  128. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +26 -2
  129. package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +9 -9
  130. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +3 -3
  131. package/dist/es/components/design/views/assemblys/form/common/linkpage-page-callback.vue.js +2 -2
  132. package/dist/es/components/design/views/assemblys/form/common/pre-suffix.vue.js +2 -2
  133. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +6 -6
  134. package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +8 -8
  135. package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +6 -6
  136. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +6 -6
  137. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +6 -6
  138. package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +3 -3
  139. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +5 -5
  140. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +3 -3
  141. package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +5 -5
  142. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +5 -5
  143. package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +5 -5
  144. package/dist/es/components/design/views/assemblys/form/label/label-design.vue2.js +1 -1
  145. package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +5 -5
  146. package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js +7 -7
  147. package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +5 -5
  148. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +5 -5
  149. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.vue2.js +14 -13
  150. package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +5 -5
  151. package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr.vue2.js +1 -1
  152. package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +5 -5
  153. package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +7 -7
  154. package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +6 -6
  155. package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +5 -5
  156. package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +7 -7
  157. package/dist/es/components/design/views/assemblys/page/create-workflow-dialog.vue.js +2 -2
  158. package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +2 -2
  159. package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +5 -5
  160. package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +1 -1
  161. package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +12 -12
  162. package/dist/es/components/design/views/assemblys/workflow/component/condition-dialog.vue.js +12 -12
  163. package/dist/es/components/design/views/assemblys/workflow/component/journal-set-dialog.vue2.js +2 -2
  164. package/dist/es/components/design/views/assemblys/workflow/component/set-dialog.vue.js +8 -8
  165. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-advanced.vue.js +6 -6
  166. package/dist/es/components/design/views/assemblys/workflow/picture-flow/pictureflow-design.vue2.js +1 -1
  167. package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr-base.vue.js +5 -5
  168. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +1 -1
  169. package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-design.vue2.js +3 -3
  170. package/dist/es/components/design/views/design/page-design.vue.d.ts +0 -9
  171. package/dist/es/components/design/views/design/page-design.vue2.js +43 -43
  172. package/dist/es/components/design/views/design/page-event/config.vue3.js +24 -23
  173. package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +7 -7
  174. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +10 -11
  175. package/dist/es/components/design/views/design/page-event/page-event-view.vue.d.ts +2 -16
  176. package/dist/es/components/design/views/design/page-event/page-event-view.vue.js +8 -8
  177. package/dist/es/components/design/views/design/view/assemblys-container-list.vue.d.ts +2 -16
  178. package/dist/es/components/design/views/design/view/assemblys-container-list.vue.js +20 -23
  179. package/dist/es/components/design/views/design/view/assemblys-container.vue.js +12 -11
  180. package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +8 -8
  181. package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +27 -27
  182. package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +8 -7
  183. package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +1 -1
  184. package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +14 -14
  185. package/dist/es/components/design/views/design/view/page-switch.vue.d.ts +0 -18
  186. package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
  187. package/dist/es/components/design/views/design/view/page-switch.vue2.js +31 -34
  188. package/dist/es/components/design/views/design/view/view-design-display.vue.js +13 -13
  189. package/dist/es/components/design/views/design/view/view-design-preview.vue.js +1 -1
  190. package/dist/es/components/design/views/design/view/view-design-preview.vue2.js +16 -18
  191. package/dist/es/stores/undo-redo-store.js +1 -1
  192. package/dist/es/style.css +10 -33
  193. package/package.json +4 -4
  194. package/dist/es/assets/images/data/file.png.js +0 -4
  195. package/dist/es/assets/images/data/folder.png.js +0 -4
  196. package/dist/es/components/design/utils/ucr-element-filter.d.ts +0 -2
  197. package/dist/es/components/design/utils/ucr-element-filter.js +0 -11
  198. package/dist/es/components/design/views/design/view/components/ucr-report-swtich/index.vue.d.ts +0 -38
  199. package/dist/es/components/design/views/design/view/components/ucr-report-swtich/index.vue.js +0 -7
  200. package/dist/es/components/design/views/design/view/components/ucr-report-swtich/index.vue2.js +0 -111
  201. package/dist/es/components/design/views/design/view/components/ucr-report-swtich/util.d.ts +0 -6
  202. package/dist/es/components/design/views/design/view/components/ucr-report-swtich/util.js +0 -27
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as t, withCtx as u, createVNode as i, createCommentVNode as s, createElementVNode as d, withDirectives as r, createElementBlock as n, Fragment as m, renderList as p, unref as c, createTextVNode as f, vShow as b } from "vue";
2
2
  import { getFormComponentOptions as g } from "../../../../utils/assemblys-config.js";
3
- import { componentNameChange as V } from "../../../../utils/form-design-util.js";
4
- import _ from "../../common/common-attr-size.vue.js";
3
+ import { componentNameChange as _ } from "../../../../utils/form-design-util.js";
4
+ import V from "../../common/common-attr-size.vue.js";
5
5
  import v from "../../common/common-variable-bind.vue.js";
6
6
  import h from "../../common/common-function-code.vue.js";
7
7
  import y from "../../common/common-i18n-key-input.vue.js";
@@ -15,11 +15,11 @@ const U = { style: { padding: "8px 0px 0px 0px" } }, x = { style: { padding: "8p
15
15
  w.configure.props.base.defaultValue = e3;
16
16
  }
17
17
  function O(e3) {
18
- V(w.configure, e3, j);
18
+ _(w.configure, e3, j);
19
19
  }
20
- return w.configure.isTable && (z.value = true), (l2, V2) => {
20
+ return w.configure.isTable && (z.value = true), (l2, _2) => {
21
21
  const k3 = a("el-option"), w2 = a("el-select"), j2 = a("el-form-item"), q = a("el-input"), A = a("el-radio"), D = a("el-radio-group"), B = a("el-input-number"), E = a("el-color-picker"), F = a("el-collapse-item"), G = a("el-checkbox"), H = a("el-col"), I = a("el-button"), J = a("el-collapse"), K = a("el-form");
22
- return t(), o(K, { "label-width": "80px", size: "small" }, { default: u(() => [i(J, { modelValue: S.value, "onUpdate:modelValue": V2[16] || (V2[16] = (e3) => S.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(F, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", U, [i(j2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: T.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => T.value = e3), onChange: O, placeholder: "请选择" }, { default: u(() => [(t(true), n(m, null, p(c(g)(), (e3) => (t(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), z.value ? s("", true) : (t(), o(j2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": W }, null, 8, ["modelValue"]))]), _: 1 })), i(j2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": C }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), z.value ? s("", true) : (t(), o(j2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), z.value ? s("", true) : (t(), o(j2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(A, { value: true }, { default: u(() => V2[17] || (V2[17] = [f("显示")])), _: 1 }), i(A, { value: false }, { default: u(() => V2[18] || (V2[18] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(i(j2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), r(i(j2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), r(i(j2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "block" }, { default: u(() => V2[19] || (V2[19] = [f("换行")])), _: 1 }), i(A, { value: "inline" }, { default: u(() => V2[20] || (V2[20] = [f("不换行")])), _: 1 }), i(A, { value: "omit" }, { default: u(() => V2[21] || (V2[21] = [f("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(j2, { label: "开关宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.offOnWidth, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.offOnWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的值", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.activeValue, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.activeValue = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的颜色", class: "amb-design-attr-item" }, { default: u(() => [i(E, { modelValue: e2.configure.props.base.onColor, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.onColor = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的文字", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.activeText, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.activeText = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的值", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.inactiveValue, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.inactiveValue = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的颜色", class: "amb-design-attr-item" }, { default: u(() => [i(E, { modelValue: e2.configure.props.base.offColor, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.offColor = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的文字", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.inactiveText, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.inactiveText = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "large" }, { default: u(() => V2[22] || (V2[22] = [f("大")])), _: 1 }), i(A, { value: "default" }, { default: u(() => V2[23] || (V2[23] = [f("中")])), _: 1 }), i(A, { value: "small" }, { default: u(() => V2[24] || (V2[24] = [f("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "default" }, { default: u(() => V2[25] || (V2[25] = [f("普通")])), _: 1 }), i(A, { value: "disabled" }, { default: u(() => V2[26] || (V2[26] = [f("禁用")])), _: 1 }), i(A, { value: "hidden" }, { default: u(() => V2[27] || (V2[27] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (t(), o(F, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [d("div", x, [i(j2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[15] || (V2[15] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(H, { span: 8 }, { default: u(() => [i(G, { label: "自定义", value: "custom" })]), _: 1 }), i(H, { span: 14 }, { default: u(() => [i(I, { type: "default" }, { default: u(() => V2[28] || (V2[28] = [f("自定义逻辑")])), _: 1 }), i(I, { type: "default", icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), z.value ? s("", true) : (t(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
22
+ return t(), o(K, { "label-width": "80px", size: "small" }, { default: u(() => [i(J, { modelValue: S.value, "onUpdate:modelValue": _2[16] || (_2[16] = (e3) => S.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(F, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", U, [i(j2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: T.value, "onUpdate:modelValue": _2[0] || (_2[0] = (e3) => T.value = e3), onChange: O, placeholder: "请选择" }, { default: u(() => [(t(true), n(m, null, p(c(g)(), (e3) => (t(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.uuid, "onUpdate:modelValue": _2[1] || (_2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), z.value ? s("", true) : (t(), o(j2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": W }, null, 8, ["modelValue"]))]), _: 1 })), i(j2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": C }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), z.value ? s("", true) : (t(), o(j2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), z.value ? s("", true) : (t(), o(j2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": _2[2] || (_2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(A, { value: true }, { default: u(() => _2[17] || (_2[17] = [f("显示", -1)])), _: 1, __: [17] }), i(A, { value: false }, { default: u(() => _2[18] || (_2[18] = [f("隐藏", -1)])), _: 1, __: [18] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(i(j2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": _2[3] || (_2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), r(i(j2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": _2[4] || (_2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), r(i(j2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": _2[5] || (_2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "block" }, { default: u(() => _2[19] || (_2[19] = [f("换行", -1)])), _: 1, __: [19] }), i(A, { value: "inline" }, { default: u(() => _2[20] || (_2[20] = [f("不换行", -1)])), _: 1, __: [20] }), i(A, { value: "omit" }, { default: u(() => _2[21] || (_2[21] = [f("省略号", -1)])), _: 1, __: [21] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(j2, { label: "开关宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.offOnWidth, "onUpdate:modelValue": _2[6] || (_2[6] = (l3) => e2.configure.props.base.offOnWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的值", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.activeValue, "onUpdate:modelValue": _2[7] || (_2[7] = (l3) => e2.configure.props.base.activeValue = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的颜色", class: "amb-design-attr-item" }, { default: u(() => [i(E, { modelValue: e2.configure.props.base.onColor, "onUpdate:modelValue": _2[8] || (_2[8] = (l3) => e2.configure.props.base.onColor = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的文字", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.activeText, "onUpdate:modelValue": _2[9] || (_2[9] = (l3) => e2.configure.props.base.activeText = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的值", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.inactiveValue, "onUpdate:modelValue": _2[10] || (_2[10] = (l3) => e2.configure.props.base.inactiveValue = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的颜色", class: "amb-design-attr-item" }, { default: u(() => [i(E, { modelValue: e2.configure.props.base.offColor, "onUpdate:modelValue": _2[11] || (_2[11] = (l3) => e2.configure.props.base.offColor = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的文字", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.inactiveText, "onUpdate:modelValue": _2[12] || (_2[12] = (l3) => e2.configure.props.base.inactiveText = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": _2[13] || (_2[13] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "large" }, { default: u(() => _2[22] || (_2[22] = [f("大", -1)])), _: 1, __: [22] }), i(A, { value: "default" }, { default: u(() => _2[23] || (_2[23] = [f("中", -1)])), _: 1, __: [23] }), i(A, { value: "small" }, { default: u(() => _2[24] || (_2[24] = [f("小", -1)])), _: 1, __: [24] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": _2[14] || (_2[14] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "default" }, { default: u(() => _2[25] || (_2[25] = [f("普通", -1)])), _: 1, __: [25] }), i(A, { value: "disabled" }, { default: u(() => _2[26] || (_2[26] = [f("禁用", -1)])), _: 1, __: [26] }), i(A, { value: "hidden" }, { default: u(() => _2[27] || (_2[27] = [f("隐藏", -1)])), _: 1, __: [27] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (t(), o(F, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [d("div", x, [i(j2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": _2[15] || (_2[15] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(H, { span: 8 }, { default: u(() => [i(G, { label: "自定义", value: "custom" })]), _: 1 }), i(H, { span: 14 }, { default: u(() => [i(I, { type: "default" }, { default: u(() => _2[28] || (_2[28] = [f("自定义逻辑", -1)])), _: 1, __: [28] }), i(I, { type: "default", icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), z.value ? s("", true) : (t(), o(V, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
23
23
  };
24
24
  } });
25
25
  export {
@@ -1,7 +1,7 @@
1
- import { defineComponent as e, ref as l, resolveComponent as a, createBlock as t, openBlock as u, withCtx as o, createVNode as s, createCommentVNode as i, createElementVNode as d, withDirectives as n, createElementBlock as r, Fragment as m, renderList as p, unref as f, createTextVNode as c, vShow as g } from "vue";
2
- import { getFormComponentOptions as b } from "../../../../utils/assemblys-config.js";
3
- import { componentNameChange as V } from "../../../../utils/form-design-util.js";
4
- import _ from "../../common/common-attr-size.vue.js";
1
+ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as t, openBlock as u, withCtx as o, createVNode as s, createCommentVNode as i, createElementVNode as d, withDirectives as n, createElementBlock as r, Fragment as m, renderList as p, unref as f, createTextVNode as c, vShow as _ } from "vue";
2
+ import { getFormComponentOptions as g } from "../../../../utils/assemblys-config.js";
3
+ import { componentNameChange as b } from "../../../../utils/form-design-util.js";
4
+ import V from "../../common/common-attr-size.vue.js";
5
5
  import v from "../../common/common-variable-bind.vue.js";
6
6
  import y from "../../common/common-function-code.vue.js";
7
7
  import h from "../../common/common-i18n-key-input.vue.js";
@@ -15,11 +15,11 @@ const U = { style: { padding: "8px 0px 0px 0px" } }, w = e({ __name: "tag-attr-b
15
15
  x.configure.props.base.defaultValue = e3;
16
16
  }
17
17
  function O(e3) {
18
- V(x.configure, e3, z);
18
+ b(x.configure, e3, z);
19
19
  }
20
- return x.configure.isTable && (S.value = true), (l2, V2) => {
20
+ return x.configure.isTable && (S.value = true), (l2, b2) => {
21
21
  const w3 = a("el-option"), x2 = a("el-select"), z2 = a("el-form-item"), $ = a("el-input"), q = a("el-text"), A = a("el-radio"), C = a("el-radio-group"), D = a("el-input-number"), B = a("el-collapse-item"), E = a("el-collapse"), F = a("el-form");
22
- return u(), t(F, { "label-width": "80px", size: "small" }, { default: o(() => [s(E, { modelValue: j.value, "onUpdate:modelValue": V2[11] || (V2[11] = (e3) => j.value = e3), style: { "margin-top": "6px" } }, { default: o(() => [s(B, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: o(() => [d("div", U, [s(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: o(() => [s(x2, { modelValue: k.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => k.value = e3), onChange: O, placeholder: "请选择" }, { default: o(() => [(u(true), r(m, null, p(f(b)(), (e3) => (u(), t(w3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: o(() => [s($, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), S.value ? i("", true) : (u(), t(z2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: o(() => [(u(), t(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": T }, null, 8, ["modelValue"]))]), _: 1 })), s(z2, { label: "默认值", class: "amb-design-attr-item" }, { default: o(() => [(u(), t(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": W }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), S.value ? i("", true) : (u(), t(z2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: o(() => [(u(), t(y, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), s(z2, { label: "内容格式化", class: "amb-design-attr-item" }, { default: o(() => [s($, { modelValue: e2.configure.props.base.formatting, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.formatting = l3), rows: 2, type: "textarea", placeholder: "请输入" }, null, 8, ["modelValue"]), s(q, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => V2[12] || (V2[12] = [c(" ${value}:数据值;${no}:数据序号 ")])), _: 1 })]), _: 1 }), S.value ? i("", true) : (u(), t(z2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: o(() => [s(A, { value: true }, { default: o(() => V2[13] || (V2[13] = [c("显示")])), _: 1 }), s(A, { value: false }, { default: o(() => V2[14] || (V2[14] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(s(z2, { label: "标题", class: "amb-design-attr-item" }, { default: o(() => [s(h, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(s(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: o(() => [s(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(s(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: o(() => [s(A, { value: "block" }, { default: o(() => V2[15] || (V2[15] = [c("换行")])), _: 1 }), s(A, { value: "inline" }, { default: o(() => V2[16] || (V2[16] = [c("不换行")])), _: 1 }), s(A, { value: "omit" }, { default: o(() => V2[17] || (V2[17] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), s(z2, { label: "类型", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.type = l3), class: "ml-4" }, { default: o(() => [s(A, { value: "primary" }, { default: o(() => V2[18] || (V2[18] = [c("无")])), _: 1 }), s(A, { value: "success" }, { default: o(() => V2[19] || (V2[19] = [c("success")])), _: 1 }), s(A, { value: "info" }, { default: o(() => V2[20] || (V2[20] = [c("info")])), _: 1 }), s(A, { value: "warning" }, { default: o(() => V2[21] || (V2[21] = [c("warning")])), _: 1 }), s(A, { value: "danger" }, { default: o(() => V2[22] || (V2[22] = [c("danger")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(z2, { label: "可移除", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.closable, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.closable = l3), class: "ml-4" }, { default: o(() => [s(A, { value: true }, { default: o(() => V2[23] || (V2[23] = [c("是")])), _: 1 }), s(A, { value: false }, { default: o(() => V2[24] || (V2[24] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(z2, { label: "尺寸", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: o(() => [s(A, { value: "large" }, { default: o(() => V2[25] || (V2[25] = [c("大")])), _: 1 }), s(A, { value: "default" }, { default: o(() => V2[26] || (V2[26] = [c("中")])), _: 1 }), s(A, { value: "small" }, { default: o(() => V2[27] || (V2[27] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(z2, { label: "状态", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: o(() => [s(A, { value: "default" }, { default: o(() => V2[28] || (V2[28] = [c("普通")])), _: 1 }), s(A, { value: "hidden" }, { default: o(() => V2[29] || (V2[29] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), S.value ? i("", true) : (u(), t(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
22
+ return u(), t(F, { "label-width": "80px", size: "small" }, { default: o(() => [s(E, { modelValue: j.value, "onUpdate:modelValue": b2[11] || (b2[11] = (e3) => j.value = e3), style: { "margin-top": "6px" } }, { default: o(() => [s(B, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: o(() => [d("div", U, [s(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: o(() => [s(x2, { modelValue: k.value, "onUpdate:modelValue": b2[0] || (b2[0] = (e3) => k.value = e3), onChange: O, placeholder: "请选择" }, { default: o(() => [(u(true), r(m, null, p(f(g)(), (e3) => (u(), t(w3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: o(() => [s($, { modelValue: e2.configure.uuid, "onUpdate:modelValue": b2[1] || (b2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), S.value ? i("", true) : (u(), t(z2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: o(() => [(u(), t(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": T }, null, 8, ["modelValue"]))]), _: 1 })), s(z2, { label: "默认值", class: "amb-design-attr-item" }, { default: o(() => [(u(), t(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": W }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), S.value ? i("", true) : (u(), t(z2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: o(() => [(u(), t(y, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), s(z2, { label: "内容格式化", class: "amb-design-attr-item" }, { default: o(() => [s($, { modelValue: e2.configure.props.base.formatting, "onUpdate:modelValue": b2[2] || (b2[2] = (l3) => e2.configure.props.base.formatting = l3), rows: 2, type: "textarea", placeholder: "请输入" }, null, 8, ["modelValue"]), s(q, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => b2[12] || (b2[12] = [c(" ${value}:数据值;${no}:数据序号 ", -1)])), _: 1, __: [12] })]), _: 1 }), S.value ? i("", true) : (u(), t(z2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": b2[3] || (b2[3] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: o(() => [s(A, { value: true }, { default: o(() => b2[13] || (b2[13] = [c("显示", -1)])), _: 1, __: [13] }), s(A, { value: false }, { default: o(() => b2[14] || (b2[14] = [c("隐藏", -1)])), _: 1, __: [14] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(s(z2, { label: "标题", class: "amb-design-attr-item" }, { default: o(() => [s(h, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": b2[4] || (b2[4] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[_, e2.configure.props.base.tittleShow]]), n(s(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: o(() => [s(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": b2[5] || (b2[5] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[_, e2.configure.props.base.tittleShow]]), n(s(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": b2[6] || (b2[6] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: o(() => [s(A, { value: "block" }, { default: o(() => b2[15] || (b2[15] = [c("换行", -1)])), _: 1, __: [15] }), s(A, { value: "inline" }, { default: o(() => b2[16] || (b2[16] = [c("不换行", -1)])), _: 1, __: [16] }), s(A, { value: "omit" }, { default: o(() => b2[17] || (b2[17] = [c("省略号", -1)])), _: 1, __: [17] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[_, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), s(z2, { label: "类型", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": b2[7] || (b2[7] = (l3) => e2.configure.props.base.type = l3), class: "ml-4" }, { default: o(() => [s(A, { value: "primary" }, { default: o(() => b2[18] || (b2[18] = [c("无", -1)])), _: 1, __: [18] }), s(A, { value: "success" }, { default: o(() => b2[19] || (b2[19] = [c("success", -1)])), _: 1, __: [19] }), s(A, { value: "info" }, { default: o(() => b2[20] || (b2[20] = [c("info", -1)])), _: 1, __: [20] }), s(A, { value: "warning" }, { default: o(() => b2[21] || (b2[21] = [c("warning", -1)])), _: 1, __: [21] }), s(A, { value: "danger" }, { default: o(() => b2[22] || (b2[22] = [c("danger", -1)])), _: 1, __: [22] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(z2, { label: "可移除", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.closable, "onUpdate:modelValue": b2[8] || (b2[8] = (l3) => e2.configure.props.base.closable = l3), class: "ml-4" }, { default: o(() => [s(A, { value: true }, { default: o(() => b2[23] || (b2[23] = [c("是", -1)])), _: 1, __: [23] }), s(A, { value: false }, { default: o(() => b2[24] || (b2[24] = [c("否", -1)])), _: 1, __: [24] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(z2, { label: "尺寸", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": b2[9] || (b2[9] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: o(() => [s(A, { value: "large" }, { default: o(() => b2[25] || (b2[25] = [c("大", -1)])), _: 1, __: [25] }), s(A, { value: "default" }, { default: o(() => b2[26] || (b2[26] = [c("中", -1)])), _: 1, __: [26] }), s(A, { value: "small" }, { default: o(() => b2[27] || (b2[27] = [c("小", -1)])), _: 1, __: [27] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(z2, { label: "状态", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": b2[10] || (b2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: o(() => [s(A, { value: "default" }, { default: o(() => b2[28] || (b2[28] = [c("普通", -1)])), _: 1, __: [28] }), s(A, { value: "hidden" }, { default: o(() => b2[29] || (b2[29] = [c("隐藏", -1)])), _: 1, __: [29] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), S.value ? i("", true) : (u(), t(V, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
23
23
  };
24
24
  } });
25
25
  export {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as t, withCtx as u, createVNode as i, withDirectives as s, createCommentVNode as r, createElementVNode as n, createElementBlock as d, Fragment as m, renderList as p, unref as f, createTextVNode as c, vShow as g } from "vue";
2
2
  import { getFormComponentOptions as b } from "../../../../utils/assemblys-config.js";
3
- import { componentNameChange as V } from "../../../../utils/form-design-util.js";
4
- import v from "../../common/common-attr-size.vue.js";
5
- import _ from "../../common/common-variable-bind.vue.js";
3
+ import { componentNameChange as _ } from "../../../../utils/form-design-util.js";
4
+ import V from "../../common/common-attr-size.vue.js";
5
+ import v from "../../common/common-variable-bind.vue.js";
6
6
  import h from "../../common/common-function-code.vue.js";
7
7
  import y from "../common/title-suffix.vue.js";
8
8
  import x from "../common/verification-custom.vue.js";
@@ -17,11 +17,11 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8p
17
17
  S.configure.props.base.defaultValue = e3;
18
18
  }
19
19
  function N(e3) {
20
- V(S.configure, e3, T);
20
+ _(S.configure, e3, T);
21
21
  }
22
- return S.configure.isTable && (D.value = true), (l2, V2) => {
22
+ return S.configure.isTable && (D.value = true), (l2, _2) => {
23
23
  const j3 = a("el-option"), S2 = a("el-select"), T2 = a("el-form-item"), O = a("el-input"), R = a("el-radio"), A = a("el-radio-group"), C = a("el-input-number"), B = a("el-switch"), E = a("el-collapse-item"), F = a("el-checkbox"), G = a("el-col"), H = a("el-collapse"), J = a("el-form");
24
- return t(), o(J, { "label-width": "80px", size: "small" }, { default: u(() => [i(H, { modelValue: W.value, "onUpdate:modelValue": V2[16] || (V2[16] = (e3) => W.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", w, [i(T2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(S2, { modelValue: z.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => z.value = e3), onChange: N, placeholder: "请选择" }, { default: u(() => [(t(true), d(m, null, p(f(b)(), (e3) => (t(), o(j3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(O, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), D.value ? r("", true) : (t(), o(T2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(_, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": q }, null, 8, ["modelValue"]))]), _: 1 })), i(T2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(_, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": I }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), D.value ? r("", true) : (t(), o(T2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), D.value ? r("", true) : (t(), o(T2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(R, { value: true }, { default: u(() => V2[17] || (V2[17] = [c("显示")])), _: 1 }), i(R, { value: false }, { default: u(() => V2[18] || (V2[18] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(T2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(C, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(R, { value: "block" }, { default: u(() => V2[19] || (V2[19] = [c("换行")])), _: 1 }), i(R, { value: "inline" }, { default: u(() => V2[20] || (V2[20] = [c("不换行")])), _: 1 }), i(R, { value: "omit" }, { default: u(() => V2[21] || (V2[21] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(T2, { label: "输入提示", class: "amb-design-attr-item" }, { default: u(() => [i(U, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "行数", class: "amb-design-attr-item" }, { default: u(() => [i(C, { modelValue: e2.configure.props.base.rows, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.rows = l3), min: 1 }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最小长度", class: "amb-design-attr-item" }, { default: u(() => [i(C, { modelValue: e2.configure.props.base.minlength, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.minlength = l3), class: "mx-4", min: 0, "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最大长度", class: "amb-design-attr-item" }, { default: u(() => [i(C, { modelValue: e2.configure.props.base.maxlength, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.maxlength = l3), class: "mx-4", min: 0, "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "显示字数", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.showInputNum, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.showInputNum = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [i(R, { value: "large" }, { default: u(() => V2[22] || (V2[22] = [c("大")])), _: 1 }), i(R, { value: "default" }, { default: u(() => V2[23] || (V2[23] = [c("中")])), _: 1 }), i(R, { value: "small" }, { default: u(() => V2[24] || (V2[24] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(R, { value: "default" }, { default: u(() => V2[25] || (V2[25] = [c("普通")])), _: 1 }), i(R, { value: "disabled" }, { default: u(() => V2[26] || (V2[26] = [c("禁用")])), _: 1 }), i(R, { value: "readonly" }, { default: u(() => V2[27] || (V2[27] = [c("只读")])), _: 1 }), i(R, { value: "hidden" }, { default: u(() => V2[28] || (V2[28] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(i(y, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (t(), o(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [n("div", k, [i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { span: 8 }, { default: u(() => [i(F, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.verification.verifyRegex = l3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), i(G, { span: 14 }, { default: u(() => [i(O, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": V2[15] || (V2[15] = (l3) => e2.configure.props.verification.regex = l3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(x, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), D.value ? r("", true) : (t(), o(v, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
24
+ return t(), o(J, { "label-width": "80px", size: "small" }, { default: u(() => [i(H, { modelValue: W.value, "onUpdate:modelValue": _2[16] || (_2[16] = (e3) => W.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", w, [i(T2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(S2, { modelValue: z.value, "onUpdate:modelValue": _2[0] || (_2[0] = (e3) => z.value = e3), onChange: N, placeholder: "请选择" }, { default: u(() => [(t(true), d(m, null, p(f(b)(), (e3) => (t(), o(j3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(O, { modelValue: e2.configure.uuid, "onUpdate:modelValue": _2[1] || (_2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), D.value ? r("", true) : (t(), o(T2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": q }, null, 8, ["modelValue"]))]), _: 1 })), i(T2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": I }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), D.value ? r("", true) : (t(), o(T2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), D.value ? r("", true) : (t(), o(T2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": _2[2] || (_2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(R, { value: true }, { default: u(() => _2[17] || (_2[17] = [c("显示", -1)])), _: 1, __: [17] }), i(R, { value: false }, { default: u(() => _2[18] || (_2[18] = [c("隐藏", -1)])), _: 1, __: [18] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(T2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": _2[3] || (_2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(C, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": _2[4] || (_2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": _2[5] || (_2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(R, { value: "block" }, { default: u(() => _2[19] || (_2[19] = [c("换行", -1)])), _: 1, __: [19] }), i(R, { value: "inline" }, { default: u(() => _2[20] || (_2[20] = [c("不换行", -1)])), _: 1, __: [20] }), i(R, { value: "omit" }, { default: u(() => _2[21] || (_2[21] = [c("省略号", -1)])), _: 1, __: [21] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(T2, { label: "输入提示", class: "amb-design-attr-item" }, { default: u(() => [i(U, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": _2[6] || (_2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "行数", class: "amb-design-attr-item" }, { default: u(() => [i(C, { modelValue: e2.configure.props.base.rows, "onUpdate:modelValue": _2[7] || (_2[7] = (l3) => e2.configure.props.base.rows = l3), min: 1 }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最小长度", class: "amb-design-attr-item" }, { default: u(() => [i(C, { modelValue: e2.configure.props.base.minlength, "onUpdate:modelValue": _2[8] || (_2[8] = (l3) => e2.configure.props.base.minlength = l3), class: "mx-4", min: 0, "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最大长度", class: "amb-design-attr-item" }, { default: u(() => [i(C, { modelValue: e2.configure.props.base.maxlength, "onUpdate:modelValue": _2[9] || (_2[9] = (l3) => e2.configure.props.base.maxlength = l3), class: "mx-4", min: 0, "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "显示字数", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.showInputNum, "onUpdate:modelValue": _2[10] || (_2[10] = (l3) => e2.configure.props.base.showInputNum = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": _2[11] || (_2[11] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [i(R, { value: "large" }, { default: u(() => _2[22] || (_2[22] = [c("大", -1)])), _: 1, __: [22] }), i(R, { value: "default" }, { default: u(() => _2[23] || (_2[23] = [c("中", -1)])), _: 1, __: [23] }), i(R, { value: "small" }, { default: u(() => _2[24] || (_2[24] = [c("小", -1)])), _: 1, __: [24] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": _2[12] || (_2[12] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(R, { value: "default" }, { default: u(() => _2[25] || (_2[25] = [c("普通", -1)])), _: 1, __: [25] }), i(R, { value: "disabled" }, { default: u(() => _2[26] || (_2[26] = [c("禁用", -1)])), _: 1, __: [26] }), i(R, { value: "readonly" }, { default: u(() => _2[27] || (_2[27] = [c("只读", -1)])), _: 1, __: [27] }), i(R, { value: "hidden" }, { default: u(() => _2[28] || (_2[28] = [c("隐藏", -1)])), _: 1, __: [28] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(i(y, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (t(), o(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [n("div", k, [i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": _2[13] || (_2[13] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { span: 8 }, { default: u(() => [i(F, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": _2[14] || (_2[14] = (l3) => e2.configure.props.verification.verifyRegex = l3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), i(G, { span: 14 }, { default: u(() => [i(O, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": _2[15] || (_2[15] = (l3) => e2.configure.props.verification.regex = l3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(x, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), D.value ? r("", true) : (t(), o(V, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
25
25
  };
26
26
  } });
27
27
  export {
@@ -4,7 +4,7 @@ import c from "../../common/common-select-table.vue.js";
4
4
  import y from "agilebuilder-ui/src/utils/request";
5
5
  import { usePageContextStore as C } from "../../../../../../stores/page-store.js";
6
6
  import { queryTableFields as g } from "../../../../utils/page-table-util.js";
7
- import { Search as V, Close as _ } from "@element-plus/icons-vue";
7
+ import { Search as _, Close as V } from "@element-plus/icons-vue";
8
8
  const h = { class: "operation-area operation-area-float" }, $ = e({ __name: "setting-form-rule-base-input", props: { code: { type: String, default: null }, rowId: { type: Number, default: null }, publishVersion: { type: Number, default: null }, systemCode: { type: String, default: null } }, emits: ["open", "opend", "closed", "close"], setup(e2, { emit: $2 }) {
9
9
  const w = e2, k = C().pageContext, N = $2, S = l(null), T = l([]), P = [{ label: "年", value: "$year" }, { label: "月", value: "$month" }, { label: "季度", value: "$quarter" }, { label: "天", value: "$date" }, { label: "小时,12小时制", value: "$hour12" }, { label: "小时,24小时制", value: "$hour24" }, { label: "分", value: "$minute" }, { label: "分支", value: "$branch" }, { label: "department", value: "$department" }], U = [{ label: "初始化时", value: "initialization" }, { label: "保存时", value: "whenSaving" }], q = l({ differentDataReset: false, continuousMatch: false, publishVersion: "", systemCode: "", enerationMode: "whenSaving" }), x = l({});
10
10
  function A() {
@@ -23,9 +23,9 @@ const h = { class: "operation-area operation-area-float" }, $ = e({ __name: "set
23
23
  const l3 = T.value.filter((l4) => l4.dbColumnName && l4.dbColumnName === e4);
24
24
  l3 && l3.length > 0 && (q.value.fieldName = l3[0].name);
25
25
  }
26
- q.value.id ? (l2 = q.value.id, a2 = q.value, y.put(window.$vueApp.config.globalProperties.baseAPI + `/mms/setting-form-rule-base/${l2}`, a2)).then((e5) => {
26
+ q.value.id ? (q.value, (l2 = q.value.id, a2 = q.value, y.put(window.$vueApp.config.globalProperties.baseAPI + `/mms/setting-form-rule-base/${l2}`, a2)).then((e5) => {
27
27
  q.value = e5, b({ showClose: true, message: "保存成功", type: "success" });
28
- }) : (q.value.systemCode = w.systemCode, function(e5) {
28
+ })) : (q.value.systemCode = w.systemCode, q.value, function(e5) {
29
29
  return y.post(window.$vueApp.config.globalProperties.baseAPI + "/mms/setting-form-rule-base", e5);
30
30
  }(q.value).then((e5) => {
31
31
  q.value = e5, b({ showClose: true, message: "保存成功", type: "success" });
@@ -61,10 +61,10 @@ const h = { class: "operation-area operation-area-float" }, $ = e({ __name: "set
61
61
  q.value.publishVersion = w.publishVersion, q.value.systemCode = w.systemCode;
62
62
  }), (e3, l2) => {
63
63
  const a2 = t("el-input"), b2 = t("el-form-item"), y2 = t("el-col"), C2 = t("el-row"), g2 = t("el-button"), $3 = t("el-option"), w2 = t("el-select"), N2 = t("el-tag"), I = t("el-switch"), j = t("el-form"), R = t("el-card"), J = t("el-dialog");
64
- return o(), u("div", null, [n(J, { "close-on-click-modal": false, title: "表单编号管理", "append-to-body": "", fullscreen: "", "model-value": "", onClose: l2[10] || (l2[10] = () => X()) }, { default: s(() => [n(R, { style: { height: "100%", "overflow-y": "scroll", "margin-bottom": "40px" } }, { default: s(() => [n(j, { ref_key: "form", ref: x, model: q.value, "label-position": "left", "label-width": "160px" }, { default: s(() => [n(C2, { gutter: 22 }, { default: s(() => [n(y2, { span: 12 }, { default: s(() => [n(b2, { label: "规则编号", rules: [{ required: true, message: "此项不能为空", trigger: "blur" }], prop: "ruleCode" }, { default: s(() => [n(a2, { modelValue: q.value.ruleCode, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => q.value.ruleCode = e4) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), n(y2, { span: 12 }, { default: s(() => [n(b2, { label: "规则名称", rules: [{ required: true, message: "此项不能为空", trigger: "blur" }], prop: "ruleName" }, { default: s(() => [n(a2, { modelValue: q.value.ruleName, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => q.value.ruleName = e4) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }), n(C2, { gutter: 22 }, { default: s(() => [n(y2, { span: 12 }, { default: s(() => [n(b2, { label: "数据表名", rules: [{ required: true, message: "此项不能为空", trigger: "blur" }], prop: "entityTableCode" }, { default: s(() => [n(a2, { modelValue: q.value.entityTableCode, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => q.value.entityTableCode = e4), title: q.value.entityTableCode, onClick: z, clearable: "", readonly: "true" }, { append: s(() => [n(g2, { type: "default", icon: r(V), size: "small", onClick: z }, null, 8, ["icon"]), n(g2, { type: "default", icon: r(_), title: "Clear", size: "small", onClick: D }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 })]), _: 1 }), n(y2, { span: 12 }, { default: s(() => [n(b2, { label: "编号字段", rules: [{ required: true, message: "此项不能为空", trigger: "blur" }], prop: "field" }, { default: s(() => [n(w2, { modelValue: q.value.field, "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => q.value.field = e4), "allow-create": "", clearable: "", filterable: "", placeholder: "请选择", style: { "padding-left": "10px" } }, { default: s(() => [(o(true), u(i, null, m(T.value, (e4) => (o(), p($3, { key: e4.dbColumnName, label: e4.alias + " " + (e4.dbColumnName === e4.alias ? "" : e4.dbColumnName), value: e4.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }), n(C2, { gutter: 22 }, { default: s(() => [n(y2, { span: 24 }, { default: s(() => [n(b2, { label: "规则设置", rules: [{ required: true, message: "此项不能为空", trigger: "blur" }], prop: "ruleSet" }, { default: s(() => [(o(), u(i, null, m(P, (e4) => n(N2, { key: e4.value, style: { "margin-left": "20px" }, onClick: (l3) => {
64
+ return o(), u("div", null, [n(J, { "close-on-click-modal": false, title: "表单编号管理", "append-to-body": "", fullscreen: "", "model-value": "", onClose: l2[10] || (l2[10] = () => X()) }, { default: s(() => [n(R, { style: { height: "100%", "overflow-y": "scroll", "margin-bottom": "40px" } }, { default: s(() => [n(j, { ref_key: "form", ref: x, model: q.value, "label-position": "left", "label-width": "160px" }, { default: s(() => [n(C2, { gutter: 22 }, { default: s(() => [n(y2, { span: 12 }, { default: s(() => [n(b2, { label: "规则编号", rules: [{ required: true, message: "此项不能为空", trigger: "blur" }], prop: "ruleCode" }, { default: s(() => [n(a2, { modelValue: q.value.ruleCode, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => q.value.ruleCode = e4) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), n(y2, { span: 12 }, { default: s(() => [n(b2, { label: "规则名称", rules: [{ required: true, message: "此项不能为空", trigger: "blur" }], prop: "ruleName" }, { default: s(() => [n(a2, { modelValue: q.value.ruleName, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => q.value.ruleName = e4) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }), n(C2, { gutter: 22 }, { default: s(() => [n(y2, { span: 12 }, { default: s(() => [n(b2, { label: "数据表名", rules: [{ required: true, message: "此项不能为空", trigger: "blur" }], prop: "entityTableCode" }, { default: s(() => [n(a2, { modelValue: q.value.entityTableCode, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => q.value.entityTableCode = e4), title: q.value.entityTableCode, onClick: z, clearable: "", readonly: "true" }, { append: s(() => [n(g2, { type: "default", icon: r(_), size: "small", onClick: z }, null, 8, ["icon"]), n(g2, { type: "default", icon: r(V), title: "Clear", size: "small", onClick: D }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 })]), _: 1 }), n(y2, { span: 12 }, { default: s(() => [n(b2, { label: "编号字段", rules: [{ required: true, message: "此项不能为空", trigger: "blur" }], prop: "field" }, { default: s(() => [n(w2, { modelValue: q.value.field, "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => q.value.field = e4), "allow-create": "", clearable: "", filterable: "", placeholder: "请选择", style: { "padding-left": "10px" } }, { default: s(() => [(o(true), u(i, null, m(T.value, (e4) => (o(), p($3, { key: e4.dbColumnName, label: e4.alias + " " + (e4.dbColumnName === e4.alias ? "" : e4.dbColumnName), value: e4.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }), n(C2, { gutter: 22 }, { default: s(() => [n(y2, { span: 24 }, { default: s(() => [n(b2, { label: "规则设置", rules: [{ required: true, message: "此项不能为空", trigger: "blur" }], prop: "ruleSet" }, { default: s(() => [(o(), u(i, null, m(P, (e4) => n(N2, { key: e4.value, style: { "margin-left": "20px" }, onClick: (l3) => {
65
65
  return a3 = e4, void (q.value.ruleSet ? q.value.ruleSet = q.value.ruleSet + a3.value : q.value.ruleSet = a3.value);
66
66
  var a3;
67
- } }, { default: s(() => [v(f(e4.label), 1)]), _: 2 }, 1032, ["onClick"])), 64)), n(a2, { modelValue: q.value.ruleSet, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => q.value.ruleSet = e4) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }), n(C2, { gutter: 22 }, { default: s(() => [n(y2, { span: 12 }, { default: s(() => [n(b2, { label: "是否需要连续编号" }, { default: s(() => [n(I, { modelValue: q.value.continuousMatch, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => q.value.continuousMatch = e4) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), n(y2, { span: 12 }, { default: s(() => [n(b2, { label: "不同值是否需要重置" }, { default: s(() => [n(I, { modelValue: q.value.differentDataReset, "onUpdate:modelValue": l2[6] || (l2[6] = (e4) => q.value.differentDataReset = e4) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }), n(b2, { label: "生成时间", prop: "enerationMode" }, { default: s(() => [n(w2, { modelValue: q.value.enerationMode, "onUpdate:modelValue": l2[7] || (l2[7] = (e4) => q.value.enerationMode = e4), clearable: "", style: { "padding-left": "10px" } }, { default: s(() => [(o(), u(i, null, m(U, (e4) => n($3, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(b2, { label: "规则填写说明" }, { default: s(() => l2[11] || (l2[11] = [d("div", { style: { display: "block" } }, [d("div", null, " 1. 静态默认参数设置:$year年,$month月,$quarter季,$date天,$hour12(小时,12小时制),$hour24(小时,24小时制),$minute分 "), d("div", null, "2. 表单支态参数设置:格式为,如:BPPJ-${factory}-$year-$month;"), d("div", null, " 3. 编号规则设置必须带有流水号 ,流水号以X表示,如三位流水号,则以三个XXX表示:BPPJ-${factory}-$year-$month-XXX ")], -1)])), _: 1 }), n(b2, { label: "拓展参数(条件)", prop: "developmentConditions" }, { default: s(() => [n(a2, { modelValue: q.value.developmentConditions, "onUpdate:modelValue": l2[8] || (l2[8] = (e4) => q.value.developmentConditions = e4) }, null, 8, ["modelValue"])]), _: 1 }), n(b2, { label: "拓展参数(条件)说明:" }, { default: s(() => l2[12] || (l2[12] = [d("div", null, "1. 为hql 语句 前辍为t 如:t.factory = 'B1' or t.factory = 'B2'", -1)])), _: 1 }), n(b2, { label: "效果预览", prop: "preview" }, { default: s(() => [n(a2, { modelValue: q.value.preview, "onUpdate:modelValue": l2[9] || (l2[9] = (e4) => q.value.preview = e4) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["model"])]), _: 1 }), d("div", h, [n(g2, { size: "default", type: "primary", onClick: M }, { default: s(() => l2[13] || (l2[13] = [v("保存 ")])), _: 1 }), n(g2, { type: "default", class: "button--default", size: "default", onClick: A }, { default: s(() => l2[14] || (l2[14] = [v("预览 ")])), _: 1 }), n(g2, { type: "default", class: "button--default", size: "default", onClick: X }, { default: s(() => l2[15] || (l2[15] = [v(" 关闭 ")])), _: 1 })])]), _: 1 }), n(c, { ref_key: "selectTableDialog", ref: S, onSelectTable: B, systemCode: r(k).systemCode, systemVersion: r(k).systemVersion }, null, 8, ["systemCode", "systemVersion"])]);
67
+ } }, { default: s(() => [v(f(e4.label), 1)]), _: 2 }, 1032, ["onClick"])), 64)), n(a2, { modelValue: q.value.ruleSet, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => q.value.ruleSet = e4) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }), n(C2, { gutter: 22 }, { default: s(() => [n(y2, { span: 12 }, { default: s(() => [n(b2, { label: "是否需要连续编号" }, { default: s(() => [n(I, { modelValue: q.value.continuousMatch, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => q.value.continuousMatch = e4) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), n(y2, { span: 12 }, { default: s(() => [n(b2, { label: "不同值是否需要重置" }, { default: s(() => [n(I, { modelValue: q.value.differentDataReset, "onUpdate:modelValue": l2[6] || (l2[6] = (e4) => q.value.differentDataReset = e4) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }), n(b2, { label: "生成时间", prop: "enerationMode" }, { default: s(() => [n(w2, { modelValue: q.value.enerationMode, "onUpdate:modelValue": l2[7] || (l2[7] = (e4) => q.value.enerationMode = e4), clearable: "", style: { "padding-left": "10px" } }, { default: s(() => [(o(), u(i, null, m(U, (e4) => n($3, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(b2, { label: "规则填写说明" }, { default: s(() => l2[11] || (l2[11] = [d("div", { style: { display: "block" } }, [d("div", null, " 1. 静态默认参数设置:$year年,$month月,$quarter季,$date天,$hour12(小时,12小时制),$hour24(小时,24小时制),$minute分 "), d("div", null, "2. 表单支态参数设置:格式为,如:BPPJ-${factory}-$year-$month;"), d("div", null, " 3. 编号规则设置必须带有流水号 ,流水号以X表示,如三位流水号,则以三个XXX表示:BPPJ-${factory}-$year-$month-XXX ")], -1)])), _: 1, __: [11] }), n(b2, { label: "拓展参数(条件)", prop: "developmentConditions" }, { default: s(() => [n(a2, { modelValue: q.value.developmentConditions, "onUpdate:modelValue": l2[8] || (l2[8] = (e4) => q.value.developmentConditions = e4) }, null, 8, ["modelValue"])]), _: 1 }), n(b2, { label: "拓展参数(条件)说明:" }, { default: s(() => l2[12] || (l2[12] = [d("div", null, "1. 为hql 语句 前辍为t 如:t.factory = 'B1' or t.factory = 'B2'", -1)])), _: 1, __: [12] }), n(b2, { label: "效果预览", prop: "preview" }, { default: s(() => [n(a2, { modelValue: q.value.preview, "onUpdate:modelValue": l2[9] || (l2[9] = (e4) => q.value.preview = e4) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["model"])]), _: 1 }), d("div", h, [n(g2, { size: "default", type: "primary", onClick: M }, { default: s(() => l2[13] || (l2[13] = [v("保存 ", -1)])), _: 1, __: [13] }), n(g2, { type: "default", class: "button--default", size: "default", onClick: A }, { default: s(() => l2[14] || (l2[14] = [v("预览 ", -1)])), _: 1, __: [14] }), n(g2, { type: "default", class: "button--default", size: "default", onClick: X }, { default: s(() => l2[15] || (l2[15] = [v(" 关闭 ", -1)])), _: 1, __: [15] })])]), _: 1 }), n(c, { ref_key: "selectTableDialog", ref: S, onSelectTable: B, systemCode: r(k).systemCode, systemVersion: r(k).systemVersion }, null, 8, ["systemCode", "systemVersion"])]);
68
68
  };
69
69
  } });
70
70
  export {
@@ -3,8 +3,8 @@ import { CirclePlus as y, Delete as c } from "@element-plus/icons-vue";
3
3
  import v from "../../common/common-select-table.vue.js";
4
4
  import { queryTableFields as b } from "../../../../utils/page-table-util.js";
5
5
  import { usePageContextStore as V } from "../../../../../../stores/page-store.js";
6
- const g = { class: "dialog-footer" }, C = e({ __name: "weight-field-input", props: { systemCode: { type: String, default: "" }, judgeHeavyList: { type: Array, default: () => [] }, systemVersion: { type: Number, default: null }, fieldList: { type: Array, default: () => [] } }, emits: ["save"], setup(e2, { emit: C2 }) {
7
- const _ = V(), h = e2, w = C2, k = l({});
6
+ const _ = { class: "dialog-footer" }, g = e({ __name: "weight-field-input", props: { systemCode: { type: String, default: "" }, judgeHeavyList: { type: Array, default: () => [] }, systemVersion: { type: Number, default: null }, fieldList: { type: Array, default: () => [] } }, emits: ["save"], setup(e2, { emit: g2 }) {
7
+ const C = V(), h = e2, w = g2, k = l({});
8
8
  l({});
9
9
  const L = l([]), S = l(null), U = l("");
10
10
  function j(e3) {
@@ -15,7 +15,7 @@ const g = { class: "dialog-footer" }, C = e({ __name: "weight-field-input", prop
15
15
  L.value[U.value].tableSysCode = e3.systemCode, L.value[U.value].tableSysVersion = e3.systemVersion, L.value[U.value].tableName = e3.name, L.value[U.value].tableAlias = e3.alias;
16
16
  const l3 = h.systemCode, a3 = h.systemVersion;
17
17
  b(l3, a3, e3.name).then((e4) => {
18
- h.configure.modelFields = e4, _.setPageContext(h.configure);
18
+ h.configure.modelFields = e4, C.setPageContext(h.configure);
19
19
  });
20
20
  }
21
21
  }
@@ -34,16 +34,16 @@ const g = { class: "dialog-footer" }, C = e({ __name: "weight-field-input", prop
34
34
  return a(() => {
35
35
  h.judgeHeavyList && (L.value = h.judgeHeavyList);
36
36
  }), (l2, a2) => {
37
- const b2 = t("el-button"), V2 = t("el-row"), C3 = t("el-option"), _2 = t("el-select"), w2 = t("el-table-column"), k2 = t("el-input"), U2 = t("el-table"), F = t("el-dialog");
38
- return s(), o(F, { "model-value": "", title: "判重组合字段", "append-to-body": "", onBeforeClose: a2[1] || (a2[1] = () => l2.$emit("close")) }, { footer: u(() => [f("div", g, [i(b2, { type: "default", onClick: a2[0] || (a2[0] = (e3) => l2.$emit("close")) }, { default: u(() => a2[4] || (a2[4] = [d("取消")])), _: 1 }), i(b2, { type: "primary", onClick: A }, { default: u(() => a2[5] || (a2[5] = [d(" 确定 ")])), _: 1 })])]), default: u(() => [i(V2, { style: { "padding-bottom": "8px" } }, { default: u(() => [i(b2, { icon: n(y), plain: "", type: "primary", onClick: z }, { default: u(() => a2[2] || (a2[2] = [d(" 添加 ")])), _: 1 }, 8, ["icon"]), i(b2, { icon: n(c), plain: "", type: "primary", onClick: N }, { default: u(() => a2[3] || (a2[3] = [d(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), i(U2, { "highlight-current-row": "", onCurrentChange: x, data: L.value, style: { width: "100%" } }, { default: u(() => [i(w2, { prop: "date", label: "判重字段", align: "center" }, { default: u((l3) => [i(_2, { modelValue: l3.row.duplicateFieldList, "onUpdate:modelValue": (e3) => l3.row.duplicateFieldList = e3, size: "default", filterable: "", multiple: "", clearable: "", placeholder: "请选择", onChange: (e3) => function(e4, l4) {
37
+ const b2 = t("el-button"), V2 = t("el-row"), g3 = t("el-option"), C2 = t("el-select"), w2 = t("el-table-column"), k2 = t("el-input"), U2 = t("el-table"), F = t("el-dialog");
38
+ return s(), o(F, { "model-value": "", title: "判重组合字段", "append-to-body": "", onBeforeClose: a2[1] || (a2[1] = () => l2.$emit("close")) }, { footer: u(() => [f("div", _, [i(b2, { type: "default", onClick: a2[0] || (a2[0] = (e3) => l2.$emit("close")) }, { default: u(() => a2[4] || (a2[4] = [d("取消", -1)])), _: 1, __: [4] }), i(b2, { type: "primary", onClick: A }, { default: u(() => a2[5] || (a2[5] = [d(" 确定 ", -1)])), _: 1, __: [5] })])]), default: u(() => [i(V2, { style: { "padding-bottom": "8px" } }, { default: u(() => [i(b2, { icon: n(y), plain: "", type: "primary", onClick: z }, { default: u(() => a2[2] || (a2[2] = [d(" 添加 ", -1)])), _: 1, __: [2] }, 8, ["icon"]), i(b2, { icon: n(c), plain: "", type: "primary", onClick: N }, { default: u(() => a2[3] || (a2[3] = [d(" 删除 ", -1)])), _: 1, __: [3] }, 8, ["icon"])]), _: 1 }), i(U2, { "highlight-current-row": "", onCurrentChange: x, data: L.value, style: { width: "100%" } }, { default: u(() => [i(w2, { prop: "date", label: "判重字段", align: "center" }, { default: u((l3) => [i(C2, { modelValue: l3.row.duplicateFieldList, "onUpdate:modelValue": (e3) => l3.row.duplicateFieldList = e3, size: "default", filterable: "", multiple: "", clearable: "", placeholder: "请选择", onChange: (e3) => function(e4, l4) {
39
39
  l4.fieldalias = "", 0 != e4.length && (h.fieldList.forEach((a3) => {
40
40
  e4.forEach((e5) => {
41
41
  a3.dbColumnName === e5 && (l4.fieldalias += a3.alias + ",");
42
42
  });
43
43
  }), l4.fieldalias = l4.fieldalias.substring(0, l4.fieldalias.lastIndexOf(",")));
44
- }(e3, l3.row) }, { default: u(() => [(s(true), r(m, null, p(e2.fieldList, (e3, l4) => (s(), o(C3, { key: l4, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }), i(w2, { prop: "date", label: "字段别名", align: "center" }, { default: u((e3) => [i(k2, { modelValue: e3.row.fieldalias, "onUpdate:modelValue": (l3) => e3.row.fieldalias = l3, type: "textarea", readonly: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), i(w2, { prop: "name", label: "重复时提示", align: "center" }, { default: u((e3) => [i(k2, { size: "default", clearable: "", modelValue: e3.row.tips, "onUpdate:modelValue": (l3) => e3.row.tips = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), i(w2, { prop: "address", label: "重复时提示国际化key", align: "center" }, { default: u((e3) => [i(k2, { size: "default", clearable: "", modelValue: e3.row.tipsI18nKey, "onUpdate:modelValue": (l3) => e3.row.tipsI18nKey = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"]), i(v, { ref_key: "selectTableDialog", ref: S, onSelectTable: j, systemCode: e2.systemCode, systemVersion: e2.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 });
44
+ }(e3, l3.row) }, { default: u(() => [(s(true), r(m, null, p(e2.fieldList, (e3, l4) => (s(), o(g3, { key: l4, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }), i(w2, { prop: "date", label: "字段别名", align: "center" }, { default: u((e3) => [i(k2, { modelValue: e3.row.fieldalias, "onUpdate:modelValue": (l3) => e3.row.fieldalias = l3, type: "textarea", readonly: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), i(w2, { prop: "name", label: "重复时提示", align: "center" }, { default: u((e3) => [i(k2, { size: "default", clearable: "", modelValue: e3.row.tips, "onUpdate:modelValue": (l3) => e3.row.tips = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), i(w2, { prop: "address", label: "重复时提示国际化key", align: "center" }, { default: u((e3) => [i(k2, { size: "default", clearable: "", modelValue: e3.row.tipsI18nKey, "onUpdate:modelValue": (l3) => e3.row.tipsI18nKey = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"]), i(v, { ref_key: "selectTableDialog", ref: S, onSelectTable: j, systemCode: e2.systemCode, systemVersion: e2.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 });
45
45
  };
46
46
  } });
47
47
  export {
48
- C as default
48
+ g as default
49
49
  };
@@ -10,8 +10,8 @@ const m = { style: { "padding-bottom": "8px" } }, f = e({ __name: "create-workfl
10
10
  });
11
11
  }
12
12
  return (e3, l2) => {
13
- const f3 = o("el-button"), s2 = o("el-input"), g = o("el-form-item"), _ = o("el-form"), b = o("el-dialog");
14
- return u(), a(b, { "append-to-body": "", "model-value": "", title: "新建流程", onClose: c }, { default: t(() => [d("div", m, [r(f3, { type: "default", onClick: v }, { default: t(() => l2[2] || (l2[2] = [n("确定 ")])), _: 1 })]), r(_, { ref_key: "wfInfoRef", ref: p, model: i.value }, { default: t(() => [r(g, { label: "流程编码", prop: "code", rules: [{ required: true, message: "此项不能为空", trigger: "blur" }] }, { default: t(() => [r(s2, { modelValue: i.value.code, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => i.value.code = e4) }, null, 8, ["modelValue"])]), _: 1 }), r(g, { label: "流程名称", prop: "name", rules: [{ required: true, message: "此项不能为空", trigger: "blur" }] }, { default: t(() => [r(s2, { modelValue: i.value.name, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => i.value.name = e4) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["model"])]), _: 1 });
13
+ const f3 = o("el-button"), s2 = o("el-input"), _ = o("el-form-item"), g = o("el-form"), b = o("el-dialog");
14
+ return u(), a(b, { "append-to-body": "", "model-value": "", title: "新建流程", onClose: c }, { default: t(() => [d("div", m, [r(f3, { type: "default", onClick: v }, { default: t(() => l2[2] || (l2[2] = [n("确定 ", -1)])), _: 1, __: [2] })]), r(g, { ref_key: "wfInfoRef", ref: p, model: i.value }, { default: t(() => [r(_, { label: "流程编码", prop: "code", rules: [{ required: true, message: "此项不能为空", trigger: "blur" }] }, { default: t(() => [r(s2, { modelValue: i.value.code, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => i.value.code = e4) }, null, 8, ["modelValue"])]), _: 1 }), r(_, { label: "流程名称", prop: "name", rules: [{ required: true, message: "此项不能为空", trigger: "blur" }] }, { default: t(() => [r(s2, { modelValue: i.value.name, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => i.value.name = e4) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["model"])]), _: 1 });
15
15
  };
16
16
  } });
17
17
  export {
@@ -25,7 +25,7 @@ const I = { style: { padding: "8px 0px 0px 0px" } }, N = { class: "amb-design-at
25
25
  e3 && !R2.configure.props.formNoRuleCode && (R2.configure.props.formNoRuleCode = e3), F(), S.value = false;
26
26
  }
27
27
  function E(e3) {
28
- e3.target.value = e3.target.value.trim();
28
+ e3.target.value, e3.target.value = e3.target.value.trim();
29
29
  }
30
30
  function F() {
31
31
  let e3 = window.$vueApp.config.globalProperties.baseAPI + "/mms/systems/getByCode/" + R2.configure.systemCode;
@@ -43,7 +43,7 @@ const I = { style: { padding: "8px 0px 0px 0px" } }, N = { class: "amb-design-at
43
43
  F();
44
44
  }), (e3, l2) => {
45
45
  const o2 = i("el-option"), C2 = i("el-select"), F2 = i("el-button"), U = i("el-form-item"), j = i("el-input"), z = i("el-text"), B = i("el-collapse-item"), K = i("el-table-column"), H = i("Delete"), X = i("el-icon"), M = i("el-table"), $ = i("el-collapse"), G = i("el-form");
46
- return a(), t(G, { "label-width": "80px", size: "small" }, { default: n(() => [r($, { modelValue: x.value, "onUpdate:modelValue": l2[6] || (l2[6] = (e4) => x.value = e4), style: { "margin-top": "6px" } }, { default: n(() => [r(B, { title: "高级配置", name: "formNumber", class: "amb-design-attr-group-header" }, { default: n(() => [s("div", I, [r(U, { label: "编号规则" }, { default: n(() => [s("div", N, [r(C2, { modelValue: e3.configure.props.formNoRuleCode, "onUpdate:modelValue": l2[0] || (l2[0] = (l3) => e3.configure.props.formNoRuleCode = l3), placeholder: "请选择", clearable: "", filterable: "" }, { default: n(() => [(a(true), p(m, null, d(A.value, (e4) => (a(), t(o2, { label: e4.ruleCode + " " + (e4.ruleName === e4.ruleCode ? "" : "(" + e4.ruleName + ")"), value: e4.ruleCode }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"]), r(F2, { onClick: l2[1] || (l2[1] = (e4) => S.value = true), style: { "margin-left": "10px" }, type: "primary", icon: f(g), circle: "" }, null, 8, ["icon"])])]), _: 1 }), r(U, { label: "业务处理", title: "后台业务处理类", style: { "margin-top": "-10px" } }, { default: n(() => [r(j, { modelValue: e3.configure.props.beanName, "onUpdate:modelValue": l2[2] || (l2[2] = (l3) => e3.configure.props.beanName = l3), onBlur: E }, null, 8, ["modelValue"]), s("div", T, [r(z, { type: "primary" }, { default: n(() => l2[7] || (l2[7] = [c("继承CommonBaseServiceImpl基类")])), _: 1 })])]), _: 1 }), r(U, { label: "导入处理", title: "后台导入业务处理类", style: { "margin-top": "-10px" } }, { default: n(() => [r(j, { modelValue: e3.configure.props.importBeanName, "onUpdate:modelValue": l2[3] || (l2[3] = (l3) => e3.configure.props.importBeanName = l3), onBlur: E }, null, 8, ["modelValue"]), s("div", V, [r(z, { type: "primary" }, { default: n(() => l2[8] || (l2[8] = [c("继承ImportDefinitionServiceImpl基类")])), _: 1 })])]), _: 1 }), r(U, { label: "判重字段", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: n(() => [r(F2, { type: "primary", onClick: l2[4] || (l2[4] = (e4) => D.value = true) }, { default: n(() => l2[9] || (l2[9] = [c("编辑字段")])), _: 1 })]), _: 1 }), r(U, { label: "条件", onClick: l2[5] || (l2[5] = (e4) => h.value = true), style: { "margin-top": "20px" } }, { default: n(() => [r(F2, { type: "primary" }, { default: n(() => l2[10] || (l2[10] = [c("无ID初始化条件")])), _: 1 })]), _: 1 })])]), _: 1 }), r(y, { configure: e3.configure }, null, 8, ["configure"]), r(B, { title: "图表初始化查询服务", name: "pagePermissions", class: "amb-design-attr-group-header" }, { default: n(() => [r(M, { data: e3.configure.initChartServiceConfigs, style: { width: "100%", "margin-bottom": "8px" } }, { default: n(() => [r(K, { label: "组件uuid", align: "center", prop: "uuid" }), r(K, { label: "操作", align: "center" }, { default: n((l3) => [r(X, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (o3) => e3.configure.initChartServiceConfigs.splice(l3.$index, 1) }, { default: n(() => [r(H)]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), S.value ? (a(), t(b, { key: 0, code: e3.configure.props.formNoRuleCode, publishVersion: e3.configure.systemVersion, systemCode: e3.configure.systemCode, onClose: k }, null, 8, ["code", "publishVersion", "systemCode"])) : u("", true), D.value ? (a(), t(v, { key: 1, judgeHeavyList: e3.configure.props.judgeHeavyList, fieldList: e3.configure.modelFields, onClose: P, onSave: w, systemCode: e3.configure.systemCode, systemVersion: e3.configure.systemVersion }, null, 8, ["judgeHeavyList", "fieldList", "systemCode", "systemVersion"])) : u("", true), h.value ? (a(), t(_, { key: 2, list: R2.configure.props.notIdInitializationList ? JSON.parse(R2.configure.props.notIdInitializationList) : null, fieldNameList: e3.configure.modelFields, fieldMap: e3.configure.modelFieldsMap, onClose: O, onSave: L }, null, 8, ["list", "fieldNameList", "fieldMap"])) : u("", true)]), _: 1 });
46
+ return a(), t(G, { "label-width": "80px", size: "small" }, { default: n(() => [r($, { modelValue: x.value, "onUpdate:modelValue": l2[6] || (l2[6] = (e4) => x.value = e4), style: { "margin-top": "6px" } }, { default: n(() => [r(B, { title: "高级配置", name: "formNumber", class: "amb-design-attr-group-header" }, { default: n(() => [s("div", I, [r(U, { label: "编号规则" }, { default: n(() => [s("div", N, [r(C2, { modelValue: e3.configure.props.formNoRuleCode, "onUpdate:modelValue": l2[0] || (l2[0] = (l3) => e3.configure.props.formNoRuleCode = l3), placeholder: "请选择", clearable: "", filterable: "" }, { default: n(() => [(a(true), p(m, null, d(A.value, (e4) => (a(), t(o2, { label: e4.ruleCode + " " + (e4.ruleName === e4.ruleCode ? "" : "(" + e4.ruleName + ")"), value: e4.ruleCode }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"]), r(F2, { onClick: l2[1] || (l2[1] = (e4) => S.value = true), style: { "margin-left": "10px" }, type: "primary", icon: f(g), circle: "" }, null, 8, ["icon"])])]), _: 1 }), r(U, { label: "业务处理", title: "后台业务处理类", style: { "margin-top": "-10px" } }, { default: n(() => [r(j, { modelValue: e3.configure.props.beanName, "onUpdate:modelValue": l2[2] || (l2[2] = (l3) => e3.configure.props.beanName = l3), onBlur: E }, null, 8, ["modelValue"]), s("div", T, [r(z, { type: "primary" }, { default: n(() => l2[7] || (l2[7] = [c("继承CommonBaseServiceImpl基类", -1)])), _: 1, __: [7] })])]), _: 1 }), r(U, { label: "导入处理", title: "后台导入业务处理类", style: { "margin-top": "-10px" } }, { default: n(() => [r(j, { modelValue: e3.configure.props.importBeanName, "onUpdate:modelValue": l2[3] || (l2[3] = (l3) => e3.configure.props.importBeanName = l3), onBlur: E }, null, 8, ["modelValue"]), s("div", V, [r(z, { type: "primary" }, { default: n(() => l2[8] || (l2[8] = [c("继承ImportDefinitionServiceImpl基类", -1)])), _: 1, __: [8] })])]), _: 1 }), r(U, { label: "判重字段", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: n(() => [r(F2, { type: "primary", onClick: l2[4] || (l2[4] = (e4) => D.value = true) }, { default: n(() => l2[9] || (l2[9] = [c("编辑字段", -1)])), _: 1, __: [9] })]), _: 1 }), r(U, { label: "条件", onClick: l2[5] || (l2[5] = (e4) => h.value = true), style: { "margin-top": "20px" } }, { default: n(() => [r(F2, { type: "primary" }, { default: n(() => l2[10] || (l2[10] = [c("无ID初始化条件", -1)])), _: 1, __: [10] })]), _: 1 })])]), _: 1 }), r(y, { configure: e3.configure }, null, 8, ["configure"]), r(B, { title: "图表初始化查询服务", name: "pagePermissions", class: "amb-design-attr-group-header" }, { default: n(() => [r(M, { data: e3.configure.initChartServiceConfigs, style: { width: "100%", "margin-bottom": "8px" } }, { default: n(() => [r(K, { label: "组件uuid", align: "center", prop: "uuid" }), r(K, { label: "操作", align: "center" }, { default: n((l3) => [r(X, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (o3) => e3.configure.initChartServiceConfigs.splice(l3.$index, 1) }, { default: n(() => [r(H)]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), S.value ? (a(), t(b, { key: 0, code: e3.configure.props.formNoRuleCode, publishVersion: e3.configure.systemVersion, systemCode: e3.configure.systemCode, onClose: k }, null, 8, ["code", "publishVersion", "systemCode"])) : u("", true), D.value ? (a(), t(v, { key: 1, judgeHeavyList: e3.configure.props.judgeHeavyList, fieldList: e3.configure.modelFields, onClose: P, onSave: w, systemCode: e3.configure.systemCode, systemVersion: e3.configure.systemVersion }, null, 8, ["judgeHeavyList", "fieldList", "systemCode", "systemVersion"])) : u("", true), h.value ? (a(), t(_, { key: 2, list: R2.configure.props.notIdInitializationList ? JSON.parse(R2.configure.props.notIdInitializationList) : null, fieldNameList: e3.configure.modelFields, fieldMap: e3.configure.modelFieldsMap, onClose: O, onSave: L }, null, 8, ["list", "fieldNameList", "fieldMap"])) : u("", true)]), _: 1 });
47
47
  };
48
48
  } });
49
49
  export {
@@ -3,7 +3,7 @@ import { Search as b, Close as y, Setting as k } from "@element-plus/icons";
3
3
  import w from "../common/common-select-table.vue.js";
4
4
  import x from "./variable-dialog.vue.js";
5
5
  import v from "./create-workflow-dialog.vue.js";
6
- import { queryTableFields as V, changeFeieldToMap as _ } from "../../../utils/page-table-util.js";
6
+ import { queryTableFields as _, changeFeieldToMap as V } from "../../../utils/page-table-util.js";
7
7
  import { usePageContextStore as C } from "../../../../../stores/page-store.js";
8
8
  import { queryWorkflowsRequest as h, createWorkflowRequest as W } from "../../../utils/page-design-util.js";
9
9
  import { ElMessageBox as S } from "element-plus";
@@ -27,8 +27,8 @@ const T = { style: { padding: "8px 0px 0px 0px" } }, U = { style: { padding: "8p
27
27
  if (l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != o2) {
28
28
  A.configure.tableSysCode = e3.systemCode, A.configure.tableSysVersion = e3.systemVersion, A.configure.tableName = e3.name, A.configure.tableAlias = e3.alias;
29
29
  const o3 = e3.systemCode ? e3.systemCode : A.configure.systemCode, l3 = e3.systemVersion ? e3.systemVersion : A.configure.systemVersion;
30
- V(o3, l3, e3.name).then((e4) => {
31
- A.configure.modelFields = e4, A.configure.modelFieldsMap = _(A.configure.modelFieldsMap, e4), j2.setPageContext(A.configure);
30
+ _(o3, l3, e3.name).then((e4) => {
31
+ A.configure.modelFields = e4, A.configure.modelFieldsMap = V(A.configure.modelFieldsMap, e4), j2.setPageContext(A.configure);
32
32
  });
33
33
  }
34
34
  }
@@ -74,8 +74,8 @@ const T = { style: { padding: "8px 0px 0px 0px" } }, U = { style: { padding: "8p
74
74
  }) : A.configure.props.activeWorkflow = false;
75
75
  }
76
76
  return oe(A.configure.props ? A.configure.props.workflowSource : null), (e3, o2) => {
77
- const V2 = l("el-text"), _2 = l("el-form-item"), C2 = l("el-input"), h2 = l("el-radio-button"), W2 = l("el-radio-group"), S2 = l("el-switch"), j3 = l("el-option"), q2 = l("el-select"), $2 = l("el-collapse-item"), ee2 = l("el-button"), ne = l("el-tree"), te = l("el-form"), ie = l("el-radio"), ue = l("el-collapse");
78
- return r(), a(te, { "label-width": "80px", size: "small" }, { default: n(() => [t(ue, { modelValue: G.value, "onUpdate:modelValue": o2[9] || (o2[9] = (e4) => G.value = e4), style: { "margin-top": "6px" } }, { default: n(() => [t($2, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: n(() => [u("div", T, [t(_2, { label: "编码" }, { default: n(() => [t(V2, null, { default: n(() => [s(f(e3.configure.code), 1)]), _: 1 })]), _: 1 }), t(_2, { label: "名称", style: { "margin-top": "-10px" } }, { default: n(() => [t(C2, { modelValue: e3.configure.label, "onUpdate:modelValue": o2[0] || (o2[0] = (o3) => e3.configure.label = o3) }, null, 8, ["modelValue"])]), _: 1 }), t(_2, { label: "页面类型", style: { "margin-top": "-10px" } }, { default: n(() => [t(W2, { modelValue: e3.configure.pageType, "onUpdate:modelValue": o2[1] || (o2[1] = (o3) => e3.configure.pageType = o3) }, { default: n(() => [t(h2, { value: "form" }, { default: n(() => o2[10] || (o2[10] = [s("表单")])), _: 1 }), t(h2, { value: "list" }, { default: n(() => o2[11] || (o2[11] = [s("台帐")])), _: 1 }), t(h2, { value: "other" }, { default: n(() => o2[12] || (o2[12] = [s("其他")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), t(_2, { label: "Flex布局", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: n(() => [t(S2, { modelValue: e3.configure.props.isFlex, "onUpdate:modelValue": o2[2] || (o2[2] = (o3) => e3.configure.props.isFlex = o3) }, null, 8, ["modelValue"])]), _: 1 }), e3.configure.props.isFlex ? (r(), a(_2, { key: 0, label: "水平对齐", style: { "margin-top": "18px", "margin-bottom": "-15px" } }, { default: n(() => [t(q2, { modelValue: e3.configure.props.flexJustify, "onUpdate:modelValue": o2[3] || (o2[3] = (o3) => e3.configure.props.flexJustify = o3), placeholder: "默认", clearable: "" }, { default: n(() => [t(j3, { label: "start", value: "start" }), t(j3, { label: "center", value: "center" }), t(j3, { label: "space-between", value: "space-between" }), t(j3, { label: "space-around", value: "space-around" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : i("", true), "2" == e3.configure.props.isFlex ? (r(), a(_2, { key: 1, label: "分栏间隔", style: { "margin-bottom": "-15px", "margin-top": "-10px" } }, { default: n(() => [t(q2, { modelValue: e3.configure.props.flexGutter, "onUpdate:modelValue": o2[4] || (o2[4] = (o3) => e3.configure.props.flexGutter = o3), placeholder: "默认", clearable: "" }, { default: n(() => [(r(true), p(c, null, d(B.value, (e4) => (r(), a(j3, { label: e4, value: e4 }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : i("", true)])]), _: 1 }), t($2, { title: "页面变量", name: "3", class: "amb-design-attr-group-header" }, { default: n(() => [u("div", U, [e3.configure.pageType && "form" != e3.configure.pageType ? i("", true) : (r(), a(_2, { key: 0, label: "数据模型", class: "amb-design-attr-item" }, { default: n(() => [t(C2, { modelValue: e3.configure.tableAlias, "onUpdate:modelValue": o2[5] || (o2[5] = (o3) => e3.configure.tableAlias = o3), onClick: Q, title: e3.configure.tableAlias, clearable: "", size: "small", readonly: "true" }, { append: n(() => [t(ee2, { type: "default", icon: g(b), onClick: Q, size: "small" }, null, 8, ["icon"]), t(ee2, { style: { "margin-left": "5px" }, type: "default", icon: g(y), onClick: m(R, ["stop"]), title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 })), t(te, { "label-position": "top", size: "small" }, { default: n(() => [t(_2, { "label-position": "top", class: "amb-design-attr-item" }, { label: n(() => [o2[13] || (o2[13] = s("   自定义变量 ")), t(ee2, { type: "primary", round: "", icon: g(k), onClick: Y, size: "small" }, null, 8, ["icon"])]), default: n(() => [t(ne, { style: { border: "1px solid #f5f6f8", padding: "10px", width: "100%", "min-height": "100px" }, data: O.value, props: I, "default-expand-all": "", "expand-on-click-node": false }, null, 8, ["data"])]), _: 1 })]), _: 1 })])]), _: 1 }), e3.configure.pageType && "form" != e3.configure.pageType || !A.configure.tableName ? i("", true) : (r(), a($2, { key: 0, title: "工作流", name: "2", class: "amb-design-attr-group-header" }, { default: n(() => [u("div", F, [t(_2, { label: "启用", style: { "margin-bottom": "-14px" } }, { default: n(() => [t(S2, { modelValue: K.value, "onUpdate:modelValue": o2[6] || (o2[6] = (e4) => K.value = e4), onChange: re }, null, 8, ["modelValue"])]), _: 1 }), e3.configure.props.activeWorkflow ? (r(), a(_2, { key: 0, label: "流程来源", style: { "margin-top": "14px", "margin-bottom": "-15px" } }, { default: n(() => [t(W2, { modelValue: e3.configure.props.workflowSource, "onUpdate:modelValue": o2[7] || (o2[7] = (o3) => e3.configure.props.workflowSource = o3), onChange: oe }, { default: n(() => [t(ie, { value: "link" }, { default: n(() => o2[14] || (o2[14] = [s("选择引用")])), _: 1 }), t(ie, { value: "create" }, { default: n(() => o2[15] || (o2[15] = [s("新增流程")])), _: 1 }), e3.configure.props.workflowSource && "create" === e3.configure.props.workflowSource ? (r(), p("span", N, [t(ee2, { type: "default", onClick: le }, { default: n(() => o2[16] || (o2[16] = [s("新增")])), _: 1 })])) : i("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : i("", true), e3.configure.props.activeWorkflow && e3.configure.props.workflowSource && "link" === e3.configure.props.workflowSource ? (r(), a(_2, { key: 1, label: "选择引用", style: { "margin-top": "18px", "margin-bottom": "-12px" } }, { default: n(() => [t(q2, { modelValue: E.value, "onUpdate:modelValue": o2[8] || (o2[8] = (e4) => E.value = e4), onChange: L }, { default: n(() => [(r(true), p(c, null, d(P.value, (e4) => (r(), a(j3, { key: e4.code, label: e4.name, value: e4.code }, { default: n(() => [u("span", D, f(e4.name), 1), u("span", z, f(e4.code), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : i("", true), e3.configure.props.activeWorkflow && e3.configure.props.workflowSource && "link" === e3.configure.props.workflowSource ? (r(), a(_2, { key: 2, label: "流程编码", style: { "margin-top": "18px", "margin-bottom": "-12px" } }, { default: n(() => [s(f(e3.configure.props.linkWorkflowCode), 1)]), _: 1 })) : i("", true), e3.configure.props.activeWorkflow && e3.configure.props.workflowSource && "create" === e3.configure.props.workflowSource ? (r(), a(_2, { key: 3, label: "流程名称", style: { "margin-top": "18px", "margin-bottom": "-12px" } }, { default: n(() => [s(f(e3.configure.props.createWorkflowName), 1)]), _: 1 })) : i("", true), e3.configure.props.activeWorkflow && e3.configure.props.workflowSource && "create" === e3.configure.props.workflowSource ? (r(), a(_2, { key: 4, label: "流程编码", style: { "margin-top": "18px", "margin-bottom": "-12px" } }, { default: n(() => [s(f(e3.configure.props.createWorkflowCode), 1)]), _: 1 })) : i("", true)])]), _: 1 }))]), _: 1 }, 8, ["modelValue"]), t(w, { ref_key: "selectTableDialog", ref: J, onSelectTable: X, systemCode: e3.configure.systemCode, systemVersion: e3.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"]), t(x, { ref_key: "refVariableDialog", ref: M, pageDesign: e3.configure, onClose: Z }, null, 8, ["pageDesign"]), H.value ? (r(), a(v, { key: 0, pageDesign: e3.configure, onClose: ae }, null, 8, ["pageDesign"])) : i("", true)]), _: 1 });
77
+ const _2 = l("el-text"), V2 = l("el-form-item"), C2 = l("el-input"), h2 = l("el-radio-button"), W2 = l("el-radio-group"), S2 = l("el-switch"), j3 = l("el-option"), q2 = l("el-select"), $2 = l("el-collapse-item"), ee2 = l("el-button"), ne = l("el-tree"), te = l("el-form"), ie = l("el-radio"), ue = l("el-collapse");
78
+ return r(), a(te, { "label-width": "80px", size: "small" }, { default: n(() => [t(ue, { modelValue: G.value, "onUpdate:modelValue": o2[9] || (o2[9] = (e4) => G.value = e4), style: { "margin-top": "6px" } }, { default: n(() => [t($2, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: n(() => [u("div", T, [t(V2, { label: "编码" }, { default: n(() => [t(_2, null, { default: n(() => [s(f(e3.configure.code), 1)]), _: 1 })]), _: 1 }), t(V2, { label: "名称", style: { "margin-top": "-10px" } }, { default: n(() => [t(C2, { modelValue: e3.configure.label, "onUpdate:modelValue": o2[0] || (o2[0] = (o3) => e3.configure.label = o3) }, null, 8, ["modelValue"])]), _: 1 }), t(V2, { label: "页面类型", style: { "margin-top": "-10px" } }, { default: n(() => [t(W2, { modelValue: e3.configure.pageType, "onUpdate:modelValue": o2[1] || (o2[1] = (o3) => e3.configure.pageType = o3) }, { default: n(() => [t(h2, { value: "form" }, { default: n(() => o2[10] || (o2[10] = [s("表单", -1)])), _: 1, __: [10] }), t(h2, { value: "list" }, { default: n(() => o2[11] || (o2[11] = [s("台帐", -1)])), _: 1, __: [11] }), t(h2, { value: "other" }, { default: n(() => o2[12] || (o2[12] = [s("其他", -1)])), _: 1, __: [12] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), t(V2, { label: "Flex布局", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: n(() => [t(S2, { modelValue: e3.configure.props.isFlex, "onUpdate:modelValue": o2[2] || (o2[2] = (o3) => e3.configure.props.isFlex = o3) }, null, 8, ["modelValue"])]), _: 1 }), e3.configure.props.isFlex ? (r(), a(V2, { key: 0, label: "水平对齐", style: { "margin-top": "18px", "margin-bottom": "-15px" } }, { default: n(() => [t(q2, { modelValue: e3.configure.props.flexJustify, "onUpdate:modelValue": o2[3] || (o2[3] = (o3) => e3.configure.props.flexJustify = o3), placeholder: "默认", clearable: "" }, { default: n(() => [t(j3, { label: "start", value: "start" }), t(j3, { label: "center", value: "center" }), t(j3, { label: "space-between", value: "space-between" }), t(j3, { label: "space-around", value: "space-around" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : i("", true), "2" == e3.configure.props.isFlex ? (r(), a(V2, { key: 1, label: "分栏间隔", style: { "margin-bottom": "-15px", "margin-top": "-10px" } }, { default: n(() => [t(q2, { modelValue: e3.configure.props.flexGutter, "onUpdate:modelValue": o2[4] || (o2[4] = (o3) => e3.configure.props.flexGutter = o3), placeholder: "默认", clearable: "" }, { default: n(() => [(r(true), p(c, null, d(B.value, (e4) => (r(), a(j3, { label: e4, value: e4 }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : i("", true)])]), _: 1 }), t($2, { title: "页面变量", name: "3", class: "amb-design-attr-group-header" }, { default: n(() => [u("div", U, [e3.configure.pageType && "form" != e3.configure.pageType ? i("", true) : (r(), a(V2, { key: 0, label: "数据模型", class: "amb-design-attr-item" }, { default: n(() => [t(C2, { modelValue: e3.configure.tableAlias, "onUpdate:modelValue": o2[5] || (o2[5] = (o3) => e3.configure.tableAlias = o3), onClick: Q, title: e3.configure.tableAlias, clearable: "", size: "small", readonly: "true" }, { append: n(() => [t(ee2, { type: "default", icon: g(b), onClick: Q, size: "small" }, null, 8, ["icon"]), t(ee2, { style: { "margin-left": "5px" }, type: "default", icon: g(y), onClick: m(R, ["stop"]), title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 })), t(te, { "label-position": "top", size: "small" }, { default: n(() => [t(V2, { "label-position": "top", class: "amb-design-attr-item" }, { label: n(() => [o2[13] || (o2[13] = s("   自定义变量 ", -1)), t(ee2, { type: "primary", round: "", icon: g(k), onClick: Y, size: "small" }, null, 8, ["icon"])]), default: n(() => [t(ne, { style: { border: "1px solid #f5f6f8", padding: "10px", width: "100%", "min-height": "100px" }, data: O.value, props: I, "default-expand-all": "", "expand-on-click-node": false }, null, 8, ["data"])]), _: 1 })]), _: 1 })])]), _: 1 }), e3.configure.pageType && "form" != e3.configure.pageType || !A.configure.tableName ? i("", true) : (r(), a($2, { key: 0, title: "工作流", name: "2", class: "amb-design-attr-group-header" }, { default: n(() => [u("div", F, [t(V2, { label: "启用", style: { "margin-bottom": "-14px" } }, { default: n(() => [t(S2, { modelValue: K.value, "onUpdate:modelValue": o2[6] || (o2[6] = (e4) => K.value = e4), onChange: re }, null, 8, ["modelValue"])]), _: 1 }), e3.configure.props.activeWorkflow ? (r(), a(V2, { key: 0, label: "流程来源", style: { "margin-top": "14px", "margin-bottom": "-15px" } }, { default: n(() => [t(W2, { modelValue: e3.configure.props.workflowSource, "onUpdate:modelValue": o2[7] || (o2[7] = (o3) => e3.configure.props.workflowSource = o3), onChange: oe }, { default: n(() => [t(ie, { value: "link" }, { default: n(() => o2[14] || (o2[14] = [s("选择引用", -1)])), _: 1, __: [14] }), t(ie, { value: "create" }, { default: n(() => o2[15] || (o2[15] = [s("新增流程", -1)])), _: 1, __: [15] }), e3.configure.props.workflowSource && "create" === e3.configure.props.workflowSource ? (r(), p("span", N, [t(ee2, { type: "default", onClick: le }, { default: n(() => o2[16] || (o2[16] = [s("新增", -1)])), _: 1, __: [16] })])) : i("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : i("", true), e3.configure.props.activeWorkflow && e3.configure.props.workflowSource && "link" === e3.configure.props.workflowSource ? (r(), a(V2, { key: 1, label: "选择引用", style: { "margin-top": "18px", "margin-bottom": "-12px" } }, { default: n(() => [t(q2, { modelValue: E.value, "onUpdate:modelValue": o2[8] || (o2[8] = (e4) => E.value = e4), onChange: L }, { default: n(() => [(r(true), p(c, null, d(P.value, (e4) => (r(), a(j3, { key: e4.code, label: e4.name, value: e4.code }, { default: n(() => [u("span", D, f(e4.name), 1), u("span", z, f(e4.code), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : i("", true), e3.configure.props.activeWorkflow && e3.configure.props.workflowSource && "link" === e3.configure.props.workflowSource ? (r(), a(V2, { key: 2, label: "流程编码", style: { "margin-top": "18px", "margin-bottom": "-12px" } }, { default: n(() => [s(f(e3.configure.props.linkWorkflowCode), 1)]), _: 1 })) : i("", true), e3.configure.props.activeWorkflow && e3.configure.props.workflowSource && "create" === e3.configure.props.workflowSource ? (r(), a(V2, { key: 3, label: "流程名称", style: { "margin-top": "18px", "margin-bottom": "-12px" } }, { default: n(() => [s(f(e3.configure.props.createWorkflowName), 1)]), _: 1 })) : i("", true), e3.configure.props.activeWorkflow && e3.configure.props.workflowSource && "create" === e3.configure.props.workflowSource ? (r(), a(V2, { key: 4, label: "流程编码", style: { "margin-top": "18px", "margin-bottom": "-12px" } }, { default: n(() => [s(f(e3.configure.props.createWorkflowCode), 1)]), _: 1 })) : i("", true)])]), _: 1 }))]), _: 1 }, 8, ["modelValue"]), t(w, { ref_key: "selectTableDialog", ref: J, onSelectTable: X, systemCode: e3.configure.systemCode, systemVersion: e3.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"]), t(x, { ref_key: "refVariableDialog", ref: M, pageDesign: e3.configure, onClose: Z }, null, 8, ["pageDesign"]), H.value ? (r(), a(v, { key: 0, pageDesign: e3.configure, onClose: ae }, null, 8, ["pageDesign"])) : i("", true)]), _: 1 });
79
79
  };
80
80
  } });
81
81
  export {
@@ -48,7 +48,7 @@ const y = { key: 0 }, V = { key: 0 }, h = { key: 0 }, v = { key: 0 }, k = e({ __
48
48
  l4.items || (l4.items = []);
49
49
  const a2 = E();
50
50
  a2.level = l4.level + 1, l4.items.push(a2);
51
- }(e4.$index, e4.row) }, { default: i(() => l2[1] || (l2[1] = [w("添加下级节点")])), _: 2 }, 1032, ["onClick"])) : p("", true), e4.row.isArrayElement ? p("", true) : (t(), o(B, { key: 1, size: "small", onClick: (l3) => q(e4.$index, e4.row) }, { default: i(() => l2[2] || (l2[2] = [w("添加相邻节点")])), _: 2 }, 1032, ["onClick"]))]), _: 2 }, 1024)]), default: i(() => [n(H2, { type: "primary", icon: c(f), size: "small", circle: "" }, null, 8, ["icon"])]), _: 2 }, 1024), n(R, { class: "box-item", effect: "dark", content: "删除", placement: "top" }, { default: i(() => [n(H2, { type: "danger", size: "small", disabled: e4.row.isArrayElement, icon: c(g), circle: "", onClick: (l3) => j(e4.$index, e4.row) }, null, 8, ["disabled", "icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue"]);
51
+ }(e4.$index, e4.row) }, { default: i(() => l2[1] || (l2[1] = [w("添加下级节点", -1)])), _: 2, __: [1] }, 1032, ["onClick"])) : p("", true), e4.row.isArrayElement ? p("", true) : (t(), o(B, { key: 1, size: "small", onClick: (l3) => q(e4.$index, e4.row) }, { default: i(() => l2[2] || (l2[2] = [w("添加相邻节点", -1)])), _: 2, __: [2] }, 1032, ["onClick"]))]), _: 2 }, 1024)]), default: i(() => [n(H2, { type: "primary", icon: c(f), size: "small", circle: "" }, null, 8, ["icon"])]), _: 2 }, 1024), n(R, { class: "box-item", effect: "dark", content: "删除", placement: "top" }, { default: i(() => [n(H2, { type: "danger", size: "small", disabled: e4.row.isArrayElement, icon: c(g), circle: "", onClick: (l3) => j(e4.$index, e4.row) }, null, 8, ["disabled", "icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue"]);
52
52
  };
53
53
  } });
54
54
  export {
@@ -4,12 +4,12 @@ import c from "../../common/common-variable-bind.vue.js";
4
4
  import "element-plus";
5
5
  import { getOperators as y } from "../../../../utils/data-table-util.js";
6
6
  import { getModelOptionsByFields as V } from "../../../../utils/page-table-util.js";
7
- const g = e({ __name: "combination", props: { list: { type: Array, default: () => [] }, fieldNameList: { type: Array, default: () => [] }, fieldMap: { type: Object, default: () => {
8
- } }, dataFieldNameList: { type: Array, default: () => [] }, paramTypes: { type: Array, default: null } }, emits: ["remove", "save", "close"], setup(e2, { emit: g2 }) {
9
- const w = e2, _ = g2, h = l({}), N = l([]), k = l([]), U = l([]), C = l();
10
- w.fieldNameList && w.fieldNameList.length > 0 && (U.value = V(w.fieldNameList));
7
+ const _ = e({ __name: "combination", props: { list: { type: Array, default: () => [] }, fieldNameList: { type: Array, default: () => [] }, fieldMap: { type: Object, default: () => {
8
+ } }, dataFieldNameList: { type: Array, default: () => [] }, paramTypes: { type: Array, default: null } }, emits: ["remove", "save", "close"], setup(e2, { emit: _2 }) {
9
+ const g = e2, w = _2, h = l({}), N = l([]), k = l([]), U = l([]), C = l();
10
+ g.fieldNameList && g.fieldNameList.length > 0 && (U.value = V(g.fieldNameList));
11
11
  const L = l([]);
12
- let j = w.dataFieldNameList;
12
+ let j = g.dataFieldNameList;
13
13
  function z() {
14
14
  h.value && 0 !== Object.keys(h.value).length ? N.value = N.value.filter((e3) => e3 != h.value) : N.value.pop();
15
15
  }
@@ -19,18 +19,18 @@ const g = e({ __name: "combination", props: { list: { type: Array, default: () =
19
19
  function x() {
20
20
  N.value.push({ leftBracket: "", propName: "", operator: "", rightBracket: "", joinSign: "" }), k.value.push([]);
21
21
  }
22
- w.dataFieldNameList && 0 !== w.dataFieldNameList.length ? L.value = V(j) : L.value = U.value, N.value = w.list, N.value.length > 0 && N.value.forEach((e3, l2) => {
22
+ g.dataFieldNameList && 0 !== g.dataFieldNameList.length ? L.value = V(j) : L.value = U.value, N.value = g.list, N.value.length > 0 && N.value.forEach((e3, l2) => {
23
23
  "date" === e3.type ? N.value[l2].isDate = true : N.value[l2].isDate = false;
24
- let a2 = w.fieldMap[e3.propDbName];
24
+ let a2 = g.fieldMap[e3.propDbName];
25
25
  k.value[l2] = y(a2);
26
26
  });
27
27
  const M = (e3) => e3.propDbName + e3.operator + e3.propValue;
28
28
  function B() {
29
- N.value = N.value.filter((e3) => e3.propName), _("save", N.value), _("close");
29
+ N.value = N.value.filter((e3) => e3.propName), w("save", N.value), w("close");
30
30
  }
31
31
  return (l2, V2) => {
32
- const g3 = a("el-button"), _2 = a("el-row"), h2 = a("el-icon"), j2 = a("el-table-column"), O = a("el-option"), T = a("el-select"), A = a("el-table"), F = a("el-dialog");
33
- return o(), t(F, { "append-to-body": "", "model-value": "", title: "组合条件", width: "70%", "close-on-click-modal": false, "before-close": B }, { default: u(() => [d(_2, { style: { "padding-bottom": "8px" } }, { default: u(() => [d(g3, { icon: r(s), plain: "", type: "primary", onClick: x }, { default: u(() => V2[0] || (V2[0] = [n(" 添加 ")])), _: 1 }, 8, ["icon"]), d(g3, { icon: r(f), plain: "", type: "primary", onClick: z }, { default: u(() => V2[1] || (V2[1] = [n(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), d(A, { ref_key: "tableRef", ref: C, "highlight-current-row": "", onCurrentChange: D, data: N.value, "row-key": M, style: { width: "100%" } }, { default: u(() => [d(j2, { width: "50", align: "center" }, { default: u((e3) => [d(h2, { size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4, l4) {
32
+ const _3 = a("el-button"), w2 = a("el-row"), h2 = a("el-icon"), j2 = a("el-table-column"), O = a("el-option"), T = a("el-select"), A = a("el-table"), F = a("el-dialog");
33
+ return o(), t(F, { "append-to-body": "", "model-value": "", title: "组合条件", width: "70%", "close-on-click-modal": false, "before-close": B }, { default: u(() => [d(w2, { style: { "padding-bottom": "8px" } }, { default: u(() => [d(_3, { icon: r(s), plain: "", type: "primary", onClick: x }, { default: u(() => V2[0] || (V2[0] = [n(" 添加 ", -1)])), _: 1, __: [0] }, 8, ["icon"]), d(_3, { icon: r(f), plain: "", type: "primary", onClick: z }, { default: u(() => V2[1] || (V2[1] = [n(" 删除 ", -1)])), _: 1, __: [1] }, 8, ["icon"])]), _: 1 }), d(A, { ref_key: "tableRef", ref: C, "highlight-current-row": "", onCurrentChange: D, data: N.value, "row-key": M, style: { width: "100%" } }, { default: u(() => [d(j2, { width: "50", align: "center" }, { default: u((e3) => [d(h2, { size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4, l4) {
34
34
  if (0 === l4) return;
35
35
  const a2 = N.value;
36
36
  [a2[l4 - 1], a2[l4]] = [a2[l4], a2[l4 - 1]], C.value.doLayout();
@@ -39,7 +39,7 @@ const g = e({ __name: "combination", props: { list: { type: Array, default: () =
39
39
  const a2 = N.value;
40
40
  [a2[l4], a2[l4 + 1]] = [a2[l4 + 1], a2[l4]], C.value.doLayout();
41
41
  }(e3.row, e3.$index) }, { default: u(() => [d(r(b))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), d(j2, { prop: "date", label: "(", width: "80", align: "center" }, { default: u((e3) => [d(T, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l3) => e3.row.leftBracket = l3, clearable: "", size: "default" }, { default: u(() => [d(O, { label: "", value: "" }), d(O, { label: "(", value: "(" }), d(O, { label: "((", value: "((" }), d(O, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(j2, { prop: "name", label: "字段名(*)", align: "center" }, { default: u((l3) => [d(T, { modelValue: l3.row.propDbName, "onUpdate:modelValue": (e3) => l3.row.propDbName = e3, clearable: "", filterable: "", size: "default", onChange: (e3) => function(e4, l4, a2) {
42
- const t2 = w.fieldMap[a2];
42
+ const t2 = g.fieldMap[a2];
43
43
  t2 && "date" === t2.type ? N.value[e4].isDate = true : N.value[e4].isDate = false, l4.propName = t2 ? t2.name : null, l4.dataType = t2 ? t2.dataType : null, k.value[e4] = y(t2);
44
44
  }(l3.$index, l3.row, l3.row.propDbName) }, { default: u(() => [(o(true), i(p, null, m(e2.fieldNameList, (e3, l4) => (o(), t(O, { key: l4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }), d(j2, { prop: "address", label: "操作符", align: "center" }, { default: u((e3) => [d(T, { modelValue: e3.row.operator, "onUpdate:modelValue": (l3) => e3.row.operator = l3, clearable: "", filterable: "", size: "default" }, { default: u(() => [(o(true), i(p, null, m(k.value[e3.$index], (e4) => (o(), t(O, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(j2, { prop: "address", label: "值(*)", align: "center" }, { default: u((l3) => [d(c, { size: "default", modelValue: l3.row.propValue, dataModelOptions: L.value, objModelOptions: U.value, paramTypes: e2.paramTypes, "onUpdate:modelValue": (e3) => {
45
45
  return a2 = e3, void (l3.row.propValue = a2);
@@ -48,5 +48,5 @@ const g = e({ __name: "combination", props: { list: { type: Array, default: () =
48
48
  };
49
49
  } });
50
50
  export {
51
- g as default
51
+ _ as default
52
52
  };