act-plus 1.1.73 → 1.1.75
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 +41 -41
- package/lib/{dialogAddField-01e88a97.js → dialogAddField-524692c9.js} +2 -2
- package/lib/{dialogConfigBtn-8dd263f0.js → dialogConfigBtn-065ba283.js} +2 -2
- package/lib/{dialogSiteComponentsParams-a23bf357.js → dialogSiteComponentsParams-7ff7cce4.js} +1 -1
- package/lib/{index-4d3f0b19.js → index-1282fd4f.js} +1 -1
- package/lib/{index-247b916c.js → index-3b801428.js} +113 -95
- package/lib/{index-af897a17.js → index-606552b9.js} +19 -9
- package/lib/{index-7a420913.js → index-7a82a0bc.js} +6 -3
- package/lib/{index-79f3b449.js → index-7b611211.js} +164 -148
- package/lib/{index-9651fda7.js → index-8afa0dd5.js} +1 -1
- package/lib/{index-9fa5dd39.js → index-ba5f0e24.js} +1 -1
- package/lib/{index-401e66f5.js → index-c551a79e.js} +1 -1
- package/lib/{index-b5ccb862.js → index-f6aef3b6.js} +1 -1
- package/lib/{index-3fbc771b.js → index-f6b0defb.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineAsyncComponent as ne, inject as D, reactive as re, ref as A, watch as de, resolveComponent as V, resolveDirective as se, openBlock as r, createBlock as i, withCtx as a, createElementVNode as L, createVNode as l, unref as p, createTextVNode as v, withDirectives as ie, createElementBlock as c, Fragment as _, renderList as g, createCommentVNode as T, toDisplayString as pe } from "vue";
|
|
2
|
-
import { _ as me, F as fe, l as be, m as ce, S as _e, T as Ve, A as ge, C as ye, n as Ce, U as ve } from "./index-
|
|
2
|
+
import { _ as me, F as fe, l as be, m as ce, S as _e, T as Ve, A as ge, C as ye, n as Ce, U as ve } from "./index-606552b9.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "element-plus";
|
|
5
5
|
const Te = { slot: "prepend" }, Se = { class: "dialog-footer" }, Ue = {
|
|
@@ -11,7 +11,7 @@ const Te = { slot: "prepend" }, Se = { class: "dialog-footer" }, Ue = {
|
|
|
11
11
|
},
|
|
12
12
|
emits: ["update:visible", "refresh"],
|
|
13
13
|
setup(M, { emit: Q }) {
|
|
14
|
-
const W = ne(() => import("./dialogSiteComponentsParams-
|
|
14
|
+
const W = ne(() => import("./dialogSiteComponentsParams-7ff7cce4.js")), E = Q, P = M, h = D("pageKey")(), O = D("conditionList")(), Y = D("configData")();
|
|
15
15
|
let S = re((() => ({
|
|
16
16
|
btnLoading: !1,
|
|
17
17
|
showSiteComponentsParamsDialog: !1
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineAsyncComponent as L, inject as k, computed as de, reactive as re, ref as q, watch as ie, resolveComponent as y, resolveDirective as se, openBlock as n, createBlock as m, withCtx as e, createElementVNode as me, createVNode as l, unref as o, createTextVNode as U, withDirectives as pe, toDisplayString as O, createElementBlock as b, Fragment as f, renderList as _, createCommentVNode as C } from "vue";
|
|
2
|
-
import { _ as ce, B as be, d as fe, e as _e, f as ge, Y as Ve, g as ye, h as he, i as Ce, j as Fe, k as ve } from "./index-
|
|
2
|
+
import { _ as ce, B as be, d as fe, e as _e, f as ge, Y as Ve, g as ye, h as he, i as Ce, j as Fe, k as ve } from "./index-606552b9.js";
|
|
3
3
|
import { useRoute as Ue } from "vue-router";
|
|
4
4
|
import "element-plus";
|
|
5
5
|
const Te = { class: "dialog-footer" }, ke = {
|
|
@@ -11,7 +11,7 @@ const Te = { class: "dialog-footer" }, ke = {
|
|
|
11
11
|
},
|
|
12
12
|
emits: ["update:visible", "refresh"],
|
|
13
13
|
setup(x, { emit: A }) {
|
|
14
|
-
const D = L(() => import("./index-
|
|
14
|
+
const D = L(() => import("./index-ba5f0e24.js")), E = L(() => import("./index-c551a79e.js")), W = Ue(), Y = k("apiPrefix"), R = k("request"), I = A, N = x, j = de(() => W.params.key);
|
|
15
15
|
let T = re((() => ({
|
|
16
16
|
btnLoading: !1
|
|
17
17
|
}))());
|
package/lib/{dialogSiteComponentsParams-a23bf357.js → dialogSiteComponentsParams-7ff7cce4.js}
RENAMED
|
@@ -8,7 +8,7 @@ const B = { class: "dialog-footer" }, A = {
|
|
|
8
8
|
},
|
|
9
9
|
emits: ["update:visible", "refresh", "update:modelValue"],
|
|
10
10
|
setup(f, { emit: c }) {
|
|
11
|
-
const v = _(() => import("./index-
|
|
11
|
+
const v = _(() => import("./index-c551a79e.js")), n = c, o = f;
|
|
12
12
|
let t = C();
|
|
13
13
|
y(
|
|
14
14
|
() => o.visible,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as U, computed as oe, resolveComponent as w, resolveDirective as ne, openBlock as h, createElementBlock as N, withDirectives as ae, createBlock as C, mergeProps as ie, unref as p, withCtx as D, renderSlot as L, createElementVNode as x, toDisplayString as I, createCommentVNode as z, createVNode as $, createTextVNode as se, Fragment as ce, renderList as re, normalizeClass as ue, nextTick as pe } from "vue";
|
|
2
2
|
import { ElNotification as M } from "element-plus";
|
|
3
|
-
import { _ as de, u as me, z as fe, o as ge, p as _e, q as ye } from "./index-
|
|
3
|
+
import { _ as de, u as me, z as fe, o as ge, p as _e, q as ye } from "./index-606552b9.js";
|
|
4
4
|
import "vue-router";
|
|
5
5
|
let S;
|
|
6
6
|
const he = new Uint8Array(16);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { _ as be, u as
|
|
1
|
+
import { defineAsyncComponent as de, inject as h, ref as q, watch as pe, resolveComponent as y, resolveDirective as ce, unref as t, openBlock as r, createElementBlock as _, createVNode as ie, normalizeStyle as fe, withCtx as T, Fragment as k, renderList as M, createBlock as d, mergeProps as m, withKeys as H, withModifiers as K, createCommentVNode as g, resolveDynamicComponent as ye, createElementVNode as me, toDisplayString as R, createTextVNode as O, withDirectives as Ve } from "vue";
|
|
2
|
+
import { _ as be, u as Ce, P as _e, a as he, b as W } from "./index-606552b9.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "element-plus";
|
|
5
5
|
const ge = {
|
|
@@ -11,131 +11,131 @@ const ge = {
|
|
|
11
11
|
data: { type: Object, default: () => ({}) }
|
|
12
12
|
},
|
|
13
13
|
emits: ["reset", "search"],
|
|
14
|
-
setup(
|
|
15
|
-
const
|
|
14
|
+
setup(G, { emit: J }) {
|
|
15
|
+
const X = de(() => import("./index-e2f2023d.js")), { t: p } = Ce(), Z = h("request"), z = h("globalProps"), ee = h("loadComponents"), i = h("getFieldUiProps"), v = h("formatDataType"), A = h("disposeDate"), le = h("getDefaultQueryValues"), Y = J, V = G, x = q({});
|
|
16
16
|
let b = q([]), I = q([]), P = q(!0);
|
|
17
|
-
const B = q(0), j = q(0),
|
|
17
|
+
const B = q(0), j = q(0), ae = (n) => V.data.tableConfig.isExpandQuery && P.value ? V.data.tableConfig.tableQueryRowWidth > n + 1 : !0, te = async (n) => {
|
|
18
18
|
b.value = await Promise.all(
|
|
19
|
-
|
|
20
|
-
l.tableQueryDefaultValue && (["date", "dateRange"].includes(l.fieldType) ? l.queryValue =
|
|
19
|
+
n.filter((l) => l.useScenes.includes("tableSearch")).map(async (l) => {
|
|
20
|
+
l.tableQueryDefaultValue && (["date", "dateRange"].includes(l.fieldType) ? l.queryValue = A(l) : l.queryValue = l.tableQueryDefaultValue ? l.tableQueryDefaultValue : void 0), z.defaultParams.some((o) => {
|
|
21
21
|
o.field == l.fieldKey && o.operate === l.tableQueryCondition && (l.queryValue = o.value);
|
|
22
22
|
});
|
|
23
23
|
const s = (l.formCustomComponentes ?? []).find((o) => o.permissionCode === "tableSearch");
|
|
24
24
|
if (l.isQueryFieldCustom = !1, s && s.isFieldCustom) {
|
|
25
|
-
const { isFieldCustom: o, customComponentName:
|
|
25
|
+
const { isFieldCustom: o, customComponentName: $, customComponentUrl: Q } = s;
|
|
26
26
|
if (l.isQueryFieldCustom = !0, j.value++, o && !l.customQueryComponent) {
|
|
27
|
-
const
|
|
28
|
-
l.customQueryComponent =
|
|
27
|
+
const w = await ee(Q, $);
|
|
28
|
+
l.customQueryComponent = w;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
return l;
|
|
32
32
|
})
|
|
33
33
|
);
|
|
34
|
-
},
|
|
35
|
-
const l = (
|
|
34
|
+
}, oe = (n) => {
|
|
35
|
+
const l = (n || []).filter((s) => s.permissionCode === 1001).map((s) => ({ ...s, loading: !1 }));
|
|
36
36
|
I.value = [...l, { btnName: p("act.reset"), permissionCode: "9999", btnColor: "info", btnIcon: "btn-reset", loading: !1 }];
|
|
37
|
-
},
|
|
38
|
-
const o =
|
|
39
|
-
if (
|
|
37
|
+
}, re = async ({ node: n, resolve: l }, s) => {
|
|
38
|
+
const o = i(s), { label: $, value: Q, children: w, isLeaf: U } = { ...W, ...o.treeProps || {} };
|
|
39
|
+
if (n[U])
|
|
40
40
|
return l([]);
|
|
41
|
-
const
|
|
42
|
-
field:
|
|
43
|
-
operate:
|
|
44
|
-
value: o.loadCode ?
|
|
41
|
+
const D = s.postRequestParams.filter((u) => u.submitType === "default").reduce((u, e) => (u[e.submitName] = v(e.paramsType, e.submitValue), u), {}), N = s.postRequestParams.filter((u) => u.submitType === "match").reduce((u, e) => (u[e.submitName] = v(e.paramsType, z.matchData[e.submitValue][e.submitName]), u), {}), S = s.postRequestParams.filter((u) => u.submitType === "dynamic").map((u) => ({
|
|
42
|
+
field: u.submitName,
|
|
43
|
+
operate: u.submitMatchType,
|
|
44
|
+
value: o.loadCode ? n == null ? void 0 : n.data.value : v(u.paramsType, u.submitValue)
|
|
45
45
|
}));
|
|
46
|
-
let
|
|
47
|
-
Object.keys(
|
|
48
|
-
const { data: E } = await
|
|
46
|
+
let f = {};
|
|
47
|
+
Object.keys(D).length && (f = { ...f, ...D }), Object.keys(N).length && (f = { ...f, ...N }), S.length && (f.dynamicFilters = S), o.loadCode && Reflect.has(f, o.loadCode) && (f[o.loadCode] = n == null ? void 0 : n.data.value);
|
|
48
|
+
const { data: E } = await Z({
|
|
49
49
|
url: s.fieldRequestUrl,
|
|
50
50
|
method: s.fieldRequestType || "GET",
|
|
51
|
-
data:
|
|
52
|
-
}),
|
|
53
|
-
l(
|
|
51
|
+
data: f
|
|
52
|
+
}), L = (E || []).map((u) => ({ label: u[$], value: u[Q], children: [], isLeaf: u[U] }));
|
|
53
|
+
l(L);
|
|
54
54
|
};
|
|
55
|
-
|
|
56
|
-
() =>
|
|
57
|
-
(
|
|
58
|
-
|
|
55
|
+
pe(
|
|
56
|
+
() => V.data,
|
|
57
|
+
(n, l) => {
|
|
58
|
+
te(n.fields), oe(n.buttons);
|
|
59
59
|
},
|
|
60
60
|
{ immediate: !0, deep: !0 }
|
|
61
61
|
);
|
|
62
|
-
const
|
|
62
|
+
const ue = () => {
|
|
63
63
|
B.value++, B.value === j.value && c({ permissionCode: 1001 });
|
|
64
|
-
}, c = (
|
|
65
|
-
switch (
|
|
64
|
+
}, c = (n) => {
|
|
65
|
+
switch (n.loading = !0, n.permissionCode) {
|
|
66
66
|
case "9999":
|
|
67
67
|
b.value.forEach((o) => {
|
|
68
|
-
o.tableQueryDefaultValue ? o.queryValue = ["date", "dateRange"].includes(o.fieldType) ?
|
|
68
|
+
o.tableQueryDefaultValue ? o.queryValue = ["date", "dateRange"].includes(o.fieldType) ? A(o) : (o == null ? void 0 : o.tableQueryDefaultValue) || void 0 : o.queryValue = o.fieldType.includes("&") ? [] : void 0;
|
|
69
69
|
});
|
|
70
|
-
const l =
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
const l = le();
|
|
71
|
+
Y("reset", l, () => {
|
|
72
|
+
n.loading = !1;
|
|
73
73
|
});
|
|
74
74
|
break;
|
|
75
75
|
default:
|
|
76
76
|
const s = b.value.filter((o) => Array.isArray(o.queryValue) ? o.queryValue.length : !!o.queryValue);
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
Y("search", s, () => {
|
|
78
|
+
n.loading = !1;
|
|
79
79
|
});
|
|
80
80
|
break;
|
|
81
81
|
}
|
|
82
82
|
}, ne = () => {
|
|
83
83
|
P.value = !P.value;
|
|
84
|
-
},
|
|
84
|
+
}, se = () => {
|
|
85
85
|
c({ permissionCode: 1001 });
|
|
86
86
|
};
|
|
87
|
-
return (
|
|
88
|
-
var
|
|
89
|
-
const s =
|
|
90
|
-
return t(b) && t(b).length ? (
|
|
91
|
-
|
|
92
|
-
style:
|
|
87
|
+
return (n, l) => {
|
|
88
|
+
var u;
|
|
89
|
+
const s = y("el-input"), o = y("el-option"), $ = y("el-select"), Q = y("el-select-v2"), w = y("el-cascader"), U = y("el-tree-select"), D = y("el-date-picker"), N = y("el-form-item"), S = y("a-svg-icon"), f = y("el-button"), E = y("el-form"), L = ce("debounce");
|
|
90
|
+
return t(b) && t(b).length ? (r(), _("div", ge, [
|
|
91
|
+
ie(E, {
|
|
92
|
+
style: fe({ "--table-query-row": V.data.tableConfig.tableQueryRowWidth }),
|
|
93
93
|
class: "form-content",
|
|
94
94
|
ref: "elForm",
|
|
95
95
|
"label-suffix": ":",
|
|
96
96
|
"label-position": "right"
|
|
97
97
|
}, {
|
|
98
98
|
default: T(() => [
|
|
99
|
-
(
|
|
100
|
-
|
|
101
|
-
e.isQueryFieldCustom ? (
|
|
102
|
-
e.customQueryComponent ? (
|
|
99
|
+
(r(!0), _(k, null, M(t(b), (e, C) => (r(), _(k, { key: C }, [
|
|
100
|
+
ae(C) ? (r(), _(k, { key: 0 }, [
|
|
101
|
+
e.isQueryFieldCustom ? (r(), _(k, { key: 1 }, [
|
|
102
|
+
e.customQueryComponent ? (r(), d(ye(e.customQueryComponent), {
|
|
103
103
|
key: 0,
|
|
104
104
|
class: "custom-btn",
|
|
105
105
|
ref_for: !0,
|
|
106
|
-
ref: (a) =>
|
|
106
|
+
ref: (a) => x.value[`customQueryComponent_${C}`] = a,
|
|
107
107
|
modelValue: e.queryValue,
|
|
108
108
|
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
109
109
|
queryItem: e,
|
|
110
|
-
data:
|
|
111
|
-
onRefresh: l[
|
|
112
|
-
onLoaded:
|
|
113
|
-
}, null, 40, ["modelValue", "onUpdate:modelValue", "queryItem", "data"])) : (
|
|
110
|
+
data: V.data,
|
|
111
|
+
onRefresh: l[9] || (l[9] = (a) => c({ permissionCode: 1001 })),
|
|
112
|
+
onLoaded: ue
|
|
113
|
+
}, null, 40, ["modelValue", "onUpdate:modelValue", "queryItem", "data"])) : (r(), _("div", {
|
|
114
114
|
class: "no-config",
|
|
115
|
-
key:
|
|
115
|
+
key: C
|
|
116
116
|
}, [
|
|
117
|
-
me("span", qe, "【" +
|
|
118
|
-
|
|
117
|
+
me("span", qe, "【" + R(e.fieldName) + "】", 1),
|
|
118
|
+
O(R(t(p)("act.fieldCustom")), 1)
|
|
119
119
|
]))
|
|
120
|
-
], 64)) : (
|
|
120
|
+
], 64)) : (r(), d(N, {
|
|
121
121
|
key: 0,
|
|
122
122
|
class: "search-form-item",
|
|
123
|
-
"label-width":
|
|
123
|
+
"label-width": V.data.tableConfig.tableQueryLabelWidth,
|
|
124
124
|
label: e.fieldName
|
|
125
125
|
}, {
|
|
126
126
|
default: T(() => [
|
|
127
|
-
e.fieldType === "input" || e.fieldType === "editor" ? (
|
|
127
|
+
e.fieldType === "input" || e.fieldType === "editor" ? (r(), d(s, m({
|
|
128
128
|
key: 0,
|
|
129
129
|
modelValue: e.queryValue,
|
|
130
130
|
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
131
131
|
placeholder: `${t(p)("act.inputPlaceholder")}${e.fieldName}`,
|
|
132
132
|
clearable: "",
|
|
133
133
|
ref_for: !0
|
|
134
|
-
}, t(
|
|
134
|
+
}, t(i)(e), {
|
|
135
135
|
onKeyup: l[0] || (l[0] = H(K((a) => c({ permissionCode: 1001 }), ["prevent"]), ["enter", "native"])),
|
|
136
|
-
onClear:
|
|
136
|
+
onClear: se
|
|
137
137
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder"])) : g("", !0),
|
|
138
|
-
e.fieldType === "inputNumber" ? (
|
|
138
|
+
e.fieldType === "inputNumber" ? (r(), d(t(X), m({
|
|
139
139
|
key: 1,
|
|
140
140
|
modelValue: e.queryValue,
|
|
141
141
|
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
@@ -143,7 +143,7 @@ const ge = {
|
|
|
143
143
|
clearable: "",
|
|
144
144
|
onKeyup: l[1] || (l[1] = H(K((a) => c({ permissionCode: 1001 }), ["prevent"]), ["enter", "native"])),
|
|
145
145
|
ref_for: !0
|
|
146
|
-
}, t(
|
|
146
|
+
}, t(i)(e)), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder"])) : ["select", "switch", "multipleSelect"].includes(e.fieldType) ? (r(), d($, m({
|
|
147
147
|
key: 2,
|
|
148
148
|
modelValue: e.queryValue,
|
|
149
149
|
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
@@ -151,51 +151,69 @@ const ge = {
|
|
|
151
151
|
clearable: "",
|
|
152
152
|
filterable: "",
|
|
153
153
|
ref_for: !0
|
|
154
|
-
}, t(
|
|
154
|
+
}, t(i)(e), {
|
|
155
155
|
multiple: e.fieldType === "multipleSelect",
|
|
156
156
|
"collapse-tags": e.fieldType === "multipleSelect",
|
|
157
157
|
"collapse-tags-tooltip": e.fieldType === "multipleSelect",
|
|
158
158
|
onChange: l[2] || (l[2] = (a) => c({ permissionCode: 1001 }))
|
|
159
159
|
}), {
|
|
160
160
|
default: T(() => [
|
|
161
|
-
(
|
|
161
|
+
(r(!0), _(k, null, M(e.dataList, (a, F) => (r(), d(o, {
|
|
162
162
|
key: F,
|
|
163
163
|
label: a.key,
|
|
164
164
|
value: a.value
|
|
165
165
|
}, null, 8, ["label", "value"]))), 128))
|
|
166
166
|
]),
|
|
167
167
|
_: 2
|
|
168
|
-
}, 1040, ["modelValue", "onUpdate:modelValue", "placeholder", "multiple", "collapse-tags", "collapse-tags-tooltip"])) : ["virtualizedSelect", "virtualizedMultipleSelect"].includes(e.fieldType) ? (
|
|
168
|
+
}, 1040, ["modelValue", "onUpdate:modelValue", "placeholder", "multiple", "collapse-tags", "collapse-tags-tooltip"])) : ["virtualizedSelect", "virtualizedMultipleSelect"].includes(e.fieldType) ? (r(), d(Q, m({
|
|
169
169
|
key: 3,
|
|
170
170
|
modelValue: e.queryValue,
|
|
171
171
|
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
172
172
|
options: e.dataList,
|
|
173
|
-
props: { ...t(
|
|
173
|
+
props: { ...t(_e) },
|
|
174
174
|
placeholder: `${t(p)("act.selectPlaceholder")}${e.fieldName}`,
|
|
175
175
|
clearable: "",
|
|
176
176
|
filterable: "",
|
|
177
177
|
ref_for: !0
|
|
178
|
-
}, t(
|
|
178
|
+
}, t(i)(e), {
|
|
179
179
|
"collapse-tags": e.fieldType === "virtualizedMultipleSelect",
|
|
180
180
|
"collapse-tags-tooltip": e.fieldType === "virtualizedMultipleSelect",
|
|
181
181
|
multiple: e.fieldType === "virtualizedMultipleSelect",
|
|
182
182
|
onChange: l[3] || (l[3] = (a) => c({ permissionCode: 1001 }))
|
|
183
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "collapse-tags", "collapse-tags-tooltip", "multiple"])) : e.fieldType === "provinceCascade" ? (
|
|
183
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "collapse-tags", "collapse-tags-tooltip", "multiple"])) : e.fieldType === "provinceCascade" ? (r(), d(w, m({
|
|
184
184
|
key: 4,
|
|
185
185
|
modelValue: e.queryValue,
|
|
186
186
|
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
187
187
|
options: e.dataList,
|
|
188
|
-
props: { ...t(
|
|
188
|
+
props: { ...t(he) },
|
|
189
189
|
clearable: "",
|
|
190
190
|
filterable: "",
|
|
191
191
|
placeholder: `${t(p)("act.selectPlaceholder")}${e.fieldName}`,
|
|
192
192
|
ref_for: !0
|
|
193
|
-
}, t(
|
|
193
|
+
}, t(i)(e), {
|
|
194
194
|
onChange: l[4] || (l[4] = (a) => c({ permissionCode: 1001 }))
|
|
195
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder"])) : e.fieldType === "
|
|
195
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder"])) : e.fieldType === "fullLoadTreeSelect" ? (r(), d(U, m({
|
|
196
196
|
key: 5,
|
|
197
197
|
ref_for: !0,
|
|
198
|
-
ref: (a) =>
|
|
198
|
+
ref: (a) => x.value[`elTreeSelect_fullLoad_${C}`] = a,
|
|
199
|
+
modelValue: e.queryValue,
|
|
200
|
+
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
201
|
+
data: e.dataList,
|
|
202
|
+
placeholder: `请选择${e.fieldName}`,
|
|
203
|
+
props: { ...t(W), ...t(i)(e).treeProps || {} },
|
|
204
|
+
"render-after-expand": !1,
|
|
205
|
+
"collapse-tags": "",
|
|
206
|
+
"collapse-tags-tooltip": "",
|
|
207
|
+
multiple: "",
|
|
208
|
+
"show-checkbox": "",
|
|
209
|
+
clearable: "",
|
|
210
|
+
filterable: ""
|
|
211
|
+
}, t(i)(e), {
|
|
212
|
+
onChange: l[5] || (l[5] = (a) => c({ permissionCode: 1001 }))
|
|
213
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "data", "placeholder", "props"])) : e.fieldType === "treeSelect" ? (r(), d(U, m({
|
|
214
|
+
key: 6,
|
|
215
|
+
ref_for: !0,
|
|
216
|
+
ref: (a) => x.value[`elTreeSelect_${C}`] = a,
|
|
199
217
|
modelValue: e.queryValue,
|
|
200
218
|
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
201
219
|
placeholder: `请选择${e.fieldName}`,
|
|
@@ -208,11 +226,11 @@ const ge = {
|
|
|
208
226
|
clearable: "",
|
|
209
227
|
filterable: "",
|
|
210
228
|
lazy: "",
|
|
211
|
-
load: (a, F) =>
|
|
212
|
-
}, t(
|
|
213
|
-
onChange: l[
|
|
214
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "load"])) : e.fieldType === "date" ? (
|
|
215
|
-
key:
|
|
229
|
+
load: (a, F) => re({ node: a, resolve: F }, e)
|
|
230
|
+
}, t(i)(e), {
|
|
231
|
+
onChange: l[6] || (l[6] = (a) => c({ permissionCode: 1001 }))
|
|
232
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "load"])) : e.fieldType === "date" ? (r(), d(D, m({
|
|
233
|
+
key: 7,
|
|
216
234
|
modelValue: e.queryValue,
|
|
217
235
|
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
218
236
|
type: "date",
|
|
@@ -220,10 +238,10 @@ const ge = {
|
|
|
220
238
|
"value-format": "YYYY-MM-DD HH:mm:ss",
|
|
221
239
|
clearable: "",
|
|
222
240
|
ref_for: !0
|
|
223
|
-
}, t(
|
|
224
|
-
onChange: l[
|
|
225
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder"])) : e.fieldType === "dateRange" ? (
|
|
226
|
-
key:
|
|
241
|
+
}, t(i)(e), {
|
|
242
|
+
onChange: l[7] || (l[7] = (a) => c({ permissionCode: 1001 }))
|
|
243
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder"])) : e.fieldType === "dateRange" ? (r(), d(D, m({
|
|
244
|
+
key: 8,
|
|
227
245
|
modelValue: e.queryValue,
|
|
228
246
|
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
229
247
|
type: "daterange",
|
|
@@ -232,28 +250,28 @@ const ge = {
|
|
|
232
250
|
"value-format": "YYYY-MM-DD HH:mm:ss",
|
|
233
251
|
clearable: "",
|
|
234
252
|
ref_for: !0
|
|
235
|
-
}, t(
|
|
236
|
-
onChange: l[
|
|
253
|
+
}, t(i)(e), {
|
|
254
|
+
onChange: l[8] || (l[8] = (a) => c({ permissionCode: 1001 }))
|
|
237
255
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder"])) : g("", !0)
|
|
238
256
|
]),
|
|
239
257
|
_: 2
|
|
240
258
|
}, 1032, ["label-width", "label"]))
|
|
241
259
|
], 64)) : g("", !0)
|
|
242
260
|
], 64))), 128)),
|
|
243
|
-
t(b).length ? (
|
|
261
|
+
t(b).length ? (r(), d(N, {
|
|
244
262
|
key: 0,
|
|
245
263
|
class: "search-form-btn",
|
|
246
264
|
"label-width": "0"
|
|
247
265
|
}, {
|
|
248
266
|
default: T(() => [
|
|
249
|
-
(
|
|
250
|
-
key:
|
|
267
|
+
(r(!0), _(k, null, M(t(I), (e, C) => Ve((r(), d(f, {
|
|
268
|
+
key: C,
|
|
251
269
|
type: e.btnColor,
|
|
252
270
|
loading: e.loading,
|
|
253
271
|
onClick: (a) => c(e)
|
|
254
272
|
}, {
|
|
255
273
|
default: T(() => [
|
|
256
|
-
e.btnIcon ? (
|
|
274
|
+
e.btnIcon ? (r(), d(S, {
|
|
257
275
|
key: 0,
|
|
258
276
|
class: "mr6",
|
|
259
277
|
name: e.btnIcon,
|
|
@@ -261,11 +279,11 @@ const ge = {
|
|
|
261
279
|
height: "12",
|
|
262
280
|
color: "#fff"
|
|
263
281
|
}, null, 8, ["name"])) : g("", !0),
|
|
264
|
-
|
|
282
|
+
O(" " + R(e.btnName), 1)
|
|
265
283
|
]),
|
|
266
284
|
_: 2
|
|
267
285
|
}, 1032, ["type", "loading", "onClick"])), [
|
|
268
|
-
[
|
|
286
|
+
[L]
|
|
269
287
|
])), 128))
|
|
270
288
|
]),
|
|
271
289
|
_: 1
|
|
@@ -273,7 +291,7 @@ const ge = {
|
|
|
273
291
|
]),
|
|
274
292
|
_: 1
|
|
275
293
|
}, 8, ["style"]),
|
|
276
|
-
|
|
294
|
+
V.data.tableConfig.isExpandQuery && ((u = t(b)) == null ? void 0 : u.length) > V.data.tableConfig.tableQueryRowWidth ? (r(), d(f, {
|
|
277
295
|
key: 0,
|
|
278
296
|
class: "expand",
|
|
279
297
|
text: "",
|
|
@@ -282,14 +300,14 @@ const ge = {
|
|
|
282
300
|
onClick: ne
|
|
283
301
|
}, {
|
|
284
302
|
default: T(() => [
|
|
285
|
-
|
|
303
|
+
O(R(t(P) ? t(p)("act.expand") : t(p)("act.retract")), 1)
|
|
286
304
|
]),
|
|
287
305
|
_: 1
|
|
288
306
|
}, 8, ["icon"])) : g("", !0)
|
|
289
307
|
])) : g("", !0);
|
|
290
308
|
};
|
|
291
309
|
}
|
|
292
|
-
},
|
|
310
|
+
}, Ue = /* @__PURE__ */ be(Te, [["__scopeId", "data-v-92d7682c"]]);
|
|
293
311
|
export {
|
|
294
|
-
|
|
312
|
+
Ue as default
|
|
295
313
|
};
|
|
@@ -3865,18 +3865,18 @@ const ri = {
|
|
|
3865
3865
|
emits: ["onClickRow", "changeExpansionRow", "refresh", "load", "operate"],
|
|
3866
3866
|
setup(e, { expose: t, emit: n }) {
|
|
3867
3867
|
const a = ut({
|
|
3868
|
-
loader: () => import("./index-
|
|
3868
|
+
loader: () => import("./index-3b801428.js"),
|
|
3869
3869
|
loadingComponent: cn,
|
|
3870
3870
|
delay: 20
|
|
3871
3871
|
}), l = ut({
|
|
3872
|
-
loader: () => import("./index-
|
|
3872
|
+
loader: () => import("./index-f6b0defb.js"),
|
|
3873
3873
|
loadingComponent: cn,
|
|
3874
3874
|
delay: 20
|
|
3875
3875
|
}), o = ut({
|
|
3876
|
-
loader: () => import("./index-
|
|
3876
|
+
loader: () => import("./index-f6aef3b6.js"),
|
|
3877
3877
|
loadingComponent: cn,
|
|
3878
3878
|
delay: 20
|
|
3879
|
-
}), r = ut(() => import("./index-
|
|
3879
|
+
}), r = ut(() => import("./index-7b611211.js")), s = ut(() => import("./index-8afa0dd5.js")), { t: i } = yn(), g = Be("actModules"), N = Be("apiPrefix"), y = Be("request"), p = Be("themeColor"), v = gn(), S = qa(), L = n, O = e, m = () => ({
|
|
3880
3880
|
pageLoading: !1,
|
|
3881
3881
|
tableLoading: !1,
|
|
3882
3882
|
tableTotal: 0,
|
|
@@ -4038,7 +4038,16 @@ const ri = {
|
|
|
4038
4038
|
}, T = async (u = [], b = {}, Q = !0, G = !1) => {
|
|
4039
4039
|
try {
|
|
4040
4040
|
const W = u.filter(
|
|
4041
|
-
(U) => [
|
|
4041
|
+
(U) => [
|
|
4042
|
+
"select",
|
|
4043
|
+
"multipleSelect",
|
|
4044
|
+
"selectIcon",
|
|
4045
|
+
"switch",
|
|
4046
|
+
"virtualizedSelect",
|
|
4047
|
+
"virtualizedMultipleSelect",
|
|
4048
|
+
"fullLoadTreeSelect",
|
|
4049
|
+
"provinceCascade"
|
|
4050
|
+
].includes(U.fieldType) && (!Reflect.has(U, "dataList") || !U.dataList.length || G)
|
|
4042
4051
|
), x = (await Promise.allSettled(
|
|
4043
4052
|
W.map(async (U) => {
|
|
4044
4053
|
const P = U.postRequestParams.filter((Ie) => Ie.submitType === "default").reduce((Ie, qe) => (Ie[qe.submitName] = he(qe.paramsType, qe.submitValue), Ie), {}), X = U.postRequestParams.filter((Ie) => Ie.submitType === "match").reduce((Ie, qe) => (Ie[qe.submitName] = he(qe.paramsType, b[qe.submitValue][qe.submitName]), Ie), {}), J = U.postRequestParams.filter((Ie) => Ie.submitType === "dynamic").map((Ie) => ({
|
|
@@ -4710,7 +4719,7 @@ const ri = {
|
|
|
4710
4719
|
]);
|
|
4711
4720
|
};
|
|
4712
4721
|
}
|
|
4713
|
-
}, Fl = /* @__PURE__ */ Ft(ci, [["__scopeId", "data-v-
|
|
4722
|
+
}, Fl = /* @__PURE__ */ Ft(ci, [["__scopeId", "data-v-71fbc4b9"]]), Qi = [
|
|
4714
4723
|
{ key: "按钮形式", value: "default" },
|
|
4715
4724
|
{ key: "文字形式", value: "text" }
|
|
4716
4725
|
], Wi = [
|
|
@@ -4763,7 +4772,8 @@ const ri = {
|
|
|
4763
4772
|
{ key: "虚拟下拉框", value: "virtualizedSelect" },
|
|
4764
4773
|
{ key: "下拉多选框", value: "multipleSelect" },
|
|
4765
4774
|
{ key: "虚拟下拉多选框", value: "virtualizedMultipleSelect" },
|
|
4766
|
-
{ key: "树形下拉框", value: "
|
|
4775
|
+
{ key: "树形下拉框", value: "fullLoadTreeSelect" },
|
|
4776
|
+
{ key: "树形下拉框(懒加载)", value: "treeSelect" },
|
|
4767
4777
|
{ key: "级联下拉框", value: "provinceCascade" },
|
|
4768
4778
|
{ key: "时间框", value: "date" },
|
|
4769
4779
|
{ key: "时间范围框", value: "dateRange" },
|
|
@@ -5405,7 +5415,7 @@ const bi = {
|
|
|
5405
5415
|
},
|
|
5406
5416
|
emits: ["update:modelValue"],
|
|
5407
5417
|
setup(e, { expose: t, emit: n }) {
|
|
5408
|
-
const a = gn(), l = Be("apiPrefix"), o = Be("request"), r = ut(() => import("./dialogConfigBtn-
|
|
5418
|
+
const a = gn(), l = Be("apiPrefix"), o = Be("request"), r = ut(() => import("./dialogConfigBtn-065ba283.js")), s = e, i = () => ({
|
|
5409
5419
|
sort: 0,
|
|
5410
5420
|
permissionCode: null,
|
|
5411
5421
|
requestUrl: "",
|
|
@@ -5550,7 +5560,7 @@ const hi = { class: "card-header" }, yi = {
|
|
|
5550
5560
|
},
|
|
5551
5561
|
emits: ["update:modelValue"],
|
|
5552
5562
|
setup(e, { emit: t }) {
|
|
5553
|
-
const n = ut(() => import("./dialogAddField-
|
|
5563
|
+
const n = ut(() => import("./dialogAddField-524692c9.js")), a = t, l = e;
|
|
5554
5564
|
Be("configData")();
|
|
5555
5565
|
let r = Qt((() => ({
|
|
5556
5566
|
tableLoading: !1,
|
|
@@ -290,8 +290,9 @@ const le = { style: { height: "100%", overflow: "hidden" } }, Le = {
|
|
|
290
290
|
//以css文件方式自定义可编辑区域的css样式,css文件需自己创建并引入
|
|
291
291
|
editable_root: o.editableRoot,
|
|
292
292
|
width: o.width,
|
|
293
|
-
height:
|
|
294
|
-
|
|
293
|
+
// height: props.height,
|
|
294
|
+
max_height: o.height,
|
|
295
|
+
// min_height: props.height,
|
|
295
296
|
branding: !1,
|
|
296
297
|
// 是否禁用“Powered by TinyMCE”
|
|
297
298
|
promotion: !1,
|
|
@@ -341,7 +342,9 @@ const le = { style: { height: "100%", overflow: "hidden" } }, Le = {
|
|
|
341
342
|
//图片上传 -实列 具体请根据官网补充-
|
|
342
343
|
images_upload_handler: function(m, f) {
|
|
343
344
|
}
|
|
344
|
-
})
|
|
345
|
+
});
|
|
346
|
+
console.log(c);
|
|
347
|
+
const l = q({
|
|
345
348
|
get() {
|
|
346
349
|
return o.modelValue;
|
|
347
350
|
},
|