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