@fecp/designer 5.1.8 → 5.2.1
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.css +2177 -1400
- package/es/node_modules/.pnpm/@element-plus_icons-vue@2.3.2_vue@3.5.13_typescript@5.7.3_/node_modules/@element-plus/icons-vue/dist/index.mjs +16 -0
- package/es/packages/designer/src/api/index.mjs +16 -1
- package/es/packages/designer/src/components/FieldSetMapping.vue2.mjs +407 -0
- package/es/packages/designer/src/components/FormulaEditorInput.vue.mjs +1 -1
- package/es/packages/designer/src/components/JsonDataDrawer.vue.mjs +1 -2
- package/es/packages/designer/src/components/OnlyFLowConfigButton.vue2.mjs +118 -0
- package/es/packages/designer/src/components/TemplateDialog.vue.mjs +254 -0
- package/es/packages/designer/src/components/TemplateSelector.vue.mjs +22 -175
- package/es/packages/designer/src/components/TemplateSelector.vue2.mjs +1 -0
- package/es/packages/designer/src/layout/aside/HiddenFieldDialog.vue.mjs +9 -15
- package/es/packages/designer/src/layout/header/index.vue.mjs +195 -11
- package/es/packages/designer/src/packages/dialog/index.vue.mjs +2 -2
- package/es/packages/designer/src/packages/dialogGlobal/index.vue.mjs +1004 -0
- package/es/packages/designer/src/packages/dialogGlobal/useDialogGlobalDialog.mjs +16 -0
- package/es/packages/designer/src/packages/event/index.vue2.mjs +76 -16
- package/es/packages/designer/src/packages/event/onlyFlow.vue2.mjs +105 -0
- package/es/packages/designer/src/packages/event/useOnlyFlowDialog.mjs +1 -1
- package/es/packages/designer/src/packages/eventFlow/dialog/action/Dialog.vue.mjs +225 -24
- package/es/packages/designer/src/packages/eventFlow/dialog/action/config.mjs +5 -1
- package/es/packages/designer/src/packages/form/aside/index.mjs +24 -10
- package/es/packages/designer/src/packages/form/components/ApprovalHistory.vue.mjs +3 -3
- package/es/packages/designer/src/packages/form/components/ComponentPreviewWrapper.vue.mjs +152 -69
- package/es/packages/designer/src/packages/form/components/DefaultValueEditor.vue.mjs +88 -0
- package/es/packages/designer/src/packages/form/components/SubForm.vue.mjs +3 -3
- package/es/packages/designer/src/packages/form/components/SubTable.vue.mjs +3 -3
- package/es/packages/designer/src/packages/form/components/SubTitle.vue.mjs +27 -0
- package/es/packages/designer/src/packages/form/headerBtn.vue.mjs +33 -57
- package/es/packages/designer/src/packages/form/index.vue.mjs +20 -8
- package/es/packages/designer/src/packages/form/property/index.vue.mjs +5 -3
- package/es/packages/designer/src/packages/form/property/subTitleH2.vue.mjs +94 -0
- package/es/packages/designer/src/packages/form/property/widgets.vue.mjs +275 -94
- package/es/packages/designer/src/packages/formulaEditor/components/FieldVariable.vue2.mjs +84 -0
- package/es/packages/designer/src/packages/formulaEditor/components/FormulaList.vue2.mjs +130 -0
- package/es/packages/designer/src/packages/formulaEditor/index.vue2.mjs +230 -0
- package/es/packages/designer/src/packages/table/default.mjs +1 -0
- package/es/packages/designer/src/packages/table/headerBtn.vue.mjs +48 -17
- package/es/packages/designer/src/packages/table/index.vue.mjs +1 -3
- package/es/packages/designer/src/packages/table/property/filterWidgets.vue.mjs +34 -7
- package/es/packages/designer/src/packages/table/queryModule/DynamicModeConfig.vue.mjs +492 -0
- package/es/packages/designer/src/packages/table/queryModule/FixedModeConfig.vue.mjs +15 -2
- package/es/packages/designer/src/packages/table/queryModule/index.vue.mjs +463 -138
- package/es/packages/designer/src/packages/table/tableBtn.vue.mjs +33 -15
- package/es/packages/designer/src/utils/optionLoader.mjs +157 -0
- package/es/packages/designer/src/utils/simpleCache.mjs +80 -0
- package/es/packages/mobile/src/components/form/field/Field.vue.mjs +26 -1
- package/es/packages/vue/src/api/index.mjs +3 -0
- package/es/packages/vue/src/components/all.mjs +2 -2
- package/es/packages/vue/src/components/bus/approvalHistory/ApprovalHistory.vue.mjs +3 -3
- package/es/packages/vue/src/components/details/header/Header.vue.mjs +1 -1
- package/es/packages/vue/src/components/dialog/DialogRenderer.vue2.mjs +2 -2
- package/es/packages/vue/src/components/forms/cascader/Cascader.vue.mjs +3 -2
- package/es/packages/vue/src/components/forms/form/Form.vue.mjs +5 -3
- package/es/packages/vue/src/components/forms/formItem/FormItem.vue.mjs +14 -12
- package/es/packages/vue/src/components/forms/index.mjs +2 -2
- package/es/packages/vue/src/components/forms/subForm/SubForm.vue.mjs +2 -2
- package/es/packages/vue/src/components/forms/subTable/SubTable.vue.mjs +2 -2
- package/es/packages/vue/src/components/forms/subTitle/SubTitle.vue.mjs +27 -0
- package/es/packages/vue/src/components/forms/subTitle/index.mjs +7 -0
- package/es/packages/vue/src/components/forms/text/Text.vue.mjs +47 -4
- package/es/packages/vue/src/components/table/CustomButtons.vue.mjs +34 -5
- package/es/packages/vue/src/components/table/DynamicQuery.vue.mjs +425 -0
- package/es/packages/vue/src/components/table/Table.vue.mjs +55 -30
- package/es/packages/vue/src/components/table/TableFilter.vue.mjs +7 -25
- package/es/packages/vue/src/utils/common.mjs +27 -0
- package/es/packages/vue/src/utils/eventFlow/actionHandlers.mjs +20 -3
- package/lib/designer.css +2177 -1400
- package/lib/node_modules/.pnpm/@element-plus_icons-vue@2.3.2_vue@3.5.13_typescript@5.7.3_/node_modules/@element-plus/icons-vue/dist/index.js +16 -0
- package/lib/packages/designer/src/api/index.js +15 -0
- package/lib/packages/designer/src/components/FieldSetMapping.vue2.js +407 -0
- package/lib/packages/designer/src/components/FormulaEditorInput.vue.js +1 -1
- package/lib/packages/designer/src/components/JsonDataDrawer.vue.js +1 -2
- package/lib/packages/designer/src/components/OnlyFLowConfigButton.vue2.js +118 -0
- package/lib/packages/designer/src/components/TemplateDialog.vue.js +254 -0
- package/lib/packages/designer/src/components/TemplateSelector.vue.js +21 -174
- package/lib/packages/designer/src/components/TemplateSelector.vue2.js +1 -0
- package/lib/packages/designer/src/layout/aside/HiddenFieldDialog.vue.js +9 -15
- package/lib/packages/designer/src/layout/header/index.vue.js +192 -8
- package/lib/packages/designer/src/packages/dialog/index.vue.js +2 -2
- package/lib/packages/designer/src/packages/dialogGlobal/index.vue.js +1004 -0
- package/lib/packages/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +16 -0
- package/lib/packages/designer/src/packages/event/index.vue2.js +75 -15
- package/lib/packages/designer/src/packages/event/onlyFlow.vue2.js +105 -0
- package/lib/packages/designer/src/packages/event/useOnlyFlowDialog.js +1 -1
- package/lib/packages/designer/src/packages/eventFlow/dialog/action/Dialog.vue.js +226 -25
- package/lib/packages/designer/src/packages/eventFlow/dialog/action/config.js +5 -1
- package/lib/packages/designer/src/packages/form/aside/index.js +24 -10
- package/lib/packages/designer/src/packages/form/components/ApprovalHistory.vue.js +3 -3
- package/lib/packages/designer/src/packages/form/components/ComponentPreviewWrapper.vue.js +160 -77
- package/lib/packages/designer/src/packages/form/components/DefaultValueEditor.vue.js +88 -0
- package/lib/packages/designer/src/packages/form/components/SubForm.vue.js +3 -3
- package/lib/packages/designer/src/packages/form/components/SubTable.vue.js +3 -3
- package/lib/packages/designer/src/packages/form/components/SubTitle.vue.js +27 -0
- package/lib/packages/designer/src/packages/form/headerBtn.vue.js +33 -57
- package/lib/packages/designer/src/packages/form/index.vue.js +21 -9
- package/lib/packages/designer/src/packages/form/property/index.vue.js +6 -4
- package/lib/packages/designer/src/packages/form/property/subTitleH2.vue.js +94 -0
- package/lib/packages/designer/src/packages/form/property/widgets.vue.js +271 -90
- package/lib/packages/designer/src/packages/formulaEditor/components/FieldVariable.vue2.js +84 -0
- package/lib/packages/designer/src/packages/formulaEditor/components/FormulaList.vue2.js +130 -0
- package/lib/packages/designer/src/packages/formulaEditor/index.vue2.js +230 -0
- package/lib/packages/designer/src/packages/table/default.js +1 -0
- package/lib/packages/designer/src/packages/table/headerBtn.vue.js +48 -17
- package/lib/packages/designer/src/packages/table/index.vue.js +1 -3
- package/lib/packages/designer/src/packages/table/property/filterWidgets.vue.js +33 -6
- package/lib/packages/designer/src/packages/table/queryModule/DynamicModeConfig.vue.js +492 -0
- package/lib/packages/designer/src/packages/table/queryModule/FixedModeConfig.vue.js +15 -2
- package/lib/packages/designer/src/packages/table/queryModule/index.vue.js +463 -138
- package/lib/packages/designer/src/packages/table/tableBtn.vue.js +34 -16
- package/lib/packages/designer/src/utils/optionLoader.js +157 -0
- package/lib/packages/designer/src/utils/simpleCache.js +80 -0
- package/lib/packages/mobile/src/components/form/field/Field.vue.js +26 -1
- package/lib/packages/vue/src/api/index.js +3 -0
- package/lib/packages/vue/src/components/all.js +2 -2
- package/lib/packages/vue/src/components/bus/approvalHistory/ApprovalHistory.vue.js +3 -3
- package/lib/packages/vue/src/components/details/header/Header.vue.js +1 -1
- package/lib/packages/vue/src/components/dialog/DialogRenderer.vue2.js +2 -2
- package/lib/packages/vue/src/components/forms/cascader/Cascader.vue.js +3 -2
- package/lib/packages/vue/src/components/forms/form/Form.vue.js +5 -3
- package/lib/packages/vue/src/components/forms/formItem/FormItem.vue.js +13 -11
- package/lib/packages/vue/src/components/forms/index.js +2 -2
- package/lib/packages/vue/src/components/forms/subForm/SubForm.vue.js +2 -2
- package/lib/packages/vue/src/components/forms/subTable/SubTable.vue.js +2 -2
- package/lib/packages/vue/src/components/forms/subTitle/SubTitle.vue.js +27 -0
- package/lib/packages/vue/src/components/forms/subTitle/index.js +7 -0
- package/lib/packages/vue/src/components/forms/text/Text.vue.js +49 -6
- package/lib/packages/vue/src/components/table/CustomButtons.vue.js +43 -14
- package/lib/packages/vue/src/components/table/DynamicQuery.vue.js +425 -0
- package/lib/packages/vue/src/components/table/Table.vue.js +54 -29
- package/lib/packages/vue/src/components/table/TableFilter.vue.js +7 -25
- package/lib/packages/vue/src/utils/common.js +27 -0
- package/lib/packages/vue/src/utils/eventFlow/actionHandlers.js +30 -13
- package/package.json +1 -1
|
@@ -26,7 +26,12 @@ const index = require("../aside/index.js");
|
|
|
26
26
|
const EventConfigButton = require("../../../components/EventConfigButton.vue.js");
|
|
27
27
|
const DataSourceSelect = require("../../../components/DataSourceSelect.vue.js");
|
|
28
28
|
const ConditionConfigButton = require("../../../components/ConditionConfigButton.vue2.js");
|
|
29
|
+
const DefaultValueEditor = require("../components/DefaultValueEditor.vue.js");
|
|
29
30
|
const eventBus = require("../../utils/eventBus.js");
|
|
31
|
+
const FieldSetMapping = require("../../../components/FieldSetMapping.vue2.js");
|
|
32
|
+
const OnlyFLowConfigButton = require("../../../components/OnlyFLowConfigButton.vue2.js");
|
|
33
|
+
const FormulaEditorInput = require("../../../components/FormulaEditorInput.vue.js");
|
|
34
|
+
const index$9 = require("../../../api/index.js");
|
|
30
35
|
;/* empty css */
|
|
31
36
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
32
37
|
const index$1 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/collapse/index.js");
|
|
@@ -43,24 +48,32 @@ const _hoisted_1 = {
|
|
|
43
48
|
};
|
|
44
49
|
const _hoisted_2 = { class: "field-item" };
|
|
45
50
|
const _hoisted_3 = { class: "field-item" };
|
|
46
|
-
const _hoisted_4 = {
|
|
51
|
+
const _hoisted_4 = { class: "field-item" };
|
|
52
|
+
const _hoisted_5 = { class: "field-item" };
|
|
53
|
+
const _hoisted_6 = { class: "field-item" };
|
|
54
|
+
const _hoisted_7 = {
|
|
55
|
+
class: "field-item",
|
|
56
|
+
style: { "flex-direction": "column", "align-items": "start" }
|
|
57
|
+
};
|
|
58
|
+
const _hoisted_8 = { class: "field-item" };
|
|
59
|
+
const _hoisted_9 = {
|
|
47
60
|
key: 1,
|
|
48
61
|
class: "data-source-fields"
|
|
49
62
|
};
|
|
50
|
-
const _hoisted_5 = { class: "field-item" };
|
|
51
|
-
const _hoisted_6 = { class: "field-item" };
|
|
52
|
-
const _hoisted_7 = { style: { "display": "flex", "align-items": "center", "gap": "8px" } };
|
|
53
|
-
const _hoisted_8 = { class: "data-source-fields" };
|
|
54
|
-
const _hoisted_9 = { class: "field-item" };
|
|
55
63
|
const _hoisted_10 = { class: "field-item" };
|
|
56
64
|
const _hoisted_11 = { class: "field-item" };
|
|
57
|
-
const _hoisted_12 = {
|
|
58
|
-
const _hoisted_13 = {
|
|
59
|
-
const _hoisted_14 = {
|
|
65
|
+
const _hoisted_12 = { style: { "display": "flex", "align-items": "center", "gap": "8px" } };
|
|
66
|
+
const _hoisted_13 = { class: "data-source-fields" };
|
|
67
|
+
const _hoisted_14 = { class: "field-item" };
|
|
68
|
+
const _hoisted_15 = { class: "field-item" };
|
|
69
|
+
const _hoisted_16 = { class: "field-item" };
|
|
70
|
+
const _hoisted_17 = { class: "field-item" };
|
|
71
|
+
const _hoisted_18 = { style: { "display": "flex", "align-items": "center", "gap": "20px", "width": "100%" } };
|
|
72
|
+
const _hoisted_19 = {
|
|
60
73
|
key: 0,
|
|
61
74
|
style: { "margin-bottom": "12px", "width": "100%" }
|
|
62
75
|
};
|
|
63
|
-
const
|
|
76
|
+
const _hoisted_20 = {
|
|
64
77
|
key: 1,
|
|
65
78
|
style: { "margin-bottom": "12px", "width": "100%" }
|
|
66
79
|
};
|
|
@@ -160,8 +173,87 @@ const _sfc_main = {
|
|
|
160
173
|
function handleSuffixButtonConfirm(data) {
|
|
161
174
|
currentItem.value.suffixButtonConfig = data;
|
|
162
175
|
}
|
|
176
|
+
function handleOnlyFlowConfirm(data) {
|
|
177
|
+
currentItem.value.callbackEventConfig = data;
|
|
178
|
+
}
|
|
179
|
+
const dialogLoading = vue.ref(false);
|
|
180
|
+
const globalDialogs = vue.ref([]);
|
|
181
|
+
const currDialog = vue.ref({});
|
|
182
|
+
const tableOptions = vue.ref(null);
|
|
183
|
+
const tableFields = vue.computed(() => {
|
|
184
|
+
var _a, _b, _c, _d, _e, _f;
|
|
185
|
+
if (((_a = currDialog.value) == null ? void 0 : _a.tableContent) === "custom") {
|
|
186
|
+
return ((_c = (_b = currDialog.value) == null ? void 0 : _b.customTableConfig) == null ? void 0 : _c.fieldsData) || [];
|
|
187
|
+
} else if (((_d = currDialog.value) == null ? void 0 : _d.tableContent) === "select") {
|
|
188
|
+
return [
|
|
189
|
+
...((_e = tableOptions.value) == null ? void 0 : _e.fieldsData) || [],
|
|
190
|
+
...((_f = tableOptions.value) == null ? void 0 : _f.hiddenFields) || []
|
|
191
|
+
];
|
|
192
|
+
}
|
|
193
|
+
return [];
|
|
194
|
+
});
|
|
195
|
+
const loadGlobalDialogs = async () => {
|
|
196
|
+
dialogLoading.value = true;
|
|
197
|
+
try {
|
|
198
|
+
const response = await index$9.default.getAllTemplateDialog();
|
|
199
|
+
globalDialogs.value = [];
|
|
200
|
+
for (let dialog of response) {
|
|
201
|
+
globalDialogs.value.push({
|
|
202
|
+
id: dialog.id,
|
|
203
|
+
name: dialog.name,
|
|
204
|
+
...JSON.parse(dialog.config)
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
} catch (error) {
|
|
208
|
+
console.error("🚀 ~ 获取全局弹层数据失败:", error);
|
|
209
|
+
globalDialogs.value = [];
|
|
210
|
+
} finally {
|
|
211
|
+
dialogLoading.value = false;
|
|
212
|
+
}
|
|
213
|
+
};
|
|
214
|
+
vue.watch(
|
|
215
|
+
() => currentItem.value.dialogSource,
|
|
216
|
+
async (newSource, oldSource) => {
|
|
217
|
+
if (newSource === "global" && oldSource !== "global") {
|
|
218
|
+
await loadGlobalDialogs();
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
{ immediate: true }
|
|
222
|
+
);
|
|
223
|
+
const handleDialogChange = async (dialogId) => {
|
|
224
|
+
if (!dialogId) {
|
|
225
|
+
currDialog.value = {};
|
|
226
|
+
tableOptions.value = null;
|
|
227
|
+
return;
|
|
228
|
+
}
|
|
229
|
+
const selectedDialog = dialogOptions.value.find(
|
|
230
|
+
(dialog) => dialog.id === dialogId
|
|
231
|
+
);
|
|
232
|
+
if (selectedDialog) {
|
|
233
|
+
currDialog.value = { ...selectedDialog };
|
|
234
|
+
console.log("🚀 ~ 选中弹层配置:", currDialog.value);
|
|
235
|
+
if (currDialog.value.contentSource === "table" && currDialog.value.tableContent === "select") {
|
|
236
|
+
const tableId = currDialog.value.subTableId;
|
|
237
|
+
if (tableId) {
|
|
238
|
+
try {
|
|
239
|
+
const response = await index$9.default.getById(tableId, false);
|
|
240
|
+
tableOptions.value = JSON.parse(response.context);
|
|
241
|
+
console.log("🚀 ~ 需要获取表格配置,表格ID:", tableId);
|
|
242
|
+
} catch (error) {
|
|
243
|
+
console.error("🚀 ~ 获取表格配置失败:", error);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
} else {
|
|
247
|
+
tableOptions.value = null;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
};
|
|
163
251
|
const dialogOptions = vue.computed(() => {
|
|
164
|
-
|
|
252
|
+
if (currentItem.value.dialogSource === "global") {
|
|
253
|
+
return globalDialogs.value;
|
|
254
|
+
} else {
|
|
255
|
+
return common.getEditConfigData().dialogs || [];
|
|
256
|
+
}
|
|
165
257
|
});
|
|
166
258
|
const isSysSelect = vue.computed(() => {
|
|
167
259
|
return currentItem.value.fieldType == "userSelect" || currentItem.value.fieldType == "roleSelect" || currentItem.value.fieldType == "orgSelect";
|
|
@@ -183,7 +275,7 @@ const _sfc_main = {
|
|
|
183
275
|
return vue.openBlock(), vue.createBlock(_component_el_collapse, {
|
|
184
276
|
class: "setting",
|
|
185
277
|
modelValue: vue.unref(activeName),
|
|
186
|
-
"onUpdate:modelValue": _cache[
|
|
278
|
+
"onUpdate:modelValue": _cache[52] || (_cache[52] = ($event) => vue.isRef(activeName) ? activeName.value = $event : null)
|
|
187
279
|
}, {
|
|
188
280
|
default: vue.withCtx(() => [
|
|
189
281
|
vue.createVNode(_component_el_collapse_item, {
|
|
@@ -302,19 +394,19 @@ const _sfc_main = {
|
|
|
302
394
|
}, {
|
|
303
395
|
default: vue.withCtx(() => [
|
|
304
396
|
vue.createVNode(_component_el_radio_button, { value: "default" }, {
|
|
305
|
-
default: vue.withCtx(() => _cache[
|
|
397
|
+
default: vue.withCtx(() => _cache[53] || (_cache[53] = [
|
|
306
398
|
vue.createTextVNode("默认")
|
|
307
399
|
])),
|
|
308
400
|
_: 1
|
|
309
401
|
}),
|
|
310
402
|
vue.createVNode(_component_el_radio_button, { value: "label" }, {
|
|
311
|
-
default: vue.withCtx(() => _cache[
|
|
403
|
+
default: vue.withCtx(() => _cache[54] || (_cache[54] = [
|
|
312
404
|
vue.createTextVNode("标签")
|
|
313
405
|
])),
|
|
314
406
|
_: 1
|
|
315
407
|
}),
|
|
316
408
|
vue.createVNode(_component_el_radio_button, { value: "input" }, {
|
|
317
|
-
default: vue.withCtx(() => _cache[
|
|
409
|
+
default: vue.withCtx(() => _cache[55] || (_cache[55] = [
|
|
318
410
|
vue.createTextVNode("输入框")
|
|
319
411
|
])),
|
|
320
412
|
_: 1
|
|
@@ -327,16 +419,10 @@ const _sfc_main = {
|
|
|
327
419
|
}),
|
|
328
420
|
vue.createVNode(_component_el_form_item, null, {
|
|
329
421
|
default: vue.withCtx(() => [
|
|
330
|
-
!vue.unref(isSysSelect) ? (vue.openBlock(), vue.createBlock(_component_el_checkbox, {
|
|
331
|
-
key: 0,
|
|
332
|
-
modelValue: vue.unref(currentItem).readOnly,
|
|
333
|
-
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(currentItem).readOnly = $event),
|
|
334
|
-
label: "只读"
|
|
335
|
-
}, null, 8, ["modelValue"])) : vue.createCommentVNode("", true),
|
|
336
422
|
vue.createVNode(_component_el_checkbox, {
|
|
337
423
|
modelValue: vue.unref(currentItem).disabled,
|
|
338
|
-
"onUpdate:modelValue": _cache[
|
|
339
|
-
label: "
|
|
424
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(currentItem).disabled = $event),
|
|
425
|
+
label: "只读"
|
|
340
426
|
}, null, 8, ["modelValue"])
|
|
341
427
|
]),
|
|
342
428
|
_: 1
|
|
@@ -345,7 +431,7 @@ const _sfc_main = {
|
|
|
345
431
|
default: vue.withCtx(() => [
|
|
346
432
|
vue.createVNode(_component_el_input, {
|
|
347
433
|
modelValue: vue.unref(currentItem).tooltip,
|
|
348
|
-
"onUpdate:modelValue": _cache[
|
|
434
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(currentItem).tooltip = $event),
|
|
349
435
|
rows: 2,
|
|
350
436
|
type: "textarea",
|
|
351
437
|
resize: "none"
|
|
@@ -355,10 +441,11 @@ const _sfc_main = {
|
|
|
355
441
|
}),
|
|
356
442
|
vue.createVNode(_component_el_form_item, { label: "默认值" }, {
|
|
357
443
|
default: vue.withCtx(() => [
|
|
358
|
-
vue.createVNode(
|
|
444
|
+
vue.createVNode(DefaultValueEditor.default, {
|
|
359
445
|
modelValue: vue.unref(currentItem).defaultValue,
|
|
360
|
-
"onUpdate:modelValue": _cache[
|
|
361
|
-
|
|
446
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(currentItem).defaultValue = $event),
|
|
447
|
+
config: vue.unref(currentItem)
|
|
448
|
+
}, null, 8, ["modelValue", "config"])
|
|
362
449
|
]),
|
|
363
450
|
_: 1
|
|
364
451
|
}),
|
|
@@ -368,7 +455,7 @@ const _sfc_main = {
|
|
|
368
455
|
vue.createVNode(_component_el_input_number, {
|
|
369
456
|
style: { "width": "100%" },
|
|
370
457
|
modelValue: vue.unref(currentItem).maxLength,
|
|
371
|
-
"onUpdate:modelValue": _cache[
|
|
458
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(currentItem).maxLength = $event),
|
|
372
459
|
min: 0,
|
|
373
460
|
max: 1e4,
|
|
374
461
|
"controls-position": "right"
|
|
@@ -380,7 +467,7 @@ const _sfc_main = {
|
|
|
380
467
|
default: vue.withCtx(() => [
|
|
381
468
|
vue.createVNode(_component_el_checkbox, {
|
|
382
469
|
modelValue: vue.unref(currentItem).showWordCount,
|
|
383
|
-
"onUpdate:modelValue": _cache[
|
|
470
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(currentItem).showWordCount = $event),
|
|
384
471
|
label: "显示字数统计"
|
|
385
472
|
}, null, 8, ["modelValue"])
|
|
386
473
|
]),
|
|
@@ -390,7 +477,7 @@ const _sfc_main = {
|
|
|
390
477
|
default: vue.withCtx(() => [
|
|
391
478
|
vue.createVNode(_component_el_input, {
|
|
392
479
|
modelValue: vue.unref(currentItem).dataMasking,
|
|
393
|
-
"onUpdate:modelValue": _cache[
|
|
480
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(currentItem).dataMasking = $event)
|
|
394
481
|
}, null, 8, ["modelValue"])
|
|
395
482
|
]),
|
|
396
483
|
_: 1
|
|
@@ -398,30 +485,30 @@ const _sfc_main = {
|
|
|
398
485
|
], 64)) : vue.createCommentVNode("", true),
|
|
399
486
|
vue.unref(currentItem).fieldType === "text" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 3 }, [
|
|
400
487
|
vue.createVNode(_component_el_form_item, null, {
|
|
401
|
-
label: vue.withCtx(() => _cache[
|
|
488
|
+
label: vue.withCtx(() => _cache[56] || (_cache[56] = [
|
|
402
489
|
vue.createElementVNode("span", null, "尾部按钮", -1)
|
|
403
490
|
])),
|
|
404
491
|
default: vue.withCtx(() => [
|
|
405
492
|
vue.createVNode(_component_el_radio_group, {
|
|
406
493
|
modelValue: vue.unref(currentItem).suffixButton,
|
|
407
|
-
"onUpdate:modelValue": _cache[
|
|
494
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => vue.unref(currentItem).suffixButton = $event),
|
|
408
495
|
size: "small"
|
|
409
496
|
}, {
|
|
410
497
|
default: vue.withCtx(() => [
|
|
411
498
|
vue.createVNode(_component_el_radio_button, { value: "none" }, {
|
|
412
|
-
default: vue.withCtx(() => _cache[
|
|
499
|
+
default: vue.withCtx(() => _cache[57] || (_cache[57] = [
|
|
413
500
|
vue.createTextVNode("无")
|
|
414
501
|
])),
|
|
415
502
|
_: 1
|
|
416
503
|
}),
|
|
417
504
|
vue.createVNode(_component_el_radio_button, { value: "dialog" }, {
|
|
418
|
-
default: vue.withCtx(() => _cache[
|
|
505
|
+
default: vue.withCtx(() => _cache[58] || (_cache[58] = [
|
|
419
506
|
vue.createTextVNode("弹层选择")
|
|
420
507
|
])),
|
|
421
508
|
_: 1
|
|
422
509
|
}),
|
|
423
510
|
vue.createVNode(_component_el_radio_button, { value: "custom" }, {
|
|
424
|
-
default: vue.withCtx(() => _cache[
|
|
511
|
+
default: vue.withCtx(() => _cache[59] || (_cache[59] = [
|
|
425
512
|
vue.createTextVNode("自定义")
|
|
426
513
|
])),
|
|
427
514
|
_: 1
|
|
@@ -434,19 +521,46 @@ const _sfc_main = {
|
|
|
434
521
|
}),
|
|
435
522
|
vue.unref(currentItem).suffixButton == "dialog" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
436
523
|
vue.createElementVNode("div", _hoisted_2, [
|
|
437
|
-
_cache[
|
|
524
|
+
_cache[60] || (_cache[60] = vue.createElementVNode("span", { class: "field-label" }, "按钮名称", -1)),
|
|
438
525
|
vue.createVNode(_component_el_input, {
|
|
439
526
|
modelValue: vue.unref(currentItem).suffixDialogName,
|
|
440
|
-
"onUpdate:modelValue": _cache[
|
|
527
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => vue.unref(currentItem).suffixDialogName = $event)
|
|
441
528
|
}, null, 8, ["modelValue"])
|
|
442
529
|
]),
|
|
443
530
|
vue.createElementVNode("div", _hoisted_3, [
|
|
444
|
-
_cache[
|
|
531
|
+
_cache[63] || (_cache[63] = vue.createElementVNode("span", { class: "field-label" }, "弹层来源", -1)),
|
|
532
|
+
vue.createVNode(_component_el_radio_group, {
|
|
533
|
+
modelValue: vue.unref(currentItem).dialogSource,
|
|
534
|
+
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => vue.unref(currentItem).dialogSource = $event),
|
|
535
|
+
size: "small"
|
|
536
|
+
}, {
|
|
537
|
+
default: vue.withCtx(() => [
|
|
538
|
+
vue.createVNode(_component_el_radio_button, { value: "global" }, {
|
|
539
|
+
default: vue.withCtx(() => _cache[61] || (_cache[61] = [
|
|
540
|
+
vue.createTextVNode("全局")
|
|
541
|
+
])),
|
|
542
|
+
_: 1
|
|
543
|
+
}),
|
|
544
|
+
vue.createVNode(_component_el_radio_button, { value: "custom" }, {
|
|
545
|
+
default: vue.withCtx(() => _cache[62] || (_cache[62] = [
|
|
546
|
+
vue.createTextVNode("自定义")
|
|
547
|
+
])),
|
|
548
|
+
_: 1
|
|
549
|
+
})
|
|
550
|
+
]),
|
|
551
|
+
_: 1
|
|
552
|
+
}, 8, ["modelValue"])
|
|
553
|
+
]),
|
|
554
|
+
vue.createElementVNode("div", _hoisted_4, [
|
|
555
|
+
_cache[64] || (_cache[64] = vue.createElementVNode("span", { class: "field-label" }, "选择弹层", -1)),
|
|
445
556
|
vue.createVNode(_component_el_select, {
|
|
446
557
|
modelValue: vue.unref(currentItem).suffixDialogId,
|
|
447
558
|
"onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => vue.unref(currentItem).suffixDialogId = $event),
|
|
448
559
|
placeholder: "请选择弹层",
|
|
449
560
|
filterable: "",
|
|
561
|
+
loading: vue.unref(dialogLoading),
|
|
562
|
+
clearable: "",
|
|
563
|
+
onChange: handleDialogChange,
|
|
450
564
|
style: { "width": "100%" }
|
|
451
565
|
}, {
|
|
452
566
|
default: vue.withCtx(() => [
|
|
@@ -459,18 +573,85 @@ const _sfc_main = {
|
|
|
459
573
|
}), 128))
|
|
460
574
|
]),
|
|
461
575
|
_: 1
|
|
462
|
-
}, 8, ["modelValue"])
|
|
463
|
-
])
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
576
|
+
}, 8, ["modelValue", "loading"])
|
|
577
|
+
]),
|
|
578
|
+
vue.unref(currentItem).dialogSource == "global" && vue.unref(currentItem).suffixDialogId ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
579
|
+
vue.createElementVNode("div", _hoisted_5, [
|
|
580
|
+
_cache[68] || (_cache[68] = vue.createElementVNode("span", { class: "field-label" }, "选择模式", -1)),
|
|
581
|
+
vue.createVNode(_component_el_radio_group, {
|
|
582
|
+
modelValue: vue.unref(currentItem).selectionMode,
|
|
583
|
+
"onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => vue.unref(currentItem).selectionMode = $event),
|
|
584
|
+
size: "small"
|
|
585
|
+
}, {
|
|
586
|
+
default: vue.withCtx(() => [
|
|
587
|
+
vue.createVNode(_component_el_radio_button, { value: "none" }, {
|
|
588
|
+
default: vue.withCtx(() => _cache[65] || (_cache[65] = [
|
|
589
|
+
vue.createTextVNode("无")
|
|
590
|
+
])),
|
|
591
|
+
_: 1
|
|
592
|
+
}),
|
|
593
|
+
vue.createVNode(_component_el_radio_button, { value: "single" }, {
|
|
594
|
+
default: vue.withCtx(() => _cache[66] || (_cache[66] = [
|
|
595
|
+
vue.createTextVNode("单选")
|
|
596
|
+
])),
|
|
597
|
+
_: 1
|
|
598
|
+
}),
|
|
599
|
+
vue.createVNode(_component_el_radio_button, { value: "multiple" }, {
|
|
600
|
+
default: vue.withCtx(() => _cache[67] || (_cache[67] = [
|
|
601
|
+
vue.createTextVNode("多选")
|
|
602
|
+
])),
|
|
603
|
+
_: 1
|
|
604
|
+
})
|
|
605
|
+
]),
|
|
606
|
+
_: 1
|
|
607
|
+
}, 8, ["modelValue"])
|
|
608
|
+
]),
|
|
609
|
+
vue.unref(currentItem).selectionMode != "none" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
610
|
+
vue.createElementVNode("div", _hoisted_6, [
|
|
611
|
+
_cache[69] || (_cache[69] = vue.createElementVNode("span", { class: "field-label" }, "选取后反显格式", -1)),
|
|
612
|
+
vue.createVNode(vue.unref(FormulaEditorInput.default), {
|
|
613
|
+
title: "反显格式配置",
|
|
614
|
+
formulaConf: vue.unref(currentItem).displayFormat,
|
|
615
|
+
"onUpdate:formulaConf": _cache[21] || (_cache[21] = ($event) => vue.unref(currentItem).displayFormat = $event),
|
|
616
|
+
modelValue: vue.unref(currentItem).displayFormatText,
|
|
617
|
+
"onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => vue.unref(currentItem).displayFormatText = $event),
|
|
618
|
+
fieldList: vue.unref(tableFields)
|
|
619
|
+
}, null, 8, ["formulaConf", "modelValue", "fieldList"])
|
|
620
|
+
]),
|
|
621
|
+
vue.createElementVNode("div", _hoisted_7, [
|
|
622
|
+
_cache[70] || (_cache[70] = vue.createElementVNode("span", {
|
|
623
|
+
class: "field-label",
|
|
624
|
+
style: { "width": "100%", "text-align": "left" }
|
|
625
|
+
}, "选取后表单赋值", -1)),
|
|
626
|
+
vue.createVNode(FieldSetMapping.default, {
|
|
627
|
+
modelValue: vue.unref(currentItem).fieldMapping,
|
|
628
|
+
"onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => vue.unref(currentItem).fieldMapping = $event),
|
|
629
|
+
fieldLabel: "赋值表单字段",
|
|
630
|
+
valueLabel: "列表字段",
|
|
631
|
+
valueOptions: vue.unref(tableFields),
|
|
632
|
+
valueSelectMode: "",
|
|
633
|
+
size: "small"
|
|
634
|
+
}, null, 8, ["modelValue", "valueOptions"])
|
|
635
|
+
])
|
|
636
|
+
], 64)) : vue.createCommentVNode("", true),
|
|
637
|
+
vue.createElementVNode("div", _hoisted_8, [
|
|
638
|
+
_cache[71] || (_cache[71] = vue.createElementVNode("span", { class: "field-label" }, "回调事件配置", -1)),
|
|
639
|
+
vue.createVNode(OnlyFLowConfigButton.default, {
|
|
640
|
+
config: vue.unref(currentItem).callbackEventConfig,
|
|
641
|
+
onConfirm: handleOnlyFlowConfirm
|
|
642
|
+
}, null, 8, ["config"])
|
|
643
|
+
])
|
|
644
|
+
], 64)) : vue.createCommentVNode("", true)
|
|
645
|
+
])) : vue.unref(currentItem).suffixButton == "custom" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9, [
|
|
646
|
+
vue.createElementVNode("div", _hoisted_10, [
|
|
647
|
+
_cache[72] || (_cache[72] = vue.createElementVNode("span", { class: "field-label" }, "按钮名称", -1)),
|
|
467
648
|
vue.createVNode(_component_el_input, {
|
|
468
649
|
modelValue: vue.unref(currentItem).suffixButtonName,
|
|
469
|
-
"onUpdate:modelValue": _cache[
|
|
650
|
+
"onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => vue.unref(currentItem).suffixButtonName = $event)
|
|
470
651
|
}, null, 8, ["modelValue"])
|
|
471
652
|
]),
|
|
472
|
-
vue.createElementVNode("div",
|
|
473
|
-
_cache[
|
|
653
|
+
vue.createElementVNode("div", _hoisted_11, [
|
|
654
|
+
_cache[73] || (_cache[73] = vue.createElementVNode("span", { class: "field-label" }, "按钮事件", -1)),
|
|
474
655
|
vue.createVNode(EventConfigButton.default, {
|
|
475
656
|
config: vue.unref(currentItem).suffixButtonConfig,
|
|
476
657
|
onConfirm: handleSuffixButtonConfirm
|
|
@@ -483,7 +664,7 @@ const _sfc_main = {
|
|
|
483
664
|
default: vue.withCtx(() => [
|
|
484
665
|
vue.createVNode(_component_el_select, {
|
|
485
666
|
modelValue: vue.unref(currentItem).format,
|
|
486
|
-
"onUpdate:modelValue": _cache[
|
|
667
|
+
"onUpdate:modelValue": _cache[25] || (_cache[25] = ($event) => vue.unref(currentItem).format = $event),
|
|
487
668
|
onChange: handleFormatChange
|
|
488
669
|
}, {
|
|
489
670
|
default: vue.withCtx(() => [
|
|
@@ -525,14 +706,14 @@ const _sfc_main = {
|
|
|
525
706
|
default: vue.withCtx(() => [
|
|
526
707
|
vue.createVNode(_component_el_checkbox, {
|
|
527
708
|
modelValue: vue.unref(currentItem).hasDecimalPlaces,
|
|
528
|
-
"onUpdate:modelValue": _cache[
|
|
709
|
+
"onUpdate:modelValue": _cache[26] || (_cache[26] = ($event) => vue.unref(currentItem).hasDecimalPlaces = $event),
|
|
529
710
|
label: "保留小数位数"
|
|
530
711
|
}, null, 8, ["modelValue"]),
|
|
531
712
|
vue.unref(currentItem).hasDecimalPlaces ? (vue.openBlock(), vue.createBlock(_component_el_input_number, {
|
|
532
713
|
key: 0,
|
|
533
714
|
style: { "margin-left": "10px", "width": "80px" },
|
|
534
715
|
modelValue: vue.unref(currentItem).decimalPlaces,
|
|
535
|
-
"onUpdate:modelValue": _cache[
|
|
716
|
+
"onUpdate:modelValue": _cache[27] || (_cache[27] = ($event) => vue.unref(currentItem).decimalPlaces = $event),
|
|
536
717
|
min: 0,
|
|
537
718
|
max: 10,
|
|
538
719
|
"controls-position": "right",
|
|
@@ -546,21 +727,21 @@ const _sfc_main = {
|
|
|
546
727
|
label: "数值范围"
|
|
547
728
|
}, {
|
|
548
729
|
default: vue.withCtx(() => [
|
|
549
|
-
vue.createElementVNode("div",
|
|
730
|
+
vue.createElementVNode("div", _hoisted_12, [
|
|
550
731
|
vue.createVNode(_component_el_input_number, {
|
|
551
732
|
style: { "width": "100%" },
|
|
552
733
|
modelValue: vue.unref(currentItem).minValue,
|
|
553
|
-
"onUpdate:modelValue": _cache[
|
|
734
|
+
"onUpdate:modelValue": _cache[28] || (_cache[28] = ($event) => vue.unref(currentItem).minValue = $event),
|
|
554
735
|
min: 0,
|
|
555
736
|
max: 999999,
|
|
556
737
|
"controls-position": "right",
|
|
557
738
|
placeholder: "最小值"
|
|
558
739
|
}, null, 8, ["modelValue"]),
|
|
559
|
-
_cache[
|
|
740
|
+
_cache[74] || (_cache[74] = vue.createElementVNode("span", { style: { "color": "#909399", "font-size": "14px" } }, "-", -1)),
|
|
560
741
|
vue.createVNode(_component_el_input_number, {
|
|
561
742
|
style: { "width": "100%" },
|
|
562
743
|
modelValue: vue.unref(currentItem).maxValue,
|
|
563
|
-
"onUpdate:modelValue": _cache[
|
|
744
|
+
"onUpdate:modelValue": _cache[29] || (_cache[29] = ($event) => vue.unref(currentItem).maxValue = $event),
|
|
564
745
|
min: 0,
|
|
565
746
|
max: 999999,
|
|
566
747
|
"controls-position": "right",
|
|
@@ -576,7 +757,7 @@ const _sfc_main = {
|
|
|
576
757
|
default: vue.withCtx(() => [
|
|
577
758
|
vue.createVNode(_component_el_input, {
|
|
578
759
|
modelValue: vue.unref(currentItem).prefix,
|
|
579
|
-
"onUpdate:modelValue": _cache[
|
|
760
|
+
"onUpdate:modelValue": _cache[30] || (_cache[30] = ($event) => vue.unref(currentItem).prefix = $event)
|
|
580
761
|
}, null, 8, ["modelValue"])
|
|
581
762
|
]),
|
|
582
763
|
_: 1
|
|
@@ -585,7 +766,7 @@ const _sfc_main = {
|
|
|
585
766
|
default: vue.withCtx(() => [
|
|
586
767
|
vue.createVNode(_component_el_input, {
|
|
587
768
|
modelValue: vue.unref(currentItem).suffix,
|
|
588
|
-
"onUpdate:modelValue": _cache[
|
|
769
|
+
"onUpdate:modelValue": _cache[31] || (_cache[31] = ($event) => vue.unref(currentItem).suffix = $event)
|
|
589
770
|
}, null, 8, ["modelValue"])
|
|
590
771
|
]),
|
|
591
772
|
_: 1
|
|
@@ -594,48 +775,48 @@ const _sfc_main = {
|
|
|
594
775
|
vue.unref(currentItem).fieldType === "select" || vue.unref(currentItem).fieldType === "multipleSelection" || vue.unref(currentItem).fieldType === "radio" || vue.unref(currentItem).fieldType === "checkbox" ? (vue.openBlock(), vue.createBlock(OptionConfig.default, {
|
|
595
776
|
key: 6,
|
|
596
777
|
modelValue: vue.unref(currentItem).optionConfig,
|
|
597
|
-
"onUpdate:modelValue": _cache[
|
|
778
|
+
"onUpdate:modelValue": _cache[32] || (_cache[32] = ($event) => vue.unref(currentItem).optionConfig = $event)
|
|
598
779
|
}, null, 8, ["modelValue"])) : vue.createCommentVNode("", true),
|
|
599
780
|
vue.unref(currentItem).fieldType === "cascader" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 7 }, [
|
|
600
781
|
vue.createVNode(_component_el_form_item, { label: "数据源" }, {
|
|
601
782
|
default: vue.withCtx(() => [
|
|
602
783
|
vue.createVNode(DataSourceSelect.default, {
|
|
603
784
|
modelValue: vue.unref(currentItem).optionConfig.dataSourceValue,
|
|
604
|
-
"onUpdate:modelValue": _cache[
|
|
785
|
+
"onUpdate:modelValue": _cache[33] || (_cache[33] = ($event) => vue.unref(currentItem).optionConfig.dataSourceValue = $event)
|
|
605
786
|
}, null, 8, ["modelValue"])
|
|
606
787
|
]),
|
|
607
788
|
_: 1
|
|
608
789
|
}),
|
|
609
|
-
vue.createElementVNode("div",
|
|
610
|
-
vue.createElementVNode("div",
|
|
611
|
-
_cache[
|
|
790
|
+
vue.createElementVNode("div", _hoisted_13, [
|
|
791
|
+
vue.createElementVNode("div", _hoisted_14, [
|
|
792
|
+
_cache[75] || (_cache[75] = vue.createElementVNode("span", { class: "field-label" }, "显示字段", -1)),
|
|
612
793
|
vue.createVNode(_component_el_input, {
|
|
613
794
|
modelValue: vue.unref(currentItem).optionConfig.displayField,
|
|
614
|
-
"onUpdate:modelValue": _cache[
|
|
795
|
+
"onUpdate:modelValue": _cache[34] || (_cache[34] = ($event) => vue.unref(currentItem).optionConfig.displayField = $event),
|
|
615
796
|
placeholder: "如:optName"
|
|
616
797
|
}, null, 8, ["modelValue"])
|
|
617
798
|
]),
|
|
618
|
-
vue.createElementVNode("div",
|
|
619
|
-
_cache[
|
|
799
|
+
vue.createElementVNode("div", _hoisted_15, [
|
|
800
|
+
_cache[76] || (_cache[76] = vue.createElementVNode("span", { class: "field-label" }, "值字段", -1)),
|
|
620
801
|
vue.createVNode(_component_el_input, {
|
|
621
802
|
modelValue: vue.unref(currentItem).optionConfig.valueField,
|
|
622
|
-
"onUpdate:modelValue": _cache[
|
|
803
|
+
"onUpdate:modelValue": _cache[35] || (_cache[35] = ($event) => vue.unref(currentItem).optionConfig.valueField = $event),
|
|
623
804
|
placeholder: "如:optCode"
|
|
624
805
|
}, null, 8, ["modelValue"])
|
|
625
806
|
]),
|
|
626
|
-
vue.createElementVNode("div",
|
|
627
|
-
_cache[
|
|
807
|
+
vue.createElementVNode("div", _hoisted_16, [
|
|
808
|
+
_cache[77] || (_cache[77] = vue.createElementVNode("span", { class: "field-label" }, "主键字段", -1)),
|
|
628
809
|
vue.createVNode(_component_el_input, {
|
|
629
810
|
modelValue: vue.unref(currentItem).optionConfig.idField,
|
|
630
|
-
"onUpdate:modelValue": _cache[
|
|
811
|
+
"onUpdate:modelValue": _cache[36] || (_cache[36] = ($event) => vue.unref(currentItem).optionConfig.idField = $event),
|
|
631
812
|
placeholder: "如:id"
|
|
632
813
|
}, null, 8, ["modelValue"])
|
|
633
814
|
]),
|
|
634
|
-
vue.createElementVNode("div",
|
|
635
|
-
_cache[
|
|
815
|
+
vue.createElementVNode("div", _hoisted_17, [
|
|
816
|
+
_cache[78] || (_cache[78] = vue.createElementVNode("span", { class: "field-label" }, "父主键字段", -1)),
|
|
636
817
|
vue.createVNode(_component_el_input, {
|
|
637
818
|
modelValue: vue.unref(currentItem).optionConfig.pidField,
|
|
638
|
-
"onUpdate:modelValue": _cache[
|
|
819
|
+
"onUpdate:modelValue": _cache[37] || (_cache[37] = ($event) => vue.unref(currentItem).optionConfig.pidField = $event),
|
|
639
820
|
placeholder: "如:pid"
|
|
640
821
|
}, null, 8, ["modelValue"])
|
|
641
822
|
])
|
|
@@ -646,7 +827,7 @@ const _sfc_main = {
|
|
|
646
827
|
default: vue.withCtx(() => [
|
|
647
828
|
vue.createVNode(_component_el_switch, {
|
|
648
829
|
modelValue: vue.unref(currentItem).multiple,
|
|
649
|
-
"onUpdate:modelValue": _cache[
|
|
830
|
+
"onUpdate:modelValue": _cache[38] || (_cache[38] = ($event) => vue.unref(currentItem).multiple = $event)
|
|
650
831
|
}, null, 8, ["modelValue"])
|
|
651
832
|
]),
|
|
652
833
|
_: 1
|
|
@@ -655,7 +836,7 @@ const _sfc_main = {
|
|
|
655
836
|
default: vue.withCtx(() => [
|
|
656
837
|
vue.createVNode(_component_el_switch, {
|
|
657
838
|
modelValue: vue.unref(currentItem).showFullPath,
|
|
658
|
-
"onUpdate:modelValue": _cache[
|
|
839
|
+
"onUpdate:modelValue": _cache[39] || (_cache[39] = ($event) => vue.unref(currentItem).showFullPath = $event)
|
|
659
840
|
}, null, 8, ["modelValue"])
|
|
660
841
|
]),
|
|
661
842
|
_: 1
|
|
@@ -664,7 +845,7 @@ const _sfc_main = {
|
|
|
664
845
|
default: vue.withCtx(() => [
|
|
665
846
|
vue.createVNode(_component_el_switch, {
|
|
666
847
|
modelValue: vue.unref(currentItem).checkStrictly,
|
|
667
|
-
"onUpdate:modelValue": _cache[
|
|
848
|
+
"onUpdate:modelValue": _cache[40] || (_cache[40] = ($event) => vue.unref(currentItem).checkStrictly = $event)
|
|
668
849
|
}, null, 8, ["modelValue"])
|
|
669
850
|
]),
|
|
670
851
|
_: 1
|
|
@@ -673,7 +854,7 @@ const _sfc_main = {
|
|
|
673
854
|
default: vue.withCtx(() => [
|
|
674
855
|
vue.createVNode(_component_el_input_number, {
|
|
675
856
|
modelValue: vue.unref(currentItem).maxLevel,
|
|
676
|
-
"onUpdate:modelValue": _cache[
|
|
857
|
+
"onUpdate:modelValue": _cache[41] || (_cache[41] = ($event) => vue.unref(currentItem).maxLevel = $event),
|
|
677
858
|
min: 1,
|
|
678
859
|
style: { "width": "100%" }
|
|
679
860
|
}, null, 8, ["modelValue"])
|
|
@@ -688,7 +869,7 @@ const _sfc_main = {
|
|
|
688
869
|
default: vue.withCtx(() => [
|
|
689
870
|
vue.createVNode(_component_el_select, {
|
|
690
871
|
modelValue: vue.unref(currentItem).optionStyle,
|
|
691
|
-
"onUpdate:modelValue": _cache[
|
|
872
|
+
"onUpdate:modelValue": _cache[42] || (_cache[42] = ($event) => vue.unref(currentItem).optionStyle = $event)
|
|
692
873
|
}, {
|
|
693
874
|
default: vue.withCtx(() => [
|
|
694
875
|
vue.createVNode(_component_el_option, {
|
|
@@ -708,7 +889,7 @@ const _sfc_main = {
|
|
|
708
889
|
default: vue.withCtx(() => [
|
|
709
890
|
vue.createVNode(_component_el_select, {
|
|
710
891
|
modelValue: vue.unref(currentItem).dateType,
|
|
711
|
-
"onUpdate:modelValue": _cache[
|
|
892
|
+
"onUpdate:modelValue": _cache[43] || (_cache[43] = ($event) => vue.unref(currentItem).dateType = $event)
|
|
712
893
|
}, {
|
|
713
894
|
default: vue.withCtx(() => [
|
|
714
895
|
vue.createVNode(_component_el_option, {
|
|
@@ -742,7 +923,7 @@ const _sfc_main = {
|
|
|
742
923
|
default: vue.withCtx(() => [
|
|
743
924
|
vue.createVNode(_component_el_input, {
|
|
744
925
|
modelValue: vue.unref(currentItem).dialogConfig.dialogTitle,
|
|
745
|
-
"onUpdate:modelValue": _cache[
|
|
926
|
+
"onUpdate:modelValue": _cache[44] || (_cache[44] = ($event) => vue.unref(currentItem).dialogConfig.dialogTitle = $event)
|
|
746
927
|
}, null, 8, ["modelValue"])
|
|
747
928
|
]),
|
|
748
929
|
_: 1
|
|
@@ -751,7 +932,7 @@ const _sfc_main = {
|
|
|
751
932
|
default: vue.withCtx(() => [
|
|
752
933
|
vue.createVNode(_component_ParamsConfig, {
|
|
753
934
|
modelValue: vue.unref(currentItem).dialogConfig.dialogParams,
|
|
754
|
-
"onUpdate:modelValue": _cache[
|
|
935
|
+
"onUpdate:modelValue": _cache[45] || (_cache[45] = ($event) => vue.unref(currentItem).dialogConfig.dialogParams = $event)
|
|
755
936
|
}, null, 8, ["modelValue"])
|
|
756
937
|
]),
|
|
757
938
|
_: 1
|
|
@@ -763,17 +944,17 @@ const _sfc_main = {
|
|
|
763
944
|
default: vue.withCtx(() => [
|
|
764
945
|
vue.createVNode(_component_el_radio_group, {
|
|
765
946
|
modelValue: vue.unref(currentItem).dialogConfig.selectionMode,
|
|
766
|
-
"onUpdate:modelValue": _cache[
|
|
947
|
+
"onUpdate:modelValue": _cache[46] || (_cache[46] = ($event) => vue.unref(currentItem).dialogConfig.selectionMode = $event)
|
|
767
948
|
}, {
|
|
768
949
|
default: vue.withCtx(() => [
|
|
769
950
|
vue.createVNode(_component_el_radio_button, { value: "single" }, {
|
|
770
|
-
default: vue.withCtx(() => _cache[
|
|
951
|
+
default: vue.withCtx(() => _cache[79] || (_cache[79] = [
|
|
771
952
|
vue.createTextVNode("单选")
|
|
772
953
|
])),
|
|
773
954
|
_: 1
|
|
774
955
|
}),
|
|
775
956
|
vue.createVNode(_component_el_radio_button, { value: "multiple" }, {
|
|
776
|
-
default: vue.withCtx(() => _cache[
|
|
957
|
+
default: vue.withCtx(() => _cache[80] || (_cache[80] = [
|
|
777
958
|
vue.createTextVNode("多选")
|
|
778
959
|
])),
|
|
779
960
|
_: 1
|
|
@@ -799,15 +980,15 @@ const _sfc_main = {
|
|
|
799
980
|
})) : vue.createCommentVNode("", true),
|
|
800
981
|
vue.createVNode(_component_el_form_item, { label: "是否必填" }, {
|
|
801
982
|
default: vue.withCtx(() => [
|
|
802
|
-
vue.createElementVNode("div",
|
|
983
|
+
vue.createElementVNode("div", _hoisted_18, [
|
|
803
984
|
vue.createVNode(_component_el_switch, {
|
|
804
985
|
modelValue: vue.unref(currentItem).required,
|
|
805
|
-
"onUpdate:modelValue": _cache[
|
|
986
|
+
"onUpdate:modelValue": _cache[47] || (_cache[47] = ($event) => vue.unref(currentItem).required = $event)
|
|
806
987
|
}, null, 8, ["modelValue"]),
|
|
807
988
|
vue.unref(currentItem).required ? (vue.openBlock(), vue.createBlock(_component_el_input, {
|
|
808
989
|
key: 0,
|
|
809
990
|
modelValue: vue.unref(currentItem).requiredMessage,
|
|
810
|
-
"onUpdate:modelValue": _cache[
|
|
991
|
+
"onUpdate:modelValue": _cache[48] || (_cache[48] = ($event) => vue.unref(currentItem).requiredMessage = $event),
|
|
811
992
|
placeholder: "请输入提示信息",
|
|
812
993
|
style: { "flex": "1" }
|
|
813
994
|
}, null, 8, ["modelValue"])) : vue.createCommentVNode("", true)
|
|
@@ -822,7 +1003,7 @@ const _sfc_main = {
|
|
|
822
1003
|
default: vue.withCtx(() => [
|
|
823
1004
|
vue.createVNode(_component_el_select, {
|
|
824
1005
|
modelValue: vue.unref(currentItem).validationType,
|
|
825
|
-
"onUpdate:modelValue": _cache[
|
|
1006
|
+
"onUpdate:modelValue": _cache[49] || (_cache[49] = ($event) => vue.unref(currentItem).validationType = $event),
|
|
826
1007
|
placeholder: "选择校验规则",
|
|
827
1008
|
onChange: handleValidationChange,
|
|
828
1009
|
style: { "margin-bottom": "12px" }
|
|
@@ -879,22 +1060,22 @@ const _sfc_main = {
|
|
|
879
1060
|
]),
|
|
880
1061
|
_: 1
|
|
881
1062
|
}, 8, ["modelValue"]),
|
|
882
|
-
vue.unref(currentItem).validationType === "regex" ? (vue.openBlock(), vue.createElementBlock("div",
|
|
1063
|
+
vue.unref(currentItem).validationType === "regex" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_19, [
|
|
883
1064
|
vue.createVNode(ConditionConfigButton.default, {
|
|
884
1065
|
condition: vue.unref(currentItem).validationPattern,
|
|
885
1066
|
onConfirm: (data) => vue.unref(currentItem).validationPattern = data
|
|
886
1067
|
}, null, 8, ["condition", "onConfirm"])
|
|
887
1068
|
])) : vue.createCommentVNode("", true),
|
|
888
|
-
vue.unref(currentItem).validationType === "custom" ? (vue.openBlock(), vue.createElementBlock("div",
|
|
1069
|
+
vue.unref(currentItem).validationType === "custom" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_20, [
|
|
889
1070
|
vue.createVNode(DataSourceSelect.default, {
|
|
890
1071
|
modelValue: vue.unref(currentItem).validationDataSource,
|
|
891
|
-
"onUpdate:modelValue": _cache[
|
|
1072
|
+
"onUpdate:modelValue": _cache[50] || (_cache[50] = ($event) => vue.unref(currentItem).validationDataSource = $event)
|
|
892
1073
|
}, null, 8, ["modelValue"])
|
|
893
1074
|
])) : vue.createCommentVNode("", true),
|
|
894
1075
|
vue.unref(currentItem).validationType !== "none" ? (vue.openBlock(), vue.createBlock(_component_el_input, {
|
|
895
1076
|
key: 2,
|
|
896
1077
|
modelValue: vue.unref(currentItem).validationMessage,
|
|
897
|
-
"onUpdate:modelValue": _cache[
|
|
1078
|
+
"onUpdate:modelValue": _cache[51] || (_cache[51] = ($event) => vue.unref(currentItem).validationMessage = $event),
|
|
898
1079
|
placeholder: getValidationPlaceholder(),
|
|
899
1080
|
style: { "margin-bottom": "12px" }
|
|
900
1081
|
}, null, 8, ["modelValue", "placeholder"])) : vue.createCommentVNode("", true)
|
|
@@ -913,5 +1094,5 @@ const _sfc_main = {
|
|
|
913
1094
|
};
|
|
914
1095
|
}
|
|
915
1096
|
};
|
|
916
|
-
const widgets = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
1097
|
+
const widgets = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-3318d394"]]);
|
|
917
1098
|
exports.default = widgets;
|