act-plus 1.1.16 → 1.1.18
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 +1 -1
- package/act-plus.umd.cjs +14 -14
- package/lib/{configBtns-f6b155be.js → configBtns-58f43801.js} +42 -42
- package/lib/{configFileds-24172348.js → configFileds-b537fd99.js} +56 -56
- package/lib/{configTable-f2695bd5.js → configTable-bdb56a9e.js} +1 -1
- package/lib/{dialogAddField-a0ed90e9.js → dialogAddField-b60d14ab.js} +3 -3
- package/lib/{dialogConfigBtn-5585756e.js → dialogConfigBtn-f5f8703d.js} +171 -132
- package/lib/{index-9755aee8.js → index-14f7a543.js} +1 -1
- package/lib/{index-a1b4f8cb.js → index-1f8ed34b.js} +985 -991
- package/lib/{index-17921aea.js → index-56217e0e.js} +1 -1
- package/lib/{index-ff034542.js → index-8cb975d8.js} +137 -131
- package/lib/{index-277c5a07.js → index-9a1abd6b.js} +1 -1
- package/lib/{index-452d8552.js → index-9e3ed108.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/lib/dashboardTest-b3195aa2.js +0 -10
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineAsyncComponent as ee, computed as le, reactive as ae, inject as
|
|
1
|
+
import { defineAsyncComponent as ee, computed as le, reactive as ae, inject as q, ref as N, 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 O, createCommentVNode as C, createElementBlock as b, Fragment as f, renderList as _ } from "vue";
|
|
2
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, d as fe } from "./index-
|
|
3
|
+
import { _ as be, d as fe } from "./index-1f8ed34b.js";
|
|
4
4
|
import { useRoute as _e } from "vue-router";
|
|
5
5
|
import "element-plus";
|
|
6
|
-
const
|
|
6
|
+
const ge = { class: "dialog-footer" }, Ve = {
|
|
7
7
|
__name: "dialogConfigBtn",
|
|
8
8
|
props: {
|
|
9
9
|
visible: { type: Boolean, default: !1 },
|
|
@@ -11,61 +11,63 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
11
11
|
data: { type: Object, default: () => ({}) }
|
|
12
12
|
},
|
|
13
13
|
emits: ["update:visible", "refresh"],
|
|
14
|
-
setup(
|
|
15
|
-
const
|
|
14
|
+
setup(x, { emit: P }) {
|
|
15
|
+
const A = ee(() => import("./index-9e3ed108.js")), D = _e(), I = P, T = x, E = le(() => D.params.key);
|
|
16
16
|
let k = ae((() => ({
|
|
17
17
|
btnLoading: !1
|
|
18
18
|
}))());
|
|
19
|
-
const
|
|
20
|
-
let
|
|
19
|
+
const M = q("createDefaultButtonItem"), W = q("associationMenuList"), R = q("conditionList")();
|
|
20
|
+
let w = N([]);
|
|
21
|
+
N([]);
|
|
22
|
+
let B = N(null), t = N(M());
|
|
21
23
|
const Y = async () => {
|
|
22
24
|
try {
|
|
23
|
-
const { data:
|
|
24
|
-
|
|
25
|
-
} catch (
|
|
26
|
-
console.error(
|
|
25
|
+
const { data: c } = await fe({ dynamicFilters: [{ field: "type", operate: "Equal", value: "2" }] });
|
|
26
|
+
w.value = (c || []).map((n) => `btn-${n.name}`);
|
|
27
|
+
} catch (c) {
|
|
28
|
+
console.error(c);
|
|
27
29
|
}
|
|
28
30
|
};
|
|
29
31
|
te(
|
|
30
32
|
() => T.visible,
|
|
31
|
-
async (
|
|
32
|
-
if (
|
|
33
|
+
async (c, n) => {
|
|
34
|
+
if (c) {
|
|
33
35
|
await Y();
|
|
34
|
-
const
|
|
36
|
+
const p = { ...T.data };
|
|
35
37
|
Object.keys(t.value).forEach((r) => {
|
|
36
|
-
r == "submitFields" || r == "matchFields" ? t.value[r] = [...
|
|
38
|
+
r == "submitFields" || r == "matchFields" ? t.value[r] = [...p[r] || []] : t.value[r] = p[r];
|
|
37
39
|
});
|
|
38
40
|
}
|
|
39
41
|
}
|
|
40
42
|
);
|
|
41
|
-
const
|
|
43
|
+
const $ = () => {
|
|
42
44
|
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;
|
|
43
|
-
},
|
|
44
|
-
t.value.submitFields.push({ matchType: "match", submitFieldName: "", matchFieldName: "", submitFieldType: "" });
|
|
45
|
-
}, z = (
|
|
46
|
-
t.value.submitFields.splice(
|
|
45
|
+
}, j = () => {
|
|
46
|
+
t.value.submitFields.push({ matchType: "match", submitFieldMatchOrigin: "rowData", submitFieldName: "", matchFieldName: "", submitFieldType: "" });
|
|
47
|
+
}, z = (c) => {
|
|
48
|
+
t.value.submitFields.splice(c, 1);
|
|
47
49
|
}, H = () => {
|
|
48
50
|
t.value.matchFields.push({ matchType: "default", matchFieldName: "", matchCondition: "", fieldValue: "", spliceCondition: "" });
|
|
49
|
-
}, K = (
|
|
50
|
-
t.value.matchFields.splice(
|
|
51
|
-
}, G = (
|
|
52
|
-
|
|
53
|
-
},
|
|
54
|
-
t.value = Object.assign(t.value,
|
|
55
|
-
}, J = (
|
|
56
|
-
|
|
57
|
-
if (
|
|
51
|
+
}, K = (c) => {
|
|
52
|
+
t.value.matchFields.splice(c, 1), t.value.matchFields.length === 1 && (t.value.matchFields[0].spliceCondition = "");
|
|
53
|
+
}, G = (c) => {
|
|
54
|
+
S(), c();
|
|
55
|
+
}, S = () => {
|
|
56
|
+
t.value = Object.assign(t.value, M()), B.value.resetFields(), I("update:visible", !1);
|
|
57
|
+
}, J = (c) => {
|
|
58
|
+
c && c.validate((n) => {
|
|
59
|
+
if (n)
|
|
58
60
|
try {
|
|
59
61
|
k.btnLoading = !0, I("refresh", { ...t.value, submitFields: [...t.value.submitFields], matchFields: [...t.value.matchFields] }, () => {
|
|
60
|
-
|
|
62
|
+
S();
|
|
61
63
|
}), k.btnLoading = !1;
|
|
62
|
-
} catch (
|
|
63
|
-
console.error(
|
|
64
|
+
} catch (p) {
|
|
65
|
+
console.error(p), k.btnLoading = !1;
|
|
64
66
|
}
|
|
65
67
|
});
|
|
66
68
|
};
|
|
67
|
-
return (
|
|
68
|
-
const
|
|
69
|
+
return (c, n) => {
|
|
70
|
+
const p = y("el-input"), r = y("el-form-item"), i = y("el-col"), g = y("el-option"), V = y("el-select"), F = y("el-row"), v = y("el-button"), L = y("el-divider"), Q = y("el-switch"), X = y("el-form"), Z = y("el-dialog");
|
|
69
71
|
return d(), m(Z, {
|
|
70
72
|
"model-value": T.visible,
|
|
71
73
|
title: T.title,
|
|
@@ -77,20 +79,20 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
77
79
|
"before-close": G
|
|
78
80
|
}, {
|
|
79
81
|
footer: l(() => [
|
|
80
|
-
oe("span",
|
|
81
|
-
e(
|
|
82
|
+
oe("span", ge, [
|
|
83
|
+
e(v, {
|
|
82
84
|
loading: o(k).btnLoading,
|
|
83
|
-
onClick:
|
|
85
|
+
onClick: S
|
|
84
86
|
}, {
|
|
85
87
|
default: l(() => [
|
|
86
88
|
U("取消")
|
|
87
89
|
]),
|
|
88
90
|
_: 1
|
|
89
91
|
}, 8, ["loading"]),
|
|
90
|
-
e(
|
|
92
|
+
e(v, {
|
|
91
93
|
type: "primary",
|
|
92
94
|
loading: o(k).btnLoading,
|
|
93
|
-
onClick:
|
|
95
|
+
onClick: n[14] || (n[14] = (a) => J(o(B)))
|
|
94
96
|
}, {
|
|
95
97
|
default: l(() => [
|
|
96
98
|
U("保存")
|
|
@@ -102,13 +104,13 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
102
104
|
default: l(() => [
|
|
103
105
|
e(X, {
|
|
104
106
|
ref_key: "formRef",
|
|
105
|
-
ref:
|
|
107
|
+
ref: B,
|
|
106
108
|
model: o(t),
|
|
107
109
|
"label-suffix": ":",
|
|
108
|
-
"label-
|
|
110
|
+
"label-position": "top"
|
|
109
111
|
}, {
|
|
110
112
|
default: l(() => [
|
|
111
|
-
e(
|
|
113
|
+
e(F, { gutter: 24 }, {
|
|
112
114
|
default: l(() => [
|
|
113
115
|
e(i, { span: 6 }, {
|
|
114
116
|
default: l(() => [
|
|
@@ -117,14 +119,14 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
117
119
|
prop: "btnName"
|
|
118
120
|
}, {
|
|
119
121
|
default: l(() => [
|
|
120
|
-
e(
|
|
122
|
+
e(p, {
|
|
121
123
|
modelValue: o(t).btnName,
|
|
122
|
-
"onUpdate:modelValue":
|
|
124
|
+
"onUpdate:modelValue": n[0] || (n[0] = (a) => o(t).btnName = a),
|
|
123
125
|
disabled: "",
|
|
124
126
|
placeholder: "请输入按钮名称"
|
|
125
127
|
}, {
|
|
126
128
|
prepend: l(() => [
|
|
127
|
-
U(
|
|
129
|
+
U(O(o(t).permissionCode), 1)
|
|
128
130
|
]),
|
|
129
131
|
_: 1
|
|
130
132
|
}, 8, ["modelValue"])
|
|
@@ -141,10 +143,10 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
141
143
|
prop: "btnIcon"
|
|
142
144
|
}, {
|
|
143
145
|
default: l(() => [
|
|
144
|
-
e(o(
|
|
146
|
+
e(o(A), {
|
|
145
147
|
modelValue: o(t).btnIcon,
|
|
146
|
-
"onUpdate:modelValue":
|
|
147
|
-
icons: o(
|
|
148
|
+
"onUpdate:modelValue": n[1] || (n[1] = (a) => o(t).btnIcon = a),
|
|
149
|
+
icons: o(w)
|
|
148
150
|
}, null, 8, ["modelValue", "icons"])
|
|
149
151
|
]),
|
|
150
152
|
_: 1
|
|
@@ -163,9 +165,9 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
163
165
|
prop: "requestUrl"
|
|
164
166
|
}, {
|
|
165
167
|
default: l(() => [
|
|
166
|
-
e(
|
|
168
|
+
e(p, {
|
|
167
169
|
modelValue: o(t).requestUrl,
|
|
168
|
-
"onUpdate:modelValue":
|
|
170
|
+
"onUpdate:modelValue": n[2] || (n[2] = (a) => o(t).requestUrl = a),
|
|
169
171
|
placeholder: "请输入接口地址",
|
|
170
172
|
clearable: ""
|
|
171
173
|
}, null, 8, ["modelValue"])
|
|
@@ -183,15 +185,15 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
183
185
|
prop: "btnPostion"
|
|
184
186
|
}, {
|
|
185
187
|
default: l(() => [
|
|
186
|
-
e(
|
|
188
|
+
e(V, {
|
|
187
189
|
modelValue: o(t).btnPostion,
|
|
188
|
-
"onUpdate:modelValue":
|
|
190
|
+
"onUpdate:modelValue": n[3] || (n[3] = (a) => o(t).btnPostion = a),
|
|
189
191
|
placeholder: "请选择按钮位置",
|
|
190
192
|
filterable: "",
|
|
191
193
|
clearable: ""
|
|
192
194
|
}, {
|
|
193
195
|
default: l(() => [
|
|
194
|
-
(d(!0), b(f, null, _(o(ue), (a, s) => (d(), m(
|
|
196
|
+
(d(!0), b(f, null, _(o(ue), (a, s) => (d(), m(g, {
|
|
195
197
|
key: s,
|
|
196
198
|
label: a.key,
|
|
197
199
|
value: a.value
|
|
@@ -213,15 +215,15 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
213
215
|
prop: "btnType"
|
|
214
216
|
}, {
|
|
215
217
|
default: l(() => [
|
|
216
|
-
e(
|
|
218
|
+
e(V, {
|
|
217
219
|
modelValue: o(t).btnType,
|
|
218
|
-
"onUpdate:modelValue":
|
|
220
|
+
"onUpdate:modelValue": n[4] || (n[4] = (a) => o(t).btnType = a),
|
|
219
221
|
placeholder: "请选择按钮类型",
|
|
220
222
|
filterable: "",
|
|
221
223
|
clearable: ""
|
|
222
224
|
}, {
|
|
223
225
|
default: l(() => [
|
|
224
|
-
(d(!0), b(f, null, _(o(ne), (a, s) => (d(), m(
|
|
226
|
+
(d(!0), b(f, null, _(o(ne), (a, s) => (d(), m(g, {
|
|
225
227
|
key: s,
|
|
226
228
|
label: a.key,
|
|
227
229
|
value: a.value
|
|
@@ -242,9 +244,9 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
242
244
|
prop: "btnAlias"
|
|
243
245
|
}, {
|
|
244
246
|
default: l(() => [
|
|
245
|
-
e(
|
|
247
|
+
e(p, {
|
|
246
248
|
modelValue: o(t).btnAlias,
|
|
247
|
-
"onUpdate:modelValue":
|
|
249
|
+
"onUpdate:modelValue": n[5] || (n[5] = (a) => o(t).btnAlias = a),
|
|
248
250
|
placeholder: "请输入按钮别名",
|
|
249
251
|
clearable: ""
|
|
250
252
|
}, null, 8, ["modelValue"])
|
|
@@ -262,15 +264,15 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
262
264
|
prop: "btnColor"
|
|
263
265
|
}, {
|
|
264
266
|
default: l(() => [
|
|
265
|
-
e(
|
|
267
|
+
e(V, {
|
|
266
268
|
modelValue: o(t).btnColor,
|
|
267
|
-
"onUpdate:modelValue":
|
|
269
|
+
"onUpdate:modelValue": n[6] || (n[6] = (a) => o(t).btnColor = a),
|
|
268
270
|
placeholder: "请选择按钮颜色",
|
|
269
271
|
filterable: "",
|
|
270
272
|
clearable: ""
|
|
271
273
|
}, {
|
|
272
274
|
default: l(() => [
|
|
273
|
-
(d(!0), b(f, null, _(o(de), (a, s) => (d(), m(
|
|
275
|
+
(d(!0), b(f, null, _(o(de), (a, s) => (d(), m(g, {
|
|
274
276
|
key: s,
|
|
275
277
|
label: a.key,
|
|
276
278
|
value: a.value
|
|
@@ -296,15 +298,15 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
296
298
|
prop: "submitWay"
|
|
297
299
|
}, {
|
|
298
300
|
default: l(() => [
|
|
299
|
-
e(
|
|
301
|
+
e(V, {
|
|
300
302
|
modelValue: o(t).submitWay,
|
|
301
|
-
"onUpdate:modelValue":
|
|
303
|
+
"onUpdate:modelValue": n[7] || (n[7] = (a) => o(t).submitWay = a),
|
|
302
304
|
placeholder: "请选择提交方式",
|
|
303
305
|
filterable: "",
|
|
304
306
|
clearable: ""
|
|
305
307
|
}, {
|
|
306
308
|
default: l(() => [
|
|
307
|
-
(d(!0), b(f, null, _(o(re), (a, s) => (d(), m(
|
|
309
|
+
(d(!0), b(f, null, _(o(re), (a, s) => (d(), m(g, {
|
|
308
310
|
key: s,
|
|
309
311
|
label: a.key,
|
|
310
312
|
value: a.value
|
|
@@ -321,20 +323,23 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
321
323
|
]),
|
|
322
324
|
_: 1
|
|
323
325
|
}),
|
|
324
|
-
e(
|
|
326
|
+
e(L, { "content-position": "left" }, {
|
|
325
327
|
default: l(() => [
|
|
326
328
|
U(" 提交字段配置 "),
|
|
327
|
-
e(
|
|
329
|
+
e(v, {
|
|
328
330
|
class: "add-icon-btn",
|
|
329
331
|
type: "primary",
|
|
330
332
|
icon: "Plus",
|
|
331
333
|
circle: "",
|
|
332
|
-
onClick:
|
|
334
|
+
onClick: j
|
|
333
335
|
})
|
|
334
336
|
]),
|
|
335
337
|
_: 1
|
|
336
338
|
}),
|
|
337
|
-
(d(!0), b(f, null, _(o(t).submitFields, (a, s) => (d(), m(
|
|
339
|
+
(d(!0), b(f, null, _(o(t).submitFields, (a, s) => (d(), m(F, {
|
|
340
|
+
gutter: 24,
|
|
341
|
+
key: s
|
|
342
|
+
}, {
|
|
338
343
|
default: l(() => [
|
|
339
344
|
e(i, { span: 6 }, {
|
|
340
345
|
default: l(() => [
|
|
@@ -344,9 +349,9 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
344
349
|
prop: "submitFields." + s + ".submitFieldName"
|
|
345
350
|
}, {
|
|
346
351
|
default: l(() => [
|
|
347
|
-
e(
|
|
352
|
+
e(p, {
|
|
348
353
|
modelValue: a.submitFieldName,
|
|
349
|
-
"onUpdate:modelValue": (
|
|
354
|
+
"onUpdate:modelValue": (u) => a.submitFieldName = u,
|
|
350
355
|
placeholder: "请输入提交字段名",
|
|
351
356
|
clearable: ""
|
|
352
357
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -356,36 +361,38 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
356
361
|
]),
|
|
357
362
|
_: 2
|
|
358
363
|
}, 1024),
|
|
359
|
-
e(i, { span:
|
|
364
|
+
e(i, { span: 8 }, {
|
|
360
365
|
default: l(() => [
|
|
361
366
|
e(r, {
|
|
362
367
|
label: "方式",
|
|
368
|
+
"label-width": "80px",
|
|
363
369
|
rules: [{ required: !0, message: "必填项", trigger: "blur" }],
|
|
364
370
|
prop: "submitFields." + s + ".matchFieldName"
|
|
365
371
|
}, {
|
|
366
372
|
default: l(() => [
|
|
367
|
-
e(
|
|
373
|
+
e(p, {
|
|
368
374
|
placeholder: "请输入",
|
|
369
375
|
modelValue: a.matchFieldName,
|
|
370
|
-
"onUpdate:modelValue": (
|
|
376
|
+
"onUpdate:modelValue": (u) => a.matchFieldName = u,
|
|
371
377
|
clearable: ""
|
|
372
378
|
}, {
|
|
373
379
|
prepend: l(() => [
|
|
374
|
-
e(
|
|
380
|
+
e(V, {
|
|
375
381
|
modelValue: a.matchType,
|
|
376
|
-
"onUpdate:modelValue": (
|
|
382
|
+
"onUpdate:modelValue": (u) => a.matchType = u,
|
|
377
383
|
placeholder: "请选择",
|
|
378
|
-
style: { width: "120px" }
|
|
384
|
+
style: { width: "120px" },
|
|
385
|
+
onChange: (u) => a.submitFieldMatchOrigin = "rowData"
|
|
379
386
|
}, {
|
|
380
387
|
default: l(() => [
|
|
381
|
-
(d(!0), b(f, null, _(o(se), (
|
|
388
|
+
(d(!0), b(f, null, _(o(se), (u, h) => (d(), m(g, {
|
|
382
389
|
key: h,
|
|
383
|
-
label:
|
|
384
|
-
value:
|
|
390
|
+
label: u.key,
|
|
391
|
+
value: u.value
|
|
385
392
|
}, null, 8, ["label", "value"]))), 128))
|
|
386
393
|
]),
|
|
387
394
|
_: 2
|
|
388
|
-
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
395
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
389
396
|
]),
|
|
390
397
|
_: 2
|
|
391
398
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -395,7 +402,30 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
395
402
|
]),
|
|
396
403
|
_: 2
|
|
397
404
|
}, 1024),
|
|
398
|
-
|
|
405
|
+
a.matchType === "match" ? (d(), m(i, {
|
|
406
|
+
key: 0,
|
|
407
|
+
span: 5
|
|
408
|
+
}, {
|
|
409
|
+
default: l(() => [
|
|
410
|
+
e(r, {
|
|
411
|
+
label: "匹配源",
|
|
412
|
+
rules: [{ required: !1, message: "必填项", trigger: "blur" }],
|
|
413
|
+
prop: "submitFields." + s + ".submitFieldMatchOrigin"
|
|
414
|
+
}, {
|
|
415
|
+
default: l(() => [
|
|
416
|
+
e(p, {
|
|
417
|
+
modelValue: a.submitFieldMatchOrigin,
|
|
418
|
+
"onUpdate:modelValue": (u) => a.submitFieldMatchOrigin = u,
|
|
419
|
+
placeholder: "请输入匹配源",
|
|
420
|
+
clearable: ""
|
|
421
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
422
|
+
]),
|
|
423
|
+
_: 2
|
|
424
|
+
}, 1032, ["prop"])
|
|
425
|
+
]),
|
|
426
|
+
_: 2
|
|
427
|
+
}, 1024)) : C("", !0),
|
|
428
|
+
e(i, { span: 4 }, {
|
|
399
429
|
default: l(() => [
|
|
400
430
|
e(r, {
|
|
401
431
|
label: "提交类型",
|
|
@@ -403,18 +433,18 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
403
433
|
prop: "submitFields." + s + ".submitFieldType"
|
|
404
434
|
}, {
|
|
405
435
|
default: l(() => [
|
|
406
|
-
e(
|
|
436
|
+
e(V, {
|
|
407
437
|
modelValue: a.submitFieldType,
|
|
408
|
-
"onUpdate:modelValue": (
|
|
438
|
+
"onUpdate:modelValue": (u) => a.submitFieldType = u,
|
|
409
439
|
placeholder: "请选择提交类型",
|
|
410
440
|
filterable: "",
|
|
411
441
|
clearable: ""
|
|
412
442
|
}, {
|
|
413
443
|
default: l(() => [
|
|
414
|
-
(d(!0), b(f, null, _(o(ie), (
|
|
444
|
+
(d(!0), b(f, null, _(o(ie), (u, h) => (d(), m(g, {
|
|
415
445
|
key: h,
|
|
416
|
-
label:
|
|
417
|
-
value:
|
|
446
|
+
label: u.key,
|
|
447
|
+
value: u.value
|
|
418
448
|
}, null, 8, ["label", "value"]))), 128))
|
|
419
449
|
]),
|
|
420
450
|
_: 2
|
|
@@ -427,15 +457,15 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
427
457
|
}, 1024),
|
|
428
458
|
e(i, {
|
|
429
459
|
class: "submit-operate",
|
|
430
|
-
span:
|
|
460
|
+
span: 1
|
|
431
461
|
}, {
|
|
432
462
|
default: l(() => [
|
|
433
|
-
e(
|
|
463
|
+
e(v, {
|
|
434
464
|
class: "match-opreate",
|
|
435
465
|
type: "danger",
|
|
436
466
|
icon: "Minus",
|
|
437
467
|
circle: "",
|
|
438
|
-
onClick: (
|
|
468
|
+
onClick: (u) => z(s)
|
|
439
469
|
}, null, 8, ["onClick"])
|
|
440
470
|
]),
|
|
441
471
|
_: 2
|
|
@@ -443,10 +473,10 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
443
473
|
]),
|
|
444
474
|
_: 2
|
|
445
475
|
}, 1024))), 128)),
|
|
446
|
-
e(
|
|
476
|
+
e(L, { "content-position": "left" }, {
|
|
447
477
|
default: l(() => [
|
|
448
478
|
U(" 匹配字段配置(表格操作列按钮显示/隐藏) "),
|
|
449
|
-
e(
|
|
479
|
+
e(v, {
|
|
450
480
|
class: "add-icon-btn",
|
|
451
481
|
type: "primary",
|
|
452
482
|
icon: "Plus",
|
|
@@ -456,7 +486,10 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
456
486
|
]),
|
|
457
487
|
_: 1
|
|
458
488
|
}),
|
|
459
|
-
(d(!0), b(f, null, _(o(t).matchFields, (a, s) => (d(), m(
|
|
489
|
+
(d(!0), b(f, null, _(o(t).matchFields, (a, s) => (d(), m(F, {
|
|
490
|
+
gutter: 24,
|
|
491
|
+
key: s
|
|
492
|
+
}, {
|
|
460
493
|
default: l(() => [
|
|
461
494
|
e(i, { span: 10 }, {
|
|
462
495
|
default: l(() => [
|
|
@@ -466,24 +499,24 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
466
499
|
prop: "matchFields." + s + ".matchFieldName"
|
|
467
500
|
}, {
|
|
468
501
|
default: l(() => [
|
|
469
|
-
e(
|
|
502
|
+
e(p, {
|
|
470
503
|
placeholder: "请输入",
|
|
471
504
|
modelValue: a.matchFieldName,
|
|
472
|
-
"onUpdate:modelValue": (
|
|
505
|
+
"onUpdate:modelValue": (u) => a.matchFieldName = u,
|
|
473
506
|
clearable: ""
|
|
474
507
|
}, {
|
|
475
508
|
prepend: l(() => [
|
|
476
|
-
e(
|
|
509
|
+
e(V, {
|
|
477
510
|
modelValue: a.matchType,
|
|
478
|
-
"onUpdate:modelValue": (
|
|
511
|
+
"onUpdate:modelValue": (u) => a.matchType = u,
|
|
479
512
|
placeholder: "请选择",
|
|
480
513
|
style: { width: "180px" }
|
|
481
514
|
}, {
|
|
482
515
|
default: l(() => [
|
|
483
|
-
(d(!0), b(f, null, _(o(me), (
|
|
516
|
+
(d(!0), b(f, null, _(o(me), (u, h) => (d(), m(g, {
|
|
484
517
|
key: h,
|
|
485
|
-
label:
|
|
486
|
-
value:
|
|
518
|
+
label: u.key,
|
|
519
|
+
value: u.value
|
|
487
520
|
}, null, 8, ["label", "value"]))), 128))
|
|
488
521
|
]),
|
|
489
522
|
_: 2
|
|
@@ -505,18 +538,18 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
505
538
|
prop: "matchFields." + s + ".matchCondition"
|
|
506
539
|
}, {
|
|
507
540
|
default: l(() => [
|
|
508
|
-
e(
|
|
541
|
+
e(V, {
|
|
509
542
|
modelValue: a.matchCondition,
|
|
510
|
-
"onUpdate:modelValue": (
|
|
543
|
+
"onUpdate:modelValue": (u) => a.matchCondition = u,
|
|
511
544
|
placeholder: "请选择匹配条件",
|
|
512
545
|
clearable: "",
|
|
513
546
|
filterable: ""
|
|
514
547
|
}, {
|
|
515
548
|
default: l(() => [
|
|
516
|
-
(d(!0), b(f, null, _(o(R), (
|
|
549
|
+
(d(!0), b(f, null, _(o(R), (u, h) => (d(), m(g, {
|
|
517
550
|
key: h,
|
|
518
|
-
label:
|
|
519
|
-
value:
|
|
551
|
+
label: u.key,
|
|
552
|
+
value: u.value
|
|
520
553
|
}, null, 8, ["label", "value"]))), 128))
|
|
521
554
|
]),
|
|
522
555
|
_: 2
|
|
@@ -534,9 +567,9 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
534
567
|
prop: "matchFields." + s + ".fieldValue"
|
|
535
568
|
}, {
|
|
536
569
|
default: l(() => [
|
|
537
|
-
e(
|
|
570
|
+
e(p, {
|
|
538
571
|
modelValue: a.fieldValue,
|
|
539
|
-
"onUpdate:modelValue": (
|
|
572
|
+
"onUpdate:modelValue": (u) => a.fieldValue = u,
|
|
540
573
|
placeholder: "请输入字段值",
|
|
541
574
|
clearable: ""
|
|
542
575
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -551,12 +584,12 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
551
584
|
span: 2
|
|
552
585
|
}, {
|
|
553
586
|
default: l(() => [
|
|
554
|
-
e(
|
|
587
|
+
e(v, {
|
|
555
588
|
class: "match-opreate",
|
|
556
589
|
type: "danger",
|
|
557
590
|
icon: "Minus",
|
|
558
591
|
circle: "",
|
|
559
|
-
onClick: (
|
|
592
|
+
onClick: (u) => K(s)
|
|
560
593
|
}, null, 8, ["onClick"])
|
|
561
594
|
]),
|
|
562
595
|
_: 2
|
|
@@ -573,18 +606,18 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
573
606
|
prop: "matchFields." + s + ".spliceCondition"
|
|
574
607
|
}, {
|
|
575
608
|
default: l(() => [
|
|
576
|
-
e(
|
|
609
|
+
e(V, {
|
|
577
610
|
modelValue: a.spliceCondition,
|
|
578
|
-
"onUpdate:modelValue": (
|
|
611
|
+
"onUpdate:modelValue": (u) => a.spliceCondition = u,
|
|
579
612
|
placeholder: "请选择拼接条件",
|
|
580
613
|
clearable: "",
|
|
581
614
|
filterable: ""
|
|
582
615
|
}, {
|
|
583
616
|
default: l(() => [
|
|
584
|
-
(d(!0), b(f, null, _(o(pe), (
|
|
617
|
+
(d(!0), b(f, null, _(o(pe), (u, h) => (d(), m(g, {
|
|
585
618
|
key: h,
|
|
586
|
-
label:
|
|
587
|
-
value:
|
|
619
|
+
label: u.key,
|
|
620
|
+
value: u.value
|
|
588
621
|
}, null, 8, ["label", "value"]))), 128))
|
|
589
622
|
]),
|
|
590
623
|
_: 2
|
|
@@ -598,7 +631,7 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
598
631
|
]),
|
|
599
632
|
_: 2
|
|
600
633
|
}, 1024))), 128)),
|
|
601
|
-
e(
|
|
634
|
+
e(F, { gutter: 24 }, {
|
|
602
635
|
default: l(() => [
|
|
603
636
|
e(i, { span: 4 }, {
|
|
604
637
|
default: l(() => [
|
|
@@ -609,8 +642,8 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
609
642
|
default: l(() => [
|
|
610
643
|
e(Q, {
|
|
611
644
|
modelValue: o(t).isCustomBtn,
|
|
612
|
-
"onUpdate:modelValue":
|
|
613
|
-
onChange:
|
|
645
|
+
"onUpdate:modelValue": n[8] || (n[8] = (a) => o(t).isCustomBtn = a),
|
|
646
|
+
onChange: $
|
|
614
647
|
}, null, 8, ["modelValue"])
|
|
615
648
|
]),
|
|
616
649
|
_: 1
|
|
@@ -629,15 +662,15 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
629
662
|
prop: "customType"
|
|
630
663
|
}, {
|
|
631
664
|
default: l(() => [
|
|
632
|
-
e(
|
|
665
|
+
e(V, {
|
|
633
666
|
modelValue: o(t).customType,
|
|
634
|
-
"onUpdate:modelValue":
|
|
667
|
+
"onUpdate:modelValue": n[9] || (n[9] = (a) => o(t).customType = a),
|
|
635
668
|
placeholder: "请选择关联菜单",
|
|
636
669
|
filterable: "",
|
|
637
670
|
clearable: ""
|
|
638
671
|
}, {
|
|
639
672
|
default: l(() => [
|
|
640
|
-
(d(!0), b(f, null, _(o(ce), (a, s) => (d(), m(
|
|
673
|
+
(d(!0), b(f, null, _(o(ce), (a, s) => (d(), m(g, {
|
|
641
674
|
key: s,
|
|
642
675
|
label: a.key,
|
|
643
676
|
value: a.value
|
|
@@ -654,7 +687,10 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
654
687
|
]),
|
|
655
688
|
_: 1
|
|
656
689
|
}),
|
|
657
|
-
o(t).customType === "code" ? (d(), m(
|
|
690
|
+
o(t).customType === "code" ? (d(), m(F, {
|
|
691
|
+
key: 0,
|
|
692
|
+
gutter: 24
|
|
693
|
+
}, {
|
|
658
694
|
default: l(() => [
|
|
659
695
|
e(i, { span: 24 }, {
|
|
660
696
|
default: l(() => [
|
|
@@ -664,9 +700,9 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
664
700
|
prop: "codeStr"
|
|
665
701
|
}, {
|
|
666
702
|
default: l(() => [
|
|
667
|
-
e(
|
|
703
|
+
e(p, {
|
|
668
704
|
modelValue: o(t).codeStr,
|
|
669
|
-
"onUpdate:modelValue":
|
|
705
|
+
"onUpdate:modelValue": n[10] || (n[10] = (a) => o(t).codeStr = a),
|
|
670
706
|
placeholder: "请输入代码",
|
|
671
707
|
rows: 4,
|
|
672
708
|
type: "textarea",
|
|
@@ -681,7 +717,10 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
681
717
|
]),
|
|
682
718
|
_: 1
|
|
683
719
|
})) : C("", !0),
|
|
684
|
-
o(t).customType === "component" ? (d(), m(
|
|
720
|
+
o(t).customType === "component" ? (d(), m(F, {
|
|
721
|
+
key: 1,
|
|
722
|
+
gutter: 24
|
|
723
|
+
}, {
|
|
685
724
|
default: l(() => [
|
|
686
725
|
e(i, { span: 9 }, {
|
|
687
726
|
default: l(() => [
|
|
@@ -691,14 +730,14 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
691
730
|
prop: "customComponentName"
|
|
692
731
|
}, {
|
|
693
732
|
default: l(() => [
|
|
694
|
-
e(
|
|
733
|
+
e(p, {
|
|
695
734
|
modelValue: o(t).customComponentName,
|
|
696
|
-
"onUpdate:modelValue":
|
|
735
|
+
"onUpdate:modelValue": n[11] || (n[11] = (a) => o(t).customComponentName = a),
|
|
697
736
|
placeholder: "请输入组件名称",
|
|
698
737
|
clearable: ""
|
|
699
738
|
}, {
|
|
700
739
|
prepend: l(() => [
|
|
701
|
-
U(
|
|
740
|
+
U(O(E.value), 1)
|
|
702
741
|
]),
|
|
703
742
|
_: 1
|
|
704
743
|
}, 8, ["modelValue"])
|
|
@@ -716,9 +755,9 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
716
755
|
prop: "customComponentUrl"
|
|
717
756
|
}, {
|
|
718
757
|
default: l(() => [
|
|
719
|
-
e(
|
|
758
|
+
e(p, {
|
|
720
759
|
modelValue: o(t).customComponentUrl,
|
|
721
|
-
"onUpdate:modelValue":
|
|
760
|
+
"onUpdate:modelValue": n[12] || (n[12] = (a) => o(t).customComponentUrl = a),
|
|
722
761
|
placeholder: "请输入组件地址",
|
|
723
762
|
clearable: ""
|
|
724
763
|
}, null, 8, ["modelValue"])
|
|
@@ -732,15 +771,15 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
732
771
|
default: l(() => [
|
|
733
772
|
e(r, { label: "关联菜单" }, {
|
|
734
773
|
default: l(() => [
|
|
735
|
-
e(
|
|
774
|
+
e(V, {
|
|
736
775
|
modelValue: o(t).associationMenuId,
|
|
737
|
-
"onUpdate:modelValue":
|
|
776
|
+
"onUpdate:modelValue": n[13] || (n[13] = (a) => o(t).associationMenuId = a),
|
|
738
777
|
placeholder: "请选择关联菜单",
|
|
739
778
|
filterable: "",
|
|
740
779
|
clearable: ""
|
|
741
780
|
}, {
|
|
742
781
|
default: l(() => [
|
|
743
|
-
(d(!0), b(f, null, _(o(W), (a, s) => (d(), m(
|
|
782
|
+
(d(!0), b(f, null, _(o(W), (a, s) => (d(), m(g, {
|
|
744
783
|
key: s,
|
|
745
784
|
label: a.name,
|
|
746
785
|
value: a.id
|
|
@@ -765,7 +804,7 @@ const Ve = { class: "dialog-footer" }, ge = {
|
|
|
765
804
|
}, 8, ["model-value", "title"]);
|
|
766
805
|
};
|
|
767
806
|
}
|
|
768
|
-
}, ke = /* @__PURE__ */ be(
|
|
807
|
+
}, ke = /* @__PURE__ */ be(Ve, [["__scopeId", "data-v-ea742434"]]);
|
|
769
808
|
export {
|
|
770
809
|
ke as default
|
|
771
810
|
};
|