super-page-designer 2.0.78 → 2.0.82

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 (68) hide show
  1. package/dist/es/components/design/utils/assemblys-config.js +23 -23
  2. package/dist/es/components/design/utils/form-design-util.d.ts +2 -1
  3. package/dist/es/components/design/utils/form-design-util.js +76 -4
  4. package/dist/es/components/design/utils/interfaces/page-design-types.d.ts +1 -0
  5. package/dist/es/components/design/utils/page-design-util.d.ts +1 -0
  6. package/dist/es/components/design/utils/page-design-util.js +27 -0
  7. package/dist/es/components/design/utils/page-table-util.js +19 -3
  8. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue2.js +3 -18
  9. package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +10 -9
  10. package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +13 -6
  11. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-design.vue2.js +2 -0
  12. package/dist/es/components/design/views/assemblys/common/common-variable-bind-option.js +4 -0
  13. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.d.ts +1 -1
  14. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
  15. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +9 -6
  16. package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +3 -20
  17. package/dist/es/components/design/views/assemblys/container/collapse/collapse-design.vue2.js +3 -20
  18. package/dist/es/components/design/views/assemblys/container/container/container-design.vue2.js +3 -20
  19. package/dist/es/components/design/views/assemblys/container/flex/flex-design.vue2.js +3 -20
  20. package/dist/es/components/design/views/assemblys/container/form/form-design.vue2.js +3 -20
  21. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +4 -20
  22. package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +3 -20
  23. package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +1 -1
  24. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +1 -1
  25. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +1 -2
  26. package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +3 -5
  27. package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +16 -16
  28. package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
  29. package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +5 -3
  30. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +5 -1560
  31. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +1860 -1
  32. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue3.js +1 -0
  33. package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +9 -12
  34. package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +11 -7
  35. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue.js +1 -1
  36. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +36 -92
  37. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +2 -1
  38. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +13 -14
  39. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +5 -0
  40. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +9 -12
  41. package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +2 -1
  42. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +5 -10
  43. package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +7 -11
  44. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +7 -11
  45. package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +7 -11
  46. package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +7 -11
  47. package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js +5 -10
  48. package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +7 -11
  49. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +7 -11
  50. package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +7 -11
  51. package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +7 -11
  52. package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +7 -11
  53. package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +7 -11
  54. package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.d.ts +9 -0
  55. package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +21 -10
  56. package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +8 -3
  57. package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +9 -7
  58. package/dist/es/components/design/views/design/page-design.vue.js +4 -0
  59. package/dist/es/components/design/views/design/page-event/config.vue.js +1 -7
  60. package/dist/es/components/design/views/design/page-event/config.vue2.js +7 -1
  61. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +33 -4
  62. package/dist/es/components/design/views/design/view/attr-container.vue.js +1 -1
  63. package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
  64. package/dist/es/components/design/views/design/view/page-switch.vue2.js +1 -3
  65. package/dist/es/components/design/views/design/view/view-design-display.vue.js +4 -21
  66. package/dist/es/stores/table-store.js +2 -3
  67. package/dist/es/style.css +73 -68
  68. package/package.json +4 -4
