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