act-plus 1.1.2 → 1.1.4
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/act-plus.js +3 -2
- package/act-plus.umd.cjs +17 -17
- package/lib/{configBtns-930e1f41.js → configBtns-3e0e1684.js} +14 -14
- package/lib/{configFileds-cb40d54d.js → configFileds-c1d4ce56.js} +19 -19
- package/lib/{configTable-dab2bbe5.js → configTable-e9118be0.js} +3 -3
- package/lib/dashboardTest-ff000df5.js +10 -0
- package/lib/{dialogAddField-2763fb68.js → dialogAddField-d3143ae7.js} +28 -28
- package/lib/{dialogConfigBtn-37e737c3.js → dialogConfigBtn-deb51609.js} +217 -215
- package/lib/enum-d971526b.js +18 -0
- package/lib/index-1c82879a.js +95 -0
- package/lib/index-4ecc8bcf.js +162 -0
- package/lib/{index-fe5fbd14.js → index-89b17cda.js} +1738 -2089
- package/lib/index-b53782e5.js +286 -0
- package/lib/index-c44f99dd.js +138 -0
- package/lib/index-efdc0568.js +89 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/lib/index-4c95799f.js +0 -26
- package/svg/btn-add-241f3e4f.js +0 -4
- package/svg/btn-back-93621853.js +0 -4
- package/svg/btn-bohui-b0a206a4.js +0 -4
- package/svg/btn-daochu-7b5b32e2.js +0 -4
- package/svg/btn-daoru-8ba48f49.js +0 -4
- package/svg/btn-delete-65a52caf.js +0 -4
- package/svg/btn-edit-e5232a18.js +0 -4
- package/svg/btn-fenpei-4bba16c2.js +0 -4
- package/svg/btn-lianjie-bdc679ea.js +0 -4
- package/svg/btn-lishitianbao-eb1212d2.js +0 -4
- package/svg/btn-liuchengtu-9591bcdb.js +0 -4
- package/svg/btn-mulu-0bbcf3d6.js +0 -4
- package/svg/btn-peizhi-d53bd4b5.js +0 -4
- package/svg/btn-qianshou-1acd18d0.js +0 -4
- package/svg/btn-quanxian-4607f51a.js +0 -4
- package/svg/btn-reset-1b0db495.js +0 -4
- package/svg/btn-rizhi-8836492c.js +0 -4
- package/svg/btn-search-54ecb613.js +0 -4
- package/svg/btn-shenpi-22b55f3c.js +0 -4
- package/svg/btn-start-173d3cfb.js +0 -4
- package/svg/btn-stop-d76fb767.js +0 -4
- package/svg/btn-tianbao-d57c7020.js +0 -4
- package/svg/btn-tianjiachengyuan-a613c5da.js +0 -4
- package/svg/btn-xiangqing-89b17590.js +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { B as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
1
|
+
import { defineAsyncComponent as ee, computed as le, reactive as ae, inject as S, ref as q, watch as te, resolveComponent as y, openBlock as d, createBlock as m, withCtx as l, createElementVNode as oe, createVNode as e, unref as o, createTextVNode as U, toDisplayString as x, createCommentVNode as C, createElementBlock as b, Fragment as f, renderList as _ } from "vue";
|
|
2
|
+
import { B as ue, b as ne, c as de, d as re, e as se, f as ie, g as me, h as pe, i as ce } from "./enum-99519ce0.js";
|
|
3
|
+
import { _ as be, f as fe } from "./index-89b17cda.js";
|
|
4
|
+
import { useRoute as _e } from "vue-router";
|
|
5
|
+
const Ve = { class: "dialog-footer" }, ge = {
|
|
6
6
|
__name: "dialogConfigBtn",
|
|
7
7
|
props: {
|
|
8
8
|
visible: { type: Boolean, default: !1 },
|
|
@@ -10,60 +10,62 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
10
10
|
data: { type: Object, default: () => ({}) }
|
|
11
11
|
},
|
|
12
12
|
emits: ["update:visible", "refresh"],
|
|
13
|
-
setup(
|
|
14
|
-
const
|
|
15
|
-
let k =
|
|
13
|
+
setup(P, { emit: A }) {
|
|
14
|
+
const O = ee(() => import("./index-efdc0568.js")), E = _e(), I = A, T = P, D = le(() => E.params.key);
|
|
15
|
+
let k = ae((() => ({
|
|
16
16
|
btnLoading: !1
|
|
17
17
|
}))());
|
|
18
|
-
const
|
|
19
|
-
let
|
|
20
|
-
const
|
|
21
|
-
|
|
22
|
-
const p =
|
|
23
|
-
|
|
24
|
-
})
|
|
18
|
+
const w = S("createDefaultButtonItem"), W = S("associationMenuList"), R = S("conditionList")();
|
|
19
|
+
let L = q([]), N = q(null), t = q(w());
|
|
20
|
+
const Y = async () => {
|
|
21
|
+
try {
|
|
22
|
+
const { data: p } = await fe({ dynamicFilters: [{ field: "type", operate: "Equal", value: "2" }] });
|
|
23
|
+
L.value = (p || []).map((u) => `btn-${u.name}`);
|
|
24
|
+
} catch (p) {
|
|
25
|
+
console.error(p);
|
|
26
|
+
}
|
|
25
27
|
};
|
|
26
28
|
te(
|
|
27
29
|
() => T.visible,
|
|
28
|
-
async (
|
|
29
|
-
if (
|
|
30
|
-
|
|
31
|
-
const
|
|
32
|
-
Object.keys(
|
|
33
|
-
|
|
30
|
+
async (p, u) => {
|
|
31
|
+
if (p) {
|
|
32
|
+
await Y();
|
|
33
|
+
const c = { ...T.data };
|
|
34
|
+
Object.keys(t.value).forEach((r) => {
|
|
35
|
+
r == "submitFields" || r == "matchFields" ? t.value[r] = [...c[r] || []] : t.value[r] = c[r];
|
|
34
36
|
});
|
|
35
37
|
}
|
|
36
38
|
}
|
|
37
39
|
);
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
}, Y = () => {
|
|
41
|
-
a.value.submitFields.push({ matchType: "match", submitFieldName: "", matchFieldName: "", submitFieldType: "" });
|
|
42
|
-
}, z = (_) => {
|
|
43
|
-
a.value.submitFields.splice(_, 1);
|
|
40
|
+
const j = () => {
|
|
41
|
+
t.value.submitWay = [], t.value.requestUrl = void 0, t.value.submitWay = void 0, t.value.customType = void 0, t.value.codeStr = void 0, t.value.customComponentName = void 0, t.value.customComponentUrl = void 0;
|
|
44
42
|
}, $ = () => {
|
|
45
|
-
|
|
46
|
-
},
|
|
47
|
-
|
|
48
|
-
},
|
|
49
|
-
|
|
43
|
+
t.value.submitFields.push({ matchType: "match", submitFieldName: "", matchFieldName: "", submitFieldType: "" });
|
|
44
|
+
}, z = (p) => {
|
|
45
|
+
t.value.submitFields.splice(p, 1);
|
|
46
|
+
}, H = () => {
|
|
47
|
+
t.value.matchFields.push({ matchType: "default", matchFieldName: "", matchCondition: "", fieldValue: "", spliceCondition: "" });
|
|
48
|
+
}, K = (p) => {
|
|
49
|
+
t.value.matchFields.splice(p, 1), t.value.matchFields.length === 1 && (t.value.matchFields[0].spliceCondition = "");
|
|
50
|
+
}, G = (p) => {
|
|
51
|
+
B(), p();
|
|
50
52
|
}, B = () => {
|
|
51
|
-
|
|
52
|
-
},
|
|
53
|
-
|
|
54
|
-
if (
|
|
53
|
+
t.value = Object.assign(t.value, w()), N.value.resetFields(), I("update:visible", !1);
|
|
54
|
+
}, J = (p) => {
|
|
55
|
+
p && p.validate((u) => {
|
|
56
|
+
if (u)
|
|
55
57
|
try {
|
|
56
|
-
k.btnLoading = !0,
|
|
58
|
+
k.btnLoading = !0, I("refresh", { ...t.value, submitFields: [...t.value.submitFields], matchFields: [...t.value.matchFields] }, () => {
|
|
57
59
|
B();
|
|
58
60
|
}), k.btnLoading = !1;
|
|
59
|
-
} catch (
|
|
60
|
-
console.error(
|
|
61
|
+
} catch (c) {
|
|
62
|
+
console.error(c), k.btnLoading = !1;
|
|
61
63
|
}
|
|
62
64
|
});
|
|
63
65
|
};
|
|
64
|
-
return (
|
|
65
|
-
const
|
|
66
|
-
return
|
|
66
|
+
return (p, u) => {
|
|
67
|
+
const c = y("el-input"), r = y("el-form-item"), i = y("el-col"), V = y("el-option"), g = y("el-select"), v = y("el-row"), F = y("el-button"), M = y("el-divider"), Q = y("el-switch"), X = y("el-form"), Z = y("el-dialog");
|
|
68
|
+
return d(), m(Z, {
|
|
67
69
|
"model-value": T.visible,
|
|
68
70
|
title: T.title,
|
|
69
71
|
top: "5vh",
|
|
@@ -71,10 +73,10 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
71
73
|
draggable: "",
|
|
72
74
|
overflow: "",
|
|
73
75
|
"close-on-click-modal": !1,
|
|
74
|
-
"before-close":
|
|
76
|
+
"before-close": G
|
|
75
77
|
}, {
|
|
76
78
|
footer: l(() => [
|
|
77
|
-
|
|
79
|
+
oe("span", Ve, [
|
|
78
80
|
e(F, {
|
|
79
81
|
loading: o(k).btnLoading,
|
|
80
82
|
onClick: B
|
|
@@ -87,7 +89,7 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
87
89
|
e(F, {
|
|
88
90
|
type: "primary",
|
|
89
91
|
loading: o(k).btnLoading,
|
|
90
|
-
onClick:
|
|
92
|
+
onClick: u[14] || (u[14] = (a) => J(o(N)))
|
|
91
93
|
}, {
|
|
92
94
|
default: l(() => [
|
|
93
95
|
U("保存")
|
|
@@ -100,28 +102,28 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
100
102
|
e(X, {
|
|
101
103
|
ref_key: "formRef",
|
|
102
104
|
ref: N,
|
|
103
|
-
model: o(
|
|
105
|
+
model: o(t),
|
|
104
106
|
"label-suffix": ":",
|
|
105
107
|
"label-width": "120px"
|
|
106
108
|
}, {
|
|
107
109
|
default: l(() => [
|
|
108
|
-
e(
|
|
110
|
+
e(v, null, {
|
|
109
111
|
default: l(() => [
|
|
110
112
|
e(i, { span: 6 }, {
|
|
111
113
|
default: l(() => [
|
|
112
|
-
e(
|
|
114
|
+
e(r, {
|
|
113
115
|
label: "按钮",
|
|
114
116
|
prop: "btnName"
|
|
115
117
|
}, {
|
|
116
118
|
default: l(() => [
|
|
117
|
-
e(
|
|
118
|
-
modelValue: o(
|
|
119
|
-
"onUpdate:modelValue":
|
|
119
|
+
e(c, {
|
|
120
|
+
modelValue: o(t).btnName,
|
|
121
|
+
"onUpdate:modelValue": u[0] || (u[0] = (a) => o(t).btnName = a),
|
|
120
122
|
disabled: "",
|
|
121
123
|
placeholder: "请输入按钮名称"
|
|
122
124
|
}, {
|
|
123
125
|
prepend: l(() => [
|
|
124
|
-
U(
|
|
126
|
+
U(x(o(t).permissionCode), 1)
|
|
125
127
|
]),
|
|
126
128
|
_: 1
|
|
127
129
|
}, 8, ["modelValue"])
|
|
@@ -133,15 +135,15 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
133
135
|
}),
|
|
134
136
|
e(i, { span: 6 }, {
|
|
135
137
|
default: l(() => [
|
|
136
|
-
e(
|
|
138
|
+
e(r, {
|
|
137
139
|
label: "按钮图标",
|
|
138
140
|
prop: "btnIcon"
|
|
139
141
|
}, {
|
|
140
142
|
default: l(() => [
|
|
141
|
-
e(
|
|
142
|
-
modelValue: o(
|
|
143
|
-
"onUpdate:modelValue":
|
|
144
|
-
icons: o(
|
|
143
|
+
e(o(O), {
|
|
144
|
+
modelValue: o(t).btnIcon,
|
|
145
|
+
"onUpdate:modelValue": u[1] || (u[1] = (a) => o(t).btnIcon = a),
|
|
146
|
+
icons: o(L)
|
|
145
147
|
}, null, 8, ["modelValue", "icons"])
|
|
146
148
|
]),
|
|
147
149
|
_: 1
|
|
@@ -149,20 +151,20 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
149
151
|
]),
|
|
150
152
|
_: 1
|
|
151
153
|
}),
|
|
152
|
-
o(
|
|
154
|
+
o(t).permissionCode != "1001" && !o(t).isCustomBtn ? (d(), m(i, {
|
|
153
155
|
key: 0,
|
|
154
156
|
span: 24
|
|
155
157
|
}, {
|
|
156
158
|
default: l(() => [
|
|
157
|
-
e(
|
|
159
|
+
e(r, {
|
|
158
160
|
label: "接口地址",
|
|
159
161
|
rules: [{ required: !0, message: "必填项", trigger: "blur" }],
|
|
160
162
|
prop: "requestUrl"
|
|
161
163
|
}, {
|
|
162
164
|
default: l(() => [
|
|
163
|
-
e(
|
|
164
|
-
modelValue: o(
|
|
165
|
-
"onUpdate:modelValue":
|
|
165
|
+
e(c, {
|
|
166
|
+
modelValue: o(t).requestUrl,
|
|
167
|
+
"onUpdate:modelValue": u[2] || (u[2] = (a) => o(t).requestUrl = a),
|
|
166
168
|
placeholder: "请输入接口地址",
|
|
167
169
|
clearable: ""
|
|
168
170
|
}, null, 8, ["modelValue"])
|
|
@@ -171,27 +173,27 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
171
173
|
})
|
|
172
174
|
]),
|
|
173
175
|
_: 1
|
|
174
|
-
})) :
|
|
176
|
+
})) : C("", !0),
|
|
175
177
|
e(i, { span: 12 }, {
|
|
176
178
|
default: l(() => [
|
|
177
|
-
e(
|
|
179
|
+
e(r, {
|
|
178
180
|
label: "按钮位置",
|
|
179
181
|
rules: [{ required: !0, message: "必填项", trigger: "change" }],
|
|
180
182
|
prop: "btnPostion"
|
|
181
183
|
}, {
|
|
182
184
|
default: l(() => [
|
|
183
|
-
e(
|
|
184
|
-
modelValue: o(
|
|
185
|
-
"onUpdate:modelValue":
|
|
185
|
+
e(g, {
|
|
186
|
+
modelValue: o(t).btnPostion,
|
|
187
|
+
"onUpdate:modelValue": u[3] || (u[3] = (a) => o(t).btnPostion = a),
|
|
186
188
|
placeholder: "请选择按钮位置",
|
|
187
189
|
filterable: "",
|
|
188
190
|
clearable: ""
|
|
189
191
|
}, {
|
|
190
192
|
default: l(() => [
|
|
191
|
-
(
|
|
192
|
-
key:
|
|
193
|
-
label:
|
|
194
|
-
value:
|
|
193
|
+
(d(!0), b(f, null, _(o(ue), (a, s) => (d(), m(V, {
|
|
194
|
+
key: s,
|
|
195
|
+
label: a.key,
|
|
196
|
+
value: a.value
|
|
195
197
|
}, null, 8, ["label", "value"]))), 128))
|
|
196
198
|
]),
|
|
197
199
|
_: 1
|
|
@@ -204,24 +206,24 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
204
206
|
}),
|
|
205
207
|
e(i, { span: 12 }, {
|
|
206
208
|
default: l(() => [
|
|
207
|
-
e(
|
|
209
|
+
e(r, {
|
|
208
210
|
label: "按钮类型",
|
|
209
211
|
rules: [{ required: !0, message: "必填项", trigger: "change" }],
|
|
210
212
|
prop: "btnType"
|
|
211
213
|
}, {
|
|
212
214
|
default: l(() => [
|
|
213
|
-
e(
|
|
214
|
-
modelValue: o(
|
|
215
|
-
"onUpdate:modelValue":
|
|
215
|
+
e(g, {
|
|
216
|
+
modelValue: o(t).btnType,
|
|
217
|
+
"onUpdate:modelValue": u[4] || (u[4] = (a) => o(t).btnType = a),
|
|
216
218
|
placeholder: "请选择按钮类型",
|
|
217
219
|
filterable: "",
|
|
218
220
|
clearable: ""
|
|
219
221
|
}, {
|
|
220
222
|
default: l(() => [
|
|
221
|
-
(
|
|
222
|
-
key:
|
|
223
|
-
label:
|
|
224
|
-
value:
|
|
223
|
+
(d(!0), b(f, null, _(o(ne), (a, s) => (d(), m(V, {
|
|
224
|
+
key: s,
|
|
225
|
+
label: a.key,
|
|
226
|
+
value: a.value
|
|
225
227
|
}, null, 8, ["label", "value"]))), 128))
|
|
226
228
|
]),
|
|
227
229
|
_: 1
|
|
@@ -234,14 +236,14 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
234
236
|
}),
|
|
235
237
|
e(i, { span: 12 }, {
|
|
236
238
|
default: l(() => [
|
|
237
|
-
e(
|
|
239
|
+
e(r, {
|
|
238
240
|
label: "按钮别名",
|
|
239
241
|
prop: "btnAlias"
|
|
240
242
|
}, {
|
|
241
243
|
default: l(() => [
|
|
242
|
-
e(
|
|
243
|
-
modelValue: o(
|
|
244
|
-
"onUpdate:modelValue":
|
|
244
|
+
e(c, {
|
|
245
|
+
modelValue: o(t).btnAlias,
|
|
246
|
+
"onUpdate:modelValue": u[5] || (u[5] = (a) => o(t).btnAlias = a),
|
|
245
247
|
placeholder: "请输入按钮别名",
|
|
246
248
|
clearable: ""
|
|
247
249
|
}, null, 8, ["modelValue"])
|
|
@@ -253,24 +255,24 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
253
255
|
}),
|
|
254
256
|
e(i, { span: 12 }, {
|
|
255
257
|
default: l(() => [
|
|
256
|
-
e(
|
|
258
|
+
e(r, {
|
|
257
259
|
label: "按钮颜色",
|
|
258
260
|
rules: [{ required: !0, message: "必填项", trigger: "change" }],
|
|
259
261
|
prop: "btnColor"
|
|
260
262
|
}, {
|
|
261
263
|
default: l(() => [
|
|
262
|
-
e(
|
|
263
|
-
modelValue: o(
|
|
264
|
-
"onUpdate:modelValue":
|
|
264
|
+
e(g, {
|
|
265
|
+
modelValue: o(t).btnColor,
|
|
266
|
+
"onUpdate:modelValue": u[6] || (u[6] = (a) => o(t).btnColor = a),
|
|
265
267
|
placeholder: "请选择按钮颜色",
|
|
266
268
|
filterable: "",
|
|
267
269
|
clearable: ""
|
|
268
270
|
}, {
|
|
269
271
|
default: l(() => [
|
|
270
|
-
(
|
|
271
|
-
key:
|
|
272
|
-
label:
|
|
273
|
-
value:
|
|
272
|
+
(d(!0), b(f, null, _(o(de), (a, s) => (d(), m(V, {
|
|
273
|
+
key: s,
|
|
274
|
+
label: a.key,
|
|
275
|
+
value: a.value
|
|
274
276
|
}, null, 8, ["label", "value"]))), 128))
|
|
275
277
|
]),
|
|
276
278
|
_: 1
|
|
@@ -281,44 +283,44 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
281
283
|
]),
|
|
282
284
|
_: 1
|
|
283
285
|
}),
|
|
284
|
-
!o(
|
|
286
|
+
!o(t).isCustomBtn && o(t).permissionCode != "1001" ? (d(), m(i, {
|
|
285
287
|
key: 1,
|
|
286
288
|
span: 12
|
|
287
289
|
}, {
|
|
288
290
|
default: l(() => [
|
|
289
|
-
!o(
|
|
291
|
+
!o(t).isCustomBtn && o(t).permissionCode != "1001" ? (d(), m(r, {
|
|
290
292
|
key: 0,
|
|
291
293
|
label: "提交方式",
|
|
292
294
|
rules: [{ required: !0, message: "必填项", trigger: "change" }],
|
|
293
295
|
prop: "submitWay"
|
|
294
296
|
}, {
|
|
295
297
|
default: l(() => [
|
|
296
|
-
e(
|
|
297
|
-
modelValue: o(
|
|
298
|
-
"onUpdate:modelValue":
|
|
298
|
+
e(g, {
|
|
299
|
+
modelValue: o(t).submitWay,
|
|
300
|
+
"onUpdate:modelValue": u[7] || (u[7] = (a) => o(t).submitWay = a),
|
|
299
301
|
placeholder: "请选择提交方式",
|
|
300
302
|
filterable: "",
|
|
301
303
|
clearable: ""
|
|
302
304
|
}, {
|
|
303
305
|
default: l(() => [
|
|
304
|
-
(
|
|
305
|
-
key:
|
|
306
|
-
label:
|
|
307
|
-
value:
|
|
306
|
+
(d(!0), b(f, null, _(o(re), (a, s) => (d(), m(V, {
|
|
307
|
+
key: s,
|
|
308
|
+
label: a.key,
|
|
309
|
+
value: a.value
|
|
308
310
|
}, null, 8, ["label", "value"]))), 128))
|
|
309
311
|
]),
|
|
310
312
|
_: 1
|
|
311
313
|
}, 8, ["modelValue"])
|
|
312
314
|
]),
|
|
313
315
|
_: 1
|
|
314
|
-
})) :
|
|
316
|
+
})) : C("", !0)
|
|
315
317
|
]),
|
|
316
318
|
_: 1
|
|
317
|
-
})) :
|
|
319
|
+
})) : C("", !0)
|
|
318
320
|
]),
|
|
319
321
|
_: 1
|
|
320
322
|
}),
|
|
321
|
-
e(
|
|
323
|
+
e(M, { "content-position": "left" }, {
|
|
322
324
|
default: l(() => [
|
|
323
325
|
U(" 提交字段配置 "),
|
|
324
326
|
e(F, {
|
|
@@ -326,24 +328,24 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
326
328
|
type: "primary",
|
|
327
329
|
icon: "Plus",
|
|
328
330
|
circle: "",
|
|
329
|
-
onClick:
|
|
331
|
+
onClick: $
|
|
330
332
|
})
|
|
331
333
|
]),
|
|
332
334
|
_: 1
|
|
333
335
|
}),
|
|
334
|
-
(
|
|
336
|
+
(d(!0), b(f, null, _(o(t).submitFields, (a, s) => (d(), m(v, { key: s }, {
|
|
335
337
|
default: l(() => [
|
|
336
338
|
e(i, { span: 6 }, {
|
|
337
339
|
default: l(() => [
|
|
338
|
-
e(
|
|
340
|
+
e(r, {
|
|
339
341
|
label: "提交字段名",
|
|
340
342
|
rules: [{ required: !0, message: "必填项", trigger: "blur" }],
|
|
341
|
-
prop: "submitFields." +
|
|
343
|
+
prop: "submitFields." + s + ".submitFieldName"
|
|
342
344
|
}, {
|
|
343
345
|
default: l(() => [
|
|
344
|
-
e(
|
|
345
|
-
modelValue:
|
|
346
|
-
"onUpdate:modelValue": (
|
|
346
|
+
e(c, {
|
|
347
|
+
modelValue: a.submitFieldName,
|
|
348
|
+
"onUpdate:modelValue": (n) => a.submitFieldName = n,
|
|
347
349
|
placeholder: "请输入提交字段名",
|
|
348
350
|
clearable: ""
|
|
349
351
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -355,30 +357,30 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
355
357
|
}, 1024),
|
|
356
358
|
e(i, { span: 10 }, {
|
|
357
359
|
default: l(() => [
|
|
358
|
-
e(
|
|
360
|
+
e(r, {
|
|
359
361
|
label: "方式",
|
|
360
362
|
rules: [{ required: !0, message: "必填项", trigger: "blur" }],
|
|
361
|
-
prop: "submitFields." +
|
|
363
|
+
prop: "submitFields." + s + ".matchFieldName"
|
|
362
364
|
}, {
|
|
363
365
|
default: l(() => [
|
|
364
|
-
e(
|
|
366
|
+
e(c, {
|
|
365
367
|
placeholder: "请输入",
|
|
366
|
-
modelValue:
|
|
367
|
-
"onUpdate:modelValue": (
|
|
368
|
+
modelValue: a.matchFieldName,
|
|
369
|
+
"onUpdate:modelValue": (n) => a.matchFieldName = n,
|
|
368
370
|
clearable: ""
|
|
369
371
|
}, {
|
|
370
372
|
prepend: l(() => [
|
|
371
|
-
e(
|
|
372
|
-
modelValue:
|
|
373
|
-
"onUpdate:modelValue": (
|
|
373
|
+
e(g, {
|
|
374
|
+
modelValue: a.matchType,
|
|
375
|
+
"onUpdate:modelValue": (n) => a.matchType = n,
|
|
374
376
|
placeholder: "请选择",
|
|
375
377
|
style: { width: "120px" }
|
|
376
378
|
}, {
|
|
377
379
|
default: l(() => [
|
|
378
|
-
(
|
|
379
|
-
key:
|
|
380
|
-
label:
|
|
381
|
-
value:
|
|
380
|
+
(d(!0), b(f, null, _(o(se), (n, h) => (d(), m(V, {
|
|
381
|
+
key: h,
|
|
382
|
+
label: n.key,
|
|
383
|
+
value: n.value
|
|
382
384
|
}, null, 8, ["label", "value"]))), 128))
|
|
383
385
|
]),
|
|
384
386
|
_: 2
|
|
@@ -394,24 +396,24 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
394
396
|
}, 1024),
|
|
395
397
|
e(i, { span: 6 }, {
|
|
396
398
|
default: l(() => [
|
|
397
|
-
e(
|
|
399
|
+
e(r, {
|
|
398
400
|
label: "提交类型",
|
|
399
401
|
rules: [{ required: !0, message: "必填项", trigger: "change" }],
|
|
400
|
-
prop: "submitFields." +
|
|
402
|
+
prop: "submitFields." + s + ".submitFieldType"
|
|
401
403
|
}, {
|
|
402
404
|
default: l(() => [
|
|
403
|
-
e(
|
|
404
|
-
modelValue:
|
|
405
|
-
"onUpdate:modelValue": (
|
|
405
|
+
e(g, {
|
|
406
|
+
modelValue: a.submitFieldType,
|
|
407
|
+
"onUpdate:modelValue": (n) => a.submitFieldType = n,
|
|
406
408
|
placeholder: "请选择提交类型",
|
|
407
409
|
filterable: "",
|
|
408
410
|
clearable: ""
|
|
409
411
|
}, {
|
|
410
412
|
default: l(() => [
|
|
411
|
-
(
|
|
412
|
-
key:
|
|
413
|
-
label:
|
|
414
|
-
value:
|
|
413
|
+
(d(!0), b(f, null, _(o(ie), (n, h) => (d(), m(V, {
|
|
414
|
+
key: h,
|
|
415
|
+
label: n.key,
|
|
416
|
+
value: n.value
|
|
415
417
|
}, null, 8, ["label", "value"]))), 128))
|
|
416
418
|
]),
|
|
417
419
|
_: 2
|
|
@@ -432,7 +434,7 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
432
434
|
type: "danger",
|
|
433
435
|
icon: "Minus",
|
|
434
436
|
circle: "",
|
|
435
|
-
onClick: (
|
|
437
|
+
onClick: (n) => z(s)
|
|
436
438
|
}, null, 8, ["onClick"])
|
|
437
439
|
]),
|
|
438
440
|
_: 2
|
|
@@ -440,7 +442,7 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
440
442
|
]),
|
|
441
443
|
_: 2
|
|
442
444
|
}, 1024))), 128)),
|
|
443
|
-
e(
|
|
445
|
+
e(M, { "content-position": "left" }, {
|
|
444
446
|
default: l(() => [
|
|
445
447
|
U(" 匹配字段配置(表格操作列按钮显示/隐藏) "),
|
|
446
448
|
e(F, {
|
|
@@ -448,39 +450,39 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
448
450
|
type: "primary",
|
|
449
451
|
icon: "Plus",
|
|
450
452
|
circle: "",
|
|
451
|
-
onClick:
|
|
453
|
+
onClick: H
|
|
452
454
|
})
|
|
453
455
|
]),
|
|
454
456
|
_: 1
|
|
455
457
|
}),
|
|
456
|
-
(
|
|
458
|
+
(d(!0), b(f, null, _(o(t).matchFields, (a, s) => (d(), m(v, { key: s }, {
|
|
457
459
|
default: l(() => [
|
|
458
460
|
e(i, { span: 10 }, {
|
|
459
461
|
default: l(() => [
|
|
460
|
-
e(
|
|
462
|
+
e(r, {
|
|
461
463
|
label: "匹配字段名",
|
|
462
464
|
rules: [{ required: !0, message: "必填项", trigger: "blur" }],
|
|
463
|
-
prop: "matchFields." +
|
|
465
|
+
prop: "matchFields." + s + ".matchFieldName"
|
|
464
466
|
}, {
|
|
465
467
|
default: l(() => [
|
|
466
|
-
e(
|
|
468
|
+
e(c, {
|
|
467
469
|
placeholder: "请输入",
|
|
468
|
-
modelValue:
|
|
469
|
-
"onUpdate:modelValue": (
|
|
470
|
+
modelValue: a.matchFieldName,
|
|
471
|
+
"onUpdate:modelValue": (n) => a.matchFieldName = n,
|
|
470
472
|
clearable: ""
|
|
471
473
|
}, {
|
|
472
474
|
prepend: l(() => [
|
|
473
|
-
e(
|
|
474
|
-
modelValue:
|
|
475
|
-
"onUpdate:modelValue": (
|
|
475
|
+
e(g, {
|
|
476
|
+
modelValue: a.matchType,
|
|
477
|
+
"onUpdate:modelValue": (n) => a.matchType = n,
|
|
476
478
|
placeholder: "请选择",
|
|
477
479
|
style: { width: "180px" }
|
|
478
480
|
}, {
|
|
479
481
|
default: l(() => [
|
|
480
|
-
(
|
|
481
|
-
key:
|
|
482
|
-
label:
|
|
483
|
-
value:
|
|
482
|
+
(d(!0), b(f, null, _(o(me), (n, h) => (d(), m(V, {
|
|
483
|
+
key: h,
|
|
484
|
+
label: n.key,
|
|
485
|
+
value: n.value
|
|
484
486
|
}, null, 8, ["label", "value"]))), 128))
|
|
485
487
|
]),
|
|
486
488
|
_: 2
|
|
@@ -496,24 +498,24 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
496
498
|
}, 1024),
|
|
497
499
|
e(i, { span: 6 }, {
|
|
498
500
|
default: l(() => [
|
|
499
|
-
e(
|
|
501
|
+
e(r, {
|
|
500
502
|
label: "匹配条件",
|
|
501
503
|
rules: [{ required: !0, message: "必填项", trigger: "change" }],
|
|
502
|
-
prop: "matchFields." +
|
|
504
|
+
prop: "matchFields." + s + ".matchCondition"
|
|
503
505
|
}, {
|
|
504
506
|
default: l(() => [
|
|
505
|
-
e(
|
|
506
|
-
modelValue:
|
|
507
|
-
"onUpdate:modelValue": (
|
|
507
|
+
e(g, {
|
|
508
|
+
modelValue: a.matchCondition,
|
|
509
|
+
"onUpdate:modelValue": (n) => a.matchCondition = n,
|
|
508
510
|
placeholder: "请选择匹配条件",
|
|
509
511
|
clearable: "",
|
|
510
512
|
filterable: ""
|
|
511
513
|
}, {
|
|
512
514
|
default: l(() => [
|
|
513
|
-
(
|
|
514
|
-
key:
|
|
515
|
-
label:
|
|
516
|
-
value:
|
|
515
|
+
(d(!0), b(f, null, _(o(R), (n, h) => (d(), m(V, {
|
|
516
|
+
key: h,
|
|
517
|
+
label: n.key,
|
|
518
|
+
value: n.value
|
|
517
519
|
}, null, 8, ["label", "value"]))), 128))
|
|
518
520
|
]),
|
|
519
521
|
_: 2
|
|
@@ -526,14 +528,14 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
526
528
|
}, 1024),
|
|
527
529
|
e(i, { span: 6 }, {
|
|
528
530
|
default: l(() => [
|
|
529
|
-
e(
|
|
531
|
+
e(r, {
|
|
530
532
|
label: "字段值",
|
|
531
|
-
prop: "matchFields." +
|
|
533
|
+
prop: "matchFields." + s + ".fieldValue"
|
|
532
534
|
}, {
|
|
533
535
|
default: l(() => [
|
|
534
|
-
e(
|
|
535
|
-
modelValue:
|
|
536
|
-
"onUpdate:modelValue": (
|
|
536
|
+
e(c, {
|
|
537
|
+
modelValue: a.fieldValue,
|
|
538
|
+
"onUpdate:modelValue": (n) => a.fieldValue = n,
|
|
537
539
|
placeholder: "请输入字段值",
|
|
538
540
|
clearable: ""
|
|
539
541
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -553,35 +555,35 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
553
555
|
type: "danger",
|
|
554
556
|
icon: "Minus",
|
|
555
557
|
circle: "",
|
|
556
|
-
onClick: (
|
|
558
|
+
onClick: (n) => K(s)
|
|
557
559
|
}, null, 8, ["onClick"])
|
|
558
560
|
]),
|
|
559
561
|
_: 2
|
|
560
562
|
}, 1024),
|
|
561
|
-
|
|
563
|
+
s + 1 !== o(t).matchFields.length ? (d(), m(i, {
|
|
562
564
|
key: 0,
|
|
563
565
|
span: 24
|
|
564
566
|
}, {
|
|
565
567
|
default: l(() => [
|
|
566
|
-
e(
|
|
568
|
+
e(r, {
|
|
567
569
|
class: "condition-box",
|
|
568
570
|
label: "",
|
|
569
571
|
"label-width": "0",
|
|
570
|
-
prop: "matchFields." +
|
|
572
|
+
prop: "matchFields." + s + ".spliceCondition"
|
|
571
573
|
}, {
|
|
572
574
|
default: l(() => [
|
|
573
|
-
e(
|
|
574
|
-
modelValue:
|
|
575
|
-
"onUpdate:modelValue": (
|
|
575
|
+
e(g, {
|
|
576
|
+
modelValue: a.spliceCondition,
|
|
577
|
+
"onUpdate:modelValue": (n) => a.spliceCondition = n,
|
|
576
578
|
placeholder: "请选择拼接条件",
|
|
577
579
|
clearable: "",
|
|
578
580
|
filterable: ""
|
|
579
581
|
}, {
|
|
580
582
|
default: l(() => [
|
|
581
|
-
(
|
|
582
|
-
key:
|
|
583
|
-
label:
|
|
584
|
-
value:
|
|
583
|
+
(d(!0), b(f, null, _(o(pe), (n, h) => (d(), m(V, {
|
|
584
|
+
key: h,
|
|
585
|
+
label: n.key,
|
|
586
|
+
value: n.value
|
|
585
587
|
}, null, 8, ["label", "value"]))), 128))
|
|
586
588
|
]),
|
|
587
589
|
_: 2
|
|
@@ -591,23 +593,23 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
591
593
|
}, 1032, ["prop"])
|
|
592
594
|
]),
|
|
593
595
|
_: 2
|
|
594
|
-
}, 1024)) :
|
|
596
|
+
}, 1024)) : C("", !0)
|
|
595
597
|
]),
|
|
596
598
|
_: 2
|
|
597
599
|
}, 1024))), 128)),
|
|
598
|
-
e(
|
|
600
|
+
e(v, null, {
|
|
599
601
|
default: l(() => [
|
|
600
602
|
e(i, { span: 4 }, {
|
|
601
603
|
default: l(() => [
|
|
602
|
-
e(
|
|
604
|
+
e(r, {
|
|
603
605
|
label: "自定义按钮",
|
|
604
606
|
prop: "isCustomBtn"
|
|
605
607
|
}, {
|
|
606
608
|
default: l(() => [
|
|
607
609
|
e(Q, {
|
|
608
|
-
modelValue: o(
|
|
609
|
-
"onUpdate:modelValue":
|
|
610
|
-
onChange:
|
|
610
|
+
modelValue: o(t).isCustomBtn,
|
|
611
|
+
"onUpdate:modelValue": u[8] || (u[8] = (a) => o(t).isCustomBtn = a),
|
|
612
|
+
onChange: j
|
|
611
613
|
}, null, 8, ["modelValue"])
|
|
612
614
|
]),
|
|
613
615
|
_: 1
|
|
@@ -615,29 +617,29 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
615
617
|
]),
|
|
616
618
|
_: 1
|
|
617
619
|
}),
|
|
618
|
-
o(
|
|
620
|
+
o(t).isCustomBtn ? (d(), m(i, {
|
|
619
621
|
key: 0,
|
|
620
622
|
span: 6
|
|
621
623
|
}, {
|
|
622
624
|
default: l(() => [
|
|
623
|
-
e(
|
|
625
|
+
e(r, {
|
|
624
626
|
label: "自定义类型",
|
|
625
627
|
rules: [{ required: !0, message: "必填项", trigger: "change" }],
|
|
626
628
|
prop: "customType"
|
|
627
629
|
}, {
|
|
628
630
|
default: l(() => [
|
|
629
|
-
e(
|
|
630
|
-
modelValue: o(
|
|
631
|
-
"onUpdate:modelValue":
|
|
631
|
+
e(g, {
|
|
632
|
+
modelValue: o(t).customType,
|
|
633
|
+
"onUpdate:modelValue": u[9] || (u[9] = (a) => o(t).customType = a),
|
|
632
634
|
placeholder: "请选择关联菜单",
|
|
633
635
|
filterable: "",
|
|
634
636
|
clearable: ""
|
|
635
637
|
}, {
|
|
636
638
|
default: l(() => [
|
|
637
|
-
(
|
|
638
|
-
key:
|
|
639
|
-
label:
|
|
640
|
-
value:
|
|
639
|
+
(d(!0), b(f, null, _(o(ce), (a, s) => (d(), m(V, {
|
|
640
|
+
key: s,
|
|
641
|
+
label: a.key,
|
|
642
|
+
value: a.value
|
|
641
643
|
}, null, 8, ["label", "value"]))), 128))
|
|
642
644
|
]),
|
|
643
645
|
_: 1
|
|
@@ -647,23 +649,23 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
647
649
|
})
|
|
648
650
|
]),
|
|
649
651
|
_: 1
|
|
650
|
-
})) :
|
|
652
|
+
})) : C("", !0)
|
|
651
653
|
]),
|
|
652
654
|
_: 1
|
|
653
655
|
}),
|
|
654
|
-
o(
|
|
656
|
+
o(t).customType === "code" ? (d(), m(v, { key: 0 }, {
|
|
655
657
|
default: l(() => [
|
|
656
658
|
e(i, { span: 24 }, {
|
|
657
659
|
default: l(() => [
|
|
658
|
-
e(
|
|
660
|
+
e(r, {
|
|
659
661
|
label: "代码片段",
|
|
660
662
|
rules: [{ required: !0, message: "必填项", trigger: "change" }],
|
|
661
663
|
prop: "codeStr"
|
|
662
664
|
}, {
|
|
663
665
|
default: l(() => [
|
|
664
|
-
e(
|
|
665
|
-
modelValue: o(
|
|
666
|
-
"onUpdate:modelValue":
|
|
666
|
+
e(c, {
|
|
667
|
+
modelValue: o(t).codeStr,
|
|
668
|
+
"onUpdate:modelValue": u[10] || (u[10] = (a) => o(t).codeStr = a),
|
|
667
669
|
placeholder: "请输入代码",
|
|
668
670
|
rows: 4,
|
|
669
671
|
type: "textarea",
|
|
@@ -677,25 +679,25 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
677
679
|
})
|
|
678
680
|
]),
|
|
679
681
|
_: 1
|
|
680
|
-
})) :
|
|
681
|
-
o(
|
|
682
|
+
})) : C("", !0),
|
|
683
|
+
o(t).customType === "component" ? (d(), m(v, { key: 1 }, {
|
|
682
684
|
default: l(() => [
|
|
683
685
|
e(i, { span: 9 }, {
|
|
684
686
|
default: l(() => [
|
|
685
|
-
e(
|
|
687
|
+
e(r, {
|
|
686
688
|
label: "组件名称",
|
|
687
689
|
rules: [{ required: !0, message: "必填项", trigger: "blur" }],
|
|
688
690
|
prop: "customComponentName"
|
|
689
691
|
}, {
|
|
690
692
|
default: l(() => [
|
|
691
|
-
e(
|
|
692
|
-
modelValue: o(
|
|
693
|
-
"onUpdate:modelValue":
|
|
693
|
+
e(c, {
|
|
694
|
+
modelValue: o(t).customComponentName,
|
|
695
|
+
"onUpdate:modelValue": u[11] || (u[11] = (a) => o(t).customComponentName = a),
|
|
694
696
|
placeholder: "请输入组件名称",
|
|
695
697
|
clearable: ""
|
|
696
698
|
}, {
|
|
697
699
|
prepend: l(() => [
|
|
698
|
-
U(
|
|
700
|
+
U(x(D.value), 1)
|
|
699
701
|
]),
|
|
700
702
|
_: 1
|
|
701
703
|
}, 8, ["modelValue"])
|
|
@@ -707,15 +709,15 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
707
709
|
}),
|
|
708
710
|
e(i, { span: 8 }, {
|
|
709
711
|
default: l(() => [
|
|
710
|
-
e(
|
|
712
|
+
e(r, {
|
|
711
713
|
label: "组件地址",
|
|
712
714
|
rules: [{ required: !0, message: "必填项", trigger: "blur" }],
|
|
713
715
|
prop: "customComponentUrl"
|
|
714
716
|
}, {
|
|
715
717
|
default: l(() => [
|
|
716
|
-
e(
|
|
717
|
-
modelValue: o(
|
|
718
|
-
"onUpdate:modelValue":
|
|
718
|
+
e(c, {
|
|
719
|
+
modelValue: o(t).customComponentUrl,
|
|
720
|
+
"onUpdate:modelValue": u[12] || (u[12] = (a) => o(t).customComponentUrl = a),
|
|
719
721
|
placeholder: "请输入组件地址",
|
|
720
722
|
clearable: ""
|
|
721
723
|
}, null, 8, ["modelValue"])
|
|
@@ -727,20 +729,20 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
727
729
|
}),
|
|
728
730
|
e(i, { span: 7 }, {
|
|
729
731
|
default: l(() => [
|
|
730
|
-
e(
|
|
732
|
+
e(r, { label: "关联菜单" }, {
|
|
731
733
|
default: l(() => [
|
|
732
|
-
e(
|
|
733
|
-
modelValue: o(
|
|
734
|
-
"onUpdate:modelValue":
|
|
734
|
+
e(g, {
|
|
735
|
+
modelValue: o(t).associationMenuId,
|
|
736
|
+
"onUpdate:modelValue": u[13] || (u[13] = (a) => o(t).associationMenuId = a),
|
|
735
737
|
placeholder: "请选择关联菜单",
|
|
736
738
|
filterable: "",
|
|
737
739
|
clearable: ""
|
|
738
740
|
}, {
|
|
739
741
|
default: l(() => [
|
|
740
|
-
(
|
|
741
|
-
key:
|
|
742
|
-
label:
|
|
743
|
-
value:
|
|
742
|
+
(d(!0), b(f, null, _(o(W), (a, s) => (d(), m(V, {
|
|
743
|
+
key: s,
|
|
744
|
+
label: a.name,
|
|
745
|
+
value: a.id
|
|
744
746
|
}, null, 8, ["label", "value"]))), 128))
|
|
745
747
|
]),
|
|
746
748
|
_: 1
|
|
@@ -753,7 +755,7 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
753
755
|
})
|
|
754
756
|
]),
|
|
755
757
|
_: 1
|
|
756
|
-
})) :
|
|
758
|
+
})) : C("", !0)
|
|
757
759
|
]),
|
|
758
760
|
_: 1
|
|
759
761
|
}, 8, ["model"])
|
|
@@ -762,7 +764,7 @@ const fe = { class: "dialog-footer" }, _e = {
|
|
|
762
764
|
}, 8, ["model-value", "title"]);
|
|
763
765
|
};
|
|
764
766
|
}
|
|
765
|
-
},
|
|
767
|
+
}, Ue = /* @__PURE__ */ be(ge, [["__scopeId", "data-v-599e2ff7"]]);
|
|
766
768
|
export {
|
|
767
|
-
|
|
769
|
+
Ue as default
|
|
768
770
|
};
|