act-plus 1.1.39 → 1.1.41
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 +4 -4
- package/act-plus.umd.cjs +62 -62
- package/lib/{dialogAddField-15d985a0.js → dialogAddField-3c740262.js} +219 -213
- package/lib/{dialogConfigBtn-2dff5fd1.js → dialogConfigBtn-8bfd8dd7.js} +84 -87
- package/lib/dialogSiteComponentsParams-b6c8001c.js +71 -0
- package/lib/{index-049908aa.js → index-0c36aa40.js} +3 -3
- package/lib/index-266b8842.js +403 -0
- package/lib/{index-9532f747.js → index-333a11e5.js} +1 -1
- package/lib/{index-695e54dd.js → index-40115216.js} +32991 -31790
- package/lib/{index-fced38e4.js → index-4398f116.js} +33 -33
- package/lib/index-e9d31e0d.js +107 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/lib/configBtns-728ef16d.js +0 -155
- package/lib/configFileds-9e744154.js +0 -199
- package/lib/configForm-e91a1aa7.js +0 -129
- package/lib/configTable-416757c9.js +0 -416
- package/lib/dialogInitConfig-51ed8f7d.js +0 -188
- package/lib/dialogSiteComponentsParams-9c74c09e.js +0 -71
- package/lib/enum-d734222c.js +0 -119
- package/lib/index-12816422.js +0 -376
- package/lib/index-2a3f9431.js +0 -102
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { defineAsyncComponent as O, inject as N, computed as ue, reactive as ne, ref as
|
|
2
|
-
import {
|
|
3
|
-
import { useRoute as
|
|
4
|
-
import { _ as Ce } from "./index-695e54dd.js";
|
|
1
|
+
import { defineAsyncComponent as O, inject as N, computed as ue, reactive as ne, ref as q, watch as de, resolveComponent as y, resolveDirective as re, openBlock as d, createBlock as m, withCtx as e, createElementVNode as se, createVNode as l, unref as o, createTextVNode as U, withDirectives as ie, toDisplayString as A, createCommentVNode as C, createElementBlock as b, Fragment as f, renderList as _ } from "vue";
|
|
2
|
+
import { _ as me, B as pe, c as ce, d as be, e as fe, f as _e, g as ge, h as Ve, i as ye, j as he } from "./index-40115216.js";
|
|
3
|
+
import { useRoute as Ce } from "vue-router";
|
|
5
4
|
import "js-base64";
|
|
6
5
|
import "element-plus";
|
|
7
6
|
import "monaco-editor";
|
|
@@ -14,14 +13,12 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
14
13
|
},
|
|
15
14
|
emits: ["update:visible", "refresh"],
|
|
16
15
|
setup(x, { emit: D }) {
|
|
17
|
-
const P = O(() => import("./index-
|
|
16
|
+
const P = O(() => import("./index-4398f116.js")), E = O(() => import("./index-40115216.js").then((p) => p.q)), W = Ce(), R = N("request"), I = D, T = x, Y = ue(() => W.params.key);
|
|
18
17
|
let k = ne((() => ({
|
|
19
18
|
btnLoading: !1
|
|
20
19
|
}))());
|
|
21
20
|
const M = N("createDefaultButtonItem"), j = N("associationMenuList"), $ = N("conditionList")();
|
|
22
|
-
let w =
|
|
23
|
-
B([]);
|
|
24
|
-
let S = B(null), t = B(M());
|
|
21
|
+
let w = q([]), B = q(null), t = q(M());
|
|
25
22
|
const z = (p) => R({ url: "/api/v1/icons/getAllList", method: "post", data: p }), H = async () => {
|
|
26
23
|
try {
|
|
27
24
|
const { data: p } = await z({ dynamicFilters: [{ field: "type", operate: "Equal", value: "2" }] });
|
|
@@ -32,7 +29,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
32
29
|
};
|
|
33
30
|
de(
|
|
34
31
|
() => T.visible,
|
|
35
|
-
async (p,
|
|
32
|
+
async (p, u) => {
|
|
36
33
|
if (p) {
|
|
37
34
|
await H();
|
|
38
35
|
const c = { ...T.data };
|
|
@@ -53,24 +50,24 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
53
50
|
}, X = (p) => {
|
|
54
51
|
t.value.matchFields.splice(p, 1), t.value.matchFields.length === 1 && (t.value.matchFields[0].spliceCondition = "");
|
|
55
52
|
}, Z = (p) => {
|
|
56
|
-
|
|
57
|
-
},
|
|
58
|
-
t.value = Object.assign(t.value, M()),
|
|
53
|
+
S(), p();
|
|
54
|
+
}, S = () => {
|
|
55
|
+
t.value = Object.assign(t.value, M()), B.value.resetFields(), I("update:visible", !1);
|
|
59
56
|
}, ee = (p) => {
|
|
60
|
-
p && p.validate((
|
|
61
|
-
if (
|
|
57
|
+
p && p.validate((u) => {
|
|
58
|
+
if (u)
|
|
62
59
|
try {
|
|
63
60
|
k.btnLoading = !0, I("refresh", { ...t.value, submitFields: [...t.value.submitFields], matchFields: [...t.value.matchFields] }, () => {
|
|
64
|
-
|
|
61
|
+
S();
|
|
65
62
|
}), k.btnLoading = !1;
|
|
66
63
|
} catch (c) {
|
|
67
64
|
console.error(c), k.btnLoading = !1;
|
|
68
65
|
}
|
|
69
66
|
});
|
|
70
67
|
};
|
|
71
|
-
return (p,
|
|
68
|
+
return (p, u) => {
|
|
72
69
|
const c = y("el-input"), r = y("el-form-item"), i = y("el-col"), g = y("el-option"), V = y("el-select"), v = y("el-row"), F = y("el-button"), L = y("el-divider"), le = y("el-switch"), ae = y("el-form"), te = y("el-dialog"), oe = re("debounce");
|
|
73
|
-
return
|
|
70
|
+
return d(), m(te, {
|
|
74
71
|
"model-value": T.visible,
|
|
75
72
|
title: T.title,
|
|
76
73
|
top: "5vh",
|
|
@@ -84,21 +81,21 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
84
81
|
se("span", ve, [
|
|
85
82
|
l(F, {
|
|
86
83
|
loading: o(k).btnLoading,
|
|
87
|
-
onClick:
|
|
84
|
+
onClick: S
|
|
88
85
|
}, {
|
|
89
|
-
default: e(() => [
|
|
86
|
+
default: e(() => u[17] || (u[17] = [
|
|
90
87
|
U("取消")
|
|
91
|
-
]),
|
|
88
|
+
])),
|
|
92
89
|
_: 1
|
|
93
90
|
}, 8, ["loading"]),
|
|
94
|
-
ie((
|
|
91
|
+
ie((d(), m(F, {
|
|
95
92
|
type: "primary",
|
|
96
93
|
loading: o(k).btnLoading,
|
|
97
|
-
onClick:
|
|
94
|
+
onClick: u[14] || (u[14] = (a) => ee(o(B)))
|
|
98
95
|
}, {
|
|
99
|
-
default: e(() => [
|
|
96
|
+
default: e(() => u[18] || (u[18] = [
|
|
100
97
|
U("保存")
|
|
101
|
-
]),
|
|
98
|
+
])),
|
|
102
99
|
_: 1
|
|
103
100
|
}, 8, ["loading"])), [
|
|
104
101
|
[oe]
|
|
@@ -108,7 +105,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
108
105
|
default: e(() => [
|
|
109
106
|
l(ae, {
|
|
110
107
|
ref_key: "formRef",
|
|
111
|
-
ref:
|
|
108
|
+
ref: B,
|
|
112
109
|
model: o(t),
|
|
113
110
|
"label-suffix": ":",
|
|
114
111
|
"label-position": "top"
|
|
@@ -125,7 +122,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
125
122
|
default: e(() => [
|
|
126
123
|
l(c, {
|
|
127
124
|
modelValue: o(t).btnName,
|
|
128
|
-
"onUpdate:modelValue":
|
|
125
|
+
"onUpdate:modelValue": u[0] || (u[0] = (a) => o(t).btnName = a),
|
|
129
126
|
disabled: "",
|
|
130
127
|
placeholder: "请输入按钮名称"
|
|
131
128
|
}, {
|
|
@@ -149,7 +146,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
149
146
|
default: e(() => [
|
|
150
147
|
l(o(P), {
|
|
151
148
|
modelValue: o(t).btnIcon,
|
|
152
|
-
"onUpdate:modelValue":
|
|
149
|
+
"onUpdate:modelValue": u[1] || (u[1] = (a) => o(t).btnIcon = a),
|
|
153
150
|
icons: o(w),
|
|
154
151
|
props: { value: "name", type: "btn" }
|
|
155
152
|
}, null, 8, ["modelValue", "icons"])
|
|
@@ -159,7 +156,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
159
156
|
]),
|
|
160
157
|
_: 1
|
|
161
158
|
}),
|
|
162
|
-
o(t).permissionCode != "1001" && !o(t).isCustomBtn ? (
|
|
159
|
+
o(t).permissionCode != "1001" && !o(t).isCustomBtn ? (d(), m(i, {
|
|
163
160
|
key: 0,
|
|
164
161
|
span: 24
|
|
165
162
|
}, {
|
|
@@ -172,7 +169,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
172
169
|
default: e(() => [
|
|
173
170
|
l(c, {
|
|
174
171
|
modelValue: o(t).requestUrl,
|
|
175
|
-
"onUpdate:modelValue":
|
|
172
|
+
"onUpdate:modelValue": u[2] || (u[2] = (a) => o(t).requestUrl = a),
|
|
176
173
|
placeholder: "请输入接口地址",
|
|
177
174
|
clearable: ""
|
|
178
175
|
}, null, 8, ["modelValue"])
|
|
@@ -192,13 +189,13 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
192
189
|
default: e(() => [
|
|
193
190
|
l(V, {
|
|
194
191
|
modelValue: o(t).btnPostion,
|
|
195
|
-
"onUpdate:modelValue":
|
|
192
|
+
"onUpdate:modelValue": u[3] || (u[3] = (a) => o(t).btnPostion = a),
|
|
196
193
|
placeholder: "请选择按钮位置",
|
|
197
194
|
filterable: "",
|
|
198
195
|
clearable: ""
|
|
199
196
|
}, {
|
|
200
197
|
default: e(() => [
|
|
201
|
-
(
|
|
198
|
+
(d(!0), b(f, null, _(o(pe), (a, s) => (d(), m(g, {
|
|
202
199
|
key: s,
|
|
203
200
|
label: a.key,
|
|
204
201
|
value: a.value
|
|
@@ -222,13 +219,13 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
222
219
|
default: e(() => [
|
|
223
220
|
l(V, {
|
|
224
221
|
modelValue: o(t).btnType,
|
|
225
|
-
"onUpdate:modelValue":
|
|
222
|
+
"onUpdate:modelValue": u[4] || (u[4] = (a) => o(t).btnType = a),
|
|
226
223
|
placeholder: "请选择按钮类型",
|
|
227
224
|
filterable: "",
|
|
228
225
|
clearable: ""
|
|
229
226
|
}, {
|
|
230
227
|
default: e(() => [
|
|
231
|
-
(
|
|
228
|
+
(d(!0), b(f, null, _(o(ce), (a, s) => (d(), m(g, {
|
|
232
229
|
key: s,
|
|
233
230
|
label: a.key,
|
|
234
231
|
value: a.value
|
|
@@ -251,7 +248,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
251
248
|
default: e(() => [
|
|
252
249
|
l(c, {
|
|
253
250
|
modelValue: o(t).btnAlias,
|
|
254
|
-
"onUpdate:modelValue":
|
|
251
|
+
"onUpdate:modelValue": u[5] || (u[5] = (a) => o(t).btnAlias = a),
|
|
255
252
|
placeholder: "请输入按钮别名",
|
|
256
253
|
clearable: ""
|
|
257
254
|
}, null, 8, ["modelValue"])
|
|
@@ -271,13 +268,13 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
271
268
|
default: e(() => [
|
|
272
269
|
l(V, {
|
|
273
270
|
modelValue: o(t).btnColor,
|
|
274
|
-
"onUpdate:modelValue":
|
|
271
|
+
"onUpdate:modelValue": u[6] || (u[6] = (a) => o(t).btnColor = a),
|
|
275
272
|
placeholder: "请选择按钮颜色",
|
|
276
273
|
filterable: "",
|
|
277
274
|
clearable: ""
|
|
278
275
|
}, {
|
|
279
276
|
default: e(() => [
|
|
280
|
-
(
|
|
277
|
+
(d(!0), b(f, null, _(o(be), (a, s) => (d(), m(g, {
|
|
281
278
|
key: s,
|
|
282
279
|
label: a.key,
|
|
283
280
|
value: a.value
|
|
@@ -291,12 +288,12 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
291
288
|
]),
|
|
292
289
|
_: 1
|
|
293
290
|
}),
|
|
294
|
-
!o(t).isCustomBtn && o(t).permissionCode != "1001" ? (
|
|
291
|
+
!o(t).isCustomBtn && o(t).permissionCode != "1001" ? (d(), m(i, {
|
|
295
292
|
key: 1,
|
|
296
293
|
span: 12
|
|
297
294
|
}, {
|
|
298
295
|
default: e(() => [
|
|
299
|
-
!o(t).isCustomBtn && o(t).permissionCode != "1001" ? (
|
|
296
|
+
!o(t).isCustomBtn && o(t).permissionCode != "1001" ? (d(), m(r, {
|
|
300
297
|
key: 0,
|
|
301
298
|
label: "提交方式",
|
|
302
299
|
rules: [{ required: !0, message: "必填项", trigger: "change" }],
|
|
@@ -305,13 +302,13 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
305
302
|
default: e(() => [
|
|
306
303
|
l(V, {
|
|
307
304
|
modelValue: o(t).submitWay,
|
|
308
|
-
"onUpdate:modelValue":
|
|
305
|
+
"onUpdate:modelValue": u[7] || (u[7] = (a) => o(t).submitWay = a),
|
|
309
306
|
placeholder: "请选择提交方式",
|
|
310
307
|
filterable: "",
|
|
311
308
|
clearable: ""
|
|
312
309
|
}, {
|
|
313
310
|
default: e(() => [
|
|
314
|
-
(
|
|
311
|
+
(d(!0), b(f, null, _(o(fe), (a, s) => (d(), m(g, {
|
|
315
312
|
key: s,
|
|
316
313
|
label: a.key,
|
|
317
314
|
value: a.value
|
|
@@ -330,7 +327,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
330
327
|
}),
|
|
331
328
|
l(L, { "content-position": "left" }, {
|
|
332
329
|
default: e(() => [
|
|
333
|
-
U(" 提交字段配置 "),
|
|
330
|
+
u[15] || (u[15] = U(" 提交字段配置 ")),
|
|
334
331
|
l(F, {
|
|
335
332
|
class: "add-icon-btn",
|
|
336
333
|
type: "primary",
|
|
@@ -341,7 +338,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
341
338
|
]),
|
|
342
339
|
_: 1
|
|
343
340
|
}),
|
|
344
|
-
(
|
|
341
|
+
(d(!0), b(f, null, _(o(t).submitFields, (a, s) => (d(), m(v, {
|
|
345
342
|
gutter: 24,
|
|
346
343
|
key: s
|
|
347
344
|
}, {
|
|
@@ -356,7 +353,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
356
353
|
default: e(() => [
|
|
357
354
|
l(c, {
|
|
358
355
|
modelValue: a.submitFieldName,
|
|
359
|
-
"onUpdate:modelValue": (
|
|
356
|
+
"onUpdate:modelValue": (n) => a.submitFieldName = n,
|
|
360
357
|
placeholder: "请输入提交字段名",
|
|
361
358
|
clearable: ""
|
|
362
359
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -378,22 +375,22 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
378
375
|
l(c, {
|
|
379
376
|
placeholder: "请输入",
|
|
380
377
|
modelValue: a.matchFieldName,
|
|
381
|
-
"onUpdate:modelValue": (
|
|
378
|
+
"onUpdate:modelValue": (n) => a.matchFieldName = n,
|
|
382
379
|
clearable: ""
|
|
383
380
|
}, {
|
|
384
381
|
prepend: e(() => [
|
|
385
382
|
l(V, {
|
|
386
383
|
modelValue: a.matchType,
|
|
387
|
-
"onUpdate:modelValue": (
|
|
384
|
+
"onUpdate:modelValue": (n) => a.matchType = n,
|
|
388
385
|
placeholder: "请选择",
|
|
389
386
|
style: { width: "120px" },
|
|
390
|
-
onChange: (
|
|
387
|
+
onChange: (n) => a.submitFieldMatchOrigin = "rowData"
|
|
391
388
|
}, {
|
|
392
389
|
default: e(() => [
|
|
393
|
-
(
|
|
390
|
+
(d(!0), b(f, null, _(o(_e), (n, h) => (d(), m(g, {
|
|
394
391
|
key: h,
|
|
395
|
-
label:
|
|
396
|
-
value:
|
|
392
|
+
label: n.key,
|
|
393
|
+
value: n.value
|
|
397
394
|
}, null, 8, ["label", "value"]))), 128))
|
|
398
395
|
]),
|
|
399
396
|
_: 2
|
|
@@ -407,7 +404,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
407
404
|
]),
|
|
408
405
|
_: 2
|
|
409
406
|
}, 1024),
|
|
410
|
-
a.matchType === "match" ? (
|
|
407
|
+
a.matchType === "match" ? (d(), m(i, {
|
|
411
408
|
key: 0,
|
|
412
409
|
span: 5
|
|
413
410
|
}, {
|
|
@@ -420,7 +417,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
420
417
|
default: e(() => [
|
|
421
418
|
l(c, {
|
|
422
419
|
modelValue: a.submitFieldMatchOrigin,
|
|
423
|
-
"onUpdate:modelValue": (
|
|
420
|
+
"onUpdate:modelValue": (n) => a.submitFieldMatchOrigin = n,
|
|
424
421
|
placeholder: "请输入匹配源",
|
|
425
422
|
clearable: ""
|
|
426
423
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -440,16 +437,16 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
440
437
|
default: e(() => [
|
|
441
438
|
l(V, {
|
|
442
439
|
modelValue: a.submitFieldType,
|
|
443
|
-
"onUpdate:modelValue": (
|
|
440
|
+
"onUpdate:modelValue": (n) => a.submitFieldType = n,
|
|
444
441
|
placeholder: "请选择提交类型",
|
|
445
442
|
filterable: "",
|
|
446
443
|
clearable: ""
|
|
447
444
|
}, {
|
|
448
445
|
default: e(() => [
|
|
449
|
-
(
|
|
446
|
+
(d(!0), b(f, null, _(o(ge), (n, h) => (d(), m(g, {
|
|
450
447
|
key: h,
|
|
451
|
-
label:
|
|
452
|
-
value:
|
|
448
|
+
label: n.key,
|
|
449
|
+
value: n.value
|
|
453
450
|
}, null, 8, ["label", "value"]))), 128))
|
|
454
451
|
]),
|
|
455
452
|
_: 2
|
|
@@ -470,7 +467,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
470
467
|
type: "danger",
|
|
471
468
|
icon: "Minus",
|
|
472
469
|
circle: "",
|
|
473
|
-
onClick: (
|
|
470
|
+
onClick: (n) => J(s)
|
|
474
471
|
}, null, 8, ["onClick"])
|
|
475
472
|
]),
|
|
476
473
|
_: 2
|
|
@@ -480,7 +477,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
480
477
|
}, 1024))), 128)),
|
|
481
478
|
l(L, { "content-position": "left" }, {
|
|
482
479
|
default: e(() => [
|
|
483
|
-
U(" 匹配字段配置(表格操作列按钮显示/隐藏) "),
|
|
480
|
+
u[16] || (u[16] = U(" 匹配字段配置(表格操作列按钮显示/隐藏) ")),
|
|
484
481
|
l(F, {
|
|
485
482
|
class: "add-icon-btn",
|
|
486
483
|
type: "primary",
|
|
@@ -491,7 +488,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
491
488
|
]),
|
|
492
489
|
_: 1
|
|
493
490
|
}),
|
|
494
|
-
(
|
|
491
|
+
(d(!0), b(f, null, _(o(t).matchFields, (a, s) => (d(), m(v, {
|
|
495
492
|
gutter: 24,
|
|
496
493
|
key: s
|
|
497
494
|
}, {
|
|
@@ -507,21 +504,21 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
507
504
|
l(c, {
|
|
508
505
|
placeholder: "请输入",
|
|
509
506
|
modelValue: a.matchFieldName,
|
|
510
|
-
"onUpdate:modelValue": (
|
|
507
|
+
"onUpdate:modelValue": (n) => a.matchFieldName = n,
|
|
511
508
|
clearable: ""
|
|
512
509
|
}, {
|
|
513
510
|
prepend: e(() => [
|
|
514
511
|
l(V, {
|
|
515
512
|
modelValue: a.matchType,
|
|
516
|
-
"onUpdate:modelValue": (
|
|
513
|
+
"onUpdate:modelValue": (n) => a.matchType = n,
|
|
517
514
|
placeholder: "请选择",
|
|
518
515
|
style: { width: "180px" }
|
|
519
516
|
}, {
|
|
520
517
|
default: e(() => [
|
|
521
|
-
(
|
|
518
|
+
(d(!0), b(f, null, _(o(Ve), (n, h) => (d(), m(g, {
|
|
522
519
|
key: h,
|
|
523
|
-
label:
|
|
524
|
-
value:
|
|
520
|
+
label: n.key,
|
|
521
|
+
value: n.value
|
|
525
522
|
}, null, 8, ["label", "value"]))), 128))
|
|
526
523
|
]),
|
|
527
524
|
_: 2
|
|
@@ -545,16 +542,16 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
545
542
|
default: e(() => [
|
|
546
543
|
l(V, {
|
|
547
544
|
modelValue: a.matchCondition,
|
|
548
|
-
"onUpdate:modelValue": (
|
|
545
|
+
"onUpdate:modelValue": (n) => a.matchCondition = n,
|
|
549
546
|
placeholder: "请选择匹配条件",
|
|
550
547
|
clearable: "",
|
|
551
548
|
filterable: ""
|
|
552
549
|
}, {
|
|
553
550
|
default: e(() => [
|
|
554
|
-
(
|
|
551
|
+
(d(!0), b(f, null, _(o($), (n, h) => (d(), m(g, {
|
|
555
552
|
key: h,
|
|
556
|
-
label:
|
|
557
|
-
value:
|
|
553
|
+
label: n.key,
|
|
554
|
+
value: n.value
|
|
558
555
|
}, null, 8, ["label", "value"]))), 128))
|
|
559
556
|
]),
|
|
560
557
|
_: 2
|
|
@@ -574,7 +571,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
574
571
|
default: e(() => [
|
|
575
572
|
l(c, {
|
|
576
573
|
modelValue: a.fieldValue,
|
|
577
|
-
"onUpdate:modelValue": (
|
|
574
|
+
"onUpdate:modelValue": (n) => a.fieldValue = n,
|
|
578
575
|
placeholder: "请输入字段值",
|
|
579
576
|
clearable: ""
|
|
580
577
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -594,12 +591,12 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
594
591
|
type: "danger",
|
|
595
592
|
icon: "Minus",
|
|
596
593
|
circle: "",
|
|
597
|
-
onClick: (
|
|
594
|
+
onClick: (n) => X(s)
|
|
598
595
|
}, null, 8, ["onClick"])
|
|
599
596
|
]),
|
|
600
597
|
_: 2
|
|
601
598
|
}, 1024),
|
|
602
|
-
s + 1 !== o(t).matchFields.length ? (
|
|
599
|
+
s + 1 !== o(t).matchFields.length ? (d(), m(i, {
|
|
603
600
|
key: 0,
|
|
604
601
|
span: 24
|
|
605
602
|
}, {
|
|
@@ -613,16 +610,16 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
613
610
|
default: e(() => [
|
|
614
611
|
l(V, {
|
|
615
612
|
modelValue: a.spliceCondition,
|
|
616
|
-
"onUpdate:modelValue": (
|
|
613
|
+
"onUpdate:modelValue": (n) => a.spliceCondition = n,
|
|
617
614
|
placeholder: "请选择拼接条件",
|
|
618
615
|
clearable: "",
|
|
619
616
|
filterable: ""
|
|
620
617
|
}, {
|
|
621
618
|
default: e(() => [
|
|
622
|
-
(
|
|
619
|
+
(d(!0), b(f, null, _(o(ye), (n, h) => (d(), m(g, {
|
|
623
620
|
key: h,
|
|
624
|
-
label:
|
|
625
|
-
value:
|
|
621
|
+
label: n.key,
|
|
622
|
+
value: n.value
|
|
626
623
|
}, null, 8, ["label", "value"]))), 128))
|
|
627
624
|
]),
|
|
628
625
|
_: 2
|
|
@@ -647,7 +644,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
647
644
|
default: e(() => [
|
|
648
645
|
l(le, {
|
|
649
646
|
modelValue: o(t).isCustomBtn,
|
|
650
|
-
"onUpdate:modelValue":
|
|
647
|
+
"onUpdate:modelValue": u[8] || (u[8] = (a) => o(t).isCustomBtn = a),
|
|
651
648
|
onChange: K
|
|
652
649
|
}, null, 8, ["modelValue"])
|
|
653
650
|
]),
|
|
@@ -656,7 +653,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
656
653
|
]),
|
|
657
654
|
_: 1
|
|
658
655
|
}),
|
|
659
|
-
o(t).isCustomBtn ? (
|
|
656
|
+
o(t).isCustomBtn ? (d(), m(i, {
|
|
660
657
|
key: 0,
|
|
661
658
|
span: 6
|
|
662
659
|
}, {
|
|
@@ -669,13 +666,13 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
669
666
|
default: e(() => [
|
|
670
667
|
l(V, {
|
|
671
668
|
modelValue: o(t).customType,
|
|
672
|
-
"onUpdate:modelValue":
|
|
669
|
+
"onUpdate:modelValue": u[9] || (u[9] = (a) => o(t).customType = a),
|
|
673
670
|
placeholder: "请选择关联菜单",
|
|
674
671
|
filterable: "",
|
|
675
672
|
clearable: ""
|
|
676
673
|
}, {
|
|
677
674
|
default: e(() => [
|
|
678
|
-
(
|
|
675
|
+
(d(!0), b(f, null, _(o(he), (a, s) => (d(), m(g, {
|
|
679
676
|
key: s,
|
|
680
677
|
label: a.key,
|
|
681
678
|
value: a.value
|
|
@@ -692,7 +689,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
692
689
|
]),
|
|
693
690
|
_: 1
|
|
694
691
|
}),
|
|
695
|
-
o(t).customType === "code" ? (
|
|
692
|
+
o(t).customType === "code" ? (d(), m(v, {
|
|
696
693
|
key: 0,
|
|
697
694
|
gutter: 24
|
|
698
695
|
}, {
|
|
@@ -707,7 +704,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
707
704
|
default: e(() => [
|
|
708
705
|
l(o(E), {
|
|
709
706
|
modelValue: o(t).codeStr,
|
|
710
|
-
"onUpdate:modelValue":
|
|
707
|
+
"onUpdate:modelValue": u[10] || (u[10] = (a) => o(t).codeStr = a)
|
|
711
708
|
}, null, 8, ["modelValue"])
|
|
712
709
|
]),
|
|
713
710
|
_: 1
|
|
@@ -718,7 +715,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
718
715
|
]),
|
|
719
716
|
_: 1
|
|
720
717
|
})) : C("", !0),
|
|
721
|
-
o(t).customType === "component" ? (
|
|
718
|
+
o(t).customType === "component" ? (d(), m(v, {
|
|
722
719
|
key: 1,
|
|
723
720
|
gutter: 24
|
|
724
721
|
}, {
|
|
@@ -733,7 +730,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
733
730
|
default: e(() => [
|
|
734
731
|
l(c, {
|
|
735
732
|
modelValue: o(t).customComponentName,
|
|
736
|
-
"onUpdate:modelValue":
|
|
733
|
+
"onUpdate:modelValue": u[11] || (u[11] = (a) => o(t).customComponentName = a),
|
|
737
734
|
placeholder: "请输入组件名称",
|
|
738
735
|
clearable: ""
|
|
739
736
|
}, {
|
|
@@ -758,7 +755,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
758
755
|
default: e(() => [
|
|
759
756
|
l(c, {
|
|
760
757
|
modelValue: o(t).customComponentUrl,
|
|
761
|
-
"onUpdate:modelValue":
|
|
758
|
+
"onUpdate:modelValue": u[12] || (u[12] = (a) => o(t).customComponentUrl = a),
|
|
762
759
|
placeholder: "请输入组件地址",
|
|
763
760
|
clearable: ""
|
|
764
761
|
}, null, 8, ["modelValue"])
|
|
@@ -774,13 +771,13 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
774
771
|
default: e(() => [
|
|
775
772
|
l(V, {
|
|
776
773
|
modelValue: o(t).associationMenuId,
|
|
777
|
-
"onUpdate:modelValue":
|
|
774
|
+
"onUpdate:modelValue": u[13] || (u[13] = (a) => o(t).associationMenuId = a),
|
|
778
775
|
placeholder: "请选择关联菜单",
|
|
779
776
|
filterable: "",
|
|
780
777
|
clearable: ""
|
|
781
778
|
}, {
|
|
782
779
|
default: e(() => [
|
|
783
|
-
(
|
|
780
|
+
(d(!0), b(f, null, _(o(j), (a, s) => (d(), m(g, {
|
|
784
781
|
key: s,
|
|
785
782
|
label: a.name,
|
|
786
783
|
value: a.id
|
|
@@ -805,7 +802,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
805
802
|
}, 8, ["model-value", "title"]);
|
|
806
803
|
};
|
|
807
804
|
}
|
|
808
|
-
},
|
|
805
|
+
}, Ie = /* @__PURE__ */ me(Fe, [["__scopeId", "data-v-75eab9b4"]]);
|
|
809
806
|
export {
|
|
810
|
-
|
|
807
|
+
Ie as default
|
|
811
808
|
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { defineAsyncComponent as _, ref as y, watch as C, resolveComponent as u, openBlock as k, createBlock as x, withCtx as a, createElementVNode as w, createVNode as s, createTextVNode as p, unref as m, isRef as S } from "vue";
|
|
2
|
+
const B = { class: "dialog-footer" }, h = {
|
|
3
|
+
__name: "dialogSiteComponentsParams",
|
|
4
|
+
props: {
|
|
5
|
+
visible: { type: Boolean, default: !1 },
|
|
6
|
+
title: { type: String, default: "" },
|
|
7
|
+
modelValue: { type: String, default: "" }
|
|
8
|
+
},
|
|
9
|
+
emits: ["update:visible", "refresh", "update:modelValue"],
|
|
10
|
+
setup(f, { emit: c }) {
|
|
11
|
+
const v = _(() => import("./index-40115216.js").then((l) => l.q)), n = c, o = f;
|
|
12
|
+
let t = y();
|
|
13
|
+
C(
|
|
14
|
+
() => o.visible,
|
|
15
|
+
async (l, e) => {
|
|
16
|
+
l && (t.value = o.modelValue);
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
const b = (l) => {
|
|
20
|
+
d(), l();
|
|
21
|
+
}, d = () => {
|
|
22
|
+
t.value = "", n("update:visible", !1);
|
|
23
|
+
}, V = () => {
|
|
24
|
+
n("update:modelValue", t.value), n("update:visible", !1);
|
|
25
|
+
};
|
|
26
|
+
return (l, e) => {
|
|
27
|
+
const r = u("el-button"), g = u("el-dialog");
|
|
28
|
+
return k(), x(g, {
|
|
29
|
+
"model-value": o.visible,
|
|
30
|
+
title: o.title,
|
|
31
|
+
top: "5vh",
|
|
32
|
+
width: "800",
|
|
33
|
+
draggable: "",
|
|
34
|
+
overflow: "",
|
|
35
|
+
"close-on-click-modal": !1,
|
|
36
|
+
"before-close": b
|
|
37
|
+
}, {
|
|
38
|
+
footer: a(() => [
|
|
39
|
+
w("span", B, [
|
|
40
|
+
s(r, { onClick: d }, {
|
|
41
|
+
default: a(() => e[2] || (e[2] = [
|
|
42
|
+
p("取消")
|
|
43
|
+
])),
|
|
44
|
+
_: 1
|
|
45
|
+
}),
|
|
46
|
+
s(r, {
|
|
47
|
+
type: "primary",
|
|
48
|
+
onClick: e[1] || (e[1] = (i) => V())
|
|
49
|
+
}, {
|
|
50
|
+
default: a(() => e[3] || (e[3] = [
|
|
51
|
+
p("保存")
|
|
52
|
+
])),
|
|
53
|
+
_: 1
|
|
54
|
+
})
|
|
55
|
+
])
|
|
56
|
+
]),
|
|
57
|
+
default: a(() => [
|
|
58
|
+
s(m(v), {
|
|
59
|
+
modelValue: m(t),
|
|
60
|
+
"onUpdate:modelValue": e[0] || (e[0] = (i) => S(t) ? t.value = i : t = i),
|
|
61
|
+
style: { height: "600px" }
|
|
62
|
+
}, null, 8, ["modelValue"])
|
|
63
|
+
]),
|
|
64
|
+
_: 1
|
|
65
|
+
}, 8, ["model-value", "title"]);
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
export {
|
|
70
|
+
h as default
|
|
71
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineAsyncComponent as le, inject as x, ref as R, watch as ae, resolveComponent as i, resolveDirective as te, unref as l, openBlock as n, createElementBlock as $, createVNode as oe, normalizeStyle as re, withCtx as h, Fragment as E, renderList as D, withDirectives as z, createBlock as u, mergeProps as m, withKeys as A, withModifiers as F, createCommentVNode as g, vShow as ne, createTextVNode as Y, toDisplayString as B } from "vue";
|
|
2
|
-
import { _ as se, u as ue, P as H, a as de, b as pe } from "./index-
|
|
2
|
+
import { _ as se, u as ue, P as H, a as de, b as pe } from "./index-40115216.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "js-base64";
|
|
5
5
|
import "element-plus";
|
|
@@ -14,7 +14,7 @@ const ie = {
|
|
|
14
14
|
},
|
|
15
15
|
emits: ["reset", "search"],
|
|
16
16
|
setup(W, { emit: j }) {
|
|
17
|
-
const I = le(() => import("./index-
|
|
17
|
+
const I = le(() => import("./index-40115216.js").then((o) => o.t)), { t: d } = ue(), K = x("request"), p = x("getFieldUiProps"), L = x("formatDataType"), M = j, b = W;
|
|
18
18
|
let f = R([]), O = R([]), C = R(!0);
|
|
19
19
|
const G = (o) => b.data.tableConfig.isExpandQuery && C.value ? b.data.tableConfig.tableQueryRowWidth > o + 1 : !0, J = (o) => {
|
|
20
20
|
f.value = (o || []).filter((t) => t.useScenes.includes("tableSearch"));
|
|
@@ -248,7 +248,7 @@ const ie = {
|
|
|
248
248
|
])) : g("", !0);
|
|
249
249
|
};
|
|
250
250
|
}
|
|
251
|
-
}, he = /* @__PURE__ */ se(ce, [["__scopeId", "data-v-
|
|
251
|
+
}, he = /* @__PURE__ */ se(ce, [["__scopeId", "data-v-5dc94ebf"]]);
|
|
252
252
|
export {
|
|
253
253
|
he as default
|
|
254
254
|
};
|