fec-dev-designer 1.1.2 → 5.1.2
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/package.json.js +66 -0
- package/es/src/assets/approvalHistory.png.js +4 -0
- package/es/src/assets/logo.png.js +4 -0
- package/es/src/components/DataSourceSelect.vue.js +2 -1
- package/es/src/components/OptionConfig.vue.js +3 -2
- package/es/src/components/OptionConfig.vue2.js +2 -2
- package/es/src/components/ParamsConfig.vue.js +2 -2
- package/es/src/components/ParamsConfig.vue2.js +31 -32
- package/es/src/components/ValueSelector.vue2.js +49 -39
- package/es/src/layout/header/index.vue.js +95 -84
- package/es/src/packages/advancedFilter/ValueInput.vue2.js +57 -60
- package/es/src/packages/dataSource/dataSource.vue.js +98 -105
- package/es/src/packages/dialog/index.vue.js +443 -322
- package/es/src/packages/event/index.vue2.js +44 -44
- package/es/src/packages/event/useEventDialog.js +2 -2
- package/es/src/packages/eventFlow/dialog/action/FormSubmit.vue2.js +47 -54
- package/es/src/packages/eventFlow/dialog/action/Page.vue.js +42 -49
- package/es/src/packages/form/aside/index.js +27 -2
- package/es/src/packages/form/aside/roleSelect.js +156 -0
- package/es/src/packages/form/aside/userSelect.js +206 -0
- package/es/src/packages/form/components/ApprovalHistory.vue.js +73 -0
- package/es/src/packages/form/components/ApprovalHistory.vue2.js +4 -0
- package/es/src/packages/form/components/ComponentPreviewWrapper.vue.js +51 -41
- package/es/src/packages/form/components/H2Wrapper.vue.js +13 -10
- package/es/src/packages/form/index.vue.js +140 -130
- package/es/src/packages/form/property/approvalHistory.vue.js +178 -0
- package/es/src/packages/form/property/index.vue.js +23 -22
- package/es/src/packages/form/property/subTable.vue.js +37 -43
- package/es/src/packages/form/property/widgets.vue.js +258 -202
- package/es/src/packages/table/aside/index.js +2 -1
- package/es/src/packages/table/default.js +24 -21
- package/es/src/packages/table/property/widgets.vue.js +63 -47
- package/es/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import "../../../node_modules/element-plus/theme-chalk/base.css.js";
|
|
2
2
|
import "../../../node_modules/element-plus/theme-chalk/el-dialog.css.js";
|
|
3
3
|
import "../../../node_modules/element-plus/theme-chalk/el-overlay.css.js";
|
|
4
|
-
import "../../../node_modules/element-plus/theme-chalk/el-scrollbar.css.js";
|
|
5
4
|
import "../../../node_modules/element-plus/theme-chalk/el-form.css.js";
|
|
6
5
|
import "../../../node_modules/element-plus/theme-chalk/el-checkbox.css.js";
|
|
7
6
|
import "../../../node_modules/element-plus/theme-chalk/el-switch.css.js";
|
|
7
|
+
import "../../../node_modules/element-plus/theme-chalk/el-popper.css.js";
|
|
8
|
+
import "../../../node_modules/element-plus/theme-chalk/el-popover.css.js";
|
|
9
|
+
import "../../../node_modules/element-plus/theme-chalk/el-scrollbar.css.js";
|
|
8
10
|
import "../../../node_modules/element-plus/theme-chalk/el-tag.css.js";
|
|
9
11
|
import "../../../node_modules/element-plus/theme-chalk/el-option.css.js";
|
|
10
12
|
import "../../../node_modules/element-plus/theme-chalk/el-option-group.css.js";
|
|
11
|
-
import "../../../node_modules/element-plus/theme-chalk/el-popper.css.js";
|
|
12
13
|
import "../../../node_modules/element-plus/theme-chalk/el-select.css.js";
|
|
13
14
|
import "../../../node_modules/element-plus/theme-chalk/el-radio.css.js";
|
|
14
15
|
import "../../../node_modules/element-plus/theme-chalk/el-radio-group.css.js";
|
|
@@ -22,69 +23,69 @@ import "../../../node_modules/element-plus/theme-chalk/el-main.css.js";
|
|
|
22
23
|
import "../../../node_modules/element-plus/theme-chalk/el-link.css.js";
|
|
23
24
|
import "../../../node_modules/element-plus/theme-chalk/el-input.css.js";
|
|
24
25
|
import "../../../node_modules/element-plus/theme-chalk/el-button.css.js";
|
|
25
|
-
import { computed as w, useModel as
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
26
|
+
import { computed as w, useModel as ke, ref as k, watch as Te, openBlock as d, createBlock as S, withCtx as n, createElementVNode as f, createVNode as l, createTextVNode as i, unref as o, createElementBlock as r, isRef as q, withKeys as Fe, createCommentVNode as y, Fragment as V, renderList as I, normalizeClass as Se, withDirectives as W, vShow as J, withModifiers as G, toDisplayString as P } from "vue";
|
|
27
|
+
import { VueDraggable as De } from "../../../node_modules/vue-draggable-plus/dist/vue-draggable-plus.js";
|
|
28
|
+
import { Plus as Ee, Close as Ue, Check as xe, Delete as j, Rank as we, Edit as Me } from "../../../node_modules/@element-plus/icons-vue/dist/index.js";
|
|
29
|
+
import { getEditConfigData as Ie, cloneDeep as Q, getEditConfigDialogs as Be, setEditConfigDialogs as Ne } from "../utils/common.js";
|
|
30
|
+
import X from "../../components/TemplateSelector.vue.js";
|
|
31
|
+
import Y from "../../api/index.js";
|
|
32
|
+
import Oe from "../../components/ParamsConfig.vue2.js";
|
|
33
|
+
import Pe from "../../components/DataSourceSelect.vue.js";
|
|
34
|
+
import ze from "../../components/FieldSetMapping.vue.js";
|
|
35
|
+
import Ke from "../../components/OnlyFLowConfigButton.vue.js";
|
|
36
|
+
import Re from "../../components/FormulaEditorInput.vue.js";
|
|
37
|
+
import { defaultProperty as $e } from "../table/aside/index.js";
|
|
38
|
+
import { defaultTableConfig as Le } from "../table/default.js";
|
|
39
|
+
import Ae from "../table/property/widgets.vue.js";
|
|
35
40
|
import "../../../node_modules/element-plus/theme-chalk/el-badge.css.js";
|
|
36
41
|
import "../../../node_modules/element-plus/theme-chalk/el-message.css.js";
|
|
37
42
|
import "./index.vue2.js";
|
|
38
|
-
import
|
|
39
|
-
import { ElMessage as
|
|
40
|
-
import { ElButton as
|
|
41
|
-
import { ElHeader as
|
|
42
|
-
import { ElInput as
|
|
43
|
-
import { ElLink as
|
|
44
|
-
import { ElIcon as
|
|
45
|
-
import { ElFormItem as
|
|
46
|
-
import { ElRadioButton as
|
|
47
|
-
import { ElOption as
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
|
|
43
|
+
import He from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
44
|
+
import { ElMessage as Z } from "../../../node_modules/element-plus/es/components/message/index.js";
|
|
45
|
+
import { ElButton as qe } from "../../../node_modules/element-plus/es/components/button/index.js";
|
|
46
|
+
import { ElHeader as We, ElMain as Je, ElContainer as Ge, ElAside as je } from "../../../node_modules/element-plus/es/components/container/index.js";
|
|
47
|
+
import { ElInput as Qe } from "../../../node_modules/element-plus/es/components/input/index.js";
|
|
48
|
+
import { ElLink as Xe } from "../../../node_modules/element-plus/es/components/link/index.js";
|
|
49
|
+
import { ElIcon as Ye } from "../../../node_modules/element-plus/es/components/icon/index.js";
|
|
50
|
+
import { ElFormItem as Ze, ElForm as he } from "../../../node_modules/element-plus/es/components/form/index.js";
|
|
51
|
+
import { ElRadioButton as el, ElRadioGroup as ll } from "../../../node_modules/element-plus/es/components/radio/index.js";
|
|
52
|
+
import { ElOption as ol, ElSelect as tl } from "../../../node_modules/element-plus/es/components/select/index.js";
|
|
53
|
+
import { ElScrollbar as al } from "../../../node_modules/element-plus/es/components/scrollbar/index.js";
|
|
54
|
+
import { ElPopover as nl } from "../../../node_modules/element-plus/es/components/popover/index.js";
|
|
55
|
+
import { ElSwitch as ul } from "../../../node_modules/element-plus/es/components/switch/index.js";
|
|
56
|
+
import { ElCheckbox as il } from "../../../node_modules/element-plus/es/components/checkbox/index.js";
|
|
57
|
+
import { ElDialog as dl } from "../../../node_modules/element-plus/es/components/dialog/index.js";
|
|
58
|
+
const sl = { key: 0 }, ml = { class: "dialog-menu-item is-editing" }, rl = { class: "new-item-content" }, pl = { class: "edit-actions" }, fl = ["onClick"], bl = { class: "dialog-content" }, vl = { class: "dialog-name-wrapper" }, gl = { style: { display: "flex", gap: "16px", width: "100%" } }, cl = { class: "col-panel" }, Vl = { class: "col-header" }, _l = { class: "col-rules-list" }, yl = { class: "drag-handle" }, Cl = { class: "custom-col-btns" }, kl = { class: "col-property" }, Tl = { class: "footer-buttons-container" }, Fl = {
|
|
53
59
|
key: 0,
|
|
54
60
|
class: "empty-tip"
|
|
55
|
-
},
|
|
61
|
+
}, Sl = {
|
|
56
62
|
key: 1,
|
|
57
63
|
class: "footer-buttons"
|
|
58
|
-
},
|
|
64
|
+
}, Dl = {
|
|
59
65
|
key: 1,
|
|
60
66
|
class: "empty-selection"
|
|
61
|
-
},
|
|
67
|
+
}, El = { class: "dialog-footer" }, Ul = {
|
|
62
68
|
__name: "index",
|
|
63
69
|
props: {
|
|
64
70
|
modelValue: { required: !0 },
|
|
65
71
|
modelModifiers: {}
|
|
66
72
|
},
|
|
67
73
|
emits: ["update:modelValue"],
|
|
68
|
-
setup(
|
|
69
|
-
const
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
fieldName: e.fieldName,
|
|
73
|
-
fieldType: e.fieldType
|
|
74
|
-
}))), x = Ve(j, "modelValue"), b = _([]), f = _(-1);
|
|
75
|
-
ye(x, (u) => {
|
|
76
|
-
u && (E.value = !1, C.value = -1, b.value = Ee(Te()), b.value.length > 0 && f.value === -1 && (f.value = 0));
|
|
74
|
+
setup(h) {
|
|
75
|
+
const z = w(() => Ie()), D = ke(h, "modelValue"), g = k([]), b = k(-1);
|
|
76
|
+
Te(D, (u) => {
|
|
77
|
+
u && (E.value = !1, T.value = -1, g.value = Q(Be()), g.value.length > 0 && b.value === -1 && (b.value = 0));
|
|
77
78
|
});
|
|
78
|
-
const E =
|
|
79
|
-
E.value = !0,
|
|
80
|
-
},
|
|
81
|
-
if (!
|
|
82
|
-
|
|
79
|
+
const E = k(!1), C = k(""), T = k(-1), F = k(""), ee = () => {
|
|
80
|
+
E.value = !0, C.value = "";
|
|
81
|
+
}, K = () => {
|
|
82
|
+
if (!C.value.trim()) {
|
|
83
|
+
Z.warning("请输入弹层名称");
|
|
83
84
|
return;
|
|
84
85
|
}
|
|
85
|
-
|
|
86
|
+
g.value.push({
|
|
86
87
|
id: "dialog_" + Date.now(),
|
|
87
|
-
name:
|
|
88
|
+
name: C.value,
|
|
88
89
|
dialogSize: "standard",
|
|
89
90
|
dialogParams: [],
|
|
90
91
|
customWidth: "",
|
|
@@ -102,70 +103,83 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
102
103
|
subFormFooterButtons: []
|
|
103
104
|
// 表单底部按钮
|
|
104
105
|
// callbackEventConfig: {},
|
|
105
|
-
}), E.value = !1,
|
|
106
|
-
},
|
|
107
|
-
E.value = !1,
|
|
108
|
-
},
|
|
109
|
-
|
|
110
|
-
},
|
|
111
|
-
|
|
112
|
-
},
|
|
113
|
-
if (
|
|
106
|
+
}), E.value = !1, C.value = "", b.value = g.value.length - 1;
|
|
107
|
+
}, le = () => {
|
|
108
|
+
E.value = !1, C.value = "";
|
|
109
|
+
}, oe = (u) => {
|
|
110
|
+
g.value.splice(u, 1), b.value === u ? b.value = -1 : b.value > u && b.value--;
|
|
111
|
+
}, te = (u) => {
|
|
112
|
+
T.value = u, F.value = g.value[u].name;
|
|
113
|
+
}, ae = () => {
|
|
114
|
+
if (T.value !== -1) {
|
|
114
115
|
if (!F.value.trim()) {
|
|
115
|
-
|
|
116
|
+
Z.warning("请输入弹层名称");
|
|
116
117
|
return;
|
|
117
118
|
}
|
|
118
|
-
|
|
119
|
+
g.value[T.value].name = F.value, T.value = -1, F.value = "";
|
|
119
120
|
}
|
|
120
|
-
},
|
|
121
|
-
|
|
122
|
-
},
|
|
123
|
-
const u =
|
|
124
|
-
if (u.fieldMapping || (u.fieldMapping = []), (u == null ? void 0 : u.contentSource) == "table" && !
|
|
121
|
+
}, ne = () => {
|
|
122
|
+
Ne(g.value), D.value = !1;
|
|
123
|
+
}, U = k(null), M = k(null), t = w(() => {
|
|
124
|
+
const u = g.value[b.value];
|
|
125
|
+
if (u.fieldMapping || (u.fieldMapping = []), u.customTableConfig ? (u.customTableConfig.dataSources = z.value.dataSources, u.customTableConfig.queryConfig.enabled = !1) : (u.customTableConfig = Q(Le), u.customTableConfig.fieldsData = [], u.customTableConfig.dataSources = z.value.dataSources), (u == null ? void 0 : u.contentSource) == "table" && !U.value) {
|
|
125
126
|
const e = u == null ? void 0 : u.subTableId;
|
|
126
|
-
e &&
|
|
127
|
-
|
|
127
|
+
e && Y.getById(e, !1).then((m) => {
|
|
128
|
+
U.value = JSON.parse(m.context);
|
|
128
129
|
});
|
|
129
|
-
} else if ((u == null ? void 0 : u.contentSource) == "form" && !
|
|
130
|
+
} else if ((u == null ? void 0 : u.contentSource) == "form" && !M.value) {
|
|
130
131
|
const e = u == null ? void 0 : u.subFormId;
|
|
131
|
-
e &&
|
|
132
|
-
|
|
132
|
+
e && Y.getById(e, !1).then((m) => {
|
|
133
|
+
M.value = JSON.parse(m.context);
|
|
133
134
|
});
|
|
134
135
|
}
|
|
135
136
|
return u;
|
|
136
137
|
});
|
|
137
|
-
function
|
|
138
|
-
|
|
138
|
+
function ue(u) {
|
|
139
|
+
U.value = u, t.value.subTableMode = null;
|
|
139
140
|
}
|
|
140
|
-
function
|
|
141
|
-
|
|
141
|
+
function ie(u) {
|
|
142
|
+
M.value = u;
|
|
142
143
|
}
|
|
143
|
-
const
|
|
144
|
-
var u;
|
|
145
|
-
return (u = T.value) == null ? void 0 : u.mode;
|
|
146
|
-
}), z = w(() => {
|
|
144
|
+
const de = w(() => {
|
|
147
145
|
var u;
|
|
148
|
-
return (u =
|
|
149
|
-
}),
|
|
146
|
+
return (u = U.value) == null ? void 0 : u.mode;
|
|
147
|
+
}), R = w(() => {
|
|
148
|
+
var u, e, m;
|
|
149
|
+
if (t.value.tableContent === "custom")
|
|
150
|
+
return ((e = (u = t.value) == null ? void 0 : u.customTableConfig) == null ? void 0 : e.fieldsData) || [];
|
|
151
|
+
if (t.value.tableContent === "select")
|
|
152
|
+
return (m = U.value) == null ? void 0 : m.fieldsData;
|
|
153
|
+
}), B = w(() => {
|
|
150
154
|
var e;
|
|
151
|
-
const u = (e =
|
|
152
|
-
return u ? u.filter((
|
|
153
|
-
}),
|
|
154
|
-
var e,
|
|
155
|
-
return (
|
|
156
|
-
},
|
|
155
|
+
const u = (e = M.value) == null ? void 0 : e.pageFooterConfig.actions;
|
|
156
|
+
return u ? u.filter((m) => m.btnType == "primary") : [];
|
|
157
|
+
}), se = (u) => {
|
|
158
|
+
var e, m;
|
|
159
|
+
return (m = (e = t.value) == null ? void 0 : e.subFormFooterButtons) == null ? void 0 : m.includes(u);
|
|
160
|
+
}, me = (u) => {
|
|
157
161
|
t.value.subFormFooterButtons || (t.value.subFormFooterButtons = []);
|
|
158
162
|
const e = t.value.subFormFooterButtons.indexOf(u.id);
|
|
159
163
|
e > -1 ? t.value.subFormFooterButtons.splice(e, 1) : t.value.subFormFooterButtons.push(u.id);
|
|
160
164
|
};
|
|
161
|
-
function
|
|
165
|
+
function re(u) {
|
|
162
166
|
t.value.callbackEventConfig = u;
|
|
163
167
|
}
|
|
168
|
+
const pe = () => {
|
|
169
|
+
t.value.customTableConfig.fieldsData.push({
|
|
170
|
+
fieldType: "text",
|
|
171
|
+
label: "",
|
|
172
|
+
...$e,
|
|
173
|
+
fieldName: ""
|
|
174
|
+
});
|
|
175
|
+
}, fe = (u) => {
|
|
176
|
+
t.value.customTableConfig.fieldsData.splice(u, 1);
|
|
177
|
+
};
|
|
164
178
|
return (u, e) => {
|
|
165
|
-
const
|
|
166
|
-
return
|
|
167
|
-
modelValue:
|
|
168
|
-
"onUpdate:modelValue": e[
|
|
179
|
+
const m = qe, $ = We, _ = Qe, be = Xe, L = Ye, N = Je, O = Ge, ve = je, s = Ze, p = el, x = ll, ge = ol, ce = tl, A = al, Ve = nl, H = ul, _e = il, ye = he, Ce = dl;
|
|
180
|
+
return d(), S(Ce, {
|
|
181
|
+
modelValue: D.value,
|
|
182
|
+
"onUpdate:modelValue": e[28] || (e[28] = (a) => D.value = a),
|
|
169
183
|
width: "50%",
|
|
170
184
|
title: "弹层配置",
|
|
171
185
|
draggable: "",
|
|
@@ -174,133 +188,133 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
174
188
|
class: "fec-dev-designer-dialog"
|
|
175
189
|
}, {
|
|
176
190
|
footer: n(() => [
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
onClick: e[
|
|
191
|
+
f("div", El, [
|
|
192
|
+
l(m, {
|
|
193
|
+
onClick: e[27] || (e[27] = (a) => D.value = !1)
|
|
180
194
|
}, {
|
|
181
|
-
default: n(() => [...e[
|
|
182
|
-
|
|
195
|
+
default: n(() => [...e[48] || (e[48] = [
|
|
196
|
+
i("取消", -1)
|
|
183
197
|
])]),
|
|
184
198
|
_: 1
|
|
185
199
|
}),
|
|
186
|
-
|
|
200
|
+
l(m, {
|
|
187
201
|
type: "primary",
|
|
188
|
-
onClick:
|
|
202
|
+
onClick: ne
|
|
189
203
|
}, {
|
|
190
|
-
default: n(() => [...e[
|
|
191
|
-
|
|
204
|
+
default: n(() => [...e[49] || (e[49] = [
|
|
205
|
+
i("确定", -1)
|
|
192
206
|
])]),
|
|
193
207
|
_: 1
|
|
194
208
|
})
|
|
195
209
|
])
|
|
196
210
|
]),
|
|
197
211
|
default: n(() => [
|
|
198
|
-
|
|
212
|
+
l(O, { style: { border: "1px solid #ebeef5", "border-radius": "4px", height: "600px" } }, {
|
|
199
213
|
default: n(() => [
|
|
200
|
-
|
|
214
|
+
l(ve, { width: "300px" }, {
|
|
201
215
|
default: n(() => [
|
|
202
|
-
|
|
216
|
+
l(O, null, {
|
|
203
217
|
default: n(() => [
|
|
204
|
-
|
|
218
|
+
l($, {
|
|
205
219
|
height: "40px",
|
|
206
220
|
style: { "background-color": "#f2f2f2", "line-height": "40px" }
|
|
207
221
|
}, {
|
|
208
222
|
default: n(() => [
|
|
209
|
-
|
|
223
|
+
l(m, {
|
|
210
224
|
type: "primary",
|
|
211
225
|
link: "",
|
|
212
|
-
icon:
|
|
213
|
-
onClick:
|
|
226
|
+
icon: o(Ee),
|
|
227
|
+
onClick: ee
|
|
214
228
|
}, {
|
|
215
|
-
default: n(() => [...e[
|
|
216
|
-
|
|
229
|
+
default: n(() => [...e[29] || (e[29] = [
|
|
230
|
+
i(" 新增弹层 ", -1)
|
|
217
231
|
])]),
|
|
218
232
|
_: 1
|
|
219
233
|
}, 8, ["icon"])
|
|
220
234
|
]),
|
|
221
235
|
_: 1
|
|
222
236
|
}),
|
|
223
|
-
|
|
237
|
+
l(N, { style: { padding: "10px" } }, {
|
|
224
238
|
default: n(() => [
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
modelValue:
|
|
230
|
-
"onUpdate:modelValue": e[0] || (e[0] = (a) =>
|
|
239
|
+
o(E) ? (d(), r("div", sl, [
|
|
240
|
+
f("div", ml, [
|
|
241
|
+
f("div", rl, [
|
|
242
|
+
l(_, {
|
|
243
|
+
modelValue: o(C),
|
|
244
|
+
"onUpdate:modelValue": e[0] || (e[0] = (a) => q(C) ? C.value = a : null),
|
|
231
245
|
placeholder: "请输入弹层名称",
|
|
232
246
|
size: "default",
|
|
233
|
-
onKeyup:
|
|
247
|
+
onKeyup: Fe(K, ["enter"]),
|
|
234
248
|
class: "new-item-input"
|
|
235
249
|
}, null, 8, ["modelValue"]),
|
|
236
|
-
|
|
237
|
-
|
|
250
|
+
f("div", pl, [
|
|
251
|
+
l(m, {
|
|
238
252
|
size: "small",
|
|
239
|
-
icon:
|
|
240
|
-
onClick:
|
|
253
|
+
icon: o(Ue),
|
|
254
|
+
onClick: le
|
|
241
255
|
}, {
|
|
242
|
-
default: n(() => [...e[
|
|
243
|
-
|
|
256
|
+
default: n(() => [...e[30] || (e[30] = [
|
|
257
|
+
i(" 取消 ", -1)
|
|
244
258
|
])]),
|
|
245
259
|
_: 1
|
|
246
260
|
}, 8, ["icon"]),
|
|
247
|
-
|
|
261
|
+
l(m, {
|
|
248
262
|
type: "primary",
|
|
249
263
|
size: "small",
|
|
250
|
-
icon:
|
|
251
|
-
onClick:
|
|
264
|
+
icon: o(xe),
|
|
265
|
+
onClick: K
|
|
252
266
|
}, {
|
|
253
|
-
default: n(() => [...e[
|
|
254
|
-
|
|
267
|
+
default: n(() => [...e[31] || (e[31] = [
|
|
268
|
+
i(" 确认 ", -1)
|
|
255
269
|
])]),
|
|
256
270
|
_: 1
|
|
257
271
|
}, 8, ["icon"])
|
|
258
272
|
])
|
|
259
273
|
])
|
|
260
274
|
])
|
|
261
|
-
])) :
|
|
262
|
-
(
|
|
263
|
-
key:
|
|
264
|
-
class:
|
|
275
|
+
])) : y("", !0),
|
|
276
|
+
(d(!0), r(V, null, I(o(g), (a, v) => (d(), r("div", {
|
|
277
|
+
key: v,
|
|
278
|
+
class: Se([
|
|
265
279
|
"dialog-menu-item",
|
|
266
|
-
{ "is-active":
|
|
280
|
+
{ "is-active": o(b) === v }
|
|
267
281
|
]),
|
|
268
|
-
onClick: (
|
|
282
|
+
onClick: (c) => b.value = v
|
|
269
283
|
}, [
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
onBlur: (
|
|
284
|
+
f("div", bl, [
|
|
285
|
+
f("div", vl, [
|
|
286
|
+
W(l(_, {
|
|
287
|
+
onBlur: (c) => ae(),
|
|
274
288
|
maxlength: "30",
|
|
275
|
-
modelValue:
|
|
276
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
289
|
+
modelValue: o(F),
|
|
290
|
+
"onUpdate:modelValue": e[1] || (e[1] = (c) => q(F) ? F.value = c : null),
|
|
277
291
|
size: "small"
|
|
278
292
|
}, null, 8, ["onBlur", "modelValue"]), [
|
|
279
|
-
[
|
|
293
|
+
[J, o(T) === v]
|
|
280
294
|
]),
|
|
281
|
-
|
|
295
|
+
W(l(be, {
|
|
282
296
|
icon: "Edit",
|
|
283
|
-
onClick:
|
|
297
|
+
onClick: G((c) => te(v), ["stop"])
|
|
284
298
|
}, {
|
|
285
299
|
default: n(() => [
|
|
286
|
-
|
|
300
|
+
i(P(a.name), 1)
|
|
287
301
|
]),
|
|
288
302
|
_: 2
|
|
289
303
|
}, 1032, ["onClick"]), [
|
|
290
|
-
[
|
|
304
|
+
[J, o(T) !== v]
|
|
291
305
|
])
|
|
292
306
|
]),
|
|
293
|
-
|
|
307
|
+
l(L, {
|
|
294
308
|
class: "delete-icon",
|
|
295
|
-
onClick:
|
|
309
|
+
onClick: G((c) => oe(v), ["stop"])
|
|
296
310
|
}, {
|
|
297
311
|
default: n(() => [
|
|
298
|
-
o(
|
|
312
|
+
l(o(j))
|
|
299
313
|
]),
|
|
300
314
|
_: 1
|
|
301
315
|
}, 8, ["onClick"])
|
|
302
316
|
])
|
|
303
|
-
], 10,
|
|
317
|
+
], 10, fl))), 128))
|
|
304
318
|
]),
|
|
305
319
|
_: 1
|
|
306
320
|
})
|
|
@@ -310,72 +324,72 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
310
324
|
]),
|
|
311
325
|
_: 1
|
|
312
326
|
}),
|
|
313
|
-
|
|
327
|
+
l(N, { style: { "border-left": "1px solid #ebeef5", padding: "0" } }, {
|
|
314
328
|
default: n(() => [
|
|
315
|
-
|
|
329
|
+
o(b) !== -1 ? (d(), S(O, {
|
|
316
330
|
key: 0,
|
|
317
331
|
style: { height: "100%" }
|
|
318
332
|
}, {
|
|
319
333
|
default: n(() => [
|
|
320
|
-
|
|
334
|
+
l($, {
|
|
321
335
|
height: "40px",
|
|
322
336
|
class: "dialog-header"
|
|
323
337
|
}, {
|
|
324
338
|
default: n(() => [
|
|
325
|
-
|
|
339
|
+
f("div", null, P(o(t).name), 1)
|
|
326
340
|
]),
|
|
327
341
|
_: 1
|
|
328
342
|
}),
|
|
329
|
-
|
|
343
|
+
l(N, { style: { padding: "12px 20px 0 20px" } }, {
|
|
330
344
|
default: n(() => [
|
|
331
|
-
|
|
345
|
+
l(A, null, {
|
|
332
346
|
default: n(() => [
|
|
333
|
-
|
|
334
|
-
model:
|
|
347
|
+
l(ye, {
|
|
348
|
+
model: o(t),
|
|
335
349
|
"label-width": "120px",
|
|
336
350
|
style: { "padding-right": "20px" },
|
|
337
351
|
size: "small"
|
|
338
352
|
}, {
|
|
339
353
|
default: n(() => [
|
|
340
|
-
|
|
354
|
+
l(s, { label: "弹层标题" }, {
|
|
341
355
|
default: n(() => [
|
|
342
|
-
|
|
343
|
-
modelValue:
|
|
344
|
-
"onUpdate:modelValue": e[2] || (e[2] = (a) =>
|
|
356
|
+
l(_, {
|
|
357
|
+
modelValue: o(t).dialogTitle,
|
|
358
|
+
"onUpdate:modelValue": e[2] || (e[2] = (a) => o(t).dialogTitle = a),
|
|
345
359
|
placeholder: "请输入弹层标题",
|
|
346
360
|
clearable: ""
|
|
347
361
|
}, null, 8, ["modelValue"])
|
|
348
362
|
]),
|
|
349
363
|
_: 1
|
|
350
364
|
}),
|
|
351
|
-
|
|
365
|
+
l(s, { label: "弹层尺寸" }, {
|
|
352
366
|
default: n(() => [
|
|
353
|
-
|
|
354
|
-
modelValue:
|
|
355
|
-
"onUpdate:modelValue": e[3] || (e[3] = (a) =>
|
|
367
|
+
l(x, {
|
|
368
|
+
modelValue: o(t).dialogSize,
|
|
369
|
+
"onUpdate:modelValue": e[3] || (e[3] = (a) => o(t).dialogSize = a)
|
|
356
370
|
}, {
|
|
357
371
|
default: n(() => [
|
|
358
|
-
|
|
359
|
-
default: n(() => [...e[
|
|
360
|
-
|
|
372
|
+
l(p, { value: "standard" }, {
|
|
373
|
+
default: n(() => [...e[32] || (e[32] = [
|
|
374
|
+
i("标准", -1)
|
|
361
375
|
])]),
|
|
362
376
|
_: 1
|
|
363
377
|
}),
|
|
364
|
-
|
|
365
|
-
default: n(() => [...e[
|
|
366
|
-
|
|
378
|
+
l(p, { value: "large" }, {
|
|
379
|
+
default: n(() => [...e[33] || (e[33] = [
|
|
380
|
+
i("更大", -1)
|
|
367
381
|
])]),
|
|
368
382
|
_: 1
|
|
369
383
|
}),
|
|
370
|
-
|
|
371
|
-
default: n(() => [...e[
|
|
372
|
-
|
|
384
|
+
l(p, { value: "small" }, {
|
|
385
|
+
default: n(() => [...e[34] || (e[34] = [
|
|
386
|
+
i("更小", -1)
|
|
373
387
|
])]),
|
|
374
388
|
_: 1
|
|
375
389
|
}),
|
|
376
|
-
|
|
377
|
-
default: n(() => [...e[
|
|
378
|
-
|
|
390
|
+
l(p, { value: "custom" }, {
|
|
391
|
+
default: n(() => [...e[35] || (e[35] = [
|
|
392
|
+
i("自定义", -1)
|
|
379
393
|
])]),
|
|
380
394
|
_: 1
|
|
381
395
|
})
|
|
@@ -385,60 +399,65 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
385
399
|
]),
|
|
386
400
|
_: 1
|
|
387
401
|
}),
|
|
388
|
-
|
|
402
|
+
o(t).dialogSize === "custom" ? (d(), S(s, {
|
|
389
403
|
key: 0,
|
|
390
404
|
label: "自定义尺寸"
|
|
391
405
|
}, {
|
|
392
406
|
default: n(() => [
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
modelValue:
|
|
396
|
-
"onUpdate:modelValue": e[4] || (e[4] = (a) =>
|
|
407
|
+
f("div", gl, [
|
|
408
|
+
l(_, {
|
|
409
|
+
modelValue: o(t).customWidth,
|
|
410
|
+
"onUpdate:modelValue": e[4] || (e[4] = (a) => o(t).customWidth = a),
|
|
397
411
|
placeholder: "宽度,如:800px、60%",
|
|
398
412
|
style: { flex: "1" }
|
|
399
413
|
}, null, 8, ["modelValue"]),
|
|
400
|
-
|
|
401
|
-
modelValue:
|
|
402
|
-
"onUpdate:modelValue": e[5] || (e[5] = (a) =>
|
|
414
|
+
l(_, {
|
|
415
|
+
modelValue: o(t).customMaxHeight,
|
|
416
|
+
"onUpdate:modelValue": e[5] || (e[5] = (a) => o(t).customMaxHeight = a),
|
|
403
417
|
placeholder: "最大高度,如:600px、80vh",
|
|
404
418
|
style: { flex: "1" }
|
|
405
419
|
}, null, 8, ["modelValue"])
|
|
406
420
|
])
|
|
407
421
|
]),
|
|
408
422
|
_: 1
|
|
409
|
-
})) :
|
|
410
|
-
|
|
423
|
+
})) : y("", !0),
|
|
424
|
+
l(s, { label: "弹层参数" }, {
|
|
411
425
|
default: n(() => [
|
|
412
|
-
|
|
413
|
-
modelValue:
|
|
414
|
-
"onUpdate:modelValue": e[6] || (e[6] = (a) =>
|
|
415
|
-
|
|
416
|
-
}, null, 8, ["modelValue", "available-fields"])
|
|
426
|
+
l(Oe, {
|
|
427
|
+
modelValue: o(t).dialogParams,
|
|
428
|
+
"onUpdate:modelValue": e[6] || (e[6] = (a) => o(t).dialogParams = a)
|
|
429
|
+
}, null, 8, ["modelValue"])
|
|
417
430
|
]),
|
|
418
431
|
_: 1
|
|
419
432
|
}),
|
|
420
|
-
|
|
433
|
+
l(s, { label: "弹层类型" }, {
|
|
421
434
|
default: n(() => [
|
|
422
|
-
|
|
423
|
-
modelValue:
|
|
424
|
-
"onUpdate:modelValue": e[7] || (e[7] = (a) =>
|
|
435
|
+
l(x, {
|
|
436
|
+
modelValue: o(t).contentSource,
|
|
437
|
+
"onUpdate:modelValue": e[7] || (e[7] = (a) => o(t).contentSource = a)
|
|
425
438
|
}, {
|
|
426
439
|
default: n(() => [
|
|
427
|
-
|
|
428
|
-
default: n(() => [...e[
|
|
429
|
-
|
|
440
|
+
l(p, { value: "table" }, {
|
|
441
|
+
default: n(() => [...e[36] || (e[36] = [
|
|
442
|
+
i("列表", -1)
|
|
430
443
|
])]),
|
|
431
444
|
_: 1
|
|
432
445
|
}),
|
|
433
|
-
|
|
434
|
-
default: n(() => [...e[
|
|
435
|
-
|
|
446
|
+
l(p, { value: "form" }, {
|
|
447
|
+
default: n(() => [...e[37] || (e[37] = [
|
|
448
|
+
i("表单", -1)
|
|
436
449
|
])]),
|
|
437
450
|
_: 1
|
|
438
451
|
}),
|
|
439
|
-
|
|
440
|
-
default: n(() => [...e[
|
|
441
|
-
|
|
452
|
+
l(p, { value: "tree" }, {
|
|
453
|
+
default: n(() => [...e[38] || (e[38] = [
|
|
454
|
+
i("树形", -1)
|
|
455
|
+
])]),
|
|
456
|
+
_: 1
|
|
457
|
+
}),
|
|
458
|
+
l(p, { value: "component" }, {
|
|
459
|
+
default: n(() => [...e[39] || (e[39] = [
|
|
460
|
+
i("组件", -1)
|
|
442
461
|
])]),
|
|
443
462
|
_: 1
|
|
444
463
|
})
|
|
@@ -448,23 +467,23 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
448
467
|
]),
|
|
449
468
|
_: 1
|
|
450
469
|
}),
|
|
451
|
-
|
|
452
|
-
|
|
470
|
+
o(t).contentSource === "table" ? (d(), r(V, { key: 1 }, [
|
|
471
|
+
l(s, { label: "列表内容" }, {
|
|
453
472
|
default: n(() => [
|
|
454
|
-
|
|
455
|
-
modelValue:
|
|
456
|
-
"onUpdate:modelValue": e[8] || (e[8] = (a) =>
|
|
473
|
+
l(x, {
|
|
474
|
+
modelValue: o(t).tableContent,
|
|
475
|
+
"onUpdate:modelValue": e[8] || (e[8] = (a) => o(t).tableContent = a)
|
|
457
476
|
}, {
|
|
458
477
|
default: n(() => [
|
|
459
|
-
|
|
460
|
-
default: n(() => [...e[
|
|
461
|
-
|
|
478
|
+
l(p, { value: "select" }, {
|
|
479
|
+
default: n(() => [...e[40] || (e[40] = [
|
|
480
|
+
i("选择列表", -1)
|
|
462
481
|
])]),
|
|
463
482
|
_: 1
|
|
464
483
|
}),
|
|
465
|
-
|
|
466
|
-
default: n(() => [...e[
|
|
467
|
-
|
|
484
|
+
l(p, { value: "custom" }, {
|
|
485
|
+
default: n(() => [...e[41] || (e[41] = [
|
|
486
|
+
i("自定义", -1)
|
|
468
487
|
])]),
|
|
469
488
|
_: 1
|
|
470
489
|
})
|
|
@@ -474,34 +493,31 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
474
493
|
]),
|
|
475
494
|
_: 1
|
|
476
495
|
}),
|
|
477
|
-
|
|
478
|
-
l(
|
|
479
|
-
key: 0,
|
|
480
|
-
label: "选择列表"
|
|
481
|
-
}, {
|
|
496
|
+
o(t).tableContent === "select" ? (d(), r(V, { key: 0 }, [
|
|
497
|
+
l(s, { label: "选择列表" }, {
|
|
482
498
|
default: n(() => [
|
|
483
|
-
|
|
484
|
-
modelValue:
|
|
485
|
-
"onUpdate:modelValue": e[9] || (e[9] = (a) =>
|
|
486
|
-
templateKey:
|
|
487
|
-
"onUpdate:templateKey": e[10] || (e[10] = (a) =>
|
|
488
|
-
templateId:
|
|
489
|
-
"onUpdate:templateId": e[11] || (e[11] = (a) =>
|
|
499
|
+
l(X, {
|
|
500
|
+
modelValue: o(t).subTableName,
|
|
501
|
+
"onUpdate:modelValue": e[9] || (e[9] = (a) => o(t).subTableName = a),
|
|
502
|
+
templateKey: o(t).subTableKey,
|
|
503
|
+
"onUpdate:templateKey": e[10] || (e[10] = (a) => o(t).subTableKey = a),
|
|
504
|
+
templateId: o(t).subTableId,
|
|
505
|
+
"onUpdate:templateId": e[11] || (e[11] = (a) => o(t).subTableId = a),
|
|
490
506
|
templateType: "table",
|
|
491
|
-
onConfirm:
|
|
507
|
+
onConfirm: ue
|
|
492
508
|
}, null, 8, ["modelValue", "templateKey", "templateId"])
|
|
493
509
|
]),
|
|
494
510
|
_: 1
|
|
495
|
-
})
|
|
496
|
-
|
|
511
|
+
}),
|
|
512
|
+
l(s, { label: "列表模式" }, {
|
|
497
513
|
default: n(() => [
|
|
498
|
-
|
|
499
|
-
modelValue:
|
|
500
|
-
"onUpdate:modelValue": e[12] || (e[12] = (a) =>
|
|
514
|
+
l(ce, {
|
|
515
|
+
modelValue: o(t).subTableMode,
|
|
516
|
+
"onUpdate:modelValue": e[12] || (e[12] = (a) => o(t).subTableMode = a),
|
|
501
517
|
clearable: ""
|
|
502
518
|
}, {
|
|
503
519
|
default: n(() => [
|
|
504
|
-
(
|
|
520
|
+
(d(!0), r(V, null, I(o(de), (a) => (d(), S(ge, {
|
|
505
521
|
key: a.key,
|
|
506
522
|
label: a.name,
|
|
507
523
|
value: a.key
|
|
@@ -512,60 +528,165 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
512
528
|
]),
|
|
513
529
|
_: 1
|
|
514
530
|
})
|
|
515
|
-
], 64)) :
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
531
|
+
], 64)) : y("", !0),
|
|
532
|
+
o(t).tableContent === "custom" ? (d(), r(V, { key: 1 }, [
|
|
533
|
+
l(s, { label: "列配置" }, {
|
|
534
|
+
default: n(() => [
|
|
535
|
+
f("div", cl, [
|
|
536
|
+
f("div", Vl, [
|
|
537
|
+
l(m, {
|
|
538
|
+
type: "primary",
|
|
539
|
+
size: "small",
|
|
540
|
+
onClick: pe,
|
|
541
|
+
icon: "Plus",
|
|
542
|
+
link: ""
|
|
543
|
+
}, {
|
|
544
|
+
default: n(() => [...e[42] || (e[42] = [
|
|
545
|
+
i(" 添加列配置 ", -1)
|
|
546
|
+
])]),
|
|
547
|
+
_: 1
|
|
548
|
+
})
|
|
549
|
+
]),
|
|
550
|
+
f("div", _l, [
|
|
551
|
+
l(o(De), {
|
|
552
|
+
modelValue: o(t).customTableConfig.fieldsData,
|
|
553
|
+
"onUpdate:modelValue": e[13] || (e[13] = (a) => o(t).customTableConfig.fieldsData = a),
|
|
554
|
+
animation: 150,
|
|
555
|
+
handle: ".drag-handle"
|
|
556
|
+
}, {
|
|
557
|
+
default: n(() => [
|
|
558
|
+
(d(!0), r(V, null, I(o(t).customTableConfig.fieldsData, (a, v) => (d(), r("div", {
|
|
559
|
+
key: v,
|
|
560
|
+
class: "col-rule-item"
|
|
561
|
+
}, [
|
|
562
|
+
f("div", yl, [
|
|
563
|
+
l(L, null, {
|
|
564
|
+
default: n(() => [
|
|
565
|
+
l(o(we))
|
|
566
|
+
]),
|
|
567
|
+
_: 1
|
|
568
|
+
})
|
|
569
|
+
]),
|
|
570
|
+
l(_, {
|
|
571
|
+
modelValue: a.label,
|
|
572
|
+
"onUpdate:modelValue": (c) => a.label = c,
|
|
573
|
+
size: "small",
|
|
574
|
+
placeholder: "列标题"
|
|
575
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
576
|
+
l(_, {
|
|
577
|
+
modelValue: a.fieldName,
|
|
578
|
+
"onUpdate:modelValue": (c) => a.fieldName = c,
|
|
579
|
+
size: "small",
|
|
580
|
+
placeholder: "字段名"
|
|
581
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
582
|
+
f("div", Cl, [
|
|
583
|
+
l(Ve, {
|
|
584
|
+
placement: "right",
|
|
585
|
+
width: 200,
|
|
586
|
+
trigger: "click"
|
|
587
|
+
}, {
|
|
588
|
+
reference: n(() => [
|
|
589
|
+
l(m, {
|
|
590
|
+
icon: o(Me),
|
|
591
|
+
link: "",
|
|
592
|
+
type: "primary",
|
|
593
|
+
class: "edit-btn"
|
|
594
|
+
}, null, 8, ["icon"])
|
|
595
|
+
]),
|
|
596
|
+
default: n(() => [
|
|
597
|
+
f("div", kl, [
|
|
598
|
+
l(A, { "wrap-class": "col-property-scrollbar" }, {
|
|
599
|
+
default: n(() => [
|
|
600
|
+
l(Ae, {
|
|
601
|
+
column: a,
|
|
602
|
+
isComp: ""
|
|
603
|
+
}, null, 8, ["column"])
|
|
604
|
+
]),
|
|
605
|
+
_: 2
|
|
606
|
+
}, 1024)
|
|
607
|
+
])
|
|
608
|
+
]),
|
|
609
|
+
_: 2
|
|
610
|
+
}, 1024),
|
|
611
|
+
l(m, {
|
|
612
|
+
icon: o(j),
|
|
613
|
+
link: "",
|
|
614
|
+
type: "danger",
|
|
615
|
+
class: "delete-btn",
|
|
616
|
+
onClick: (c) => fe(v)
|
|
617
|
+
}, null, 8, ["icon", "onClick"])
|
|
618
|
+
])
|
|
619
|
+
]))), 128))
|
|
620
|
+
]),
|
|
621
|
+
_: 1
|
|
622
|
+
}, 8, ["modelValue"])
|
|
623
|
+
])
|
|
624
|
+
])
|
|
625
|
+
]),
|
|
626
|
+
_: 1
|
|
627
|
+
}),
|
|
628
|
+
l(s, { label: "主键字段" }, {
|
|
629
|
+
default: n(() => [
|
|
630
|
+
l(_, {
|
|
631
|
+
modelValue: o(t).customTableConfig.pkFieldName,
|
|
632
|
+
"onUpdate:modelValue": e[14] || (e[14] = (a) => o(t).customTableConfig.pkFieldName = a),
|
|
633
|
+
placeholder: "请输入主键字段",
|
|
634
|
+
clearable: ""
|
|
635
|
+
}, null, 8, ["modelValue"])
|
|
636
|
+
]),
|
|
637
|
+
_: 1
|
|
638
|
+
}),
|
|
639
|
+
l(s, { label: "数据源" }, {
|
|
640
|
+
default: n(() => [
|
|
641
|
+
l(Pe, {
|
|
642
|
+
modelValue: o(t).customTableConfig.dataSourceId,
|
|
643
|
+
"onUpdate:modelValue": e[15] || (e[15] = (a) => o(t).customTableConfig.dataSourceId = a)
|
|
644
|
+
}, null, 8, ["modelValue"])
|
|
645
|
+
]),
|
|
646
|
+
_: 1
|
|
647
|
+
})
|
|
648
|
+
], 64)) : y("", !0),
|
|
649
|
+
l(s, { label: "是否翻页" }, {
|
|
529
650
|
default: n(() => [
|
|
530
|
-
|
|
531
|
-
modelValue:
|
|
532
|
-
"onUpdate:modelValue": e[
|
|
651
|
+
l(H, {
|
|
652
|
+
modelValue: o(t).isSubTablePagination,
|
|
653
|
+
"onUpdate:modelValue": e[16] || (e[16] = (a) => o(t).isSubTablePagination = a)
|
|
533
654
|
}, null, 8, ["modelValue"])
|
|
534
655
|
]),
|
|
535
656
|
_: 1
|
|
536
657
|
}),
|
|
537
|
-
|
|
658
|
+
l(s, { label: "是否只读" }, {
|
|
538
659
|
default: n(() => [
|
|
539
|
-
|
|
540
|
-
modelValue:
|
|
541
|
-
"onUpdate:modelValue": e[
|
|
660
|
+
l(H, {
|
|
661
|
+
modelValue: o(t).isSubTableReadOnly,
|
|
662
|
+
"onUpdate:modelValue": e[17] || (e[17] = (a) => o(t).isSubTableReadOnly = a)
|
|
542
663
|
}, null, 8, ["modelValue"])
|
|
543
664
|
]),
|
|
544
665
|
_: 1
|
|
545
666
|
}),
|
|
546
|
-
|
|
547
|
-
|
|
667
|
+
o(t).isSubTableReadOnly ? y("", !0) : (d(), r(V, { key: 2 }, [
|
|
668
|
+
l(s, { label: "选择模式" }, {
|
|
548
669
|
default: n(() => [
|
|
549
|
-
|
|
550
|
-
modelValue:
|
|
551
|
-
"onUpdate:modelValue": e[
|
|
670
|
+
l(x, {
|
|
671
|
+
modelValue: o(t).selectionMode,
|
|
672
|
+
"onUpdate:modelValue": e[18] || (e[18] = (a) => o(t).selectionMode = a)
|
|
552
673
|
}, {
|
|
553
674
|
default: n(() => [
|
|
554
|
-
|
|
555
|
-
default: n(() => [...e[
|
|
556
|
-
|
|
675
|
+
l(p, { value: "none" }, {
|
|
676
|
+
default: n(() => [...e[43] || (e[43] = [
|
|
677
|
+
i("无", -1)
|
|
557
678
|
])]),
|
|
558
679
|
_: 1
|
|
559
680
|
}),
|
|
560
|
-
|
|
561
|
-
default: n(() => [...e[
|
|
562
|
-
|
|
681
|
+
l(p, { value: "single" }, {
|
|
682
|
+
default: n(() => [...e[44] || (e[44] = [
|
|
683
|
+
i("单选", -1)
|
|
563
684
|
])]),
|
|
564
685
|
_: 1
|
|
565
686
|
}),
|
|
566
|
-
|
|
567
|
-
default: n(() => [...e[
|
|
568
|
-
|
|
687
|
+
l(p, { value: "multiple" }, {
|
|
688
|
+
default: n(() => [...e[45] || (e[45] = [
|
|
689
|
+
i("多选", -1)
|
|
569
690
|
])]),
|
|
570
691
|
_: 1
|
|
571
692
|
})
|
|
@@ -575,77 +696,77 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
575
696
|
]),
|
|
576
697
|
_: 1
|
|
577
698
|
}),
|
|
578
|
-
|
|
579
|
-
|
|
699
|
+
o(t).selectionMode != "none" ? (d(), r(V, { key: 0 }, [
|
|
700
|
+
l(s, { label: "选取后反显格式" }, {
|
|
580
701
|
default: n(() => [
|
|
581
|
-
o(
|
|
702
|
+
l(o(Re), {
|
|
582
703
|
title: "反显格式配置",
|
|
583
|
-
formulaConf:
|
|
584
|
-
"onUpdate:formulaConf": e[
|
|
585
|
-
modelValue:
|
|
586
|
-
"onUpdate:modelValue": e[
|
|
587
|
-
fieldList:
|
|
704
|
+
formulaConf: o(t).displayFormat,
|
|
705
|
+
"onUpdate:formulaConf": e[19] || (e[19] = (a) => o(t).displayFormat = a),
|
|
706
|
+
modelValue: o(t).displayFormatText,
|
|
707
|
+
"onUpdate:modelValue": e[20] || (e[20] = (a) => o(t).displayFormatText = a),
|
|
708
|
+
fieldList: o(R)
|
|
588
709
|
}, null, 8, ["formulaConf", "modelValue", "fieldList"])
|
|
589
710
|
]),
|
|
590
711
|
_: 1
|
|
591
712
|
}),
|
|
592
|
-
|
|
713
|
+
l(s, { label: "选取后表单赋值" }, {
|
|
593
714
|
default: n(() => [
|
|
594
|
-
|
|
595
|
-
modelValue:
|
|
596
|
-
"onUpdate:modelValue": e[
|
|
715
|
+
l(ze, {
|
|
716
|
+
modelValue: o(t).fieldMapping,
|
|
717
|
+
"onUpdate:modelValue": e[21] || (e[21] = (a) => o(t).fieldMapping = a),
|
|
597
718
|
fieldLabel: "赋值表单字段",
|
|
598
719
|
valueLabel: "列表字段",
|
|
599
|
-
valueOptions:
|
|
720
|
+
valueOptions: o(R),
|
|
600
721
|
valueSelectMode: ""
|
|
601
722
|
}, null, 8, ["modelValue", "valueOptions"])
|
|
602
723
|
]),
|
|
603
724
|
_: 1
|
|
604
725
|
})
|
|
605
|
-
], 64)) :
|
|
606
|
-
|
|
726
|
+
], 64)) : y("", !0),
|
|
727
|
+
l(s, { label: "回调事件配置" }, {
|
|
607
728
|
default: n(() => [
|
|
608
|
-
|
|
609
|
-
config:
|
|
610
|
-
onConfirm:
|
|
729
|
+
l(Ke, {
|
|
730
|
+
config: o(t).callbackEventConfig,
|
|
731
|
+
onConfirm: re
|
|
611
732
|
}, null, 8, ["config"])
|
|
612
733
|
]),
|
|
613
734
|
_: 1
|
|
614
735
|
})
|
|
615
736
|
], 64))
|
|
616
|
-
], 64)) :
|
|
617
|
-
|
|
618
|
-
|
|
737
|
+
], 64)) : y("", !0),
|
|
738
|
+
o(t).contentSource === "form" ? (d(), r(V, { key: 2 }, [
|
|
739
|
+
l(s, { label: "选择表单" }, {
|
|
619
740
|
default: n(() => [
|
|
620
|
-
|
|
621
|
-
modelValue:
|
|
622
|
-
"onUpdate:modelValue": e[
|
|
623
|
-
templateKey:
|
|
624
|
-
"onUpdate:templateKey": e[
|
|
625
|
-
templateId:
|
|
626
|
-
"onUpdate:templateId": e[
|
|
741
|
+
l(X, {
|
|
742
|
+
modelValue: o(t).subFormName,
|
|
743
|
+
"onUpdate:modelValue": e[22] || (e[22] = (a) => o(t).subFormName = a),
|
|
744
|
+
templateKey: o(t).subFormKey,
|
|
745
|
+
"onUpdate:templateKey": e[23] || (e[23] = (a) => o(t).subFormKey = a),
|
|
746
|
+
templateId: o(t).subFormId,
|
|
747
|
+
"onUpdate:templateId": e[24] || (e[24] = (a) => o(t).subFormId = a),
|
|
627
748
|
templateType: "form",
|
|
628
|
-
onConfirm:
|
|
749
|
+
onConfirm: ie
|
|
629
750
|
}, null, 8, ["modelValue", "templateKey", "templateId"])
|
|
630
751
|
]),
|
|
631
752
|
_: 1
|
|
632
753
|
}),
|
|
633
|
-
|
|
754
|
+
l(s, { label: "表单模式" }, {
|
|
634
755
|
default: n(() => [
|
|
635
|
-
|
|
636
|
-
modelValue:
|
|
637
|
-
"onUpdate:modelValue": e[
|
|
756
|
+
l(x, {
|
|
757
|
+
modelValue: o(t).subFormMode,
|
|
758
|
+
"onUpdate:modelValue": e[25] || (e[25] = (a) => o(t).subFormMode = a)
|
|
638
759
|
}, {
|
|
639
760
|
default: n(() => [
|
|
640
|
-
|
|
641
|
-
default: n(() => [...e[
|
|
642
|
-
|
|
761
|
+
l(p, { value: "edit" }, {
|
|
762
|
+
default: n(() => [...e[46] || (e[46] = [
|
|
763
|
+
i("编辑", -1)
|
|
643
764
|
])]),
|
|
644
765
|
_: 1
|
|
645
766
|
}),
|
|
646
|
-
|
|
647
|
-
default: n(() => [...e[
|
|
648
|
-
|
|
767
|
+
l(p, { value: "query" }, {
|
|
768
|
+
default: n(() => [...e[47] || (e[47] = [
|
|
769
|
+
i("查看", -1)
|
|
649
770
|
])]),
|
|
650
771
|
_: 1
|
|
651
772
|
})
|
|
@@ -655,17 +776,17 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
655
776
|
]),
|
|
656
777
|
_: 1
|
|
657
778
|
}),
|
|
658
|
-
|
|
779
|
+
l(s, { label: "表单底部按钮" }, {
|
|
659
780
|
default: n(() => [
|
|
660
|
-
|
|
661
|
-
!
|
|
662
|
-
(
|
|
781
|
+
f("div", Tl, [
|
|
782
|
+
!o(B) || o(B).length === 0 ? (d(), r("div", Fl, " 暂无可用按钮 ")) : (d(), r("div", Sl, [
|
|
783
|
+
(d(!0), r(V, null, I(o(B), (a) => (d(), S(_e, {
|
|
663
784
|
key: a.id,
|
|
664
|
-
"model-value":
|
|
665
|
-
onChange: (
|
|
785
|
+
"model-value": se(a.id),
|
|
786
|
+
onChange: (v) => me(a)
|
|
666
787
|
}, {
|
|
667
788
|
default: n(() => [
|
|
668
|
-
|
|
789
|
+
i(P(a.label), 1)
|
|
669
790
|
]),
|
|
670
791
|
_: 2
|
|
671
792
|
}, 1032, ["model-value", "onChange"]))), 128))
|
|
@@ -674,21 +795,21 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
674
795
|
]),
|
|
675
796
|
_: 1
|
|
676
797
|
})
|
|
677
|
-
], 64)) :
|
|
678
|
-
|
|
798
|
+
], 64)) : y("", !0),
|
|
799
|
+
o(t).contentSource === "component" ? (d(), S(s, {
|
|
679
800
|
key: 3,
|
|
680
801
|
label: "选择组件"
|
|
681
802
|
}, {
|
|
682
803
|
default: n(() => [
|
|
683
|
-
|
|
684
|
-
modelValue:
|
|
685
|
-
"onUpdate:modelValue": e[
|
|
804
|
+
l(_, {
|
|
805
|
+
modelValue: o(t).componentPath,
|
|
806
|
+
"onUpdate:modelValue": e[26] || (e[26] = (a) => o(t).componentPath = a),
|
|
686
807
|
placeholder: "请输入组件路径",
|
|
687
808
|
clearable: ""
|
|
688
809
|
}, null, 8, ["modelValue"])
|
|
689
810
|
]),
|
|
690
811
|
_: 1
|
|
691
|
-
})) :
|
|
812
|
+
})) : y("", !0)
|
|
692
813
|
]),
|
|
693
814
|
_: 1
|
|
694
815
|
}, 8, ["model"])
|
|
@@ -700,7 +821,7 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
700
821
|
})
|
|
701
822
|
]),
|
|
702
823
|
_: 1
|
|
703
|
-
})) : (
|
|
824
|
+
})) : (d(), r("div", Dl, "请从左侧选择一个弹层"))
|
|
704
825
|
]),
|
|
705
826
|
_: 1
|
|
706
827
|
})
|
|
@@ -712,7 +833,7 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
712
833
|
}, 8, ["modelValue"]);
|
|
713
834
|
};
|
|
714
835
|
}
|
|
715
|
-
},
|
|
836
|
+
}, Bo = /* @__PURE__ */ He(Ul, [["__scopeId", "data-v-269f2565"]]);
|
|
716
837
|
export {
|
|
717
|
-
|
|
838
|
+
Bo as default
|
|
718
839
|
};
|