act-plus 1.1.8 → 1.1.9
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 +35 -15
- package/lib/{configBtns-473b5113.js → configBtns-a9232bff.js} +2 -2
- package/lib/{configFileds-7436cb88.js → configFileds-7fd1c760.js} +2 -2
- package/lib/{configTable-ca20cd7b.js → configTable-e9e10aff.js} +122 -87
- package/lib/{dialogAddField-05a8f69d.js → dialogAddField-d3fc005c.js} +27 -27
- package/lib/{dialogConfigBtn-2a3f332b.js → dialogConfigBtn-3f0f2a3a.js} +2 -2
- package/lib/index-4476192c.js +285 -0
- package/lib/index-7ef6e17e.js +12797 -0
- package/lib/{index-b2123407.js → index-9e5c202e.js} +1 -1
- package/lib/index-a02a1e59.js +164 -0
- package/lib/{index-75534c81.js → index-b631c218.js} +19 -19
- package/lib/{index-0de0e0e4.js → index-dc6223c1.js} +36 -36
- package/package.json +1 -1
- package/style.css +1 -1
- package/lib/index-02960f7a.js +0 -9252
- package/lib/index-4c5d5eec.js +0 -285
- package/lib/index-a2b291f8.js +0 -163
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as h, watch as I, resolveComponent as _, openBlock as a, createElementBlock as d, createVNode as u, unref as p, isRef as b, withCtx as m, createElementVNode as g, createBlock as w, createCommentVNode as C, createTextVNode as N, Fragment as B, renderList as E, normalizeClass as S } from "vue";
|
|
2
|
-
import { _ as z } from "./index-
|
|
2
|
+
import { _ as z } from "./index-7ef6e17e.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
const A = { class: "select-icon-container" }, F = { class: "icon-list" }, L = ["onClick"], P = {
|
|
5
5
|
class: "icon-value",
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { ref as g, watch as M, resolveComponent as s, openBlock as a, createElementBlock as f, unref as t, createBlock as n, normalizeStyle as B, withCtx as p, Fragment as y, renderList as m, createCommentVNode as _, createTextVNode as E, toDisplayString as F } from "vue";
|
|
2
|
+
import { _ as L, u as O, P as R, T as $ } from "./index-7ef6e17e.js";
|
|
3
|
+
import "vue-router";
|
|
4
|
+
const H = { class: "search-module-container" }, Q = {
|
|
5
|
+
__name: "index",
|
|
6
|
+
props: {
|
|
7
|
+
data: { type: Object, default: () => ({}) }
|
|
8
|
+
},
|
|
9
|
+
emits: ["reset", "search"],
|
|
10
|
+
setup(w, { emit: x }) {
|
|
11
|
+
const { t: r } = O(), v = x, V = w;
|
|
12
|
+
let c = g([]), k = g([]);
|
|
13
|
+
const N = (d) => {
|
|
14
|
+
c.value = (d || []).filter((o) => o.useScenes.includes("tableSearch"));
|
|
15
|
+
}, P = (d) => {
|
|
16
|
+
const o = (d || []).filter((u) => u.permissionCode === 1001);
|
|
17
|
+
k.value = [...o, { btnName: r("act.reset"), permissionCode: "9999", btnColor: "info", btnIcon: "btn-reset" }];
|
|
18
|
+
};
|
|
19
|
+
M(
|
|
20
|
+
() => V.data,
|
|
21
|
+
(d, o) => {
|
|
22
|
+
N(d.fields), P(d.buttons);
|
|
23
|
+
},
|
|
24
|
+
{ immediate: !0 }
|
|
25
|
+
);
|
|
26
|
+
const i = (d) => {
|
|
27
|
+
switch (d.permissionCode) {
|
|
28
|
+
case "9999":
|
|
29
|
+
c.value.forEach((u) => {
|
|
30
|
+
u.fieldType.includes("&") ? u.queryValue = [] : u.queryValue = void 0;
|
|
31
|
+
}), v("reset", []);
|
|
32
|
+
break;
|
|
33
|
+
default:
|
|
34
|
+
const o = c.value.filter((u) => !!u.queryValue);
|
|
35
|
+
v("search", o);
|
|
36
|
+
break;
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
return (d, o) => {
|
|
40
|
+
const u = s("el-input"), C = s("el-option"), T = s("el-select"), Y = s("el-cascader"), q = s("el-date-picker"), U = s("el-form-item"), I = s("a-svg-icon"), S = s("el-button"), D = s("el-form");
|
|
41
|
+
return a(), f("div", H, [
|
|
42
|
+
t(c) && t(c).length ? (a(), n(D, {
|
|
43
|
+
key: 0,
|
|
44
|
+
style: B({ "--table-query-row-width": V.data.tableConfig.tableQueryRowWidth }),
|
|
45
|
+
class: "form-content",
|
|
46
|
+
ref: "elForm",
|
|
47
|
+
"label-suffix": ":",
|
|
48
|
+
"label-position": "right"
|
|
49
|
+
}, {
|
|
50
|
+
default: p(() => [
|
|
51
|
+
(a(!0), f(y, null, m(t(c), (e, b) => (a(), n(U, {
|
|
52
|
+
class: "search-form-item",
|
|
53
|
+
"label-width": V.data.tableConfig.tableQueryLabelWidth,
|
|
54
|
+
key: b,
|
|
55
|
+
label: e.fieldName
|
|
56
|
+
}, {
|
|
57
|
+
default: p(() => [
|
|
58
|
+
e.fieldType === "input" ? (a(), n(u, {
|
|
59
|
+
key: 0,
|
|
60
|
+
modelValue: e.queryValue,
|
|
61
|
+
"onUpdate:modelValue": (l) => e.queryValue = l,
|
|
62
|
+
placeholder: `${t(r)("act.inputPlaceholder")}${e.fieldName}`,
|
|
63
|
+
clearable: ""
|
|
64
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])) : e.fieldType === "select" || e.fieldType === "switch" ? (a(), n(T, {
|
|
65
|
+
key: 1,
|
|
66
|
+
modelValue: e.queryValue,
|
|
67
|
+
"onUpdate:modelValue": (l) => e.queryValue = l,
|
|
68
|
+
placeholder: `${t(r)("act.selectPlaceholder")}${e.fieldName}`,
|
|
69
|
+
clearable: "",
|
|
70
|
+
filterable: "",
|
|
71
|
+
onChange: o[0] || (o[0] = (l) => i({ permissionCode: 1001 }))
|
|
72
|
+
}, {
|
|
73
|
+
default: p(() => [
|
|
74
|
+
(a(!0), f(y, null, m(e.dataList, (l, h) => (a(), n(C, {
|
|
75
|
+
key: h,
|
|
76
|
+
label: l.key,
|
|
77
|
+
value: l.value
|
|
78
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
79
|
+
]),
|
|
80
|
+
_: 2
|
|
81
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder"])) : e.fieldType === "multipleSelect" ? (a(), n(T, {
|
|
82
|
+
key: 2,
|
|
83
|
+
modelValue: e.queryValue,
|
|
84
|
+
"onUpdate:modelValue": (l) => e.queryValue = l,
|
|
85
|
+
placeholder: t(r)("act.selectPlaceholder") + e.fieldName,
|
|
86
|
+
clearable: "",
|
|
87
|
+
filterable: "",
|
|
88
|
+
onChange: o[1] || (o[1] = (l) => i({ permissionCode: 1001 }))
|
|
89
|
+
}, {
|
|
90
|
+
default: p(() => [
|
|
91
|
+
(a(!0), f(y, null, m(e.dataList, (l, h) => (a(), n(C, {
|
|
92
|
+
key: h,
|
|
93
|
+
label: l.key,
|
|
94
|
+
value: l.value
|
|
95
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
96
|
+
]),
|
|
97
|
+
_: 2
|
|
98
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder"])) : e.fieldType === "provinceCascade" ? (a(), n(Y, {
|
|
99
|
+
key: 3,
|
|
100
|
+
modelValue: e.queryValue,
|
|
101
|
+
"onUpdate:modelValue": (l) => e.queryValue = l,
|
|
102
|
+
options: e.selectList,
|
|
103
|
+
props: { ...t(R), [e.fieldUiType]: !0 },
|
|
104
|
+
clearable: "",
|
|
105
|
+
filterable: "",
|
|
106
|
+
placeholder: t(r)("act.selectPlaceholder") + e.fieldName
|
|
107
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder"])) : e.fieldType === "date" ? (a(), n(q, {
|
|
108
|
+
key: 4,
|
|
109
|
+
modelValue: e.queryValue,
|
|
110
|
+
"onUpdate:modelValue": (l) => e.queryValue = l,
|
|
111
|
+
type: e.fieldUiType || "date",
|
|
112
|
+
placeholder: `${t(r)("act.selectPlaceholder")}${t(r)("act.time")}`,
|
|
113
|
+
"value-format": t($)[e.fieldUiType] || "YYYY-MM-DD HH:mm:ss",
|
|
114
|
+
onChange: o[2] || (o[2] = (l) => i({ permissionCode: 1001 }))
|
|
115
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "placeholder", "value-format"])) : e.fieldType === "dateRange" ? (a(), n(q, {
|
|
116
|
+
key: 5,
|
|
117
|
+
modelValue: e.queryValue,
|
|
118
|
+
"onUpdate:modelValue": (l) => e.queryValue = l,
|
|
119
|
+
type: e.fieldUiType || "date",
|
|
120
|
+
"start-placeholder": t(r)("act.startTime"),
|
|
121
|
+
"end-placeholder": t(r)("act.endTime"),
|
|
122
|
+
"value-format": t($)[e.fieldUiType] || "YYYY-MM-DD HH:mm:ss",
|
|
123
|
+
onChange: o[3] || (o[3] = (l) => i({ permissionCode: 1001 }))
|
|
124
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "start-placeholder", "end-placeholder", "value-format"])) : _("", !0)
|
|
125
|
+
]),
|
|
126
|
+
_: 2
|
|
127
|
+
}, 1032, ["label-width", "label"]))), 128)),
|
|
128
|
+
t(c).length ? (a(), n(U, {
|
|
129
|
+
key: 0,
|
|
130
|
+
class: "search-form-btn",
|
|
131
|
+
"label-width": "0"
|
|
132
|
+
}, {
|
|
133
|
+
default: p(() => [
|
|
134
|
+
(a(!0), f(y, null, m(t(k), (e, b) => (a(), n(S, {
|
|
135
|
+
key: b,
|
|
136
|
+
type: e.btnColor,
|
|
137
|
+
onClick: (l) => i(e)
|
|
138
|
+
}, {
|
|
139
|
+
default: p(() => [
|
|
140
|
+
e.btnIcon ? (a(), n(I, {
|
|
141
|
+
key: 0,
|
|
142
|
+
class: "mr6",
|
|
143
|
+
name: e.btnIcon,
|
|
144
|
+
width: "12",
|
|
145
|
+
height: "12",
|
|
146
|
+
color: "#fff"
|
|
147
|
+
}, null, 8, ["name"])) : _("", !0),
|
|
148
|
+
E(" " + F(e.btnName), 1)
|
|
149
|
+
]),
|
|
150
|
+
_: 2
|
|
151
|
+
}, 1032, ["type", "onClick"]))), 128))
|
|
152
|
+
]),
|
|
153
|
+
_: 1
|
|
154
|
+
})) : _("", !0)
|
|
155
|
+
]),
|
|
156
|
+
_: 1
|
|
157
|
+
}, 8, ["style"])) : _("", !0)
|
|
158
|
+
]);
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
}, z = /* @__PURE__ */ L(Q, [["__scopeId", "data-v-810f647f"]]);
|
|
162
|
+
export {
|
|
163
|
+
z as default
|
|
164
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as R, inject as l, watch as j, resolveComponent as g, openBlock as s, createElementBlock as m, Fragment as y, renderList as q, unref as f, createBlock as c, resolveDynamicComponent as A, withCtx as _, createVNode as O, createCommentVNode as i, createTextVNode as B, toDisplayString as k } from "vue";
|
|
2
|
-
import { _ as E } from "./index-
|
|
2
|
+
import { _ as E } from "./index-7ef6e17e.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
const H = { class: "header-operate-container" }, M = {
|
|
5
5
|
__name: "index",
|
|
@@ -7,32 +7,32 @@ const H = { class: "header-operate-container" }, M = {
|
|
|
7
7
|
data: { type: Object, default: () => ({}) }
|
|
8
8
|
},
|
|
9
9
|
emits: ["operate"],
|
|
10
|
-
setup(w, { emit:
|
|
11
|
-
const
|
|
10
|
+
setup(w, { emit: N }) {
|
|
11
|
+
const T = N, x = w;
|
|
12
12
|
let b = R([]);
|
|
13
|
-
const V = l("globalProps"), v = l("menuPermissionBtns"), F = l("stringToBoolean"), $ = l("matchCondition"), D = l("getTableData"), S = l("tableBtnRefs"), P = (
|
|
14
|
-
if (!
|
|
13
|
+
const V = l("globalProps"), v = l("menuPermissionBtns"), F = l("stringToBoolean"), $ = l("matchCondition"), D = l("getTableData"), S = l("tableBtnRefs"), P = (n) => {
|
|
14
|
+
if (!n.matchFields.length)
|
|
15
15
|
return !0;
|
|
16
|
-
const
|
|
17
|
-
let e =
|
|
16
|
+
const o = n.matchFields.filter((t) => t.matchType != "default"), a = (t) => V.matchData[t.matchType][t.matchFieldName];
|
|
17
|
+
let e = o.reduce((t, r, p) => {
|
|
18
18
|
const L = a(r);
|
|
19
|
-
return t += $(r.matchCondition, L, r.fieldValue == "" ? null : r.fieldValue == "true" ? F(r.fieldValue) : r.fieldValue), p !==
|
|
19
|
+
return t += $(r.matchCondition, L, r.fieldValue == "" ? null : r.fieldValue == "true" ? F(r.fieldValue) : r.fieldValue), p !== o.length - 1 && (t += r.spliceCondition || "&&"), t;
|
|
20
20
|
}, "").split("||"), d = e.reduce((t, r, p) => (t += `(${r})`, p < e.length - 1 && (t += "||"), t), "");
|
|
21
21
|
return new Function(`return ${d}`)();
|
|
22
|
-
}, h = (
|
|
23
|
-
b.value = (
|
|
22
|
+
}, h = (n) => v.value.some((o) => o.unique == n.permissionCode) && P(n), I = (n) => {
|
|
23
|
+
b.value = (n || []).filter((o) => o.permissionCode !== 1001 && o.btnPostion.includes("header")).sort((o, a) => o.sort - a.sort);
|
|
24
24
|
};
|
|
25
25
|
j(
|
|
26
|
-
() =>
|
|
27
|
-
(
|
|
28
|
-
I(
|
|
26
|
+
() => x.data,
|
|
27
|
+
(n, o) => {
|
|
28
|
+
I(n.buttons);
|
|
29
29
|
},
|
|
30
30
|
{ immediate: !0 }
|
|
31
31
|
);
|
|
32
|
-
const C = (
|
|
33
|
-
|
|
32
|
+
const C = (n) => {
|
|
33
|
+
T("operate", n, {});
|
|
34
34
|
};
|
|
35
|
-
return (
|
|
35
|
+
return (n, o) => {
|
|
36
36
|
const a = g("a-svg-icon"), u = g("el-button");
|
|
37
37
|
return s(), m("div", H, [
|
|
38
38
|
(s(!0), m(y, null, q(f(b), (e, d) => (s(), m(y, { key: d }, [
|
|
@@ -41,7 +41,7 @@ const H = { class: "header-operate-container" }, M = {
|
|
|
41
41
|
ref_for: !0,
|
|
42
42
|
ref: (t) => f(S)[`${e.customComponentName}-${e.permissionCode}`] = t,
|
|
43
43
|
buttonData: e,
|
|
44
|
-
onRefresh:
|
|
44
|
+
onRefresh: o[0] || (o[0] = (t) => f(D)())
|
|
45
45
|
}, {
|
|
46
46
|
default: _(() => [
|
|
47
47
|
O(u, {
|
|
@@ -81,7 +81,7 @@ const H = { class: "header-operate-container" }, M = {
|
|
|
81
81
|
height: "12",
|
|
82
82
|
color: "#fff"
|
|
83
83
|
}, null, 8, ["name"])) : i("", !0),
|
|
84
|
-
B(" " + k(e.opeateLoading ? e.btnName + "
|
|
84
|
+
B(" " + k(e.opeateLoading ? e.btnName + n.t("act.中") + "..." : e.btnName), 1)
|
|
85
85
|
]),
|
|
86
86
|
_: 2
|
|
87
87
|
}, 1032, ["type", "loading", "onClick"])) : i("", !0)
|
|
@@ -89,7 +89,7 @@ const H = { class: "header-operate-container" }, M = {
|
|
|
89
89
|
]);
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
|
-
}, K = /* @__PURE__ */ E(M, [["__scopeId", "data-v-
|
|
92
|
+
}, K = /* @__PURE__ */ E(M, [["__scopeId", "data-v-67a827c3"]]);
|
|
93
93
|
export {
|
|
94
94
|
K as default
|
|
95
95
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { _ as
|
|
1
|
+
import { ref as P, watch as R, resolveComponent as u, resolveDirective as T, openBlock as a, createElementBlock as d, withDirectives as D, createBlock as n, withCtx as c, createTextVNode as K, toDisplayString as O, unref as f, Fragment as s, renderList as j, renderSlot as y, createCommentVNode as A, nextTick as w } from "vue";
|
|
2
|
+
import { _ as E, u as H } from "./index-7ef6e17e.js";
|
|
3
3
|
import "vue-router";
|
|
4
|
-
const
|
|
4
|
+
const U = { class: "act-table" }, V = {
|
|
5
5
|
__name: "index",
|
|
6
6
|
props: {
|
|
7
7
|
loading: { type: Boolean, default: !1 },
|
|
@@ -17,40 +17,40 @@ const D = { class: "act-table" }, E = {
|
|
|
17
17
|
treeProps: { type: Object, default: () => ({ children: "children", hasChildren: "hasChildren" }) }
|
|
18
18
|
},
|
|
19
19
|
emits: ["update:tableQuery", "update:selection", "refresh"],
|
|
20
|
-
setup(g, { expose:
|
|
21
|
-
const i =
|
|
22
|
-
let p =
|
|
23
|
-
const
|
|
24
|
-
|
|
20
|
+
setup(g, { expose: b, emit: x }) {
|
|
21
|
+
const { t: h } = H(), i = x, t = g;
|
|
22
|
+
let p = P(null);
|
|
23
|
+
const _ = (o) => t.showPagination ? o + 1 + (t.tableQuery.pageIndex - 1) * t.tableQuery.pageSize : o + 1, S = (o) => {
|
|
24
|
+
w(() => {
|
|
25
25
|
t.data.forEach((l) => {
|
|
26
26
|
o.includes(l[t.rowKey]) && p.value.toggleRowSelection(l, !0);
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
},
|
|
30
|
-
|
|
29
|
+
}, k = (o) => p.value.getSelectionRows();
|
|
30
|
+
R(
|
|
31
31
|
() => t.selection,
|
|
32
32
|
(o, l) => {
|
|
33
|
-
o && o.length &&
|
|
33
|
+
o && o.length && S(o);
|
|
34
34
|
},
|
|
35
35
|
{ deep: !0, immediate: !0 }
|
|
36
36
|
);
|
|
37
|
-
const
|
|
37
|
+
const m = (o) => {
|
|
38
38
|
i("update:selection", o);
|
|
39
|
-
},
|
|
40
|
-
o &&
|
|
39
|
+
}, v = (o, l) => {
|
|
40
|
+
o && w(() => {
|
|
41
41
|
t.data.forEach((r) => {
|
|
42
42
|
o.includes(r[t.rowKey]) && p.value.toggleRowSelection(r, !0);
|
|
43
43
|
});
|
|
44
44
|
});
|
|
45
|
-
},
|
|
45
|
+
}, C = (o) => {
|
|
46
46
|
i("update:tableQuery", { ...t.tableQuery, pageSize: o }), i("refresh", []);
|
|
47
|
-
},
|
|
47
|
+
}, z = (o) => {
|
|
48
48
|
i("update:tableQuery", { ...t.tableQuery, pageIndex: o }), i("refresh", []);
|
|
49
49
|
};
|
|
50
|
-
return
|
|
51
|
-
const r = u("el-table-column"),
|
|
52
|
-
return a(), d("div",
|
|
53
|
-
|
|
50
|
+
return b({ getSelectionRows: k, updateSelection: v }), (o, l) => {
|
|
51
|
+
const r = u("el-table-column"), Q = u("el-table"), I = u("el-pagination"), B = T("loading");
|
|
52
|
+
return a(), d("div", U, [
|
|
53
|
+
D((a(), n(Q, {
|
|
54
54
|
ref_key: "tableRef",
|
|
55
55
|
ref: p,
|
|
56
56
|
data: t.data,
|
|
@@ -62,14 +62,14 @@ const D = { class: "act-table" }, E = {
|
|
|
62
62
|
"default-expand-all": "",
|
|
63
63
|
"tree-props": g.treeProps,
|
|
64
64
|
"header-cell-style": { backgroundColor: "#eef1f6", color: "#1f2d3d", fontSize: "14px" },
|
|
65
|
-
onSelectionChange:
|
|
65
|
+
onSelectionChange: m
|
|
66
66
|
}, {
|
|
67
67
|
empty: c(() => [
|
|
68
|
-
|
|
68
|
+
K(O(t.data.length || t.data.length == 0 ? f(h)("act.noData") : ""), 1)
|
|
69
69
|
]),
|
|
70
70
|
default: c(() => [
|
|
71
|
-
(a(!0), d(s, null,
|
|
72
|
-
e.isCustomTableHeader ?
|
|
71
|
+
(a(!0), d(s, null, j(t.headers, (e) => (a(), d(s, { key: e }, [
|
|
72
|
+
e.isCustomTableHeader ? y(o.$slots, e.prop, { key: 0 }, void 0, !0) : (a(), d(s, { key: 1 }, [
|
|
73
73
|
e.render ? (a(), n(r, {
|
|
74
74
|
key: 0,
|
|
75
75
|
label: e.label,
|
|
@@ -78,8 +78,8 @@ const D = { class: "act-table" }, E = {
|
|
|
78
78
|
"show-overflow-tooltip": e.prop == "operate" ? !1 : e.showOverflowTooltip,
|
|
79
79
|
fixed: e.fixed
|
|
80
80
|
}, {
|
|
81
|
-
default: c((
|
|
82
|
-
|
|
81
|
+
default: c((N) => [
|
|
82
|
+
y(o.$slots, e.prop, { scope: N }, void 0, !0)
|
|
83
83
|
]),
|
|
84
84
|
_: 2
|
|
85
85
|
}, 1032, ["label", "width", "show-overflow-tooltip", "fixed"])) : (a(), d(s, { key: 1 }, [
|
|
@@ -91,13 +91,13 @@ const D = { class: "act-table" }, E = {
|
|
|
91
91
|
fixed: ""
|
|
92
92
|
}, null, 8, ["width"])) : e.prop == "serialNumber" ? (a(), n(r, {
|
|
93
93
|
key: 1,
|
|
94
|
-
index:
|
|
94
|
+
index: _,
|
|
95
95
|
type: "index",
|
|
96
96
|
align: "center",
|
|
97
97
|
width: e.width,
|
|
98
|
-
label: "
|
|
98
|
+
label: f(h)("act.sort"),
|
|
99
99
|
fixed: ""
|
|
100
|
-
}, null, 8, ["width"])) : (a(), n(r, {
|
|
100
|
+
}, null, 8, ["width", "label"])) : (a(), n(r, {
|
|
101
101
|
key: 2,
|
|
102
102
|
prop: e.prop,
|
|
103
103
|
label: e.label,
|
|
@@ -113,9 +113,9 @@ const D = { class: "act-table" }, E = {
|
|
|
113
113
|
]),
|
|
114
114
|
_: 3
|
|
115
115
|
}, 8, ["data", "max-height", "row-key", "tree-props"])), [
|
|
116
|
-
[
|
|
116
|
+
[B, t.loading]
|
|
117
117
|
]),
|
|
118
|
-
t.showPagination ? (a(), n(
|
|
118
|
+
t.showPagination ? (a(), n(I, {
|
|
119
119
|
key: 0,
|
|
120
120
|
class: "table-pagination",
|
|
121
121
|
"current-page": t.tableQuery.pageIndex,
|
|
@@ -126,13 +126,13 @@ const D = { class: "act-table" }, E = {
|
|
|
126
126
|
background: "",
|
|
127
127
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
128
128
|
total: t.total,
|
|
129
|
-
onSizeChange:
|
|
130
|
-
onCurrentChange:
|
|
131
|
-
}, null, 8, ["current-page", "page-size", "total"])) :
|
|
129
|
+
onSizeChange: C,
|
|
130
|
+
onCurrentChange: z
|
|
131
|
+
}, null, 8, ["current-page", "page-size", "total"])) : A("", !0)
|
|
132
132
|
]);
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
|
-
},
|
|
135
|
+
}, M = /* @__PURE__ */ E(V, [["__scopeId", "data-v-3c7bb62d"]]);
|
|
136
136
|
export {
|
|
137
|
-
|
|
137
|
+
M as default
|
|
138
138
|
};
|
package/package.json
CHANGED
package/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
1
|
+
@charset "UTF-8";.page-container{padding:12px}.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}.ml6{margin-left:6px!important}.ml4{margin-left:4px!important}.mr6{margin-right:6px}.mr2{margin-right:2px}.mr4{margin-right:4px}.el-select,.el-cascader,.el-form--inline .el-form-item{display:block;width:100%}.el-card{height:100%}.el-date-editor{--el-date-editor-width: 100%}[data-v-0af6a3e1] .el-empty__image{width:100%}.page-container[data-v-182c790b]{position:relative}.page-container .header-operate[data-v-182c790b]{position:sticky;top:0;z-index:999}.page-container .submit-box[data-v-182c790b]{display:flex;align-items:center;justify-content:flex-end}.page-container .submit-box-l[data-v-182c790b]{width:360px;margin-right:24px}.act-table .table-pagination[data-v-3c7bb62d]{padding:12px 4px;justify-content:flex-end}.search-module-container[data-v-810f647f] .el-form-item--default{margin-bottom:12px}.search-module-container .form-content[data-v-810f647f]{display:grid;grid-template-columns:repeat(var(--table-query-row-width),1fr);gap:12px 24px;padding:12px 12px 0}.search-module-container .form-content .search-form-btn[data-v-810f647f]{justify-self:end;align-self:start;grid-column-start:var(--table-query-row-width);grid-column-end:var(--table-query-row-width)}.header-operate-container[data-v-67a827c3]{display:flex;align-items:center;justify-content:flex-end}.header-operate-container .el-btn[data-v-67a827c3]{margin:6px}.card-header[data-v-d2f6f691]{display:flex;align-items:center}.card-header-operate[data-v-d2f6f691]{margin-left:auto}.no-config[data-v-d2f6f691]{line-height:32px;font-weight:700}.no-config-field[data-v-d2f6f691]{margin-left:60px;color:red}.add-icon-btn[data-v-e5474dc6]{cursor:pointer;width:24px;height:24px;margin-left:6px}.table-post-params[data-v-e5474dc6]{position:relative;margin-bottom:12px}.table-post-params .submit-operate[data-v-e5474dc6]{position:absolute;top:-20px;right:-10px;display:flex;align-items:center}.table-post-params .submit-operate .match-opreate[data-v-e5474dc6]{cursor:pointer;width:12px;height:12px}.card-header[data-v-7aea1297]{display:flex;align-items:center}.card-header-operate[data-v-7aea1297]{margin-left:auto}.form-list[data-v-7aea1297]{margin-bottom:24px;border-bottom:1px solid var(--el-color-primary)}.form-list[data-v-7aea1297]:last-child{border:none}.config-list-operate[data-v-7aea1297]{display:flex;align-items:center;justify-content:flex-end}.card-header[data-v-d50513ad]{display:flex;align-items:center}.card-header-operate[data-v-d50513ad]{margin-left:auto}.form-list[data-v-d50513ad]{margin-bottom:24px;border-bottom:1px solid var(--el-color-primary)}.form-list[data-v-d50513ad]:last-child{border:none}.config-list-operate[data-v-d50513ad]{display:flex;align-items:center;justify-content:flex-end}.add-icon-btn[data-v-599e2ff7]{cursor:pointer;width:24px;height:24px;margin-left:6px}.condition-box[data-v-599e2ff7]{display:flex;justify-content:center}.condition-box[data-v-599e2ff7] .el-form-item__content{flex:0;min-width:300px}.submit-operate[data-v-599e2ff7]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-599e2ff7]{cursor:pointer;width:20px;height:20px}.add-icon-btn[data-v-4134748b]{cursor:pointer;width:24px;height:24px;margin-left:6px}.submit-operate[data-v-4134748b]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-4134748b]{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-eac43c79]{display:flex;align-items:center}.select-icon-container .icon-value .icon-btn[data-v-eac43c79]{margin-left:12px}
|