act-plus 1.1.55 → 1.1.56

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