act-plus 1.1.43 → 1.1.45

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