act-plus 1.1.79 → 1.1.80
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 +47 -47
- package/lib/{dialogAddField-5f14fddc.js → dialogAddField-356c0203.js} +2 -2
- package/lib/{dialogConfigBtn-a5954155.js → dialogConfigBtn-b826fbbd.js} +2 -2
- package/lib/{dialogSiteComponentsParams-2524289e.js → dialogSiteComponentsParams-2bd207be.js} +1 -1
- package/lib/{index-3c586d22.js → index-07af7560.js} +1 -1
- package/lib/{index-a65addb1.js → index-083d66b1.js} +1 -1
- package/lib/{index-07377f1f.js → index-0ca10994.js} +1634 -1629
- package/lib/{index-80a6ed89.js → index-5cf4016d.js} +1 -1
- package/lib/{index-a8a38c71.js → index-a1576e42.js} +1 -1
- package/lib/{index-1b2ea391.js → index-a1929e12.js} +21 -21
- package/lib/{index-93eae228.js → index-b42134dd.js} +1 -1
- package/lib/{index-16fe3b49.js → index-bb510fb9.js} +67 -64
- package/lib/{index-7fbc8aef.js → index-ddd5b9be.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as vd, shallowRef as jn, inject as kd, computed as ec, toRaw as Qd, onMounted as Pd, watch as le, onBeforeUnmount as $d, h as Td, ref as Ql, resolveComponent as Cd, resolveDirective as Ad, openBlock as Pl, createElementBlock as Rd, withDirectives as Zd, createBlock as Md, withCtx as Ed, createTextVNode as Xd, toDisplayString as Ld, unref as $l, createVNode as Dd, normalizeStyle as zd } from "vue";
|
|
2
|
-
import { _ as Wd, u as Bd } from "./index-
|
|
2
|
+
import { _ as Wd, u as Bd } from "./index-0ca10994.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "element-plus";
|
|
5
5
|
let Xr = [], ic = [];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { reactive as m, watch as v, resolveComponent as s, openBlock as b, 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-0ca10994.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "element-plus";
|
|
5
5
|
const V = ["innerHTML"], B = { class: "dialog-footer" }, D = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineAsyncComponent as O, inject as D, ref as N, watch as De, resolveComponent as _, resolveDirective as le, openBlock as u, createBlock as y, withCtx as K, createElementVNode as ae, createVNode as oe, createTextVNode as J, toDisplayString as A, unref as d, withDirectives as te, createElementBlock as
|
|
2
|
-
import { _ as ke, u as Ue, P as Pe, b as re, a as Se } from "./index-
|
|
1
|
+
import { defineAsyncComponent as O, inject as D, ref as N, watch as De, resolveComponent as _, resolveDirective as le, openBlock as u, createBlock as y, withCtx as K, createElementVNode as ae, createVNode as oe, createTextVNode as J, toDisplayString as A, unref as d, withDirectives as te, createElementBlock as L, Fragment as x, renderList as Q, mergeProps as v, createCommentVNode as se, resolveDynamicComponent as we, toRaw as Ne } from "vue";
|
|
2
|
+
import { _ as ke, u as Ue, P as Pe, b as re, a as Se } from "./index-0ca10994.js";
|
|
3
3
|
import { ElNotification as Le } from "element-plus";
|
|
4
4
|
import "vue-router";
|
|
5
5
|
const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
|
|
@@ -11,7 +11,7 @@ const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
|
|
|
11
11
|
},
|
|
12
12
|
emits: ["update:visible", "refresh"],
|
|
13
13
|
setup(k, { emit: de }) {
|
|
14
|
-
const ie = O(() => import("./index-e2f2023d.js")), ne = O(() => import("./index-
|
|
14
|
+
const ie = O(() => import("./index-e2f2023d.js")), ne = O(() => import("./index-083d66b1.js")), ue = O(() => import("./index-ddd5b9be.js")), ce = O(() => import("./index-35e3b49c.js")), { t: h } = Ue(), q = D("request"), fe = D("loadComponents"), w = D("formatDataType"), M = D("globalProps"), pe = D("stringToBoolean"), b = D("getFieldUiProps"), me = D("disposeRequestData"), X = de, p = k, R = N(!1), U = N(!1), E = N(null), P = N([]), o = N({}), j = N({}), ye = (l) => l.formColumnCol == null ? 24 : l.formColumnCol ? l.formColumnCol : 24 / l.formRow, be = (l) => ["input", "textarea"].includes(l.fieldType) ? "blur" : (["select", "multipleSelect", "datetimerange", "treeSelect", "provinceCascade"].includes(l.fieldType), "change"), he = async ({ node: l, resolve: c }, a) => {
|
|
15
15
|
const r = b(a), { label: m, value: n, children: g, isLeaf: s } = { ...re, ...r.treeProps || {} };
|
|
16
16
|
if (l[s])
|
|
17
17
|
return c([]);
|
|
@@ -73,9 +73,9 @@ const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
|
|
|
73
73
|
var a, r;
|
|
74
74
|
if (l)
|
|
75
75
|
try {
|
|
76
|
-
|
|
76
|
+
R.value = !0;
|
|
77
77
|
const m = await me(p.data.formList, p.data.rowData, !1, !0);
|
|
78
|
-
console.log("formList", (a = p.data) == null ? void 0 : a.formList),
|
|
78
|
+
console.log("formList", (a = p.data) == null ? void 0 : a.formList), P.value = await Promise.all(
|
|
79
79
|
(((r = p.data) == null ? void 0 : r.formList) ?? []).sort((n, g) => n.sort - g.sort).map(async (n) => {
|
|
80
80
|
const g = m.find((T) => n.fieldName == T.fieldName && n.fieldKey == T.fieldKey);
|
|
81
81
|
g && (n.dataList = (g == null ? void 0 : g.dataList) ?? []), ["select", "multipleSelect"].includes(n.fieldType) && (o.value[`${n.fieldKey}ActImplicit`] = Object.keys(p.data.rowData).length && n.isFormSetValue ? z(n, !0) : Y(n.fieldType)), o.value[n.fieldKey] = Object.keys(p.data.rowData).length && n.isFormSetValue ? z(n) : Y(n.fieldType);
|
|
@@ -86,16 +86,16 @@ const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
|
|
|
86
86
|
}
|
|
87
87
|
return n;
|
|
88
88
|
})
|
|
89
|
-
),
|
|
89
|
+
), R.value = !1;
|
|
90
90
|
} catch (m) {
|
|
91
|
-
console.error(m),
|
|
91
|
+
console.error(m), R.value = !1;
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
);
|
|
95
95
|
const _e = (l) => {
|
|
96
96
|
B(), l();
|
|
97
97
|
}, B = () => {
|
|
98
|
-
|
|
98
|
+
P.value = [], E.value.resetFields(), X("update:visible", !1);
|
|
99
99
|
}, ve = (l, c) => {
|
|
100
100
|
const a = b(c), { fieldKey: r, fieldType: m } = c;
|
|
101
101
|
if (console.log(l), console.log(c), console.log(a), console.log(o.value), m === "multipleSelect") {
|
|
@@ -111,13 +111,13 @@ const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
|
|
|
111
111
|
if (c) {
|
|
112
112
|
const { dataItem: a, rowData: r } = p.data;
|
|
113
113
|
let m = { ...Ne(o.value) };
|
|
114
|
-
U.value = !0, Object.keys(m).forEach((s) => {
|
|
114
|
+
U.value = !0, console.log(m), console.log(P.value), Object.keys(m).forEach((s) => {
|
|
115
115
|
if (s.includes("ActImplicit")) {
|
|
116
116
|
delete m[s];
|
|
117
117
|
return;
|
|
118
118
|
}
|
|
119
|
-
const i =
|
|
120
|
-
s.includes("&") ? s.split("&").forEach((T, F) => {
|
|
119
|
+
const i = P.value.find((C) => C.fieldKey === s);
|
|
120
|
+
console.log(i), s.includes("&") ? s.split("&").forEach((T, F) => {
|
|
121
121
|
m[T] = m[s] ? $(m[s][F], i.fieldSubmitType) : m[s];
|
|
122
122
|
}) : Array.isArray(m[s]) && i.fieldSubmitType == "string" && (m[s] = $(m[s], "string"));
|
|
123
123
|
});
|
|
@@ -202,12 +202,12 @@ const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
|
|
|
202
202
|
default: K(() => [
|
|
203
203
|
oe(H, { gutter: 40 }, {
|
|
204
204
|
default: K(() => [
|
|
205
|
-
(u(!0),
|
|
205
|
+
(u(!0), L(x, null, Q(P.value, (e, ee) => (u(), y(F, {
|
|
206
206
|
span: ye(e),
|
|
207
207
|
key: ee
|
|
208
208
|
}, {
|
|
209
209
|
default: K(() => [
|
|
210
|
-
e.customFiledsComponentes.isFieldCustom ? (u(),
|
|
210
|
+
e.customFiledsComponentes.isFieldCustom ? (u(), L(x, { key: 1 }, [
|
|
211
211
|
e.customFiledsComponentes[e.customFiledsComponentes.customComponentName] ? (u(), y(we(e.customFiledsComponentes[e.customFiledsComponentes.customComponentName]), {
|
|
212
212
|
key: 0,
|
|
213
213
|
ref_for: !0,
|
|
@@ -218,7 +218,7 @@ const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
|
|
|
218
218
|
visible: p.visible,
|
|
219
219
|
form: o.value,
|
|
220
220
|
"onUpdate:form": c[0] || (c[0] = (t) => o.value = t)
|
|
221
|
-
}, null, 40, ["formConfig", "item", "rowData", "visible", "form"])) : (u(),
|
|
221
|
+
}, null, 40, ["formConfig", "item", "rowData", "visible", "form"])) : (u(), L("div", {
|
|
222
222
|
class: "no-config",
|
|
223
223
|
key: ee
|
|
224
224
|
}, [
|
|
@@ -268,8 +268,8 @@ const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
|
|
|
268
268
|
disabled: e.isFormDisabled
|
|
269
269
|
}), {
|
|
270
270
|
default: K(() => [
|
|
271
|
-
(u(!0),
|
|
272
|
-
key:
|
|
271
|
+
(u(!0), L(x, null, Q(e.dataList, (t, S) => (u(), y(r, {
|
|
272
|
+
key: S,
|
|
273
273
|
label: t.key,
|
|
274
274
|
value: t.value
|
|
275
275
|
}, null, 8, ["label", "value"]))), 128))
|
|
@@ -289,8 +289,8 @@ const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
|
|
|
289
289
|
onChange: (t) => ve(t, e)
|
|
290
290
|
}), {
|
|
291
291
|
default: K(() => [
|
|
292
|
-
(u(!0),
|
|
293
|
-
key:
|
|
292
|
+
(u(!0), L(x, null, Q(e.dataList, (t, S) => (u(), y(r, {
|
|
293
|
+
key: S,
|
|
294
294
|
label: t.key,
|
|
295
295
|
value: t
|
|
296
296
|
}, null, 8, ["label", "value"]))), 128))
|
|
@@ -337,7 +337,7 @@ const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
|
|
|
337
337
|
clearable: "",
|
|
338
338
|
filterable: "",
|
|
339
339
|
lazy: "",
|
|
340
|
-
load: (t,
|
|
340
|
+
load: (t, S) => he({ node: t, resolve: S }, e)
|
|
341
341
|
}, { ref_for: !0 }, d(b)(e)), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "load"])) : e.fieldType === "date" ? (u(), y(s, v({
|
|
342
342
|
key: 8,
|
|
343
343
|
modelValue: o.value[e.fieldKey],
|
|
@@ -399,7 +399,7 @@ const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
|
|
|
399
399
|
]),
|
|
400
400
|
_: 1
|
|
401
401
|
}, 8, ["model", "label-width", "label-position"])), [
|
|
402
|
-
[Te,
|
|
402
|
+
[Te, R.value]
|
|
403
403
|
])
|
|
404
404
|
];
|
|
405
405
|
}),
|
|
@@ -407,7 +407,7 @@ const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
|
|
|
407
407
|
}, 8, ["model-value", "title", "width"]);
|
|
408
408
|
};
|
|
409
409
|
}
|
|
410
|
-
}, Ee = /* @__PURE__ */ ke(Oe, [["__scopeId", "data-v-
|
|
410
|
+
}, Ee = /* @__PURE__ */ ke(Oe, [["__scopeId", "data-v-57ab0b30"]]);
|
|
411
411
|
export {
|
|
412
412
|
Ee as default
|
|
413
413
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { _ as be, u as Ce, P as _e, a as he, b as W } from "./index-0ca10994.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "element-plus";
|
|
5
5
|
const ge = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ref as N, watch as O, resolveComponent as u, resolveDirective as T, openBlock as l, createElementBlock as
|
|
2
|
-
import { _ as
|
|
1
|
+
import { ref as N, watch as O, resolveComponent as u, resolveDirective as T, openBlock as l, createElementBlock as p, withDirectives as j, createBlock as i, mergeProps as D, withCtx as g, createTextVNode as W, toDisplayString as A, unref as y, Fragment as c, renderList as H, renderSlot as w, createCommentVNode as U, nextTick as b } from "vue";
|
|
2
|
+
import { _ as V, u as $ } from "./index-0ca10994.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "element-plus";
|
|
5
|
-
const
|
|
5
|
+
const F = { class: "act-table" }, L = {
|
|
6
6
|
__name: "index",
|
|
7
7
|
props: {
|
|
8
8
|
loading: { type: Boolean, default: !1 },
|
|
@@ -18,69 +18,72 @@ const $ = { class: "act-table" }, F = {
|
|
|
18
18
|
treeProps: { type: Object, default: () => ({ children: "children", hasChildren: "hasChildren" }) },
|
|
19
19
|
tableConfig: { type: Object, default: () => ({}) }
|
|
20
20
|
},
|
|
21
|
-
emits: ["update:tableQuery", "update:selection", "refresh", "onRowClick", "changeExpand"],
|
|
22
|
-
setup(
|
|
23
|
-
const { t:
|
|
24
|
-
let
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
21
|
+
emits: ["update:tableQuery", "update:selection", "changeSelection", "refresh", "onRowClick", "changeExpand"],
|
|
22
|
+
setup(h, { expose: x, emit: _ }) {
|
|
23
|
+
const { t: f } = $(), r = _, t = h;
|
|
24
|
+
let d = N(null);
|
|
25
|
+
const S = (o) => t.showPagination ? o + 1 + (t.tableQuery.pageIndex - 1) * t.tableQuery.pageSize : o + 1, C = (o) => {
|
|
26
|
+
b(() => {
|
|
27
|
+
t.data.forEach((a) => {
|
|
28
|
+
o.includes(a[t.rowKey]) && d.value.toggleRowSelection(a, !0);
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
|
-
},
|
|
31
|
+
}, k = () => {
|
|
32
|
+
d.value.clearSelection();
|
|
33
|
+
}, m = (o) => d.value.getSelectionRows();
|
|
32
34
|
O(
|
|
33
|
-
() =>
|
|
34
|
-
(
|
|
35
|
-
|
|
35
|
+
() => t.selection,
|
|
36
|
+
(o, a) => {
|
|
37
|
+
o && o.length && C(o);
|
|
36
38
|
},
|
|
37
39
|
{ deep: !0, immediate: !0 }
|
|
38
40
|
);
|
|
39
|
-
const
|
|
40
|
-
r("update:selection",
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
const v = (o) => {
|
|
42
|
+
r("update:selection", o), r("changeSelection", o);
|
|
43
|
+
}, z = (o, a) => {
|
|
44
|
+
o && b(() => {
|
|
45
|
+
let n = a;
|
|
46
|
+
t.data.forEach((s) => {
|
|
47
|
+
t.rowKey && (n = t.rowKey), t.tableConfig.rowKey && (n = t.tableConfig.rowKey), o.includes(s[n]) && d.value.toggleRowSelection(s, !0);
|
|
45
48
|
});
|
|
46
49
|
});
|
|
47
|
-
},
|
|
48
|
-
r("update:tableQuery", { ...
|
|
49
|
-
},
|
|
50
|
-
r("update:tableQuery", { ...
|
|
51
|
-
},
|
|
52
|
-
r("onRowClick",
|
|
53
|
-
},
|
|
54
|
-
r("changeExpand",
|
|
50
|
+
}, Q = (o) => {
|
|
51
|
+
r("update:tableQuery", { ...t.tableQuery, pageSize: o }), r("refresh", []);
|
|
52
|
+
}, R = (o) => {
|
|
53
|
+
r("update:tableQuery", { ...t.tableQuery, pageIndex: o }), r("refresh", []);
|
|
54
|
+
}, K = (o, a, n) => {
|
|
55
|
+
r("onRowClick", o, a, n);
|
|
56
|
+
}, E = (o, a) => {
|
|
57
|
+
r("changeExpand", o, a);
|
|
55
58
|
};
|
|
56
|
-
return
|
|
57
|
-
const n = u("el-table-column"),
|
|
58
|
-
return l(),
|
|
59
|
-
j((l(), i(
|
|
59
|
+
return x({ getSelectionRows: m, updateSelection: z, clearSelection: k }), (o, a) => {
|
|
60
|
+
const n = u("el-table-column"), s = u("el-table"), I = u("el-pagination"), P = T("loading");
|
|
61
|
+
return l(), p("div", F, [
|
|
62
|
+
j((l(), i(s, D({
|
|
60
63
|
style: { width: "100%" },
|
|
61
64
|
ref_key: "tableRef",
|
|
62
|
-
ref:
|
|
63
|
-
data:
|
|
65
|
+
ref: d,
|
|
66
|
+
data: t.data,
|
|
64
67
|
stripe: "",
|
|
65
68
|
border: "",
|
|
66
69
|
"highlight-current-row": "",
|
|
67
|
-
"max-height":
|
|
68
|
-
"row-key":
|
|
70
|
+
"max-height": t.maxHeight,
|
|
71
|
+
"row-key": t.rowKey,
|
|
69
72
|
"default-expand-all": "",
|
|
70
|
-
"tree-props":
|
|
71
|
-
},
|
|
72
|
-
onSelectionChange:
|
|
73
|
-
onRowClick:
|
|
74
|
-
onExpandChange:
|
|
73
|
+
"tree-props": h.treeProps
|
|
74
|
+
}, t.tableConfig, {
|
|
75
|
+
onSelectionChange: v,
|
|
76
|
+
onRowClick: K,
|
|
77
|
+
onExpandChange: E
|
|
75
78
|
}), {
|
|
76
|
-
empty:
|
|
77
|
-
|
|
79
|
+
empty: g(() => [
|
|
80
|
+
W(A(t.data.length || t.data.length == 0 ? y(f)("act.noData") : ""), 1)
|
|
78
81
|
]),
|
|
79
|
-
default:
|
|
80
|
-
(l(!0),
|
|
82
|
+
default: g(() => [
|
|
83
|
+
(l(!0), p(c, null, H(t.headers, (e) => (l(), p(c, {
|
|
81
84
|
key: e.prop
|
|
82
85
|
}, [
|
|
83
|
-
e.isCustomTableHeader ? w(
|
|
86
|
+
e.isCustomTableHeader ? w(o.$slots, e.prop, { key: 0 }, void 0, !0) : (l(), p(c, { key: 1 }, [
|
|
84
87
|
e.render ? (l(), i(n, {
|
|
85
88
|
key: 0,
|
|
86
89
|
label: e.label,
|
|
@@ -91,11 +94,11 @@ const $ = { class: "act-table" }, F = {
|
|
|
91
94
|
"show-overflow-tooltip": e.prop == "operate" ? !1 : e.showOverflowTooltip,
|
|
92
95
|
fixed: e.fixed
|
|
93
96
|
}, {
|
|
94
|
-
default:
|
|
95
|
-
w(
|
|
97
|
+
default: g((B) => [
|
|
98
|
+
w(o.$slots, e.prop, { scope: B }, void 0, !0)
|
|
96
99
|
]),
|
|
97
100
|
_: 2
|
|
98
|
-
}, 1032, ["label", "align", "width", "minWidth", "sortable", "show-overflow-tooltip", "fixed"])) : (l(),
|
|
101
|
+
}, 1032, ["label", "align", "width", "minWidth", "sortable", "show-overflow-tooltip", "fixed"])) : (l(), p(c, { key: 1 }, [
|
|
99
102
|
e.prop == "checkbox" ? (l(), i(n, {
|
|
100
103
|
key: 0,
|
|
101
104
|
type: "selection",
|
|
@@ -104,11 +107,11 @@ const $ = { class: "act-table" }, F = {
|
|
|
104
107
|
fixed: ""
|
|
105
108
|
}, null, 8, ["width"])) : e.prop == "serialNumber" ? (l(), i(n, {
|
|
106
109
|
key: 1,
|
|
107
|
-
index:
|
|
110
|
+
index: S,
|
|
108
111
|
type: "index",
|
|
109
112
|
align: "center",
|
|
110
113
|
width: e.width,
|
|
111
|
-
label: f
|
|
114
|
+
label: y(f)("act.sort"),
|
|
112
115
|
fixed: ""
|
|
113
116
|
}, null, 8, ["width", "label"])) : (l(), i(n, {
|
|
114
117
|
key: 2,
|
|
@@ -127,26 +130,26 @@ const $ = { class: "act-table" }, F = {
|
|
|
127
130
|
]),
|
|
128
131
|
_: 3
|
|
129
132
|
}, 16, ["data", "max-height", "row-key", "tree-props"])), [
|
|
130
|
-
[P,
|
|
133
|
+
[P, t.loading]
|
|
131
134
|
]),
|
|
132
|
-
|
|
135
|
+
t.showPagination ? (l(), i(I, {
|
|
133
136
|
key: 0,
|
|
134
137
|
class: "table-pagination",
|
|
135
|
-
"current-page":
|
|
136
|
-
"onUpdate:currentPage": a[0] || (a[0] = (e) =>
|
|
137
|
-
"page-size":
|
|
138
|
-
"onUpdate:pageSize": a[1] || (a[1] = (e) =>
|
|
138
|
+
"current-page": t.tableQuery.pageIndex,
|
|
139
|
+
"onUpdate:currentPage": a[0] || (a[0] = (e) => t.tableQuery.pageIndex = e),
|
|
140
|
+
"page-size": t.tableQuery.pageSize,
|
|
141
|
+
"onUpdate:pageSize": a[1] || (a[1] = (e) => t.tableQuery.pageSize = e),
|
|
139
142
|
"page-sizes": [10, 20, 50, 75, 100, 200, 500],
|
|
140
143
|
background: "",
|
|
141
144
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
142
|
-
total:
|
|
143
|
-
onSizeChange:
|
|
144
|
-
onCurrentChange:
|
|
145
|
-
}, null, 8, ["current-page", "page-size", "total"])) :
|
|
145
|
+
total: t.total,
|
|
146
|
+
onSizeChange: Q,
|
|
147
|
+
onCurrentChange: R
|
|
148
|
+
}, null, 8, ["current-page", "page-size", "total"])) : U("", !0)
|
|
146
149
|
]);
|
|
147
150
|
};
|
|
148
151
|
}
|
|
149
|
-
},
|
|
152
|
+
}, X = /* @__PURE__ */ V(L, [["__scopeId", "data-v-b5ec4a41"]]);
|
|
150
153
|
export {
|
|
151
|
-
|
|
154
|
+
X as default
|
|
152
155
|
};
|
|
@@ -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-0ca10994.js";
|
|
4
4
|
import "vue-router";
|
|
5
5
|
let S;
|
|
6
6
|
const he = new Uint8Array(16);
|
package/package.json
CHANGED
package/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.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-
|
|
1
|
+
.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-8aba8e8e] .el-empty__image{width:100%}.file-image[data-v-8aba8e8e]{display:block;width:32px;height:32px;margin:0 auto;border-radius:4px;line-height:32px!important}.no-image[data-v-8aba8e8e]{width:100%;height:100%;font-size:12px;background-color:#f5f7fa}.act-module[data-v-8aba8e8e]{padding:0;margin:0;border:none}.table-opreate-dropdown[data-v-8aba8e8e]{margin:4px 0 0 8px}.table-btn-more[data-v-8aba8e8e]{width:16px;height:16px}.table-btn-more[data-v-8aba8e8e]:hover{cursor:pointer;opacity:.8}.add-icon-btn[data-v-3a00699d]{cursor:pointer;width:24px;height:24px;margin-left:6px}.table-post-params[data-v-3a00699d]{position:relative;margin-bottom:12px}.table-post-params .submit-operate[data-v-3a00699d]{position:absolute;top:-20px;right:-10px;display:flex;align-items:center}.table-post-params .submit-operate .match-opreate[data-v-3a00699d]{cursor:pointer;width:12px;height:12px}.card-header[data-v-05dd44e9]{display:flex;align-items:center}.card-header -operate[data-v-05dd44e9]{margin-left:auto}.form-list[data-v-05dd44e9]{margin-bottom:24px;border-bottom:1px solid var(--el-color-primary)}.form-list[data-v-05dd44e9]:last-child{border:none}.config-list-operate[data-v-05dd44e9]{display:flex;align-items:center;justify-content:flex-end}.card-header[data-v-5ac6753d]{display:flex;align-items:center}.card-header-operate[data-v-5ac6753d]{margin-left:auto}.form-list[data-v-5ac6753d]{margin-bottom:24px;border-bottom:1px solid var(--el-color-primary)}.form-list[data-v-5ac6753d]:last-child{border:none}.config-list-operate[data-v-5ac6753d]{display:flex;align-items:center;justify-content:flex-end}[data-v-5ac6753d] .el-badge__content.is-fixed{transform:translateY(-50%) translate(100%) scale(.7)}.submit-operate[data-v-5c2c8b66]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-5c2c8b66]{cursor:pointer;width:20px;height:20px}.page-container[data-v-8dfa8a8a]{position:relative}.page-container .header-operate[data-v-8dfa8a8a]{position:sticky;top:0;z-index:999}.page-container .submit-box[data-v-8dfa8a8a]{display:flex;align-items:center;justify-content:space-between}.page-container .submit-box-r[data-v-8dfa8a8a]{display:flex;align-items:center}.page-container .submit-box-r .menu-select[data-v-8dfa8a8a]{width:360px;margin:0 24px}.search-module-container[data-v-cdf7c817] .el-form-item{margin-bottom:8px}.search-module-container[data-v-cdf7c817] .el-select__selection{flex-wrap:nowrap;width:100%}.search-module-container .form-content[data-v-cdf7c817]{display:grid;grid-template-columns:repeat(var(--table-query-row),minmax(120px,1fr));gap:6px;padding:6px 6px 0}.search-module-container .form-content .search-form-btn[data-v-cdf7c817]{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-cdf7c817]{display:flex;margin:0 auto;color:#a4a2a2}.header-operate-container[data-v-204fc0b7]{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap}.header-operate-container .el-btn[data-v-204fc0b7]{margin:2px}.header-operate-container .header-opreate-dropdown[data-v-204fc0b7]{margin:4px 0 0 8px}.header-operate-container .header-btn-more[data-v-204fc0b7]{width:16px;height:16px}.header-operate-container .header-btn-more[data-v-204fc0b7]:hover{cursor:pointer;opacity:.8}.act-table .table-pagination[data-v-b5ec4a41]{padding:12px 4px;justify-content:flex-end}.no-config[data-v-57ab0b30]{line-height:32px;font-weight:700}.no-config-field[data-v-57ab0b30]{color:red}.card-header[data-v-95be1288]{display:flex;align-items:center}.card-header-operate[data-v-95be1288]{margin-left:auto}.add-icon-btn[data-v-1f256e39]{cursor:pointer;width:24px;height:24px;margin-left:6px}.condition-box[data-v-1f256e39]{display:flex;justify-content:center}.condition-box[data-v-1f256e39] .el-form-item__content{flex:0;min-width:300px}.submit-operate[data-v-1f256e39]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-1f256e39]{cursor:pointer;width:20px;height:20px}.add-icon-btn[data-v-f51a212e]{cursor:pointer;width:24px;height:24px;margin-left:6px}.submit-operate[data-v-f51a212e]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-f51a212e]{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}.upload-container[data-v-ba74316a]{width:100%}.upload-container[data-v-ba74316a] .el-upload-list--picture-card{display:flex;flex:1}.upload-container[data-v-ba74316a] .el-upload.is-drag{width:100%;height:100%}.upload-container .tip-text[data-v-ba74316a]{margin:0;padding:0;font-size:12px;color:#999}.upload-container .file-list[data-v-ba74316a]{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-ba74316a]:hover{cursor:pointer;opacity:.8}.upload-container .file-list:hover .el-file-name[data-v-ba74316a]{text-decoration:underline}.upload-container .file-list-l[data-v-ba74316a]{display:flex;align-items:center;flex:1;width:500px}.upload-container .file-list-image[data-v-ba74316a]{flex-shrink:0;width:40px;height:40px;border-radius:4px}.upload-container .file-list-icon[data-v-ba74316a]{flex-shrink:0;width:40px;height:40px}.upload-container .file-list .el-file-name[data-v-ba74316a]{flex:1;padding:0 12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.upload-container .file-list .el-file-operate[data-v-ba74316a]{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-ba74316a]{cursor:pointer;margin-left:12px}.upload-container .file-list .el-file-operate>i[data-v-ba74316a]:hover{opacity:.8}.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}.act-code-mirror[data-v-23982507]{width:100%}.act-code-mirror .format-code-btn[data-v-23982507]{margin-bottom:4px}
|