@fecp/designer 5.5.37 → 5.5.40
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/ValueSelector.vue2.mjs +3 -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/form/property/widgets.vue.mjs +2 -2
- package/es/designer.css +24 -22
- package/es/packages/vue/src/components/details/footer/Footer.vue.mjs +16 -5
- package/es/packages/vue/src/components/table/TableFilter.vue.mjs +7 -5
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/components/ValueSelector.vue2.js +14 -12
- package/lib/designer/src/packages/dialog/index.vue2.js +326 -326
- 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/index.vue2.js +297 -297
- package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
- package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
- package/lib/designer.css +24 -22
- package/lib/packages/vue/src/components/details/footer/Footer.vue.js +15 -4
- package/lib/packages/vue/src/components/table/TableFilter.vue.js +6 -4
- package/package.json +1 -1
|
@@ -26,7 +26,7 @@ require("../../../../node_modules/element-plus/es/index.js");
|
|
|
26
26
|
;/* empty css */
|
|
27
27
|
;/* empty css */
|
|
28
28
|
;/* empty css */
|
|
29
|
-
const
|
|
29
|
+
const Vue = require("vue");
|
|
30
30
|
const vueDraggablePlus = require("../../../../node_modules/vue-draggable-plus/dist/vue-draggable-plus.js");
|
|
31
31
|
const index$5 = require("../../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
32
32
|
const common = require("../utils/common.js");
|
|
@@ -158,17 +158,17 @@ const _sfc_main = {
|
|
|
158
158
|
},
|
|
159
159
|
emits: ["update:modelValue"],
|
|
160
160
|
setup(__props) {
|
|
161
|
-
const currentInstance =
|
|
161
|
+
const currentInstance = Vue.getCurrentInstance();
|
|
162
162
|
const ctx = currentInstance.proxy;
|
|
163
|
-
const editConfigData =
|
|
163
|
+
const editConfigData = Vue.computed(() => {
|
|
164
164
|
return common.getEditConfigData();
|
|
165
165
|
});
|
|
166
|
-
const dialogVisible =
|
|
167
|
-
const loading =
|
|
168
|
-
const saving =
|
|
169
|
-
const selectedDialogs =
|
|
170
|
-
const activeDialogIndex =
|
|
171
|
-
|
|
166
|
+
const dialogVisible = Vue.useModel(__props, "modelValue");
|
|
167
|
+
const loading = Vue.ref(false);
|
|
168
|
+
const saving = Vue.ref(false);
|
|
169
|
+
const selectedDialogs = Vue.ref([]);
|
|
170
|
+
const activeDialogIndex = Vue.ref(-1);
|
|
171
|
+
Vue.watch(dialogVisible, async (val) => {
|
|
172
172
|
if (val) {
|
|
173
173
|
isEditingNew.value = false;
|
|
174
174
|
editingDialogIndex.value = -1;
|
|
@@ -195,10 +195,10 @@ const _sfc_main = {
|
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
});
|
|
198
|
-
const isEditingNew =
|
|
199
|
-
const newDialogName =
|
|
200
|
-
const editingDialogIndex =
|
|
201
|
-
const editingDialogName =
|
|
198
|
+
const isEditingNew = Vue.ref(false);
|
|
199
|
+
const newDialogName = Vue.ref("");
|
|
200
|
+
const editingDialogIndex = Vue.ref(-1);
|
|
201
|
+
const editingDialogName = Vue.ref("");
|
|
202
202
|
const startAddDialog = () => {
|
|
203
203
|
isEditingNew.value = true;
|
|
204
204
|
newDialogName.value = "";
|
|
@@ -297,9 +297,9 @@ const _sfc_main = {
|
|
|
297
297
|
saving.value = false;
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
|
-
const tableOptions =
|
|
301
|
-
const formOptions =
|
|
302
|
-
const currentDialog =
|
|
300
|
+
const tableOptions = Vue.ref(null);
|
|
301
|
+
const formOptions = Vue.ref(null);
|
|
302
|
+
const currentDialog = Vue.computed(() => {
|
|
303
303
|
const data = selectedDialogs.value[activeDialogIndex.value];
|
|
304
304
|
if (!data.fieldMapping) {
|
|
305
305
|
data.fieldMapping = [];
|
|
@@ -336,11 +336,11 @@ const _sfc_main = {
|
|
|
336
336
|
function formSelectorConfirm(data) {
|
|
337
337
|
formOptions.value = data;
|
|
338
338
|
}
|
|
339
|
-
const tableMode =
|
|
339
|
+
const tableMode = Vue.computed(() => {
|
|
340
340
|
var _a;
|
|
341
341
|
return (_a = tableOptions.value) == null ? void 0 : _a.mode;
|
|
342
342
|
});
|
|
343
|
-
|
|
343
|
+
Vue.computed(() => {
|
|
344
344
|
var _a, _b, _c, _d;
|
|
345
345
|
if (currentDialog.value.tableContent === "custom") {
|
|
346
346
|
return ((_b = (_a = currentDialog.value) == null ? void 0 : _a.customTableConfig) == null ? void 0 : _b.fieldsData) || [];
|
|
@@ -351,7 +351,7 @@ const _sfc_main = {
|
|
|
351
351
|
];
|
|
352
352
|
}
|
|
353
353
|
});
|
|
354
|
-
const formFooterBtn =
|
|
354
|
+
const formFooterBtn = Vue.computed(() => {
|
|
355
355
|
var _a;
|
|
356
356
|
const btnList = (_a = formOptions.value) == null ? void 0 : _a.pageFooterConfig.actions;
|
|
357
357
|
if (btnList) {
|
|
@@ -405,7 +405,7 @@ const _sfc_main = {
|
|
|
405
405
|
const _component_el_checkbox = index$f.ElCheckbox;
|
|
406
406
|
const _component_el_form = index$a.ElForm;
|
|
407
407
|
const _component_el_dialog = index$2.ElDialog;
|
|
408
|
-
return
|
|
408
|
+
return Vue.openBlock(), Vue.createBlock(_component_el_dialog, {
|
|
409
409
|
modelValue: dialogVisible.value,
|
|
410
410
|
"onUpdate:modelValue": _cache[26] || (_cache[26] = ($event) => dialogVisible.value = $event),
|
|
411
411
|
width: "50%",
|
|
@@ -414,146 +414,146 @@ const _sfc_main = {
|
|
|
414
414
|
overflow: "",
|
|
415
415
|
"append-to-body": "",
|
|
416
416
|
class: "fec-dev-designer-dialog",
|
|
417
|
-
"close-on-click-modal": !
|
|
418
|
-
"close-on-press-escape": !
|
|
419
|
-
"show-close": !
|
|
417
|
+
"close-on-click-modal": !Vue.unref(saving),
|
|
418
|
+
"close-on-press-escape": !Vue.unref(saving),
|
|
419
|
+
"show-close": !Vue.unref(saving)
|
|
420
420
|
}, {
|
|
421
|
-
footer:
|
|
422
|
-
|
|
423
|
-
|
|
421
|
+
footer: Vue.withCtx(() => [
|
|
422
|
+
Vue.createElementVNode("div", _hoisted_21, [
|
|
423
|
+
Vue.createVNode(_component_el_button, {
|
|
424
424
|
onClick: _cache[25] || (_cache[25] = ($event) => dialogVisible.value = false),
|
|
425
|
-
disabled:
|
|
425
|
+
disabled: Vue.unref(saving)
|
|
426
426
|
}, {
|
|
427
|
-
default:
|
|
428
|
-
|
|
427
|
+
default: Vue.withCtx(() => _cache[43] || (_cache[43] = [
|
|
428
|
+
Vue.createTextVNode("取消")
|
|
429
429
|
])),
|
|
430
430
|
_: 1
|
|
431
431
|
}, 8, ["disabled"]),
|
|
432
|
-
|
|
432
|
+
Vue.createVNode(_component_el_button, {
|
|
433
433
|
type: "primary",
|
|
434
434
|
onClick: onConfirm,
|
|
435
|
-
loading:
|
|
436
|
-
disabled:
|
|
435
|
+
loading: Vue.unref(saving),
|
|
436
|
+
disabled: Vue.unref(loading) || Vue.unref(saving)
|
|
437
437
|
}, {
|
|
438
|
-
default:
|
|
439
|
-
|
|
438
|
+
default: Vue.withCtx(() => _cache[44] || (_cache[44] = [
|
|
439
|
+
Vue.createTextVNode(" 确定 ")
|
|
440
440
|
])),
|
|
441
441
|
_: 1
|
|
442
442
|
}, 8, ["loading", "disabled"])
|
|
443
443
|
])
|
|
444
444
|
]),
|
|
445
|
-
default:
|
|
446
|
-
|
|
447
|
-
default:
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
default:
|
|
451
|
-
|
|
445
|
+
default: Vue.withCtx(() => [
|
|
446
|
+
Vue.createVNode(_component_el_container, { style: { "border": "1px solid #ebeef5", "border-radius": "4px", "height": "600px", "position": "relative" } }, {
|
|
447
|
+
default: Vue.withCtx(() => [
|
|
448
|
+
Vue.unref(loading) || Vue.unref(saving) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
449
|
+
Vue.createVNode(_component_el_icon, { class: "loading-icon" }, {
|
|
450
|
+
default: Vue.withCtx(() => [
|
|
451
|
+
Vue.createVNode(Vue.unref(index$5.Loading))
|
|
452
452
|
]),
|
|
453
453
|
_: 1
|
|
454
454
|
}),
|
|
455
|
-
|
|
456
|
-
])) :
|
|
457
|
-
|
|
458
|
-
default:
|
|
459
|
-
|
|
460
|
-
default:
|
|
461
|
-
|
|
455
|
+
Vue.createElementVNode("div", _hoisted_2, Vue.toDisplayString(Vue.unref(loading) ? "加载中..." : "保存中..."), 1)
|
|
456
|
+
])) : Vue.createCommentVNode("", true),
|
|
457
|
+
Vue.createVNode(_component_el_aside, { width: "300px" }, {
|
|
458
|
+
default: Vue.withCtx(() => [
|
|
459
|
+
Vue.createVNode(_component_el_container, null, {
|
|
460
|
+
default: Vue.withCtx(() => [
|
|
461
|
+
Vue.createVNode(_component_el_header, {
|
|
462
462
|
height: "40px",
|
|
463
463
|
style: { "background-color": "#f2f2f2", "line-height": "40px" }
|
|
464
464
|
}, {
|
|
465
|
-
default:
|
|
466
|
-
|
|
465
|
+
default: Vue.withCtx(() => [
|
|
466
|
+
Vue.createVNode(_component_el_button, {
|
|
467
467
|
type: "primary",
|
|
468
468
|
link: "",
|
|
469
|
-
icon:
|
|
469
|
+
icon: Vue.unref(index$5.Plus),
|
|
470
470
|
onClick: startAddDialog
|
|
471
471
|
}, {
|
|
472
|
-
default:
|
|
473
|
-
|
|
472
|
+
default: Vue.withCtx(() => _cache[27] || (_cache[27] = [
|
|
473
|
+
Vue.createTextVNode(" 新增弹层 ")
|
|
474
474
|
])),
|
|
475
475
|
_: 1
|
|
476
476
|
}, 8, ["icon"])
|
|
477
477
|
]),
|
|
478
478
|
_: 1
|
|
479
479
|
}),
|
|
480
|
-
|
|
481
|
-
default:
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
modelValue:
|
|
487
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
480
|
+
Vue.createVNode(_component_el_main, { style: { "padding": "10px" } }, {
|
|
481
|
+
default: Vue.withCtx(() => [
|
|
482
|
+
Vue.unref(isEditingNew) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_3, [
|
|
483
|
+
Vue.createElementVNode("div", _hoisted_4, [
|
|
484
|
+
Vue.createElementVNode("div", _hoisted_5, [
|
|
485
|
+
Vue.createVNode(_component_el_input, {
|
|
486
|
+
modelValue: Vue.unref(newDialogName),
|
|
487
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => Vue.isRef(newDialogName) ? newDialogName.value = $event : null),
|
|
488
488
|
placeholder: "请输入弹层名称",
|
|
489
489
|
size: "default",
|
|
490
|
-
onKeyup:
|
|
490
|
+
onKeyup: Vue.withKeys(confirmAddDialog, ["enter"]),
|
|
491
491
|
class: "new-item-input"
|
|
492
492
|
}, null, 8, ["modelValue"]),
|
|
493
|
-
|
|
494
|
-
|
|
493
|
+
Vue.createElementVNode("div", _hoisted_6, [
|
|
494
|
+
Vue.createVNode(_component_el_button, {
|
|
495
495
|
size: "small",
|
|
496
|
-
icon:
|
|
496
|
+
icon: Vue.unref(index$5.Close),
|
|
497
497
|
onClick: cancelAddDialog
|
|
498
498
|
}, {
|
|
499
|
-
default:
|
|
500
|
-
|
|
499
|
+
default: Vue.withCtx(() => _cache[28] || (_cache[28] = [
|
|
500
|
+
Vue.createTextVNode(" 取消 ")
|
|
501
501
|
])),
|
|
502
502
|
_: 1
|
|
503
503
|
}, 8, ["icon"]),
|
|
504
|
-
|
|
504
|
+
Vue.createVNode(_component_el_button, {
|
|
505
505
|
type: "primary",
|
|
506
506
|
size: "small",
|
|
507
|
-
icon:
|
|
507
|
+
icon: Vue.unref(index$5.Check),
|
|
508
508
|
onClick: confirmAddDialog
|
|
509
509
|
}, {
|
|
510
|
-
default:
|
|
511
|
-
|
|
510
|
+
default: Vue.withCtx(() => _cache[29] || (_cache[29] = [
|
|
511
|
+
Vue.createTextVNode(" 确认 ")
|
|
512
512
|
])),
|
|
513
513
|
_: 1
|
|
514
514
|
}, 8, ["icon"])
|
|
515
515
|
])
|
|
516
516
|
])
|
|
517
517
|
])
|
|
518
|
-
])) :
|
|
519
|
-
(
|
|
520
|
-
return
|
|
518
|
+
])) : Vue.createCommentVNode("", true),
|
|
519
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(selectedDialogs), (dialog, index2) => {
|
|
520
|
+
return Vue.openBlock(), Vue.createElementBlock("div", {
|
|
521
521
|
key: index2,
|
|
522
|
-
class:
|
|
522
|
+
class: Vue.normalizeClass([
|
|
523
523
|
"dialog-menu-item",
|
|
524
|
-
{ "is-active":
|
|
524
|
+
{ "is-active": Vue.unref(activeDialogIndex) === index2 }
|
|
525
525
|
]),
|
|
526
526
|
onClick: ($event) => activeDialogIndex.value = index2
|
|
527
527
|
}, [
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
528
|
+
Vue.createElementVNode("div", _hoisted_8, [
|
|
529
|
+
Vue.createElementVNode("div", _hoisted_9, [
|
|
530
|
+
Vue.withDirectives(Vue.createVNode(_component_el_input, {
|
|
531
531
|
onBlur: ($event) => onEditOutside(),
|
|
532
532
|
maxlength: "30",
|
|
533
|
-
modelValue:
|
|
534
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) =>
|
|
533
|
+
modelValue: Vue.unref(editingDialogName),
|
|
534
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => Vue.isRef(editingDialogName) ? editingDialogName.value = $event : null),
|
|
535
535
|
size: "small"
|
|
536
536
|
}, null, 8, ["onBlur", "modelValue"]), [
|
|
537
|
-
[
|
|
537
|
+
[Vue.vShow, Vue.unref(editingDialogIndex) === index2]
|
|
538
538
|
]),
|
|
539
|
-
|
|
539
|
+
Vue.withDirectives(Vue.createVNode(_component_el_link, {
|
|
540
540
|
icon: "Edit",
|
|
541
|
-
onClick:
|
|
541
|
+
onClick: Vue.withModifiers(($event) => startEditDialog(index2), ["stop"])
|
|
542
542
|
}, {
|
|
543
|
-
default:
|
|
544
|
-
|
|
543
|
+
default: Vue.withCtx(() => [
|
|
544
|
+
Vue.createTextVNode(Vue.toDisplayString(dialog.name), 1)
|
|
545
545
|
]),
|
|
546
546
|
_: 2
|
|
547
547
|
}, 1032, ["onClick"]), [
|
|
548
|
-
[
|
|
548
|
+
[Vue.vShow, Vue.unref(editingDialogIndex) !== index2]
|
|
549
549
|
])
|
|
550
550
|
]),
|
|
551
|
-
|
|
551
|
+
Vue.createVNode(_component_el_icon, {
|
|
552
552
|
class: "delete-icon",
|
|
553
|
-
onClick:
|
|
553
|
+
onClick: Vue.withModifiers(($event) => handleRemoveDialog(index2), ["stop"])
|
|
554
554
|
}, {
|
|
555
|
-
default:
|
|
556
|
-
|
|
555
|
+
default: Vue.withCtx(() => [
|
|
556
|
+
Vue.createVNode(Vue.unref(index$5.Delete))
|
|
557
557
|
]),
|
|
558
558
|
_: 2
|
|
559
559
|
}, 1032, ["onClick"])
|
|
@@ -569,72 +569,72 @@ const _sfc_main = {
|
|
|
569
569
|
]),
|
|
570
570
|
_: 1
|
|
571
571
|
}),
|
|
572
|
-
|
|
573
|
-
default:
|
|
574
|
-
|
|
572
|
+
Vue.createVNode(_component_el_main, { style: { "border-left": "1px solid #ebeef5", "padding": "0" } }, {
|
|
573
|
+
default: Vue.withCtx(() => [
|
|
574
|
+
Vue.unref(activeDialogIndex) !== -1 ? (Vue.openBlock(), Vue.createBlock(_component_el_container, {
|
|
575
575
|
key: 0,
|
|
576
576
|
style: { "height": "100%" }
|
|
577
577
|
}, {
|
|
578
|
-
default:
|
|
579
|
-
|
|
578
|
+
default: Vue.withCtx(() => [
|
|
579
|
+
Vue.createVNode(_component_el_header, {
|
|
580
580
|
height: "40px",
|
|
581
581
|
class: "dialog-header"
|
|
582
582
|
}, {
|
|
583
|
-
default:
|
|
584
|
-
|
|
583
|
+
default: Vue.withCtx(() => [
|
|
584
|
+
Vue.createElementVNode("div", null, Vue.toDisplayString(Vue.unref(currentDialog).name), 1)
|
|
585
585
|
]),
|
|
586
586
|
_: 1
|
|
587
587
|
}),
|
|
588
|
-
|
|
589
|
-
default:
|
|
590
|
-
|
|
591
|
-
default:
|
|
592
|
-
|
|
593
|
-
model:
|
|
588
|
+
Vue.createVNode(_component_el_main, { style: { "padding": "12px 20px 0 20px" } }, {
|
|
589
|
+
default: Vue.withCtx(() => [
|
|
590
|
+
Vue.createVNode(_component_el_scrollbar, null, {
|
|
591
|
+
default: Vue.withCtx(() => [
|
|
592
|
+
Vue.createVNode(_component_el_form, {
|
|
593
|
+
model: Vue.unref(currentDialog),
|
|
594
594
|
"label-width": "120px",
|
|
595
595
|
style: { "padding-right": "20px" },
|
|
596
596
|
size: "small"
|
|
597
597
|
}, {
|
|
598
|
-
default:
|
|
599
|
-
|
|
600
|
-
default:
|
|
601
|
-
|
|
602
|
-
modelValue:
|
|
603
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) =>
|
|
598
|
+
default: Vue.withCtx(() => [
|
|
599
|
+
Vue.createVNode(_component_el_form_item, { label: "弹层标题" }, {
|
|
600
|
+
default: Vue.withCtx(() => [
|
|
601
|
+
Vue.createVNode(_component_el_input, {
|
|
602
|
+
modelValue: Vue.unref(currentDialog).dialogTitle,
|
|
603
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => Vue.unref(currentDialog).dialogTitle = $event),
|
|
604
604
|
placeholder: "请输入弹层标题",
|
|
605
605
|
clearable: ""
|
|
606
606
|
}, null, 8, ["modelValue"])
|
|
607
607
|
]),
|
|
608
608
|
_: 1
|
|
609
609
|
}),
|
|
610
|
-
|
|
611
|
-
default:
|
|
612
|
-
|
|
613
|
-
modelValue:
|
|
614
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) =>
|
|
610
|
+
Vue.createVNode(_component_el_form_item, { label: "弹层尺寸" }, {
|
|
611
|
+
default: Vue.withCtx(() => [
|
|
612
|
+
Vue.createVNode(_component_el_radio_group, {
|
|
613
|
+
modelValue: Vue.unref(currentDialog).dialogSize,
|
|
614
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => Vue.unref(currentDialog).dialogSize = $event)
|
|
615
615
|
}, {
|
|
616
|
-
default:
|
|
617
|
-
|
|
618
|
-
default:
|
|
619
|
-
|
|
616
|
+
default: Vue.withCtx(() => [
|
|
617
|
+
Vue.createVNode(_component_el_radio_button, { value: "standard" }, {
|
|
618
|
+
default: Vue.withCtx(() => _cache[30] || (_cache[30] = [
|
|
619
|
+
Vue.createTextVNode("标准")
|
|
620
620
|
])),
|
|
621
621
|
_: 1
|
|
622
622
|
}),
|
|
623
|
-
|
|
624
|
-
default:
|
|
625
|
-
|
|
623
|
+
Vue.createVNode(_component_el_radio_button, { value: "large" }, {
|
|
624
|
+
default: Vue.withCtx(() => _cache[31] || (_cache[31] = [
|
|
625
|
+
Vue.createTextVNode("更大")
|
|
626
626
|
])),
|
|
627
627
|
_: 1
|
|
628
628
|
}),
|
|
629
|
-
|
|
630
|
-
default:
|
|
631
|
-
|
|
629
|
+
Vue.createVNode(_component_el_radio_button, { value: "small" }, {
|
|
630
|
+
default: Vue.withCtx(() => _cache[32] || (_cache[32] = [
|
|
631
|
+
Vue.createTextVNode("更小")
|
|
632
632
|
])),
|
|
633
633
|
_: 1
|
|
634
634
|
}),
|
|
635
|
-
|
|
636
|
-
default:
|
|
637
|
-
|
|
635
|
+
Vue.createVNode(_component_el_radio_button, { value: "custom" }, {
|
|
636
|
+
default: Vue.withCtx(() => _cache[33] || (_cache[33] = [
|
|
637
|
+
Vue.createTextVNode("自定义")
|
|
638
638
|
])),
|
|
639
639
|
_: 1
|
|
640
640
|
})
|
|
@@ -644,65 +644,65 @@ const _sfc_main = {
|
|
|
644
644
|
]),
|
|
645
645
|
_: 1
|
|
646
646
|
}),
|
|
647
|
-
|
|
647
|
+
Vue.unref(currentDialog).dialogSize === "custom" ? (Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
|
|
648
648
|
key: 0,
|
|
649
649
|
label: "自定义尺寸"
|
|
650
650
|
}, {
|
|
651
|
-
default:
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
modelValue:
|
|
655
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) =>
|
|
651
|
+
default: Vue.withCtx(() => [
|
|
652
|
+
Vue.createElementVNode("div", _hoisted_10, [
|
|
653
|
+
Vue.createVNode(_component_el_input, {
|
|
654
|
+
modelValue: Vue.unref(currentDialog).customWidth,
|
|
655
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => Vue.unref(currentDialog).customWidth = $event),
|
|
656
656
|
placeholder: "宽度,如:800px、60%",
|
|
657
657
|
style: { "flex": "1" }
|
|
658
658
|
}, null, 8, ["modelValue"]),
|
|
659
|
-
|
|
660
|
-
modelValue:
|
|
661
|
-
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) =>
|
|
659
|
+
Vue.createVNode(_component_el_input, {
|
|
660
|
+
modelValue: Vue.unref(currentDialog).customMaxHeight,
|
|
661
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => Vue.unref(currentDialog).customMaxHeight = $event),
|
|
662
662
|
placeholder: "最大高度,如:600px、80vh",
|
|
663
663
|
style: { "flex": "1" }
|
|
664
664
|
}, null, 8, ["modelValue"])
|
|
665
665
|
])
|
|
666
666
|
]),
|
|
667
667
|
_: 1
|
|
668
|
-
})) :
|
|
669
|
-
|
|
670
|
-
default:
|
|
671
|
-
|
|
672
|
-
modelValue:
|
|
673
|
-
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) =>
|
|
668
|
+
})) : Vue.createCommentVNode("", true),
|
|
669
|
+
Vue.createVNode(_component_el_form_item, { label: "弹层参数" }, {
|
|
670
|
+
default: Vue.withCtx(() => [
|
|
671
|
+
Vue.createVNode(ParamsConfig.default, {
|
|
672
|
+
modelValue: Vue.unref(currentDialog).dialogParams,
|
|
673
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => Vue.unref(currentDialog).dialogParams = $event)
|
|
674
674
|
}, null, 8, ["modelValue"])
|
|
675
675
|
]),
|
|
676
676
|
_: 1
|
|
677
677
|
}),
|
|
678
|
-
|
|
679
|
-
default:
|
|
680
|
-
|
|
681
|
-
modelValue:
|
|
682
|
-
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) =>
|
|
678
|
+
Vue.createVNode(_component_el_form_item, { label: "弹层类型" }, {
|
|
679
|
+
default: Vue.withCtx(() => [
|
|
680
|
+
Vue.createVNode(_component_el_radio_group, {
|
|
681
|
+
modelValue: Vue.unref(currentDialog).contentSource,
|
|
682
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => Vue.unref(currentDialog).contentSource = $event)
|
|
683
683
|
}, {
|
|
684
|
-
default:
|
|
685
|
-
|
|
686
|
-
default:
|
|
687
|
-
|
|
684
|
+
default: Vue.withCtx(() => [
|
|
685
|
+
Vue.createVNode(_component_el_radio_button, { value: "table" }, {
|
|
686
|
+
default: Vue.withCtx(() => _cache[34] || (_cache[34] = [
|
|
687
|
+
Vue.createTextVNode("列表")
|
|
688
688
|
])),
|
|
689
689
|
_: 1
|
|
690
690
|
}),
|
|
691
|
-
|
|
692
|
-
default:
|
|
693
|
-
|
|
691
|
+
Vue.createVNode(_component_el_radio_button, { value: "form" }, {
|
|
692
|
+
default: Vue.withCtx(() => _cache[35] || (_cache[35] = [
|
|
693
|
+
Vue.createTextVNode("表单")
|
|
694
694
|
])),
|
|
695
695
|
_: 1
|
|
696
696
|
}),
|
|
697
|
-
|
|
698
|
-
default:
|
|
699
|
-
|
|
697
|
+
Vue.createVNode(_component_el_radio_button, { value: "tree" }, {
|
|
698
|
+
default: Vue.withCtx(() => _cache[36] || (_cache[36] = [
|
|
699
|
+
Vue.createTextVNode("树形")
|
|
700
700
|
])),
|
|
701
701
|
_: 1
|
|
702
702
|
}),
|
|
703
|
-
|
|
704
|
-
default:
|
|
705
|
-
|
|
703
|
+
Vue.createVNode(_component_el_radio_button, { value: "component" }, {
|
|
704
|
+
default: Vue.withCtx(() => _cache[37] || (_cache[37] = [
|
|
705
|
+
Vue.createTextVNode("组件")
|
|
706
706
|
])),
|
|
707
707
|
_: 1
|
|
708
708
|
})
|
|
@@ -712,23 +712,23 @@ const _sfc_main = {
|
|
|
712
712
|
]),
|
|
713
713
|
_: 1
|
|
714
714
|
}),
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
default:
|
|
718
|
-
|
|
719
|
-
modelValue:
|
|
720
|
-
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) =>
|
|
715
|
+
Vue.unref(currentDialog).contentSource === "table" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 1 }, [
|
|
716
|
+
Vue.createVNode(_component_el_form_item, { label: "列表内容" }, {
|
|
717
|
+
default: Vue.withCtx(() => [
|
|
718
|
+
Vue.createVNode(_component_el_radio_group, {
|
|
719
|
+
modelValue: Vue.unref(currentDialog).tableContent,
|
|
720
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => Vue.unref(currentDialog).tableContent = $event)
|
|
721
721
|
}, {
|
|
722
|
-
default:
|
|
723
|
-
|
|
724
|
-
default:
|
|
725
|
-
|
|
722
|
+
default: Vue.withCtx(() => [
|
|
723
|
+
Vue.createVNode(_component_el_radio_button, { value: "select" }, {
|
|
724
|
+
default: Vue.withCtx(() => _cache[38] || (_cache[38] = [
|
|
725
|
+
Vue.createTextVNode("选择列表")
|
|
726
726
|
])),
|
|
727
727
|
_: 1
|
|
728
728
|
}),
|
|
729
|
-
|
|
730
|
-
default:
|
|
731
|
-
|
|
729
|
+
Vue.createVNode(_component_el_radio_button, { value: "custom" }, {
|
|
730
|
+
default: Vue.withCtx(() => _cache[39] || (_cache[39] = [
|
|
731
|
+
Vue.createTextVNode("自定义")
|
|
732
732
|
])),
|
|
733
733
|
_: 1
|
|
734
734
|
})
|
|
@@ -738,32 +738,32 @@ const _sfc_main = {
|
|
|
738
738
|
]),
|
|
739
739
|
_: 1
|
|
740
740
|
}),
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
default:
|
|
744
|
-
|
|
745
|
-
modelValue:
|
|
746
|
-
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) =>
|
|
747
|
-
templateKey:
|
|
748
|
-
"onUpdate:templateKey": _cache[10] || (_cache[10] = ($event) =>
|
|
749
|
-
templateId:
|
|
750
|
-
"onUpdate:templateId": _cache[11] || (_cache[11] = ($event) =>
|
|
741
|
+
Vue.unref(currentDialog).tableContent === "select" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 0 }, [
|
|
742
|
+
Vue.createVNode(_component_el_form_item, { label: "选择列表" }, {
|
|
743
|
+
default: Vue.withCtx(() => [
|
|
744
|
+
Vue.createVNode(TemplateSelector.default, {
|
|
745
|
+
modelValue: Vue.unref(currentDialog).subTableName,
|
|
746
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => Vue.unref(currentDialog).subTableName = $event),
|
|
747
|
+
templateKey: Vue.unref(currentDialog).subTableKey,
|
|
748
|
+
"onUpdate:templateKey": _cache[10] || (_cache[10] = ($event) => Vue.unref(currentDialog).subTableKey = $event),
|
|
749
|
+
templateId: Vue.unref(currentDialog).subTableId,
|
|
750
|
+
"onUpdate:templateId": _cache[11] || (_cache[11] = ($event) => Vue.unref(currentDialog).subTableId = $event),
|
|
751
751
|
templateType: "table",
|
|
752
752
|
onConfirm: tableSelectorConfirm
|
|
753
753
|
}, null, 8, ["modelValue", "templateKey", "templateId"])
|
|
754
754
|
]),
|
|
755
755
|
_: 1
|
|
756
756
|
}),
|
|
757
|
-
|
|
758
|
-
default:
|
|
759
|
-
|
|
760
|
-
modelValue:
|
|
761
|
-
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) =>
|
|
757
|
+
Vue.createVNode(_component_el_form_item, { label: "列表模式" }, {
|
|
758
|
+
default: Vue.withCtx(() => [
|
|
759
|
+
Vue.createVNode(_component_el_select, {
|
|
760
|
+
modelValue: Vue.unref(currentDialog).subTableMode,
|
|
761
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => Vue.unref(currentDialog).subTableMode = $event),
|
|
762
762
|
clearable: ""
|
|
763
763
|
}, {
|
|
764
|
-
default:
|
|
765
|
-
(
|
|
766
|
-
return
|
|
764
|
+
default: Vue.withCtx(() => [
|
|
765
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(tableMode), (mode) => {
|
|
766
|
+
return Vue.openBlock(), Vue.createBlock(_component_el_option, {
|
|
767
767
|
key: mode.key,
|
|
768
768
|
label: mode.name,
|
|
769
769
|
value: mode.key
|
|
@@ -775,77 +775,77 @@ const _sfc_main = {
|
|
|
775
775
|
]),
|
|
776
776
|
_: 1
|
|
777
777
|
})
|
|
778
|
-
], 64)) :
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
default:
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
778
|
+
], 64)) : Vue.createCommentVNode("", true),
|
|
779
|
+
Vue.unref(currentDialog).tableContent === "custom" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 1 }, [
|
|
780
|
+
Vue.createVNode(_component_el_form_item, { label: "列配置" }, {
|
|
781
|
+
default: Vue.withCtx(() => [
|
|
782
|
+
Vue.createElementVNode("div", _hoisted_11, [
|
|
783
|
+
Vue.createElementVNode("div", _hoisted_12, [
|
|
784
|
+
Vue.createVNode(_component_el_button, {
|
|
785
785
|
type: "primary",
|
|
786
786
|
size: "small",
|
|
787
787
|
onClick: addTableCol,
|
|
788
788
|
icon: "Plus",
|
|
789
789
|
link: ""
|
|
790
790
|
}, {
|
|
791
|
-
default:
|
|
792
|
-
|
|
791
|
+
default: Vue.withCtx(() => _cache[40] || (_cache[40] = [
|
|
792
|
+
Vue.createTextVNode(" 添加列配置 ")
|
|
793
793
|
])),
|
|
794
794
|
_: 1
|
|
795
795
|
})
|
|
796
796
|
]),
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
modelValue:
|
|
800
|
-
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) =>
|
|
797
|
+
Vue.createElementVNode("div", _hoisted_13, [
|
|
798
|
+
Vue.createVNode(Vue.unref(vueDraggablePlus.VueDraggable), {
|
|
799
|
+
modelValue: Vue.unref(currentDialog).customTableConfig.fieldsData,
|
|
800
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => Vue.unref(currentDialog).customTableConfig.fieldsData = $event),
|
|
801
801
|
animation: 150,
|
|
802
802
|
handle: ".drag-handle"
|
|
803
803
|
}, {
|
|
804
|
-
default:
|
|
805
|
-
(
|
|
806
|
-
return
|
|
804
|
+
default: Vue.withCtx(() => [
|
|
805
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(currentDialog).customTableConfig.fieldsData, (col, index2) => {
|
|
806
|
+
return Vue.openBlock(), Vue.createElementBlock("div", {
|
|
807
807
|
key: index2,
|
|
808
808
|
class: "col-rule-item"
|
|
809
809
|
}, [
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
default:
|
|
813
|
-
|
|
810
|
+
Vue.createElementVNode("div", _hoisted_14, [
|
|
811
|
+
Vue.createVNode(_component_el_icon, null, {
|
|
812
|
+
default: Vue.withCtx(() => [
|
|
813
|
+
Vue.createVNode(Vue.unref(index$5.Rank))
|
|
814
814
|
]),
|
|
815
815
|
_: 1
|
|
816
816
|
})
|
|
817
817
|
]),
|
|
818
|
-
|
|
818
|
+
Vue.createVNode(_component_el_input, {
|
|
819
819
|
modelValue: col.label,
|
|
820
820
|
"onUpdate:modelValue": ($event) => col.label = $event,
|
|
821
821
|
size: "small",
|
|
822
822
|
placeholder: "列标题"
|
|
823
823
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
824
|
-
|
|
824
|
+
Vue.createVNode(_component_el_input, {
|
|
825
825
|
modelValue: col.fieldName,
|
|
826
826
|
"onUpdate:modelValue": ($event) => col.fieldName = $event,
|
|
827
827
|
size: "small",
|
|
828
828
|
placeholder: "字段名"
|
|
829
829
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
830
|
-
|
|
831
|
-
|
|
830
|
+
Vue.createElementVNode("div", _hoisted_15, [
|
|
831
|
+
Vue.createVNode(_component_el_popover, {
|
|
832
832
|
placement: "right",
|
|
833
833
|
width: 200,
|
|
834
834
|
trigger: "click"
|
|
835
835
|
}, {
|
|
836
|
-
reference:
|
|
837
|
-
|
|
838
|
-
icon:
|
|
836
|
+
reference: Vue.withCtx(() => [
|
|
837
|
+
Vue.createVNode(_component_el_button, {
|
|
838
|
+
icon: Vue.unref(index$5.Edit),
|
|
839
839
|
link: "",
|
|
840
840
|
type: "primary",
|
|
841
841
|
class: "edit-btn"
|
|
842
842
|
}, null, 8, ["icon"])
|
|
843
843
|
]),
|
|
844
|
-
default:
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
default:
|
|
848
|
-
|
|
844
|
+
default: Vue.withCtx(() => [
|
|
845
|
+
Vue.createElementVNode("div", _hoisted_16, [
|
|
846
|
+
Vue.createVNode(_component_el_scrollbar, { "wrap-class": "col-property-scrollbar" }, {
|
|
847
|
+
default: Vue.withCtx(() => [
|
|
848
|
+
Vue.createVNode(widgets.default, {
|
|
849
849
|
column: col,
|
|
850
850
|
isComp: ""
|
|
851
851
|
}, null, 8, ["column"])
|
|
@@ -856,8 +856,8 @@ const _sfc_main = {
|
|
|
856
856
|
]),
|
|
857
857
|
_: 2
|
|
858
858
|
}, 1024),
|
|
859
|
-
|
|
860
|
-
icon:
|
|
859
|
+
Vue.createVNode(_component_el_button, {
|
|
860
|
+
icon: Vue.unref(index$5.Delete),
|
|
861
861
|
link: "",
|
|
862
862
|
type: "danger",
|
|
863
863
|
class: "delete-btn",
|
|
@@ -874,78 +874,78 @@ const _sfc_main = {
|
|
|
874
874
|
]),
|
|
875
875
|
_: 1
|
|
876
876
|
}),
|
|
877
|
-
|
|
878
|
-
default:
|
|
879
|
-
|
|
880
|
-
modelValue:
|
|
881
|
-
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) =>
|
|
877
|
+
Vue.createVNode(_component_el_form_item, { label: "主键字段" }, {
|
|
878
|
+
default: Vue.withCtx(() => [
|
|
879
|
+
Vue.createVNode(_component_el_input, {
|
|
880
|
+
modelValue: Vue.unref(currentDialog).customTableConfig.pkFieldName,
|
|
881
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => Vue.unref(currentDialog).customTableConfig.pkFieldName = $event),
|
|
882
882
|
placeholder: "请输入主键字段",
|
|
883
883
|
clearable: ""
|
|
884
884
|
}, null, 8, ["modelValue"])
|
|
885
885
|
]),
|
|
886
886
|
_: 1
|
|
887
887
|
}),
|
|
888
|
-
|
|
889
|
-
default:
|
|
890
|
-
|
|
891
|
-
modelValue:
|
|
892
|
-
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) =>
|
|
888
|
+
Vue.createVNode(_component_el_form_item, { label: "数据源" }, {
|
|
889
|
+
default: Vue.withCtx(() => [
|
|
890
|
+
Vue.createVNode(DataSourceSelect.default, {
|
|
891
|
+
modelValue: Vue.unref(currentDialog).customTableConfig.dataSourceId,
|
|
892
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => Vue.unref(currentDialog).customTableConfig.dataSourceId = $event)
|
|
893
893
|
}, null, 8, ["modelValue"])
|
|
894
894
|
]),
|
|
895
895
|
_: 1
|
|
896
896
|
})
|
|
897
|
-
], 64)) :
|
|
898
|
-
|
|
899
|
-
default:
|
|
900
|
-
|
|
901
|
-
modelValue:
|
|
902
|
-
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) =>
|
|
897
|
+
], 64)) : Vue.createCommentVNode("", true),
|
|
898
|
+
Vue.createVNode(_component_el_form_item, { label: "是否翻页" }, {
|
|
899
|
+
default: Vue.withCtx(() => [
|
|
900
|
+
Vue.createVNode(_component_el_switch, {
|
|
901
|
+
modelValue: Vue.unref(currentDialog).isSubTablePagination,
|
|
902
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => Vue.unref(currentDialog).isSubTablePagination = $event)
|
|
903
903
|
}, null, 8, ["modelValue"])
|
|
904
904
|
]),
|
|
905
905
|
_: 1
|
|
906
906
|
}),
|
|
907
|
-
|
|
908
|
-
default:
|
|
909
|
-
|
|
910
|
-
modelValue:
|
|
911
|
-
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) =>
|
|
907
|
+
Vue.createVNode(_component_el_form_item, { label: "是否只读" }, {
|
|
908
|
+
default: Vue.withCtx(() => [
|
|
909
|
+
Vue.createVNode(_component_el_switch, {
|
|
910
|
+
modelValue: Vue.unref(currentDialog).isSubTableReadOnly,
|
|
911
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => Vue.unref(currentDialog).isSubTableReadOnly = $event)
|
|
912
912
|
}, null, 8, ["modelValue"])
|
|
913
913
|
]),
|
|
914
914
|
_: 1
|
|
915
915
|
})
|
|
916
|
-
], 64)) :
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
default:
|
|
920
|
-
|
|
921
|
-
modelValue:
|
|
922
|
-
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) =>
|
|
923
|
-
templateKey:
|
|
924
|
-
"onUpdate:templateKey": _cache[19] || (_cache[19] = ($event) =>
|
|
925
|
-
templateId:
|
|
926
|
-
"onUpdate:templateId": _cache[20] || (_cache[20] = ($event) =>
|
|
916
|
+
], 64)) : Vue.createCommentVNode("", true),
|
|
917
|
+
Vue.unref(currentDialog).contentSource === "form" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 2 }, [
|
|
918
|
+
Vue.createVNode(_component_el_form_item, { label: "选择表单" }, {
|
|
919
|
+
default: Vue.withCtx(() => [
|
|
920
|
+
Vue.createVNode(TemplateSelector.default, {
|
|
921
|
+
modelValue: Vue.unref(currentDialog).subFormName,
|
|
922
|
+
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => Vue.unref(currentDialog).subFormName = $event),
|
|
923
|
+
templateKey: Vue.unref(currentDialog).subFormKey,
|
|
924
|
+
"onUpdate:templateKey": _cache[19] || (_cache[19] = ($event) => Vue.unref(currentDialog).subFormKey = $event),
|
|
925
|
+
templateId: Vue.unref(currentDialog).subFormId,
|
|
926
|
+
"onUpdate:templateId": _cache[20] || (_cache[20] = ($event) => Vue.unref(currentDialog).subFormId = $event),
|
|
927
927
|
templateType: "form",
|
|
928
928
|
onConfirm: formSelectorConfirm
|
|
929
929
|
}, null, 8, ["modelValue", "templateKey", "templateId"])
|
|
930
930
|
]),
|
|
931
931
|
_: 1
|
|
932
932
|
}),
|
|
933
|
-
|
|
934
|
-
default:
|
|
935
|
-
|
|
936
|
-
modelValue:
|
|
937
|
-
"onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) =>
|
|
933
|
+
Vue.createVNode(_component_el_form_item, { label: "表单模式" }, {
|
|
934
|
+
default: Vue.withCtx(() => [
|
|
935
|
+
Vue.createVNode(_component_el_radio_group, {
|
|
936
|
+
modelValue: Vue.unref(currentDialog).subFormMode,
|
|
937
|
+
"onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => Vue.unref(currentDialog).subFormMode = $event)
|
|
938
938
|
}, {
|
|
939
|
-
default:
|
|
940
|
-
|
|
941
|
-
default:
|
|
942
|
-
|
|
939
|
+
default: Vue.withCtx(() => [
|
|
940
|
+
Vue.createVNode(_component_el_radio_button, { value: "edit" }, {
|
|
941
|
+
default: Vue.withCtx(() => _cache[41] || (_cache[41] = [
|
|
942
|
+
Vue.createTextVNode("编辑")
|
|
943
943
|
])),
|
|
944
944
|
_: 1
|
|
945
945
|
}),
|
|
946
|
-
|
|
947
|
-
default:
|
|
948
|
-
|
|
946
|
+
Vue.createVNode(_component_el_radio_button, { value: "query" }, {
|
|
947
|
+
default: Vue.withCtx(() => _cache[42] || (_cache[42] = [
|
|
948
|
+
Vue.createTextVNode("查看")
|
|
949
949
|
])),
|
|
950
950
|
_: 1
|
|
951
951
|
})
|
|
@@ -955,18 +955,18 @@ const _sfc_main = {
|
|
|
955
955
|
]),
|
|
956
956
|
_: 1
|
|
957
957
|
}),
|
|
958
|
-
|
|
959
|
-
default:
|
|
960
|
-
|
|
961
|
-
!
|
|
962
|
-
(
|
|
963
|
-
return
|
|
958
|
+
Vue.createVNode(_component_el_form_item, { label: "表单底部按钮" }, {
|
|
959
|
+
default: Vue.withCtx(() => [
|
|
960
|
+
Vue.createElementVNode("div", _hoisted_17, [
|
|
961
|
+
!Vue.unref(formFooterBtn) || Vue.unref(formFooterBtn).length === 0 ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_18, " 暂无可用按钮 ")) : (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_19, [
|
|
962
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(formFooterBtn), (btn) => {
|
|
963
|
+
return Vue.openBlock(), Vue.createBlock(_component_el_checkbox, {
|
|
964
964
|
key: btn.id,
|
|
965
965
|
"model-value": isButtonSelected(btn.id),
|
|
966
966
|
onChange: ($event) => toggleButton(btn)
|
|
967
967
|
}, {
|
|
968
|
-
default:
|
|
969
|
-
|
|
968
|
+
default: Vue.withCtx(() => [
|
|
969
|
+
Vue.createTextVNode(Vue.toDisplayString(btn.label), 1)
|
|
970
970
|
]),
|
|
971
971
|
_: 2
|
|
972
972
|
}, 1032, ["model-value", "onChange"]);
|
|
@@ -976,38 +976,38 @@ const _sfc_main = {
|
|
|
976
976
|
]),
|
|
977
977
|
_: 1
|
|
978
978
|
})
|
|
979
|
-
], 64)) :
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
default:
|
|
983
|
-
|
|
984
|
-
modelValue:
|
|
985
|
-
"onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) =>
|
|
979
|
+
], 64)) : Vue.createCommentVNode("", true),
|
|
980
|
+
Vue.unref(currentDialog).contentSource === "component" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 3 }, [
|
|
981
|
+
Vue.createVNode(_component_el_form_item, { label: "组件路由地址" }, {
|
|
982
|
+
default: Vue.withCtx(() => [
|
|
983
|
+
Vue.createVNode(_component_el_input, {
|
|
984
|
+
modelValue: Vue.unref(currentDialog).componentPath,
|
|
985
|
+
"onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => Vue.unref(currentDialog).componentPath = $event),
|
|
986
986
|
placeholder: "请输入组件路径",
|
|
987
987
|
clearable: ""
|
|
988
988
|
}, null, 8, ["modelValue"])
|
|
989
989
|
]),
|
|
990
990
|
_: 1
|
|
991
991
|
}),
|
|
992
|
-
|
|
993
|
-
default:
|
|
994
|
-
|
|
995
|
-
modelValue:
|
|
996
|
-
"onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) =>
|
|
992
|
+
Vue.createVNode(_component_el_form_item, { label: "组件参数" }, {
|
|
993
|
+
default: Vue.withCtx(() => [
|
|
994
|
+
Vue.createVNode(ParamsConfig.default, {
|
|
995
|
+
modelValue: Vue.unref(currentDialog).componentParams,
|
|
996
|
+
"onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => Vue.unref(currentDialog).componentParams = $event)
|
|
997
997
|
}, null, 8, ["modelValue"])
|
|
998
998
|
]),
|
|
999
999
|
_: 1
|
|
1000
1000
|
}),
|
|
1001
|
-
|
|
1002
|
-
default:
|
|
1003
|
-
|
|
1004
|
-
modelValue:
|
|
1005
|
-
"onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) =>
|
|
1001
|
+
Vue.createVNode(_component_el_form_item, { label: "组件是否是弹层" }, {
|
|
1002
|
+
default: Vue.withCtx(() => [
|
|
1003
|
+
Vue.createVNode(_component_el_switch, {
|
|
1004
|
+
modelValue: Vue.unref(currentDialog).componentIsDialog,
|
|
1005
|
+
"onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => Vue.unref(currentDialog).componentIsDialog = $event)
|
|
1006
1006
|
}, null, 8, ["modelValue"])
|
|
1007
1007
|
]),
|
|
1008
1008
|
_: 1
|
|
1009
1009
|
})
|
|
1010
|
-
], 64)) :
|
|
1010
|
+
], 64)) : Vue.createCommentVNode("", true)
|
|
1011
1011
|
]),
|
|
1012
1012
|
_: 1
|
|
1013
1013
|
}, 8, ["model"])
|
|
@@ -1019,7 +1019,7 @@ const _sfc_main = {
|
|
|
1019
1019
|
})
|
|
1020
1020
|
]),
|
|
1021
1021
|
_: 1
|
|
1022
|
-
})) : (
|
|
1022
|
+
})) : (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_20, "请从左侧选择一个弹层"))
|
|
1023
1023
|
]),
|
|
1024
1024
|
_: 1
|
|
1025
1025
|
})
|