act-plus 1.1.44 → 1.1.46
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 +68 -68
- package/lib/{dialogAddField-7f034dbc.js → dialogAddField-43f3a8b3.js} +330 -311
- package/lib/{dialogConfigBtn-8d068d2d.js → dialogConfigBtn-298b9b5c.js} +2 -2
- package/lib/{dialogSiteComponentsParams-a46b4c82.js → dialogSiteComponentsParams-fab326d2.js} +1 -1
- package/lib/{index-4e6030dd.js → index-1a957d2f.js} +31556 -31523
- package/lib/{index-43425404.js → index-37ff46df.js} +151 -153
- package/lib/{index-d4f84e7d.js → index-738cbb81.js} +15 -15
- package/lib/{index-ae4aa026.js → index-81b16d7b.js} +1 -1
- package/lib/index-c91a3357.js +291 -0
- package/lib/{index-8c31400c.js → index-ce00842d.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/lib/index-16e2c7e5.js +0 -283
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref as j, inject as l, watch as q, resolveComponent as y, resolveDirective as O, openBlock as
|
|
2
|
-
import { _ as M, u as z } from "./index-
|
|
1
|
+
import { ref as j, inject as l, watch as q, resolveComponent as y, resolveDirective as O, openBlock as r, createElementBlock as u, Fragment as f, renderList as E, unref as d, createBlock as i, resolveDynamicComponent as H, withCtx as _, withDirectives as C, createCommentVNode as b, createTextVNode as k, toDisplayString as B } from "vue";
|
|
2
|
+
import { _ as M, u as z } from "./index-1a957d2f.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "js-base64";
|
|
5
5
|
import "element-plus";
|
|
@@ -16,9 +16,9 @@ const G = { class: "header-operate-container" }, J = {
|
|
|
16
16
|
const V = l("globalProps"), v = l("menuPermissionBtns"), F = l("stringToBoolean"), $ = l("matchCondition"), S = l("getTableData"), P = l("tableBtnRefs"), A = (s) => {
|
|
17
17
|
if (!s.matchFields.length)
|
|
18
18
|
return !0;
|
|
19
|
-
const t = s.matchFields.filter((o) => o.matchType != "default"),
|
|
19
|
+
const t = s.matchFields.filter((o) => o.matchType != "default"), a = (o) => V.matchData[o.matchType][o.matchFieldName];
|
|
20
20
|
let c = t.reduce((o, n, m) => {
|
|
21
|
-
const R =
|
|
21
|
+
const R = a(n);
|
|
22
22
|
return o += $(
|
|
23
23
|
n.matchCondition,
|
|
24
24
|
R,
|
|
@@ -27,7 +27,7 @@ const G = { class: "header-operate-container" }, J = {
|
|
|
27
27
|
}, "").split("||"), e = c.reduce((o, n, m) => (o += `(${n})`, m < c.length - 1 && (o += "||"), o), "");
|
|
28
28
|
return new Function(`return ${e}`)();
|
|
29
29
|
}, I = (s) => v.value.some((t) => t.unique == s.permissionCode) && A(s), L = (s) => {
|
|
30
|
-
h.value = (s || []).filter((t) => t.permissionCode !== 1001 && t.btnPostion.includes("header")).sort((t,
|
|
30
|
+
h.value = (s || []).filter((t) => t.permissionCode !== 1001 && t.btnPostion.includes("header")).sort((t, a) => t.sort - a.sort).map((t) => (t.btnAlias && (t.btnName = t.btnAlias), t));
|
|
31
31
|
};
|
|
32
32
|
q(
|
|
33
33
|
() => T.data,
|
|
@@ -40,11 +40,11 @@ const G = { class: "header-operate-container" }, J = {
|
|
|
40
40
|
N("operate", s, {});
|
|
41
41
|
};
|
|
42
42
|
return (s, t) => {
|
|
43
|
-
const
|
|
44
|
-
return
|
|
45
|
-
(
|
|
46
|
-
I(e) ? (
|
|
47
|
-
e.isCustomBtn && e.customType == "component" ? (
|
|
43
|
+
const a = y("a-svg-icon"), p = y("el-button"), c = O("debounce");
|
|
44
|
+
return r(), u("div", G, [
|
|
45
|
+
(r(!0), u(f, null, E(d(h), (e, o) => (r(), u(f, { key: o }, [
|
|
46
|
+
I(e) ? (r(), u(f, { key: 0 }, [
|
|
47
|
+
e.isCustomBtn && e.customType == "component" ? (r(), i(H(e[e.customComponentName]), {
|
|
48
48
|
key: 0,
|
|
49
49
|
class: "custom-btn",
|
|
50
50
|
ref_for: !0,
|
|
@@ -53,13 +53,13 @@ const G = { class: "header-operate-container" }, J = {
|
|
|
53
53
|
onRefresh: t[0] || (t[0] = (n) => d(S)())
|
|
54
54
|
}, {
|
|
55
55
|
default: _(() => [
|
|
56
|
-
C((
|
|
56
|
+
C((r(), i(p, {
|
|
57
57
|
class: "el-btn",
|
|
58
58
|
type: e.btnColor,
|
|
59
59
|
onClick: (n) => g(e)
|
|
60
60
|
}, {
|
|
61
61
|
default: _(() => [
|
|
62
|
-
e.btnIcon ? (
|
|
62
|
+
e.btnIcon ? (r(), i(a, {
|
|
63
63
|
key: 0,
|
|
64
64
|
class: "mr4",
|
|
65
65
|
name: e.btnIcon,
|
|
@@ -75,7 +75,7 @@ const G = { class: "header-operate-container" }, J = {
|
|
|
75
75
|
])
|
|
76
76
|
]),
|
|
77
77
|
_: 2
|
|
78
|
-
}, 1064, ["buttonData"])) : C((
|
|
78
|
+
}, 1064, ["buttonData"])) : C((r(), i(p, {
|
|
79
79
|
key: 1,
|
|
80
80
|
class: "el-btn",
|
|
81
81
|
type: e.btnColor,
|
|
@@ -83,7 +83,7 @@ const G = { class: "header-operate-container" }, J = {
|
|
|
83
83
|
onClick: (n) => g(e)
|
|
84
84
|
}, {
|
|
85
85
|
default: _(() => [
|
|
86
|
-
e.btnIcon ? (
|
|
86
|
+
e.btnIcon ? (r(), i(a, {
|
|
87
87
|
key: 0,
|
|
88
88
|
class: "mr4",
|
|
89
89
|
name: e.btnIcon,
|
|
@@ -102,7 +102,7 @@ const G = { class: "header-operate-container" }, J = {
|
|
|
102
102
|
]);
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
-
}, Z = /* @__PURE__ */ M(J, [["__scopeId", "data-v-
|
|
105
|
+
}, Z = /* @__PURE__ */ M(J, [["__scopeId", "data-v-66a50743"]]);
|
|
106
106
|
export {
|
|
107
107
|
Z as default
|
|
108
108
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as d, watch as h, resolveComponent as m, openBlock as r, createElementBlock as _, createVNode as v, unref as u, isRef as w, withCtx as f, createElementVNode as g, createBlock as C, createCommentVNode as N, createTextVNode as $, Fragment as B, renderList as E, normalizeClass as L } from "vue";
|
|
2
|
-
import { _ as P } from "./index-
|
|
2
|
+
import { _ as P } from "./index-1a957d2f.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "js-base64";
|
|
5
5
|
import "element-plus";
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
import { defineAsyncComponent as re, inject as C, ref as v, watch as ne, resolveComponent as c, resolveDirective as se, unref as t, openBlock as n, createElementBlock as V, createVNode as ue, normalizeStyle as de, withCtx as q, Fragment as k, renderList as F, createBlock as d, mergeProps as _, withKeys as Y, withModifiers as I, createCommentVNode as h, resolveDynamicComponent as pe, createElementVNode as ie, toDisplayString as S, createTextVNode as L, withDirectives as ce } from "vue";
|
|
2
|
+
import { _ as fe, u as ye, P as me, a as be, b as Ve } from "./index-1a957d2f.js";
|
|
3
|
+
import "vue-router";
|
|
4
|
+
import "js-base64";
|
|
5
|
+
import "element-plus";
|
|
6
|
+
import "monaco-editor";
|
|
7
|
+
const _e = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "search-module-container"
|
|
10
|
+
}, Ce = { class: "no-config-field" }, he = {
|
|
11
|
+
__name: "index",
|
|
12
|
+
props: {
|
|
13
|
+
data: { type: Object, default: () => ({}) }
|
|
14
|
+
},
|
|
15
|
+
emits: ["reset", "search"],
|
|
16
|
+
setup(B, { emit: H }) {
|
|
17
|
+
const K = re(() => import("./index-1a957d2f.js").then((r) => r.t)), { t: p } = ye(), W = C("request"), j = C("globalProps"), G = C("loadComponents"), f = C("getFieldUiProps"), M = C("formatDataType"), O = C("disposeDate"), J = C("getDefaultQueryValues"), z = H, y = B, X = v({});
|
|
18
|
+
let m = v([]), A = v([]), T = v(!0);
|
|
19
|
+
const Z = (r) => y.data.tableConfig.isExpandQuery && T.value ? y.data.tableConfig.tableQueryRowWidth > r + 1 : !0, ee = async (r) => {
|
|
20
|
+
m.value = await Promise.all(
|
|
21
|
+
r.filter((l) => l.useScenes.includes("tableSearch")).map(async (l) => {
|
|
22
|
+
l.tableQueryDefaultValue && (["date", "dateRange"].includes(l.fieldType) ? l.queryValue = O(l) : l.queryValue = l.tableQueryDefaultValue ? l.tableQueryDefaultValue : void 0), j.defaultParams.some((o) => {
|
|
23
|
+
o.field == l.fieldKey && (l.queryValue = o.value);
|
|
24
|
+
});
|
|
25
|
+
const s = (l.formCustomComponentes ?? []).find((o) => o.permissionCode === "tableSearch");
|
|
26
|
+
if (l.isQueryFieldCustom = !1, s && s.isFieldCustom) {
|
|
27
|
+
const { isFieldCustom: o, customComponentName: P, customComponentUrl: Q } = s;
|
|
28
|
+
if (l.isQueryFieldCustom = !0, o && !l.customQueryComponent) {
|
|
29
|
+
const N = await G(Q, P);
|
|
30
|
+
l.customQueryComponent = N;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return l;
|
|
34
|
+
})
|
|
35
|
+
);
|
|
36
|
+
}, le = (r) => {
|
|
37
|
+
const l = (r || []).filter((s) => s.permissionCode === 1001).map((s) => ({ ...s, loading: !1 }));
|
|
38
|
+
A.value = [...l, { btnName: p("act.reset"), permissionCode: "9999", btnColor: "info", btnIcon: "btn-reset", loading: !1 }];
|
|
39
|
+
}, ae = async ({ node: r, resolve: l }, s) => {
|
|
40
|
+
const o = f(s), { label: P, value: Q, children: N, isLeaf: U } = { ...Ve, ...o.treeProps || {} };
|
|
41
|
+
if (r[U])
|
|
42
|
+
return l([]);
|
|
43
|
+
const D = s.postRequestParams.filter((u) => u.submitType === "default").reduce((u, g) => (u[g.submitName] = M(g.paramsType, g.submitValue), u), {}), $ = s.postRequestParams.filter((u) => u.submitType === "dynamic").map((u) => ({
|
|
44
|
+
field: u.submitName,
|
|
45
|
+
operate: u.submitMatchType,
|
|
46
|
+
value: o.loadCode ? r == null ? void 0 : r.data.value : M(u.paramsType, u.submitValue)
|
|
47
|
+
}));
|
|
48
|
+
let b = {};
|
|
49
|
+
Object.keys(D).length && (b = { ...b, ...D }), $.length && (b.dynamicFilters = $), o.loadCode && Reflect.has(b, o.loadCode) && (b[o.loadCode] = r == null ? void 0 : r.data.value);
|
|
50
|
+
const { data: R } = await W({
|
|
51
|
+
url: s.fieldRequestUrl,
|
|
52
|
+
method: s.fieldRequestType || "GET",
|
|
53
|
+
data: b
|
|
54
|
+
}), x = (R || []).map((u) => ({ label: u[P], value: u[Q], children: [], isLeaf: u[U] }));
|
|
55
|
+
l(x);
|
|
56
|
+
};
|
|
57
|
+
ne(
|
|
58
|
+
() => y.data,
|
|
59
|
+
(r, l) => {
|
|
60
|
+
ee(r.fields), le(r.buttons);
|
|
61
|
+
},
|
|
62
|
+
{ immediate: !0, deep: !0 }
|
|
63
|
+
);
|
|
64
|
+
const i = (r) => {
|
|
65
|
+
switch (r.loading = !0, r.permissionCode) {
|
|
66
|
+
case "9999":
|
|
67
|
+
m.value.forEach((o) => {
|
|
68
|
+
o.tableQueryDefaultValue ? ["date", "dateRange"].includes(o.fieldType) ? o.queryValue = O(o) : o.queryValue = o.tableQueryDefaultValue ? o.tableQueryDefaultValue : void 0 : o.fieldType.includes("&") ? o.queryValue = [] : o.queryValue = void 0;
|
|
69
|
+
});
|
|
70
|
+
const l = J();
|
|
71
|
+
z("reset", l, () => {
|
|
72
|
+
r.loading = !1;
|
|
73
|
+
});
|
|
74
|
+
break;
|
|
75
|
+
default:
|
|
76
|
+
const s = m.value.filter((o) => Array.isArray(o.queryValue) ? o.queryValue.length : !!o.queryValue);
|
|
77
|
+
z("search", s, () => {
|
|
78
|
+
r.loading = !1;
|
|
79
|
+
});
|
|
80
|
+
break;
|
|
81
|
+
}
|
|
82
|
+
}, te = () => {
|
|
83
|
+
T.value = !T.value;
|
|
84
|
+
}, oe = () => {
|
|
85
|
+
i({ permissionCode: 1001 });
|
|
86
|
+
};
|
|
87
|
+
return (r, l) => {
|
|
88
|
+
var g;
|
|
89
|
+
const s = c("el-input"), o = c("el-option"), P = c("el-select"), Q = c("el-select-v2"), N = c("el-cascader"), U = c("el-tree-select"), D = c("el-date-picker"), $ = c("el-form-item"), b = c("a-svg-icon"), R = c("el-button"), x = c("el-form"), u = se("debounce");
|
|
90
|
+
return t(m) && t(m).length ? (n(), V("div", _e, [
|
|
91
|
+
ue(x, {
|
|
92
|
+
style: de({ "--table-query-row": y.data.tableConfig.tableQueryRowWidth }),
|
|
93
|
+
class: "form-content",
|
|
94
|
+
ref: "elForm",
|
|
95
|
+
"label-suffix": ":",
|
|
96
|
+
"label-position": "right"
|
|
97
|
+
}, {
|
|
98
|
+
default: q(() => [
|
|
99
|
+
(n(!0), V(k, null, F(t(m), (e, w) => (n(), V(k, { key: w }, [
|
|
100
|
+
Z(w) ? (n(), V(k, { key: 0 }, [
|
|
101
|
+
e.isQueryFieldCustom ? (n(), V(k, { key: 1 }, [
|
|
102
|
+
e.customQueryComponent ? (n(), d(pe(e.customQueryComponent), {
|
|
103
|
+
key: 0,
|
|
104
|
+
class: "custom-btn",
|
|
105
|
+
ref_for: !0,
|
|
106
|
+
ref: (a) => X.value.customQueryComponent = a,
|
|
107
|
+
queryItem: e,
|
|
108
|
+
data: y.data,
|
|
109
|
+
onRefresh: (a) => i(e)
|
|
110
|
+
}, null, 40, ["queryItem", "data", "onRefresh"])) : (n(), V("div", {
|
|
111
|
+
class: "no-config",
|
|
112
|
+
key: w
|
|
113
|
+
}, [
|
|
114
|
+
ie("span", Ce, "【" + S(e.fieldName) + "】", 1),
|
|
115
|
+
L(S(t(p)("act.fieldCustom")), 1)
|
|
116
|
+
]))
|
|
117
|
+
], 64)) : (n(), d($, {
|
|
118
|
+
key: 0,
|
|
119
|
+
class: "search-form-item",
|
|
120
|
+
"label-width": y.data.tableConfig.tableQueryLabelWidth,
|
|
121
|
+
label: e.fieldName
|
|
122
|
+
}, {
|
|
123
|
+
default: q(() => [
|
|
124
|
+
e.fieldType === "input" || e.fieldType === "editor" ? (n(), d(s, _({
|
|
125
|
+
key: 0,
|
|
126
|
+
modelValue: e.queryValue,
|
|
127
|
+
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
128
|
+
placeholder: `${t(p)("act.inputPlaceholder")}${e.fieldName}`,
|
|
129
|
+
clearable: "",
|
|
130
|
+
ref_for: !0
|
|
131
|
+
}, t(f)(e), {
|
|
132
|
+
onKeyup: l[0] || (l[0] = Y(I((a) => i({ permissionCode: 1001 }), ["prevent"]), ["enter", "native"])),
|
|
133
|
+
onClear: oe
|
|
134
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder"])) : h("", !0),
|
|
135
|
+
e.fieldType === "inputNumber" ? (n(), d(t(K), _({
|
|
136
|
+
key: 1,
|
|
137
|
+
modelValue: e.queryValue,
|
|
138
|
+
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
139
|
+
placeholder: `${t(p)("act.inputPlaceholder")}${e.fieldName}`,
|
|
140
|
+
clearable: "",
|
|
141
|
+
onKeyup: l[1] || (l[1] = Y(I((a) => i({ permissionCode: 1001 }), ["prevent"]), ["enter", "native"])),
|
|
142
|
+
ref_for: !0
|
|
143
|
+
}, t(f)(e)), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder"])) : ["select", "switch", "multipleSelect"].includes(e.fieldType) ? (n(), d(P, _({
|
|
144
|
+
key: 2,
|
|
145
|
+
modelValue: e.queryValue,
|
|
146
|
+
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
147
|
+
placeholder: `${t(p)("act.selectPlaceholder")}${e.fieldName}`,
|
|
148
|
+
clearable: "",
|
|
149
|
+
filterable: "",
|
|
150
|
+
ref_for: !0
|
|
151
|
+
}, t(f)(e), {
|
|
152
|
+
multiple: e.fieldType === "multipleSelect",
|
|
153
|
+
"collapse-tags": e.fieldType === "multipleSelect",
|
|
154
|
+
"collapse-tags-tooltip": e.fieldType === "multipleSelect",
|
|
155
|
+
onChange: l[2] || (l[2] = (a) => i({ permissionCode: 1001 }))
|
|
156
|
+
}), {
|
|
157
|
+
default: q(() => [
|
|
158
|
+
(n(!0), V(k, null, F(e.dataList, (a, E) => (n(), d(o, {
|
|
159
|
+
key: E,
|
|
160
|
+
label: a.key,
|
|
161
|
+
value: a.value
|
|
162
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
163
|
+
]),
|
|
164
|
+
_: 2
|
|
165
|
+
}, 1040, ["modelValue", "onUpdate:modelValue", "placeholder", "multiple", "collapse-tags", "collapse-tags-tooltip"])) : ["virtualizedSelect", "virtualizedMultipleSelect"].includes(e.fieldType) ? (n(), d(Q, _({
|
|
166
|
+
key: 3,
|
|
167
|
+
modelValue: e.queryValue,
|
|
168
|
+
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
169
|
+
options: e.dataList,
|
|
170
|
+
props: { ...t(me) },
|
|
171
|
+
placeholder: `${t(p)("act.selectPlaceholder")}${e.fieldName}`,
|
|
172
|
+
clearable: "",
|
|
173
|
+
filterable: "",
|
|
174
|
+
ref_for: !0
|
|
175
|
+
}, t(f)(e), {
|
|
176
|
+
"collapse-tags": e.fieldType === "virtualizedMultipleSelect",
|
|
177
|
+
"collapse-tags-tooltip": e.fieldType === "virtualizedMultipleSelect",
|
|
178
|
+
multiple: e.fieldType === "virtualizedMultipleSelect",
|
|
179
|
+
onChange: l[3] || (l[3] = (a) => i({ permissionCode: 1001 }))
|
|
180
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "collapse-tags", "collapse-tags-tooltip", "multiple"])) : e.fieldType === "provinceCascade" ? (n(), d(N, _({
|
|
181
|
+
key: 4,
|
|
182
|
+
modelValue: e.queryValue,
|
|
183
|
+
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
184
|
+
options: e.dataList,
|
|
185
|
+
props: { ...t(be) },
|
|
186
|
+
clearable: "",
|
|
187
|
+
filterable: "",
|
|
188
|
+
placeholder: `${t(p)("act.selectPlaceholder")}${e.fieldName}`,
|
|
189
|
+
ref_for: !0
|
|
190
|
+
}, t(f)(e), {
|
|
191
|
+
onChange: l[4] || (l[4] = (a) => i({ permissionCode: 1001 }))
|
|
192
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder"])) : e.fieldType === "treeSelect" ? (n(), d(U, _({
|
|
193
|
+
key: 5,
|
|
194
|
+
modelValue: e.queryValue,
|
|
195
|
+
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
196
|
+
placeholder: `请选择${e.fieldName}`,
|
|
197
|
+
props: { isLeaf: "isLeaf" },
|
|
198
|
+
"render-after-expand": !1,
|
|
199
|
+
"collapse-tags": "",
|
|
200
|
+
"collapse-tags-tooltip": "",
|
|
201
|
+
multiple: "",
|
|
202
|
+
"show-checkbox": "",
|
|
203
|
+
clearable: "",
|
|
204
|
+
filterable: "",
|
|
205
|
+
lazy: "",
|
|
206
|
+
load: (a, E) => ae({ node: a, resolve: E }, e),
|
|
207
|
+
ref_for: !0
|
|
208
|
+
}, t(f)(e), {
|
|
209
|
+
onChange: l[5] || (l[5] = (a) => i({ permissionCode: 1001 }))
|
|
210
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "load"])) : e.fieldType === "date" ? (n(), d(D, _({
|
|
211
|
+
key: 6,
|
|
212
|
+
modelValue: e.queryValue,
|
|
213
|
+
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
214
|
+
type: "date",
|
|
215
|
+
placeholder: `${t(p)("act.selectPlaceholder")}${t(p)("act.time")}`,
|
|
216
|
+
"value-format": "YYYY-MM-DD HH:mm:ss",
|
|
217
|
+
clearable: "",
|
|
218
|
+
ref_for: !0
|
|
219
|
+
}, t(f)(e), {
|
|
220
|
+
onChange: l[6] || (l[6] = (a) => i({ permissionCode: 1001 }))
|
|
221
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder"])) : e.fieldType === "dateRange" ? (n(), d(D, _({
|
|
222
|
+
key: 7,
|
|
223
|
+
modelValue: e.queryValue,
|
|
224
|
+
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
225
|
+
type: "daterange",
|
|
226
|
+
"start-placeholder": t(p)("act.startTime"),
|
|
227
|
+
"end-placeholder": t(p)("act.endTime"),
|
|
228
|
+
"value-format": "YYYY-MM-DD HH:mm:ss",
|
|
229
|
+
clearable: "",
|
|
230
|
+
ref_for: !0
|
|
231
|
+
}, t(f)(e), {
|
|
232
|
+
onChange: l[7] || (l[7] = (a) => i({ permissionCode: 1001 }))
|
|
233
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder"])) : h("", !0)
|
|
234
|
+
]),
|
|
235
|
+
_: 2
|
|
236
|
+
}, 1032, ["label-width", "label"]))
|
|
237
|
+
], 64)) : h("", !0)
|
|
238
|
+
], 64))), 128)),
|
|
239
|
+
t(m).length ? (n(), d($, {
|
|
240
|
+
key: 0,
|
|
241
|
+
class: "search-form-btn",
|
|
242
|
+
"label-width": "0"
|
|
243
|
+
}, {
|
|
244
|
+
default: q(() => [
|
|
245
|
+
(n(!0), V(k, null, F(t(A), (e, w) => ce((n(), d(R, {
|
|
246
|
+
key: w,
|
|
247
|
+
type: e.btnColor,
|
|
248
|
+
loading: e.loading,
|
|
249
|
+
onClick: (a) => i(e)
|
|
250
|
+
}, {
|
|
251
|
+
default: q(() => [
|
|
252
|
+
e.btnIcon ? (n(), d(b, {
|
|
253
|
+
key: 0,
|
|
254
|
+
class: "mr6",
|
|
255
|
+
name: e.btnIcon,
|
|
256
|
+
width: "12",
|
|
257
|
+
height: "12",
|
|
258
|
+
color: "#fff"
|
|
259
|
+
}, null, 8, ["name"])) : h("", !0),
|
|
260
|
+
L(" " + S(e.btnName), 1)
|
|
261
|
+
]),
|
|
262
|
+
_: 2
|
|
263
|
+
}, 1032, ["type", "loading", "onClick"])), [
|
|
264
|
+
[u]
|
|
265
|
+
])), 128))
|
|
266
|
+
]),
|
|
267
|
+
_: 1
|
|
268
|
+
})) : h("", !0)
|
|
269
|
+
]),
|
|
270
|
+
_: 1
|
|
271
|
+
}, 8, ["style"]),
|
|
272
|
+
y.data.tableConfig.isExpandQuery && ((g = t(m)) == null ? void 0 : g.length) > y.data.tableConfig.tableQueryRowWidth ? (n(), d(R, {
|
|
273
|
+
key: 0,
|
|
274
|
+
class: "expand",
|
|
275
|
+
text: "",
|
|
276
|
+
size: "small",
|
|
277
|
+
icon: t(T) ? "ArrowDown" : "ArrowUp",
|
|
278
|
+
onClick: te
|
|
279
|
+
}, {
|
|
280
|
+
default: q(() => [
|
|
281
|
+
L(S(t(T) ? t(p)("act.expand") : t(p)("act.retract")), 1)
|
|
282
|
+
]),
|
|
283
|
+
_: 1
|
|
284
|
+
}, 8, ["icon"])) : h("", !0)
|
|
285
|
+
])) : h("", !0);
|
|
286
|
+
};
|
|
287
|
+
}
|
|
288
|
+
}, De = /* @__PURE__ */ fe(he, [["__scopeId", "data-v-ed965662"]]);
|
|
289
|
+
export {
|
|
290
|
+
De as default
|
|
291
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { reactive as m, watch as b, resolveComponent as s, openBlock as v, createBlock as g, withCtx as o, createElementVNode as i, createVNode as x, createTextVNode as y, toDisplayString as h, unref as C } from "vue";
|
|
2
|
-
import { _ as k, u as w } from "./index-
|
|
2
|
+
import { _ as k, u as w } from "./index-1a957d2f.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "js-base64";
|
|
5
5
|
import "element-plus";
|
package/package.json
CHANGED
package/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.form-card .el-card__header{font-size:16px;font-weight:700}.rotate180{transform:rotate(180deg)}.cp{cursor:pointer}.cp:hover{opacity:.8}.ml12{margin-left:12px}.mt12{margin-top:12px}.mt16{margin-top:16px}.mt24{margin-top:24px}.ml6{margin-left:6px!important}.ml4{margin-left:4px!important}.mr6{margin-right:6px}.mr2{margin-right:2px}.mr4{margin-right:4px}.el-table{font-size:14px}.el-select,.el-cascader,.el-form--inline .el-form-item{display:block;width:100%}.el-card{height:100%;--el-card-padding: 12px}.el-card__body{height:100%;box-sizing:border-box}.el-date-editor{--el-date-editor-width: 100%}.month-range .el-date-range-picker{width:320px}.month-range .el-date-range-picker .el-picker-panel__body{min-width:320px}.month-range .is-left{width:100%}.month-range .el-date-range-picker__header,.month-range .is-right{display:none}.a-loading[data-v-048c6c03]{display:flex;align-items:center;justify-content:center;width:100%;height:50px;font-size:32px}.a-loading .dot[data-v-048c6c03]{animation:antRotate-048c6c03 1.2s infinite linear;transform:rotate(45deg);position:relative;display:inline-block;width:28px;height:28px;box-sizing:border-box}.a-loading .dot i[data-v-048c6c03]{width:12px;height:12px;position:absolute;display:block;background-color:#1890ff;border-radius:100%;transform:scale(.75);transform-origin:50% 50%;opacity:.3;animation:antSpinMove-048c6c03 1s infinite linear alternate}.a-loading .dot i[data-v-048c6c03]:nth-child(1){top:0;left:0}.a-loading .dot i[data-v-048c6c03]:nth-child(2){top:0;right:0;-webkit-animation-delay:.4s;animation-delay:.4s}.a-loading .dot i[data-v-048c6c03]:nth-child(3){right:0;bottom:0;-webkit-animation-delay:.8s;animation-delay:.8s}.a-loading .dot i[data-v-048c6c03]:nth-child(4){bottom:0;left:0;-webkit-animation-delay:1.2s;animation-delay:1.2s}@keyframes antRotate-048c6c03{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@-webkit-keyframes antRotate-048c6c03{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@keyframes antSpinMove-048c6c03{to{opacity:1}}@-webkit-keyframes antSpinMove-048c6c03{to{opacity:1}}[data-v-
|
|
1
|
+
@charset "UTF-8";.form-card .el-card__header{font-size:16px;font-weight:700}.rotate180{transform:rotate(180deg)}.cp{cursor:pointer}.cp:hover{opacity:.8}.ml12{margin-left:12px}.mt12{margin-top:12px}.mt16{margin-top:16px}.mt24{margin-top:24px}.ml6{margin-left:6px!important}.ml4{margin-left:4px!important}.mr6{margin-right:6px}.mr2{margin-right:2px}.mr4{margin-right:4px}.el-table{font-size:14px}.el-select,.el-cascader,.el-form--inline .el-form-item{display:block;width:100%}.el-card{height:100%;--el-card-padding: 12px}.el-card__body{height:100%;box-sizing:border-box}.el-date-editor{--el-date-editor-width: 100%}.month-range .el-date-range-picker{width:320px}.month-range .el-date-range-picker .el-picker-panel__body{min-width:320px}.month-range .is-left{width:100%}.month-range .el-date-range-picker__header,.month-range .is-right{display:none}.table-link{cursor:pointer;color:#409eff;text-decoration:underline}.a-loading[data-v-048c6c03]{display:flex;align-items:center;justify-content:center;width:100%;height:50px;font-size:32px}.a-loading .dot[data-v-048c6c03]{animation:antRotate-048c6c03 1.2s infinite linear;transform:rotate(45deg);position:relative;display:inline-block;width:28px;height:28px;box-sizing:border-box}.a-loading .dot i[data-v-048c6c03]{width:12px;height:12px;position:absolute;display:block;background-color:#1890ff;border-radius:100%;transform:scale(.75);transform-origin:50% 50%;opacity:.3;animation:antSpinMove-048c6c03 1s infinite linear alternate}.a-loading .dot i[data-v-048c6c03]:nth-child(1){top:0;left:0}.a-loading .dot i[data-v-048c6c03]:nth-child(2){top:0;right:0;-webkit-animation-delay:.4s;animation-delay:.4s}.a-loading .dot i[data-v-048c6c03]:nth-child(3){right:0;bottom:0;-webkit-animation-delay:.8s;animation-delay:.8s}.a-loading .dot i[data-v-048c6c03]:nth-child(4){bottom:0;left:0;-webkit-animation-delay:1.2s;animation-delay:1.2s}@keyframes antRotate-048c6c03{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@-webkit-keyframes antRotate-048c6c03{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@keyframes antSpinMove-048c6c03{to{opacity:1}}@-webkit-keyframes antSpinMove-048c6c03{to{opacity:1}}[data-v-e3f3212f] .el-empty__image{width:100%}.file-image[data-v-e3f3212f]{display:block;width:32px;height:32px;margin:0 auto;border-radius:4px;line-height:32px!important}.no-image[data-v-e3f3212f]{width:100%;height:100%;font-size:12px;background-color:#f5f7fa}.act-module[data-v-e3f3212f]{padding:0;margin:0;border:none}.add-icon-btn[data-v-ada54450]{cursor:pointer;width:24px;height:24px;margin-left:6px}.table-post-params[data-v-ada54450]{position:relative;margin-bottom:12px}.table-post-params .submit-operate[data-v-ada54450]{position:absolute;top:-20px;right:-10px;display:flex;align-items:center}.table-post-params .submit-operate .match-opreate[data-v-ada54450]{cursor:pointer;width:12px;height:12px}.card-header[data-v-399814c2]{display:flex;align-items:center}.card-header -operate[data-v-399814c2]{margin-left:auto}.form-list[data-v-399814c2]{margin-bottom:24px;border-bottom:1px solid var(--el-color-primary)}.form-list[data-v-399814c2]:last-child{border:none}.config-list-operate[data-v-399814c2]{display:flex;align-items:center;justify-content:flex-end}.card-header[data-v-75e750d2]{display:flex;align-items:center}.card-header-operate[data-v-75e750d2]{margin-left:auto}.form-list[data-v-75e750d2]{margin-bottom:24px;border-bottom:1px solid var(--el-color-primary)}.form-list[data-v-75e750d2]:last-child{border:none}.config-list-operate[data-v-75e750d2]{display:flex;align-items:center;justify-content:flex-end}[data-v-75e750d2] .el-badge__content.is-fixed{transform:translateY(-50%) translate(100%) scale(.7)}.submit-operate[data-v-c63f456e]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-c63f456e]{cursor:pointer;width:20px;height:20px}.page-container[data-v-4ec549a6]{position:relative}.page-container .header-operate[data-v-4ec549a6]{position:sticky;top:0;z-index:999}.page-container .submit-box[data-v-4ec549a6]{display:flex;align-items:center;justify-content:space-between}.page-container .submit-box-r[data-v-4ec549a6]{display:flex;align-items:center}.page-container .submit-box-r .menu-select[data-v-4ec549a6]{width:360px;margin:0 24px}.act-table .table-pagination[data-v-651542d6]{padding:12px 4px;justify-content:flex-end}.tox-tinymce-aux{z-index:99999!important}.tinymce.ui.FloatPanel{z-index:99}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks):before{color:#a8abb2}.upload-container[data-v-f839bee6]{width:100%}.upload-container[data-v-f839bee6] .el-upload-list--picture-card{display:flex;flex:1}.upload-container[data-v-f839bee6] .el-upload.is-drag{width:100%;height:100%}.upload-container .tip-text[data-v-f839bee6]{margin:0;padding:0;font-size:12px;color:#999}.upload-container .file-list[data-v-f839bee6]{display:flex;align-items:center;justify-content:space-between;margin:6px 0;padding:6px 12px;font-size:14px;border-radius:4px;border:1px solid #dcdfe6}.upload-container .file-list[data-v-f839bee6]:hover{cursor:pointer;opacity:.8}.upload-container .file-list:hover .el-file-name[data-v-f839bee6]{text-decoration:underline}.upload-container .file-list-l[data-v-f839bee6]{display:flex;align-items:center;flex:1;width:500px}.upload-container .file-list-image[data-v-f839bee6]{flex-shrink:0;width:40px;height:40px;border-radius:4px}.upload-container .file-list-icon[data-v-f839bee6]{flex-shrink:0;width:40px;height:40px}.upload-container .file-list .el-file-name[data-v-f839bee6]{flex:1;padding:0 12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.upload-container .file-list .el-file-operate[data-v-f839bee6]{display:flex;justify-content:flex-end;flex-shrink:0;min-width:82px;margin-left:auto}.upload-container .file-list .el-file-operate>i[data-v-f839bee6]{cursor:pointer;margin-left:12px}.upload-container .file-list .el-file-operate>i[data-v-f839bee6]:hover{opacity:.8}.search-module-container[data-v-ed965662] .el-form-item{margin-bottom:8px}.search-module-container[data-v-ed965662] .el-select__selection{flex-wrap:nowrap}.search-module-container .form-content[data-v-ed965662]{display:grid;grid-template-columns:repeat(var(--table-query-row),1fr);gap:6px;padding:6px 6px 0}.search-module-container .form-content .search-form-btn[data-v-ed965662]{justify-self:end;align-self:start;grid-column-start:var(--table-query-row);grid-column-end:var(--table-query-row)}.search-module-container .expand[data-v-ed965662]{display:flex;margin:0 auto;color:#a4a2a2}.header-operate-container[data-v-66a50743]{display:flex;align-items:center;justify-content:flex-end}.header-operate-container .el-btn[data-v-66a50743]{margin:2px}.no-config[data-v-498aa674]{line-height:32px;font-weight:700}.no-config-field[data-v-498aa674]{color:red}.card-header[data-v-be1c5be6]{display:flex;align-items:center}.card-header-operate[data-v-be1c5be6]{margin-left:auto}.add-icon-btn[data-v-75eab9b4]{cursor:pointer;width:24px;height:24px;margin-left:6px}.condition-box[data-v-75eab9b4]{display:flex;justify-content:center}.condition-box[data-v-75eab9b4] .el-form-item__content{flex:0;min-width:300px}.submit-operate[data-v-75eab9b4]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-75eab9b4]{cursor:pointer;width:20px;height:20px}.add-icon-btn[data-v-3da504a4]{cursor:pointer;width:24px;height:24px;margin-left:6px}.submit-operate[data-v-3da504a4]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-3da504a4]{cursor:pointer;width:20px;height:20px}.select-icon-popover .icon-list{display:grid;grid-template-columns:repeat(8,1fr)}.select-icon-popover .icon-list .icon-item{display:flex;align-items:center;justify-content:center;margin:4px 0;border:1px solid transparent}.select-icon-popover .icon-list .icon-item .icon-svg{cursor:pointer}.select-icon-popover .icon-list .icon-item-checked{border:1px solid #000}.select-icon-container .icon-value[data-v-308d02d4]{display:flex;align-items:center}.select-icon-container .icon-value .icon-btn[data-v-308d02d4]{margin-left:12px}
|