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