@fecp/designer 5.4.82 → 5.4.84
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.
- package/es/designer/package.json.mjs +1 -1
- package/es/designer/src/components/DocumentParam.vue.mjs +1 -1
- package/es/designer/src/components/ParamsConfig.vue2.mjs +1 -1
- package/es/designer/src/layout/aside/HiddenFieldDialog.vue.mjs +1 -1
- package/es/designer/src/packages/advancedFilter/ValueInput.vue2.mjs +1 -1
- package/es/designer/src/packages/dataLinkage/index.vue.mjs +1 -1
- package/es/designer/src/packages/dialog/useDialogDialog.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/index.vue.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/useDialogGlobalDialog.mjs +1 -1
- package/es/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/approvalHistory.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/contract.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/subForm.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/widgets.vue.mjs +2 -2
- package/es/designer/src/packages/prod/index.vue.mjs +1 -1
- package/es/designer/src/packages/table/aside/index.mjs +1 -1
- package/es/designer/src/packages/table/headerBtn.vue.mjs +1 -1
- package/es/designer/src/packages/table/index.vue.mjs +17 -166
- package/es/designer/src/packages/table/property/widgets.vue.mjs +37 -10
- package/es/designer/src/packages/table/queryModule/DynamicModeConfig.vue.mjs +18 -6
- package/es/designer/src/packages/utils/datasource.mjs +2 -3
- package/es/designer.css +231 -210
- package/es/packages/vue/src/components/forms/h2/H2.vue.mjs +1 -1
- package/es/packages/vue/src/components/table/DynamicQuery.vue.mjs +2 -3
- package/es/packages/vue/src/components/table/Table.vue.mjs +32 -5
- package/es/packages/vue/src/components/table/TableColumn.vue.mjs +6 -5
- package/es/packages/vue/src/components/table/TableFilter.vue.mjs +3 -3
- package/es/packages/vue/src/utils/datasource.mjs +4 -6
- package/es/packages/vue/src/utils/eventFlow/actionHandlers.mjs +2 -17
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/components/DocumentParam.vue.js +1 -1
- package/lib/designer/src/components/ParamsConfig.vue2.js +1 -1
- package/lib/designer/src/layout/aside/HiddenFieldDialog.vue.js +1 -1
- package/lib/designer/src/packages/advancedFilter/ValueInput.vue2.js +1 -1
- package/lib/designer/src/packages/dataLinkage/index.vue.js +1 -1
- package/lib/designer/src/packages/dialog/useDialogDialog.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/index.vue.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
- package/lib/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.js +1 -1
- package/lib/designer/src/packages/form/property/approvalHistory.vue.js +1 -1
- package/lib/designer/src/packages/form/property/contract.vue.js +1 -1
- package/lib/designer/src/packages/form/property/subForm.vue.js +1 -1
- package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
- package/lib/designer/src/packages/prod/index.vue.js +1 -1
- package/lib/designer/src/packages/table/aside/index.js +1 -1
- package/lib/designer/src/packages/table/headerBtn.vue.js +1 -1
- package/lib/designer/src/packages/table/index.vue.js +24 -173
- package/lib/designer/src/packages/table/property/widgets.vue.js +37 -10
- package/lib/designer/src/packages/table/queryModule/DynamicModeConfig.vue.js +18 -6
- package/lib/designer/src/packages/utils/datasource.js +2 -3
- package/lib/designer.css +231 -210
- package/lib/packages/vue/src/components/forms/h2/H2.vue.js +1 -1
- package/lib/packages/vue/src/components/table/DynamicQuery.vue.js +2 -3
- package/lib/packages/vue/src/components/table/Table.vue.js +38 -11
- package/lib/packages/vue/src/components/table/TableColumn.vue.js +6 -5
- package/lib/packages/vue/src/components/table/TableFilter.vue.js +3 -3
- package/lib/packages/vue/src/utils/datasource.js +4 -6
- package/lib/packages/vue/src/utils/eventFlow/actionHandlers.js +2 -17
- package/package.json +1 -1
|
@@ -4,23 +4,13 @@ require("../../../../node_modules/element-plus/es/index.js");
|
|
|
4
4
|
;/* empty css */
|
|
5
5
|
;/* empty css */
|
|
6
6
|
;/* empty css */
|
|
7
|
-
;/* empty css */
|
|
8
|
-
;/* empty css */
|
|
9
|
-
;/* empty css */
|
|
10
|
-
;/* empty css */
|
|
11
|
-
require("../../../../node_modules/element-plus/theme-chalk/el-dropdown-menu.css.js");
|
|
12
|
-
;/* empty css */
|
|
13
|
-
;/* empty css */
|
|
14
|
-
;/* empty css */
|
|
15
|
-
;/* empty css */
|
|
16
|
-
;/* empty css */
|
|
17
7
|
;/* empty css */
|
|
18
8
|
;/* empty css */
|
|
19
9
|
;/* empty css */
|
|
20
10
|
const vue = require("vue");
|
|
21
11
|
const _default = require("./default.js");
|
|
22
12
|
const vueDraggablePlus = require("../../../../node_modules/vue-draggable-plus/dist/vue-draggable-plus.js");
|
|
23
|
-
const index$
|
|
13
|
+
const index$6 = require("../../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
24
14
|
const TableSetting = require("./TableSetting.vue.js");
|
|
25
15
|
const index = ;/* empty css */
|
|
26
16
|
const tablePagination = require("./tablePagination.vue.js");
|
|
@@ -35,11 +25,8 @@ const index$2 = require("../../../../node_modules/element-plus/es/components/rad
|
|
|
35
25
|
const index$3 = require("../../../../node_modules/element-plus/es/components/scrollbar/index.js");
|
|
36
26
|
const index$4 = require("../../../../node_modules/element-plus/es/components/icon/index.js");
|
|
37
27
|
const index$5 = require("../../../../node_modules/element-plus/es/components/link/index.js");
|
|
38
|
-
const index$
|
|
39
|
-
const index$8 = require("../../../../node_modules/element-plus/es/components/
|
|
40
|
-
const index$9 = require("../../../../node_modules/element-plus/es/components/input-number/index.js");
|
|
41
|
-
const index$a = require("../../../../node_modules/element-plus/es/components/tag/index.js");
|
|
42
|
-
const index$b = require("../../../../node_modules/element-plus/es/components/message/index.js");
|
|
28
|
+
const index$7 = require("../../../../node_modules/element-plus/es/components/tag/index.js");
|
|
29
|
+
const index$8 = require("../../../../node_modules/element-plus/es/components/message/index.js");
|
|
43
30
|
const _hoisted_1 = { class: "table-work-area" };
|
|
44
31
|
const _hoisted_2 = {
|
|
45
32
|
key: 0,
|
|
@@ -56,19 +43,7 @@ const _hoisted_7 = { class: "widgets" };
|
|
|
56
43
|
const _hoisted_8 = { class: "field-label" };
|
|
57
44
|
const _hoisted_9 = { key: 1 };
|
|
58
45
|
const _hoisted_10 = { class: "quick-operation" };
|
|
59
|
-
const _hoisted_11 = { class: "
|
|
60
|
-
const _hoisted_12 = { class: "setting-row" };
|
|
61
|
-
const _hoisted_13 = { class: "setting-row" };
|
|
62
|
-
const _hoisted_14 = {
|
|
63
|
-
key: 0,
|
|
64
|
-
class: "setting-row"
|
|
65
|
-
};
|
|
66
|
-
const _hoisted_15 = {
|
|
67
|
-
key: 1,
|
|
68
|
-
class: "setting-row"
|
|
69
|
-
};
|
|
70
|
-
const _hoisted_16 = { class: "setting-row" };
|
|
71
|
-
const _hoisted_17 = { class: "widgets" };
|
|
46
|
+
const _hoisted_11 = { class: "widgets" };
|
|
72
47
|
const _sfc_main = {
|
|
73
48
|
__name: "index",
|
|
74
49
|
setup(__props) {
|
|
@@ -98,13 +73,7 @@ const _sfc_main = {
|
|
|
98
73
|
const tableOptions = vue.computed(() => {
|
|
99
74
|
return common.getEditConfigData();
|
|
100
75
|
});
|
|
101
|
-
|
|
102
|
-
function getDropdownVisible(itemId) {
|
|
103
|
-
return dropdownVisibleMap.value.get(itemId) || false;
|
|
104
|
-
}
|
|
105
|
-
function setDropdownVisible(itemId, visible) {
|
|
106
|
-
dropdownVisibleMap.value.set(itemId, visible);
|
|
107
|
-
}
|
|
76
|
+
vue.ref(/* @__PURE__ */ new Map());
|
|
108
77
|
function addOptBtns() {
|
|
109
78
|
tableOptions.value.optBtns.push({
|
|
110
79
|
id: Date.now(),
|
|
@@ -145,7 +114,7 @@ const _sfc_main = {
|
|
|
145
114
|
if (filterIndex !== -1) {
|
|
146
115
|
tableOptions.value.queryConfig.filterFields.splice(filterIndex, 1);
|
|
147
116
|
}
|
|
148
|
-
index$
|
|
117
|
+
index$8.ElMessage.success("字段已移至回收站");
|
|
149
118
|
}
|
|
150
119
|
common.setSelectedItem();
|
|
151
120
|
}
|
|
@@ -173,13 +142,8 @@ const _sfc_main = {
|
|
|
173
142
|
const _component_el_icon = index$4.ElIcon;
|
|
174
143
|
const _component_el_link = index$5.ElLink;
|
|
175
144
|
const _component_CopyDocument = vue.resolveComponent("CopyDocument");
|
|
176
|
-
const _component_el_option = index$8.ElOption;
|
|
177
|
-
const _component_el_select = index$8.ElSelect;
|
|
178
|
-
const _component_el_input_number = index$9.ElInputNumber;
|
|
179
|
-
const _component_el_dropdown_menu = index$6.ElDropdownMenu;
|
|
180
|
-
const _component_el_dropdown = index$6.ElDropdown;
|
|
181
145
|
const _component_el_scrollbar = index$3.ElScrollbar;
|
|
182
|
-
const _component_el_tag = index$
|
|
146
|
+
const _component_el_tag = index$7.ElTag;
|
|
183
147
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
184
148
|
vue.createVNode(vue.unref(index.default)),
|
|
185
149
|
vue.createVNode(TableSetting.default),
|
|
@@ -235,7 +199,15 @@ const _sfc_main = {
|
|
|
235
199
|
}, [
|
|
236
200
|
vue.createElementVNode("div", _hoisted_7, [
|
|
237
201
|
vue.createTextVNode(vue.toDisplayString(item.label) + " ", 1),
|
|
238
|
-
item.
|
|
202
|
+
item.sortRule == "static" ? (vue.openBlock(), vue.createBlock(_component_el_icon, { key: 0 }, {
|
|
203
|
+
default: vue.withCtx(() => [
|
|
204
|
+
vue.createVNode(_component_DCaret)
|
|
205
|
+
]),
|
|
206
|
+
_: 1
|
|
207
|
+
})) : item.sortRule == "server" ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
|
|
208
|
+
key: 1,
|
|
209
|
+
style: { "color": "#8dd0f0" }
|
|
210
|
+
}, {
|
|
239
211
|
default: vue.withCtx(() => [
|
|
240
212
|
vue.createVNode(_component_DCaret)
|
|
241
213
|
]),
|
|
@@ -262,134 +234,13 @@ const _sfc_main = {
|
|
|
262
234
|
})) : vue.createCommentVNode("", true)
|
|
263
235
|
]),
|
|
264
236
|
vue.createElementVNode("div", _hoisted_10, [
|
|
265
|
-
vue.createVNode(_component_el_dropdown, {
|
|
266
|
-
"max-height": 500,
|
|
267
|
-
"popper-class": `quick-operation-dropdown-${item.id}`,
|
|
268
|
-
trigger: "click",
|
|
269
|
-
placement: "bottom",
|
|
270
|
-
"hide-on-click": false,
|
|
271
|
-
onVisibleChange: (visible) => setDropdownVisible(item.id, visible)
|
|
272
|
-
}, {
|
|
273
|
-
dropdown: vue.withCtx(() => [
|
|
274
|
-
getDropdownVisible(item.id) ? (vue.openBlock(), vue.createBlock(_component_el_dropdown_menu, { key: 0 }, {
|
|
275
|
-
default: vue.withCtx(() => [
|
|
276
|
-
vue.createElementVNode("div", _hoisted_11, [
|
|
277
|
-
vue.createElementVNode("div", _hoisted_12, [
|
|
278
|
-
_cache[6] || (_cache[6] = vue.createElementVNode("span", { class: "setting-label" }, "对齐:", -1)),
|
|
279
|
-
vue.createVNode(_component_el_select, {
|
|
280
|
-
modelValue: item.align,
|
|
281
|
-
"onUpdate:modelValue": ($event) => item.align = $event,
|
|
282
|
-
size: "small",
|
|
283
|
-
class: "setting-select",
|
|
284
|
-
"append-to": `.quick-operation-dropdown-${item.id}`
|
|
285
|
-
}, {
|
|
286
|
-
default: vue.withCtx(() => [
|
|
287
|
-
vue.createVNode(_component_el_option, {
|
|
288
|
-
label: "左对齐",
|
|
289
|
-
value: "left"
|
|
290
|
-
}),
|
|
291
|
-
vue.createVNode(_component_el_option, {
|
|
292
|
-
label: "居中",
|
|
293
|
-
value: "center"
|
|
294
|
-
}),
|
|
295
|
-
vue.createVNode(_component_el_option, {
|
|
296
|
-
label: "右对齐",
|
|
297
|
-
value: "right"
|
|
298
|
-
})
|
|
299
|
-
]),
|
|
300
|
-
_: 2
|
|
301
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "append-to"])
|
|
302
|
-
]),
|
|
303
|
-
vue.createElementVNode("div", _hoisted_13, [
|
|
304
|
-
_cache[7] || (_cache[7] = vue.createElementVNode("span", { class: "setting-label" }, "宽度:", -1)),
|
|
305
|
-
vue.createVNode(_component_el_select, {
|
|
306
|
-
modelValue: item.widthMode,
|
|
307
|
-
"onUpdate:modelValue": ($event) => item.widthMode = $event,
|
|
308
|
-
size: "small",
|
|
309
|
-
class: "setting-select",
|
|
310
|
-
"append-to": `.quick-operation-dropdown-${item.id}`
|
|
311
|
-
}, {
|
|
312
|
-
default: vue.withCtx(() => [
|
|
313
|
-
vue.createVNode(_component_el_option, {
|
|
314
|
-
label: "自适应",
|
|
315
|
-
value: "auto"
|
|
316
|
-
}),
|
|
317
|
-
vue.createVNode(_component_el_option, {
|
|
318
|
-
label: "固定",
|
|
319
|
-
value: "fixed"
|
|
320
|
-
})
|
|
321
|
-
]),
|
|
322
|
-
_: 2
|
|
323
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "append-to"])
|
|
324
|
-
]),
|
|
325
|
-
item.widthMode === "fixed" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14, [
|
|
326
|
-
_cache[8] || (_cache[8] = vue.createElementVNode("span", { class: "setting-label" }, "固定:", -1)),
|
|
327
|
-
vue.createVNode(_component_el_input_number, {
|
|
328
|
-
modelValue: item.width,
|
|
329
|
-
"onUpdate:modelValue": ($event) => item.width = $event,
|
|
330
|
-
size: "small",
|
|
331
|
-
min: 50,
|
|
332
|
-
max: 500,
|
|
333
|
-
"controls-position": "right",
|
|
334
|
-
class: "setting-input"
|
|
335
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
336
|
-
])) : vue.createCommentVNode("", true),
|
|
337
|
-
item.widthMode === "auto" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_15, [
|
|
338
|
-
_cache[9] || (_cache[9] = vue.createElementVNode("span", { class: "setting-label" }, "最小:", -1)),
|
|
339
|
-
vue.createVNode(_component_el_input_number, {
|
|
340
|
-
modelValue: item.minWidth,
|
|
341
|
-
"onUpdate:modelValue": ($event) => item.minWidth = $event,
|
|
342
|
-
size: "small",
|
|
343
|
-
min: 80,
|
|
344
|
-
max: 500,
|
|
345
|
-
"controls-position": "right",
|
|
346
|
-
class: "setting-input"
|
|
347
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
348
|
-
])) : vue.createCommentVNode("", true),
|
|
349
|
-
vue.createElementVNode("div", _hoisted_16, [
|
|
350
|
-
vue.createVNode(_component_el_checkbox, {
|
|
351
|
-
modelValue: item.canSort,
|
|
352
|
-
"onUpdate:modelValue": ($event) => item.canSort = $event,
|
|
353
|
-
label: "排序",
|
|
354
|
-
size: "small"
|
|
355
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
356
|
-
vue.createVNode(_component_el_checkbox, {
|
|
357
|
-
modelValue: item.isFixed,
|
|
358
|
-
"onUpdate:modelValue": ($event) => item.isFixed = $event,
|
|
359
|
-
label: "固定",
|
|
360
|
-
size: "small"
|
|
361
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
362
|
-
vue.createVNode(_component_el_checkbox, {
|
|
363
|
-
modelValue: item.canCopy,
|
|
364
|
-
"onUpdate:modelValue": ($event) => item.canCopy = $event,
|
|
365
|
-
label: "复制",
|
|
366
|
-
size: "small"
|
|
367
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
368
|
-
])
|
|
369
|
-
])
|
|
370
|
-
]),
|
|
371
|
-
_: 2
|
|
372
|
-
}, 1024)) : vue.createCommentVNode("", true)
|
|
373
|
-
]),
|
|
374
|
-
default: vue.withCtx(() => [
|
|
375
|
-
vue.createVNode(_component_el_icon, {
|
|
376
|
-
class: vue.normalizeClass(["setting-icon", { "is-active": getDropdownVisible(item.id) }])
|
|
377
|
-
}, {
|
|
378
|
-
default: vue.withCtx(() => [
|
|
379
|
-
vue.createVNode(vue.unref(index$7.Setting))
|
|
380
|
-
]),
|
|
381
|
-
_: 2
|
|
382
|
-
}, 1032, ["class"])
|
|
383
|
-
]),
|
|
384
|
-
_: 2
|
|
385
|
-
}, 1032, ["popper-class", "onVisibleChange"]),
|
|
386
237
|
getVisibleColCount() > 1 ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
|
|
387
238
|
key: 0,
|
|
388
239
|
class: "icon-action setting-icon",
|
|
389
240
|
onClick: vue.withModifiers(($event) => handleHide(item), ["stop"])
|
|
390
241
|
}, {
|
|
391
242
|
default: vue.withCtx(() => [
|
|
392
|
-
vue.createVNode(vue.unref(index$
|
|
243
|
+
vue.createVNode(vue.unref(index$6.Hide))
|
|
393
244
|
]),
|
|
394
245
|
_: 2
|
|
395
246
|
}, 1032, ["onClick"])) : vue.createCommentVNode("", true),
|
|
@@ -399,7 +250,7 @@ const _sfc_main = {
|
|
|
399
250
|
onClick: vue.withModifiers(($event) => deleteWidgets(item), ["stop"])
|
|
400
251
|
}, {
|
|
401
252
|
default: vue.withCtx(() => [
|
|
402
|
-
vue.createVNode(vue.unref(index$
|
|
253
|
+
vue.createVNode(vue.unref(index$6.Delete))
|
|
403
254
|
]),
|
|
404
255
|
_: 2
|
|
405
256
|
}, 1032, ["onClick"])) : vue.createCommentVNode("", true)
|
|
@@ -411,28 +262,28 @@ const _sfc_main = {
|
|
|
411
262
|
]),
|
|
412
263
|
_: 1
|
|
413
264
|
}, 8, ["modelValue"]),
|
|
414
|
-
_cache[
|
|
265
|
+
_cache[6] || (_cache[6] = vue.createElementVNode("div", { class: "widgets-opt-tools" }, null, -1))
|
|
415
266
|
]),
|
|
416
267
|
_: 1
|
|
417
268
|
}),
|
|
418
269
|
vue.createElementVNode("div", {
|
|
419
270
|
class: vue.normalizeClass(["table-item table-btn", { close: !vue.unref(tableOptions).isOptBtns }])
|
|
420
271
|
}, [
|
|
421
|
-
vue.createElementVNode("div",
|
|
272
|
+
vue.createElementVNode("div", _hoisted_11, [
|
|
422
273
|
vue.createVNode(_component_el_checkbox, {
|
|
423
274
|
class: "isOptBtns",
|
|
424
275
|
modelValue: vue.unref(tableOptions).isOptBtns,
|
|
425
276
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(tableOptions).isOptBtns = $event)
|
|
426
277
|
}, null, 8, ["modelValue"]),
|
|
427
|
-
_cache[
|
|
278
|
+
_cache[8] || (_cache[8] = vue.createElementVNode("span", { class: "widgets-label" }, "操作", -1)),
|
|
428
279
|
vue.createVNode(_component_el_link, {
|
|
429
280
|
class: "addLink",
|
|
430
281
|
underline: "never",
|
|
431
282
|
type: "primary",
|
|
432
|
-
icon: vue.unref(index$
|
|
283
|
+
icon: vue.unref(index$6.Plus),
|
|
433
284
|
onClick: vue.withModifiers(addOptBtns, ["stop"])
|
|
434
285
|
}, {
|
|
435
|
-
default: vue.withCtx(() => _cache[
|
|
286
|
+
default: vue.withCtx(() => _cache[7] || (_cache[7] = [
|
|
436
287
|
vue.createTextVNode("按钮")
|
|
437
288
|
])),
|
|
438
289
|
_: 1
|
|
@@ -474,5 +325,5 @@ const _sfc_main = {
|
|
|
474
325
|
};
|
|
475
326
|
}
|
|
476
327
|
};
|
|
477
|
-
const tableWorkArea = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
328
|
+
const tableWorkArea = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-4248fdc3"]]);
|
|
478
329
|
exports.default = tableWorkArea;
|
|
@@ -458,22 +458,49 @@ const _sfc_main = {
|
|
|
458
458
|
]),
|
|
459
459
|
_: 1
|
|
460
460
|
}),
|
|
461
|
+
vue.createVNode(_component_el_form_item, { label: "字段排序" }, {
|
|
462
|
+
default: vue.withCtx(() => [
|
|
463
|
+
vue.createVNode(_component_el_radio_group, {
|
|
464
|
+
modelValue: vue.unref(currentItem).sortRule,
|
|
465
|
+
"onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => vue.unref(currentItem).sortRule = $event),
|
|
466
|
+
size: "small"
|
|
467
|
+
}, {
|
|
468
|
+
default: vue.withCtx(() => [
|
|
469
|
+
vue.createVNode(_component_el_radio_button, { value: "none" }, {
|
|
470
|
+
default: vue.withCtx(() => _cache[27] || (_cache[27] = [
|
|
471
|
+
vue.createTextVNode("无")
|
|
472
|
+
])),
|
|
473
|
+
_: 1
|
|
474
|
+
}),
|
|
475
|
+
vue.createVNode(_component_el_radio_button, { value: "static" }, {
|
|
476
|
+
default: vue.withCtx(() => _cache[28] || (_cache[28] = [
|
|
477
|
+
vue.createTextVNode("前台排序")
|
|
478
|
+
])),
|
|
479
|
+
_: 1
|
|
480
|
+
}),
|
|
481
|
+
vue.createVNode(_component_el_radio_button, { value: "server" }, {
|
|
482
|
+
default: vue.withCtx(() => _cache[29] || (_cache[29] = [
|
|
483
|
+
vue.createTextVNode("后台排序")
|
|
484
|
+
])),
|
|
485
|
+
_: 1
|
|
486
|
+
})
|
|
487
|
+
]),
|
|
488
|
+
_: 1
|
|
489
|
+
}, 8, ["modelValue"])
|
|
490
|
+
]),
|
|
491
|
+
_: 1
|
|
492
|
+
}),
|
|
461
493
|
vue.createVNode(_component_el_form_item, { label: "其他" }, {
|
|
462
494
|
default: vue.withCtx(() => [
|
|
463
495
|
vue.createVNode(_component_el_checkbox, {
|
|
464
|
-
modelValue: vue.unref(currentItem).
|
|
465
|
-
"onUpdate:modelValue": _cache[
|
|
466
|
-
label: "
|
|
496
|
+
modelValue: vue.unref(currentItem).isFixed,
|
|
497
|
+
"onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => vue.unref(currentItem).isFixed = $event),
|
|
498
|
+
label: "左侧固定"
|
|
467
499
|
}, null, 8, ["modelValue"]),
|
|
468
500
|
vue.createVNode(_component_el_checkbox, {
|
|
469
501
|
modelValue: vue.unref(currentItem).canCopy,
|
|
470
|
-
"onUpdate:modelValue": _cache[
|
|
502
|
+
"onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => vue.unref(currentItem).canCopy = $event),
|
|
471
503
|
label: "复制"
|
|
472
|
-
}, null, 8, ["modelValue"]),
|
|
473
|
-
vue.createVNode(_component_el_checkbox, {
|
|
474
|
-
modelValue: vue.unref(currentItem).isFixed,
|
|
475
|
-
"onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => vue.unref(currentItem).isFixed = $event),
|
|
476
|
-
label: "左侧固定"
|
|
477
504
|
}, null, 8, ["modelValue"])
|
|
478
505
|
]),
|
|
479
506
|
_: 1
|
|
@@ -490,5 +517,5 @@ const _sfc_main = {
|
|
|
490
517
|
};
|
|
491
518
|
}
|
|
492
519
|
};
|
|
493
|
-
const widgets = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
520
|
+
const widgets = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-ee9264c8"]]);
|
|
494
521
|
exports.default = widgets;
|
|
@@ -303,10 +303,22 @@ const _sfc_main = {
|
|
|
303
303
|
vue.createElementVNode("div", _hoisted_6, [
|
|
304
304
|
__props.enabled ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
|
|
305
305
|
vue.createVNode(_component_el_input, {
|
|
306
|
-
placeholder: "
|
|
307
|
-
class: "search-input"
|
|
308
|
-
|
|
309
|
-
|
|
306
|
+
placeholder: "请输入查询条件",
|
|
307
|
+
class: "search-input"
|
|
308
|
+
}, vue.createSlots({
|
|
309
|
+
suffix: vue.withCtx(() => [
|
|
310
|
+
vue.createVNode(_component_el_icon, {
|
|
311
|
+
class: "el-input__icon",
|
|
312
|
+
style: { "cursor": "pointer" }
|
|
313
|
+
}, {
|
|
314
|
+
default: vue.withCtx(() => [
|
|
315
|
+
vue.createVNode(vue.unref(index$1.Search))
|
|
316
|
+
]),
|
|
317
|
+
_: 1
|
|
318
|
+
})
|
|
319
|
+
]),
|
|
320
|
+
_: 2
|
|
321
|
+
}, [
|
|
310
322
|
dynamicConfig.value.advancedSearch ? {
|
|
311
323
|
name: "append",
|
|
312
324
|
fn: vue.withCtx(() => [
|
|
@@ -319,7 +331,7 @@ const _sfc_main = {
|
|
|
319
331
|
]),
|
|
320
332
|
key: "0"
|
|
321
333
|
} : void 0
|
|
322
|
-
]),
|
|
334
|
+
]), 1024)
|
|
323
335
|
])) : vue.createCommentVNode("", true),
|
|
324
336
|
vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable), {
|
|
325
337
|
modelValue: editConfigData.value.customBtns.right,
|
|
@@ -496,5 +508,5 @@ const _sfc_main = {
|
|
|
496
508
|
};
|
|
497
509
|
}
|
|
498
510
|
};
|
|
499
|
-
const DynamicModeConfig = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
511
|
+
const DynamicModeConfig = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-f2c50fdc"]]);
|
|
500
512
|
exports.default = DynamicModeConfig;
|
|
@@ -221,10 +221,9 @@ class DataSourceManager {
|
|
|
221
221
|
}
|
|
222
222
|
} else {
|
|
223
223
|
if (existingIndex > -1) {
|
|
224
|
-
this.sortRules
|
|
225
|
-
} else {
|
|
226
|
-
this.sortRules.push({ field, order });
|
|
224
|
+
this.sortRules.splice(existingIndex, 1);
|
|
227
225
|
}
|
|
226
|
+
this.sortRules.unshift({ field, order });
|
|
228
227
|
}
|
|
229
228
|
}
|
|
230
229
|
/**
|