@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$4 = require("../../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
32
32
|
const common = require("../utils/common.js");
|
|
@@ -94,15 +94,15 @@ const _sfc_main = {
|
|
|
94
94
|
},
|
|
95
95
|
emits: ["update:modelValue"],
|
|
96
96
|
setup(__props) {
|
|
97
|
-
const currentInstance =
|
|
97
|
+
const currentInstance = Vue.getCurrentInstance();
|
|
98
98
|
const ctx = currentInstance.proxy;
|
|
99
|
-
const editConfigData =
|
|
99
|
+
const editConfigData = Vue.computed(() => {
|
|
100
100
|
return common.getEditConfigData();
|
|
101
101
|
});
|
|
102
|
-
const dialogVisible =
|
|
103
|
-
const selectedDialogs =
|
|
104
|
-
const activeDialogIndex =
|
|
105
|
-
|
|
102
|
+
const dialogVisible = Vue.useModel(__props, "modelValue");
|
|
103
|
+
const selectedDialogs = Vue.ref([]);
|
|
104
|
+
const activeDialogIndex = Vue.ref(-1);
|
|
105
|
+
Vue.watch(dialogVisible, (val) => {
|
|
106
106
|
if (val) {
|
|
107
107
|
isEditingNew.value = false;
|
|
108
108
|
editingDialogIndex.value = -1;
|
|
@@ -112,10 +112,10 @@ const _sfc_main = {
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
|
-
const isEditingNew =
|
|
116
|
-
const newDialogName =
|
|
117
|
-
const editingDialogIndex =
|
|
118
|
-
const editingDialogName =
|
|
115
|
+
const isEditingNew = Vue.ref(false);
|
|
116
|
+
const newDialogName = Vue.ref("");
|
|
117
|
+
const editingDialogIndex = Vue.ref(-1);
|
|
118
|
+
const editingDialogName = Vue.ref("");
|
|
119
119
|
const startAddDialog = () => {
|
|
120
120
|
isEditingNew.value = true;
|
|
121
121
|
newDialogName.value = "";
|
|
@@ -181,9 +181,9 @@ const _sfc_main = {
|
|
|
181
181
|
common.setEditConfigDialogs(selectedDialogs.value);
|
|
182
182
|
dialogVisible.value = false;
|
|
183
183
|
};
|
|
184
|
-
const tableOptions =
|
|
185
|
-
const formOptions =
|
|
186
|
-
const currentDialog =
|
|
184
|
+
const tableOptions = Vue.ref(null);
|
|
185
|
+
const formOptions = Vue.ref(null);
|
|
186
|
+
const currentDialog = Vue.computed(() => {
|
|
187
187
|
const data = selectedDialogs.value[activeDialogIndex.value];
|
|
188
188
|
if (!data.fieldMapping) {
|
|
189
189
|
data.fieldMapping = [];
|
|
@@ -220,11 +220,11 @@ const _sfc_main = {
|
|
|
220
220
|
function formSelectorConfirm(data) {
|
|
221
221
|
formOptions.value = data;
|
|
222
222
|
}
|
|
223
|
-
const tableMode =
|
|
223
|
+
const tableMode = Vue.computed(() => {
|
|
224
224
|
var _a;
|
|
225
225
|
return (_a = tableOptions.value) == null ? void 0 : _a.mode;
|
|
226
226
|
});
|
|
227
|
-
const tableFields =
|
|
227
|
+
const tableFields = Vue.computed(() => {
|
|
228
228
|
var _a, _b, _c, _d;
|
|
229
229
|
if (currentDialog.value.tableContent === "custom") {
|
|
230
230
|
return ((_b = (_a = currentDialog.value) == null ? void 0 : _a.customTableConfig) == null ? void 0 : _b.fieldsData) || [];
|
|
@@ -235,7 +235,7 @@ const _sfc_main = {
|
|
|
235
235
|
];
|
|
236
236
|
}
|
|
237
237
|
});
|
|
238
|
-
const formFooterBtn =
|
|
238
|
+
const formFooterBtn = Vue.computed(() => {
|
|
239
239
|
var _a;
|
|
240
240
|
const btnList = (_a = formOptions.value) == null ? void 0 : _a.pageFooterConfig.actions;
|
|
241
241
|
if (btnList) {
|
|
@@ -292,7 +292,7 @@ const _sfc_main = {
|
|
|
292
292
|
const _component_el_checkbox = index$e.ElCheckbox;
|
|
293
293
|
const _component_el_form = index$9.ElForm;
|
|
294
294
|
const _component_el_dialog = index$1.ElDialog;
|
|
295
|
-
return
|
|
295
|
+
return Vue.openBlock(), Vue.createBlock(_component_el_dialog, {
|
|
296
296
|
modelValue: dialogVisible.value,
|
|
297
297
|
"onUpdate:modelValue": _cache[31] || (_cache[31] = ($event) => dialogVisible.value = $event),
|
|
298
298
|
width: "50%",
|
|
@@ -302,130 +302,130 @@ const _sfc_main = {
|
|
|
302
302
|
"append-to-body": "",
|
|
303
303
|
class: "fec-dev-designer-dialog"
|
|
304
304
|
}, {
|
|
305
|
-
footer:
|
|
306
|
-
|
|
307
|
-
|
|
305
|
+
footer: Vue.withCtx(() => [
|
|
306
|
+
Vue.createElementVNode("div", _hoisted_19, [
|
|
307
|
+
Vue.createVNode(_component_el_button, {
|
|
308
308
|
onClick: _cache[30] || (_cache[30] = ($event) => dialogVisible.value = false)
|
|
309
309
|
}, {
|
|
310
|
-
default:
|
|
311
|
-
|
|
310
|
+
default: Vue.withCtx(() => _cache[51] || (_cache[51] = [
|
|
311
|
+
Vue.createTextVNode("取消")
|
|
312
312
|
])),
|
|
313
313
|
_: 1
|
|
314
314
|
}),
|
|
315
|
-
|
|
315
|
+
Vue.createVNode(_component_el_button, {
|
|
316
316
|
type: "primary",
|
|
317
317
|
onClick: onConfirm
|
|
318
318
|
}, {
|
|
319
|
-
default:
|
|
320
|
-
|
|
319
|
+
default: Vue.withCtx(() => _cache[52] || (_cache[52] = [
|
|
320
|
+
Vue.createTextVNode("确定")
|
|
321
321
|
])),
|
|
322
322
|
_: 1
|
|
323
323
|
})
|
|
324
324
|
])
|
|
325
325
|
]),
|
|
326
|
-
default:
|
|
327
|
-
|
|
328
|
-
default:
|
|
329
|
-
|
|
330
|
-
default:
|
|
331
|
-
|
|
332
|
-
default:
|
|
333
|
-
|
|
326
|
+
default: Vue.withCtx(() => [
|
|
327
|
+
Vue.createVNode(_component_el_container, { style: { "border": "1px solid #ebeef5", "border-radius": "4px", "height": "600px" } }, {
|
|
328
|
+
default: Vue.withCtx(() => [
|
|
329
|
+
Vue.createVNode(_component_el_aside, { width: "300px" }, {
|
|
330
|
+
default: Vue.withCtx(() => [
|
|
331
|
+
Vue.createVNode(_component_el_container, null, {
|
|
332
|
+
default: Vue.withCtx(() => [
|
|
333
|
+
Vue.createVNode(_component_el_header, {
|
|
334
334
|
height: "40px",
|
|
335
335
|
style: { "background-color": "#f2f2f2", "line-height": "40px" }
|
|
336
336
|
}, {
|
|
337
|
-
default:
|
|
338
|
-
|
|
337
|
+
default: Vue.withCtx(() => [
|
|
338
|
+
Vue.createVNode(_component_el_button, {
|
|
339
339
|
type: "primary",
|
|
340
340
|
link: "",
|
|
341
|
-
icon:
|
|
341
|
+
icon: Vue.unref(index$4.Plus),
|
|
342
342
|
onClick: startAddDialog
|
|
343
343
|
}, {
|
|
344
|
-
default:
|
|
345
|
-
|
|
344
|
+
default: Vue.withCtx(() => _cache[32] || (_cache[32] = [
|
|
345
|
+
Vue.createTextVNode(" 新增弹层 ")
|
|
346
346
|
])),
|
|
347
347
|
_: 1
|
|
348
348
|
}, 8, ["icon"])
|
|
349
349
|
]),
|
|
350
350
|
_: 1
|
|
351
351
|
}),
|
|
352
|
-
|
|
353
|
-
default:
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
modelValue:
|
|
359
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
352
|
+
Vue.createVNode(_component_el_main, { style: { "padding": "10px" } }, {
|
|
353
|
+
default: Vue.withCtx(() => [
|
|
354
|
+
Vue.unref(isEditingNew) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
355
|
+
Vue.createElementVNode("div", _hoisted_2, [
|
|
356
|
+
Vue.createElementVNode("div", _hoisted_3, [
|
|
357
|
+
Vue.createVNode(_component_el_input, {
|
|
358
|
+
modelValue: Vue.unref(newDialogName),
|
|
359
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => Vue.isRef(newDialogName) ? newDialogName.value = $event : null),
|
|
360
360
|
placeholder: "请输入弹层名称",
|
|
361
361
|
size: "default",
|
|
362
|
-
onKeyup:
|
|
362
|
+
onKeyup: Vue.withKeys(confirmAddDialog, ["enter"]),
|
|
363
363
|
class: "new-item-input"
|
|
364
364
|
}, null, 8, ["modelValue"]),
|
|
365
|
-
|
|
366
|
-
|
|
365
|
+
Vue.createElementVNode("div", _hoisted_4, [
|
|
366
|
+
Vue.createVNode(_component_el_button, {
|
|
367
367
|
size: "small",
|
|
368
|
-
icon:
|
|
368
|
+
icon: Vue.unref(index$4.Close),
|
|
369
369
|
onClick: cancelAddDialog
|
|
370
370
|
}, {
|
|
371
|
-
default:
|
|
372
|
-
|
|
371
|
+
default: Vue.withCtx(() => _cache[33] || (_cache[33] = [
|
|
372
|
+
Vue.createTextVNode(" 取消 ")
|
|
373
373
|
])),
|
|
374
374
|
_: 1
|
|
375
375
|
}, 8, ["icon"]),
|
|
376
|
-
|
|
376
|
+
Vue.createVNode(_component_el_button, {
|
|
377
377
|
type: "primary",
|
|
378
378
|
size: "small",
|
|
379
|
-
icon:
|
|
379
|
+
icon: Vue.unref(index$4.Check),
|
|
380
380
|
onClick: confirmAddDialog
|
|
381
381
|
}, {
|
|
382
|
-
default:
|
|
383
|
-
|
|
382
|
+
default: Vue.withCtx(() => _cache[34] || (_cache[34] = [
|
|
383
|
+
Vue.createTextVNode(" 确认 ")
|
|
384
384
|
])),
|
|
385
385
|
_: 1
|
|
386
386
|
}, 8, ["icon"])
|
|
387
387
|
])
|
|
388
388
|
])
|
|
389
389
|
])
|
|
390
|
-
])) :
|
|
391
|
-
(
|
|
392
|
-
return
|
|
390
|
+
])) : Vue.createCommentVNode("", true),
|
|
391
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(selectedDialogs), (dialog, index2) => {
|
|
392
|
+
return Vue.openBlock(), Vue.createElementBlock("div", {
|
|
393
393
|
key: index2,
|
|
394
|
-
class:
|
|
394
|
+
class: Vue.normalizeClass([
|
|
395
395
|
"dialog-menu-item",
|
|
396
|
-
{ "is-active":
|
|
396
|
+
{ "is-active": Vue.unref(activeDialogIndex) === index2 }
|
|
397
397
|
]),
|
|
398
398
|
onClick: ($event) => activeDialogIndex.value = index2
|
|
399
399
|
}, [
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
400
|
+
Vue.createElementVNode("div", _hoisted_6, [
|
|
401
|
+
Vue.createElementVNode("div", _hoisted_7, [
|
|
402
|
+
Vue.withDirectives(Vue.createVNode(_component_el_input, {
|
|
403
403
|
onBlur: ($event) => onEditOutside(),
|
|
404
404
|
maxlength: "30",
|
|
405
|
-
modelValue:
|
|
406
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) =>
|
|
405
|
+
modelValue: Vue.unref(editingDialogName),
|
|
406
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => Vue.isRef(editingDialogName) ? editingDialogName.value = $event : null),
|
|
407
407
|
size: "small"
|
|
408
408
|
}, null, 8, ["onBlur", "modelValue"]), [
|
|
409
|
-
[
|
|
409
|
+
[Vue.vShow, Vue.unref(editingDialogIndex) === index2]
|
|
410
410
|
]),
|
|
411
|
-
|
|
411
|
+
Vue.withDirectives(Vue.createVNode(_component_el_link, {
|
|
412
412
|
icon: "Edit",
|
|
413
|
-
onClick:
|
|
413
|
+
onClick: Vue.withModifiers(($event) => startEditDialog(index2), ["stop"])
|
|
414
414
|
}, {
|
|
415
|
-
default:
|
|
416
|
-
|
|
415
|
+
default: Vue.withCtx(() => [
|
|
416
|
+
Vue.createTextVNode(Vue.toDisplayString(dialog.name), 1)
|
|
417
417
|
]),
|
|
418
418
|
_: 2
|
|
419
419
|
}, 1032, ["onClick"]), [
|
|
420
|
-
[
|
|
420
|
+
[Vue.vShow, Vue.unref(editingDialogIndex) !== index2]
|
|
421
421
|
])
|
|
422
422
|
]),
|
|
423
|
-
|
|
423
|
+
Vue.createVNode(_component_el_icon, {
|
|
424
424
|
class: "delete-icon",
|
|
425
|
-
onClick:
|
|
425
|
+
onClick: Vue.withModifiers(($event) => handleRemoveDialog(index2), ["stop"])
|
|
426
426
|
}, {
|
|
427
|
-
default:
|
|
428
|
-
|
|
427
|
+
default: Vue.withCtx(() => [
|
|
428
|
+
Vue.createVNode(Vue.unref(index$4.Delete))
|
|
429
429
|
]),
|
|
430
430
|
_: 2
|
|
431
431
|
}, 1032, ["onClick"])
|
|
@@ -441,72 +441,72 @@ const _sfc_main = {
|
|
|
441
441
|
]),
|
|
442
442
|
_: 1
|
|
443
443
|
}),
|
|
444
|
-
|
|
445
|
-
default:
|
|
446
|
-
|
|
444
|
+
Vue.createVNode(_component_el_main, { style: { "border-left": "1px solid #ebeef5", "padding": "0" } }, {
|
|
445
|
+
default: Vue.withCtx(() => [
|
|
446
|
+
Vue.unref(activeDialogIndex) !== -1 ? (Vue.openBlock(), Vue.createBlock(_component_el_container, {
|
|
447
447
|
key: 0,
|
|
448
448
|
style: { "height": "100%" }
|
|
449
449
|
}, {
|
|
450
|
-
default:
|
|
451
|
-
|
|
450
|
+
default: Vue.withCtx(() => [
|
|
451
|
+
Vue.createVNode(_component_el_header, {
|
|
452
452
|
height: "40px",
|
|
453
453
|
class: "dialog-header"
|
|
454
454
|
}, {
|
|
455
|
-
default:
|
|
456
|
-
|
|
455
|
+
default: Vue.withCtx(() => [
|
|
456
|
+
Vue.createElementVNode("div", null, Vue.toDisplayString(Vue.unref(currentDialog).name), 1)
|
|
457
457
|
]),
|
|
458
458
|
_: 1
|
|
459
459
|
}),
|
|
460
|
-
|
|
461
|
-
default:
|
|
462
|
-
|
|
463
|
-
default:
|
|
464
|
-
|
|
465
|
-
model:
|
|
460
|
+
Vue.createVNode(_component_el_main, { style: { "padding": "12px 20px 0 20px" } }, {
|
|
461
|
+
default: Vue.withCtx(() => [
|
|
462
|
+
Vue.createVNode(_component_el_scrollbar, null, {
|
|
463
|
+
default: Vue.withCtx(() => [
|
|
464
|
+
Vue.createVNode(_component_el_form, {
|
|
465
|
+
model: Vue.unref(currentDialog),
|
|
466
466
|
"label-width": "130px",
|
|
467
467
|
style: { "padding-right": "20px" },
|
|
468
468
|
size: "small"
|
|
469
469
|
}, {
|
|
470
|
-
default:
|
|
471
|
-
|
|
472
|
-
default:
|
|
473
|
-
|
|
474
|
-
modelValue:
|
|
475
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) =>
|
|
470
|
+
default: Vue.withCtx(() => [
|
|
471
|
+
Vue.createVNode(_component_el_form_item, { label: "弹层标题" }, {
|
|
472
|
+
default: Vue.withCtx(() => [
|
|
473
|
+
Vue.createVNode(_component_el_input, {
|
|
474
|
+
modelValue: Vue.unref(currentDialog).dialogTitle,
|
|
475
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => Vue.unref(currentDialog).dialogTitle = $event),
|
|
476
476
|
placeholder: "请输入弹层标题",
|
|
477
477
|
clearable: ""
|
|
478
478
|
}, null, 8, ["modelValue"])
|
|
479
479
|
]),
|
|
480
480
|
_: 1
|
|
481
481
|
}),
|
|
482
|
-
|
|
483
|
-
default:
|
|
484
|
-
|
|
485
|
-
modelValue:
|
|
486
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) =>
|
|
482
|
+
Vue.createVNode(_component_el_form_item, { label: "弹层尺寸" }, {
|
|
483
|
+
default: Vue.withCtx(() => [
|
|
484
|
+
Vue.createVNode(_component_el_radio_group, {
|
|
485
|
+
modelValue: Vue.unref(currentDialog).dialogSize,
|
|
486
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => Vue.unref(currentDialog).dialogSize = $event)
|
|
487
487
|
}, {
|
|
488
|
-
default:
|
|
489
|
-
|
|
490
|
-
default:
|
|
491
|
-
|
|
488
|
+
default: Vue.withCtx(() => [
|
|
489
|
+
Vue.createVNode(_component_el_radio_button, { value: "standard" }, {
|
|
490
|
+
default: Vue.withCtx(() => _cache[35] || (_cache[35] = [
|
|
491
|
+
Vue.createTextVNode("标准")
|
|
492
492
|
])),
|
|
493
493
|
_: 1
|
|
494
494
|
}),
|
|
495
|
-
|
|
496
|
-
default:
|
|
497
|
-
|
|
495
|
+
Vue.createVNode(_component_el_radio_button, { value: "large" }, {
|
|
496
|
+
default: Vue.withCtx(() => _cache[36] || (_cache[36] = [
|
|
497
|
+
Vue.createTextVNode("更大")
|
|
498
498
|
])),
|
|
499
499
|
_: 1
|
|
500
500
|
}),
|
|
501
|
-
|
|
502
|
-
default:
|
|
503
|
-
|
|
501
|
+
Vue.createVNode(_component_el_radio_button, { value: "small" }, {
|
|
502
|
+
default: Vue.withCtx(() => _cache[37] || (_cache[37] = [
|
|
503
|
+
Vue.createTextVNode("更小")
|
|
504
504
|
])),
|
|
505
505
|
_: 1
|
|
506
506
|
}),
|
|
507
|
-
|
|
508
|
-
default:
|
|
509
|
-
|
|
507
|
+
Vue.createVNode(_component_el_radio_button, { value: "custom" }, {
|
|
508
|
+
default: Vue.withCtx(() => _cache[38] || (_cache[38] = [
|
|
509
|
+
Vue.createTextVNode("自定义")
|
|
510
510
|
])),
|
|
511
511
|
_: 1
|
|
512
512
|
})
|
|
@@ -516,65 +516,65 @@ const _sfc_main = {
|
|
|
516
516
|
]),
|
|
517
517
|
_: 1
|
|
518
518
|
}),
|
|
519
|
-
|
|
519
|
+
Vue.unref(currentDialog).dialogSize === "custom" ? (Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
|
|
520
520
|
key: 0,
|
|
521
521
|
label: "自定义尺寸"
|
|
522
522
|
}, {
|
|
523
|
-
default:
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
modelValue:
|
|
527
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) =>
|
|
523
|
+
default: Vue.withCtx(() => [
|
|
524
|
+
Vue.createElementVNode("div", _hoisted_8, [
|
|
525
|
+
Vue.createVNode(_component_el_input, {
|
|
526
|
+
modelValue: Vue.unref(currentDialog).customWidth,
|
|
527
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => Vue.unref(currentDialog).customWidth = $event),
|
|
528
528
|
placeholder: "宽度,如:800px、60%",
|
|
529
529
|
style: { "flex": "1" }
|
|
530
530
|
}, null, 8, ["modelValue"]),
|
|
531
|
-
|
|
532
|
-
modelValue:
|
|
533
|
-
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) =>
|
|
531
|
+
Vue.createVNode(_component_el_input, {
|
|
532
|
+
modelValue: Vue.unref(currentDialog).customMaxHeight,
|
|
533
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => Vue.unref(currentDialog).customMaxHeight = $event),
|
|
534
534
|
placeholder: "最大高度,如:600px、80vh",
|
|
535
535
|
style: { "flex": "1" }
|
|
536
536
|
}, null, 8, ["modelValue"])
|
|
537
537
|
])
|
|
538
538
|
]),
|
|
539
539
|
_: 1
|
|
540
|
-
})) :
|
|
541
|
-
|
|
542
|
-
default:
|
|
543
|
-
|
|
544
|
-
modelValue:
|
|
545
|
-
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) =>
|
|
540
|
+
})) : Vue.createCommentVNode("", true),
|
|
541
|
+
Vue.createVNode(_component_el_form_item, { label: "弹层参数" }, {
|
|
542
|
+
default: Vue.withCtx(() => [
|
|
543
|
+
Vue.createVNode(ParamsConfig.default, {
|
|
544
|
+
modelValue: Vue.unref(currentDialog).dialogParams,
|
|
545
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => Vue.unref(currentDialog).dialogParams = $event)
|
|
546
546
|
}, null, 8, ["modelValue"])
|
|
547
547
|
]),
|
|
548
548
|
_: 1
|
|
549
549
|
}),
|
|
550
|
-
|
|
551
|
-
default:
|
|
552
|
-
|
|
553
|
-
modelValue:
|
|
554
|
-
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) =>
|
|
550
|
+
Vue.createVNode(_component_el_form_item, { label: "弹层类型" }, {
|
|
551
|
+
default: Vue.withCtx(() => [
|
|
552
|
+
Vue.createVNode(_component_el_radio_group, {
|
|
553
|
+
modelValue: Vue.unref(currentDialog).contentSource,
|
|
554
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => Vue.unref(currentDialog).contentSource = $event)
|
|
555
555
|
}, {
|
|
556
|
-
default:
|
|
557
|
-
|
|
558
|
-
default:
|
|
559
|
-
|
|
556
|
+
default: Vue.withCtx(() => [
|
|
557
|
+
Vue.createVNode(_component_el_radio_button, { value: "table" }, {
|
|
558
|
+
default: Vue.withCtx(() => _cache[39] || (_cache[39] = [
|
|
559
|
+
Vue.createTextVNode("列表")
|
|
560
560
|
])),
|
|
561
561
|
_: 1
|
|
562
562
|
}),
|
|
563
|
-
|
|
564
|
-
default:
|
|
565
|
-
|
|
563
|
+
Vue.createVNode(_component_el_radio_button, { value: "form" }, {
|
|
564
|
+
default: Vue.withCtx(() => _cache[40] || (_cache[40] = [
|
|
565
|
+
Vue.createTextVNode("表单")
|
|
566
566
|
])),
|
|
567
567
|
_: 1
|
|
568
568
|
}),
|
|
569
|
-
|
|
570
|
-
default:
|
|
571
|
-
|
|
569
|
+
Vue.createVNode(_component_el_radio_button, { value: "tree" }, {
|
|
570
|
+
default: Vue.withCtx(() => _cache[41] || (_cache[41] = [
|
|
571
|
+
Vue.createTextVNode("树形")
|
|
572
572
|
])),
|
|
573
573
|
_: 1
|
|
574
574
|
}),
|
|
575
|
-
|
|
576
|
-
default:
|
|
577
|
-
|
|
575
|
+
Vue.createVNode(_component_el_radio_button, { value: "component" }, {
|
|
576
|
+
default: Vue.withCtx(() => _cache[42] || (_cache[42] = [
|
|
577
|
+
Vue.createTextVNode("组件")
|
|
578
578
|
])),
|
|
579
579
|
_: 1
|
|
580
580
|
})
|
|
@@ -584,23 +584,23 @@ const _sfc_main = {
|
|
|
584
584
|
]),
|
|
585
585
|
_: 1
|
|
586
586
|
}),
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
default:
|
|
590
|
-
|
|
591
|
-
modelValue:
|
|
592
|
-
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) =>
|
|
587
|
+
Vue.unref(currentDialog).contentSource === "table" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 1 }, [
|
|
588
|
+
Vue.createVNode(_component_el_form_item, { label: "列表内容" }, {
|
|
589
|
+
default: Vue.withCtx(() => [
|
|
590
|
+
Vue.createVNode(_component_el_radio_group, {
|
|
591
|
+
modelValue: Vue.unref(currentDialog).tableContent,
|
|
592
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => Vue.unref(currentDialog).tableContent = $event)
|
|
593
593
|
}, {
|
|
594
|
-
default:
|
|
595
|
-
|
|
596
|
-
default:
|
|
597
|
-
|
|
594
|
+
default: Vue.withCtx(() => [
|
|
595
|
+
Vue.createVNode(_component_el_radio_button, { value: "select" }, {
|
|
596
|
+
default: Vue.withCtx(() => _cache[43] || (_cache[43] = [
|
|
597
|
+
Vue.createTextVNode("选择列表")
|
|
598
598
|
])),
|
|
599
599
|
_: 1
|
|
600
600
|
}),
|
|
601
|
-
|
|
602
|
-
default:
|
|
603
|
-
|
|
601
|
+
Vue.createVNode(_component_el_radio_button, { value: "custom" }, {
|
|
602
|
+
default: Vue.withCtx(() => _cache[44] || (_cache[44] = [
|
|
603
|
+
Vue.createTextVNode("自定义")
|
|
604
604
|
])),
|
|
605
605
|
_: 1
|
|
606
606
|
})
|
|
@@ -610,32 +610,32 @@ const _sfc_main = {
|
|
|
610
610
|
]),
|
|
611
611
|
_: 1
|
|
612
612
|
}),
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
default:
|
|
616
|
-
|
|
617
|
-
modelValue:
|
|
618
|
-
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) =>
|
|
619
|
-
templateKey:
|
|
620
|
-
"onUpdate:templateKey": _cache[10] || (_cache[10] = ($event) =>
|
|
621
|
-
templateId:
|
|
622
|
-
"onUpdate:templateId": _cache[11] || (_cache[11] = ($event) =>
|
|
613
|
+
Vue.unref(currentDialog).tableContent === "select" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 0 }, [
|
|
614
|
+
Vue.createVNode(_component_el_form_item, { label: "选择列表" }, {
|
|
615
|
+
default: Vue.withCtx(() => [
|
|
616
|
+
Vue.createVNode(TemplateSelector.default, {
|
|
617
|
+
modelValue: Vue.unref(currentDialog).subTableName,
|
|
618
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => Vue.unref(currentDialog).subTableName = $event),
|
|
619
|
+
templateKey: Vue.unref(currentDialog).subTableKey,
|
|
620
|
+
"onUpdate:templateKey": _cache[10] || (_cache[10] = ($event) => Vue.unref(currentDialog).subTableKey = $event),
|
|
621
|
+
templateId: Vue.unref(currentDialog).subTableId,
|
|
622
|
+
"onUpdate:templateId": _cache[11] || (_cache[11] = ($event) => Vue.unref(currentDialog).subTableId = $event),
|
|
623
623
|
templateType: "table",
|
|
624
624
|
onConfirm: tableSelectorConfirm
|
|
625
625
|
}, null, 8, ["modelValue", "templateKey", "templateId"])
|
|
626
626
|
]),
|
|
627
627
|
_: 1
|
|
628
628
|
}),
|
|
629
|
-
|
|
630
|
-
default:
|
|
631
|
-
|
|
632
|
-
modelValue:
|
|
633
|
-
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) =>
|
|
629
|
+
Vue.createVNode(_component_el_form_item, { label: "列表模式" }, {
|
|
630
|
+
default: Vue.withCtx(() => [
|
|
631
|
+
Vue.createVNode(_component_el_select, {
|
|
632
|
+
modelValue: Vue.unref(currentDialog).subTableMode,
|
|
633
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => Vue.unref(currentDialog).subTableMode = $event),
|
|
634
634
|
clearable: ""
|
|
635
635
|
}, {
|
|
636
|
-
default:
|
|
637
|
-
(
|
|
638
|
-
return
|
|
636
|
+
default: Vue.withCtx(() => [
|
|
637
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(tableMode), (mode) => {
|
|
638
|
+
return Vue.openBlock(), Vue.createBlock(_component_el_option, {
|
|
639
639
|
key: mode.key,
|
|
640
640
|
label: mode.name,
|
|
641
641
|
value: mode.key
|
|
@@ -647,77 +647,77 @@ const _sfc_main = {
|
|
|
647
647
|
]),
|
|
648
648
|
_: 1
|
|
649
649
|
})
|
|
650
|
-
], 64)) :
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
default:
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
650
|
+
], 64)) : Vue.createCommentVNode("", true),
|
|
651
|
+
Vue.unref(currentDialog).tableContent === "custom" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 1 }, [
|
|
652
|
+
Vue.createVNode(_component_el_form_item, { label: "列配置" }, {
|
|
653
|
+
default: Vue.withCtx(() => [
|
|
654
|
+
Vue.createElementVNode("div", _hoisted_9, [
|
|
655
|
+
Vue.createElementVNode("div", _hoisted_10, [
|
|
656
|
+
Vue.createVNode(_component_el_button, {
|
|
657
657
|
type: "primary",
|
|
658
658
|
size: "small",
|
|
659
659
|
onClick: addTableCol,
|
|
660
660
|
icon: "Plus",
|
|
661
661
|
link: ""
|
|
662
662
|
}, {
|
|
663
|
-
default:
|
|
664
|
-
|
|
663
|
+
default: Vue.withCtx(() => _cache[45] || (_cache[45] = [
|
|
664
|
+
Vue.createTextVNode(" 添加列配置 ")
|
|
665
665
|
])),
|
|
666
666
|
_: 1
|
|
667
667
|
})
|
|
668
668
|
]),
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
modelValue:
|
|
672
|
-
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) =>
|
|
669
|
+
Vue.createElementVNode("div", _hoisted_11, [
|
|
670
|
+
Vue.createVNode(Vue.unref(vueDraggablePlus.VueDraggable), {
|
|
671
|
+
modelValue: Vue.unref(currentDialog).customTableConfig.fieldsData,
|
|
672
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => Vue.unref(currentDialog).customTableConfig.fieldsData = $event),
|
|
673
673
|
animation: 150,
|
|
674
674
|
handle: ".drag-handle"
|
|
675
675
|
}, {
|
|
676
|
-
default:
|
|
677
|
-
(
|
|
678
|
-
return
|
|
676
|
+
default: Vue.withCtx(() => [
|
|
677
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(currentDialog).customTableConfig.fieldsData, (col, index2) => {
|
|
678
|
+
return Vue.openBlock(), Vue.createElementBlock("div", {
|
|
679
679
|
key: index2,
|
|
680
680
|
class: "col-rule-item"
|
|
681
681
|
}, [
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
default:
|
|
685
|
-
|
|
682
|
+
Vue.createElementVNode("div", _hoisted_12, [
|
|
683
|
+
Vue.createVNode(_component_el_icon, null, {
|
|
684
|
+
default: Vue.withCtx(() => [
|
|
685
|
+
Vue.createVNode(Vue.unref(index$4.Rank))
|
|
686
686
|
]),
|
|
687
687
|
_: 1
|
|
688
688
|
})
|
|
689
689
|
]),
|
|
690
|
-
|
|
690
|
+
Vue.createVNode(_component_el_input, {
|
|
691
691
|
modelValue: col.label,
|
|
692
692
|
"onUpdate:modelValue": ($event) => col.label = $event,
|
|
693
693
|
size: "small",
|
|
694
694
|
placeholder: "列标题"
|
|
695
695
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
696
|
-
|
|
696
|
+
Vue.createVNode(_component_el_input, {
|
|
697
697
|
modelValue: col.fieldName,
|
|
698
698
|
"onUpdate:modelValue": ($event) => col.fieldName = $event,
|
|
699
699
|
size: "small",
|
|
700
700
|
placeholder: "字段名"
|
|
701
701
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
702
|
-
|
|
703
|
-
|
|
702
|
+
Vue.createElementVNode("div", _hoisted_13, [
|
|
703
|
+
Vue.createVNode(_component_el_popover, {
|
|
704
704
|
placement: "right",
|
|
705
705
|
width: 200,
|
|
706
706
|
trigger: "click"
|
|
707
707
|
}, {
|
|
708
|
-
reference:
|
|
709
|
-
|
|
710
|
-
icon:
|
|
708
|
+
reference: Vue.withCtx(() => [
|
|
709
|
+
Vue.createVNode(_component_el_button, {
|
|
710
|
+
icon: Vue.unref(index$4.Edit),
|
|
711
711
|
link: "",
|
|
712
712
|
type: "primary",
|
|
713
713
|
class: "edit-btn"
|
|
714
714
|
}, null, 8, ["icon"])
|
|
715
715
|
]),
|
|
716
|
-
default:
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
default:
|
|
720
|
-
|
|
716
|
+
default: Vue.withCtx(() => [
|
|
717
|
+
Vue.createElementVNode("div", _hoisted_14, [
|
|
718
|
+
Vue.createVNode(_component_el_scrollbar, { "wrap-class": "col-property-scrollbar" }, {
|
|
719
|
+
default: Vue.withCtx(() => [
|
|
720
|
+
Vue.createVNode(widgets.default, {
|
|
721
721
|
column: col,
|
|
722
722
|
isComp: ""
|
|
723
723
|
}, null, 8, ["column"])
|
|
@@ -728,8 +728,8 @@ const _sfc_main = {
|
|
|
728
728
|
]),
|
|
729
729
|
_: 2
|
|
730
730
|
}, 1024),
|
|
731
|
-
|
|
732
|
-
icon:
|
|
731
|
+
Vue.createVNode(_component_el_button, {
|
|
732
|
+
icon: Vue.unref(index$4.Delete),
|
|
733
733
|
link: "",
|
|
734
734
|
type: "danger",
|
|
735
735
|
class: "delete-btn",
|
|
@@ -746,68 +746,68 @@ const _sfc_main = {
|
|
|
746
746
|
]),
|
|
747
747
|
_: 1
|
|
748
748
|
}),
|
|
749
|
-
|
|
750
|
-
default:
|
|
751
|
-
|
|
752
|
-
modelValue:
|
|
753
|
-
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) =>
|
|
749
|
+
Vue.createVNode(_component_el_form_item, { label: "主键字段" }, {
|
|
750
|
+
default: Vue.withCtx(() => [
|
|
751
|
+
Vue.createVNode(_component_el_input, {
|
|
752
|
+
modelValue: Vue.unref(currentDialog).customTableConfig.pkFieldName,
|
|
753
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => Vue.unref(currentDialog).customTableConfig.pkFieldName = $event),
|
|
754
754
|
placeholder: "请输入主键字段",
|
|
755
755
|
clearable: ""
|
|
756
756
|
}, null, 8, ["modelValue"])
|
|
757
757
|
]),
|
|
758
758
|
_: 1
|
|
759
759
|
}),
|
|
760
|
-
|
|
761
|
-
default:
|
|
762
|
-
|
|
763
|
-
modelValue:
|
|
764
|
-
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) =>
|
|
760
|
+
Vue.createVNode(_component_el_form_item, { label: "数据源" }, {
|
|
761
|
+
default: Vue.withCtx(() => [
|
|
762
|
+
Vue.createVNode(DataSourceSelect.default, {
|
|
763
|
+
modelValue: Vue.unref(currentDialog).customTableConfig.dataSourceId,
|
|
764
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => Vue.unref(currentDialog).customTableConfig.dataSourceId = $event)
|
|
765
765
|
}, null, 8, ["modelValue"])
|
|
766
766
|
]),
|
|
767
767
|
_: 1
|
|
768
768
|
})
|
|
769
|
-
], 64)) :
|
|
770
|
-
|
|
771
|
-
default:
|
|
772
|
-
|
|
773
|
-
modelValue:
|
|
774
|
-
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) =>
|
|
769
|
+
], 64)) : Vue.createCommentVNode("", true),
|
|
770
|
+
Vue.createVNode(_component_el_form_item, { label: "是否翻页" }, {
|
|
771
|
+
default: Vue.withCtx(() => [
|
|
772
|
+
Vue.createVNode(_component_el_switch, {
|
|
773
|
+
modelValue: Vue.unref(currentDialog).isSubTablePagination,
|
|
774
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => Vue.unref(currentDialog).isSubTablePagination = $event)
|
|
775
775
|
}, null, 8, ["modelValue"])
|
|
776
776
|
]),
|
|
777
777
|
_: 1
|
|
778
778
|
}),
|
|
779
|
-
|
|
780
|
-
default:
|
|
781
|
-
|
|
782
|
-
modelValue:
|
|
783
|
-
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) =>
|
|
779
|
+
Vue.createVNode(_component_el_form_item, { label: "是否只读" }, {
|
|
780
|
+
default: Vue.withCtx(() => [
|
|
781
|
+
Vue.createVNode(_component_el_switch, {
|
|
782
|
+
modelValue: Vue.unref(currentDialog).isSubTableReadOnly,
|
|
783
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => Vue.unref(currentDialog).isSubTableReadOnly = $event)
|
|
784
784
|
}, null, 8, ["modelValue"])
|
|
785
785
|
]),
|
|
786
786
|
_: 1
|
|
787
787
|
}),
|
|
788
|
-
!
|
|
789
|
-
|
|
790
|
-
default:
|
|
791
|
-
|
|
792
|
-
modelValue:
|
|
793
|
-
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) =>
|
|
788
|
+
!Vue.unref(currentDialog).isSubTableReadOnly ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 2 }, [
|
|
789
|
+
Vue.createVNode(_component_el_form_item, { label: "选择模式" }, {
|
|
790
|
+
default: Vue.withCtx(() => [
|
|
791
|
+
Vue.createVNode(_component_el_radio_group, {
|
|
792
|
+
modelValue: Vue.unref(currentDialog).selectionMode,
|
|
793
|
+
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => Vue.unref(currentDialog).selectionMode = $event)
|
|
794
794
|
}, {
|
|
795
|
-
default:
|
|
796
|
-
|
|
797
|
-
default:
|
|
798
|
-
|
|
795
|
+
default: Vue.withCtx(() => [
|
|
796
|
+
Vue.createVNode(_component_el_radio_button, { value: "none" }, {
|
|
797
|
+
default: Vue.withCtx(() => _cache[46] || (_cache[46] = [
|
|
798
|
+
Vue.createTextVNode("无")
|
|
799
799
|
])),
|
|
800
800
|
_: 1
|
|
801
801
|
}),
|
|
802
|
-
|
|
803
|
-
default:
|
|
804
|
-
|
|
802
|
+
Vue.createVNode(_component_el_radio_button, { value: "single" }, {
|
|
803
|
+
default: Vue.withCtx(() => _cache[47] || (_cache[47] = [
|
|
804
|
+
Vue.createTextVNode("单选")
|
|
805
805
|
])),
|
|
806
806
|
_: 1
|
|
807
807
|
}),
|
|
808
|
-
|
|
809
|
-
default:
|
|
810
|
-
|
|
808
|
+
Vue.createVNode(_component_el_radio_button, { value: "multiple" }, {
|
|
809
|
+
default: Vue.withCtx(() => _cache[48] || (_cache[48] = [
|
|
810
|
+
Vue.createTextVNode("多选")
|
|
811
811
|
])),
|
|
812
812
|
_: 1
|
|
813
813
|
})
|
|
@@ -817,89 +817,89 @@ const _sfc_main = {
|
|
|
817
817
|
]),
|
|
818
818
|
_: 1
|
|
819
819
|
}),
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
default:
|
|
823
|
-
|
|
820
|
+
Vue.unref(currentDialog).selectionMode != "none" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 0 }, [
|
|
821
|
+
Vue.createVNode(_component_el_form_item, { label: "选取后反显格式" }, {
|
|
822
|
+
default: Vue.withCtx(() => [
|
|
823
|
+
Vue.createVNode(Vue.unref(FormulaEditorInput.default), {
|
|
824
824
|
title: "反显格式配置",
|
|
825
|
-
formulaConf:
|
|
826
|
-
"onUpdate:formulaConf": _cache[19] || (_cache[19] = ($event) =>
|
|
827
|
-
modelValue:
|
|
828
|
-
"onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) =>
|
|
829
|
-
fieldList:
|
|
825
|
+
formulaConf: Vue.unref(currentDialog).displayFormat,
|
|
826
|
+
"onUpdate:formulaConf": _cache[19] || (_cache[19] = ($event) => Vue.unref(currentDialog).displayFormat = $event),
|
|
827
|
+
modelValue: Vue.unref(currentDialog).displayFormatText,
|
|
828
|
+
"onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => Vue.unref(currentDialog).displayFormatText = $event),
|
|
829
|
+
fieldList: Vue.unref(tableFields)
|
|
830
830
|
}, null, 8, ["formulaConf", "modelValue", "fieldList"])
|
|
831
831
|
]),
|
|
832
832
|
_: 1
|
|
833
833
|
}),
|
|
834
|
-
|
|
834
|
+
Vue.unref(currentDialog).selectionMode == "single" ? (Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
|
|
835
835
|
key: 0,
|
|
836
836
|
label: "行数据全部赋值表单"
|
|
837
837
|
}, {
|
|
838
|
-
default:
|
|
839
|
-
|
|
840
|
-
modelValue:
|
|
841
|
-
"onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) =>
|
|
838
|
+
default: Vue.withCtx(() => [
|
|
839
|
+
Vue.createVNode(_component_el_switch, {
|
|
840
|
+
modelValue: Vue.unref(currentDialog).isRowDataAssignToForm,
|
|
841
|
+
"onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => Vue.unref(currentDialog).isRowDataAssignToForm = $event)
|
|
842
842
|
}, null, 8, ["modelValue"])
|
|
843
843
|
]),
|
|
844
844
|
_: 1
|
|
845
|
-
})) :
|
|
846
|
-
|
|
847
|
-
default:
|
|
848
|
-
|
|
849
|
-
modelValue:
|
|
850
|
-
"onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) =>
|
|
845
|
+
})) : Vue.createCommentVNode("", true),
|
|
846
|
+
Vue.createVNode(_component_el_form_item, { label: "选取后表单赋值映射" }, {
|
|
847
|
+
default: Vue.withCtx(() => [
|
|
848
|
+
Vue.createVNode(FieldSetMapping.default, {
|
|
849
|
+
modelValue: Vue.unref(currentDialog).fieldMapping,
|
|
850
|
+
"onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => Vue.unref(currentDialog).fieldMapping = $event),
|
|
851
851
|
fieldLabel: "赋值表单字段",
|
|
852
852
|
valueLabel: "列表字段",
|
|
853
|
-
valueOptions:
|
|
853
|
+
valueOptions: Vue.unref(tableFields),
|
|
854
854
|
valueSelectMode: ""
|
|
855
855
|
}, null, 8, ["modelValue", "valueOptions"])
|
|
856
856
|
]),
|
|
857
857
|
_: 1
|
|
858
858
|
})
|
|
859
|
-
], 64)) :
|
|
860
|
-
|
|
861
|
-
default:
|
|
862
|
-
|
|
863
|
-
config:
|
|
859
|
+
], 64)) : Vue.createCommentVNode("", true),
|
|
860
|
+
Vue.createVNode(_component_el_form_item, { label: "回调事件配置" }, {
|
|
861
|
+
default: Vue.withCtx(() => [
|
|
862
|
+
Vue.createVNode(OnlyFLowConfigButton.default, {
|
|
863
|
+
config: Vue.unref(currentDialog).callbackEventConfig,
|
|
864
864
|
onConfirm: handleOnlyFlowConfirm
|
|
865
865
|
}, null, 8, ["config"])
|
|
866
866
|
]),
|
|
867
867
|
_: 1
|
|
868
868
|
})
|
|
869
|
-
], 64)) :
|
|
870
|
-
], 64)) :
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
default:
|
|
874
|
-
|
|
875
|
-
modelValue:
|
|
876
|
-
"onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) =>
|
|
877
|
-
templateKey:
|
|
878
|
-
"onUpdate:templateKey": _cache[24] || (_cache[24] = ($event) =>
|
|
879
|
-
templateId:
|
|
880
|
-
"onUpdate:templateId": _cache[25] || (_cache[25] = ($event) =>
|
|
869
|
+
], 64)) : Vue.createCommentVNode("", true)
|
|
870
|
+
], 64)) : Vue.createCommentVNode("", true),
|
|
871
|
+
Vue.unref(currentDialog).contentSource === "form" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 2 }, [
|
|
872
|
+
Vue.createVNode(_component_el_form_item, { label: "选择表单" }, {
|
|
873
|
+
default: Vue.withCtx(() => [
|
|
874
|
+
Vue.createVNode(TemplateSelector.default, {
|
|
875
|
+
modelValue: Vue.unref(currentDialog).subFormName,
|
|
876
|
+
"onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => Vue.unref(currentDialog).subFormName = $event),
|
|
877
|
+
templateKey: Vue.unref(currentDialog).subFormKey,
|
|
878
|
+
"onUpdate:templateKey": _cache[24] || (_cache[24] = ($event) => Vue.unref(currentDialog).subFormKey = $event),
|
|
879
|
+
templateId: Vue.unref(currentDialog).subFormId,
|
|
880
|
+
"onUpdate:templateId": _cache[25] || (_cache[25] = ($event) => Vue.unref(currentDialog).subFormId = $event),
|
|
881
881
|
templateType: "form",
|
|
882
882
|
onConfirm: formSelectorConfirm
|
|
883
883
|
}, null, 8, ["modelValue", "templateKey", "templateId"])
|
|
884
884
|
]),
|
|
885
885
|
_: 1
|
|
886
886
|
}),
|
|
887
|
-
|
|
888
|
-
default:
|
|
889
|
-
|
|
890
|
-
modelValue:
|
|
891
|
-
"onUpdate:modelValue": _cache[26] || (_cache[26] = ($event) =>
|
|
887
|
+
Vue.createVNode(_component_el_form_item, { label: "表单模式" }, {
|
|
888
|
+
default: Vue.withCtx(() => [
|
|
889
|
+
Vue.createVNode(_component_el_radio_group, {
|
|
890
|
+
modelValue: Vue.unref(currentDialog).subFormMode,
|
|
891
|
+
"onUpdate:modelValue": _cache[26] || (_cache[26] = ($event) => Vue.unref(currentDialog).subFormMode = $event)
|
|
892
892
|
}, {
|
|
893
|
-
default:
|
|
894
|
-
|
|
895
|
-
default:
|
|
896
|
-
|
|
893
|
+
default: Vue.withCtx(() => [
|
|
894
|
+
Vue.createVNode(_component_el_radio_button, { value: "edit" }, {
|
|
895
|
+
default: Vue.withCtx(() => _cache[49] || (_cache[49] = [
|
|
896
|
+
Vue.createTextVNode("编辑")
|
|
897
897
|
])),
|
|
898
898
|
_: 1
|
|
899
899
|
}),
|
|
900
|
-
|
|
901
|
-
default:
|
|
902
|
-
|
|
900
|
+
Vue.createVNode(_component_el_radio_button, { value: "query" }, {
|
|
901
|
+
default: Vue.withCtx(() => _cache[50] || (_cache[50] = [
|
|
902
|
+
Vue.createTextVNode("查看")
|
|
903
903
|
])),
|
|
904
904
|
_: 1
|
|
905
905
|
})
|
|
@@ -909,18 +909,18 @@ const _sfc_main = {
|
|
|
909
909
|
]),
|
|
910
910
|
_: 1
|
|
911
911
|
}),
|
|
912
|
-
|
|
913
|
-
default:
|
|
914
|
-
|
|
915
|
-
!
|
|
916
|
-
(
|
|
917
|
-
return
|
|
912
|
+
Vue.createVNode(_component_el_form_item, { label: "表单底部按钮" }, {
|
|
913
|
+
default: Vue.withCtx(() => [
|
|
914
|
+
Vue.createElementVNode("div", _hoisted_15, [
|
|
915
|
+
!Vue.unref(formFooterBtn) || Vue.unref(formFooterBtn).length === 0 ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_16, " 暂无可用按钮 ")) : (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_17, [
|
|
916
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(formFooterBtn), (btn) => {
|
|
917
|
+
return Vue.openBlock(), Vue.createBlock(_component_el_checkbox, {
|
|
918
918
|
key: btn.id,
|
|
919
919
|
"model-value": isButtonSelected(btn.id),
|
|
920
920
|
onChange: ($event) => toggleButton(btn)
|
|
921
921
|
}, {
|
|
922
|
-
default:
|
|
923
|
-
|
|
922
|
+
default: Vue.withCtx(() => [
|
|
923
|
+
Vue.createTextVNode(Vue.toDisplayString(btn.label), 1)
|
|
924
924
|
]),
|
|
925
925
|
_: 2
|
|
926
926
|
}, 1032, ["model-value", "onChange"]);
|
|
@@ -930,38 +930,38 @@ const _sfc_main = {
|
|
|
930
930
|
]),
|
|
931
931
|
_: 1
|
|
932
932
|
})
|
|
933
|
-
], 64)) :
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
default:
|
|
937
|
-
|
|
938
|
-
modelValue:
|
|
939
|
-
"onUpdate:modelValue": _cache[27] || (_cache[27] = ($event) =>
|
|
933
|
+
], 64)) : Vue.createCommentVNode("", true),
|
|
934
|
+
Vue.unref(currentDialog).contentSource === "component" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 3 }, [
|
|
935
|
+
Vue.createVNode(_component_el_form_item, { label: "组件路由地址" }, {
|
|
936
|
+
default: Vue.withCtx(() => [
|
|
937
|
+
Vue.createVNode(_component_el_input, {
|
|
938
|
+
modelValue: Vue.unref(currentDialog).componentPath,
|
|
939
|
+
"onUpdate:modelValue": _cache[27] || (_cache[27] = ($event) => Vue.unref(currentDialog).componentPath = $event),
|
|
940
940
|
placeholder: "请输入组件路径",
|
|
941
941
|
clearable: ""
|
|
942
942
|
}, null, 8, ["modelValue"])
|
|
943
943
|
]),
|
|
944
944
|
_: 1
|
|
945
945
|
}),
|
|
946
|
-
|
|
947
|
-
default:
|
|
948
|
-
|
|
949
|
-
modelValue:
|
|
950
|
-
"onUpdate:modelValue": _cache[28] || (_cache[28] = ($event) =>
|
|
946
|
+
Vue.createVNode(_component_el_form_item, { label: "组件参数" }, {
|
|
947
|
+
default: Vue.withCtx(() => [
|
|
948
|
+
Vue.createVNode(ParamsConfig.default, {
|
|
949
|
+
modelValue: Vue.unref(currentDialog).componentParams,
|
|
950
|
+
"onUpdate:modelValue": _cache[28] || (_cache[28] = ($event) => Vue.unref(currentDialog).componentParams = $event)
|
|
951
951
|
}, null, 8, ["modelValue"])
|
|
952
952
|
]),
|
|
953
953
|
_: 1
|
|
954
954
|
}),
|
|
955
|
-
|
|
956
|
-
default:
|
|
957
|
-
|
|
958
|
-
modelValue:
|
|
959
|
-
"onUpdate:modelValue": _cache[29] || (_cache[29] = ($event) =>
|
|
955
|
+
Vue.createVNode(_component_el_form_item, { label: "组件是否是弹层" }, {
|
|
956
|
+
default: Vue.withCtx(() => [
|
|
957
|
+
Vue.createVNode(_component_el_switch, {
|
|
958
|
+
modelValue: Vue.unref(currentDialog).componentIsDialog,
|
|
959
|
+
"onUpdate:modelValue": _cache[29] || (_cache[29] = ($event) => Vue.unref(currentDialog).componentIsDialog = $event)
|
|
960
960
|
}, null, 8, ["modelValue"])
|
|
961
961
|
]),
|
|
962
962
|
_: 1
|
|
963
963
|
})
|
|
964
|
-
], 64)) :
|
|
964
|
+
], 64)) : Vue.createCommentVNode("", true)
|
|
965
965
|
]),
|
|
966
966
|
_: 1
|
|
967
967
|
}, 8, ["model"])
|
|
@@ -973,7 +973,7 @@ const _sfc_main = {
|
|
|
973
973
|
})
|
|
974
974
|
]),
|
|
975
975
|
_: 1
|
|
976
|
-
})) : (
|
|
976
|
+
})) : (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_18, "请从左侧选择一个弹层"))
|
|
977
977
|
]),
|
|
978
978
|
_: 1
|
|
979
979
|
})
|