act-plus 1.1.91 → 1.1.93
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 +3 -3
- package/act-plus.umd.cjs +50 -50
- package/lib/{dialogAddField-44777711.js → dialogAddField-9c964889.js} +134 -114
- package/lib/{dialogConfigBtn-d1689521.js → dialogConfigBtn-dff385f4.js} +321 -283
- package/lib/{dialogSiteComponentsParams-20202897.js → dialogSiteComponentsParams-ff85fff1.js} +1 -1
- package/lib/{index-102a66e3.js → index-1683f054.js} +123 -123
- package/lib/{index-faf7bfa8.js → index-87379c99.js} +153 -153
- package/lib/{index-ab23fa70.js → index-8b829da2.js} +1 -1
- package/lib/{index-d8903caa.js → index-9bb0a4a8.js} +1 -1
- package/lib/{index-dd0e4184.js → index-a1705d25.js} +2444 -2413
- package/lib/index-aa0662e4.js +215 -0
- package/lib/{index-ddb4ce93.js → index-b941f8eb.js} +1 -1
- package/lib/{index-815a580b.js → index-d3b35914.js} +1 -1
- package/lib/{index-66d3a947.js → index-fbe3414d.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/lib/index-141f7eb5.js +0 -215
package/lib/{dialogSiteComponentsParams-20202897.js → dialogSiteComponentsParams-ff85fff1.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-9bb0a4a8.js")), n = c, o = f;
|
|
12
12
|
let t = C();
|
|
13
13
|
y(
|
|
14
14
|
() => o.visible,
|
|
@@ -1,154 +1,154 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { _ as
|
|
1
|
+
import { defineAsyncComponent as ie, inject as g, ref as T, watch as fe, resolveComponent as y, resolveDirective as ye, unref as t, openBlock as s, createElementBlock as h, createVNode as me, normalizeStyle as be, withCtx as k, Fragment as P, renderList as O, createBlock as p, mergeProps as b, withKeys as W, withModifiers as G, createCommentVNode as q, resolveDynamicComponent as Ve, createElementVNode as Ce, toDisplayString as x, createTextVNode as z, withDirectives as _e } from "vue";
|
|
2
|
+
import { _ as he, u as ge, P as qe, a as Te, b as J, g as ke, c as Pe } from "./index-a1705d25.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "element-plus";
|
|
5
|
-
const
|
|
5
|
+
const $e = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "search-module-container"
|
|
8
|
-
},
|
|
8
|
+
}, Qe = { class: "no-config-field" }, Ue = {
|
|
9
9
|
__name: "index",
|
|
10
10
|
props: {
|
|
11
11
|
data: { type: Object, default: () => ({}) }
|
|
12
12
|
},
|
|
13
13
|
emits: ["reset", "search"],
|
|
14
|
-
setup(
|
|
15
|
-
const
|
|
16
|
-
let
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
l.tableQueryDefaultValue && (["date", "dateRange"].includes(l.fieldType) ? l.queryValue =
|
|
21
|
-
|
|
14
|
+
setup(X, { emit: Z }) {
|
|
15
|
+
const ee = ie(() => import("./index-e2f2023d.js")), { t: d, locale: A } = ge(), le = (o) => o.permissionCode === "9999" ? d("act.reset") : ke(o, A.value), m = (o) => Pe(o, A.value), ae = g("request"), Y = g("globalProps"), te = g("loadComponents"), i = g("getFieldUiProps"), L = g("formatDataType"), B = g("disposeDate"), oe = g("getDefaultQueryValues"), I = Z, V = X, E = T({});
|
|
16
|
+
let C = T([]), j = T([]), $ = T(!0);
|
|
17
|
+
const H = T(0), K = T(0), re = (o) => V.data.tableConfig.isExpandQuery && $.value ? V.data.tableConfig.tableQueryRowWidth > o + 1 : !0, ue = async (o) => {
|
|
18
|
+
C.value = await Promise.all(
|
|
19
|
+
o.filter((l) => l.useScenes.includes("tableSearch")).map(async (l) => {
|
|
20
|
+
l.tableQueryDefaultValue && (["date", "dateRange"].includes(l.fieldType) ? l.queryValue = B(l) : l.queryValue = l.tableQueryDefaultValue ? l.tableQueryDefaultValue : void 0), Y.defaultParams.some((r) => {
|
|
21
|
+
r.field == l.fieldKey && r.operate === l.tableQueryCondition && (l.queryValue = r.value);
|
|
22
22
|
});
|
|
23
|
-
const n = (l.formCustomComponentes ?? []).find((
|
|
23
|
+
const n = (l.formCustomComponentes ?? []).find((r) => r.permissionCode === "tableSearch");
|
|
24
24
|
if (l.isQueryFieldCustom = !1, n && n.isFieldCustom) {
|
|
25
|
-
const { isFieldCustom:
|
|
26
|
-
if (l.isQueryFieldCustom = !0,
|
|
27
|
-
const
|
|
28
|
-
l.customQueryComponent =
|
|
25
|
+
const { isFieldCustom: r, customComponentName: Q, customComponentUrl: U } = n;
|
|
26
|
+
if (l.isQueryFieldCustom = !0, K.value++, r && !l.customQueryComponent) {
|
|
27
|
+
const S = await te(U, Q);
|
|
28
|
+
l.customQueryComponent = S;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
return l;
|
|
32
32
|
})
|
|
33
33
|
);
|
|
34
|
-
},
|
|
35
|
-
const l = (
|
|
36
|
-
|
|
37
|
-
},
|
|
38
|
-
const
|
|
39
|
-
if (
|
|
34
|
+
}, se = (o) => {
|
|
35
|
+
const l = (o || []).filter((n) => n.permissionCode === 1001).map((n) => ({ ...n, loading: !1 }));
|
|
36
|
+
j.value = [...l, { btnName: d("act.reset"), permissionCode: "9999", btnColor: "info", btnIcon: "btn-reset", loading: !1 }];
|
|
37
|
+
}, ne = async ({ node: o, resolve: l }, n) => {
|
|
38
|
+
const r = i(n), { label: Q, value: U, children: S, isLeaf: D } = { ...J, ...r.treeProps || {} };
|
|
39
|
+
if (o[D])
|
|
40
40
|
return l([]);
|
|
41
|
-
const
|
|
41
|
+
const w = n.postRequestParams.filter((u) => u.submitType === "default").reduce((u, e) => (u[e.submitName] = L(e.paramsType, e.submitValue), u), {}), v = n.postRequestParams.filter((u) => u.submitType === "match").reduce((u, e) => (u[e.submitName] = L(e.paramsType, Y.matchData[e.submitValue][e.submitName]), u), {}), R = n.postRequestParams.filter((u) => u.submitType === "dynamic").map((u) => {
|
|
42
42
|
let e = {
|
|
43
43
|
field: u.submitName,
|
|
44
44
|
operate: u.submitMatchType,
|
|
45
|
-
value:
|
|
45
|
+
value: L(u.paramsType, u.submitValue)
|
|
46
46
|
};
|
|
47
|
-
return
|
|
47
|
+
return r.loadCode === u.submitName && (o != null && o.data.value) && (e.value = o == null ? void 0 : o.data.value), e;
|
|
48
48
|
});
|
|
49
49
|
let f = {};
|
|
50
|
-
Object.keys(
|
|
51
|
-
const { data:
|
|
50
|
+
Object.keys(w).length && (f = { ...f, ...w }), Object.keys(v).length && (f = { ...f, ...v }), R.length && (f.dynamicFilters = R), r.loadCode && Reflect.has(f, r.loadCode) && (f[r.loadCode] = o == null ? void 0 : o.data.value);
|
|
51
|
+
const { data: F } = await ae({
|
|
52
52
|
url: n.fieldRequestUrl,
|
|
53
53
|
method: n.fieldRequestType || "GET",
|
|
54
54
|
data: f
|
|
55
|
-
}),
|
|
56
|
-
l(
|
|
55
|
+
}), N = (F || []).map((u) => ({ label: u[Q], value: u[U], children: [], isLeaf: u[D] }));
|
|
56
|
+
l(N);
|
|
57
57
|
};
|
|
58
|
-
|
|
59
|
-
() =>
|
|
60
|
-
(
|
|
61
|
-
|
|
58
|
+
fe(
|
|
59
|
+
() => V.data,
|
|
60
|
+
(o, l) => {
|
|
61
|
+
ue(o.fields), se(o.buttons);
|
|
62
62
|
},
|
|
63
63
|
{ immediate: !0, deep: !0 }
|
|
64
64
|
);
|
|
65
|
-
const
|
|
66
|
-
|
|
67
|
-
}, c = (
|
|
68
|
-
switch (
|
|
65
|
+
const de = () => {
|
|
66
|
+
H.value++, H.value === K.value && c({ permissionCode: 1001 });
|
|
67
|
+
}, c = (o) => {
|
|
68
|
+
switch (o.loading = !0, o.permissionCode) {
|
|
69
69
|
case "9999":
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
C.value.forEach((r) => {
|
|
71
|
+
r.tableQueryDefaultValue ? r.queryValue = ["date", "dateRange"].includes(r.fieldType) ? B(r) : (r == null ? void 0 : r.tableQueryDefaultValue) || void 0 : r.queryValue = r.fieldType.includes("&") ? [] : void 0;
|
|
72
72
|
});
|
|
73
|
-
const l =
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
const l = oe();
|
|
74
|
+
I("reset", l, () => {
|
|
75
|
+
o.loading = !1;
|
|
76
76
|
});
|
|
77
77
|
break;
|
|
78
78
|
default:
|
|
79
|
-
const n =
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
const n = C.value.filter((r) => Array.isArray(r.queryValue) ? r.queryValue.length : !!r.queryValue);
|
|
80
|
+
I("search", n, () => {
|
|
81
|
+
o.loading = !1;
|
|
82
82
|
});
|
|
83
83
|
break;
|
|
84
84
|
}
|
|
85
|
-
},
|
|
86
|
-
|
|
87
|
-
},
|
|
85
|
+
}, pe = () => {
|
|
86
|
+
$.value = !$.value;
|
|
87
|
+
}, ce = () => {
|
|
88
88
|
c({ permissionCode: 1001 });
|
|
89
89
|
};
|
|
90
|
-
return (
|
|
90
|
+
return (o, l) => {
|
|
91
91
|
var u;
|
|
92
|
-
const n =
|
|
93
|
-
return t(
|
|
94
|
-
|
|
95
|
-
style:
|
|
92
|
+
const n = y("el-input"), r = y("el-option"), Q = y("el-select"), U = y("el-select-v2"), S = y("el-cascader"), D = y("el-tree-select"), w = y("el-date-picker"), v = y("el-form-item"), R = y("a-svg-icon"), f = y("el-button"), F = y("el-form"), N = ye("debounce");
|
|
93
|
+
return t(C) && t(C).length ? (s(), h("div", $e, [
|
|
94
|
+
me(F, {
|
|
95
|
+
style: be({ "--table-query-row": V.data.tableConfig.tableQueryRowWidth }),
|
|
96
96
|
class: "form-content",
|
|
97
97
|
ref: "elForm",
|
|
98
98
|
"label-suffix": ":",
|
|
99
99
|
"label-position": "right"
|
|
100
100
|
}, {
|
|
101
|
-
default:
|
|
102
|
-
(s(!0),
|
|
103
|
-
|
|
104
|
-
e.isQueryFieldCustom ? (s(),
|
|
105
|
-
e.customQueryComponent ? (s(),
|
|
101
|
+
default: k(() => [
|
|
102
|
+
(s(!0), h(P, null, O(t(C), (e, _) => (s(), h(P, { key: _ }, [
|
|
103
|
+
re(_) ? (s(), h(P, { key: 0 }, [
|
|
104
|
+
e.isQueryFieldCustom ? (s(), h(P, { key: 1 }, [
|
|
105
|
+
e.customQueryComponent ? (s(), p(Ve(e.customQueryComponent), {
|
|
106
106
|
key: 0,
|
|
107
107
|
class: "custom-btn",
|
|
108
108
|
ref_for: !0,
|
|
109
|
-
ref: (a) =>
|
|
109
|
+
ref: (a) => E.value[`customQueryComponent_${_}`] = a,
|
|
110
110
|
modelValue: e.queryValue,
|
|
111
111
|
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
112
112
|
queryItem: e,
|
|
113
|
-
data:
|
|
113
|
+
data: V.data,
|
|
114
114
|
onRefresh: l[9] || (l[9] = (a) => c({ permissionCode: 1001 })),
|
|
115
|
-
onLoaded:
|
|
116
|
-
}, null, 40, ["modelValue", "onUpdate:modelValue", "queryItem", "data"])) : (s(),
|
|
115
|
+
onLoaded: de
|
|
116
|
+
}, null, 40, ["modelValue", "onUpdate:modelValue", "queryItem", "data"])) : (s(), h("div", {
|
|
117
117
|
class: "no-config",
|
|
118
|
-
key:
|
|
118
|
+
key: _
|
|
119
119
|
}, [
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
Ce("span", Qe, "【" + x(m(e)) + "】", 1),
|
|
121
|
+
z(x(t(d)("act.fieldCustom")), 1)
|
|
122
122
|
]))
|
|
123
|
-
], 64)) : (s(),
|
|
123
|
+
], 64)) : (s(), p(v, {
|
|
124
124
|
key: 0,
|
|
125
125
|
class: "search-form-item",
|
|
126
|
-
"label-width":
|
|
127
|
-
label: e
|
|
126
|
+
"label-width": V.data.tableConfig.tableQueryLabelWidth,
|
|
127
|
+
label: m(e)
|
|
128
128
|
}, {
|
|
129
|
-
default:
|
|
130
|
-
e.fieldType === "input" || e.fieldType === "editor" ? (s(),
|
|
129
|
+
default: k(() => [
|
|
130
|
+
e.fieldType === "input" || e.fieldType === "editor" ? (s(), p(n, b({
|
|
131
131
|
key: 0,
|
|
132
132
|
modelValue: e.queryValue,
|
|
133
133
|
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
134
|
-
placeholder: `${t(
|
|
134
|
+
placeholder: `${t(d)("act.inputPlaceholder")}${m(e)}`,
|
|
135
135
|
clearable: ""
|
|
136
136
|
}, { ref_for: !0 }, t(i)(e), {
|
|
137
|
-
onKeyup: l[0] || (l[0] =
|
|
138
|
-
onClear:
|
|
139
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder"])) :
|
|
140
|
-
e.fieldType === "inputNumber" ? (s(),
|
|
137
|
+
onKeyup: l[0] || (l[0] = W(G((a) => c({ permissionCode: 1001 }), ["prevent"]), ["enter", "native"])),
|
|
138
|
+
onClear: ce
|
|
139
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder"])) : q("", !0),
|
|
140
|
+
e.fieldType === "inputNumber" ? (s(), p(t(ee), b({
|
|
141
141
|
key: 1,
|
|
142
142
|
modelValue: e.queryValue,
|
|
143
143
|
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
144
|
-
placeholder: `${t(
|
|
144
|
+
placeholder: `${t(d)("act.inputPlaceholder")}${m(e)}`,
|
|
145
145
|
clearable: "",
|
|
146
|
-
onKeyup: l[1] || (l[1] =
|
|
147
|
-
}, { ref_for: !0 }, t(i)(e)), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder"])) : ["select", "switch", "multipleSelect"].includes(e.fieldType) ? (s(),
|
|
146
|
+
onKeyup: l[1] || (l[1] = W(G((a) => c({ permissionCode: 1001 }), ["prevent"]), ["enter", "native"]))
|
|
147
|
+
}, { ref_for: !0 }, t(i)(e)), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder"])) : ["select", "switch", "multipleSelect"].includes(e.fieldType) ? (s(), p(Q, b({
|
|
148
148
|
key: 2,
|
|
149
149
|
modelValue: e.queryValue,
|
|
150
150
|
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
151
|
-
placeholder: `${t(
|
|
151
|
+
placeholder: `${t(d)("act.selectPlaceholder")}${m(e)}`,
|
|
152
152
|
clearable: "",
|
|
153
153
|
filterable: ""
|
|
154
154
|
}, { ref_for: !0 }, t(i)(e), {
|
|
@@ -157,21 +157,21 @@ const ge = {
|
|
|
157
157
|
"collapse-tags-tooltip": e.fieldType === "multipleSelect",
|
|
158
158
|
onChange: l[2] || (l[2] = (a) => c({ permissionCode: 1001 }))
|
|
159
159
|
}), {
|
|
160
|
-
default:
|
|
161
|
-
(s(!0),
|
|
162
|
-
key:
|
|
160
|
+
default: k(() => [
|
|
161
|
+
(s(!0), h(P, null, O(e.dataList, (a, M) => (s(), p(r, {
|
|
162
|
+
key: M,
|
|
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) ? (s(),
|
|
168
|
+
}, 1040, ["modelValue", "onUpdate:modelValue", "placeholder", "multiple", "collapse-tags", "collapse-tags-tooltip"])) : ["virtualizedSelect", "virtualizedMultipleSelect"].includes(e.fieldType) ? (s(), p(U, b({
|
|
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(
|
|
174
|
-
placeholder: `${t(
|
|
173
|
+
props: { ...t(qe) },
|
|
174
|
+
placeholder: `${t(d)("act.selectPlaceholder")}${m(e)}`,
|
|
175
175
|
clearable: "",
|
|
176
176
|
filterable: ""
|
|
177
177
|
}, { ref_for: !0 }, t(i)(e), {
|
|
@@ -179,26 +179,26 @@ const ge = {
|
|
|
179
179
|
"collapse-tags-tooltip": e.fieldType === "virtualizedMultipleSelect",
|
|
180
180
|
multiple: e.fieldType === "virtualizedMultipleSelect",
|
|
181
181
|
onChange: l[3] || (l[3] = (a) => c({ permissionCode: 1001 }))
|
|
182
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "collapse-tags", "collapse-tags-tooltip", "multiple"])) : e.fieldType === "provinceCascade" ? (s(),
|
|
182
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "collapse-tags", "collapse-tags-tooltip", "multiple"])) : e.fieldType === "provinceCascade" ? (s(), p(S, b({
|
|
183
183
|
key: 4,
|
|
184
184
|
modelValue: e.queryValue,
|
|
185
185
|
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
186
186
|
options: e.dataList,
|
|
187
|
-
props: { ...t(
|
|
187
|
+
props: { ...t(Te) },
|
|
188
188
|
clearable: "",
|
|
189
189
|
filterable: "",
|
|
190
|
-
placeholder: `${t(
|
|
190
|
+
placeholder: `${t(d)("act.selectPlaceholder")}${m(e)}`
|
|
191
191
|
}, { ref_for: !0 }, t(i)(e), {
|
|
192
192
|
onChange: l[4] || (l[4] = (a) => c({ permissionCode: 1001 }))
|
|
193
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder"])) : e.fieldType === "fullLoadTreeSelect" ? (s(),
|
|
193
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder"])) : e.fieldType === "fullLoadTreeSelect" ? (s(), p(D, b({
|
|
194
194
|
key: 5,
|
|
195
195
|
ref_for: !0,
|
|
196
|
-
ref: (a) =>
|
|
196
|
+
ref: (a) => E.value[`elTreeSelect_fullLoad_${_}`] = a,
|
|
197
197
|
modelValue: e.queryValue,
|
|
198
198
|
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
199
199
|
data: e.dataList,
|
|
200
|
-
placeholder:
|
|
201
|
-
props: { ...t(
|
|
200
|
+
placeholder: `${t(d)("act.selectPlaceholder")}${m(e)}`,
|
|
201
|
+
props: { ...t(J), ...t(i)(e).treeProps || {} },
|
|
202
202
|
"render-after-expand": !1,
|
|
203
203
|
"collapse-tags": "",
|
|
204
204
|
"collapse-tags-tooltip": "",
|
|
@@ -208,13 +208,13 @@ const ge = {
|
|
|
208
208
|
filterable: ""
|
|
209
209
|
}, { ref_for: !0 }, t(i)(e), {
|
|
210
210
|
onChange: l[5] || (l[5] = (a) => c({ permissionCode: 1001 }))
|
|
211
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue", "data", "placeholder", "props"])) : e.fieldType === "treeSelect" ? (s(),
|
|
211
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "data", "placeholder", "props"])) : e.fieldType === "treeSelect" ? (s(), p(D, b({
|
|
212
212
|
key: 6,
|
|
213
213
|
ref_for: !0,
|
|
214
|
-
ref: (a) =>
|
|
214
|
+
ref: (a) => E.value[`elTreeSelect_${_}`] = a,
|
|
215
215
|
modelValue: e.queryValue,
|
|
216
216
|
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
217
|
-
placeholder:
|
|
217
|
+
placeholder: `${t(d)("act.selectPlaceholder")}${m(e)}`,
|
|
218
218
|
props: { isLeaf: "isLeaf" },
|
|
219
219
|
"render-after-expand": !1,
|
|
220
220
|
"collapse-tags": "",
|
|
@@ -224,86 +224,86 @@ const ge = {
|
|
|
224
224
|
clearable: "",
|
|
225
225
|
filterable: "",
|
|
226
226
|
lazy: "",
|
|
227
|
-
load: (a,
|
|
227
|
+
load: (a, M) => ne({ node: a, resolve: M }, e)
|
|
228
228
|
}, { ref_for: !0 }, t(i)(e), {
|
|
229
229
|
onChange: l[6] || (l[6] = (a) => c({ permissionCode: 1001 }))
|
|
230
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "load"])) : e.fieldType === "date" ? (s(),
|
|
230
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "load"])) : e.fieldType === "date" ? (s(), p(w, b({
|
|
231
231
|
key: 7,
|
|
232
232
|
modelValue: e.queryValue,
|
|
233
233
|
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
234
234
|
type: "date",
|
|
235
|
-
placeholder: `${t(
|
|
235
|
+
placeholder: `${t(d)("act.selectPlaceholder")}${t(d)("act.time")}`,
|
|
236
236
|
"value-format": "YYYY-MM-DD HH:mm:ss",
|
|
237
237
|
clearable: ""
|
|
238
238
|
}, { ref_for: !0 }, t(i)(e), {
|
|
239
239
|
onChange: l[7] || (l[7] = (a) => c({ permissionCode: 1001 }))
|
|
240
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder"])) : e.fieldType === "dateRange" ? (s(),
|
|
240
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder"])) : e.fieldType === "dateRange" ? (s(), p(w, b({
|
|
241
241
|
key: 8,
|
|
242
242
|
modelValue: e.queryValue,
|
|
243
243
|
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
244
244
|
type: "daterange",
|
|
245
|
-
"start-placeholder": t(
|
|
246
|
-
"end-placeholder": t(
|
|
245
|
+
"start-placeholder": t(d)("act.startTime"),
|
|
246
|
+
"end-placeholder": t(d)("act.endTime"),
|
|
247
247
|
"value-format": "YYYY-MM-DD HH:mm:ss",
|
|
248
248
|
clearable: ""
|
|
249
249
|
}, { ref_for: !0 }, t(i)(e), {
|
|
250
250
|
onChange: l[8] || (l[8] = (a) => c({ permissionCode: 1001 }))
|
|
251
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder"])) :
|
|
251
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder"])) : q("", !0)
|
|
252
252
|
]),
|
|
253
253
|
_: 2
|
|
254
254
|
}, 1032, ["label-width", "label"]))
|
|
255
|
-
], 64)) :
|
|
255
|
+
], 64)) : q("", !0)
|
|
256
256
|
], 64))), 128)),
|
|
257
|
-
t(
|
|
257
|
+
t(C).length ? (s(), p(v, {
|
|
258
258
|
key: 0,
|
|
259
259
|
class: "search-form-btn",
|
|
260
260
|
"label-width": "0"
|
|
261
261
|
}, {
|
|
262
|
-
default:
|
|
263
|
-
(s(!0),
|
|
264
|
-
key:
|
|
262
|
+
default: k(() => [
|
|
263
|
+
(s(!0), h(P, null, O(t(j), (e, _) => _e((s(), p(f, {
|
|
264
|
+
key: _,
|
|
265
265
|
type: e.btnColor,
|
|
266
266
|
loading: e.loading,
|
|
267
267
|
onClick: (a) => c(e)
|
|
268
268
|
}, {
|
|
269
|
-
default:
|
|
270
|
-
e.btnIcon ? (s(),
|
|
269
|
+
default: k(() => [
|
|
270
|
+
e.btnIcon ? (s(), p(R, {
|
|
271
271
|
key: 0,
|
|
272
272
|
class: "mr6",
|
|
273
273
|
name: e.btnIcon,
|
|
274
274
|
width: "12",
|
|
275
275
|
height: "12",
|
|
276
276
|
color: "#fff"
|
|
277
|
-
}, null, 8, ["name"])) :
|
|
278
|
-
|
|
277
|
+
}, null, 8, ["name"])) : q("", !0),
|
|
278
|
+
z(" " + x(le(e)), 1)
|
|
279
279
|
]),
|
|
280
280
|
_: 2
|
|
281
281
|
}, 1032, ["type", "loading", "onClick"])), [
|
|
282
|
-
[
|
|
282
|
+
[N]
|
|
283
283
|
])), 128))
|
|
284
284
|
]),
|
|
285
285
|
_: 1
|
|
286
|
-
})) :
|
|
286
|
+
})) : q("", !0)
|
|
287
287
|
]),
|
|
288
288
|
_: 1
|
|
289
289
|
}, 8, ["style"]),
|
|
290
|
-
|
|
290
|
+
V.data.tableConfig.isExpandQuery && ((u = t(C)) == null ? void 0 : u.length) > V.data.tableConfig.tableQueryRowWidth ? (s(), p(f, {
|
|
291
291
|
key: 0,
|
|
292
292
|
class: "expand",
|
|
293
293
|
text: "",
|
|
294
294
|
size: "small",
|
|
295
|
-
icon: t(
|
|
296
|
-
onClick:
|
|
295
|
+
icon: t($) ? "ArrowDown" : "ArrowUp",
|
|
296
|
+
onClick: pe
|
|
297
297
|
}, {
|
|
298
|
-
default:
|
|
299
|
-
|
|
298
|
+
default: k(() => [
|
|
299
|
+
z(x(t($) ? t(d)("act.expand") : t(d)("act.retract")), 1)
|
|
300
300
|
]),
|
|
301
301
|
_: 1
|
|
302
|
-
}, 8, ["icon"])) :
|
|
303
|
-
])) :
|
|
302
|
+
}, 8, ["icon"])) : q("", !0)
|
|
303
|
+
])) : q("", !0);
|
|
304
304
|
};
|
|
305
305
|
}
|
|
306
|
-
},
|
|
306
|
+
}, Re = /* @__PURE__ */ he(Ue, [["__scopeId", "data-v-16983648"]]);
|
|
307
307
|
export {
|
|
308
|
-
|
|
308
|
+
Re as default
|
|
309
309
|
};
|