@@ -1,4 +1,1863 @@
1
- import _sfc_main from "./tablecolumn-attr-base.vue.js";
1
+ import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createCommentVNode, createTextVNode, unref, createElementBlock, Fragment, renderList, normalizeClass, withDirectives, vShow, pushScopeId, popScopeId } from "vue";
2
+ import { Setting, Search, Close } from "@element-plus/icons-vue";
3
+ import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
4
+ import _sfc_main$7 from "../component/querySetting.vue.js";
5
+ import DataOrigin from "../../form/common/data-origin.vue.js";
6
+ import BindVariable from "../../common/common-variable-bind.vue.js";
7
+ import { setGroupHeaderDataDisplayOrder, deleteGroupHeaderByColumnUuid } from "../../../../utils/data-table-util.js";
8
+ import { getUuidv4 } from "../../../../utils/common-util.js";
9
+ import eventBus from "../../../../utils/eventBus.js";
10
+ import _sfc_main$1 from "../component/variate-select.vue.js";
11
+ import _sfc_main$5 from "../../form/common/suffixmodule.vue.js";
12
+ import "../../form/common/icon-set-dialog.vue3.js";
13
+ import _sfc_main$2 from "../../common/common-function-code.vue.js";
14
+ import _sfc_main$8 from "../../common/common-select-table.vue.js";
15
+ import { queryTableFields, tableResetConfigIndo } from "../../../../utils/page-table-util.js";
16
+ import { usePageContextStore } from "../../../../../../stores/page-store.js";
17
+ import _sfc_main$3 from "../../form/common/condition.vue.js";
18
+ import _sfc_main$4 from "../component/dynamic-column.vue.js";
19
+ import _sfc_main$6 from "../component/formatting-icon-label.vue.js";
20
+ import http from "agilebuilder-ui/src/utils/request";
21
+ const _withScopeId = (n) => (pushScopeId("data-v-22fb759a"), n = n(), popScopeId(), n);
22
+ const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
23
+ const _hoisted_2 = { class: "amb-design-attr-item-inline" };
24
+ const _hoisted_3 = { style: { "padding": "8px 0px 0px 0px" } };
25
+ const _hoisted_4 = ["onClick"];
26
+ const _hoisted_5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, "列模型设置", -1));
27
+ const _hoisted_6 = { style: { "padding": "8px 0px 0px 0px" } };
28
+ const _hoisted_7 = { style: { "padding": "8px 0px 0px 0px" } };
29
+ const _hoisted_8 = { style: { "padding": "8px 0px 0px 0px" } };
30
+ const _hoisted_9 = { style: { "padding": "8px 0px 0px 0px" } };
31
+ const _hoisted_10 = { style: { "padding": "8px 0px 0px 0px" } };
32
+ const _sfc_main = /* @__PURE__ */ defineComponent({
33
+ __name: "tablecolumn-attr-base",
34
+ props: {
35
+ // 当前列数据
36
+ configure: {
37
+ type: Object,
38
+ default: () => ({ props: {} })
39
+ },
40
+ // 表格总体数据
41
+ tableConfigure: {
42
+ type: Object,
43
+ default: () => ({ props: {} })
44
+ },
45
+ // 页面对象
46
+ pageDesign: {
47
+ type: Object,
48
+ default: () => ({ props: {} })
49
+ }
50
+ },
51
+ setup(__props) {
52
+ const props = __props;
53
+ const openCollapseItems = ref([
54
+ "base",
55
+ "editLine",
56
+ "formatting",
57
+ "appearance",
58
+ "verification",
59
+ "userDefined",
60
+ "dataOrigin",
61
+ "columnModel"
62
+ ]);
63
+ const selectConditionRef = ref(null);
64
+ const updateConditionRef = ref(null);
65
+ const queryConditionRef = ref(null);
66
+ const modelTableFieldList = ref([]);
67
+ const groupHeaders = props.tableConfigure.props.groupHeaders;
68
+ const selectTableDialog = ref(null);
69
+ const pageContextUtil = usePageContextStore();
70
+ const operationColumn = ref(false);
71
+ created();
72
+ function created() {
73
+ if (!props.configure.props.format) {
74
+ props.configure.props.format = {};
75
+ }
76
+ if (props.configure.props.base && props.configure.props.base.prop === "operation") {
77
+ operationColumn.value = true;
78
+ } else {
79
+ operationColumn.value = false;
80
+ }
81
+ if (!props.configure.props.dynamicColumnData) {
82
+ props.configure.props.dynamicColumnData = {};
83
+ }
84
+ if (!props.configure.props.dynamicColumnData.selectCondition) {
85
+ props.configure.props.dynamicColumnData.selectCondition = [];
86
+ }
87
+ if (!props.configure.props.dynamicColumnData.updateCondition) {
88
+ props.configure.props.dynamicColumnData.updateCondition = [];
89
+ }
90
+ if (!props.configure.props.dynamicColumnData.columnModelTable) {
91
+ props.configure.props.dynamicColumnData.columnModelTable = [];
92
+ }
93
+ }
94
+ const selectTableType = ref("");
95
+ function selectTable(type) {
96
+ selectTableDialog.value.openDialog();
97
+ selectTableType.value = type;
98
+ }
99
+ function clearTable(type) {
100
+ if (type == "masterTable") {
101
+ props.configure.props.dynamicColumnData.tableName = "";
102
+ props.configure.props.dynamicColumnData.tableAlias = "";
103
+ props.configure.props.dynamicColumnData.dataTableCode = null;
104
+ props.configure.props.dynamicColumnData.tableSysVersion = null;
105
+ } else {
106
+ props.configure.props.dynamicColumnData.settingDataName = "";
107
+ props.configure.props.dynamicColumnData.settingDataAlias = "";
108
+ props.configure.props.dynamicColumnData.settingDataTableCode = null;
109
+ props.configure.props.dynamicColumnData.settingDataSysVersion = null;
110
+ }
111
+ }
112
+ function onSelectTable(tableInfo) {
113
+ if (selectTableType.value == "masterTable") {
114
+ let hisKey = props.configure.props.dynamicColumnData.dataTableCode ? props.configure.props.dynamicColumnData.dataTableCode : "";
115
+ hisKey += "_";
116
+ hisKey += props.configure.props.dynamicColumnData.tableSysVersion ? props.configure.props.dynamicColumnData.tableSysVersion : "";
117
+ hisKey += "_";
118
+ hisKey += props.configure.props.dynamicColumnData.tableName ? props.configure.props.dynamicColumnData.tableName : "";
119
+ let newKey = tableInfo.systemCode ? tableInfo.systemCode : "";
120
+ newKey += "_";
121
+ newKey += tableInfo.systemVersion ? tableInfo.systemVersion : "";
122
+ newKey += "_";
123
+ newKey += tableInfo.name ? tableInfo.name : "";
124
+ if (newKey != hisKey) {
125
+ props.configure.props.dynamicColumnData.dataTableCode = tableInfo.systemCode;
126
+ props.configure.props.dynamicColumnData.tableSysVersion = tableInfo.systemVersion;
127
+ props.configure.props.dynamicColumnData.tableName = tableInfo.name;
128
+ props.configure.props.dynamicColumnData.tableAlias = tableInfo.alias;
129
+ queryTableFieldsByTable();
130
+ }
131
+ } else {
132
+ let hisKey = props.configure.props.dynamicColumnData.settingDataTableCode ? props.configure.props.dynamicColumnData.settingDataTableCode : "";
133
+ hisKey += "_";
134
+ hisKey += props.configure.props.dynamicColumnData.settingDataSysVersion ? props.configure.props.dynamicColumnData.settingDataSysVersion : "";
135
+ hisKey += "_";
136
+ hisKey += props.configure.props.dynamicColumnData.settingDataName ? props.configure.props.dynamicColumnData.settingDataName : "";
137
+ let newKey = tableInfo.systemCode ? tableInfo.systemCode : "";
138
+ newKey += "_";
139
+ newKey += tableInfo.systemVersion ? tableInfo.systemVersion : "";
140
+ newKey += "_";
141
+ newKey += tableInfo.name ? tableInfo.name : "";
142
+ if (newKey != hisKey) {
143
+ props.configure.props.dynamicColumnData.settingDataTableCode = tableInfo.systemCode;
144
+ props.configure.props.dynamicColumnData.settingDataSysVersion = tableInfo.systemVersion;
145
+ props.configure.props.dynamicColumnData.settingDataName = tableInfo.name;
146
+ props.configure.props.dynamicColumnData.settingDataAlias = tableInfo.alias;
147
+ queryTableFieldsByTableSublist();
148
+ }
149
+ }
150
+ }
151
+ let clolumnTableFields = ref([]);
152
+ function queryTableFieldsByTableSublist() {
153
+ const systemCode = props.configure.props.dynamicColumnData.settingDataTableCode ? props.configure.props.dynamicColumnData.settingDataTableCode : pageContextUtil.pageContext.systemCode;
154
+ const systemVersion = props.configure.props.dynamicColumnData.settingDataSysVersion ? props.configure.props.dynamicColumnData.settingDataSysVersion : pageContextUtil.pageContext.systemVersion;
155
+ const tableName = props.configure.props.dynamicColumnData.settingDataName;
156
+ if (!tableName) {
157
+ return;
158
+ }
159
+ queryTableFields(systemCode, systemVersion, tableName).then((resultFields) => {
160
+ console.log("%c描述-111942", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", resultFields);
161
+ clolumnTableFields.value = resultFields;
162
+ queryConditionRef.value.changeTableFields(resultFields);
163
+ selectConditionRef.value.changeTableFields(resultFields);
164
+ updateConditionRef.value.changeTableFields(resultFields);
165
+ }).catch((error) => {
166
+ console.log("数据源中查询表字段失败!", error);
167
+ });
168
+ }
169
+ function queryTableFieldsByTable() {
170
+ const systemCode = props.configure.props.dynamicColumnData.dataTableCode ? props.configure.props.dynamicColumnData.dataTableCode : pageContextUtil.pageContext.systemCode;
171
+ const systemVersion = props.configure.props.dynamicColumnData.tableSysVersion ? props.configure.props.dynamicColumnData.tableSysVersion : pageContextUtil.pageContext.systemVersion;
172
+ const tableName = props.configure.props.dynamicColumnData.tableName;
173
+ if (!tableName) {
174
+ return;
175
+ }
176
+ queryTableFields(systemCode, systemVersion, tableName).then((resultFields) => {
177
+ modelTableFieldList.value = resultFields;
178
+ queryConditionRef.value.changeTableFields(resultFields);
179
+ }).catch((error) => {
180
+ console.log("数据源中查询表字段失败!", error);
181
+ });
182
+ }
183
+ const querySettingVisible = ref(false);
184
+ function closeFuerySettingValue() {
185
+ querySettingVisible.value = false;
186
+ }
187
+ function querySettingAdd(addForm) {
188
+ props.configure.props.querySetting = addForm;
189
+ }
190
+ function editChange(val) {
191
+ if (!val) {
192
+ props.configure.name = "";
193
+ } else {
194
+ props.tableConfigure.props.base.editable = true;
195
+ }
196
+ }
197
+ function moduleChange(value) {
198
+ tableResetConfigIndo(props.configure, value);
199
+ }
200
+ function changeGroupHeader(newValue) {
201
+ const columnUuid = props.configure.uuid;
202
+ if (props.tableConfigure.props.base.isEnableGroupHeader) {
203
+ if (newValue && props.tableConfigure.props.base.isEnableGroupHeader) {
204
+ const columns = groupHeaders.filter((item) => item.columnUuid === columnUuid);
205
+ if (!columns || columns.length === 0) {
206
+ let columnHeader = {
207
+ uuid: getUuidv4(),
208
+ columnUuid,
209
+ titleText: props.configure.props.base.name,
210
+ isLeaf: true
211
+ };
212
+ const parentUuid = null;
213
+ setGroupHeaderDataDisplayOrder(parentUuid, columnHeader, groupHeaders);
214
+ groupHeaders.push(columnHeader);
215
+ }
216
+ } else if (props.tableConfigure.props.base.isEnableGroupHeader) {
217
+ deleteGroupHeaderByColumnUuid(groupHeaders, columnUuid);
218
+ }
219
+ } else {
220
+ eventBus.$emit("setHiddenColumsName", { name: props.configure.props.base.name, value: newValue });
221
+ }
222
+ }
223
+ function afterBindDefaultValue(modelValue) {
224
+ props.configure.props.base.defaultValue = modelValue;
225
+ }
226
+ function updateOrder() {
227
+ eventBus.$emit("reloadTable-" + props.tableConfigure.uuid);
228
+ }
229
+ const atPresentSortIndex = ref("");
230
+ function seleteSort(index) {
231
+ atPresentSortIndex.value = index;
232
+ }
233
+ function addSortField() {
234
+ if (!props.configure.props.dynamicColumnData.dataTableSortTable) {
235
+ props.configure.props.dynamicColumnData.dataTableSortTable = [];
236
+ }
237
+ props.configure.props.dynamicColumnData.dataTableSortTable.push({ name: "", type: "" });
238
+ atPresentSortIndex.value = "";
239
+ }
240
+ function removeSortField() {
241
+ if (props.configure.props.dynamicColumnData.dataTableSortTable.length > 0) {
242
+ props.configure.props.dynamicColumnData.dataTableSortTable.splice(props.configure.props.dynamicColumnData.dataTableSortTable.length - 1, 1);
243
+ }
244
+ }
245
+ const queryOptionGroupLoading = ref(false);
246
+ const optionGroups = ref([]);
247
+ function queryOptionGroups(query) {
248
+ queryOptionGroupLoading.value = true;
249
+ const param = {
250
+ query
251
+ };
252
+ http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/option-groups/query", param).then((result) => {
253
+ queryOptionGroupLoading.value = false;
254
+ optionGroups.value = result;
255
+ }).catch((error) => {
256
+ queryOptionGroupLoading.value = false;
257
+ console.log("查询选项组出错", error);
258
+ });
259
+ }
260
+ return (_ctx, _cache) => {
261
+ const _component_el_input = resolveComponent("el-input");
262
+ const _component_el_form_item = resolveComponent("el-form-item");
263
+ const _component_el_radio = resolveComponent("el-radio");
264
+ const _component_el_radio_group = resolveComponent("el-radio-group");
265
+ const _component_el_switch = resolveComponent("el-switch");
266
+ const _component_el_option = resolveComponent("el-option");
267
+ const _component_el_select = resolveComponent("el-select");
268
+ const _component_el_icon = resolveComponent("el-icon");
269
+ const _component_el_collapse_item = resolveComponent("el-collapse-item");
270
+ const _component_el_button = resolveComponent("el-button");
271
+ const _component_el_divider = resolveComponent("el-divider");
272
+ const _component_el_input_number = resolveComponent("el-input-number");
273
+ const _component_el_checkbox = resolveComponent("el-checkbox");
274
+ const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
275
+ const _component_el_col = resolveComponent("el-col");
276
+ const _component_el_collapse = resolveComponent("el-collapse");
277
+ const _component_el_form = resolveComponent("el-form");
278
+ return openBlock(), createBlock(_component_el_form, {
279
+ "label-width": "80px",
280
+ size: "small"
281
+ }, {
282
+ default: withCtx(() => [
283
+ createVNode(_component_el_collapse, {
284
+ modelValue: openCollapseItems.value,
285
+ "onUpdate:modelValue": _cache[58] || (_cache[58] = ($event) => openCollapseItems.value = $event),
286
+ style: { "margin-top": "6px" }
287
+ }, {
288
+ default: withCtx(() => [
289
+ createVNode(_component_el_collapse_item, {
290
+ title: "基本",
291
+ name: "base",
292
+ class: "amb-design-attr-group-header"
293
+ }, {
294
+ default: withCtx(() => [
295
+ createElementVNode("div", _hoisted_1, [
296
+ createVNode(_component_el_form_item, {
297
+ label: "唯一编码",
298
+ class: "amb-design-attr-item"
299
+ }, {
300
+ default: withCtx(() => [
301
+ createVNode(_component_el_input, {
302
+ modelValue: __props.configure.uuid,
303
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.configure.uuid = $event),
304
+ readonly: "",
305
+ title: __props.configure.uuid
306
+ }, null, 8, ["modelValue", "title"])
307
+ ]),
308
+ _: 1
309
+ }),
310
+ !operationColumn.value ? (openBlock(), createBlock(_component_el_form_item, {
311
+ key: 0,
312
+ label: "绑定变量",
313
+ class: "amb-design-attr-item"
314
+ }, {
315
+ default: withCtx(() => [
316
+ createVNode(_sfc_main$1, {
317
+ showDynamicColumn: true,
318
+ showPlaceholder: true,
319
+ prop: __props.configure.props.base.prop,
320
+ "onUpdate:prop": _cache[1] || (_cache[1] = ($event) => __props.configure.props.base.prop = $event),
321
+ propType: __props.configure.props.base.propType,
322
+ "onUpdate:propType": _cache[2] || (_cache[2] = ($event) => __props.configure.props.base.propType = $event),
323
+ tableConfigure: __props.tableConfigure
324
+ }, null, 8, ["prop", "propType", "tableConfigure"])
325
+ ]),
326
+ _: 1
327
+ })) : createCommentVNode("", true),
328
+ createVNode(_component_el_form_item, {
329
+ label: "标题",
330
+ class: "amb-design-attr-item"
331
+ }, {
332
+ default: withCtx(() => [
333
+ createVNode(_component_el_input, {
334
+ modelValue: __props.configure.props.base.name,
335
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => __props.configure.props.base.name = $event),
336
+ disabled: __props.configure.props.base.prop === "$index" || __props.configure.props.base.prop === "$selection",
337
+ placeholder: "请输入"
338
+ }, null, 8, ["modelValue", "disabled"])
339
+ ]),
340
+ _: 1
341
+ }),
342
+ createVNode(_component_el_form_item, {
343
+ label: "绑定权限",
344
+ class: "amb-design-attr-item"
345
+ }, {
346
+ default: withCtx(() => [
347
+ createVNode(_sfc_main$2, { configure: __props.configure }, null, 8, ["configure"])
348
+ ]),
349
+ _: 1
350
+ }),
351
+ createVNode(_component_el_form_item, {
352
+ label: "显示顺序",
353
+ class: "amb-design-attr-item"
354
+ }, {
355
+ default: withCtx(() => [
356
+ createVNode(_component_el_input, {
357
+ modelValue: __props.configure.props.base.displayOrder,
358
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => __props.configure.props.base.displayOrder = $event),
359
+ modelModifiers: { number: true },
360
+ onBlur: updateOrder,
361
+ placeholder: "请输入"
362
+ }, null, 8, ["modelValue"])
363
+ ]),
364
+ _: 1
365
+ }),
366
+ !operationColumn.value ? (openBlock(), createBlock(_component_el_form_item, {
367
+ key: 1,
368
+ label: "是否显示 ",
369
+ class: "amb-design-attr-item"
370
+ }, {
371
+ default: withCtx(() => [
372
+ createVNode(_component_el_radio_group, {
373
+ modelValue: __props.configure.props.base.visible,
374
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => __props.configure.props.base.visible = $event),
375
+ class: "ml-4",
376
+ onChange: changeGroupHeader
377
+ }, {
378
+ default: withCtx(() => [
379
+ createVNode(_component_el_radio, { value: true }, {
380
+ default: withCtx(() => [
381
+ createTextVNode("是")
382
+ ]),
383
+ _: 1
384
+ }),
385
+ createVNode(_component_el_radio, { value: false }, {
386
+ default: withCtx(() => [
387
+ createTextVNode("否")
388
+ ]),
389
+ _: 1
390
+ })
391
+ ]),
392
+ _: 1
393
+ }, 8, ["modelValue"])
394
+ ]),
395
+ _: 1
396
+ })) : createCommentVNode("", true),
397
+ !operationColumn.value ? (openBlock(), createBlock(_component_el_form_item, {
398
+ key: 2,
399
+ label: "是否导出",
400
+ class: "amb-design-attr-item"
401
+ }, {
402
+ default: withCtx(() => [
403
+ createVNode(_component_el_switch, {
404
+ modelValue: __props.configure.props.base.exportable,
405
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.configure.props.base.exportable = $event)
406
+ }, null, 8, ["modelValue"])
407
+ ]),
408
+ _: 1
409
+ })) : createCommentVNode("", true),
410
+ !operationColumn.value ? (openBlock(), createBlock(_component_el_form_item, {
411
+ key: 3,
412
+ label: "查询设置",
413
+ class: "amb-design-attr-item"
414
+ }, {
415
+ default: withCtx(() => [
416
+ createElementVNode("div", _hoisted_2, [
417
+ createVNode(_component_el_select, {
418
+ modelValue: __props.configure.props.base.querySettingName,
419
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => __props.configure.props.base.querySettingName = $event)
420
+ }, {
421
+ default: withCtx(() => [
422
+ createVNode(_component_el_option, {
423
+ label: "不查询",
424
+ value: "no"
425
+ }),
426
+ createVNode(_component_el_option, {
427
+ label: "普通查询",
428
+ value: "normal"
429
+ }),
430
+ createVNode(_component_el_option, {
431
+ label: "高级查询",
432
+ value: "advanced"
433
+ })
434
+ ]),
435
+ _: 1
436
+ }, 8, ["modelValue"]),
437
+ __props.configure.props.base.querySettingName === "normal" || __props.configure.props.base.querySettingName === "advanced" ? (openBlock(), createBlock(_component_el_icon, {
438
+ key: 0,
439
+ style: { "margin-left": "10px" },
440
+ onClick: _cache[8] || (_cache[8] = ($event) => querySettingVisible.value = true)
441
+ }, {
442
+ default: withCtx(() => [
443
+ createVNode(unref(Setting))
444
+ ]),
445
+ _: 1
446
+ })) : createCommentVNode("", true)
447
+ ])
448
+ ]),
449
+ _: 1
450
+ })) : createCommentVNode("", true),
451
+ !operationColumn.value && (__props.configure.props.base.querySettingName === "normal" || __props.configure.props.base.querySettingName === "advanced") && __props.configure.props.base.propType === "STRING" ? (openBlock(), createBlock(_component_el_form_item, {
452
+ key: 4,
453
+ label: "匹配方式",
454
+ class: "amb-design-attr-item"
455
+ }, {
456
+ default: withCtx(() => [
457
+ createVNode(_component_el_select, {
458
+ modelValue: __props.configure.props.base.queryMatching,
459
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => __props.configure.props.base.queryMatching = $event),
460
+ clearable: ""
461
+ }, {
462
+ default: withCtx(() => [
463
+ createVNode(_component_el_option, {
464
+ label: "全匹配",
465
+ value: "all"
466
+ }),
467
+ createVNode(_component_el_option, {
468
+ label: "左匹配",
469
+ value: "left"
470
+ }),
471
+ createVNode(_component_el_option, {
472
+ label: "右匹配",
473
+ value: "right"
474
+ }),
475
+ createVNode(_component_el_option, {
476
+ label: "精确查询",
477
+ value: "exactQuery"
478
+ })
479
+ ]),
480
+ _: 1
481
+ }, 8, ["modelValue"])
482
+ ]),
483
+ _: 1
484
+ })) : createCommentVNode("", true),
485
+ !operationColumn.value ? (openBlock(), createBlock(_component_el_form_item, {
486
+ key: 5,
487
+ label: "是否合计",
488
+ class: "amb-design-attr-item"
489
+ }, {
490
+ default: withCtx(() => [
491
+ createVNode(_component_el_switch, {
492
+ modelValue: __props.configure.props.base.total,
493
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => __props.configure.props.base.total = $event)
494
+ }, null, 8, ["modelValue"])
495
+ ]),
496
+ _: 1
497
+ })) : createCommentVNode("", true),
498
+ !operationColumn.value ? (openBlock(), createBlock(_component_el_form_item, {
499
+ key: 6,
500
+ label: "是否筛选",
501
+ class: "amb-design-attr-item"
502
+ }, {
503
+ default: withCtx(() => [
504
+ createVNode(_component_el_switch, {
505
+ modelValue: __props.configure.props.base.filterable,
506
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => __props.configure.props.base.filterable = $event)
507
+ }, null, 8, ["modelValue"])
508
+ ]),
509
+ _: 1
510
+ })) : createCommentVNode("", true)
511
+ ])
512
+ ]),
513
+ _: 1
514
+ }),
515
+ !operationColumn.value && __props.configure.props.base.prop != "dynamicColumnSelect" ? (openBlock(), createBlock(DataOrigin, {
516
+ key: 0,
517
+ configure: __props.configure,
518
+ isDynamicColumn: __props.configure.props.base.prop === "dynamicColumnSelect",
519
+ remote: true
520
+ }, null, 8, ["configure", "isDynamicColumn"])) : createCommentVNode("", true),
521
+ !operationColumn.value && __props.configure.props.base.prop === "dynamicColumnSelect" ? (openBlock(), createBlock(_component_el_collapse_item, {
522
+ key: 1,
523
+ title: "动态列",
524
+ name: "columnModel",
525
+ class: "amb-design-attr-group-header"
526
+ }, {
527
+ default: withCtx(() => [
528
+ createElementVNode("div", _hoisted_3, [
529
+ createVNode(_component_el_form_item, {
530
+ label: "数据来源",
531
+ class: "amb-design-attr-item"
532
+ }, {
533
+ default: withCtx(() => [
534
+ createVNode(_component_el_radio_group, {
535
+ modelValue: __props.configure.props.dynamicColumnData.dataSources,
536
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => __props.configure.props.dynamicColumnData.dataSources = $event)
537
+ }, {
538
+ default: withCtx(() => [
539
+ createVNode(_component_el_radio, { value: "dataTable" }, {
540
+ default: withCtx(() => [
541
+ createTextVNode("数据表/视图")
542
+ ]),
543
+ _: 1
544
+ }),
545
+ createVNode(_component_el_radio, { value: "sql" }, {
546
+ default: withCtx(() => [
547
+ createTextVNode("SQL语句")
548
+ ]),
549
+ _: 1
550
+ }),
551
+ createVNode(_component_el_radio, { value: "optionGroup" }, {
552
+ default: withCtx(() => [
553
+ createTextVNode("选项组")
554
+ ]),
555
+ _: 1
556
+ }),
557
+ createVNode(_component_el_radio, { value: "bean" }, {
558
+ default: withCtx(() => [
559
+ createTextVNode("bean名称")
560
+ ]),
561
+ _: 1
562
+ })
563
+ ]),
564
+ _: 1
565
+ }, 8, ["modelValue"])
566
+ ]),
567
+ _: 1
568
+ }),
569
+ createVNode(_component_el_form_item, {
570
+ label: "监控字段",
571
+ title: "监控主表字段",
572
+ class: "amb-design-attr-item"
573
+ }, {
574
+ default: withCtx(() => [
575
+ createVNode(_component_el_input, {
576
+ modelValue: __props.configure.props.dynamicColumnData.watchParentAttr,
577
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => __props.configure.props.dynamicColumnData.watchParentAttr = $event)
578
+ }, null, 8, ["modelValue"])
579
+ ]),
580
+ _: 1
581
+ }),
582
+ __props.configure.props.dynamicColumnData.dataSources === "dataTable" ? (openBlock(), createBlock(_component_el_form_item, {
583
+ key: 0,
584
+ label: "数据表视图",
585
+ class: "amb-design-attr-item"
586
+ }, {
587
+ default: withCtx(() => [
588
+ createVNode(_component_el_input, {
589
+ modelValue: __props.configure.props.dynamicColumnData.tableName,
590
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => __props.configure.props.dynamicColumnData.tableName = $event),
591
+ title: __props.configure.props.dynamicColumnData.tableName,
592
+ clearable: "",
593
+ readonly: "true"
594
+ }, {
595
+ append: withCtx(() => [
596
+ createVNode(_component_el_button, {
597
+ icon: unref(Search),
598
+ onClick: _cache[14] || (_cache[14] = ($event) => selectTable("masterTable")),
599
+ size: "small"
600
+ }, null, 8, ["icon"]),
601
+ createVNode(_component_el_button, {
602
+ icon: unref(Close),
603
+ onClick: _cache[15] || (_cache[15] = ($event) => clearTable("masterTable")),
604
+ title: "Clear",
605
+ size: "small"
606
+ }, null, 8, ["icon"])
607
+ ]),
608
+ _: 1
609
+ }, 8, ["modelValue", "title"])
610
+ ]),
611
+ _: 1
612
+ })) : createCommentVNode("", true),
613
+ __props.configure.props.dynamicColumnData.dataSources === "dataTable" ? (openBlock(), createBlock(_component_el_form_item, {
614
+ key: 1,
615
+ label: "排序",
616
+ class: "amb-design-attr-item"
617
+ }, {
618
+ default: withCtx(() => [
619
+ createVNode(_component_el_button, {
620
+ type: "primary",
621
+ onClick: addSortField
622
+ }, {
623
+ default: withCtx(() => [
624
+ createTextVNode("添加")
625
+ ]),
626
+ _: 1
627
+ }),
628
+ createVNode(_component_el_button, { onClick: removeSortField }, {
629
+ default: withCtx(() => [
630
+ createTextVNode("删除")
631
+ ]),
632
+ _: 1
633
+ }),
634
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.configure.props.dynamicColumnData.dataTableSortTable, (item, index) => {
635
+ return openBlock(), createElementBlock("div", {
636
+ key: index,
637
+ onClick: ($event) => seleteSort(index),
638
+ style: { "margin-top": "6px" },
639
+ class: normalizeClass(
640
+ atPresentSortIndex.value === index ? "amb-design-attr-item-inline seleteSort" : "amb-design-attr-item-inline"
641
+ )
642
+ }, [
643
+ createVNode(_component_el_select, {
644
+ modelValue: item.sortColumn,
645
+ "onUpdate:modelValue": ($event) => item.sortColumn = $event,
646
+ filterable: "",
647
+ clearable: "",
648
+ placeholder: "请选择"
649
+ }, {
650
+ default: withCtx(() => [
651
+ (openBlock(true), createElementBlock(Fragment, null, renderList(modelTableFieldList.value, (field, index2) => {
652
+ return openBlock(), createBlock(_component_el_option, {
653
+ key: index2,
654
+ label: field.alias + "(" + field.dbColumnName + ")",
655
+ value: field.dbColumnName
656
+ }, null, 8, ["label", "value"]);
657
+ }), 128))
658
+ ]),
659
+ _: 2
660
+ }, 1032, ["modelValue", "onUpdate:modelValue"]),
661
+ createVNode(_component_el_select, {
662
+ modelValue: item.sortOrder,
663
+ "onUpdate:modelValue": ($event) => item.sortOrder = $event,
664
+ style: { "margin-left": "10px" },
665
+ placeholder: "请选择"
666
+ }, {
667
+ default: withCtx(() => [
668
+ createVNode(_component_el_option, {
669
+ label: "升序",
670
+ value: "asc"
671
+ }),
672
+ createVNode(_component_el_option, {
673
+ label: "降序",
674
+ value: "desc"
675
+ })
676
+ ]),
677
+ _: 2
678
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
679
+ ], 10, _hoisted_4);
680
+ }), 128))
681
+ ]),
682
+ _: 1
683
+ })) : createCommentVNode("", true),
684
+ withDirectives(createVNode(_component_el_form_item, {
685
+ label: "查询条件",
686
+ class: "amb-design-attr-item"
687
+ }, {
688
+ default: withCtx(() => [
689
+ createVNode(_sfc_main$3, {
690
+ title: "查询条件",
691
+ list: __props.configure.props.dynamicColumnData.searchcondition,
692
+ ref_key: "queryConditionRef",
693
+ ref: queryConditionRef
694
+ }, null, 8, ["list"])
695
+ ]),
696
+ _: 1
697
+ }, 512), [
698
+ [vShow, __props.configure.props.dynamicColumnData.dataSources === "dataTable"]
699
+ ]),
700
+ withDirectives(createVNode(_component_el_form_item, {
701
+ label: "SQL",
702
+ class: "amb-design-attr-item"
703
+ }, {
704
+ default: withCtx(() => [
705
+ createVNode(_component_el_input, {
706
+ modelValue: __props.configure.props.dynamicColumnData.sql,
707
+ "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => __props.configure.props.dynamicColumnData.sql = $event),
708
+ rows: 2,
709
+ type: "textarea"
710
+ }, null, 8, ["modelValue"])
711
+ ]),
712
+ _: 1
713
+ }, 512), [
714
+ [vShow, __props.configure.props.dynamicColumnData.dataSources === "sql"]
715
+ ]),
716
+ withDirectives(createVNode(_component_el_form_item, {
717
+ label: "选项组名",
718
+ class: "amb-design-attr-item"
719
+ }, {
720
+ default: withCtx(() => [
721
+ createVNode(_component_el_select, {
722
+ modelValue: __props.configure.props.dynamicColumnData.optionGroup,
723
+ "onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => __props.configure.props.dynamicColumnData.optionGroup = $event),
724
+ filterable: "",
725
+ remote: "",
726
+ "reserve-keyword": "",
727
+ clearable: "",
728
+ placeholder: "请选择",
729
+ "remote-show-suffix": "",
730
+ "remote-method": queryOptionGroups,
731
+ loading: queryOptionGroupLoading.value
732
+ }, {
733
+ default: withCtx(() => [
734
+ (openBlock(true), createElementBlock(Fragment, null, renderList(optionGroups.value, (item) => {
735
+ return openBlock(), createBlock(_component_el_option, {
736
+ key: item.code,
737
+ label: item.name + "(" + item.code + ")",
738
+ value: item.code
739
+ }, null, 8, ["label", "value"]);
740
+ }), 128))
741
+ ]),
742
+ _: 1
743
+ }, 8, ["modelValue", "loading"])
744
+ ]),
745
+ _: 1
746
+ }, 512), [
747
+ [vShow, __props.configure.props.dynamicColumnData.dataSources === "optionGroup"]
748
+ ]),
749
+ createVNode(_component_el_divider, null, {
750
+ default: withCtx(() => [
751
+ _hoisted_5
752
+ ]),
753
+ _: 1
754
+ }),
755
+ createVNode(_component_el_form_item, {
756
+ label: "数据表",
757
+ class: "amb-design-attr-item"
758
+ }, {
759
+ default: withCtx(() => [
760
+ createVNode(_component_el_input, {
761
+ modelValue: __props.configure.props.dynamicColumnData.settingDataName,
762
+ "onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => __props.configure.props.dynamicColumnData.settingDataName = $event),
763
+ title: __props.configure.props.dynamicColumnData.settingDataName,
764
+ clearable: "",
765
+ readonly: "true"
766
+ }, {
767
+ append: withCtx(() => [
768
+ createVNode(_component_el_button, {
769
+ icon: unref(Search),
770
+ onClick: _cache[19] || (_cache[19] = ($event) => selectTable("sublist")),
771
+ size: "small"
772
+ }, null, 8, ["icon"]),
773
+ createVNode(_component_el_button, {
774
+ icon: unref(Close),
775
+ onClick: _cache[20] || (_cache[20] = ($event) => clearTable("sublist")),
776
+ title: "Clear",
777
+ size: "small"
778
+ }, null, 8, ["icon"])
779
+ ]),
780
+ _: 1
781
+ }, 8, ["modelValue", "title"])
782
+ ]),
783
+ _: 1
784
+ }),
785
+ createVNode(_component_el_form_item, {
786
+ label: "关联字段",
787
+ title: "与主表关联字段",
788
+ class: "amb-design-attr-item"
789
+ }, {
790
+ default: withCtx(() => [
791
+ createVNode(_component_el_select, {
792
+ modelValue: __props.configure.props.dynamicColumnData.settingRelationColumn,
793
+ "onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => __props.configure.props.dynamicColumnData.settingRelationColumn = $event),
794
+ clearable: "",
795
+ filterable: ""
796
+ }, {
797
+ default: withCtx(() => [
798
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(clolumnTableFields), (item, index) => {
799
+ return openBlock(), createBlock(_component_el_option, {
800
+ key: index,
801
+ label: item.alias,
802
+ value: item.dbColumnName
803
+ }, null, 8, ["label", "value"]);
804
+ }), 128))
805
+ ]),
806
+ _: 1
807
+ }, 8, ["modelValue"])
808
+ ]),
809
+ _: 1
810
+ }),
811
+ createVNode(_component_el_form_item, {
812
+ label: "查询条件",
813
+ title: "查询附加条件",
814
+ class: "amb-design-attr-item"
815
+ }, {
816
+ default: withCtx(() => [
817
+ createVNode(_sfc_main$3, {
818
+ title: "查询条件",
819
+ list: __props.configure.props.dynamicColumnData.selectCondition,
820
+ ref_key: "selectConditionRef",
821
+ ref: selectConditionRef
822
+ }, null, 8, ["list"])
823
+ ]),
824
+ _: 1
825
+ }),
826
+ createVNode(_component_el_form_item, {
827
+ label: "更新条件",
828
+ title: "更新附加条件",
829
+ class: "amb-design-attr-item"
830
+ }, {
831
+ default: withCtx(() => [
832
+ createVNode(_sfc_main$3, {
833
+ title: "更新条件",
834
+ list: __props.configure.props.dynamicColumnData.updateCondition,
835
+ ref_key: "updateConditionRef",
836
+ ref: updateConditionRef
837
+ }, null, 8, ["list"])
838
+ ]),
839
+ _: 1
840
+ }),
841
+ createVNode(_component_el_form_item, {
842
+ label: "配置模型",
843
+ title: "分组标题类型",
844
+ class: "amb-design-attr-item"
845
+ }, {
846
+ default: withCtx(() => [
847
+ createVNode(_sfc_main$4, {
848
+ configure: __props.configure,
849
+ clolumnTableFields: unref(clolumnTableFields),
850
+ modelTableFieldList: modelTableFieldList.value
851
+ }, null, 8, ["configure", "clolumnTableFields", "modelTableFieldList"])
852
+ ]),
853
+ _: 1
854
+ }),
855
+ createVNode(_component_el_form_item, {
856
+ label: "标题类型",
857
+ title: "分组标题类型",
858
+ class: "amb-design-attr-item"
859
+ }, {
860
+ default: withCtx(() => [
861
+ createVNode(_component_el_select, {
862
+ modelValue: __props.configure.props.dynamicColumnData.mergeFieldType,
863
+ "onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => __props.configure.props.dynamicColumnData.mergeFieldType = $event),
864
+ clearable: ""
865
+ }, {
866
+ default: withCtx(() => [
867
+ createVNode(_component_el_option, {
868
+ label: "不设置分组标题",
869
+ value: "no"
870
+ }),
871
+ createVNode(_component_el_option, {
872
+ label: "合并为一组",
873
+ value: "one"
874
+ }),
875
+ createVNode(_component_el_option, {
876
+ label: "分组字段",
877
+ value: "more"
878
+ })
879
+ ]),
880
+ _: 1
881
+ }, 8, ["modelValue"])
882
+ ]),
883
+ _: 1
884
+ })
885
+ ])
886
+ ]),
887
+ _: 1
888
+ })) : createCommentVNode("", true),
889
+ !operationColumn.value ? (openBlock(), createBlock(_component_el_collapse_item, {
890
+ key: 2,
891
+ title: "行编辑设置",
892
+ name: "editLine",
893
+ class: "amb-design-attr-group-header"
894
+ }, {
895
+ default: withCtx(() => [
896
+ createElementVNode("div", _hoisted_6, [
897
+ createVNode(_component_el_form_item, {
898
+ label: "是否编辑",
899
+ class: "amb-design-attr-item"
900
+ }, {
901
+ default: withCtx(() => [
902
+ createVNode(_component_el_switch, {
903
+ onChange: editChange,
904
+ modelValue: __props.configure.props.editLine.editable,
905
+ "onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => __props.configure.props.editLine.editable = $event)
906
+ }, null, 8, ["modelValue"])
907
+ ]),
908
+ _: 1
909
+ }),
910
+ createVNode(_component_el_form_item, {
911
+ label: "默认值",
912
+ class: "amb-design-attr-item"
913
+ }, {
914
+ default: withCtx(() => [
915
+ createVNode(BindVariable, {
916
+ modelValue: __props.configure.props.base.defaultValue,
917
+ "onUpdate:modelValue": afterBindDefaultValue
918
+ }, null, 8, ["modelValue"])
919
+ ]),
920
+ _: 1
921
+ }),
922
+ __props.configure.props.editLine.editable ? (openBlock(), createBlock(_component_el_form_item, {
923
+ key: 0,
924
+ label: "组件类型",
925
+ class: "amb-design-attr-item"
926
+ }, {
927
+ default: withCtx(() => [
928
+ createVNode(_component_el_select, {
929
+ modelValue: __props.configure.name,
930
+ "onUpdate:modelValue": _cache[25] || (_cache[25] = ($event) => __props.configure.name = $event),
931
+ placeholder: "请选择",
932
+ onChange: moduleChange
933
+ }, {
934
+ default: withCtx(() => [
935
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(getFormComponentOptions)(), (item) => {
936
+ return openBlock(), createBlock(_component_el_option, {
937
+ key: item.name,
938
+ label: item.label,
939
+ value: item.name
940
+ }, null, 8, ["label", "value"]);
941
+ }), 128))
942
+ ]),
943
+ _: 1
944
+ }, 8, ["modelValue"])
945
+ ]),
946
+ _: 1
947
+ })) : createCommentVNode("", true),
948
+ withDirectives(createVNode(_component_el_form_item, {
949
+ label: "文件uuid",
950
+ class: "amb-design-attr-item"
951
+ }, {
952
+ default: withCtx(() => [
953
+ createVNode(_sfc_main$1, {
954
+ prop: __props.configure.props.format.fileUuid,
955
+ "onUpdate:prop": _cache[26] || (_cache[26] = ($event) => __props.configure.props.format.fileUuid = $event),
956
+ tableConfigure: __props.tableConfigure
957
+ }, null, 8, ["prop", "tableConfigure"])
958
+ ]),
959
+ _: 1
960
+ }, 512), [
961
+ [vShow, __props.configure.props.editLine.editable && __props.configure.name === "file-upload"]
962
+ ])
963
+ ])
964
+ ]),
965
+ _: 1
966
+ })) : createCommentVNode("", true),
967
+ !operationColumn.value ? (openBlock(), createBlock(_component_el_collapse_item, {
968
+ key: 3,
969
+ title: "格式设置",
970
+ name: "formatting",
971
+ class: "amb-design-attr-group-header"
972
+ }, {
973
+ default: withCtx(() => [
974
+ createElementVNode("div", _hoisted_7, [
975
+ createVNode(_component_el_form_item, {
976
+ label: "格式化分类",
977
+ class: "amb-design-attr-item"
978
+ }, {
979
+ default: withCtx(() => [
980
+ createVNode(_component_el_select, {
981
+ modelValue: __props.configure.props.format.type,
982
+ "onUpdate:modelValue": _cache[27] || (_cache[27] = ($event) => __props.configure.props.format.type = $event),
983
+ clearable: "",
984
+ placeholder: "请选择"
985
+ }, {
986
+ default: withCtx(() => [
987
+ createVNode(_component_el_option, {
988
+ label: "数值",
989
+ value: "number"
990
+ }),
991
+ createVNode(_component_el_option, {
992
+ label: "货币",
993
+ value: "currency"
994
+ }),
995
+ createVNode(_component_el_option, {
996
+ label: "日期",
997
+ value: "date"
998
+ }),
999
+ createVNode(_component_el_option, {
1000
+ label: "时间",
1001
+ value: "time"
1002
+ }),
1003
+ createVNode(_component_el_option, {
1004
+ label: "百分比",
1005
+ value: "percent"
1006
+ }),
1007
+ createVNode(_component_el_option, {
1008
+ label: "自定义控件",
1009
+ value: "customControl"
1010
+ }),
1011
+ createVNode(_component_el_option, {
1012
+ label: "超链接",
1013
+ value: "hyperlinks"
1014
+ }),
1015
+ createVNode(_component_el_option, {
1016
+ label: "图标/标签",
1017
+ value: "icon"
1018
+ }),
1019
+ createVNode(_component_el_option, {
1020
+ label: "附件控件",
1021
+ value: "files"
1022
+ }),
1023
+ createVNode(_component_el_option, {
1024
+ label: "富文本",
1025
+ value: "richEditor"
1026
+ }),
1027
+ createVNode(_component_el_option, {
1028
+ label: "脱敏组件",
1029
+ value: "secretInfo"
1030
+ }),
1031
+ createVNode(_component_el_option, {
1032
+ label: "自定义方法",
1033
+ value: "custom"
1034
+ })
1035
+ ]),
1036
+ _: 1
1037
+ }, 8, ["modelValue"])
1038
+ ]),
1039
+ _: 1
1040
+ }),
1041
+ __props.configure.props.format.type === "number" || __props.configure.props.format.type === "currency" || __props.configure.props.format.type === "percent" ? (openBlock(), createBlock(_component_el_form_item, {
1042
+ key: 0,
1043
+ label: "小数位数",
1044
+ class: "amb-design-attr-item"
1045
+ }, {
1046
+ default: withCtx(() => [
1047
+ createVNode(_component_el_input, {
1048
+ modelValue: __props.configure.props.format.decimalDigit,
1049
+ "onUpdate:modelValue": _cache[28] || (_cache[28] = ($event) => __props.configure.props.format.decimalDigit = $event)
1050
+ }, null, 8, ["modelValue"])
1051
+ ]),
1052
+ _: 1
1053
+ })) : createCommentVNode("", true),
1054
+ __props.configure.props.format.type === "number" ? (openBlock(), createBlock(_component_el_form_item, {
1055
+ key: 1,
1056
+ label: "科学计数",
1057
+ class: "amb-design-attr-item"
1058
+ }, {
1059
+ default: withCtx(() => [
1060
+ createVNode(_component_el_switch, {
1061
+ modelValue: __props.configure.props.format.scientific,
1062
+ "onUpdate:modelValue": _cache[29] || (_cache[29] = ($event) => __props.configure.props.format.scientific = $event),
1063
+ "active-text": "使用",
1064
+ "inactive-text": "不使用"
1065
+ }, null, 8, ["modelValue"])
1066
+ ]),
1067
+ _: 1
1068
+ })) : createCommentVNode("", true),
1069
+ __props.configure.props.format.type === "number" && __props.configure.props.format.scientific ? (openBlock(), createBlock(_component_el_form_item, {
1070
+ key: 2,
1071
+ label: "计数位数",
1072
+ class: "amb-design-attr-item"
1073
+ }, {
1074
+ default: withCtx(() => [
1075
+ createVNode(_component_el_input, {
1076
+ modelValue: __props.configure.props.format.scientificNum,
1077
+ "onUpdate:modelValue": _cache[30] || (_cache[30] = ($event) => __props.configure.props.format.scientificNum = $event)
1078
+ }, null, 8, ["modelValue"])
1079
+ ]),
1080
+ _: 1
1081
+ })) : createCommentVNode("", true),
1082
+ __props.configure.props.format.type === "number" ? (openBlock(), createBlock(_component_el_form_item, {
1083
+ key: 3,
1084
+ label: "千位分隔符",
1085
+ class: "amb-design-attr-item"
1086
+ }, {
1087
+ default: withCtx(() => [
1088
+ createVNode(_component_el_switch, {
1089
+ modelValue: __props.configure.props.format.thousandsSeparator,
1090
+ "onUpdate:modelValue": _cache[31] || (_cache[31] = ($event) => __props.configure.props.format.thousandsSeparator = $event),
1091
+ "active-text": "使用",
1092
+ "inactive-text": "不使用"
1093
+ }, null, 8, ["modelValue"])
1094
+ ]),
1095
+ _: 1
1096
+ })) : createCommentVNode("", true),
1097
+ __props.configure.props.format.type === "number" ? (openBlock(), createBlock(_component_el_form_item, {
1098
+ key: 4,
1099
+ label: "数值符号",
1100
+ class: "amb-design-attr-item"
1101
+ }, {
1102
+ default: withCtx(() => [
1103
+ createVNode(_component_el_input, {
1104
+ modelValue: __props.configure.props.format.symbol,
1105
+ "onUpdate:modelValue": _cache[32] || (_cache[32] = ($event) => __props.configure.props.format.symbol = $event)
1106
+ }, null, 8, ["modelValue"])
1107
+ ]),
1108
+ _: 1
1109
+ })) : createCommentVNode("", true),
1110
+ __props.configure.props.format.type === "currency" ? (openBlock(), createBlock(_component_el_form_item, {
1111
+ key: 5,
1112
+ label: "货币符号",
1113
+ class: "amb-design-attr-item"
1114
+ }, {
1115
+ default: withCtx(() => [
1116
+ createVNode(_component_el_select, {
1117
+ modelValue: __props.configure.props.format.currencySymbol,
1118
+ "onUpdate:modelValue": _cache[33] || (_cache[33] = ($event) => __props.configure.props.format.currencySymbol = $event),
1119
+ placeholder: "Select"
1120
+ }, {
1121
+ default: withCtx(() => [
1122
+ createVNode(_component_el_option, {
1123
+ label: "$",
1124
+ value: "$"
1125
+ }),
1126
+ createVNode(_component_el_option, {
1127
+ label: "¥",
1128
+ value: "¥"
1129
+ })
1130
+ ]),
1131
+ _: 1
1132
+ }, 8, ["modelValue"])
1133
+ ]),
1134
+ _: 1
1135
+ })) : createCommentVNode("", true),
1136
+ __props.configure.props.format.type === "date" ? (openBlock(), createBlock(_component_el_form_item, {
1137
+ key: 6,
1138
+ label: "日期类型",
1139
+ class: "amb-design-attr-item"
1140
+ }, {
1141
+ default: withCtx(() => [
1142
+ createVNode(_component_el_select, {
1143
+ modelValue: __props.configure.props.format.dataType,
1144
+ "onUpdate:modelValue": _cache[34] || (_cache[34] = ($event) => __props.configure.props.format.dataType = $event),
1145
+ placeholder: "Select"
1146
+ }, {
1147
+ default: withCtx(() => [
1148
+ createVNode(_component_el_option, {
1149
+ label: "yyyy-m-d",
1150
+ value: "yyyy-m-d"
1151
+ }),
1152
+ createVNode(_component_el_option, {
1153
+ label: "yyyy-m-d hh:mm:ss",
1154
+ value: "yyyy-m-d hh:mm:ss"
1155
+ }),
1156
+ createVNode(_component_el_option, {
1157
+ label: "yyyy-m",
1158
+ value: "yyyy-m"
1159
+ }),
1160
+ createVNode(_component_el_option, {
1161
+ label: "m-d",
1162
+ value: "m-d"
1163
+ }),
1164
+ createVNode(_component_el_option, {
1165
+ label: "yyyy",
1166
+ value: "yyyy"
1167
+ }),
1168
+ createVNode(_component_el_option, {
1169
+ label: "yyyy年m月d日",
1170
+ value: "yyyy年m月d日"
1171
+ }),
1172
+ createVNode(_component_el_option, {
1173
+ label: "yyyy年m月d日hh时mm分ss秒",
1174
+ value: "yyyy年m月d日hh时mm分ss秒"
1175
+ }),
1176
+ createVNode(_component_el_option, {
1177
+ label: "yyyy年m月",
1178
+ value: "yyyy年m月"
1179
+ }),
1180
+ createVNode(_component_el_option, {
1181
+ label: "m月d日",
1182
+ value: "m月d日"
1183
+ })
1184
+ ]),
1185
+ _: 1
1186
+ }, 8, ["modelValue"])
1187
+ ]),
1188
+ _: 1
1189
+ })) : createCommentVNode("", true),
1190
+ __props.configure.props.format.type === "time" ? (openBlock(), createBlock(_component_el_form_item, {
1191
+ key: 7,
1192
+ label: "时间类型",
1193
+ class: "amb-design-attr-item"
1194
+ }, {
1195
+ default: withCtx(() => [
1196
+ createVNode(_component_el_select, {
1197
+ modelValue: __props.configure.props.format.timeType,
1198
+ "onUpdate:modelValue": _cache[35] || (_cache[35] = ($event) => __props.configure.props.format.timeType = $event),
1199
+ placeholder: "Select"
1200
+ }, {
1201
+ default: withCtx(() => [
1202
+ createVNode(_component_el_option, {
1203
+ label: "HH:mm",
1204
+ value: "HH:mm"
1205
+ }),
1206
+ createVNode(_component_el_option, {
1207
+ label: "HH:mm:ss",
1208
+ value: "HH:mm:ss"
1209
+ }),
1210
+ createVNode(_component_el_option, {
1211
+ label: "HH时mm分",
1212
+ value: "HH时mm分"
1213
+ }),
1214
+ createVNode(_component_el_option, {
1215
+ label: "HH时mm分ss秒",
1216
+ value: "HH时mm分ss秒"
1217
+ }),
1218
+ createVNode(_component_el_option, {
1219
+ label: "hh:mm",
1220
+ value: "hh:mm"
1221
+ }),
1222
+ createVNode(_component_el_option, {
1223
+ label: "hh:mm:ss",
1224
+ value: "hh:mm:ss"
1225
+ }),
1226
+ createVNode(_component_el_option, {
1227
+ label: "hh时mm分",
1228
+ value: "hh时mm分"
1229
+ }),
1230
+ createVNode(_component_el_option, {
1231
+ label: "hh时mm分ss秒",
1232
+ value: "hh时mm分ss秒"
1233
+ })
1234
+ ]),
1235
+ _: 1
1236
+ }, 8, ["modelValue"])
1237
+ ]),
1238
+ _: 1
1239
+ })) : createCommentVNode("", true),
1240
+ __props.configure.props.format.type === "customControl" ? (openBlock(), createBlock(_component_el_form_item, {
1241
+ key: 8,
1242
+ label: "自定义控件",
1243
+ class: "amb-design-attr-item"
1244
+ }, {
1245
+ default: withCtx(() => [
1246
+ createVNode(_component_el_input, {
1247
+ modelValue: __props.configure.props.format.customControl,
1248
+ "onUpdate:modelValue": _cache[36] || (_cache[36] = ($event) => __props.configure.props.format.customControl = $event)
1249
+ }, null, 8, ["modelValue"])
1250
+ ]),
1251
+ _: 1
1252
+ })) : createCommentVNode("", true),
1253
+ __props.configure.props.format.type === "hyperlinks" ? (openBlock(), createBlock(_sfc_main$5, {
1254
+ key: 9,
1255
+ pageDesign: __props.pageDesign,
1256
+ configure: __props.configure,
1257
+ tableConfigure: __props.tableConfigure
1258
+ }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : createCommentVNode("", true),
1259
+ __props.configure.props.format.type === "icon" ? (openBlock(), createBlock(_sfc_main$6, {
1260
+ key: 10,
1261
+ setting: __props.configure.props.format
1262
+ }, null, 8, ["setting"])) : createCommentVNode("", true),
1263
+ __props.configure.props.format.type === "custom" ? (openBlock(), createBlock(_component_el_form_item, {
1264
+ key: 11,
1265
+ label: "自定义方法",
1266
+ class: "amb-design-attr-item"
1267
+ }, {
1268
+ default: withCtx(() => [
1269
+ createVNode(_component_el_input, {
1270
+ modelValue: __props.configure.props.format.customControl,
1271
+ "onUpdate:modelValue": _cache[37] || (_cache[37] = ($event) => __props.configure.props.format.customControl = $event)
1272
+ }, null, 8, ["modelValue"])
1273
+ ]),
1274
+ _: 1
1275
+ })) : createCommentVNode("", true),
1276
+ __props.configure.props.format.type === "files" ? (openBlock(), createBlock(_component_el_form_item, {
1277
+ key: 12,
1278
+ label: "是否多选",
1279
+ class: "amb-design-attr-item"
1280
+ }, {
1281
+ default: withCtx(() => [
1282
+ createVNode(_component_el_switch, {
1283
+ modelValue: __props.configure.props.format.multiple,
1284
+ "onUpdate:modelValue": _cache[38] || (_cache[38] = ($event) => __props.configure.props.format.multiple = $event)
1285
+ }, null, 8, ["modelValue"])
1286
+ ]),
1287
+ _: 1
1288
+ })) : createCommentVNode("", true),
1289
+ __props.configure.props.format.type === "files" ? (openBlock(), createBlock(_component_el_form_item, {
1290
+ key: 13,
1291
+ label: "文件类型",
1292
+ class: "amb-design-attr-item"
1293
+ }, {
1294
+ default: withCtx(() => [
1295
+ createVNode(_component_el_input, {
1296
+ modelValue: __props.configure.props.format.accept,
1297
+ "onUpdate:modelValue": _cache[39] || (_cache[39] = ($event) => __props.configure.props.format.accept = $event)
1298
+ }, null, 8, ["modelValue"])
1299
+ ]),
1300
+ _: 1
1301
+ })) : createCommentVNode("", true),
1302
+ __props.configure.props.format.type === "files" ? (openBlock(), createBlock(_component_el_form_item, {
1303
+ key: 14,
1304
+ label: "文件限制(M)",
1305
+ class: "amb-design-attr-item"
1306
+ }, {
1307
+ default: withCtx(() => [
1308
+ createVNode(_component_el_input_number, {
1309
+ modelValue: __props.configure.props.format.limitFileSize,
1310
+ "onUpdate:modelValue": _cache[40] || (_cache[40] = ($event) => __props.configure.props.format.limitFileSize = $event),
1311
+ min: 1
1312
+ }, null, 8, ["modelValue"])
1313
+ ]),
1314
+ _: 1
1315
+ })) : createCommentVNode("", true),
1316
+ __props.configure.props.format.type === "files" && __props.configure.props.format.multiple ? (openBlock(), createBlock(_component_el_form_item, {
1317
+ key: 15,
1318
+ label: "选择数据表"
1319
+ }, {
1320
+ default: withCtx(() => [
1321
+ createVNode(_component_el_input, {
1322
+ modelValue: __props.configure.props.format.childAnnexDataTableCode,
1323
+ "onUpdate:modelValue": _cache[41] || (_cache[41] = ($event) => __props.configure.props.format.childAnnexDataTableCode = $event),
1324
+ onClick: _ctx.openSelectDataTable,
1325
+ clearable: ""
1326
+ }, {
1327
+ append: withCtx(() => [
1328
+ createVNode(_component_el_button, {
1329
+ icon: unref(Search),
1330
+ onClick: _ctx.openSelectDataTable
1331
+ }, null, 8, ["icon", "onClick"])
1332
+ ]),
1333
+ _: 1
1334
+ }, 8, ["modelValue", "onClick"])
1335
+ ]),
1336
+ _: 1
1337
+ })) : createCommentVNode("", true),
1338
+ __props.configure.props.format.type === "files" ? (openBlock(), createBlock(_component_el_form_item, {
1339
+ key: 16,
1340
+ label: "展示名字段",
1341
+ class: "amb-design-attr-item"
1342
+ }, {
1343
+ default: withCtx(() => [
1344
+ createVNode(_sfc_main$1, {
1345
+ prop: __props.configure.props.format.showName,
1346
+ "onUpdate:prop": _cache[42] || (_cache[42] = ($event) => __props.configure.props.format.showName = $event),
1347
+ tableConfigure: __props.tableConfigure
1348
+ }, null, 8, ["prop", "tableConfigure"])
1349
+ ]),
1350
+ _: 1
1351
+ })) : createCommentVNode("", true),
1352
+ __props.configure.props.format.type === "files" ? (openBlock(), createBlock(_component_el_form_item, {
1353
+ key: 17,
1354
+ label: "服务器字段",
1355
+ class: "amb-design-attr-item"
1356
+ }, {
1357
+ default: withCtx(() => [
1358
+ createVNode(_sfc_main$1, {
1359
+ prop: __props.configure.props.format.serverName,
1360
+ "onUpdate:prop": _cache[43] || (_cache[43] = ($event) => __props.configure.props.format.serverName = $event),
1361
+ tableConfigure: __props.tableConfigure
1362
+ }, null, 8, ["prop", "tableConfigure"])
1363
+ ]),
1364
+ _: 1
1365
+ })) : createCommentVNode("", true)
1366
+ ])
1367
+ ]),
1368
+ _: 1
1369
+ })) : createCommentVNode("", true),
1370
+ createVNode(_component_el_collapse_item, {
1371
+ title: "外观",
1372
+ name: "appearance",
1373
+ class: "amb-design-attr-group-header"
1374
+ }, {
1375
+ default: withCtx(() => [
1376
+ createElementVNode("div", _hoisted_8, [
1377
+ createVNode(_component_el_form_item, {
1378
+ label: "固定列",
1379
+ class: "amb-design-attr-item"
1380
+ }, {
1381
+ default: withCtx(() => [
1382
+ createVNode(_component_el_radio_group, {
1383
+ modelValue: __props.configure.props.base.listColumnFixed,
1384
+ "onUpdate:modelValue": _cache[44] || (_cache[44] = ($event) => __props.configure.props.base.listColumnFixed = $event),
1385
+ class: "ml-4"
1386
+ }, {
1387
+ default: withCtx(() => [
1388
+ createVNode(_component_el_radio, { value: "false" }, {
1389
+ default: withCtx(() => [
1390
+ createTextVNode("否")
1391
+ ]),
1392
+ _: 1
1393
+ }),
1394
+ createVNode(_component_el_radio, { value: "left" }, {
1395
+ default: withCtx(() => [
1396
+ createTextVNode("居左")
1397
+ ]),
1398
+ _: 1
1399
+ }),
1400
+ createVNode(_component_el_radio, { value: "right" }, {
1401
+ default: withCtx(() => [
1402
+ createTextVNode("居右")
1403
+ ]),
1404
+ _: 1
1405
+ })
1406
+ ]),
1407
+ _: 1
1408
+ }, 8, ["modelValue"])
1409
+ ]),
1410
+ _: 1
1411
+ }),
1412
+ !operationColumn.value ? (openBlock(), createBlock(_component_el_form_item, {
1413
+ key: 0,
1414
+ label: "是否排序",
1415
+ class: "amb-design-attr-item"
1416
+ }, {
1417
+ default: withCtx(() => [
1418
+ createVNode(_component_el_radio_group, {
1419
+ modelValue: __props.configure.props.base.sortable,
1420
+ "onUpdate:modelValue": _cache[45] || (_cache[45] = ($event) => __props.configure.props.base.sortable = $event),
1421
+ class: "ml-4"
1422
+ }, {
1423
+ default: withCtx(() => [
1424
+ createVNode(_component_el_radio, { value: true }, {
1425
+ default: withCtx(() => [
1426
+ createTextVNode("是")
1427
+ ]),
1428
+ _: 1
1429
+ }),
1430
+ createVNode(_component_el_radio, { value: false }, {
1431
+ default: withCtx(() => [
1432
+ createTextVNode("否")
1433
+ ]),
1434
+ _: 1
1435
+ })
1436
+ ]),
1437
+ _: 1
1438
+ }, 8, ["modelValue"])
1439
+ ]),
1440
+ _: 1
1441
+ })) : createCommentVNode("", true),
1442
+ createVNode(_component_el_form_item, {
1443
+ label: "列宽",
1444
+ class: "amb-design-attr-item"
1445
+ }, {
1446
+ default: withCtx(() => [
1447
+ createVNode(_component_el_input_number, {
1448
+ style: { "width": "100%" },
1449
+ modelValue: __props.configure.props.base.columnWidth,
1450
+ "onUpdate:modelValue": _cache[46] || (_cache[46] = ($event) => __props.configure.props.base.columnWidth = $event),
1451
+ precision: 1
1452
+ }, null, 8, ["modelValue"])
1453
+ ]),
1454
+ _: 1
1455
+ }),
1456
+ createVNode(_component_el_form_item, {
1457
+ label: "标题对齐",
1458
+ class: "amb-design-attr-item"
1459
+ }, {
1460
+ default: withCtx(() => [
1461
+ createVNode(_component_el_radio_group, {
1462
+ modelValue: __props.configure.props.base.alignTittle,
1463
+ "onUpdate:modelValue": _cache[47] || (_cache[47] = ($event) => __props.configure.props.base.alignTittle = $event),
1464
+ class: "ml-4"
1465
+ }, {
1466
+ default: withCtx(() => [
1467
+ createVNode(_component_el_radio, { value: "left" }, {
1468
+ default: withCtx(() => [
1469
+ createTextVNode("居左")
1470
+ ]),
1471
+ _: 1
1472
+ }),
1473
+ createVNode(_component_el_radio, { value: "center" }, {
1474
+ default: withCtx(() => [
1475
+ createTextVNode("居中")
1476
+ ]),
1477
+ _: 1
1478
+ }),
1479
+ createVNode(_component_el_radio, { value: "right" }, {
1480
+ default: withCtx(() => [
1481
+ createTextVNode("居右")
1482
+ ]),
1483
+ _: 1
1484
+ })
1485
+ ]),
1486
+ _: 1
1487
+ }, 8, ["modelValue"])
1488
+ ]),
1489
+ _: 1
1490
+ }),
1491
+ createVNode(_component_el_form_item, {
1492
+ label: "内容对齐",
1493
+ class: "amb-design-attr-item-linefeed-two"
1494
+ }, {
1495
+ default: withCtx(() => [
1496
+ createVNode(_component_el_radio_group, {
1497
+ modelValue: __props.configure.props.base.alignContent,
1498
+ "onUpdate:modelValue": _cache[48] || (_cache[48] = ($event) => __props.configure.props.base.alignContent = $event),
1499
+ class: "ml-4"
1500
+ }, {
1501
+ default: withCtx(() => [
1502
+ createVNode(_component_el_radio, { value: "left" }, {
1503
+ default: withCtx(() => [
1504
+ createTextVNode("居左")
1505
+ ]),
1506
+ _: 1
1507
+ }),
1508
+ createVNode(_component_el_radio, { value: "center" }, {
1509
+ default: withCtx(() => [
1510
+ createTextVNode("居中")
1511
+ ]),
1512
+ _: 1
1513
+ }),
1514
+ createVNode(_component_el_radio, { value: "right" }, {
1515
+ default: withCtx(() => [
1516
+ createTextVNode("居右")
1517
+ ]),
1518
+ _: 1
1519
+ })
1520
+ ]),
1521
+ _: 1
1522
+ }, 8, ["modelValue"])
1523
+ ]),
1524
+ _: 1
1525
+ })
1526
+ ])
1527
+ ]),
1528
+ _: 1
1529
+ }),
1530
+ !operationColumn.value && __props.configure.props.editLine.editable ? (openBlock(), createBlock(_component_el_collapse_item, {
1531
+ key: 4,
1532
+ title: "校验",
1533
+ name: "verification",
1534
+ class: "amb-design-attr-group-header"
1535
+ }, {
1536
+ default: withCtx(() => [
1537
+ createElementVNode("div", _hoisted_9, [
1538
+ createVNode(_component_el_form_item, {
1539
+ class: "amb-design-attr-item",
1540
+ "label-width": "0"
1541
+ }, {
1542
+ default: withCtx(() => [
1543
+ createVNode(_component_el_checkbox, {
1544
+ modelValue: __props.configure.props.verification.required,
1545
+ "onUpdate:modelValue": _cache[49] || (_cache[49] = ($event) => __props.configure.props.verification.required = $event),
1546
+ label: "必填"
1547
+ }, null, 8, ["modelValue"])
1548
+ ]),
1549
+ _: 1
1550
+ }),
1551
+ createVNode(_component_el_checkbox_group, {
1552
+ modelValue: __props.configure.props.verification.type,
1553
+ "onUpdate:modelValue": _cache[50] || (_cache[50] = ($event) => __props.configure.props.verification.type = $event)
1554
+ }, {
1555
+ default: withCtx(() => [
1556
+ createVNode(_component_el_form_item, {
1557
+ class: "amb-design-attr-item",
1558
+ "label-width": "0"
1559
+ }, {
1560
+ default: withCtx(() => [
1561
+ createVNode(_component_el_checkbox, {
1562
+ label: "整形",
1563
+ value: "int"
1564
+ }),
1565
+ createVNode(_component_el_checkbox, {
1566
+ label: "数字",
1567
+ value: "number"
1568
+ }),
1569
+ createVNode(_component_el_checkbox, {
1570
+ label: "布尔",
1571
+ value: "boolean"
1572
+ })
1573
+ ]),
1574
+ _: 1
1575
+ }),
1576
+ createVNode(_component_el_form_item, {
1577
+ class: "amb-design-attr-item",
1578
+ "label-width": "0"
1579
+ }, {
1580
+ default: withCtx(() => [
1581
+ createVNode(_component_el_checkbox, {
1582
+ label: "字符串",
1583
+ value: "text"
1584
+ }),
1585
+ createVNode(_component_el_checkbox, {
1586
+ label: "邮件",
1587
+ value: "mail"
1588
+ }),
1589
+ createVNode(_component_el_checkbox, {
1590
+ label: "网址",
1591
+ value: "ip"
1592
+ })
1593
+ ]),
1594
+ _: 1
1595
+ }),
1596
+ createVNode(_component_el_form_item, {
1597
+ class: "amb-design-attr-item",
1598
+ "label-width": "0"
1599
+ }, {
1600
+ default: withCtx(() => [
1601
+ createVNode(_component_el_checkbox, {
1602
+ label: "单精度",
1603
+ value: "float"
1604
+ }),
1605
+ createVNode(_component_el_checkbox, {
1606
+ label: "十六进制",
1607
+ value: "hex"
1608
+ })
1609
+ ]),
1610
+ _: 1
1611
+ })
1612
+ ]),
1613
+ _: 1
1614
+ }, 8, ["modelValue"]),
1615
+ createVNode(_component_el_form_item, {
1616
+ class: "amb-design-attr-item",
1617
+ "label-width": "0"
1618
+ }, {
1619
+ default: withCtx(() => [
1620
+ createVNode(_component_el_col, { span: 8 }, {
1621
+ default: withCtx(() => [
1622
+ createVNode(_component_el_checkbox, {
1623
+ modelValue: __props.configure.props.verification.verifyRegex,
1624
+ "onUpdate:modelValue": _cache[51] || (_cache[51] = ($event) => __props.configure.props.verification.verifyRegex = $event),
1625
+ label: "正则",
1626
+ value: "regex"
1627
+ }, null, 8, ["modelValue"])
1628
+ ]),
1629
+ _: 1
1630
+ }),
1631
+ createVNode(_component_el_col, { span: 14 }, {
1632
+ default: withCtx(() => [
1633
+ createVNode(_component_el_input, {
1634
+ modelValue: __props.configure.props.verification.regex,
1635
+ "onUpdate:modelValue": _cache[52] || (_cache[52] = ($event) => __props.configure.props.verification.regex = $event),
1636
+ class: "mx-4",
1637
+ "controls-position": "right",
1638
+ placeholder: "请输入"
1639
+ }, null, 8, ["modelValue"])
1640
+ ]),
1641
+ _: 1
1642
+ })
1643
+ ]),
1644
+ _: 1
1645
+ }),
1646
+ createVNode(_component_el_form_item, {
1647
+ class: "amb-design-attr-item",
1648
+ "label-width": "0"
1649
+ }, {
1650
+ default: withCtx(() => [
1651
+ createVNode(_component_el_col, { span: 8 }, {
1652
+ default: withCtx(() => [
1653
+ createVNode(_component_el_checkbox, {
1654
+ label: "自定义",
1655
+ value: "custom"
1656
+ })
1657
+ ]),
1658
+ _: 1
1659
+ }),
1660
+ createVNode(_component_el_col, { span: 14 }, {
1661
+ default: withCtx(() => [
1662
+ createVNode(_component_el_button, null, {
1663
+ default: withCtx(() => [
1664
+ createTextVNode("自定义逻辑")
1665
+ ]),
1666
+ _: 1
1667
+ }),
1668
+ createVNode(_component_el_button, {
1669
+ icon: unref(Search),
1670
+ circle: ""
1671
+ }, null, 8, ["icon"])
1672
+ ]),
1673
+ _: 1
1674
+ })
1675
+ ]),
1676
+ _: 1
1677
+ })
1678
+ ])
1679
+ ]),
1680
+ _: 1
1681
+ })) : createCommentVNode("", true),
1682
+ !operationColumn.value ? (openBlock(), createBlock(_component_el_collapse_item, {
1683
+ key: 5,
1684
+ title: "用户自定义",
1685
+ name: "userDefined",
1686
+ class: "amb-design-attr-group-header"
1687
+ }, {
1688
+ default: withCtx(() => [
1689
+ createElementVNode("div", _hoisted_10, [
1690
+ createVNode(_component_el_form_item, {
1691
+ label: "可自定义",
1692
+ class: "amb-design-attr-item"
1693
+ }, {
1694
+ default: withCtx(() => [
1695
+ createVNode(_component_el_radio_group, {
1696
+ modelValue: __props.configure.props.definition.defined,
1697
+ "onUpdate:modelValue": _cache[53] || (_cache[53] = ($event) => __props.configure.props.definition.defined = $event),
1698
+ class: "ml-4"
1699
+ }, {
1700
+ default: withCtx(() => [
1701
+ createVNode(_component_el_radio, { value: false }, {
1702
+ default: withCtx(() => [
1703
+ createTextVNode("否")
1704
+ ]),
1705
+ _: 1
1706
+ }),
1707
+ createVNode(_component_el_radio, { value: true }, {
1708
+ default: withCtx(() => [
1709
+ createTextVNode("是")
1710
+ ]),
1711
+ _: 1
1712
+ })
1713
+ ]),
1714
+ _: 1
1715
+ }, 8, ["modelValue"])
1716
+ ]),
1717
+ _: 1
1718
+ }),
1719
+ createVNode(_component_el_form_item, {
1720
+ label: "自定义导出",
1721
+ class: "amb-design-attr-item"
1722
+ }, {
1723
+ default: withCtx(() => [
1724
+ createVNode(_component_el_radio_group, {
1725
+ modelValue: __props.configure.props.definition.definedExport,
1726
+ "onUpdate:modelValue": _cache[54] || (_cache[54] = ($event) => __props.configure.props.definition.definedExport = $event),
1727
+ class: "ml-4"
1728
+ }, {
1729
+ default: withCtx(() => [
1730
+ createVNode(_component_el_radio, { value: false }, {
1731
+ default: withCtx(() => [
1732
+ createTextVNode("否")
1733
+ ]),
1734
+ _: 1
1735
+ }),
1736
+ createVNode(_component_el_radio, { value: true }, {
1737
+ default: withCtx(() => [
1738
+ createTextVNode("是")
1739
+ ]),
1740
+ _: 1
1741
+ })
1742
+ ]),
1743
+ _: 1
1744
+ }, 8, ["modelValue"])
1745
+ ]),
1746
+ _: 1
1747
+ }),
1748
+ createVNode(_component_el_form_item, {
1749
+ label: "自定义合并",
1750
+ class: "amb-design-attr-item"
1751
+ }, {
1752
+ default: withCtx(() => [
1753
+ createVNode(_component_el_radio_group, {
1754
+ modelValue: __props.configure.props.definition.definedMerge,
1755
+ "onUpdate:modelValue": _cache[55] || (_cache[55] = ($event) => __props.configure.props.definition.definedMerge = $event),
1756
+ class: "ml-4"
1757
+ }, {
1758
+ default: withCtx(() => [
1759
+ createVNode(_component_el_radio, { value: false }, {
1760
+ default: withCtx(() => [
1761
+ createTextVNode("否")
1762
+ ]),
1763
+ _: 1
1764
+ }),
1765
+ createVNode(_component_el_radio, { value: true }, {
1766
+ default: withCtx(() => [
1767
+ createTextVNode("是")
1768
+ ]),
1769
+ _: 1
1770
+ })
1771
+ ]),
1772
+ _: 1
1773
+ }, 8, ["modelValue"])
1774
+ ]),
1775
+ _: 1
1776
+ }),
1777
+ createVNode(_component_el_form_item, {
1778
+ label: "自定义位置",
1779
+ class: "amb-design-attr-item"
1780
+ }, {
1781
+ default: withCtx(() => [
1782
+ createVNode(_component_el_radio_group, {
1783
+ modelValue: __props.configure.props.definition.definedPosition,
1784
+ "onUpdate:modelValue": _cache[56] || (_cache[56] = ($event) => __props.configure.props.definition.definedPosition = $event),
1785
+ class: "ml-4"
1786
+ }, {
1787
+ default: withCtx(() => [
1788
+ createVNode(_component_el_radio, { value: false }, {
1789
+ default: withCtx(() => [
1790
+ createTextVNode("否")
1791
+ ]),
1792
+ _: 1
1793
+ }),
1794
+ createVNode(_component_el_radio, { value: true }, {
1795
+ default: withCtx(() => [
1796
+ createTextVNode("是")
1797
+ ]),
1798
+ _: 1
1799
+ })
1800
+ ]),
1801
+ _: 1
1802
+ }, 8, ["modelValue"])
1803
+ ]),
1804
+ _: 1
1805
+ }),
1806
+ createVNode(_component_el_form_item, {
1807
+ label: "自定义冻结",
1808
+ class: "amb-design-attr-item"
1809
+ }, {
1810
+ default: withCtx(() => [
1811
+ createVNode(_component_el_radio_group, {
1812
+ modelValue: __props.configure.props.definition.definedFixed,
1813
+ "onUpdate:modelValue": _cache[57] || (_cache[57] = ($event) => __props.configure.props.definition.definedFixed = $event),
1814
+ class: "ml-4"
1815
+ }, {
1816
+ default: withCtx(() => [
1817
+ createVNode(_component_el_radio, { value: false }, {
1818
+ default: withCtx(() => [
1819
+ createTextVNode("否")
1820
+ ]),
1821
+ _: 1
1822
+ }),
1823
+ createVNode(_component_el_radio, { value: true }, {
1824
+ default: withCtx(() => [
1825
+ createTextVNode("是")
1826
+ ]),
1827
+ _: 1
1828
+ })
1829
+ ]),
1830
+ _: 1
1831
+ }, 8, ["modelValue"])
1832
+ ]),
1833
+ _: 1
1834
+ })
1835
+ ])
1836
+ ]),
1837
+ _: 1
1838
+ })) : createCommentVNode("", true),
1839
+ querySettingVisible.value ? (openBlock(), createBlock(_sfc_main$7, {
1840
+ key: 6,
1841
+ querySetting: __props.configure.props.querySetting,
1842
+ onAdd: querySettingAdd,
1843
+ onClose: closeFuerySettingValue
1844
+ }, null, 8, ["querySetting"])) : createCommentVNode("", true),
1845
+ createVNode(_sfc_main$8, {
1846
+ ref_key: "selectTableDialog",
1847
+ ref: selectTableDialog,
1848
+ onSelectTable,
1849
+ systemCode: __props.configure.systemCode,
1850
+ systemVersion: __props.configure.systemVersion
1851
+ }, null, 8, ["systemCode", "systemVersion"])
1852
+ ]),
1853
+ _: 1
1854
+ }, 8, ["modelValue"])
1855
+ ]),
1856
+ _: 1
1857
+ });
1858
+ };
1859
+ }
1860
+ });
2
1861
  export {
3
1862
  _sfc_main as default
4
1863
  };