act-plus 1.1.91 → 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.
@@ -1,5 +1,5 @@
1
- import { defineAsyncComponent as P, inject as k, computed as ne, reactive as re, ref as q, watch as ie, resolveComponent as y, resolveDirective as se, openBlock as d, createBlock as m, withCtx as e, createElementVNode as me, createVNode as l, unref as o, createTextVNode as U, withDirectives as pe, toDisplayString as L, createElementBlock as b, Fragment as f, renderList as g, createCommentVNode as h } from "vue";
2
- import { _ as ce, B as be, d as fe, e as ge, f as _e, Y as Ve, g as ye, h as he, i as Ce, j as Fe, k as ve } from "./index-dd0e4184.js";
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(O, { emit: x }) {
14
- const D = P(() => import("./index-ddb4ce93.js")), E = P(() => import("./index-d8903caa.js")), W = Ue(), Y = k("apiPrefix"), R = k("request"), I = x, N = O, j = ne(() => W.params.key);
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 A = k("createDefaultButtonItem"), $ = k("associationMenuList"), z = k("conditionList")();
19
- let M = q([]), B = q(null), t = q(A());
20
- const H = (p) => R({ url: `${Y}/icons/getAllList`, method: "post", data: p }), K = async () => {
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: p } = await H({ dynamicFilters: [{ field: "type", operate: "Equal", value: "2" }] });
23
- M.value = p || [];
24
- } catch (p) {
25
- console.error(p);
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 (p, u) => {
31
- if (p) {
30
+ async (c, u) => {
31
+ if (c) {
32
32
  await K();
33
- const c = { ...N.data };
33
+ const p = { ...N.data };
34
34
  Object.keys(t.value).forEach((r) => {
35
- r == "submitFields" || r == "matchFields" ? t.value[r] = [...c[r] || []] : r == "isPromptVerificationSelectTable" ? t.value[r] = c[r] ?? "1" : t.value[r] = c[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 = (p) => {
45
- t.value.submitFields.splice(p, 1);
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 = (p) => {
49
- t.value.matchFields.splice(p, 1), t.value.matchFields.length === 1 && (t.value.matchFields[0].spliceCondition = "");
50
- }, ee = (p, u) => {
51
- p.submitFieldMatchOrigin = u === "match" ? "rowData" : "";
52
- }, le = (p) => {
53
- S(), p();
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, A()), B.value.resetFields(), I("update:visible", !1);
56
- }, ae = (p) => {
57
- p && p.validate((u) => {
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, I("refresh", { ...t.value, submitFields: [...t.value.submitFields], matchFields: [...t.value.matchFields] }, () => {
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 (c) {
64
- console.error(c), T.btnLoading = !1;
63
+ } catch (p) {
64
+ console.error(p), T.btnLoading = !1;
65
65
  }
66
66
  });
67
67
  };
68
- return (p, u) => {
69
- const c = y("el-input"), r = y("el-form-item"), s = 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"), de = se("debounce");
70
- return d(), m(ue, {
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: e(() => [
82
+ footer: l(() => [
83
83
  me("span", Te, [
84
- l(v, {
84
+ e(v, {
85
85
  loading: o(T).btnLoading,
86
86
  onClick: S
87
87
  }, {
88
- default: e(() => [...u[20] || (u[20] = [
88
+ default: l(() => [...u[22] || (u[22] = [
89
89
  U("取消", -1)
90
90
  ])]),
91
91
  _: 1
92
92
  }, 8, ["loading"]),
93
- pe((d(), m(v, {
93
+ pe((n(), m(v, {
94
94
  type: "primary",
95
95
  loading: o(T).btnLoading,
96
- onClick: u[17] || (u[17] = (a) => ae(o(B)))
96
+ onClick: u[19] || (u[19] = (a) => ae(o(B)))
97
97
  }, {
98
- default: e(() => [...u[21] || (u[21] = [
98
+ default: l(() => [...u[23] || (u[23] = [
99
99
  U("保存", -1)
100
100
  ])]),
101
101
  _: 1
102
102
  }, 8, ["loading"])), [
103
- [de]
103
+ [ne]
104
104
  ])
105
105
  ])
106
106
  ]),
107
- default: e(() => [
108
- l(oe, {
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: e(() => [
116
- l(F, { gutter: 24 }, {
117
- default: e(() => [
118
- l(s, { span: 6 }, {
119
- default: e(() => [
120
- l(r, {
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: e(() => [
125
- l(c, {
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: e(() => [
132
- U(L(o(t).permissionCode), 1)
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
- l(s, { span: 6 }, {
143
- default: e(() => [
144
- l(r, {
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: e(() => [
149
- l(o(D), {
167
+ default: l(() => [
168
+ e(o(x), {
150
169
  modelValue: o(t).btnIcon,
151
- "onUpdate:modelValue": u[1] || (u[1] = (a) => o(t).btnIcon = a),
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
- l(s, { span: 24 }, {
162
- default: e(() => [
163
- l(r, {
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: e(() => [
169
- l(c, {
187
+ default: l(() => [
188
+ e(p, {
170
189
  modelValue: o(t).requestUrl,
171
- "onUpdate:modelValue": u[2] || (u[2] = (a) => o(t).requestUrl = a),
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
- l(s, { span: 12 }, {
182
- default: e(() => [
183
- l(r, {
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: e(() => [
189
- l(V, {
207
+ default: l(() => [
208
+ e(V, {
190
209
  modelValue: o(t).btnPostion,
191
- "onUpdate:modelValue": u[3] || (u[3] = (a) => o(t).btnPostion = a),
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: e(() => [
197
- (d(!0), b(f, null, g(o(be), (a, i) => (d(), m(_, {
198
- key: i,
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
- l(s, { span: 12 }, {
212
- default: e(() => [
213
- l(r, {
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: e(() => [
219
- l(V, {
237
+ default: l(() => [
238
+ e(V, {
220
239
  modelValue: o(t).btnType,
221
- "onUpdate:modelValue": u[4] || (u[4] = (a) => o(t).btnType = a),
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: e(() => [
227
- (d(!0), b(f, null, g(o(fe), (a, i) => (d(), m(_, {
228
- key: i,
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
- l(s, { span: 12 }, {
242
- default: e(() => [
243
- l(r, {
260
+ e(i, { span: 12 }, {
261
+ default: l(() => [
262
+ e(r, {
244
263
  label: "按钮别名",
245
264
  prop: "btnAlias"
246
265
  }, {
247
- default: e(() => [
248
- l(c, {
266
+ default: l(() => [
267
+ e(p, {
249
268
  modelValue: o(t).btnAlias,
250
- "onUpdate:modelValue": u[5] || (u[5] = (a) => o(t).btnAlias = a),
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
- l(s, { span: 12 }, {
261
- default: e(() => [
262
- l(r, {
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: e(() => [
268
- l(V, {
305
+ default: l(() => [
306
+ e(V, {
269
307
  modelValue: o(t).btnColor,
270
- "onUpdate:modelValue": u[6] || (u[6] = (a) => o(t).btnColor = a),
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: e(() => [
276
- (d(!0), b(f, null, g(o(ge), (a, i) => (d(), m(_, {
277
- key: i,
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" ? (d(), m(s, {
328
+ !o(t).isCustomBtn && o(t).permissionCode != "1001" ? (n(), m(i, {
291
329
  key: 0,
292
330
  span: 12
293
331
  }, {
294
- default: e(() => [
295
- !o(t).isCustomBtn && o(t).permissionCode != "1001" ? (d(), m(r, {
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: e(() => [
302
- l(V, {
339
+ default: l(() => [
340
+ e(V, {
303
341
  modelValue: o(t).submitWay,
304
- "onUpdate:modelValue": u[7] || (u[7] = (a) => o(t).submitWay = a),
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: e(() => [
310
- (d(!0), b(f, null, g(o(_e), (a, i) => (d(), m(_, {
311
- key: i,
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) ? (d(), m(s, {
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: e(() => [
329
- l(r, {
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: e(() => [
335
- l(c, {
372
+ default: l(() => [
373
+ e(p, {
336
374
  modelValue: o(t).importFileName,
337
- "onUpdate:modelValue": u[8] || (u[8] = (a) => o(t).importFileName = a),
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) ? (d(), m(s, {
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: e(() => [
352
- l(r, {
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: e(() => [
358
- l(c, {
395
+ default: l(() => [
396
+ e(p, {
359
397
  modelValue: o(t).importAccept,
360
- "onUpdate:modelValue": u[9] || (u[9] = (a) => o(t).importAccept = a),
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) ? (d(), m(s, {
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: e(() => [
375
- l(r, {
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: e(() => [
381
- l(V, {
418
+ default: l(() => [
419
+ e(V, {
382
420
  modelValue: o(t).isPromptVerificationSelectTable,
383
- "onUpdate:modelValue": u[10] || (u[10] = (a) => o(t).isPromptVerificationSelectTable = a),
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: e(() => [
389
- (d(!0), b(f, null, g(o(Ve), (a, i) => (d(), m(_, {
390
- key: i,
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
- l(w, { "content-position": "left" }, {
407
- default: e(() => [
408
- u[18] || (u[18] = U(" 提交字段配置 ", -1)),
409
- l(v, {
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
- (d(!0), b(f, null, g(o(t).submitFields, (a, i) => (d(), m(F, {
457
+ (n(!0), b(f, null, g(o(t).submitFields, (a, s) => (n(), m(F, {
420
458
  gutter: 24,
421
- key: i
459
+ key: s
422
460
  }, {
423
- default: e(() => [
424
- l(s, { span: 6 }, {
425
- default: e(() => [
426
- l(r, {
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." + i + ".submitFieldName"
467
+ prop: "submitFields." + s + ".submitFieldName"
430
468
  }, {
431
- default: e(() => [
432
- l(c, {
469
+ default: l(() => [
470
+ e(p, {
433
471
  modelValue: a.submitFieldName,
434
- "onUpdate:modelValue": (n) => a.submitFieldName = n,
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
- l(s, { span: 8 }, {
445
- default: e(() => [
446
- l(r, {
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." + i + ".matchFieldName"
488
+ prop: "submitFields." + s + ".matchFieldName"
451
489
  }, {
452
- default: e(() => [
453
- l(c, {
490
+ default: l(() => [
491
+ e(p, {
454
492
  placeholder: "请输入",
455
493
  modelValue: a.matchFieldName,
456
- "onUpdate:modelValue": (n) => a.matchFieldName = n,
494
+ "onUpdate:modelValue": (d) => a.matchFieldName = d,
457
495
  clearable: ""
458
496
  }, {
459
- prepend: e(() => [
460
- l(V, {
497
+ prepend: l(() => [
498
+ e(V, {
461
499
  modelValue: a.matchType,
462
- "onUpdate:modelValue": (n) => a.matchType = n,
500
+ "onUpdate:modelValue": (d) => a.matchType = d,
463
501
  placeholder: "请选择",
464
502
  style: { width: "120px" },
465
- onChange: (n) => ee(a, n)
503
+ onChange: (d) => ee(a, d)
466
504
  }, {
467
- default: e(() => [
468
- (d(!0), b(f, null, g(o(ye), (n, C) => (d(), m(_, {
505
+ default: l(() => [
506
+ (n(!0), b(f, null, g(o(ye), (d, C) => (n(), m(_, {
469
507
  key: C,
470
- label: n.key,
471
- value: n.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" ? (d(), m(s, {
523
+ a.matchType === "match" ? (n(), m(i, {
486
524
  key: 0,
487
525
  span: 5
488
526
  }, {
489
- default: e(() => [
490
- l(r, {
527
+ default: l(() => [
528
+ e(r, {
491
529
  label: "匹配源",
492
530
  rules: [{ required: !1, message: "必填项", trigger: "blur" }],
493
- prop: "submitFields." + i + ".submitFieldMatchOrigin"
531
+ prop: "submitFields." + s + ".submitFieldMatchOrigin"
494
532
  }, {
495
- default: e(() => [
496
- l(c, {
533
+ default: l(() => [
534
+ e(p, {
497
535
  modelValue: a.submitFieldMatchOrigin,
498
- "onUpdate:modelValue": (n) => a.submitFieldMatchOrigin = n,
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
- l(s, { span: 4 }, {
509
- default: e(() => [
510
- l(r, {
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." + i + ".submitFieldType"
551
+ prop: "submitFields." + s + ".submitFieldType"
514
552
  }, {
515
- default: e(() => [
516
- l(V, {
553
+ default: l(() => [
554
+ e(V, {
517
555
  modelValue: a.submitFieldType,
518
- "onUpdate:modelValue": (n) => a.submitFieldType = n,
556
+ "onUpdate:modelValue": (d) => a.submitFieldType = d,
519
557
  placeholder: "请选择提交类型",
520
558
  filterable: "",
521
559
  clearable: ""
522
560
  }, {
523
- default: e(() => [
524
- (d(!0), b(f, null, g(o(he), (n, C) => (d(), m(_, {
561
+ default: l(() => [
562
+ (n(!0), b(f, null, g(o(he), (d, C) => (n(), m(_, {
525
563
  key: C,
526
- label: n.key,
527
- value: n.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
- l(s, {
576
+ e(i, {
539
577
  class: "submit-operate",
540
578
  span: 1
541
579
  }, {
542
- default: e(() => [
543
- l(v, {
580
+ default: l(() => [
581
+ e(v, {
544
582
  class: "match-opreate",
545
583
  type: "danger",
546
584
  icon: "Minus",
547
585
  circle: "",
548
- onClick: (n) => Q(i)
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
- l(w, { "content-position": "left" }, {
557
- default: e(() => [
558
- u[19] || (u[19] = U(" 匹配字段配置(表格操作列按钮显示/隐藏) ", -1)),
559
- l(v, {
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
- (d(!0), b(f, null, g(o(t).matchFields, (a, i) => (d(), m(F, {
607
+ (n(!0), b(f, null, g(o(t).matchFields, (a, s) => (n(), m(F, {
570
608
  gutter: 24,
571
- key: i
609
+ key: s
572
610
  }, {
573
- default: e(() => [
574
- l(s, { span: 10 }, {
575
- default: e(() => [
576
- l(r, {
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." + i + ".matchFieldName"
617
+ prop: "matchFields." + s + ".matchFieldName"
580
618
  }, {
581
- default: e(() => [
582
- l(c, {
619
+ default: l(() => [
620
+ e(p, {
583
621
  placeholder: "请输入",
584
622
  modelValue: a.matchFieldName,
585
- "onUpdate:modelValue": (n) => a.matchFieldName = n,
623
+ "onUpdate:modelValue": (d) => a.matchFieldName = d,
586
624
  clearable: ""
587
625
  }, {
588
- prepend: e(() => [
589
- l(V, {
626
+ prepend: l(() => [
627
+ e(V, {
590
628
  modelValue: a.matchType,
591
- "onUpdate:modelValue": (n) => a.matchType = n,
629
+ "onUpdate:modelValue": (d) => a.matchType = d,
592
630
  placeholder: "请选择",
593
631
  style: { width: "180px" }
594
632
  }, {
595
- default: e(() => [
596
- (d(!0), b(f, null, g(o(Ce), (n, C) => (d(), m(_, {
633
+ default: l(() => [
634
+ (n(!0), b(f, null, g(o(Ce), (d, C) => (n(), m(_, {
597
635
  key: C,
598
- label: n.key,
599
- value: n.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
- l(s, { span: 6 }, {
614
- default: e(() => [
615
- l(r, {
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." + i + ".matchCondition"
656
+ prop: "matchFields." + s + ".matchCondition"
619
657
  }, {
620
- default: e(() => [
621
- l(V, {
658
+ default: l(() => [
659
+ e(V, {
622
660
  modelValue: a.matchCondition,
623
- "onUpdate:modelValue": (n) => a.matchCondition = n,
661
+ "onUpdate:modelValue": (d) => a.matchCondition = d,
624
662
  placeholder: "请选择匹配条件",
625
663
  clearable: "",
626
664
  filterable: ""
627
665
  }, {
628
- default: e(() => [
629
- (d(!0), b(f, null, g(o(z), (n, C) => (d(), m(_, {
666
+ default: l(() => [
667
+ (n(!0), b(f, null, g(o(z), (d, C) => (n(), m(_, {
630
668
  key: C,
631
- label: n.key,
632
- value: n.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
- l(s, { span: 6 }, {
644
- default: e(() => [
645
- l(r, {
681
+ e(i, { span: 6 }, {
682
+ default: l(() => [
683
+ e(r, {
646
684
  label: "字段值",
647
- prop: "matchFields." + i + ".fieldValue"
685
+ prop: "matchFields." + s + ".fieldValue"
648
686
  }, {
649
- default: e(() => [
650
- l(c, {
687
+ default: l(() => [
688
+ e(p, {
651
689
  modelValue: a.fieldValue,
652
- "onUpdate:modelValue": (n) => a.fieldValue = n,
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
- l(s, {
700
+ e(i, {
663
701
  class: "submit-operate",
664
702
  span: 2
665
703
  }, {
666
- default: e(() => [
667
- l(v, {
704
+ default: l(() => [
705
+ e(v, {
668
706
  class: "match-opreate",
669
707
  type: "danger",
670
708
  icon: "Minus",
671
709
  circle: "",
672
- onClick: (n) => Z(i)
710
+ onClick: (d) => Z(s)
673
711
  }, null, 8, ["onClick"])
674
712
  ]),
675
713
  _: 2
676
714
  }, 1024),
677
- i + 1 !== o(t).matchFields.length ? (d(), m(s, {
715
+ s + 1 !== o(t).matchFields.length ? (n(), m(i, {
678
716
  key: 0,
679
717
  span: 24
680
718
  }, {
681
- default: e(() => [
682
- l(r, {
719
+ default: l(() => [
720
+ e(r, {
683
721
  class: "condition-box",
684
722
  label: "",
685
723
  "label-width": "0",
686
- prop: "matchFields." + i + ".spliceCondition"
724
+ prop: "matchFields." + s + ".spliceCondition"
687
725
  }, {
688
- default: e(() => [
689
- l(V, {
726
+ default: l(() => [
727
+ e(V, {
690
728
  modelValue: a.spliceCondition,
691
- "onUpdate:modelValue": (n) => a.spliceCondition = n,
729
+ "onUpdate:modelValue": (d) => a.spliceCondition = d,
692
730
  placeholder: "请选择拼接条件",
693
731
  clearable: "",
694
732
  filterable: ""
695
733
  }, {
696
- default: e(() => [
697
- (d(!0), b(f, null, g(o(Fe), (n, C) => (d(), m(_, {
734
+ default: l(() => [
735
+ (n(!0), b(f, null, g(o(Fe), (d, C) => (n(), m(_, {
698
736
  key: C,
699
- label: n.key,
700
- value: n.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
- l(F, { gutter: 24 }, {
715
- default: e(() => [
716
- l(s, { span: 4 }, {
717
- default: e(() => [
718
- l(r, {
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: e(() => [
723
- l(te, {
760
+ default: l(() => [
761
+ e(te, {
724
762
  modelValue: o(t).isCustomBtn,
725
- "onUpdate:modelValue": u[11] || (u[11] = (a) => o(t).isCustomBtn = a),
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 ? (d(), m(s, {
772
+ o(t).isCustomBtn ? (n(), m(i, {
735
773
  key: 0,
736
774
  span: 6
737
775
  }, {
738
- default: e(() => [
739
- l(r, {
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: e(() => [
745
- l(V, {
782
+ default: l(() => [
783
+ e(V, {
746
784
  modelValue: o(t).customType,
747
- "onUpdate:modelValue": u[12] || (u[12] = (a) => o(t).customType = a),
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: e(() => [
753
- (d(!0), b(f, null, g(o(ve), (a, i) => (d(), m(_, {
754
- key: i,
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
- l(s, { span: 6 }, {
768
- default: e(() => [
769
- l(r, { label: "关联菜单" }, {
770
- default: e(() => [
771
- l(V, {
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[13] || (u[13] = (a) => o(t).associationMenuId = a),
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: e(() => [
779
- (d(!0), b(f, null, g(o($), (a, i) => (d(), m(_, {
780
- key: i,
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" ? (d(), m(F, {
834
+ o(t).customType === "code" ? (n(), m(F, {
797
835
  key: 0,
798
836
  gutter: 24
799
837
  }, {
800
- default: e(() => [
801
- l(s, { span: 24 }, {
802
- default: e(() => [
803
- l(r, {
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: e(() => [
809
- l(o(E), {
846
+ default: l(() => [
847
+ e(o(D), {
810
848
  modelValue: o(t).codeStr,
811
- "onUpdate:modelValue": u[14] || (u[14] = (a) => o(t).codeStr = a)
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" ? (d(), m(F, {
860
+ o(t).customType === "component" ? (n(), m(F, {
823
861
  key: 1,
824
862
  gutter: 24
825
863
  }, {
826
- default: e(() => [
827
- l(s, { span: 10 }, {
828
- default: e(() => [
829
- l(r, {
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: e(() => [
835
- l(c, {
872
+ default: l(() => [
873
+ e(p, {
836
874
  modelValue: o(t).customComponentName,
837
- "onUpdate:modelValue": u[15] || (u[15] = (a) => o(t).customComponentName = a),
875
+ "onUpdate:modelValue": u[17] || (u[17] = (a) => o(t).customComponentName = a),
838
876
  placeholder: "请输入组件名称",
839
877
  clearable: ""
840
878
  }, {
841
- prepend: e(() => [
842
- U(L(j.value), 1)
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
- l(s, { span: 14 }, {
853
- default: e(() => [
854
- l(r, {
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: e(() => [
860
- l(c, {
897
+ default: l(() => [
898
+ e(p, {
861
899
  modelValue: o(t).customComponentUrl,
862
- "onUpdate:modelValue": u[16] || (u[16] = (a) => o(t).customComponentUrl = a),
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
- }, Ae = /* @__PURE__ */ ce(ke, [["__scopeId", "data-v-2debd2c2"]]);
921
+ }, Ie = /* @__PURE__ */ ce(ke, [["__scopeId", "data-v-09e29238"]]);
884
922
  export {
885
- Ae as default
923
+ Ie as default
886
924
  };