act-plus 1.1.16 → 1.1.18

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