act-plus 1.1.92 → 1.1.93
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 -3
- package/act-plus.umd.cjs +50 -50
- package/lib/{dialogAddField-0a752db3.js → dialogAddField-9c964889.js} +134 -114
- package/lib/{dialogConfigBtn-871f1cb6.js → dialogConfigBtn-dff385f4.js} +321 -283
- package/lib/{dialogSiteComponentsParams-345e7995.js → dialogSiteComponentsParams-ff85fff1.js} +1 -1
- package/lib/{index-86b814b7.js → index-1683f054.js} +123 -123
- package/lib/{index-8c8baa73.js → index-87379c99.js} +153 -153
- package/lib/{index-960ddde8.js → index-8b829da2.js} +1 -1
- package/lib/{index-424f6f21.js → index-9bb0a4a8.js} +1 -1
- package/lib/{index-b1e13e12.js → index-a1705d25.js} +2363 -2338
- package/lib/index-aa0662e4.js +215 -0
- package/lib/{index-1a2e2c32.js → index-b941f8eb.js} +1 -1
- package/lib/{index-87a4732a.js → index-d3b35914.js} +1 -1
- package/lib/{index-86f94529.js → index-fbe3414d.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/lib/index-405a9f10.js +0 -215
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { _ as ce, B as be,
|
|
1
|
+
import { defineAsyncComponent as E, inject as k, computed as de, reactive as re, ref as q, watch as ie, resolveComponent as y, resolveDirective as se, openBlock as n, createBlock as m, withCtx as l, createElementVNode as me, createVNode as e, unref as o, createTextVNode as U, withDirectives as pe, toDisplayString as P, createElementBlock as b, Fragment as f, renderList as g, createCommentVNode as h } from "vue";
|
|
2
|
+
import { _ as ce, B as be, e as fe, f as ge, h as _e, Y as Ve, i as ye, j as he, k as Ce, l as Fe, m as ve } from "./index-a1705d25.js";
|
|
3
3
|
import { useRoute as Ue } from "vue-router";
|
|
4
4
|
import "element-plus";
|
|
5
5
|
const Te = { class: "dialog-footer" }, ke = {
|
|
@@ -10,29 +10,29 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
10
10
|
data: { type: Object, default: () => ({}) }
|
|
11
11
|
},
|
|
12
12
|
emits: ["update:visible", "refresh"],
|
|
13
|
-
setup(
|
|
14
|
-
const
|
|
13
|
+
setup(L, { emit: O }) {
|
|
14
|
+
const x = E(() => import("./index-b941f8eb.js")), D = E(() => import("./index-9bb0a4a8.js")), W = Ue(), Y = k("apiPrefix"), R = k("request"), A = O, N = L, j = de(() => W.params.key);
|
|
15
15
|
let T = re((() => ({
|
|
16
16
|
btnLoading: !1
|
|
17
17
|
}))());
|
|
18
|
-
const
|
|
19
|
-
let M = q([]), B = q(null), t = q(
|
|
20
|
-
const H = (
|
|
18
|
+
const I = k("createDefaultButtonItem"), $ = k("associationMenuList"), z = k("conditionList")();
|
|
19
|
+
let M = q([]), B = q(null), t = q(I());
|
|
20
|
+
const H = (c) => R({ url: `${Y}/icons/getAllList`, method: "post", data: c }), K = async () => {
|
|
21
21
|
try {
|
|
22
|
-
const { data:
|
|
23
|
-
M.value =
|
|
24
|
-
} catch (
|
|
25
|
-
console.error(
|
|
22
|
+
const { data: c } = await H({ dynamicFilters: [{ field: "type", operate: "Equal", value: "2" }] });
|
|
23
|
+
M.value = c || [];
|
|
24
|
+
} catch (c) {
|
|
25
|
+
console.error(c);
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
ie(
|
|
29
29
|
() => N.visible,
|
|
30
|
-
async (
|
|
31
|
-
if (
|
|
30
|
+
async (c, u) => {
|
|
31
|
+
if (c) {
|
|
32
32
|
await K();
|
|
33
|
-
const
|
|
33
|
+
const p = { ...N.data };
|
|
34
34
|
Object.keys(t.value).forEach((r) => {
|
|
35
|
-
r == "submitFields" || r == "matchFields" ? t.value[r] = [...
|
|
35
|
+
r == "submitFields" || r == "matchFields" ? t.value[r] = [...p[r] || []] : r == "isPromptVerificationSelectTable" ? t.value[r] = p[r] ?? "1" : t.value[r] = p[r];
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -41,33 +41,33 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
41
41
|
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;
|
|
42
42
|
}, J = () => {
|
|
43
43
|
t.value.submitFields.push({ matchType: "match", submitFieldMatchOrigin: "rowData", submitFieldName: "", matchFieldName: "", submitFieldType: "" });
|
|
44
|
-
}, Q = (
|
|
45
|
-
t.value.submitFields.splice(
|
|
44
|
+
}, Q = (c) => {
|
|
45
|
+
t.value.submitFields.splice(c, 1);
|
|
46
46
|
}, X = () => {
|
|
47
47
|
t.value.matchFields.push({ matchType: "default", matchFieldName: "", matchCondition: "", fieldValue: "", spliceCondition: "" });
|
|
48
|
-
}, Z = (
|
|
49
|
-
t.value.matchFields.splice(
|
|
50
|
-
}, ee = (
|
|
51
|
-
|
|
52
|
-
}, le = (
|
|
53
|
-
S(),
|
|
48
|
+
}, Z = (c) => {
|
|
49
|
+
t.value.matchFields.splice(c, 1), t.value.matchFields.length === 1 && (t.value.matchFields[0].spliceCondition = "");
|
|
50
|
+
}, ee = (c, u) => {
|
|
51
|
+
c.submitFieldMatchOrigin = u === "match" ? "rowData" : "";
|
|
52
|
+
}, le = (c) => {
|
|
53
|
+
S(), c();
|
|
54
54
|
}, S = () => {
|
|
55
|
-
t.value = Object.assign(t.value,
|
|
56
|
-
}, ae = (
|
|
57
|
-
|
|
55
|
+
t.value = Object.assign(t.value, I()), B.value.resetFields(), A("update:visible", !1);
|
|
56
|
+
}, ae = (c) => {
|
|
57
|
+
c && c.validate((u) => {
|
|
58
58
|
if (u)
|
|
59
59
|
try {
|
|
60
|
-
T.btnLoading = !0,
|
|
60
|
+
T.btnLoading = !0, A("refresh", { ...t.value, submitFields: [...t.value.submitFields], matchFields: [...t.value.matchFields] }, () => {
|
|
61
61
|
S();
|
|
62
62
|
}), T.btnLoading = !1;
|
|
63
|
-
} catch (
|
|
64
|
-
console.error(
|
|
63
|
+
} catch (p) {
|
|
64
|
+
console.error(p), T.btnLoading = !1;
|
|
65
65
|
}
|
|
66
66
|
});
|
|
67
67
|
};
|
|
68
|
-
return (
|
|
69
|
-
const
|
|
70
|
-
return
|
|
68
|
+
return (c, u) => {
|
|
69
|
+
const p = y("el-input"), r = y("el-form-item"), i = y("el-col"), _ = y("el-option"), V = y("el-select"), F = y("el-row"), v = y("el-button"), w = y("el-divider"), te = y("el-switch"), oe = y("el-form"), ue = y("el-dialog"), ne = se("debounce");
|
|
70
|
+
return n(), m(ue, {
|
|
71
71
|
"model-value": N.visible,
|
|
72
72
|
title: N.title,
|
|
73
73
|
top: "5vh",
|
|
@@ -79,57 +79,57 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
79
79
|
"close-on-click-modal": !1,
|
|
80
80
|
"before-close": le
|
|
81
81
|
}, {
|
|
82
|
-
footer:
|
|
82
|
+
footer: l(() => [
|
|
83
83
|
me("span", Te, [
|
|
84
|
-
|
|
84
|
+
e(v, {
|
|
85
85
|
loading: o(T).btnLoading,
|
|
86
86
|
onClick: S
|
|
87
87
|
}, {
|
|
88
|
-
default:
|
|
88
|
+
default: l(() => [...u[22] || (u[22] = [
|
|
89
89
|
U("取消", -1)
|
|
90
90
|
])]),
|
|
91
91
|
_: 1
|
|
92
92
|
}, 8, ["loading"]),
|
|
93
|
-
pe((
|
|
93
|
+
pe((n(), m(v, {
|
|
94
94
|
type: "primary",
|
|
95
95
|
loading: o(T).btnLoading,
|
|
96
|
-
onClick: u[
|
|
96
|
+
onClick: u[19] || (u[19] = (a) => ae(o(B)))
|
|
97
97
|
}, {
|
|
98
|
-
default:
|
|
98
|
+
default: l(() => [...u[23] || (u[23] = [
|
|
99
99
|
U("保存", -1)
|
|
100
100
|
])]),
|
|
101
101
|
_: 1
|
|
102
102
|
}, 8, ["loading"])), [
|
|
103
|
-
[
|
|
103
|
+
[ne]
|
|
104
104
|
])
|
|
105
105
|
])
|
|
106
106
|
]),
|
|
107
|
-
default:
|
|
108
|
-
|
|
107
|
+
default: l(() => [
|
|
108
|
+
e(oe, {
|
|
109
109
|
ref_key: "formRef",
|
|
110
110
|
ref: B,
|
|
111
111
|
model: o(t),
|
|
112
112
|
"label-suffix": ":",
|
|
113
113
|
"label-position": "top"
|
|
114
114
|
}, {
|
|
115
|
-
default:
|
|
116
|
-
|
|
117
|
-
default:
|
|
118
|
-
|
|
119
|
-
default:
|
|
120
|
-
|
|
115
|
+
default: l(() => [
|
|
116
|
+
e(F, { gutter: 24 }, {
|
|
117
|
+
default: l(() => [
|
|
118
|
+
e(i, { span: 6 }, {
|
|
119
|
+
default: l(() => [
|
|
120
|
+
e(r, {
|
|
121
121
|
label: "按钮",
|
|
122
122
|
prop: "btnName"
|
|
123
123
|
}, {
|
|
124
|
-
default:
|
|
125
|
-
|
|
124
|
+
default: l(() => [
|
|
125
|
+
e(p, {
|
|
126
126
|
modelValue: o(t).btnName,
|
|
127
127
|
"onUpdate:modelValue": u[0] || (u[0] = (a) => o(t).btnName = a),
|
|
128
128
|
disabled: "",
|
|
129
129
|
placeholder: "请输入按钮名称"
|
|
130
130
|
}, {
|
|
131
|
-
prepend:
|
|
132
|
-
U(
|
|
131
|
+
prepend: l(() => [
|
|
132
|
+
U(P(o(t).permissionCode), 1)
|
|
133
133
|
]),
|
|
134
134
|
_: 1
|
|
135
135
|
}, 8, ["modelValue"])
|
|
@@ -139,16 +139,35 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
139
139
|
]),
|
|
140
140
|
_: 1
|
|
141
141
|
}),
|
|
142
|
-
|
|
143
|
-
default:
|
|
144
|
-
|
|
142
|
+
e(i, { span: 6 }, {
|
|
143
|
+
default: l(() => [
|
|
144
|
+
e(r, {
|
|
145
|
+
label: "按钮英文名称",
|
|
146
|
+
prop: "btnNameEn"
|
|
147
|
+
}, {
|
|
148
|
+
default: l(() => [
|
|
149
|
+
e(p, {
|
|
150
|
+
modelValue: o(t).btnNameEn,
|
|
151
|
+
"onUpdate:modelValue": u[1] || (u[1] = (a) => o(t).btnNameEn = a),
|
|
152
|
+
placeholder: "请输入按钮英文名称",
|
|
153
|
+
clearable: ""
|
|
154
|
+
}, null, 8, ["modelValue"])
|
|
155
|
+
]),
|
|
156
|
+
_: 1
|
|
157
|
+
})
|
|
158
|
+
]),
|
|
159
|
+
_: 1
|
|
160
|
+
}),
|
|
161
|
+
e(i, { span: 6 }, {
|
|
162
|
+
default: l(() => [
|
|
163
|
+
e(r, {
|
|
145
164
|
label: "按钮图标",
|
|
146
165
|
prop: "btnIcon"
|
|
147
166
|
}, {
|
|
148
|
-
default:
|
|
149
|
-
|
|
167
|
+
default: l(() => [
|
|
168
|
+
e(o(x), {
|
|
150
169
|
modelValue: o(t).btnIcon,
|
|
151
|
-
"onUpdate:modelValue": u[
|
|
170
|
+
"onUpdate:modelValue": u[2] || (u[2] = (a) => o(t).btnIcon = a),
|
|
152
171
|
icons: o(M),
|
|
153
172
|
props: { value: "name", type: "btn" }
|
|
154
173
|
}, null, 8, ["modelValue", "icons"])
|
|
@@ -158,17 +177,17 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
158
177
|
]),
|
|
159
178
|
_: 1
|
|
160
179
|
}),
|
|
161
|
-
|
|
162
|
-
default:
|
|
163
|
-
|
|
180
|
+
e(i, { span: 24 }, {
|
|
181
|
+
default: l(() => [
|
|
182
|
+
e(r, {
|
|
164
183
|
label: "接口地址",
|
|
165
184
|
rules: [{ required: !0, message: "必填项", trigger: "blur" }],
|
|
166
185
|
prop: "requestUrl"
|
|
167
186
|
}, {
|
|
168
|
-
default:
|
|
169
|
-
|
|
187
|
+
default: l(() => [
|
|
188
|
+
e(p, {
|
|
170
189
|
modelValue: o(t).requestUrl,
|
|
171
|
-
"onUpdate:modelValue": u[
|
|
190
|
+
"onUpdate:modelValue": u[3] || (u[3] = (a) => o(t).requestUrl = a),
|
|
172
191
|
placeholder: "请输入接口地址",
|
|
173
192
|
clearable: ""
|
|
174
193
|
}, null, 8, ["modelValue"])
|
|
@@ -178,24 +197,24 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
178
197
|
]),
|
|
179
198
|
_: 1
|
|
180
199
|
}),
|
|
181
|
-
|
|
182
|
-
default:
|
|
183
|
-
|
|
200
|
+
e(i, { span: 12 }, {
|
|
201
|
+
default: l(() => [
|
|
202
|
+
e(r, {
|
|
184
203
|
label: "按钮位置",
|
|
185
204
|
rules: [{ required: !0, message: "必填项", trigger: "change" }],
|
|
186
205
|
prop: "btnPostion"
|
|
187
206
|
}, {
|
|
188
|
-
default:
|
|
189
|
-
|
|
207
|
+
default: l(() => [
|
|
208
|
+
e(V, {
|
|
190
209
|
modelValue: o(t).btnPostion,
|
|
191
|
-
"onUpdate:modelValue": u[
|
|
210
|
+
"onUpdate:modelValue": u[4] || (u[4] = (a) => o(t).btnPostion = a),
|
|
192
211
|
placeholder: "请选择按钮位置",
|
|
193
212
|
filterable: "",
|
|
194
213
|
clearable: ""
|
|
195
214
|
}, {
|
|
196
|
-
default:
|
|
197
|
-
(
|
|
198
|
-
key:
|
|
215
|
+
default: l(() => [
|
|
216
|
+
(n(!0), b(f, null, g(o(be), (a, s) => (n(), m(_, {
|
|
217
|
+
key: s,
|
|
199
218
|
label: a.key,
|
|
200
219
|
value: a.value
|
|
201
220
|
}, null, 8, ["label", "value"]))), 128))
|
|
@@ -208,24 +227,24 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
208
227
|
]),
|
|
209
228
|
_: 1
|
|
210
229
|
}),
|
|
211
|
-
|
|
212
|
-
default:
|
|
213
|
-
|
|
230
|
+
e(i, { span: 12 }, {
|
|
231
|
+
default: l(() => [
|
|
232
|
+
e(r, {
|
|
214
233
|
label: "按钮类型",
|
|
215
234
|
rules: [{ required: !0, message: "必填项", trigger: "change" }],
|
|
216
235
|
prop: "btnType"
|
|
217
236
|
}, {
|
|
218
|
-
default:
|
|
219
|
-
|
|
237
|
+
default: l(() => [
|
|
238
|
+
e(V, {
|
|
220
239
|
modelValue: o(t).btnType,
|
|
221
|
-
"onUpdate:modelValue": u[
|
|
240
|
+
"onUpdate:modelValue": u[5] || (u[5] = (a) => o(t).btnType = a),
|
|
222
241
|
placeholder: "请选择按钮类型",
|
|
223
242
|
filterable: "",
|
|
224
243
|
clearable: ""
|
|
225
244
|
}, {
|
|
226
|
-
default:
|
|
227
|
-
(
|
|
228
|
-
key:
|
|
245
|
+
default: l(() => [
|
|
246
|
+
(n(!0), b(f, null, g(o(fe), (a, s) => (n(), m(_, {
|
|
247
|
+
key: s,
|
|
229
248
|
label: a.key,
|
|
230
249
|
value: a.value
|
|
231
250
|
}, null, 8, ["label", "value"]))), 128))
|
|
@@ -238,16 +257,16 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
238
257
|
]),
|
|
239
258
|
_: 1
|
|
240
259
|
}),
|
|
241
|
-
|
|
242
|
-
default:
|
|
243
|
-
|
|
260
|
+
e(i, { span: 12 }, {
|
|
261
|
+
default: l(() => [
|
|
262
|
+
e(r, {
|
|
244
263
|
label: "按钮别名",
|
|
245
264
|
prop: "btnAlias"
|
|
246
265
|
}, {
|
|
247
|
-
default:
|
|
248
|
-
|
|
266
|
+
default: l(() => [
|
|
267
|
+
e(p, {
|
|
249
268
|
modelValue: o(t).btnAlias,
|
|
250
|
-
"onUpdate:modelValue": u[
|
|
269
|
+
"onUpdate:modelValue": u[6] || (u[6] = (a) => o(t).btnAlias = a),
|
|
251
270
|
placeholder: "请输入按钮别名",
|
|
252
271
|
clearable: ""
|
|
253
272
|
}, null, 8, ["modelValue"])
|
|
@@ -257,24 +276,43 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
257
276
|
]),
|
|
258
277
|
_: 1
|
|
259
278
|
}),
|
|
260
|
-
|
|
261
|
-
default:
|
|
262
|
-
|
|
279
|
+
e(i, { span: 12 }, {
|
|
280
|
+
default: l(() => [
|
|
281
|
+
e(r, {
|
|
282
|
+
label: "按钮英文别名",
|
|
283
|
+
prop: "btnAliasEn"
|
|
284
|
+
}, {
|
|
285
|
+
default: l(() => [
|
|
286
|
+
e(p, {
|
|
287
|
+
modelValue: o(t).btnAliasEn,
|
|
288
|
+
"onUpdate:modelValue": u[7] || (u[7] = (a) => o(t).btnAliasEn = a),
|
|
289
|
+
placeholder: "请输入按钮英文别名",
|
|
290
|
+
clearable: ""
|
|
291
|
+
}, null, 8, ["modelValue"])
|
|
292
|
+
]),
|
|
293
|
+
_: 1
|
|
294
|
+
})
|
|
295
|
+
]),
|
|
296
|
+
_: 1
|
|
297
|
+
}),
|
|
298
|
+
e(i, { span: 12 }, {
|
|
299
|
+
default: l(() => [
|
|
300
|
+
e(r, {
|
|
263
301
|
label: "按钮颜色",
|
|
264
302
|
rules: [{ required: !0, message: "必填项", trigger: "change" }],
|
|
265
303
|
prop: "btnColor"
|
|
266
304
|
}, {
|
|
267
|
-
default:
|
|
268
|
-
|
|
305
|
+
default: l(() => [
|
|
306
|
+
e(V, {
|
|
269
307
|
modelValue: o(t).btnColor,
|
|
270
|
-
"onUpdate:modelValue": u[
|
|
308
|
+
"onUpdate:modelValue": u[8] || (u[8] = (a) => o(t).btnColor = a),
|
|
271
309
|
placeholder: "请选择按钮颜色",
|
|
272
310
|
filterable: "",
|
|
273
311
|
clearable: ""
|
|
274
312
|
}, {
|
|
275
|
-
default:
|
|
276
|
-
(
|
|
277
|
-
key:
|
|
313
|
+
default: l(() => [
|
|
314
|
+
(n(!0), b(f, null, g(o(ge), (a, s) => (n(), m(_, {
|
|
315
|
+
key: s,
|
|
278
316
|
label: a.key,
|
|
279
317
|
value: a.value
|
|
280
318
|
}, null, 8, ["label", "value"]))), 128))
|
|
@@ -287,28 +325,28 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
287
325
|
]),
|
|
288
326
|
_: 1
|
|
289
327
|
}),
|
|
290
|
-
!o(t).isCustomBtn && o(t).permissionCode != "1001" ? (
|
|
328
|
+
!o(t).isCustomBtn && o(t).permissionCode != "1001" ? (n(), m(i, {
|
|
291
329
|
key: 0,
|
|
292
330
|
span: 12
|
|
293
331
|
}, {
|
|
294
|
-
default:
|
|
295
|
-
!o(t).isCustomBtn && o(t).permissionCode != "1001" ? (
|
|
332
|
+
default: l(() => [
|
|
333
|
+
!o(t).isCustomBtn && o(t).permissionCode != "1001" ? (n(), m(r, {
|
|
296
334
|
key: 0,
|
|
297
335
|
label: "提交方式",
|
|
298
336
|
rules: [{ required: !0, message: "必填项", trigger: "change" }],
|
|
299
337
|
prop: "submitWay"
|
|
300
338
|
}, {
|
|
301
|
-
default:
|
|
302
|
-
|
|
339
|
+
default: l(() => [
|
|
340
|
+
e(V, {
|
|
303
341
|
modelValue: o(t).submitWay,
|
|
304
|
-
"onUpdate:modelValue": u[
|
|
342
|
+
"onUpdate:modelValue": u[9] || (u[9] = (a) => o(t).submitWay = a),
|
|
305
343
|
placeholder: "请选择提交方式",
|
|
306
344
|
filterable: "",
|
|
307
345
|
clearable: ""
|
|
308
346
|
}, {
|
|
309
|
-
default:
|
|
310
|
-
(
|
|
311
|
-
key:
|
|
347
|
+
default: l(() => [
|
|
348
|
+
(n(!0), b(f, null, g(o(_e), (a, s) => (n(), m(_, {
|
|
349
|
+
key: s,
|
|
312
350
|
label: a.key,
|
|
313
351
|
value: a.value
|
|
314
352
|
}, null, 8, ["label", "value"]))), 128))
|
|
@@ -321,20 +359,20 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
321
359
|
]),
|
|
322
360
|
_: 1
|
|
323
361
|
})) : h("", !0),
|
|
324
|
-
!o(t).isCustomBtn && o(t).permissionCode != "1001" && ["import", "batchImport"].includes(o(t).submitWay) ? (
|
|
362
|
+
!o(t).isCustomBtn && o(t).permissionCode != "1001" && ["import", "batchImport"].includes(o(t).submitWay) ? (n(), m(i, {
|
|
325
363
|
key: 1,
|
|
326
364
|
span: 12
|
|
327
365
|
}, {
|
|
328
|
-
default:
|
|
329
|
-
|
|
366
|
+
default: l(() => [
|
|
367
|
+
e(r, {
|
|
330
368
|
label: "导入提交文件字段",
|
|
331
369
|
rules: [{ required: !1, message: "必填项", trigger: "blur" }],
|
|
332
370
|
prop: "importFileName"
|
|
333
371
|
}, {
|
|
334
|
-
default:
|
|
335
|
-
|
|
372
|
+
default: l(() => [
|
|
373
|
+
e(p, {
|
|
336
374
|
modelValue: o(t).importFileName,
|
|
337
|
-
"onUpdate:modelValue": u[
|
|
375
|
+
"onUpdate:modelValue": u[10] || (u[10] = (a) => o(t).importFileName = a),
|
|
338
376
|
placeholder: "请输入导入提交文件字段",
|
|
339
377
|
clearable: ""
|
|
340
378
|
}, null, 8, ["modelValue"])
|
|
@@ -344,20 +382,20 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
344
382
|
]),
|
|
345
383
|
_: 1
|
|
346
384
|
})) : h("", !0),
|
|
347
|
-
!o(t).isCustomBtn && o(t).permissionCode != "1001" && ["import", "batchImport"].includes(o(t).submitWay) ? (
|
|
385
|
+
!o(t).isCustomBtn && o(t).permissionCode != "1001" && ["import", "batchImport"].includes(o(t).submitWay) ? (n(), m(i, {
|
|
348
386
|
key: 2,
|
|
349
387
|
span: 12
|
|
350
388
|
}, {
|
|
351
|
-
default:
|
|
352
|
-
|
|
389
|
+
default: l(() => [
|
|
390
|
+
e(r, {
|
|
353
391
|
label: "导入Accept",
|
|
354
392
|
rules: [{ required: !1, message: "必填项", trigger: "blur" }],
|
|
355
393
|
prop: "importAccept"
|
|
356
394
|
}, {
|
|
357
|
-
default:
|
|
358
|
-
|
|
395
|
+
default: l(() => [
|
|
396
|
+
e(p, {
|
|
359
397
|
modelValue: o(t).importAccept,
|
|
360
|
-
"onUpdate:modelValue": u[
|
|
398
|
+
"onUpdate:modelValue": u[11] || (u[11] = (a) => o(t).importAccept = a),
|
|
361
399
|
placeholder: "请输入导入Accept",
|
|
362
400
|
clearable: ""
|
|
363
401
|
}, null, 8, ["modelValue"])
|
|
@@ -367,27 +405,27 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
367
405
|
]),
|
|
368
406
|
_: 1
|
|
369
407
|
})) : h("", !0),
|
|
370
|
-
!o(t).isCustomBtn && o(t).permissionCode != "1001" && ["messageBox", "executeApi"].includes(o(t).submitWay) ? (
|
|
408
|
+
!o(t).isCustomBtn && o(t).permissionCode != "1001" && ["messageBox", "executeApi"].includes(o(t).submitWay) ? (n(), m(i, {
|
|
371
409
|
key: 3,
|
|
372
410
|
span: 12
|
|
373
411
|
}, {
|
|
374
|
-
default:
|
|
375
|
-
|
|
412
|
+
default: l(() => [
|
|
413
|
+
e(r, {
|
|
376
414
|
label: "是否提示校验选择表格",
|
|
377
415
|
rules: [{ required: !1, message: "必填项", trigger: "change" }],
|
|
378
416
|
prop: "isPromptVerificationSelectTable"
|
|
379
417
|
}, {
|
|
380
|
-
default:
|
|
381
|
-
|
|
418
|
+
default: l(() => [
|
|
419
|
+
e(V, {
|
|
382
420
|
modelValue: o(t).isPromptVerificationSelectTable,
|
|
383
|
-
"onUpdate:modelValue": u[
|
|
421
|
+
"onUpdate:modelValue": u[12] || (u[12] = (a) => o(t).isPromptVerificationSelectTable = a),
|
|
384
422
|
placeholder: "请选择",
|
|
385
423
|
filterable: "",
|
|
386
424
|
clearable: ""
|
|
387
425
|
}, {
|
|
388
|
-
default:
|
|
389
|
-
(
|
|
390
|
-
key:
|
|
426
|
+
default: l(() => [
|
|
427
|
+
(n(!0), b(f, null, g(o(Ve), (a, s) => (n(), m(_, {
|
|
428
|
+
key: s,
|
|
391
429
|
label: a.key,
|
|
392
430
|
value: a.value
|
|
393
431
|
}, null, 8, ["label", "value"]))), 128))
|
|
@@ -403,10 +441,10 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
403
441
|
]),
|
|
404
442
|
_: 1
|
|
405
443
|
}),
|
|
406
|
-
|
|
407
|
-
default:
|
|
408
|
-
u[
|
|
409
|
-
|
|
444
|
+
e(w, { "content-position": "left" }, {
|
|
445
|
+
default: l(() => [
|
|
446
|
+
u[20] || (u[20] = U(" 提交字段配置 ", -1)),
|
|
447
|
+
e(v, {
|
|
410
448
|
class: "add-icon-btn",
|
|
411
449
|
type: "primary",
|
|
412
450
|
icon: "Plus",
|
|
@@ -416,22 +454,22 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
416
454
|
]),
|
|
417
455
|
_: 1
|
|
418
456
|
}),
|
|
419
|
-
(
|
|
457
|
+
(n(!0), b(f, null, g(o(t).submitFields, (a, s) => (n(), m(F, {
|
|
420
458
|
gutter: 24,
|
|
421
|
-
key:
|
|
459
|
+
key: s
|
|
422
460
|
}, {
|
|
423
|
-
default:
|
|
424
|
-
|
|
425
|
-
default:
|
|
426
|
-
|
|
461
|
+
default: l(() => [
|
|
462
|
+
e(i, { span: 6 }, {
|
|
463
|
+
default: l(() => [
|
|
464
|
+
e(r, {
|
|
427
465
|
label: "提交字段名",
|
|
428
466
|
rules: [{ required: !0, message: "必填项", trigger: "blur" }],
|
|
429
|
-
prop: "submitFields." +
|
|
467
|
+
prop: "submitFields." + s + ".submitFieldName"
|
|
430
468
|
}, {
|
|
431
|
-
default:
|
|
432
|
-
|
|
469
|
+
default: l(() => [
|
|
470
|
+
e(p, {
|
|
433
471
|
modelValue: a.submitFieldName,
|
|
434
|
-
"onUpdate:modelValue": (
|
|
472
|
+
"onUpdate:modelValue": (d) => a.submitFieldName = d,
|
|
435
473
|
placeholder: "请输入提交字段名",
|
|
436
474
|
clearable: ""
|
|
437
475
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -441,34 +479,34 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
441
479
|
]),
|
|
442
480
|
_: 2
|
|
443
481
|
}, 1024),
|
|
444
|
-
|
|
445
|
-
default:
|
|
446
|
-
|
|
482
|
+
e(i, { span: 8 }, {
|
|
483
|
+
default: l(() => [
|
|
484
|
+
e(r, {
|
|
447
485
|
label: "方式",
|
|
448
486
|
"label-width": "80px",
|
|
449
487
|
rules: [{ required: !0, message: "必填项", trigger: "blur" }],
|
|
450
|
-
prop: "submitFields." +
|
|
488
|
+
prop: "submitFields." + s + ".matchFieldName"
|
|
451
489
|
}, {
|
|
452
|
-
default:
|
|
453
|
-
|
|
490
|
+
default: l(() => [
|
|
491
|
+
e(p, {
|
|
454
492
|
placeholder: "请输入",
|
|
455
493
|
modelValue: a.matchFieldName,
|
|
456
|
-
"onUpdate:modelValue": (
|
|
494
|
+
"onUpdate:modelValue": (d) => a.matchFieldName = d,
|
|
457
495
|
clearable: ""
|
|
458
496
|
}, {
|
|
459
|
-
prepend:
|
|
460
|
-
|
|
497
|
+
prepend: l(() => [
|
|
498
|
+
e(V, {
|
|
461
499
|
modelValue: a.matchType,
|
|
462
|
-
"onUpdate:modelValue": (
|
|
500
|
+
"onUpdate:modelValue": (d) => a.matchType = d,
|
|
463
501
|
placeholder: "请选择",
|
|
464
502
|
style: { width: "120px" },
|
|
465
|
-
onChange: (
|
|
503
|
+
onChange: (d) => ee(a, d)
|
|
466
504
|
}, {
|
|
467
|
-
default:
|
|
468
|
-
(
|
|
505
|
+
default: l(() => [
|
|
506
|
+
(n(!0), b(f, null, g(o(ye), (d, C) => (n(), m(_, {
|
|
469
507
|
key: C,
|
|
470
|
-
label:
|
|
471
|
-
value:
|
|
508
|
+
label: d.key,
|
|
509
|
+
value: d.value
|
|
472
510
|
}, null, 8, ["label", "value"]))), 128))
|
|
473
511
|
]),
|
|
474
512
|
_: 1
|
|
@@ -482,20 +520,20 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
482
520
|
]),
|
|
483
521
|
_: 2
|
|
484
522
|
}, 1024),
|
|
485
|
-
a.matchType === "match" ? (
|
|
523
|
+
a.matchType === "match" ? (n(), m(i, {
|
|
486
524
|
key: 0,
|
|
487
525
|
span: 5
|
|
488
526
|
}, {
|
|
489
|
-
default:
|
|
490
|
-
|
|
527
|
+
default: l(() => [
|
|
528
|
+
e(r, {
|
|
491
529
|
label: "匹配源",
|
|
492
530
|
rules: [{ required: !1, message: "必填项", trigger: "blur" }],
|
|
493
|
-
prop: "submitFields." +
|
|
531
|
+
prop: "submitFields." + s + ".submitFieldMatchOrigin"
|
|
494
532
|
}, {
|
|
495
|
-
default:
|
|
496
|
-
|
|
533
|
+
default: l(() => [
|
|
534
|
+
e(p, {
|
|
497
535
|
modelValue: a.submitFieldMatchOrigin,
|
|
498
|
-
"onUpdate:modelValue": (
|
|
536
|
+
"onUpdate:modelValue": (d) => a.submitFieldMatchOrigin = d,
|
|
499
537
|
placeholder: "请输入匹配源",
|
|
500
538
|
clearable: ""
|
|
501
539
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -505,26 +543,26 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
505
543
|
]),
|
|
506
544
|
_: 2
|
|
507
545
|
}, 1024)) : h("", !0),
|
|
508
|
-
|
|
509
|
-
default:
|
|
510
|
-
|
|
546
|
+
e(i, { span: 4 }, {
|
|
547
|
+
default: l(() => [
|
|
548
|
+
e(r, {
|
|
511
549
|
label: "提交类型",
|
|
512
550
|
rules: [{ required: !0, message: "必填项", trigger: "change" }],
|
|
513
|
-
prop: "submitFields." +
|
|
551
|
+
prop: "submitFields." + s + ".submitFieldType"
|
|
514
552
|
}, {
|
|
515
|
-
default:
|
|
516
|
-
|
|
553
|
+
default: l(() => [
|
|
554
|
+
e(V, {
|
|
517
555
|
modelValue: a.submitFieldType,
|
|
518
|
-
"onUpdate:modelValue": (
|
|
556
|
+
"onUpdate:modelValue": (d) => a.submitFieldType = d,
|
|
519
557
|
placeholder: "请选择提交类型",
|
|
520
558
|
filterable: "",
|
|
521
559
|
clearable: ""
|
|
522
560
|
}, {
|
|
523
|
-
default:
|
|
524
|
-
(
|
|
561
|
+
default: l(() => [
|
|
562
|
+
(n(!0), b(f, null, g(o(he), (d, C) => (n(), m(_, {
|
|
525
563
|
key: C,
|
|
526
|
-
label:
|
|
527
|
-
value:
|
|
564
|
+
label: d.key,
|
|
565
|
+
value: d.value
|
|
528
566
|
}, null, 8, ["label", "value"]))), 128))
|
|
529
567
|
]),
|
|
530
568
|
_: 1
|
|
@@ -535,17 +573,17 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
535
573
|
]),
|
|
536
574
|
_: 2
|
|
537
575
|
}, 1024),
|
|
538
|
-
|
|
576
|
+
e(i, {
|
|
539
577
|
class: "submit-operate",
|
|
540
578
|
span: 1
|
|
541
579
|
}, {
|
|
542
|
-
default:
|
|
543
|
-
|
|
580
|
+
default: l(() => [
|
|
581
|
+
e(v, {
|
|
544
582
|
class: "match-opreate",
|
|
545
583
|
type: "danger",
|
|
546
584
|
icon: "Minus",
|
|
547
585
|
circle: "",
|
|
548
|
-
onClick: (
|
|
586
|
+
onClick: (d) => Q(s)
|
|
549
587
|
}, null, 8, ["onClick"])
|
|
550
588
|
]),
|
|
551
589
|
_: 2
|
|
@@ -553,10 +591,10 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
553
591
|
]),
|
|
554
592
|
_: 2
|
|
555
593
|
}, 1024))), 128)),
|
|
556
|
-
|
|
557
|
-
default:
|
|
558
|
-
u[
|
|
559
|
-
|
|
594
|
+
e(w, { "content-position": "left" }, {
|
|
595
|
+
default: l(() => [
|
|
596
|
+
u[21] || (u[21] = U(" 匹配字段配置(表格操作列按钮显示/隐藏) ", -1)),
|
|
597
|
+
e(v, {
|
|
560
598
|
class: "add-icon-btn",
|
|
561
599
|
type: "primary",
|
|
562
600
|
icon: "Plus",
|
|
@@ -566,37 +604,37 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
566
604
|
]),
|
|
567
605
|
_: 1
|
|
568
606
|
}),
|
|
569
|
-
(
|
|
607
|
+
(n(!0), b(f, null, g(o(t).matchFields, (a, s) => (n(), m(F, {
|
|
570
608
|
gutter: 24,
|
|
571
|
-
key:
|
|
609
|
+
key: s
|
|
572
610
|
}, {
|
|
573
|
-
default:
|
|
574
|
-
|
|
575
|
-
default:
|
|
576
|
-
|
|
611
|
+
default: l(() => [
|
|
612
|
+
e(i, { span: 10 }, {
|
|
613
|
+
default: l(() => [
|
|
614
|
+
e(r, {
|
|
577
615
|
label: "匹配字段名",
|
|
578
616
|
rules: [{ required: !0, message: "必填项", trigger: "blur" }],
|
|
579
|
-
prop: "matchFields." +
|
|
617
|
+
prop: "matchFields." + s + ".matchFieldName"
|
|
580
618
|
}, {
|
|
581
|
-
default:
|
|
582
|
-
|
|
619
|
+
default: l(() => [
|
|
620
|
+
e(p, {
|
|
583
621
|
placeholder: "请输入",
|
|
584
622
|
modelValue: a.matchFieldName,
|
|
585
|
-
"onUpdate:modelValue": (
|
|
623
|
+
"onUpdate:modelValue": (d) => a.matchFieldName = d,
|
|
586
624
|
clearable: ""
|
|
587
625
|
}, {
|
|
588
|
-
prepend:
|
|
589
|
-
|
|
626
|
+
prepend: l(() => [
|
|
627
|
+
e(V, {
|
|
590
628
|
modelValue: a.matchType,
|
|
591
|
-
"onUpdate:modelValue": (
|
|
629
|
+
"onUpdate:modelValue": (d) => a.matchType = d,
|
|
592
630
|
placeholder: "请选择",
|
|
593
631
|
style: { width: "180px" }
|
|
594
632
|
}, {
|
|
595
|
-
default:
|
|
596
|
-
(
|
|
633
|
+
default: l(() => [
|
|
634
|
+
(n(!0), b(f, null, g(o(Ce), (d, C) => (n(), m(_, {
|
|
597
635
|
key: C,
|
|
598
|
-
label:
|
|
599
|
-
value:
|
|
636
|
+
label: d.key,
|
|
637
|
+
value: d.value
|
|
600
638
|
}, null, 8, ["label", "value"]))), 128))
|
|
601
639
|
]),
|
|
602
640
|
_: 1
|
|
@@ -610,26 +648,26 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
610
648
|
]),
|
|
611
649
|
_: 2
|
|
612
650
|
}, 1024),
|
|
613
|
-
|
|
614
|
-
default:
|
|
615
|
-
|
|
651
|
+
e(i, { span: 6 }, {
|
|
652
|
+
default: l(() => [
|
|
653
|
+
e(r, {
|
|
616
654
|
label: "匹配条件",
|
|
617
655
|
rules: [{ required: !0, message: "必填项", trigger: "change" }],
|
|
618
|
-
prop: "matchFields." +
|
|
656
|
+
prop: "matchFields." + s + ".matchCondition"
|
|
619
657
|
}, {
|
|
620
|
-
default:
|
|
621
|
-
|
|
658
|
+
default: l(() => [
|
|
659
|
+
e(V, {
|
|
622
660
|
modelValue: a.matchCondition,
|
|
623
|
-
"onUpdate:modelValue": (
|
|
661
|
+
"onUpdate:modelValue": (d) => a.matchCondition = d,
|
|
624
662
|
placeholder: "请选择匹配条件",
|
|
625
663
|
clearable: "",
|
|
626
664
|
filterable: ""
|
|
627
665
|
}, {
|
|
628
|
-
default:
|
|
629
|
-
(
|
|
666
|
+
default: l(() => [
|
|
667
|
+
(n(!0), b(f, null, g(o(z), (d, C) => (n(), m(_, {
|
|
630
668
|
key: C,
|
|
631
|
-
label:
|
|
632
|
-
value:
|
|
669
|
+
label: d.key,
|
|
670
|
+
value: d.value
|
|
633
671
|
}, null, 8, ["label", "value"]))), 128))
|
|
634
672
|
]),
|
|
635
673
|
_: 1
|
|
@@ -640,16 +678,16 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
640
678
|
]),
|
|
641
679
|
_: 2
|
|
642
680
|
}, 1024),
|
|
643
|
-
|
|
644
|
-
default:
|
|
645
|
-
|
|
681
|
+
e(i, { span: 6 }, {
|
|
682
|
+
default: l(() => [
|
|
683
|
+
e(r, {
|
|
646
684
|
label: "字段值",
|
|
647
|
-
prop: "matchFields." +
|
|
685
|
+
prop: "matchFields." + s + ".fieldValue"
|
|
648
686
|
}, {
|
|
649
|
-
default:
|
|
650
|
-
|
|
687
|
+
default: l(() => [
|
|
688
|
+
e(p, {
|
|
651
689
|
modelValue: a.fieldValue,
|
|
652
|
-
"onUpdate:modelValue": (
|
|
690
|
+
"onUpdate:modelValue": (d) => a.fieldValue = d,
|
|
653
691
|
placeholder: "请输入字段值",
|
|
654
692
|
clearable: ""
|
|
655
693
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -659,45 +697,45 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
659
697
|
]),
|
|
660
698
|
_: 2
|
|
661
699
|
}, 1024),
|
|
662
|
-
|
|
700
|
+
e(i, {
|
|
663
701
|
class: "submit-operate",
|
|
664
702
|
span: 2
|
|
665
703
|
}, {
|
|
666
|
-
default:
|
|
667
|
-
|
|
704
|
+
default: l(() => [
|
|
705
|
+
e(v, {
|
|
668
706
|
class: "match-opreate",
|
|
669
707
|
type: "danger",
|
|
670
708
|
icon: "Minus",
|
|
671
709
|
circle: "",
|
|
672
|
-
onClick: (
|
|
710
|
+
onClick: (d) => Z(s)
|
|
673
711
|
}, null, 8, ["onClick"])
|
|
674
712
|
]),
|
|
675
713
|
_: 2
|
|
676
714
|
}, 1024),
|
|
677
|
-
|
|
715
|
+
s + 1 !== o(t).matchFields.length ? (n(), m(i, {
|
|
678
716
|
key: 0,
|
|
679
717
|
span: 24
|
|
680
718
|
}, {
|
|
681
|
-
default:
|
|
682
|
-
|
|
719
|
+
default: l(() => [
|
|
720
|
+
e(r, {
|
|
683
721
|
class: "condition-box",
|
|
684
722
|
label: "",
|
|
685
723
|
"label-width": "0",
|
|
686
|
-
prop: "matchFields." +
|
|
724
|
+
prop: "matchFields." + s + ".spliceCondition"
|
|
687
725
|
}, {
|
|
688
|
-
default:
|
|
689
|
-
|
|
726
|
+
default: l(() => [
|
|
727
|
+
e(V, {
|
|
690
728
|
modelValue: a.spliceCondition,
|
|
691
|
-
"onUpdate:modelValue": (
|
|
729
|
+
"onUpdate:modelValue": (d) => a.spliceCondition = d,
|
|
692
730
|
placeholder: "请选择拼接条件",
|
|
693
731
|
clearable: "",
|
|
694
732
|
filterable: ""
|
|
695
733
|
}, {
|
|
696
|
-
default:
|
|
697
|
-
(
|
|
734
|
+
default: l(() => [
|
|
735
|
+
(n(!0), b(f, null, g(o(Fe), (d, C) => (n(), m(_, {
|
|
698
736
|
key: C,
|
|
699
|
-
label:
|
|
700
|
-
value:
|
|
737
|
+
label: d.key,
|
|
738
|
+
value: d.value
|
|
701
739
|
}, null, 8, ["label", "value"]))), 128))
|
|
702
740
|
]),
|
|
703
741
|
_: 1
|
|
@@ -711,18 +749,18 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
711
749
|
]),
|
|
712
750
|
_: 2
|
|
713
751
|
}, 1024))), 128)),
|
|
714
|
-
|
|
715
|
-
default:
|
|
716
|
-
|
|
717
|
-
default:
|
|
718
|
-
|
|
752
|
+
e(F, { gutter: 24 }, {
|
|
753
|
+
default: l(() => [
|
|
754
|
+
e(i, { span: 4 }, {
|
|
755
|
+
default: l(() => [
|
|
756
|
+
e(r, {
|
|
719
757
|
label: "自定义按钮",
|
|
720
758
|
prop: "isCustomBtn"
|
|
721
759
|
}, {
|
|
722
|
-
default:
|
|
723
|
-
|
|
760
|
+
default: l(() => [
|
|
761
|
+
e(te, {
|
|
724
762
|
modelValue: o(t).isCustomBtn,
|
|
725
|
-
"onUpdate:modelValue": u[
|
|
763
|
+
"onUpdate:modelValue": u[13] || (u[13] = (a) => o(t).isCustomBtn = a),
|
|
726
764
|
onChange: G
|
|
727
765
|
}, null, 8, ["modelValue"])
|
|
728
766
|
]),
|
|
@@ -731,27 +769,27 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
731
769
|
]),
|
|
732
770
|
_: 1
|
|
733
771
|
}),
|
|
734
|
-
o(t).isCustomBtn ? (
|
|
772
|
+
o(t).isCustomBtn ? (n(), m(i, {
|
|
735
773
|
key: 0,
|
|
736
774
|
span: 6
|
|
737
775
|
}, {
|
|
738
|
-
default:
|
|
739
|
-
|
|
776
|
+
default: l(() => [
|
|
777
|
+
e(r, {
|
|
740
778
|
label: "自定义类型",
|
|
741
779
|
rules: [{ required: !0, message: "必填项", trigger: "change" }],
|
|
742
780
|
prop: "customType"
|
|
743
781
|
}, {
|
|
744
|
-
default:
|
|
745
|
-
|
|
782
|
+
default: l(() => [
|
|
783
|
+
e(V, {
|
|
746
784
|
modelValue: o(t).customType,
|
|
747
|
-
"onUpdate:modelValue": u[
|
|
785
|
+
"onUpdate:modelValue": u[14] || (u[14] = (a) => o(t).customType = a),
|
|
748
786
|
placeholder: "请选择关联菜单",
|
|
749
787
|
filterable: "",
|
|
750
788
|
clearable: ""
|
|
751
789
|
}, {
|
|
752
|
-
default:
|
|
753
|
-
(
|
|
754
|
-
key:
|
|
790
|
+
default: l(() => [
|
|
791
|
+
(n(!0), b(f, null, g(o(ve), (a, s) => (n(), m(_, {
|
|
792
|
+
key: s,
|
|
755
793
|
label: a.key,
|
|
756
794
|
value: a.value
|
|
757
795
|
}, null, 8, ["label", "value"]))), 128))
|
|
@@ -764,20 +802,20 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
764
802
|
]),
|
|
765
803
|
_: 1
|
|
766
804
|
})) : h("", !0),
|
|
767
|
-
|
|
768
|
-
default:
|
|
769
|
-
|
|
770
|
-
default:
|
|
771
|
-
|
|
805
|
+
e(i, { span: 6 }, {
|
|
806
|
+
default: l(() => [
|
|
807
|
+
e(r, { label: "关联菜单" }, {
|
|
808
|
+
default: l(() => [
|
|
809
|
+
e(V, {
|
|
772
810
|
modelValue: o(t).associationMenuId,
|
|
773
|
-
"onUpdate:modelValue": u[
|
|
811
|
+
"onUpdate:modelValue": u[15] || (u[15] = (a) => o(t).associationMenuId = a),
|
|
774
812
|
placeholder: "请选择关联菜单",
|
|
775
813
|
filterable: "",
|
|
776
814
|
clearable: ""
|
|
777
815
|
}, {
|
|
778
|
-
default:
|
|
779
|
-
(
|
|
780
|
-
key:
|
|
816
|
+
default: l(() => [
|
|
817
|
+
(n(!0), b(f, null, g(o($), (a, s) => (n(), m(_, {
|
|
818
|
+
key: s,
|
|
781
819
|
label: a.name,
|
|
782
820
|
value: a.id
|
|
783
821
|
}, null, 8, ["label", "value"]))), 128))
|
|
@@ -793,22 +831,22 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
793
831
|
]),
|
|
794
832
|
_: 1
|
|
795
833
|
}),
|
|
796
|
-
o(t).customType === "code" ? (
|
|
834
|
+
o(t).customType === "code" ? (n(), m(F, {
|
|
797
835
|
key: 0,
|
|
798
836
|
gutter: 24
|
|
799
837
|
}, {
|
|
800
|
-
default:
|
|
801
|
-
|
|
802
|
-
default:
|
|
803
|
-
|
|
838
|
+
default: l(() => [
|
|
839
|
+
e(i, { span: 24 }, {
|
|
840
|
+
default: l(() => [
|
|
841
|
+
e(r, {
|
|
804
842
|
label: "代码片段",
|
|
805
843
|
rules: [{ required: !0, message: "必填项", trigger: "change" }],
|
|
806
844
|
prop: "codeStr"
|
|
807
845
|
}, {
|
|
808
|
-
default:
|
|
809
|
-
|
|
846
|
+
default: l(() => [
|
|
847
|
+
e(o(D), {
|
|
810
848
|
modelValue: o(t).codeStr,
|
|
811
|
-
"onUpdate:modelValue": u[
|
|
849
|
+
"onUpdate:modelValue": u[16] || (u[16] = (a) => o(t).codeStr = a)
|
|
812
850
|
}, null, 8, ["modelValue"])
|
|
813
851
|
]),
|
|
814
852
|
_: 1
|
|
@@ -819,27 +857,27 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
819
857
|
]),
|
|
820
858
|
_: 1
|
|
821
859
|
})) : h("", !0),
|
|
822
|
-
o(t).customType === "component" ? (
|
|
860
|
+
o(t).customType === "component" ? (n(), m(F, {
|
|
823
861
|
key: 1,
|
|
824
862
|
gutter: 24
|
|
825
863
|
}, {
|
|
826
|
-
default:
|
|
827
|
-
|
|
828
|
-
default:
|
|
829
|
-
|
|
864
|
+
default: l(() => [
|
|
865
|
+
e(i, { span: 10 }, {
|
|
866
|
+
default: l(() => [
|
|
867
|
+
e(r, {
|
|
830
868
|
label: "组件名称",
|
|
831
869
|
rules: [{ required: !0, message: "必填项", trigger: "blur" }],
|
|
832
870
|
prop: "customComponentName"
|
|
833
871
|
}, {
|
|
834
|
-
default:
|
|
835
|
-
|
|
872
|
+
default: l(() => [
|
|
873
|
+
e(p, {
|
|
836
874
|
modelValue: o(t).customComponentName,
|
|
837
|
-
"onUpdate:modelValue": u[
|
|
875
|
+
"onUpdate:modelValue": u[17] || (u[17] = (a) => o(t).customComponentName = a),
|
|
838
876
|
placeholder: "请输入组件名称",
|
|
839
877
|
clearable: ""
|
|
840
878
|
}, {
|
|
841
|
-
prepend:
|
|
842
|
-
U(
|
|
879
|
+
prepend: l(() => [
|
|
880
|
+
U(P(j.value), 1)
|
|
843
881
|
]),
|
|
844
882
|
_: 1
|
|
845
883
|
}, 8, ["modelValue"])
|
|
@@ -849,17 +887,17 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
849
887
|
]),
|
|
850
888
|
_: 1
|
|
851
889
|
}),
|
|
852
|
-
|
|
853
|
-
default:
|
|
854
|
-
|
|
890
|
+
e(i, { span: 14 }, {
|
|
891
|
+
default: l(() => [
|
|
892
|
+
e(r, {
|
|
855
893
|
label: "组件地址",
|
|
856
894
|
rules: [{ required: !0, message: "必填项", trigger: "blur" }],
|
|
857
895
|
prop: "customComponentUrl"
|
|
858
896
|
}, {
|
|
859
|
-
default:
|
|
860
|
-
|
|
897
|
+
default: l(() => [
|
|
898
|
+
e(p, {
|
|
861
899
|
modelValue: o(t).customComponentUrl,
|
|
862
|
-
"onUpdate:modelValue": u[
|
|
900
|
+
"onUpdate:modelValue": u[18] || (u[18] = (a) => o(t).customComponentUrl = a),
|
|
863
901
|
placeholder: "请输入组件地址",
|
|
864
902
|
clearable: ""
|
|
865
903
|
}, null, 8, ["modelValue"])
|
|
@@ -880,7 +918,7 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
880
918
|
}, 8, ["model-value", "title"]);
|
|
881
919
|
};
|
|
882
920
|
}
|
|
883
|
-
},
|
|
921
|
+
}, Ie = /* @__PURE__ */ ce(ke, [["__scopeId", "data-v-09e29238"]]);
|
|
884
922
|
export {
|
|
885
|
-
|
|
923
|
+
Ie as default
|
|
886
924
|
};
|