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,941 +0,0 @@
1
- import { defineAsyncComponent as re, inject as E, reactive as de, ref as A, watch as se, resolveComponent as C, resolveDirective as ie, openBlock as r, createBlock as i, withCtx as a, createElementVNode as L, createVNode as l, unref as m, createTextVNode as S, withDirectives as me, createElementBlock as c, Fragment as y, renderList as g, createCommentVNode as U, toDisplayString as pe } from "vue";
2
- import { _ as fe, U as M, F as be, k as ce, l as ye, S as Ce, T as ge, A as _e, C as Ve, m as ve } from "./index-2693b9c5.js";
3
- import "vue-router";
4
- import "js-base64";
5
- import "element-plus";
6
- import "monaco-editor";
7
- const Te = { slot: "prepend" }, Se = { class: "dialog-footer" }, Ue = {
8
- __name: "dialogAddField",
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(Q, { emit: I }) {
16
- const K = re(() => import("./dialogSiteComponentsParams-9ec43656.js")), h = I, P = Q, N = E("pageKey")(), O = E("conditionList")(), W = E("configData")();
17
- let k = de((() => ({
18
- btnLoading: !1,
19
- showSiteComponentsParamsDialog: !1
20
- }))());
21
- const x = () => ({
22
- sort: 0,
23
- fieldName: void 0,
24
- fieldKey: void 0,
25
- fieldType: void 0,
26
- fieldUiProps: "",
27
- fieldSubmitType: "string",
28
- fieldRequestType: "GET",
29
- fieldRequestUrl: void 0,
30
- postRequestParams: [],
31
- useScenes: [],
32
- formColumnCol: 12,
33
- formCustomComponentes: [],
34
- customTableHeaderName: "",
35
- customTableHeaderUrl: "",
36
- isFormFieldRequired: !0,
37
- isFormSetValue: !0,
38
- isFormDisabled: !1,
39
- tableQueryCondition: void 0,
40
- tableQueryDefaultValue: void 0,
41
- tableCellWidthType: "min",
42
- tableCellWidth: "120",
43
- tableCellAlignType: "center",
44
- tableCellContentType: "default",
45
- isTableCellOverflowTooltip: !0,
46
- isTableCellSort: !0
47
- }), R = M, w = A(null), u = A(x()), Y = () => ["select", "selectIcon", "multipleSelect", "treeSelect", "provinceCascade", "switch", "virtualizedSelect", "virtualizedMultipleSelect"].includes(
48
- u.value.fieldType
49
- ), $ = () => u.value.useScenes.includes("tableSearch") && u.value.fieldType !== "time", B = () => u.value.useScenes.includes("tableShow"), j = () => u.value.fieldType && u.value.fieldType !== "implicit" && u.value.useScenes.some((f) => !["tableSearch", "tableShow"].some((t) => t == f));
50
- se(
51
- () => P.visible,
52
- async (f, t) => {
53
- if (f) {
54
- const p = (W.value.buttons || []).filter((o) => o.permissionCode != 1001).map((o) => ({ key: o.btnName, value: o.permissionCode }));
55
- R.some((o) => {
56
- if (o.label === "表单配置")
57
- return o.options = p, !0;
58
- });
59
- const { data: n } = P;
60
- if (!n.fieldName)
61
- return;
62
- Object.keys(u.value).forEach((o) => {
63
- if (o == "permissionCode")
64
- u.value[o] = n.unique;
65
- else if (o == "formCustomComponentes") {
66
- const _ = p.filter((b) => n.useScenes.includes(b.value)).map((b) => {
67
- const v = n[o].find((T) => T.permissionCode == b.value) || {};
68
- return {
69
- btnName: b.key,
70
- permissionCode: b.value,
71
- pageKey: N.value,
72
- customComponentName: void 0,
73
- customComponentUrl: void 0,
74
- isFieldCustom: !1,
75
- ...v
76
- };
77
- }), V = M[0].options.map((b) => {
78
- const v = n[o].find((T) => T.permissionCode == b.value) || {};
79
- return {
80
- btnName: b.key,
81
- permissionCode: b.value,
82
- pageKey: N.value,
83
- customComponentName: void 0,
84
- customComponentUrl: void 0,
85
- isFieldCustom: !1,
86
- ...v
87
- };
88
- });
89
- u.value[o] = [...V, ..._];
90
- } else
91
- ["postRequestParams", "useScenes"].includes(o) ? u.value[o] = [...n[o] || []] : u.value[o] = n[o];
92
- });
93
- }
94
- }
95
- );
96
- const H = () => {
97
- u.value.postRequestParams.push({ submitName: "", submitValue: "", submitType: "default", submitMatchType: "", paramsType: "" });
98
- }, z = (f) => {
99
- u.value.postRequestParams.splice(f, 1);
100
- }, G = (f) => {
101
- u.value.postRequestParams = [];
102
- }, J = (f) => {
103
- const t = R.find((n) => n.label === "表格配置").options, p = R.find((n) => n.label === "表单配置").options;
104
- u.value.formCustomComponentes = [...t, ...p].filter((n) => f.includes(n.value)).map((n) => ({
105
- btnName: n.key,
106
- permissionCode: n.value,
107
- pageKey: N,
108
- customComponentName: void 0,
109
- customComponentUrl: void 0,
110
- isFieldCustom: !1
111
- }));
112
- }, X = (f, t) => {
113
- t.customComponentName = void 0, t.customComponentUrl = void 0;
114
- }, Z = (f) => {
115
- D(), f();
116
- }, D = () => {
117
- u.value = x(), w.value.resetFields(), h("update:visible", !1);
118
- }, ee = (f) => {
119
- f && f.validate((t) => {
120
- t && (k.btnLoading = !0, u.value.formCustomComponentes.forEach((p) => {
121
- delete p.isFiledCustom;
122
- }), h("refresh", JSON.parse(JSON.stringify(u.value)), () => {
123
- D();
124
- }), k.btnLoading = !1);
125
- });
126
- };
127
- return (f, t) => {
128
- const p = C("el-input"), n = C("el-form-item"), o = C("el-col"), _ = C("el-option"), V = C("el-select"), b = C("el-button"), v = C("el-row"), T = C("el-divider"), le = C("el-option-group"), q = C("el-switch"), ae = C("el-input-number"), te = C("el-form"), ue = C("el-scrollbar"), oe = C("el-dialog"), ne = ie("debounce");
129
- return r(), i(oe, {
130
- "model-value": P.visible,
131
- title: P.title,
132
- top: "5vh",
133
- width: "1400",
134
- draggable: "",
135
- overflow: "",
136
- "close-on-click-modal": !1,
137
- "before-close": Z
138
- }, {
139
- footer: a(() => [
140
- L("span", Se, [
141
- l(b, {
142
- onClick: D,
143
- loading: m(k).btnLoading
144
- }, {
145
- default: a(() => t[29] || (t[29] = [
146
- S("取消")
147
- ])),
148
- _: 1
149
- }, 8, ["loading"]),
150
- me((r(), i(b, {
151
- type: "primary",
152
- loading: m(k).btnLoading,
153
- onClick: t[22] || (t[22] = (e) => ee(w.value))
154
- }, {
155
- default: a(() => t[30] || (t[30] = [
156
- S("保存")
157
- ])),
158
- _: 1
159
- }, 8, ["loading"])), [
160
- [ne]
161
- ])
162
- ])
163
- ]),
164
- default: a(() => [
165
- l(ue, {
166
- ref: "configFieldsScroll",
167
- "max-height": "800px"
168
- }, {
169
- default: a(() => [
170
- l(te, {
171
- ref_key: "formRef",
172
- ref: w,
173
- model: u.value,
174
- "label-suffix": ":",
175
- "label-width": "120px"
176
- }, {
177
- default: a(() => [
178
- l(v, null, {
179
- default: a(() => [
180
- l(o, { span: 6 }, {
181
- default: a(() => [
182
- l(n, {
183
- label: "字段名称",
184
- rules: [{ required: !0, message: "必填项", trigger: "blur" }],
185
- prop: "fieldName"
186
- }, {
187
- default: a(() => [
188
- l(p, {
189
- modelValue: u.value.fieldName,
190
- "onUpdate:modelValue": t[0] || (t[0] = (e) => u.value.fieldName = e),
191
- placeholder: "请输入",
192
- clearable: ""
193
- }, null, 8, ["modelValue"])
194
- ]),
195
- _: 1
196
- })
197
- ]),
198
- _: 1
199
- }),
200
- l(o, { span: 6 }, {
201
- default: a(() => [
202
- l(n, {
203
- label: "字段key",
204
- rules: [{ required: !0, message: "必填项", trigger: "blur" }],
205
- prop: "fieldKey"
206
- }, {
207
- default: a(() => [
208
- l(p, {
209
- modelValue: u.value.fieldKey,
210
- "onUpdate:modelValue": t[1] || (t[1] = (e) => u.value.fieldKey = e),
211
- placeholder: "请输入",
212
- clearable: ""
213
- }, null, 8, ["modelValue"])
214
- ]),
215
- _: 1
216
- })
217
- ]),
218
- _: 1
219
- }),
220
- l(o, { span: 6 }, {
221
- default: a(() => [
222
- l(n, {
223
- label: "字段类型",
224
- rules: [{ required: !0, message: "必填项", trigger: ["change"] }],
225
- prop: "fieldType"
226
- }, {
227
- default: a(() => [
228
- l(V, {
229
- modelValue: u.value.fieldType,
230
- "onUpdate:modelValue": t[2] || (t[2] = (e) => u.value.fieldType = e),
231
- placeholder: "请选择",
232
- clearable: "",
233
- filterable: ""
234
- }, {
235
- default: a(() => [
236
- (r(!0), c(y, null, g(m(be), (e) => (r(), i(_, {
237
- key: e.value,
238
- label: e.key,
239
- value: e.value
240
- }, null, 8, ["label", "value"]))), 128))
241
- ]),
242
- _: 1
243
- }, 8, ["modelValue"])
244
- ]),
245
- _: 1
246
- })
247
- ]),
248
- _: 1
249
- }),
250
- l(o, { span: 4 }, {
251
- default: a(() => [
252
- l(n, {
253
- label: "组件参数",
254
- rules: [{ required: !1, message: "必填项", trigger: ["change"] }],
255
- prop: "fieldType"
256
- }, {
257
- default: a(() => [
258
- l(b, {
259
- type: "primary",
260
- onClick: t[3] || (t[3] = (e) => m(k).showSiteComponentsParamsDialog = !0)
261
- }, {
262
- default: a(() => t[23] || (t[23] = [
263
- S("设置props")
264
- ])),
265
- _: 1
266
- }),
267
- l(m(K), {
268
- modelValue: u.value.fieldUiProps,
269
- "onUpdate:modelValue": t[4] || (t[4] = (e) => u.value.fieldUiProps = e),
270
- visible: m(k).showSiteComponentsParamsDialog,
271
- "onUpdate:visible": t[5] || (t[5] = (e) => m(k).showSiteComponentsParamsDialog = e),
272
- title: "设置组件参数"
273
- }, null, 8, ["modelValue", "visible"])
274
- ]),
275
- _: 1
276
- })
277
- ]),
278
- _: 1
279
- })
280
- ]),
281
- _: 1
282
- }),
283
- Y() ? (r(), i(v, { key: 0 }, {
284
- default: a(() => [
285
- l(o, { span: 24 }, {
286
- default: a(() => [
287
- l(n, {
288
- label: "数据源",
289
- prop: "fieldRequestUrl"
290
- }, {
291
- default: a(() => [
292
- l(p, {
293
- placeholder: "请输入",
294
- modelValue: u.value.fieldRequestUrl,
295
- "onUpdate:modelValue": t[7] || (t[7] = (e) => u.value.fieldRequestUrl = e),
296
- clearable: ""
297
- }, {
298
- prepend: a(() => [
299
- l(V, {
300
- modelValue: u.value.fieldRequestType,
301
- "onUpdate:modelValue": t[6] || (t[6] = (e) => u.value.fieldRequestType = e),
302
- placeholder: "请选择",
303
- style: { width: "150px" },
304
- onChange: G
305
- }, {
306
- default: a(() => [
307
- (r(!0), c(y, null, g(m(ce), (e) => (r(), i(_, {
308
- key: e.value,
309
- label: e.key,
310
- value: e.value
311
- }, null, 8, ["label", "value"]))), 128))
312
- ]),
313
- _: 1
314
- }, 8, ["modelValue"])
315
- ]),
316
- _: 1
317
- }, 8, ["modelValue"])
318
- ]),
319
- _: 1
320
- })
321
- ]),
322
- _: 1
323
- })
324
- ]),
325
- _: 1
326
- })) : U("", !0),
327
- u.value.fieldRequestType == "POST" ? (r(), c(y, { key: 1 }, [
328
- l(T, { "content-position": "left" }, {
329
- default: a(() => [
330
- t[24] || (t[24] = S(" POST参数配置 ")),
331
- l(b, {
332
- class: "add-icon-btn",
333
- type: "primary",
334
- icon: "Plus",
335
- circle: "",
336
- onClick: H
337
- })
338
- ]),
339
- _: 1
340
- }),
341
- (r(!0), c(y, null, g(u.value.postRequestParams, (e, s) => (r(), i(v, { key: s }, {
342
- default: a(() => [
343
- l(o, { span: 5 }, {
344
- default: a(() => [
345
- l(n, {
346
- label: "提交字段名",
347
- rules: [{ required: !0, message: "必填项", trigger: "blur" }],
348
- prop: "postRequestParams." + s + ".submitName"
349
- }, {
350
- default: a(() => [
351
- l(p, {
352
- modelValue: e.submitName,
353
- "onUpdate:modelValue": (d) => e.submitName = d,
354
- placeholder: "请输入提交字段名",
355
- clearable: ""
356
- }, null, 8, ["modelValue", "onUpdate:modelValue"])
357
- ]),
358
- _: 2
359
- }, 1032, ["prop"])
360
- ]),
361
- _: 2
362
- }, 1024),
363
- l(o, { span: 8 }, {
364
- default: a(() => [
365
- l(n, {
366
- label: "方式",
367
- rules: [{ required: !0, message: "必填项", trigger: "blur" }],
368
- prop: "postRequestParams." + s + ".submitValue"
369
- }, {
370
- default: a(() => [
371
- l(p, {
372
- placeholder: "请输入值",
373
- modelValue: e.submitValue,
374
- "onUpdate:modelValue": (d) => e.submitValue = d,
375
- clearable: ""
376
- }, {
377
- prepend: a(() => [
378
- l(V, {
379
- modelValue: e.submitType,
380
- "onUpdate:modelValue": (d) => e.submitType = d,
381
- placeholder: "请选择方式",
382
- style: { width: "120px" }
383
- }, {
384
- default: a(() => [
385
- (r(!0), c(y, null, g(m(ye), (d, F) => (r(), i(_, {
386
- key: F,
387
- label: d.key,
388
- value: d.value
389
- }, null, 8, ["label", "value"]))), 128))
390
- ]),
391
- _: 2
392
- }, 1032, ["modelValue", "onUpdate:modelValue"])
393
- ]),
394
- _: 2
395
- }, 1032, ["modelValue", "onUpdate:modelValue"])
396
- ]),
397
- _: 2
398
- }, 1032, ["prop"])
399
- ]),
400
- _: 2
401
- }, 1024),
402
- e.submitType === "dynamic" ? (r(), i(o, {
403
- key: 0,
404
- span: 5
405
- }, {
406
- default: a(() => [
407
- l(n, {
408
- label: "匹配条件",
409
- rules: [{ required: !0, message: "必填项", trigger: "blur" }],
410
- prop: "postRequestParams." + s + ".submitMatchType"
411
- }, {
412
- default: a(() => [
413
- l(V, {
414
- modelValue: e.submitMatchType,
415
- "onUpdate:modelValue": (d) => e.submitMatchType = d,
416
- placeholder: "请选择方式",
417
- clearable: "",
418
- filterable: "",
419
- style: { width: "120px" }
420
- }, {
421
- default: a(() => [
422
- (r(!0), c(y, null, g(m(O), (d, F) => (r(), i(_, {
423
- key: F,
424
- label: d.key,
425
- value: d.value
426
- }, null, 8, ["label", "value"]))), 128))
427
- ]),
428
- _: 2
429
- }, 1032, ["modelValue", "onUpdate:modelValue"])
430
- ]),
431
- _: 2
432
- }, 1032, ["prop"])
433
- ]),
434
- _: 2
435
- }, 1024)) : U("", !0),
436
- l(o, { span: 5 }, {
437
- default: a(() => [
438
- l(n, {
439
- label: "提交类型",
440
- rules: [{ required: !0, message: "必填项", trigger: "change" }],
441
- prop: "postRequestParams." + s + ".paramsType"
442
- }, {
443
- default: a(() => [
444
- l(V, {
445
- modelValue: e.paramsType,
446
- "onUpdate:modelValue": (d) => e.paramsType = d,
447
- placeholder: "请选择",
448
- filterable: "",
449
- clearable: ""
450
- }, {
451
- default: a(() => [
452
- (r(!0), c(y, null, g(m(Ce), (d, F) => (r(), i(_, {
453
- key: F,
454
- label: d.key,
455
- value: d.value
456
- }, null, 8, ["label", "value"]))), 128))
457
- ]),
458
- _: 2
459
- }, 1032, ["modelValue", "onUpdate:modelValue"])
460
- ]),
461
- _: 2
462
- }, 1032, ["prop"])
463
- ]),
464
- _: 2
465
- }, 1024),
466
- l(o, {
467
- class: "submit-operate",
468
- span: 1
469
- }, {
470
- default: a(() => [
471
- l(b, {
472
- class: "match-opreate",
473
- type: "danger",
474
- icon: "Minus",
475
- circle: "",
476
- onClick: (d) => z(s)
477
- }, null, 8, ["onClick"])
478
- ]),
479
- _: 2
480
- }, 1024)
481
- ]),
482
- _: 2
483
- }, 1024))), 128))
484
- ], 64)) : U("", !0),
485
- l(v, null, {
486
- default: a(() => [
487
- l(o, { span: 24 }, {
488
- default: a(() => [
489
- l(n, {
490
- label: "使用场景",
491
- rules: [{ required: !1, message: "必填项", trigger: ["change"] }],
492
- prop: "useScenes"
493
- }, {
494
- default: a(() => [
495
- l(V, {
496
- modelValue: u.value.useScenes,
497
- "onUpdate:modelValue": t[8] || (t[8] = (e) => u.value.useScenes = e),
498
- placeholder: "请选择",
499
- multiple: "",
500
- clearable: "",
501
- filterable: "",
502
- onChange: J
503
- }, {
504
- default: a(() => [
505
- (r(!0), c(y, null, g(m(R), (e) => (r(), i(le, {
506
- key: e.label,
507
- label: e.label
508
- }, {
509
- default: a(() => [
510
- (r(!0), c(y, null, g(e.options, (s) => (r(), i(_, {
511
- key: s.key,
512
- label: s.key,
513
- value: s.value
514
- }, null, 8, ["label", "value"]))), 128))
515
- ]),
516
- _: 2
517
- }, 1032, ["label"]))), 128))
518
- ]),
519
- _: 1
520
- }, 8, ["modelValue"])
521
- ]),
522
- _: 1
523
- })
524
- ]),
525
- _: 1
526
- })
527
- ]),
528
- _: 1
529
- }),
530
- $() ? (r(), i(v, { key: 2 }, {
531
- default: a(() => [
532
- l(T, { "content-position": "left" }, {
533
- default: a(() => t[25] || (t[25] = [
534
- S("查询模块")
535
- ])),
536
- _: 1
537
- }),
538
- l(o, { span: 6 }, {
539
- default: a(() => [
540
- l(n, {
541
- label: "查询条件",
542
- rules: [{ required: !0, message: "必填项", trigger: "change" }],
543
- prop: "tableQueryCondition"
544
- }, {
545
- default: a(() => [
546
- l(V, {
547
- modelValue: u.value.tableQueryCondition,
548
- "onUpdate:modelValue": t[9] || (t[9] = (e) => u.value.tableQueryCondition = e),
549
- placeholder: "请选择查询条件",
550
- clearable: "",
551
- filterable: ""
552
- }, {
553
- default: a(() => [
554
- (r(!0), c(y, null, g(m(O), (e, s) => (r(), i(_, {
555
- key: s,
556
- label: e.key,
557
- value: e.value
558
- }, null, 8, ["label", "value"]))), 128))
559
- ]),
560
- _: 1
561
- }, 8, ["modelValue"])
562
- ]),
563
- _: 1
564
- })
565
- ]),
566
- _: 1
567
- }),
568
- l(o, { span: 6 }, {
569
- default: a(() => [
570
- l(n, {
571
- label: "默认值",
572
- rules: [{ required: !1, message: "必填项", trigger: "blur" }],
573
- prop: "tableQueryDefaultValue"
574
- }, {
575
- default: a(() => [
576
- l(p, {
577
- modelValue: u.value.tableQueryDefaultValue,
578
- "onUpdate:modelValue": t[10] || (t[10] = (e) => u.value.tableQueryDefaultValue = e),
579
- placeholder: "请输入",
580
- clearable: ""
581
- }, null, 8, ["modelValue"])
582
- ]),
583
- _: 1
584
- })
585
- ]),
586
- _: 1
587
- })
588
- ]),
589
- _: 1
590
- })) : U("", !0),
591
- B() ? (r(), i(v, { key: 3 }, {
592
- default: a(() => [
593
- l(T, { "content-position": "left" }, {
594
- default: a(() => t[26] || (t[26] = [
595
- S("表格模块")
596
- ])),
597
- _: 1
598
- }),
599
- l(o, { span: 6 }, {
600
- default: a(() => [
601
- l(n, {
602
- label: "列宽",
603
- rules: [{ required: !0, message: "必填项", trigger: "blur" }],
604
- prop: "tableCellWidth"
605
- }, {
606
- default: a(() => [
607
- l(p, {
608
- placeholder: "请输入",
609
- modelValue: u.value.tableCellWidth,
610
- "onUpdate:modelValue": t[12] || (t[12] = (e) => u.value.tableCellWidth = e)
611
- }, {
612
- prepend: a(() => [
613
- l(V, {
614
- modelValue: u.value.tableCellWidthType,
615
- "onUpdate:modelValue": t[11] || (t[11] = (e) => u.value.tableCellWidthType = e),
616
- placeholder: "请选择",
617
- style: { width: "100px" }
618
- }, {
619
- default: a(() => [
620
- (r(!0), c(y, null, g(m(ge), (e, s) => (r(), i(_, {
621
- key: s,
622
- label: e.key,
623
- value: e.value
624
- }, null, 8, ["label", "value"]))), 128))
625
- ]),
626
- _: 1
627
- }, 8, ["modelValue"])
628
- ]),
629
- _: 1
630
- }, 8, ["modelValue"])
631
- ]),
632
- _: 1
633
- })
634
- ]),
635
- _: 1
636
- }),
637
- l(o, { span: 6 }, {
638
- default: a(() => [
639
- l(n, {
640
- label: "对齐方式",
641
- rules: [{ required: !0, message: "必填项", trigger: "change" }],
642
- prop: "tableCellAlignType"
643
- }, {
644
- default: a(() => [
645
- l(V, {
646
- modelValue: u.value.tableCellAlignType,
647
- "onUpdate:modelValue": t[13] || (t[13] = (e) => u.value.tableCellAlignType = e),
648
- placeholder: "请选择对齐方式",
649
- clearable: "",
650
- filterable: ""
651
- }, {
652
- default: a(() => [
653
- (r(!0), c(y, null, g(m(_e), (e, s) => (r(), i(_, {
654
- key: s,
655
- label: e.key,
656
- value: e.value
657
- }, null, 8, ["label", "value"]))), 128))
658
- ]),
659
- _: 1
660
- }, 8, ["modelValue"])
661
- ]),
662
- _: 1
663
- })
664
- ]),
665
- _: 1
666
- }),
667
- l(o, { span: 6 }, {
668
- default: a(() => [
669
- l(n, {
670
- label: "内容类型",
671
- rules: [{ required: !0, message: "必填项", trigger: "change" }],
672
- prop: "tableCellContentType"
673
- }, {
674
- default: a(() => [
675
- l(V, {
676
- modelValue: u.value.tableCellContentType,
677
- "onUpdate:modelValue": t[14] || (t[14] = (e) => u.value.tableCellContentType = e),
678
- placeholder: "请选择内容类型",
679
- clearable: "",
680
- filterable: ""
681
- }, {
682
- default: a(() => [
683
- (r(!0), c(y, null, g(m(Ve), (e, s) => (r(), i(_, {
684
- key: s,
685
- label: e.key,
686
- value: e.value
687
- }, null, 8, ["label", "value"]))), 128))
688
- ]),
689
- _: 1
690
- }, 8, ["modelValue"])
691
- ]),
692
- _: 1
693
- })
694
- ]),
695
- _: 1
696
- }),
697
- l(o, { span: 2 }, {
698
- default: a(() => [
699
- l(n, {
700
- label: "溢出隐藏",
701
- prop: "isTableCellOverflowTooltip"
702
- }, {
703
- default: a(() => [
704
- l(q, {
705
- modelValue: u.value.isTableCellOverflowTooltip,
706
- "onUpdate:modelValue": t[15] || (t[15] = (e) => u.value.isTableCellOverflowTooltip = e)
707
- }, null, 8, ["modelValue"])
708
- ]),
709
- _: 1
710
- })
711
- ]),
712
- _: 1
713
- }),
714
- l(o, { span: 2 }, {
715
- default: a(() => [
716
- l(n, {
717
- label: "排序",
718
- prop: "isTableCellSort"
719
- }, {
720
- default: a(() => [
721
- l(q, {
722
- modelValue: u.value.isTableCellSort,
723
- "onUpdate:modelValue": t[16] || (t[16] = (e) => u.value.isTableCellSort = e)
724
- }, null, 8, ["modelValue"])
725
- ]),
726
- _: 1
727
- })
728
- ]),
729
- _: 1
730
- })
731
- ]),
732
- _: 1
733
- })) : U("", !0),
734
- j() ? (r(), i(v, { key: 4 }, {
735
- default: a(() => [
736
- l(T, { "content-position": "left" }, {
737
- default: a(() => t[27] || (t[27] = [
738
- S("表单模块")
739
- ])),
740
- _: 1
741
- }),
742
- l(o, { span: 3 }, {
743
- default: a(() => [
744
- l(n, {
745
- label: "是否必填",
746
- prop: "isFormFieldRequired"
747
- }, {
748
- default: a(() => [
749
- l(q, {
750
- modelValue: u.value.isFormFieldRequired,
751
- "onUpdate:modelValue": t[17] || (t[17] = (e) => u.value.isFormFieldRequired = e)
752
- }, null, 8, ["modelValue"])
753
- ]),
754
- _: 1
755
- })
756
- ]),
757
- _: 1
758
- }),
759
- l(o, { span: 3 }, {
760
- default: a(() => [
761
- l(n, {
762
- label: "是否回显",
763
- prop: "isFormSetValue"
764
- }, {
765
- default: a(() => [
766
- l(q, {
767
- modelValue: u.value.isFormSetValue,
768
- "onUpdate:modelValue": t[18] || (t[18] = (e) => u.value.isFormSetValue = e)
769
- }, null, 8, ["modelValue"])
770
- ]),
771
- _: 1
772
- })
773
- ]),
774
- _: 1
775
- }),
776
- l(o, { span: 3 }, {
777
- default: a(() => [
778
- l(n, {
779
- label: "是否禁用",
780
- prop: "isFormDisabled"
781
- }, {
782
- default: a(() => [
783
- l(q, {
784
- modelValue: u.value.isFormDisabled,
785
- "onUpdate:modelValue": t[19] || (t[19] = (e) => u.value.isFormDisabled = e)
786
- }, null, 8, ["modelValue"])
787
- ]),
788
- _: 1
789
- })
790
- ]),
791
- _: 1
792
- }),
793
- l(o, { span: 6 }, {
794
- default: a(() => [
795
- l(n, {
796
- label: "提交类型",
797
- rules: [{ required: !0, message: "必填项", trigger: "change" }],
798
- prop: "fieldSubmitType"
799
- }, {
800
- default: a(() => [
801
- l(V, {
802
- modelValue: u.value.fieldSubmitType,
803
- "onUpdate:modelValue": t[20] || (t[20] = (e) => u.value.fieldSubmitType = e),
804
- placeholder: "请选择提交类型",
805
- filterable: "",
806
- clearable: ""
807
- }, {
808
- default: a(() => [
809
- (r(!0), c(y, null, g(m(ve), (e, s) => (r(), i(_, {
810
- key: s,
811
- label: e.key,
812
- value: e.value
813
- }, null, 8, ["label", "value"]))), 128))
814
- ]),
815
- _: 1
816
- }, 8, ["modelValue"])
817
- ]),
818
- _: 1
819
- })
820
- ]),
821
- _: 1
822
- }),
823
- l(o, { span: 6 }, {
824
- default: a(() => [
825
- l(n, {
826
- label: "栅格数",
827
- prop: "formColumnCol"
828
- }, {
829
- default: a(() => [
830
- l(ae, {
831
- modelValue: u.value.formColumnCol,
832
- "onUpdate:modelValue": t[21] || (t[21] = (e) => u.value.formColumnCol = e),
833
- max: 24
834
- }, null, 8, ["modelValue"])
835
- ]),
836
- _: 1
837
- })
838
- ]),
839
- _: 1
840
- })
841
- ]),
842
- _: 1
843
- })) : U("", !0),
844
- l(T, { "content-position": "left" }, {
845
- default: a(() => t[28] || (t[28] = [
846
- S("不同场景自定义字段组件")
847
- ])),
848
- _: 1
849
- }),
850
- (r(!0), c(y, null, g(u.value.formCustomComponentes, (e, s) => (r(), i(v, { key: s }, {
851
- default: a(() => [
852
- l(o, { span: 2 }, {
853
- default: a(() => [
854
- l(n, {
855
- label: `${e.btnName}`,
856
- prop: `formCustomComponentes.${s}.isFieldCustom`
857
- }, {
858
- default: a(() => [
859
- l(q, {
860
- modelValue: e.isFieldCustom,
861
- "onUpdate:modelValue": (d) => e.isFieldCustom = d,
862
- onChange: (d) => X(d, e)
863
- }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
864
- ]),
865
- _: 2
866
- }, 1032, ["label", "prop"])
867
- ]),
868
- _: 2
869
- }, 1024),
870
- e.isFieldCustom ? (r(), i(o, {
871
- key: 0,
872
- span: 8
873
- }, {
874
- default: a(() => [
875
- l(n, {
876
- label: "组件名称",
877
- "label-width": "220",
878
- rules: [{ required: !0, message: "必填项", trigger: "blur" }],
879
- prop: `formCustomComponentes.${s}.customComponentName`
880
- }, {
881
- default: a(() => [
882
- l(p, {
883
- modelValue: e.customComponentName,
884
- "onUpdate:modelValue": (d) => e.customComponentName = d,
885
- placeholder: "请输入",
886
- clearable: ""
887
- }, {
888
- default: a(() => [
889
- L("template", Te, [
890
- S(pe(m(N)), 1)
891
- ])
892
- ]),
893
- _: 2
894
- }, 1032, ["modelValue", "onUpdate:modelValue"])
895
- ]),
896
- _: 2
897
- }, 1032, ["prop"])
898
- ]),
899
- _: 2
900
- }, 1024)) : U("", !0),
901
- e.isFieldCustom ? (r(), i(o, {
902
- key: 1,
903
- span: 14
904
- }, {
905
- default: a(() => [
906
- l(n, {
907
- label: "组件地址",
908
- rules: [{ required: !0, message: "必填项", trigger: "blur" }],
909
- prop: `formCustomComponentes.${s}.customComponentUrl`
910
- }, {
911
- default: a(() => [
912
- l(p, {
913
- modelValue: e.customComponentUrl,
914
- "onUpdate:modelValue": (d) => e.customComponentUrl = d,
915
- placeholder: "请输入",
916
- clearable: ""
917
- }, null, 8, ["modelValue", "onUpdate:modelValue"])
918
- ]),
919
- _: 2
920
- }, 1032, ["prop"])
921
- ]),
922
- _: 2
923
- }, 1024)) : U("", !0)
924
- ]),
925
- _: 2
926
- }, 1024))), 128))
927
- ]),
928
- _: 1
929
- }, 8, ["model"])
930
- ]),
931
- _: 1
932
- }, 512)
933
- ]),
934
- _: 1
935
- }, 8, ["model-value", "title"]);
936
- };
937
- }
938
- }, De = /* @__PURE__ */ fe(Ue, [["__scopeId", "data-v-7a6069a6"]]);
939
- export {
940
- De as default
941
- };