super-page-designer 2.0.79 → 2.0.83

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