gs-eant-comp 3.1.2 → 3.1.3
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/dist/gs-eant-comp.js +286 -281
- package/dist/gs-eant-comp.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/gs-eant-comp.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as X, resolveComponent as r, createBlock as v, openBlock as d, withCtx as s, createElementBlock as I, Fragment as
|
|
1
|
+
import { defineComponent as X, resolveComponent as r, createBlock as v, openBlock as d, withCtx as s, createElementBlock as I, Fragment as U, renderList as Z, normalizeClass as Y, createElementVNode as f, toDisplayString as j, createVNode as u, toRefs as ke, computed as w, createCommentVNode as E, inject as C, ref as B, watchEffect as st, renderSlot as L, reactive as Te, provide as V, mergeProps as ge, createTextVNode as Q, withModifiers as ut, unref as O, h as wt, getCurrentInstance as pn, nextTick as Me, watch as ue, onMounted as nt, onUnmounted as Ft, normalizeStyle as it, toRef as Vt, KeepAlive as fn, resolveDynamicComponent as Fe, createSlots as He, mergeModels as Dt, useModel as ot, Transition as mn, withDirectives as yn, vShow as hn, isRef as ze, toHandlers as Ht, normalizeProps as vn, guardReactiveProps as bn, useSlots as _n } from "vue";
|
|
2
2
|
import { useStore as oe } from "vuex";
|
|
3
3
|
import { useRoute as Qt, useRouter as ae, onBeforeRouteUpdate as gn } from "vue-router";
|
|
4
4
|
import { useRequest as je, usePagination as ct } from "vue-request";
|
|
5
5
|
import { Form as kn, message as wn, theme as Qe } from "ant-design-vue";
|
|
6
|
-
import
|
|
7
|
-
import { ColorPicker as
|
|
6
|
+
import Sn from "vuedraggable";
|
|
7
|
+
import { ColorPicker as Cn } from "vue3-colorpicker";
|
|
8
8
|
const D = (e, t) => {
|
|
9
9
|
const n = e.__vccOpts || e;
|
|
10
10
|
for (const [o, a] of t)
|
|
@@ -36,7 +36,7 @@ function En(e, t, n, o, a, l) {
|
|
|
36
36
|
f("span", xn, j(e.menuInfo.meta.title), 1)
|
|
37
37
|
]),
|
|
38
38
|
default: s(() => [
|
|
39
|
-
(d(!0), I(
|
|
39
|
+
(d(!0), I(U, null, Z(e.menuInfo.children, (y) => (d(), I(U, {
|
|
40
40
|
key: y.path
|
|
41
41
|
}, [
|
|
42
42
|
y.children ? (d(), v(p, {
|
|
@@ -86,7 +86,7 @@ const In = /* @__PURE__ */ D(Bn, [["render", En]]), Mn = X({
|
|
|
86
86
|
}, On = { class: "font1" };
|
|
87
87
|
function Rn(e, t, n, o, a, l) {
|
|
88
88
|
const i = r("a-alert"), c = r("a-icon"), p = r("a-menu-item"), m = r("sub-menu");
|
|
89
|
-
return d(), I(
|
|
89
|
+
return d(), I(U, null, [
|
|
90
90
|
e.isNavMenus ? (d(), I("div", Tn, [
|
|
91
91
|
u(i, {
|
|
92
92
|
"show-icon": !1,
|
|
@@ -100,7 +100,7 @@ function Rn(e, t, n, o, a, l) {
|
|
|
100
100
|
_: 1
|
|
101
101
|
})
|
|
102
102
|
])) : E("", !0),
|
|
103
|
-
(d(!0), I(
|
|
103
|
+
(d(!0), I(U, null, Z(e.navMenus, (y) => (d(), I(U, {
|
|
104
104
|
key: y.path
|
|
105
105
|
}, [
|
|
106
106
|
y.children ? (d(), v(m, {
|
|
@@ -135,7 +135,7 @@ const ye = /* @__PURE__ */ D(Mn, [["render", Rn]]), Gt = "data:image/png;base64,
|
|
|
135
135
|
setup(e) {
|
|
136
136
|
const { menu: t } = ke(e), n = oe(), o = Qt(), a = ae(), l = (_) => {
|
|
137
137
|
a.push(_.key), i.value.open = !1;
|
|
138
|
-
}, i =
|
|
138
|
+
}, i = C("menuDrawerRef"), c = B([]), p = w(() => o.path), m = (_, h, g = []) => {
|
|
139
139
|
for (const b of _) {
|
|
140
140
|
if (b.path === h)
|
|
141
141
|
return g;
|
|
@@ -232,7 +232,7 @@ const Ln = /* @__PURE__ */ D(An, [["render", zn]]), jn = kn.useForm, Un = X({
|
|
|
232
232
|
}
|
|
233
233
|
},
|
|
234
234
|
setup(e) {
|
|
235
|
-
const { xs: t, lg: n, span: o, layout: a } = ke(e), l = oe(), i =
|
|
235
|
+
const { xs: t, lg: n, span: o, layout: a } = ke(e), l = oe(), i = C("$API"), c = Te(i.auth.update), p = C("refPasswordEModal"), m = B({
|
|
236
236
|
xgh: l.state.auth.userInfo.yhm,
|
|
237
237
|
xm: l.state.auth.userInfo.xm,
|
|
238
238
|
ymm: "",
|
|
@@ -240,7 +240,7 @@ const Ln = /* @__PURE__ */ D(An, [["render", zn]]), jn = kn.useForm, Un = X({
|
|
|
240
240
|
qrmm: ""
|
|
241
241
|
});
|
|
242
242
|
V("formState", m);
|
|
243
|
-
const y = (
|
|
243
|
+
const y = (S, k, x) => {
|
|
244
244
|
k.length < 6 ? x(new Error("密码长度必须大于6个字符")) : /[A-Z]/.test(k) ? /[a-z]/.test(k) ? /[!@_#$%^&*(),.?":{}|<>]/.test(k) ? x() : x(new Error("密码必须包含特殊字符")) : x(new Error("密码必须包含小写字母")) : x(new Error("密码必须包含大写字母"));
|
|
245
245
|
}, _ = Te({
|
|
246
246
|
ymm: [{ required: !0, message: "请填原密码" }],
|
|
@@ -253,14 +253,14 @@ const Ln = /* @__PURE__ */ D(An, [["render", zn]]), jn = kn.useForm, Un = X({
|
|
|
253
253
|
{ validator: y, trigger: "blur" }
|
|
254
254
|
]
|
|
255
255
|
}), { run: h, loading: g } = je(
|
|
256
|
-
async (
|
|
256
|
+
async (S) => {
|
|
257
257
|
const k = c;
|
|
258
|
-
return k[k.method](
|
|
258
|
+
return k[k.method](S);
|
|
259
259
|
},
|
|
260
260
|
{
|
|
261
261
|
debounceInterval: 0,
|
|
262
262
|
manual: !0,
|
|
263
|
-
onSuccess: (
|
|
263
|
+
onSuccess: (S) => {
|
|
264
264
|
p.value.open = !1;
|
|
265
265
|
}
|
|
266
266
|
}
|
|
@@ -278,7 +278,7 @@ const Ln = /* @__PURE__ */ D(An, [["render", zn]]), jn = kn.useForm, Un = X({
|
|
|
278
278
|
} catch {
|
|
279
279
|
}
|
|
280
280
|
},
|
|
281
|
-
editDisabled:
|
|
281
|
+
editDisabled: C("editDisabled", B(!0))
|
|
282
282
|
};
|
|
283
283
|
}
|
|
284
284
|
});
|
|
@@ -414,7 +414,7 @@ function Wn(e, t, n, o, a, l) {
|
|
|
414
414
|
loading: e.save_loading
|
|
415
415
|
}, {
|
|
416
416
|
default: s(() => [...t[6] || (t[6] = [
|
|
417
|
-
|
|
417
|
+
Q("修改", -1)
|
|
418
418
|
])]),
|
|
419
419
|
_: 1
|
|
420
420
|
}, 8, ["onClick", "loading"])
|
|
@@ -428,18 +428,18 @@ function Wn(e, t, n, o, a, l) {
|
|
|
428
428
|
_: 1
|
|
429
429
|
}, 8, ["layout", "label-col", "wrapper-col"]);
|
|
430
430
|
}
|
|
431
|
-
const Jt = /* @__PURE__ */ D(Un, [["render", Wn]]), Kn = { class: "h-100" }, Fn = { class: "" }, Vn = { class: "text-primary" }, Dn = { class: "text-muted" }, Hn = { class: "text-muted" },
|
|
431
|
+
const Jt = /* @__PURE__ */ D(Un, [["render", Wn]]), Kn = { class: "h-100" }, Fn = { class: "" }, Vn = { class: "text-primary" }, Dn = { class: "text-muted" }, Hn = { class: "text-muted" }, Ce = {
|
|
432
432
|
__name: "UserBar",
|
|
433
433
|
setup(e) {
|
|
434
434
|
const t = (...T) => {
|
|
435
|
-
}, n =
|
|
435
|
+
}, n = C("$API"), o = oe(), a = ae(), l = w(() => o.state.app.auth), i = w(() => o.state.auth.userInfo), c = w(() => o.state.app.appLayoutType);
|
|
436
436
|
w(() => o.state.app.casServerLoginUrl);
|
|
437
437
|
const p = w(() => o.state.app.casServerLogoutUrl), m = Te(n.auth.logout), { run: y } = je((T) => m[m.method](T), {
|
|
438
438
|
manual: !0,
|
|
439
439
|
onSuccess: (T) => {
|
|
440
440
|
t("认证模式识别完成 →", l.value), l.value === "CAS" && (t("CAS 注销流程|重定向至统一认证登出地址", p.value), window.location.href = p.value);
|
|
441
|
-
const
|
|
442
|
-
|
|
441
|
+
const S = a.options.routes.findIndex((x) => x.name === "lowcodeplatform");
|
|
442
|
+
S !== -1 && (a.options.routes[S].children = []), o.state.auth.dynamicRouteNames.forEach((x) => {
|
|
443
443
|
a.removeRoute(x);
|
|
444
444
|
}), o.commit("RESET_STATE"), a.push({ path: "/" });
|
|
445
445
|
}
|
|
@@ -469,16 +469,16 @@ const Jt = /* @__PURE__ */ D(Un, [["render", Wn]]), Kn = { class: "h-100" }, Fn
|
|
|
469
469
|
a.removeRoute(k);
|
|
470
470
|
}), o.commit("CLEAR_PERMISSION_CONTEXT"), a.push({ path: "/" });
|
|
471
471
|
};
|
|
472
|
-
return (T,
|
|
472
|
+
return (T, S) => {
|
|
473
473
|
const k = r("a-icon"), x = r("a-space");
|
|
474
474
|
r("a-badge-ribbon");
|
|
475
|
-
const z = r("a-menu-item"), R = r("a-menu-item-group"),
|
|
476
|
-
return d(), I(
|
|
475
|
+
const z = r("a-menu-item"), R = r("a-menu-item-group"), W = r("a-menu-divider"), G = r("a-menu"), F = r("a-dropdown"), q = r("EModal");
|
|
476
|
+
return d(), I(U, null, [
|
|
477
477
|
f("div", Kn, [
|
|
478
478
|
E("", !0),
|
|
479
479
|
u(F, { trigger: ["click"] }, {
|
|
480
480
|
overlay: s(() => [
|
|
481
|
-
u(
|
|
481
|
+
u(G, {
|
|
482
482
|
click: "bg-info p-0 text-muted",
|
|
483
483
|
style: { width: "170px" }
|
|
484
484
|
}, {
|
|
@@ -492,7 +492,7 @@ const Jt = /* @__PURE__ */ D(Un, [["render", Wn]]), Kn = { class: "h-100" }, Fn
|
|
|
492
492
|
type: "icon-user",
|
|
493
493
|
class: "pe-2"
|
|
494
494
|
}),
|
|
495
|
-
|
|
495
|
+
Q(j(g.value?.jsmc), 1)
|
|
496
496
|
])
|
|
497
497
|
]),
|
|
498
498
|
_: 1
|
|
@@ -500,10 +500,10 @@ const Jt = /* @__PURE__ */ D(Un, [["render", Wn]]), Kn = { class: "h-100" }, Fn
|
|
|
500
500
|
]),
|
|
501
501
|
_: 1
|
|
502
502
|
}),
|
|
503
|
-
u(
|
|
503
|
+
u(W),
|
|
504
504
|
u(R, { title: "切换角色" }, {
|
|
505
505
|
default: s(() => [
|
|
506
|
-
(d(!0), I(
|
|
506
|
+
(d(!0), I(U, null, Z(b.value, (ee) => (d(), v(z, {
|
|
507
507
|
key: ee.jsdm,
|
|
508
508
|
disabled: ee.jsdm === g.value?.jsdm,
|
|
509
509
|
onClick: (te) => A(ee)
|
|
@@ -513,7 +513,7 @@ const Jt = /* @__PURE__ */ D(Un, [["render", Wn]]), Kn = { class: "h-100" }, Fn
|
|
|
513
513
|
type: "icon-swap",
|
|
514
514
|
class: "pe-2"
|
|
515
515
|
}),
|
|
516
|
-
|
|
516
|
+
Q(j(ee.jsmc), 1)
|
|
517
517
|
]),
|
|
518
518
|
_: 2
|
|
519
519
|
}, 1032, ["disabled", "onClick"]))), 128))
|
|
@@ -523,7 +523,7 @@ const Jt = /* @__PURE__ */ D(Un, [["render", Wn]]), Kn = { class: "h-100" }, Fn
|
|
|
523
523
|
E("", !0),
|
|
524
524
|
E("", !0),
|
|
525
525
|
E("", !0),
|
|
526
|
-
u(
|
|
526
|
+
u(W),
|
|
527
527
|
l.value === "JWT" ? (d(), v(z, {
|
|
528
528
|
key: "0",
|
|
529
529
|
onClick: h
|
|
@@ -534,7 +534,7 @@ const Jt = /* @__PURE__ */ D(Un, [["render", Wn]]), Kn = { class: "h-100" }, Fn
|
|
|
534
534
|
type: "icon-edit",
|
|
535
535
|
class: "pe-2"
|
|
536
536
|
}),
|
|
537
|
-
|
|
537
|
+
S[3] || (S[3] = Q("修改密码", -1))
|
|
538
538
|
])
|
|
539
539
|
]),
|
|
540
540
|
_: 1
|
|
@@ -549,18 +549,18 @@ const Jt = /* @__PURE__ */ D(Un, [["render", Wn]]), Kn = { class: "h-100" }, Fn
|
|
|
549
549
|
type: "icon-logout",
|
|
550
550
|
class: "pe-2"
|
|
551
551
|
}),
|
|
552
|
-
|
|
552
|
+
S[4] || (S[4] = Q("退出登陆", -1))
|
|
553
553
|
])
|
|
554
554
|
]),
|
|
555
555
|
_: 1
|
|
556
556
|
}, 8, ["onClick"]),
|
|
557
|
-
u(
|
|
557
|
+
u(W),
|
|
558
558
|
u(z, {
|
|
559
559
|
key: "2",
|
|
560
560
|
class: "text-black-50 text-center"
|
|
561
561
|
}, {
|
|
562
|
-
default: s(() => [...
|
|
563
|
-
|
|
562
|
+
default: s(() => [...S[5] || (S[5] = [
|
|
563
|
+
Q(" version 0.1.2 ", -1)
|
|
564
564
|
])]),
|
|
565
565
|
_: 1
|
|
566
566
|
})
|
|
@@ -571,7 +571,7 @@ const Jt = /* @__PURE__ */ D(Un, [["render", Wn]]), Kn = { class: "h-100" }, Fn
|
|
|
571
571
|
default: s(() => [
|
|
572
572
|
f("div", {
|
|
573
573
|
class: Y(["cp d-flex align-items-center", [["classic", "headerLeft", "headerRight", "headerRightPro"].includes(c.value) ? "text-white" : "text-muted"]]),
|
|
574
|
-
onClick:
|
|
574
|
+
onClick: S[1] || (S[1] = ut(() => {
|
|
575
575
|
}, ["prevent"]))
|
|
576
576
|
}, [
|
|
577
577
|
u(x, { class: "h-75" }, {
|
|
@@ -677,13 +677,13 @@ function eo(e, t, n, o) {
|
|
|
677
677
|
];
|
|
678
678
|
return a.join("");
|
|
679
679
|
}
|
|
680
|
-
function
|
|
680
|
+
function St(e) {
|
|
681
681
|
return ce(e) / 255;
|
|
682
682
|
}
|
|
683
683
|
function ce(e) {
|
|
684
684
|
return parseInt(e, 16);
|
|
685
685
|
}
|
|
686
|
-
var
|
|
686
|
+
var Ct = {
|
|
687
687
|
aliceblue: "#f0f8ff",
|
|
688
688
|
antiquewhite: "#faebd7",
|
|
689
689
|
aqua: "#00ffff",
|
|
@@ -844,8 +844,8 @@ function Ne(e) {
|
|
|
844
844
|
a: n
|
|
845
845
|
};
|
|
846
846
|
}
|
|
847
|
-
var to = "[-\\+]?\\d+%?", no = "[-\\+]?\\d*\\.\\d+%?",
|
|
848
|
-
CSS_UNIT: new RegExp(
|
|
847
|
+
var to = "[-\\+]?\\d+%?", no = "[-\\+]?\\d*\\.\\d+%?", Se = "(?:".concat(no, ")|(?:").concat(to, ")"), qe = "[\\s|\\(]+(".concat(Se, ")[,|\\s]+(").concat(Se, ")[,|\\s]+(").concat(Se, ")\\s*\\)?"), Xe = "[\\s|\\(]+(".concat(Se, ")[,|\\s]+(").concat(Se, ")[,|\\s]+(").concat(Se, ")[,|\\s]+(").concat(Se, ")\\s*\\)?"), fe = {
|
|
848
|
+
CSS_UNIT: new RegExp(Se),
|
|
849
849
|
rgb: new RegExp("rgb" + qe),
|
|
850
850
|
rgba: new RegExp("rgba" + Xe),
|
|
851
851
|
hsl: new RegExp("hsl" + qe),
|
|
@@ -861,8 +861,8 @@ function oo(e) {
|
|
|
861
861
|
if (e = e.trim().toLowerCase(), e.length === 0)
|
|
862
862
|
return !1;
|
|
863
863
|
var t = !1;
|
|
864
|
-
if (
|
|
865
|
-
e =
|
|
864
|
+
if (Ct[e])
|
|
865
|
+
e = Ct[e], t = !0;
|
|
866
866
|
else if (e === "transparent")
|
|
867
867
|
return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
|
868
868
|
var n = fe.rgb.exec(e);
|
|
@@ -870,7 +870,7 @@ function oo(e) {
|
|
|
870
870
|
r: ce(n[1]),
|
|
871
871
|
g: ce(n[2]),
|
|
872
872
|
b: ce(n[3]),
|
|
873
|
-
a:
|
|
873
|
+
a: St(n[4]),
|
|
874
874
|
format: t ? "name" : "hex8"
|
|
875
875
|
} : (n = fe.hex6.exec(e), n ? {
|
|
876
876
|
r: ce(n[1]),
|
|
@@ -881,7 +881,7 @@ function oo(e) {
|
|
|
881
881
|
r: ce(n[1] + n[1]),
|
|
882
882
|
g: ce(n[2] + n[2]),
|
|
883
883
|
b: ce(n[3] + n[3]),
|
|
884
|
-
a:
|
|
884
|
+
a: St(n[4] + n[4]),
|
|
885
885
|
format: t ? "name" : "hex8"
|
|
886
886
|
} : (n = fe.hex3.exec(e), n ? {
|
|
887
887
|
r: ce(n[1] + n[1]),
|
|
@@ -1003,7 +1003,7 @@ Object.keys(et).forEach(function(e) {
|
|
|
1003
1003
|
}), tt[e].primary = tt[e][5];
|
|
1004
1004
|
});
|
|
1005
1005
|
var io = Ve.blue, co = Symbol("iconContext"), qt = function() {
|
|
1006
|
-
return
|
|
1006
|
+
return C(co, {
|
|
1007
1007
|
prefixCls: B("anticon"),
|
|
1008
1008
|
rootClassName: B(""),
|
|
1009
1009
|
csp: B()
|
|
@@ -1177,14 +1177,14 @@ function an(e) {
|
|
|
1177
1177
|
function wo(e) {
|
|
1178
1178
|
return dt() ? an(e) instanceof ShadowRoot : !1;
|
|
1179
1179
|
}
|
|
1180
|
-
function
|
|
1180
|
+
function So(e) {
|
|
1181
1181
|
return wo(e) ? an(e) : null;
|
|
1182
1182
|
}
|
|
1183
|
-
var
|
|
1183
|
+
var Co = function() {
|
|
1184
1184
|
var t = qt(), n = t.prefixCls, o = t.csp, a = pn(), l = ko;
|
|
1185
1185
|
n && (l = l.replace(/anticon/g, n.value)), Me(function() {
|
|
1186
1186
|
if (dt()) {
|
|
1187
|
-
var i = a.vnode.el, c =
|
|
1187
|
+
var i = a.vnode.el, c = So(i);
|
|
1188
1188
|
vo(l, "@ant-design-vue-icons", {
|
|
1189
1189
|
prepend: !0,
|
|
1190
1190
|
csp: o.value,
|
|
@@ -1321,7 +1321,7 @@ function Po() {
|
|
|
1321
1321
|
var zo = X({
|
|
1322
1322
|
name: "InsertStyles",
|
|
1323
1323
|
setup: function() {
|
|
1324
|
-
return
|
|
1324
|
+
return Co(), function() {
|
|
1325
1325
|
return null;
|
|
1326
1326
|
};
|
|
1327
1327
|
}
|
|
@@ -1404,7 +1404,7 @@ ln(io.primary);
|
|
|
1404
1404
|
var me = function(t, n) {
|
|
1405
1405
|
var o, a = Nt({}, t, n.attrs), l = a.class, i = a.icon, c = a.spin, p = a.rotate, m = a.tabindex, y = a.twoToneColor, _ = a.onClick, h = Vo(a, Lo), g = qt(), b = g.prefixCls, A = g.rootClassName, M = (o = {}, Pe(o, A.value, !!A.value), Pe(o, b.value, !0), Pe(o, "".concat(b.value, "-").concat(i.name), !!i.name), Pe(o, "".concat(b.value, "-spin"), !!c || i.name === "loading"), o), T = m;
|
|
1406
1406
|
T === void 0 && _ && (T = -1);
|
|
1407
|
-
var
|
|
1407
|
+
var S = p ? {
|
|
1408
1408
|
msTransform: "rotate(".concat(p, "deg)"),
|
|
1409
1409
|
transform: "rotate(".concat(p, "deg)")
|
|
1410
1410
|
} : void 0, k = on(y), x = jo(k, 2), z = x[0], R = x[1];
|
|
@@ -1419,7 +1419,7 @@ var me = function(t, n) {
|
|
|
1419
1419
|
icon: i,
|
|
1420
1420
|
primaryColor: z,
|
|
1421
1421
|
secondaryColor: R,
|
|
1422
|
-
style:
|
|
1422
|
+
style: S
|
|
1423
1423
|
}, null), u(zo, null, null)]);
|
|
1424
1424
|
};
|
|
1425
1425
|
me.props = {
|
|
@@ -1662,16 +1662,16 @@ const aa = X({
|
|
|
1662
1662
|
}, M = () => {
|
|
1663
1663
|
var k = l.value, x = k.href || "/";
|
|
1664
1664
|
k.meta.affix || p(k.name), window.open(x);
|
|
1665
|
-
}, T =
|
|
1666
|
-
|
|
1665
|
+
}, T = C("routerDepth"), S = B([]);
|
|
1666
|
+
S.value = n.options.routes;
|
|
1667
1667
|
for (let k = 0; k < T.value; k++)
|
|
1668
|
-
|
|
1668
|
+
S.value = S.value[0].children;
|
|
1669
1669
|
return Me(() => {
|
|
1670
|
-
var k = gt(
|
|
1670
|
+
var k = gt(S.value, (z) => z.name == n.currentRoute.value.name);
|
|
1671
1671
|
if (k)
|
|
1672
1672
|
k.fullPath = k.path, c(k);
|
|
1673
|
-
else if (
|
|
1674
|
-
var x = kt(
|
|
1673
|
+
else if (S.value.length) {
|
|
1674
|
+
var x = kt(S.value);
|
|
1675
1675
|
x.fullPath = x.path, c(x);
|
|
1676
1676
|
}
|
|
1677
1677
|
}), ue(n.currentRoute, (k) => {
|
|
@@ -1709,7 +1709,7 @@ function ua(e, t, n, o, a, l) {
|
|
|
1709
1709
|
class: "tabs"
|
|
1710
1710
|
}, {
|
|
1711
1711
|
default: s(() => [
|
|
1712
|
-
(d(!0), I(
|
|
1712
|
+
(d(!0), I(U, null, Z(e.tagList, (T) => (d(), v(A, {
|
|
1713
1713
|
key: T.fullPath,
|
|
1714
1714
|
class: "mb-0",
|
|
1715
1715
|
closable: !T.meta.affix
|
|
@@ -1722,7 +1722,7 @@ function ua(e, t, n, o, a, l) {
|
|
|
1722
1722
|
]),
|
|
1723
1723
|
tab: s(() => [
|
|
1724
1724
|
f("div", {
|
|
1725
|
-
onContextmenu: ut((
|
|
1725
|
+
onContextmenu: ut((S) => e.openContextMenu(S, T), ["prevent"])
|
|
1726
1726
|
}, [
|
|
1727
1727
|
u(b, { trigger: ["contextmenu"] }, {
|
|
1728
1728
|
overlay: s(() => [
|
|
@@ -1732,7 +1732,7 @@ function ua(e, t, n, o, a, l) {
|
|
|
1732
1732
|
}, {
|
|
1733
1733
|
default: s(() => [
|
|
1734
1734
|
u(p, {
|
|
1735
|
-
onClick: t[0] || (t[0] = (
|
|
1735
|
+
onClick: t[0] || (t[0] = (S) => e.refreshTab())
|
|
1736
1736
|
}, {
|
|
1737
1737
|
default: s(() => [
|
|
1738
1738
|
u(c, { class: "ps-1" }),
|
|
@@ -1742,7 +1742,7 @@ function ua(e, t, n, o, a, l) {
|
|
|
1742
1742
|
}),
|
|
1743
1743
|
u(m),
|
|
1744
1744
|
u(p, {
|
|
1745
|
-
onClick: t[1] || (t[1] = (
|
|
1745
|
+
onClick: t[1] || (t[1] = (S) => e.closeTabs())
|
|
1746
1746
|
}, {
|
|
1747
1747
|
default: s(() => [
|
|
1748
1748
|
u(y, { class: "ps-1" }),
|
|
@@ -1751,7 +1751,7 @@ function ua(e, t, n, o, a, l) {
|
|
|
1751
1751
|
_: 1
|
|
1752
1752
|
}),
|
|
1753
1753
|
u(p, {
|
|
1754
|
-
onClick: t[2] || (t[2] = (
|
|
1754
|
+
onClick: t[2] || (t[2] = (S) => e.closeOtherTabs())
|
|
1755
1755
|
}, {
|
|
1756
1756
|
default: s(() => [
|
|
1757
1757
|
u(y, { class: "ps-1" }),
|
|
@@ -1761,7 +1761,7 @@ function ua(e, t, n, o, a, l) {
|
|
|
1761
1761
|
}),
|
|
1762
1762
|
u(m),
|
|
1763
1763
|
u(p, {
|
|
1764
|
-
onClick: t[3] || (t[3] = (
|
|
1764
|
+
onClick: t[3] || (t[3] = (S) => e.screen())
|
|
1765
1765
|
}, {
|
|
1766
1766
|
default: s(() => [
|
|
1767
1767
|
u(_, { class: "ps-1" }),
|
|
@@ -1770,7 +1770,7 @@ function ua(e, t, n, o, a, l) {
|
|
|
1770
1770
|
_: 1
|
|
1771
1771
|
}),
|
|
1772
1772
|
u(p, {
|
|
1773
|
-
onClick: t[4] || (t[4] = (
|
|
1773
|
+
onClick: t[4] || (t[4] = (S) => e.openWindow())
|
|
1774
1774
|
}, {
|
|
1775
1775
|
default: s(() => [
|
|
1776
1776
|
u(h, { class: "ps-1" }),
|
|
@@ -1825,14 +1825,14 @@ const xe = /* @__PURE__ */ D(aa, [["render", ua]]), ia = { class: "d-flex justif
|
|
|
1825
1825
|
i[2] || (i[2] = f("div", null, null, -1)),
|
|
1826
1826
|
u(p, { separator: ">" }, {
|
|
1827
1827
|
default: s(() => [
|
|
1828
|
-
(d(!0), I(
|
|
1828
|
+
(d(!0), I(U, null, Z(o.value, (y) => (d(), I(U, {
|
|
1829
1829
|
key: y.meta.title
|
|
1830
1830
|
}, [
|
|
1831
1831
|
y.meta.title ? (d(), v(c, {
|
|
1832
1832
|
key: y.meta.title
|
|
1833
1833
|
}, {
|
|
1834
1834
|
default: s(() => [
|
|
1835
|
-
|
|
1835
|
+
Q(j(y.meta.title), 1)
|
|
1836
1836
|
]),
|
|
1837
1837
|
_: 2
|
|
1838
1838
|
}, 1024)) : E("", !0)
|
|
@@ -1889,7 +1889,7 @@ const xe = /* @__PURE__ */ D(aa, [["render", ua]]), ia = { class: "d-flex justif
|
|
|
1889
1889
|
}, pa = /* @__PURE__ */ D(da, [["__scopeId", "data-v-1f824705"]]), fa = X({
|
|
1890
1890
|
components: { NavMenu: ye, MobileMenuButton: pa },
|
|
1891
1891
|
setup() {
|
|
1892
|
-
const e = oe(), t =
|
|
1892
|
+
const e = oe(), t = C("menuDrawerRef"), n = () => {
|
|
1893
1893
|
t.value.open = !0;
|
|
1894
1894
|
};
|
|
1895
1895
|
return {
|
|
@@ -1905,7 +1905,7 @@ function va(e, t, n, o, a, l) {
|
|
|
1905
1905
|
const i = r("a-icon"), c = r("a-button");
|
|
1906
1906
|
r("a-space");
|
|
1907
1907
|
const p = r("a-layout-header");
|
|
1908
|
-
return d(), I(
|
|
1908
|
+
return d(), I(U, null, [
|
|
1909
1909
|
E("", !0),
|
|
1910
1910
|
u(p, { class: "px-2 header-h40 shadow-sm ant-primary-color bg-white" }, {
|
|
1911
1911
|
default: s(() => [
|
|
@@ -1944,37 +1944,42 @@ const Ee = /* @__PURE__ */ D(fa, [["render", va]]), Ie = {
|
|
|
1944
1944
|
const t = oe(), n = ae();
|
|
1945
1945
|
w(() => t.state.app.auth);
|
|
1946
1946
|
const o = w(() => t.state.auth.userInfo), a = w(() => t.state.app.appLayoutType);
|
|
1947
|
-
w(() => t.state.app.casServerLoginUrl), w(() => t.state.app.casServerLogoutUrl)
|
|
1947
|
+
w(() => t.state.app.casServerLoginUrl), w(() => t.state.app.casServerLogoutUrl);
|
|
1948
|
+
const l = w(() => t.state.auth.workflowSummaryVersion);
|
|
1949
|
+
ue(l, () => {
|
|
1948
1950
|
t.dispatch("getUserInfo");
|
|
1949
1951
|
}, { immediate: !0 });
|
|
1950
|
-
const
|
|
1952
|
+
const i = () => {
|
|
1951
1953
|
n.push({ path: "/FF26F28AD11B5E8B7368F57D1ABAD485" });
|
|
1952
1954
|
};
|
|
1953
|
-
return (
|
|
1954
|
-
const
|
|
1955
|
-
return d(), I(
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1955
|
+
return (c, p) => {
|
|
1956
|
+
const m = r("a-icon"), y = r("a-badge");
|
|
1957
|
+
return d(), I(U, null, [
|
|
1958
|
+
Q(j(l.value) + " ", 1),
|
|
1959
|
+
f("div", {
|
|
1960
|
+
class: "d-flex align-items-center cursor-pointer",
|
|
1961
|
+
onClick: i
|
|
1962
|
+
}, [
|
|
1963
|
+
u(y, {
|
|
1964
|
+
count: o.value.todoCount,
|
|
1965
|
+
size: "small"
|
|
1966
|
+
}, {
|
|
1967
|
+
default: s(() => [
|
|
1968
|
+
u(m, {
|
|
1969
|
+
type: "icon-bell",
|
|
1970
|
+
class: Y(["fs-5", [["classic", "headerLeft", "headerRight", "headerRightPro"].includes(a.value) ? "text-white" : "text-muted"]])
|
|
1971
|
+
}, null, 8, ["class"])
|
|
1972
|
+
]),
|
|
1973
|
+
_: 1
|
|
1974
|
+
}, 8, ["count"])
|
|
1975
|
+
])
|
|
1976
|
+
], 64);
|
|
1972
1977
|
};
|
|
1973
1978
|
}
|
|
1974
1979
|
}, ba = X({
|
|
1975
|
-
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar:
|
|
1980
|
+
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar: Ce, MobileHeader: Ee, WorkflowTodoBell: Ie },
|
|
1976
1981
|
setup() {
|
|
1977
|
-
const e = oe(), t = ae(), n =
|
|
1982
|
+
const e = oe(), t = ae(), n = C("menu"), o = C("breakpoint", B(!1)), a = C("onBreakpoint", () => {
|
|
1978
1983
|
}), l = (i) => {
|
|
1979
1984
|
t.push(i.key);
|
|
1980
1985
|
};
|
|
@@ -1994,8 +1999,8 @@ const Ee = /* @__PURE__ */ D(fa, [["render", va]]), Ie = {
|
|
|
1994
1999
|
todoBellEnabled: w(() => e.state.app.todoBellEnabled)
|
|
1995
2000
|
};
|
|
1996
2001
|
}
|
|
1997
|
-
}), _a = { class: "d-flex justify-content-between" }, ga = { class: "d-flex align-items-center" }, ka = { class: "mb-0 px-2 fs-5 fw-bold" }, wa = { class: "flex-fill d-flex justify-content-end h-100" },
|
|
1998
|
-
function
|
|
2002
|
+
}), _a = { class: "d-flex justify-content-between" }, ga = { class: "d-flex align-items-center" }, ka = { class: "mb-0 px-2 fs-5 fw-bold" }, wa = { class: "flex-fill d-flex justify-content-end h-100" }, Sa = { key: 0 };
|
|
2003
|
+
function Ca(e, t, n, o, a, l) {
|
|
1999
2004
|
const i = r("a-icon"), c = r("NavMenu"), p = r("a-menu"), m = r("a-divider"), y = r("WorkflowTodoBell"), _ = r("UserBar"), h = r("a-space"), g = r("a-layout-header"), b = r("router-view"), A = r("a-layout-content"), M = r("a-layout");
|
|
2000
2005
|
return d(), v(M, { class: "app-layout bg-white" }, {
|
|
2001
2006
|
default: s(() => [
|
|
@@ -2025,7 +2030,7 @@ function Sa(e, t, n, o, a, l) {
|
|
|
2025
2030
|
]),
|
|
2026
2031
|
_: 1
|
|
2027
2032
|
}, 8, ["selectedKeys", "onClick"]),
|
|
2028
|
-
e.fase ? (d(), I("div",
|
|
2033
|
+
e.fase ? (d(), I("div", Sa, [
|
|
2029
2034
|
u(m, {
|
|
2030
2035
|
type: "vertical",
|
|
2031
2036
|
class: "h-50"
|
|
@@ -2062,13 +2067,13 @@ function Sa(e, t, n, o, a, l) {
|
|
|
2062
2067
|
_: 1
|
|
2063
2068
|
});
|
|
2064
2069
|
}
|
|
2065
|
-
const Ba = /* @__PURE__ */ D(ba, [["render",
|
|
2066
|
-
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar:
|
|
2070
|
+
const Ba = /* @__PURE__ */ D(ba, [["render", Ca]]), xa = X({
|
|
2071
|
+
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar: Ce, MobileHeader: Ee, WorkflowTodoBell: Ie },
|
|
2067
2072
|
setup() {
|
|
2068
|
-
const e = oe(), t = ae(), n =
|
|
2073
|
+
const e = oe(), t = ae(), n = C("menu"), o = C("breakpoint", B(!1)), a = C("onBreakpoint", () => {
|
|
2069
2074
|
}), l = (m) => {
|
|
2070
2075
|
t.push(m.key);
|
|
2071
|
-
}, { useToken: i } = Qe, { token: c } = i(), p =
|
|
2076
|
+
}, { useToken: i } = Qe, { token: c } = i(), p = C("layoutSiderOptionsCollapsed", B(!0));
|
|
2072
2077
|
return ue(p, (m) => {
|
|
2073
2078
|
m || e.commit("toggleCollapseMenu", !m);
|
|
2074
2079
|
}), {
|
|
@@ -2094,7 +2099,7 @@ const Ba = /* @__PURE__ */ D(ba, [["render", Sa]]), xa = X({
|
|
|
2094
2099
|
style: { "overflow-x": "hidden!important" }
|
|
2095
2100
|
};
|
|
2096
2101
|
function Oa(e, t, n, o, a, l) {
|
|
2097
|
-
const i = r("MobileHeader"), c = r("WorkflowTodoBell"), p = r("a-divider"), m = r("UserBar"), y = r("a-space"), _ = r("a-layout-header"), h = r("NavMenu"), g = r("a-menu"), b = r("a-layout-sider"), A = r("Breadcrumb"), M = r("TabTags"), T = r("router-view"),
|
|
2102
|
+
const i = r("MobileHeader"), c = r("WorkflowTodoBell"), p = r("a-divider"), m = r("UserBar"), y = r("a-space"), _ = r("a-layout-header"), h = r("NavMenu"), g = r("a-menu"), b = r("a-layout-sider"), A = r("Breadcrumb"), M = r("TabTags"), T = r("router-view"), S = r("a-layout-content"), k = r("a-icon"), x = r("a-layout-footer"), z = r("a-layout");
|
|
2098
2103
|
return d(), v(z, { class: "app-layout" }, {
|
|
2099
2104
|
default: s(() => [
|
|
2100
2105
|
e.breakpoint ? (d(), v(i, { key: 0 })) : (d(), v(_, {
|
|
@@ -2165,7 +2170,7 @@ function Oa(e, t, n, o, a, l) {
|
|
|
2165
2170
|
_: 1
|
|
2166
2171
|
})),
|
|
2167
2172
|
e.tagsBarIsEnabled && !e.breakpoint ? (d(), v(M, { key: 1 })) : E("", !0),
|
|
2168
|
-
u(
|
|
2173
|
+
u(S, {
|
|
2169
2174
|
id: "ant-layout-content",
|
|
2170
2175
|
class: Y(["ofa d-flex flex-column", { "p-0": e.breakpoint, "ps-0": !e.breakpoint }])
|
|
2171
2176
|
}, {
|
|
@@ -2186,9 +2191,9 @@ function Oa(e, t, n, o, a, l) {
|
|
|
2186
2191
|
});
|
|
2187
2192
|
}
|
|
2188
2193
|
const Ra = /* @__PURE__ */ D(xa, [["render", Oa], ["__scopeId", "data-v-16b05c4f"]]), Aa = X({
|
|
2189
|
-
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar:
|
|
2194
|
+
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar: Ce, MobileHeader: Ee, WorkflowTodoBell: Ie },
|
|
2190
2195
|
setup() {
|
|
2191
|
-
const e = oe(), t = ae(), n =
|
|
2196
|
+
const e = oe(), t = ae(), n = C("menu"), o = C("breakpoint", B(!1)), a = C("onBreakpoint", () => {
|
|
2192
2197
|
}), l = (i) => {
|
|
2193
2198
|
t.push(i.key);
|
|
2194
2199
|
};
|
|
@@ -2266,9 +2271,9 @@ function za(e, t, n, o, a, l) {
|
|
|
2266
2271
|
});
|
|
2267
2272
|
}
|
|
2268
2273
|
const La = /* @__PURE__ */ D(Aa, [["render", za]]), ja = X({
|
|
2269
|
-
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar:
|
|
2274
|
+
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar: Ce, MobileHeader: Ee, WorkflowTodoBell: Ie },
|
|
2270
2275
|
setup() {
|
|
2271
|
-
const e = oe(), t = ae(), { useToken: n } = Qe, { token: o } = n(), a =
|
|
2276
|
+
const e = oe(), t = ae(), { useToken: n } = Qe, { token: o } = n(), a = C("menu"), l = C("pmenu"), i = C("nextMenu"), c = C("breakpoint", B(!1)), p = C("onBreakpoint", () => {
|
|
2272
2277
|
}), m = (_) => {
|
|
2273
2278
|
t.push(_.key);
|
|
2274
2279
|
}, y = (_) => {
|
|
@@ -2310,7 +2315,7 @@ const La = /* @__PURE__ */ D(Aa, [["render", za]]), ja = X({
|
|
|
2310
2315
|
style: { "overflow-x": "hidden!important" }
|
|
2311
2316
|
};
|
|
2312
2317
|
function Ja(e, t, n, o, a, l) {
|
|
2313
|
-
const i = r("MobileHeader"), c = r("a-avatar"), p = r("a-icon"), m = r("a-layout-sider"), y = r("NavMenu"), _ = r("a-menu"), h = r("WorkflowTodoBell"), g = r("a-divider"), b = r("UserBar"), A = r("a-space"), M = r("Breadcrumb"), T = r("a-layout-header"),
|
|
2318
|
+
const i = r("MobileHeader"), c = r("a-avatar"), p = r("a-icon"), m = r("a-layout-sider"), y = r("NavMenu"), _ = r("a-menu"), h = r("WorkflowTodoBell"), g = r("a-divider"), b = r("UserBar"), A = r("a-space"), M = r("Breadcrumb"), T = r("a-layout-header"), S = r("TabTags"), k = r("router-view"), x = r("a-layout-content"), z = r("a-layout");
|
|
2314
2319
|
return d(), v(z, { class: "app-layout sidebar-layout h-100" }, {
|
|
2315
2320
|
default: s(() => [
|
|
2316
2321
|
e.breakpoint ? (d(), v(i, { key: 0 })) : (d(), v(m, {
|
|
@@ -2330,11 +2335,11 @@ function Ja(e, t, n, o, a, l) {
|
|
|
2330
2335
|
E("", !0),
|
|
2331
2336
|
E("", !0)
|
|
2332
2337
|
])),
|
|
2333
|
-
(d(!0), I(
|
|
2338
|
+
(d(!0), I(U, null, Z(e.menu, (R) => (d(), I("li", {
|
|
2334
2339
|
class: Y(["px-2 py-3", e.pmenu?.path == R.path ? "active" : ""]),
|
|
2335
2340
|
key: R,
|
|
2336
2341
|
style: it({ background: e.pmenu?.path == R.path ? e.token.colorPrimaryHover : "" }),
|
|
2337
|
-
onClick: (
|
|
2342
|
+
onClick: (W) => e.refreshSubMenu(R)
|
|
2338
2343
|
}, [
|
|
2339
2344
|
u(p, {
|
|
2340
2345
|
type: R.meta.icon
|
|
@@ -2405,7 +2410,7 @@ function Ja(e, t, n, o, a, l) {
|
|
|
2405
2410
|
]),
|
|
2406
2411
|
_: 1
|
|
2407
2412
|
})),
|
|
2408
|
-
e.tagsBarIsEnabled && !e.breakpoint ? (d(), v(
|
|
2413
|
+
e.tagsBarIsEnabled && !e.breakpoint ? (d(), v(S, { key: 1 })) : E("", !0),
|
|
2409
2414
|
u(x, {
|
|
2410
2415
|
id: "ant-layout-content",
|
|
2411
2416
|
class: Y(["ofa bg-white", { "p-0": e.breakpoint, "p-0": !e.breakpoint }])
|
|
@@ -2437,20 +2442,20 @@ const Za = /* @__PURE__ */ D(ja, [["render", Ja], ["__scopeId", "data-v-08491cb7
|
|
|
2437
2442
|
}, ll = {
|
|
2438
2443
|
__name: "SidebarAppProLayout",
|
|
2439
2444
|
setup(e) {
|
|
2440
|
-
const t = oe(), n = ae(), { useToken: o } = Qe, { token: a } = o(), l =
|
|
2441
|
-
}), y = (
|
|
2442
|
-
n.push(
|
|
2443
|
-
}, _ = (
|
|
2444
|
-
i.value =
|
|
2445
|
+
const t = oe(), n = ae(), { useToken: o } = Qe, { token: a } = o(), l = C("menu"), i = C("pmenu"), c = C("nextMenu"), p = C("breakpoint", B(!1)), m = C("onBreakpoint", () => {
|
|
2446
|
+
}), y = (S) => {
|
|
2447
|
+
n.push(S.key);
|
|
2448
|
+
}, _ = (S) => {
|
|
2449
|
+
i.value = S, c.value = i.value.children, S.children || n.push(S.path);
|
|
2445
2450
|
}, h = B(0), g = w(() => t.state.app.menuIsCollapse);
|
|
2446
|
-
ue(() => [c?.value], ([
|
|
2447
|
-
!
|
|
2451
|
+
ue(() => [c?.value], ([S]) => {
|
|
2452
|
+
!S || !Array.isArray(S) || S.length === 0 ? g.value ? h.value > 0 && (h.value = 0) : (h.value = 0, t.commit("TOGGLE_menuIsCollapse")) : (h.value = 80, g.value && t.commit("TOGGLE_menuIsCollapse"));
|
|
2448
2453
|
});
|
|
2449
2454
|
const b = w(() => t.state.app.appLogo);
|
|
2450
2455
|
w(() => t.state.app.appName);
|
|
2451
2456
|
const A = w(() => t.state.app.tagsBarIsEnabled), M = w(() => t.state.app.menuItemActiveStyle), T = w(() => t.state.app.todoBellEnabled);
|
|
2452
|
-
return (
|
|
2453
|
-
const x = r("a-avatar"), z = r("a-icon"), R = r("a-layout-sider"),
|
|
2457
|
+
return (S, k) => {
|
|
2458
|
+
const x = r("a-avatar"), z = r("a-icon"), R = r("a-layout-sider"), W = r("a-divider"), G = r("a-space"), F = r("a-layout-header"), q = r("a-menu"), ee = r("router-view"), te = r("a-layout-content"), se = r("a-layout");
|
|
2454
2459
|
return d(), v(se, { class: "app-layout sidebar-layout h-100" }, {
|
|
2455
2460
|
default: s(() => [
|
|
2456
2461
|
O(p) ? (d(), v(Ee, { key: 0 })) : (d(), v(R, {
|
|
@@ -2470,7 +2475,7 @@ const Za = /* @__PURE__ */ D(ja, [["render", Ja], ["__scopeId", "data-v-08491cb7
|
|
|
2470
2475
|
E("", !0),
|
|
2471
2476
|
E("", !0)
|
|
2472
2477
|
])),
|
|
2473
|
-
(d(!0), I(
|
|
2478
|
+
(d(!0), I(U, null, Z(O(l), (le) => (d(), I("li", {
|
|
2474
2479
|
class: Y(["py-2", O(i)?.path == le.path ? "active" : ""]),
|
|
2475
2480
|
key: le,
|
|
2476
2481
|
style: it({ background: O(i)?.path == le.path ? O(a).colorPrimaryHover : "" }),
|
|
@@ -2496,15 +2501,15 @@ const Za = /* @__PURE__ */ D(ja, [["render", Ja], ["__scopeId", "data-v-08491cb7
|
|
|
2496
2501
|
default: s(() => [
|
|
2497
2502
|
u($e, { showMenuToggle: !0 }, {
|
|
2498
2503
|
userBar: s(() => [
|
|
2499
|
-
u(
|
|
2504
|
+
u(G, { size: "middle" }, {
|
|
2500
2505
|
default: s(() => [
|
|
2501
2506
|
T.value ? (d(), v(Ie, { key: 0 })) : E("", !0),
|
|
2502
|
-
T.value ? (d(), v(
|
|
2507
|
+
T.value ? (d(), v(W, {
|
|
2503
2508
|
key: 1,
|
|
2504
2509
|
type: "vertical",
|
|
2505
2510
|
class: ""
|
|
2506
2511
|
})) : E("", !0),
|
|
2507
|
-
u(
|
|
2512
|
+
u(Ce)
|
|
2508
2513
|
]),
|
|
2509
2514
|
_: 1
|
|
2510
2515
|
})
|
|
@@ -2531,7 +2536,7 @@ const Za = /* @__PURE__ */ D(ja, [["render", Ja], ["__scopeId", "data-v-08491cb7
|
|
|
2531
2536
|
f("div", al, [
|
|
2532
2537
|
u(q, {
|
|
2533
2538
|
class: Y(["bg-transparent", M.value]),
|
|
2534
|
-
selectedKeys: [
|
|
2539
|
+
selectedKeys: [S.$route.path],
|
|
2535
2540
|
mode: "inline",
|
|
2536
2541
|
onClick: y
|
|
2537
2542
|
}, {
|
|
@@ -2572,9 +2577,9 @@ const Za = /* @__PURE__ */ D(ja, [["render", Ja], ["__scopeId", "data-v-08491cb7
|
|
|
2572
2577
|
};
|
|
2573
2578
|
}
|
|
2574
2579
|
}, rl = /* @__PURE__ */ D(ll, [["__scopeId", "data-v-8e854fe2"]]), sl = X({
|
|
2575
|
-
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar:
|
|
2580
|
+
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar: Ce, MobileHeader: Ee, WorkflowTodoBell: Ie },
|
|
2576
2581
|
setup() {
|
|
2577
|
-
const e = oe(), t = ae(), n =
|
|
2582
|
+
const e = oe(), t = ae(), n = C("menu"), o = C("pmenu"), a = C("nextMenu"), l = C("breakpoint", B(!1)), i = C("onBreakpoint", () => {
|
|
2578
2583
|
}), c = (m) => {
|
|
2579
2584
|
t.push(m.key);
|
|
2580
2585
|
}, p = (m) => {
|
|
@@ -2607,7 +2612,7 @@ const Za = /* @__PURE__ */ D(ja, [["render", Ja], ["__scopeId", "data-v-08491cb7
|
|
|
2607
2612
|
style: { "overflow-x": "hidden!important" }
|
|
2608
2613
|
};
|
|
2609
2614
|
function yl(e, t, n, o, a, l) {
|
|
2610
|
-
const i = r("MobileHeader"), c = r("a-icon"), p = r("WorkflowTodoBell"), m = r("a-divider"), y = r("UserBar"), _ = r("a-space"), h = r("a-layout-header"), g = r("NavMenu"), b = r("a-menu"), A = r("a-layout-sider"), M = r("Breadcrumb"), T = r("TabTags"),
|
|
2615
|
+
const i = r("MobileHeader"), c = r("a-icon"), p = r("WorkflowTodoBell"), m = r("a-divider"), y = r("UserBar"), _ = r("a-space"), h = r("a-layout-header"), g = r("NavMenu"), b = r("a-menu"), A = r("a-layout-sider"), M = r("Breadcrumb"), T = r("TabTags"), S = r("router-view"), k = r("a-layout-content"), x = r("a-layout");
|
|
2611
2616
|
return d(), v(x, { class: "app-layout header-layout h-100" }, {
|
|
2612
2617
|
default: s(() => [
|
|
2613
2618
|
e.breakpoint ? (d(), v(i, { key: 0 })) : (d(), v(h, {
|
|
@@ -2619,7 +2624,7 @@ function yl(e, t, n, o, a, l) {
|
|
|
2619
2624
|
f("span", il, j(e.appName), 1),
|
|
2620
2625
|
f("div", cl, [
|
|
2621
2626
|
f("ul", dl, [
|
|
2622
|
-
(d(!0), I(
|
|
2627
|
+
(d(!0), I(U, null, Z(e.menu, (z) => (d(), I("li", {
|
|
2623
2628
|
class: Y(["px-3", e.pmenu?.path == z?.path ? "active" : ""]),
|
|
2624
2629
|
key: z,
|
|
2625
2630
|
onClick: (R) => e.refreshSubMenu(z)
|
|
@@ -2628,7 +2633,7 @@ function yl(e, t, n, o, a, l) {
|
|
|
2628
2633
|
type: z.meta.icon,
|
|
2629
2634
|
class: "font1-15"
|
|
2630
2635
|
}, null, 8, ["type"]),
|
|
2631
|
-
|
|
2636
|
+
Q(" " + j(z.meta.title), 1)
|
|
2632
2637
|
], 10, pl))), 128))
|
|
2633
2638
|
]),
|
|
2634
2639
|
u(_, { size: "middle" }, {
|
|
@@ -2699,7 +2704,7 @@ function yl(e, t, n, o, a, l) {
|
|
|
2699
2704
|
class: Y(["ofa bg-white", { "p-0": e.breakpoint, "p-0": !e.breakpoint }])
|
|
2700
2705
|
}, {
|
|
2701
2706
|
default: s(() => [
|
|
2702
|
-
u(
|
|
2707
|
+
u(S)
|
|
2703
2708
|
]),
|
|
2704
2709
|
_: 1
|
|
2705
2710
|
}, 8, ["class"])
|
|
@@ -2714,9 +2719,9 @@ function yl(e, t, n, o, a, l) {
|
|
|
2714
2719
|
});
|
|
2715
2720
|
}
|
|
2716
2721
|
const hl = /* @__PURE__ */ D(sl, [["render", yl], ["__scopeId", "data-v-49f819ff"]]), vl = X({
|
|
2717
|
-
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar:
|
|
2722
|
+
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar: Ce, MobileHeader: Ee, WorkflowTodoBell: Ie },
|
|
2718
2723
|
setup() {
|
|
2719
|
-
const e = oe(), t = ae(), n =
|
|
2724
|
+
const e = oe(), t = ae(), n = C("menu"), o = C("pmenu"), a = C("nextMenu"), l = C("breakpoint", B(!1)), i = C("onBreakpoint", () => {
|
|
2720
2725
|
}), c = (m) => {
|
|
2721
2726
|
t.push(m.key);
|
|
2722
2727
|
}, p = (m) => {
|
|
@@ -2741,13 +2746,13 @@ const hl = /* @__PURE__ */ D(sl, [["render", yl], ["__scopeId", "data-v-49f819ff
|
|
|
2741
2746
|
onBreakpoint: i
|
|
2742
2747
|
};
|
|
2743
2748
|
}
|
|
2744
|
-
}), bl = { class: "d-flex justify-content-between" }, _l = { class: "px-2 fw-bold font-125" }, gl = { class: "d-flex justify-content-end flex-fill h-100" }, kl = { class: "nav" }, wl = ["onClick"],
|
|
2749
|
+
}), bl = { class: "d-flex justify-content-between" }, _l = { class: "px-2 fw-bold font-125" }, gl = { class: "d-flex justify-content-end flex-fill h-100" }, kl = { class: "nav" }, wl = ["onClick"], Sl = { class: "border-end h-100 d-flex flex-column" }, Cl = { class: "px-3 m-0 font1 fw-bold border-bottom header-h46 text-scui-9" }, Bl = {
|
|
2745
2750
|
class: "flex-fill overflow-auto",
|
|
2746
2751
|
style: { "overflow-x": "hidden!important" }
|
|
2747
2752
|
};
|
|
2748
2753
|
function xl(e, t, n, o, a, l) {
|
|
2749
|
-
const i = r("a-divider"), c = r("WorkflowTodoBell"), p = r("UserBar"), m = r("a-space"), y = r("a-layout-header"), _ = r("NavMenu"), h = r("a-menu"), g = r("a-layout-sider"), b = r("Breadcrumb"), A = r("TabTags"), M = r("router-view"), T = r("a-layout-content"),
|
|
2750
|
-
return d(), v(
|
|
2754
|
+
const i = r("a-divider"), c = r("WorkflowTodoBell"), p = r("UserBar"), m = r("a-space"), y = r("a-layout-header"), _ = r("NavMenu"), h = r("a-menu"), g = r("a-layout-sider"), b = r("Breadcrumb"), A = r("TabTags"), M = r("router-view"), T = r("a-layout-content"), S = r("a-layout");
|
|
2755
|
+
return d(), v(S, { class: "app-layout header-layout h-100" }, {
|
|
2751
2756
|
default: s(() => [
|
|
2752
2757
|
u(y, { class: "px-3 border-bottom header-h50 bg-header text-white" }, {
|
|
2753
2758
|
default: s(() => [
|
|
@@ -2755,7 +2760,7 @@ function xl(e, t, n, o, a, l) {
|
|
|
2755
2760
|
f("span", _l, j(e.appName), 1),
|
|
2756
2761
|
f("div", gl, [
|
|
2757
2762
|
f("ul", kl, [
|
|
2758
|
-
(d(!0), I(
|
|
2763
|
+
(d(!0), I(U, null, Z(e.menu, (k) => (d(), I("li", {
|
|
2759
2764
|
class: Y(["px-2", e.pmenu.path == k.path ? "active" : ""]),
|
|
2760
2765
|
key: k,
|
|
2761
2766
|
onClick: (x) => e.refreshSubMenu(k)
|
|
@@ -2783,7 +2788,7 @@ function xl(e, t, n, o, a, l) {
|
|
|
2783
2788
|
]),
|
|
2784
2789
|
_: 1
|
|
2785
2790
|
}),
|
|
2786
|
-
u(
|
|
2791
|
+
u(S, null, {
|
|
2787
2792
|
default: s(() => [
|
|
2788
2793
|
u(g, {
|
|
2789
2794
|
theme: "light",
|
|
@@ -2792,8 +2797,8 @@ function xl(e, t, n, o, a, l) {
|
|
|
2792
2797
|
collapsible: ""
|
|
2793
2798
|
}, {
|
|
2794
2799
|
default: s(() => [
|
|
2795
|
-
f("div",
|
|
2796
|
-
f("h2",
|
|
2800
|
+
f("div", Sl, [
|
|
2801
|
+
f("h2", Cl, j(e.pmenu.meta ? e.pmenu.meta.title : ""), 1),
|
|
2797
2802
|
f("div", Bl, [
|
|
2798
2803
|
u(h, {
|
|
2799
2804
|
selectedKeys: [e.$route.path],
|
|
@@ -2811,7 +2816,7 @@ function xl(e, t, n, o, a, l) {
|
|
|
2811
2816
|
]),
|
|
2812
2817
|
_: 1
|
|
2813
2818
|
}, 8, ["collapsed"]),
|
|
2814
|
-
u(
|
|
2819
|
+
u(S, null, {
|
|
2815
2820
|
default: s(() => [
|
|
2816
2821
|
u(y, { class: "breadcrumb mb-0 px-3 bg-white border-bottom header-h46" }, {
|
|
2817
2822
|
default: s(() => [
|
|
@@ -2837,14 +2842,14 @@ function xl(e, t, n, o, a, l) {
|
|
|
2837
2842
|
});
|
|
2838
2843
|
}
|
|
2839
2844
|
const $l = /* @__PURE__ */ D(vl, [["render", xl], ["__scopeId", "data-v-3115387b"]]), El = X({
|
|
2840
|
-
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar:
|
|
2845
|
+
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar: Ce, MobileHeader: Ee, WorkflowTodoBell: Ie },
|
|
2841
2846
|
setup() {
|
|
2842
|
-
const e = oe(), t = ae(), { useToken: n } = Qe, { token: o } = n(), a =
|
|
2847
|
+
const e = oe(), t = ae(), { useToken: n } = Qe, { token: o } = n(), a = C("menu"), l = C("pmenu"), i = C("nextMenu"), c = C("breakpoint", B(!1)), p = C("onBreakpoint", () => {
|
|
2843
2848
|
}), m = (M) => {
|
|
2844
2849
|
t.push(M.key);
|
|
2845
2850
|
}, y = (M) => {
|
|
2846
2851
|
l.value = M, i.value = l?.value?.children, M.children || t.push(M.path);
|
|
2847
|
-
}, _ =
|
|
2852
|
+
}, _ = C("pmenu2", B()), h = C("nextMenu2", B()), g = (M) => {
|
|
2848
2853
|
_.value = M, h.value = _?.value?.children, M.children || t.push(M.path);
|
|
2849
2854
|
}, b = B(0), A = w(() => e.state.app.menuIsCollapse);
|
|
2850
2855
|
return ue(() => [i?.value, h?.value], ([M, T]) => {
|
|
@@ -2880,7 +2885,7 @@ const $l = /* @__PURE__ */ D(vl, [["render", xl], ["__scopeId", "data-v-3115387b
|
|
|
2880
2885
|
function Ul(e, t, n, o, a, l) {
|
|
2881
2886
|
const i = r("MobileHeader"), c = r("a-divider"), p = r("WorkflowTodoBell"), m = r("UserBar"), y = r("a-space"), _ = r("a-layout-header");
|
|
2882
2887
|
r("a-avatar"), r("a-icon");
|
|
2883
|
-
const h = r("a-layout-sider"), g = r("NavMenu"), b = r("a-menu"), A = r("Breadcrumb"), M = r("TabTags"), T = r("router-view"),
|
|
2888
|
+
const h = r("a-layout-sider"), g = r("NavMenu"), b = r("a-menu"), A = r("Breadcrumb"), M = r("TabTags"), T = r("router-view"), S = r("a-layout-content"), k = r("a-layout");
|
|
2884
2889
|
return d(), v(k, { class: "app-layout header-layout h-100" }, {
|
|
2885
2890
|
default: s(() => [
|
|
2886
2891
|
e.breakpoint ? (d(), v(i, { key: 0 })) : (d(), v(_, {
|
|
@@ -2895,7 +2900,7 @@ function Ul(e, t, n, o, a, l) {
|
|
|
2895
2900
|
]),
|
|
2896
2901
|
f("div", Tl, [
|
|
2897
2902
|
f("ul", Ol, [
|
|
2898
|
-
(d(!0), I(
|
|
2903
|
+
(d(!0), I(U, null, Z(e.menu, (x) => (d(), I("li", {
|
|
2899
2904
|
class: Y(["px-2", e.pmenu?.path == x.path ? "active" : ""]),
|
|
2900
2905
|
key: x,
|
|
2901
2906
|
onClick: (z) => e.refreshSubMenu(x)
|
|
@@ -2929,7 +2934,7 @@ function Ul(e, t, n, o, a, l) {
|
|
|
2929
2934
|
f("div", Al, [
|
|
2930
2935
|
f("div", Nl, [
|
|
2931
2936
|
f("ul", Pl, [
|
|
2932
|
-
(d(!0), I(
|
|
2937
|
+
(d(!0), I(U, null, Z(e.nextMenu, (x) => (d(), I("li", {
|
|
2933
2938
|
class: Y(["px-2", e.pmenu2.path == x.path || e.$route.path == x.path ? "active" : ""]),
|
|
2934
2939
|
key: x,
|
|
2935
2940
|
onClick: (z) => e.refreshSubMenu2(x)
|
|
@@ -2976,7 +2981,7 @@ function Ul(e, t, n, o, a, l) {
|
|
|
2976
2981
|
default: s(() => [
|
|
2977
2982
|
(e.breakpoint, E("", !0)),
|
|
2978
2983
|
e.tagsBarIsEnabled && !e.breakpoint ? (d(), v(M, { key: 1 })) : E("", !0),
|
|
2979
|
-
u(
|
|
2984
|
+
u(S, {
|
|
2980
2985
|
id: "ant-layout-content",
|
|
2981
2986
|
class: Y(["ofa bg-white", { "p-0": e.breakpoint, "p-0": !e.breakpoint }])
|
|
2982
2987
|
}, {
|
|
@@ -2998,7 +3003,7 @@ function Ul(e, t, n, o, a, l) {
|
|
|
2998
3003
|
const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73"]]), Kl = {
|
|
2999
3004
|
__name: "MobileBar",
|
|
3000
3005
|
setup(e) {
|
|
3001
|
-
const t =
|
|
3006
|
+
const t = C("$API"), n = oe(), o = ae(), a = w(() => n.state.app.auth);
|
|
3002
3007
|
w(() => n.state.auth.userInfo), w(() => n.state.app.appLayoutType), w(() => n.state.app.casServerLoginUrl);
|
|
3003
3008
|
const l = w(() => n.state.app.casServerLogoutUrl), i = Te(t.auth.logout), { run: c } = je((y) => i[i.method](y), {
|
|
3004
3009
|
manual: !0,
|
|
@@ -3016,7 +3021,7 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3016
3021
|
};
|
|
3017
3022
|
return (y, _) => {
|
|
3018
3023
|
const h = r("a-button"), g = r("EModal");
|
|
3019
|
-
return d(), I(
|
|
3024
|
+
return d(), I(U, null, [
|
|
3020
3025
|
a.value === "JWT" ? (d(), v(h, {
|
|
3021
3026
|
key: 0,
|
|
3022
3027
|
class: "w-100 h-100 border-0 px-3 shadow-none",
|
|
@@ -3069,14 +3074,14 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3069
3074
|
}, {
|
|
3070
3075
|
default: s(() => [
|
|
3071
3076
|
f("div", Dl, [
|
|
3072
|
-
(d(), I(
|
|
3077
|
+
(d(), I(U, null, Z(3, (y) => f("div", {
|
|
3073
3078
|
class: "col-4",
|
|
3074
3079
|
key: "stat-top-" + y
|
|
3075
3080
|
}, [
|
|
3076
3081
|
a[0] || (a[0] = f("div", { class: "fw-bold fs-5" }, "--", -1)),
|
|
3077
3082
|
f("div", Hl, "指标" + j(y), 1)
|
|
3078
3083
|
])), 64)),
|
|
3079
|
-
(d(), I(
|
|
3084
|
+
(d(), I(U, null, Z(3, (y) => f("div", {
|
|
3080
3085
|
class: "col-4 mt-3",
|
|
3081
3086
|
key: "stat-bottom-" + y
|
|
3082
3087
|
}, [
|
|
@@ -3096,7 +3101,7 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3096
3101
|
f("strong", null, "团队")
|
|
3097
3102
|
], -1)),
|
|
3098
3103
|
f("div", Gl, [
|
|
3099
|
-
(d(), I(
|
|
3104
|
+
(d(), I(U, null, Z(4, (y) => f("div", {
|
|
3100
3105
|
class: "me-3 text-center",
|
|
3101
3106
|
key: "member-" + y
|
|
3102
3107
|
}, [
|
|
@@ -3117,7 +3122,7 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3117
3122
|
gutter: [16, 16]
|
|
3118
3123
|
}, {
|
|
3119
3124
|
default: s(() => [
|
|
3120
|
-
(d(!0), I(
|
|
3125
|
+
(d(!0), I(U, null, Z(e.menus, (y) => (d(), v(p, {
|
|
3121
3126
|
span: 6,
|
|
3122
3127
|
key: y.cddm,
|
|
3123
3128
|
onClick: (_) => n(y)
|
|
@@ -3160,7 +3165,7 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3160
3165
|
const l = r("a-icon");
|
|
3161
3166
|
return d(), I("div", tr, [
|
|
3162
3167
|
f("div", nr, [
|
|
3163
|
-
(d(!0), I(
|
|
3168
|
+
(d(!0), I(U, null, Z(e.menus, (i) => (d(), I("div", {
|
|
3164
3169
|
class: "col",
|
|
3165
3170
|
key: i.cddm,
|
|
3166
3171
|
onClick: (c) => n(i)
|
|
@@ -3187,7 +3192,7 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3187
3192
|
}, dr = { class: "fw-medium" }, pr = { class: "mobile-content" }, fr = { class: "mobile-footer pt-1 bg-white border-top border-light" }, mr = {
|
|
3188
3193
|
__name: "MobileAppLayout",
|
|
3189
3194
|
setup(e) {
|
|
3190
|
-
const t = oe(), n = Qt(), o = ae(), a =
|
|
3195
|
+
const t = oe(), n = Qt(), o = ae(), a = C("menu", []), l = C("onBreakpoint", () => {
|
|
3191
3196
|
}), i = w(() => {
|
|
3192
3197
|
const b = [], A = (M) => {
|
|
3193
3198
|
Array.isArray(M) && M.forEach((T) => {
|
|
@@ -3203,8 +3208,8 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3203
3208
|
o.push("/");
|
|
3204
3209
|
};
|
|
3205
3210
|
return (b, A) => {
|
|
3206
|
-
const M = r("a-layout-sider"), T = r("a-layout"),
|
|
3207
|
-
return d(), I(
|
|
3211
|
+
const M = r("a-layout-sider"), T = r("a-layout"), S = r("a-icon"), k = r("router-view");
|
|
3212
|
+
return d(), I(U, null, [
|
|
3208
3213
|
u(T, { class: "breakpoint-compat-layout d-none" }, {
|
|
3209
3214
|
default: s(() => [
|
|
3210
3215
|
u(M, {
|
|
@@ -3217,7 +3222,7 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3217
3222
|
f("div", ur, [
|
|
3218
3223
|
f("header", ir, [
|
|
3219
3224
|
f("div", cr, [
|
|
3220
|
-
_.value ? (d(), v(
|
|
3225
|
+
_.value ? (d(), v(S, {
|
|
3221
3226
|
key: 0,
|
|
3222
3227
|
type: "icon-left",
|
|
3223
3228
|
class: "back-icon",
|
|
@@ -3268,38 +3273,38 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3268
3273
|
const p = Vt(e, "routerDepth");
|
|
3269
3274
|
V("routerDepth", p);
|
|
3270
3275
|
const m = w(() => t.state.auth.appMenus || []);
|
|
3271
|
-
o.value = m.value || [], ue(m, (
|
|
3272
|
-
Array.isArray(
|
|
3276
|
+
o.value = m.value || [], ue(m, (S) => {
|
|
3277
|
+
Array.isArray(S) && S.length > 0 && (o.value = S);
|
|
3273
3278
|
}, { immediate: !0 }), Me(() => {
|
|
3274
|
-
const
|
|
3275
|
-
a.value = n.currentRoute.value.matched[p.value], l.value = a?.value?.children,
|
|
3276
|
-
}), gn((
|
|
3277
|
-
a.value =
|
|
3279
|
+
const S = n.currentRoute.value.matched;
|
|
3280
|
+
a.value = n.currentRoute.value.matched[p.value], l.value = a?.value?.children, S[p.value + 0], S[p.value + 1] && (S[p.value + 1], i.value = S[p.value + 1], c.value = i?.value?.children);
|
|
3281
|
+
}), gn((S) => {
|
|
3282
|
+
a.value = S.matched[p.value], l.value = a?.value?.children;
|
|
3278
3283
|
});
|
|
3279
|
-
const y =
|
|
3280
|
-
var
|
|
3284
|
+
const y = C("spinningApp", B(!1)), _ = () => {
|
|
3285
|
+
var S = gt(
|
|
3281
3286
|
o.value,
|
|
3282
3287
|
(x) => x.name == n.currentRoute.value.name
|
|
3283
3288
|
);
|
|
3284
|
-
if (
|
|
3285
|
-
n.push(
|
|
3289
|
+
if (S)
|
|
3290
|
+
n.push(S.path);
|
|
3286
3291
|
else if (o.value.length) {
|
|
3287
3292
|
var k = kt(o.value);
|
|
3288
3293
|
n.push(k.path);
|
|
3289
3294
|
}
|
|
3290
|
-
}, h =
|
|
3295
|
+
}, h = C("breakpoint", B(!1));
|
|
3291
3296
|
V("breakpoint", h);
|
|
3292
|
-
const g =
|
|
3293
|
-
V("onBreakpoint", (
|
|
3294
|
-
["xs", "sm", "md", "emu-mobile", "emu-tablet"].includes(g.value) ? h.value = !0 : h.value =
|
|
3297
|
+
const g = C("simulator", B("xxxl"));
|
|
3298
|
+
V("onBreakpoint", (S) => {
|
|
3299
|
+
["xs", "sm", "md", "emu-mobile", "emu-tablet"].includes(g.value) ? h.value = !0 : h.value = S;
|
|
3295
3300
|
});
|
|
3296
3301
|
const A = B();
|
|
3297
3302
|
V("menuDrawerRef", A);
|
|
3298
|
-
const M =
|
|
3303
|
+
const M = C("refreshAppMenu", B(!1)), T = () => {
|
|
3299
3304
|
y.value = !1;
|
|
3300
3305
|
};
|
|
3301
|
-
return ue(M, (
|
|
3302
|
-
console.log("refreshAppMenu:",
|
|
3306
|
+
return ue(M, (S) => {
|
|
3307
|
+
console.log("refreshAppMenu:", S, n.options.routes), o.value = n.options.routes;
|
|
3303
3308
|
for (let k = 0; k < p.value; k++)
|
|
3304
3309
|
o.value = o.value[0].children;
|
|
3305
3310
|
console.log("开发环境:路由重新创建后,更新菜单"), _(), setTimeout(T, 1500);
|
|
@@ -3320,7 +3325,7 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3320
3325
|
}), vr = { class: "fs-6" }, br = { class: "d-flex justify-content-end px-3" };
|
|
3321
3326
|
function _r(e, t, n, o, a, l) {
|
|
3322
3327
|
const i = r("MobileAppLayout"), c = r("DockLayout"), p = r("ClassicLayout"), m = r("SidebarMenuLayout"), y = r("SidebarAppProLayout"), _ = r("TopLevelMenuLeftLayout"), h = r("TopLevelMenuRightLayout"), g = r("TopLevelMenuRightProLayout"), b = r("DefaultLayout"), A = r("MobileBar"), M = r("MobileMenu");
|
|
3323
|
-
return e.breakpoint && e.mobileLayoutType === "app" ? (d(), v(i, { key: 0 })) : (d(), I(
|
|
3328
|
+
return e.breakpoint && e.mobileLayoutType === "app" ? (d(), v(i, { key: 0 })) : (d(), I(U, { key: 1 }, [
|
|
3324
3329
|
e.appLayoutType === "dock" ? (d(), v(c, { key: 0 })) : e.appLayoutType === "classic" ? (d(), v(p, { key: 1 })) : e.appLayoutType === "sideBar" ? (d(), v(m, { key: 2 })) : e.appLayoutType === "sideBarPro" ? (d(), v(y, { key: 3 })) : e.appLayoutType === "headerLeft" ? (d(), v(_, { key: 4 })) : e.appLayoutType === "headerRight" ? (d(), v(h, { key: 5 })) : e.appLayoutType === "headerRightPro" ? (d(), v(g, { key: 6 })) : (d(), v(b, { key: 7 })),
|
|
3325
3330
|
e.breakpoint && e.mobileLayoutType === "drawer" ? (d(), v(M, {
|
|
3326
3331
|
key: 8,
|
|
@@ -3429,13 +3434,13 @@ function cn(e, t, n, o, a) {
|
|
|
3429
3434
|
i.path = e[l].path + "CUS", i.name = e[l].name + "CUS", i.meta = e[l].meta, i.props = e[l].props, i.component = e[l].component, o.addRoute(i), a.push(i);
|
|
3430
3435
|
}
|
|
3431
3436
|
}
|
|
3432
|
-
function
|
|
3437
|
+
function Sr(e, t, n, o, a, l) {
|
|
3433
3438
|
for (let i = 0, c = e.length; i < c; i++)
|
|
3434
3439
|
e[i] && e[i].children && e[i].children.length && cn(e[i].children, t, n, l, o), n && (l.addRoute(n, e[i]), a.commit("ADD_DYNAMIC_ROUTE_NAME", e[i].name));
|
|
3435
3440
|
}
|
|
3436
|
-
function
|
|
3441
|
+
function Cr(e, t, n, o, a, l, i) {
|
|
3437
3442
|
const c = [];
|
|
3438
|
-
switch (c.value = un(e, i),
|
|
3443
|
+
switch (c.value = un(e, i), Sr(c.value, t, n, o, a, l), t) {
|
|
3439
3444
|
case 1:
|
|
3440
3445
|
o[0].children = o[0].children.concat(c.value);
|
|
3441
3446
|
break;
|
|
@@ -3458,7 +3463,7 @@ const dn = (e = []) => {
|
|
|
3458
3463
|
};
|
|
3459
3464
|
function Js(e, t, n, o, a, l, i, c, p) {
|
|
3460
3465
|
const m = i.state.auth.dynamicRoutes;
|
|
3461
|
-
|
|
3466
|
+
Cr(m, o, a, l, i, c, p);
|
|
3462
3467
|
const y = gr(c);
|
|
3463
3468
|
i.commit("SET_APP_MENUS", y);
|
|
3464
3469
|
const _ = decodeURIComponent(t.query.redirect || e.path);
|
|
@@ -3481,7 +3486,7 @@ function xr(e, t, n, o, a, l) {
|
|
|
3481
3486
|
extra: s(() => [
|
|
3482
3487
|
u(i, { to: "/" }, {
|
|
3483
3488
|
default: s(() => [...t[0] || (t[0] = [
|
|
3484
|
-
|
|
3489
|
+
Q("返回主页", -1)
|
|
3485
3490
|
])]),
|
|
3486
3491
|
_: 1
|
|
3487
3492
|
})
|
|
@@ -3503,7 +3508,7 @@ function Er(e, t, n, o, a, l) {
|
|
|
3503
3508
|
extra: s(() => [
|
|
3504
3509
|
u(i, { to: "/" }, {
|
|
3505
3510
|
default: s(() => [...t[0] || (t[0] = [
|
|
3506
|
-
|
|
3511
|
+
Q("返回主页", -1)
|
|
3507
3512
|
])]),
|
|
3508
3513
|
_: 1
|
|
3509
3514
|
})
|
|
@@ -3602,13 +3607,13 @@ function jr(e, t) {
|
|
|
3602
3607
|
type: "primary"
|
|
3603
3608
|
}, {
|
|
3604
3609
|
default: s(() => [...t[0] || (t[0] = [
|
|
3605
|
-
|
|
3610
|
+
Q("Go Console", -1)
|
|
3606
3611
|
])]),
|
|
3607
3612
|
_: 1
|
|
3608
3613
|
}),
|
|
3609
3614
|
u(n, { key: "buy" }, {
|
|
3610
3615
|
default: s(() => [...t[1] || (t[1] = [
|
|
3611
|
-
|
|
3616
|
+
Q("Buy Again", -1)
|
|
3612
3617
|
])]),
|
|
3613
3618
|
_: 1
|
|
3614
3619
|
})
|
|
@@ -3620,12 +3625,12 @@ function jr(e, t) {
|
|
|
3620
3625
|
], -1)),
|
|
3621
3626
|
f("p", null, [
|
|
3622
3627
|
u(o, { style: { color: "red" } }),
|
|
3623
|
-
t[2] || (t[2] =
|
|
3628
|
+
t[2] || (t[2] = Q(" 您的账户已被冻结 ", -1)),
|
|
3624
3629
|
t[3] || (t[3] = f("a", null, "立即解冻 >", -1))
|
|
3625
3630
|
]),
|
|
3626
3631
|
f("p", null, [
|
|
3627
3632
|
u(o, { style: { color: "red" } }),
|
|
3628
|
-
t[4] || (t[4] =
|
|
3633
|
+
t[4] || (t[4] = Q(" 您的帐户尚不符合申请 ", -1)),
|
|
3629
3634
|
t[5] || (t[5] = f("a", null, "解锁资格 >", -1))
|
|
3630
3635
|
])
|
|
3631
3636
|
])
|
|
@@ -3636,7 +3641,7 @@ function jr(e, t) {
|
|
|
3636
3641
|
const Xs = /* @__PURE__ */ D(zr, [["render", jr]]), eu = {
|
|
3637
3642
|
__name: "noaccess",
|
|
3638
3643
|
setup(e) {
|
|
3639
|
-
const t =
|
|
3644
|
+
const t = C("$API"), n = oe(), o = ae(), a = w(() => n.state.app.auth);
|
|
3640
3645
|
w(() => n.state.auth.userInfo), w(() => n.state.app.appLayoutType), w(() => n.state.app.casServerLoginUrl);
|
|
3641
3646
|
const l = w(() => n.state.app.casServerLogoutUrl), i = Te(t.auth.logout), { run: c } = je((_) => i[i.method](_), {
|
|
3642
3647
|
manual: !0,
|
|
@@ -3664,7 +3669,7 @@ const Xs = /* @__PURE__ */ D(zr, [["render", jr]]), eu = {
|
|
|
3664
3669
|
onClick: O(c)
|
|
3665
3670
|
}, {
|
|
3666
3671
|
default: s(() => [...h[0] || (h[0] = [
|
|
3667
|
-
|
|
3672
|
+
Q("退出登录", -1)
|
|
3668
3673
|
])]),
|
|
3669
3674
|
_: 1
|
|
3670
3675
|
}, 8, ["onClick"]),
|
|
@@ -3673,7 +3678,7 @@ const Xs = /* @__PURE__ */ D(zr, [["render", jr]]), eu = {
|
|
|
3673
3678
|
onClick: p
|
|
3674
3679
|
}, {
|
|
3675
3680
|
default: s(() => [...h[1] || (h[1] = [
|
|
3676
|
-
|
|
3681
|
+
Q("刷新重试", -1)
|
|
3677
3682
|
])]),
|
|
3678
3683
|
_: 1
|
|
3679
3684
|
})
|
|
@@ -3685,11 +3690,11 @@ const Xs = /* @__PURE__ */ D(zr, [["render", jr]]), eu = {
|
|
|
3685
3690
|
f("strong", null, "联系技术支持")
|
|
3686
3691
|
], -1)),
|
|
3687
3692
|
f("p", null, [
|
|
3688
|
-
h[2] || (h[2] =
|
|
3693
|
+
h[2] || (h[2] = Q(" 手机 ", -1)),
|
|
3689
3694
|
f("a", null, j(m.value), 1)
|
|
3690
3695
|
]),
|
|
3691
3696
|
f("p", null, [
|
|
3692
|
-
h[3] || (h[3] =
|
|
3697
|
+
h[3] || (h[3] = Q(" 邮箱 ", -1)),
|
|
3693
3698
|
f("a", null, j(y.value), 1)
|
|
3694
3699
|
])
|
|
3695
3700
|
]),
|
|
@@ -3804,7 +3809,7 @@ function Dr(e, t, n, o, a, l) {
|
|
|
3804
3809
|
}, {
|
|
3805
3810
|
title: s(() => [
|
|
3806
3811
|
L(e.$slots, "title", {}, () => [
|
|
3807
|
-
|
|
3812
|
+
Q(j(e.title), 1)
|
|
3808
3813
|
])
|
|
3809
3814
|
]),
|
|
3810
3815
|
default: s(() => [
|
|
@@ -3882,31 +3887,31 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
3882
3887
|
style: { height: "100%", "border-right": "0" }
|
|
3883
3888
|
}, {
|
|
3884
3889
|
default: s(() => [
|
|
3885
|
-
(d(!0), I(
|
|
3890
|
+
(d(!0), I(U, null, Z(e.menus, (h) => (d(), I(U, {
|
|
3886
3891
|
key: h.key
|
|
3887
3892
|
}, [
|
|
3888
3893
|
h.children && h.children.length ? (d(), v(p, {
|
|
3889
3894
|
key: `${h.key}`
|
|
3890
3895
|
}, {
|
|
3891
3896
|
title: s(() => [
|
|
3892
|
-
|
|
3897
|
+
Q(j(h.label), 1)
|
|
3893
3898
|
]),
|
|
3894
3899
|
default: s(() => [
|
|
3895
|
-
(d(!0), I(
|
|
3900
|
+
(d(!0), I(U, null, Z(h.children, (g) => (d(), I(U, {
|
|
3896
3901
|
key: g.key
|
|
3897
3902
|
}, [
|
|
3898
3903
|
g.children && g.children.length ? (d(), v(p, {
|
|
3899
3904
|
key: `${g.key}`
|
|
3900
3905
|
}, {
|
|
3901
3906
|
title: s(() => [
|
|
3902
|
-
|
|
3907
|
+
Q(j(g.label), 1)
|
|
3903
3908
|
]),
|
|
3904
3909
|
default: s(() => [
|
|
3905
|
-
(d(!0), I(
|
|
3910
|
+
(d(!0), I(U, null, Z(g.children, (b) => (d(), v(c, {
|
|
3906
3911
|
key: b.key
|
|
3907
3912
|
}, {
|
|
3908
3913
|
default: s(() => [
|
|
3909
|
-
|
|
3914
|
+
Q(j(b.label), 1)
|
|
3910
3915
|
]),
|
|
3911
3916
|
_: 2
|
|
3912
3917
|
}, 1024))), 128))
|
|
@@ -3916,7 +3921,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
3916
3921
|
key: g.key
|
|
3917
3922
|
}, {
|
|
3918
3923
|
default: s(() => [
|
|
3919
|
-
|
|
3924
|
+
Q(j(g.label), 1)
|
|
3920
3925
|
]),
|
|
3921
3926
|
_: 2
|
|
3922
3927
|
}, 1024))
|
|
@@ -3927,7 +3932,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
3927
3932
|
key: h.key
|
|
3928
3933
|
}, {
|
|
3929
3934
|
default: s(() => [
|
|
3930
|
-
|
|
3935
|
+
Q(j(h.label), 1)
|
|
3931
3936
|
]),
|
|
3932
3937
|
_: 2
|
|
3933
3938
|
}, 1024))
|
|
@@ -3945,7 +3950,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
3945
3950
|
}, {
|
|
3946
3951
|
default: s(() => [
|
|
3947
3952
|
f("div", qr, [
|
|
3948
|
-
(d(!0), I(
|
|
3953
|
+
(d(!0), I(U, null, Z(a.value, (h) => L(l.$slots, h)), 256))
|
|
3949
3954
|
])
|
|
3950
3955
|
]),
|
|
3951
3956
|
_: 3
|
|
@@ -3970,7 +3975,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
3970
3975
|
const o = r("a-tab-pane"), a = r("a-tabs");
|
|
3971
3976
|
return d(), v(a, { class: "flex-fill h-100" }, He({
|
|
3972
3977
|
default: s(() => [
|
|
3973
|
-
(d(!0), I(
|
|
3978
|
+
(d(!0), I(U, null, Z(e.tabs, (l) => (d(), v(o, {
|
|
3974
3979
|
key: l.key,
|
|
3975
3980
|
tab: l.label,
|
|
3976
3981
|
disabled: l.disabled
|
|
@@ -4042,7 +4047,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4042
4047
|
direction: o.value
|
|
4043
4048
|
}, {
|
|
4044
4049
|
default: s(() => [
|
|
4045
|
-
(d(!0), I(
|
|
4050
|
+
(d(!0), I(U, null, Z(e.steps, (p) => (d(), v(i, {
|
|
4046
4051
|
key: p.key,
|
|
4047
4052
|
title: p.label
|
|
4048
4053
|
}, null, 8, ["title"]))), 128))
|
|
@@ -4052,7 +4057,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4052
4057
|
L(a.$slots, "extra", {}, void 0, !0)
|
|
4053
4058
|
], 2),
|
|
4054
4059
|
f("div", ns, [
|
|
4055
|
-
(d(!0), I(
|
|
4060
|
+
(d(!0), I(U, null, Z(e.steps, (p) => L(a.$slots, p.key, {}, void 0, !0)), 256))
|
|
4056
4061
|
])
|
|
4057
4062
|
], 2);
|
|
4058
4063
|
};
|
|
@@ -4144,8 +4149,8 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4144
4149
|
}
|
|
4145
4150
|
},
|
|
4146
4151
|
setup(e, { expose: t }) {
|
|
4147
|
-
const n = e, { selectedKeysName: o, autoExpandParent: a } = ke(n), l = B([]), i =
|
|
4148
|
-
}), _ =
|
|
4152
|
+
const n = e, { selectedKeysName: o, autoExpandParent: a } = ke(n), l = B([]), i = C("checkedKeys", B([])), c = C(o.value, B([])), p = C("expandedKeys", B([])), m = B(a.value), y = C("onCheck", ($) => {
|
|
4153
|
+
}), _ = C("onSelect", ($) => {
|
|
4149
4154
|
}), h = ($) => {
|
|
4150
4155
|
p.value = $, m.value = !1;
|
|
4151
4156
|
}, g = ($) => {
|
|
@@ -4160,7 +4165,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4160
4165
|
});
|
|
4161
4166
|
};
|
|
4162
4167
|
return K($, "", 1), P;
|
|
4163
|
-
}, b =
|
|
4168
|
+
}, b = C("ondrop", ($, P, K, J, H) => {
|
|
4164
4169
|
}), A = ($) => {
|
|
4165
4170
|
const P = $.node.key, K = $.dragNode.key, J = $.node.pos.split("-"), H = $.dropPosition - Number(J[J.length - 1]), ne = (N, de, Ae) => {
|
|
4166
4171
|
N.forEach((Oe, Je) => {
|
|
@@ -4196,33 +4201,33 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4196
4201
|
title: re
|
|
4197
4202
|
}), H.children && T(H.children, P, K);
|
|
4198
4203
|
}
|
|
4199
|
-
},
|
|
4204
|
+
}, S = ($, P) => {
|
|
4200
4205
|
let K;
|
|
4201
4206
|
for (let J = 0; J < P.length; J++) {
|
|
4202
4207
|
const H = P[J];
|
|
4203
|
-
H.children && H.children.length > 0 ? H.children.some((ne) => ne.key === $) ? K = H.key :
|
|
4208
|
+
H.children && H.children.length > 0 ? H.children.some((ne) => ne.key === $) ? K = H.key : S($, H.children) && (K = S($, H.children)) : H.key === $ && (K = H.key);
|
|
4204
4209
|
}
|
|
4205
4210
|
return K;
|
|
4206
|
-
}, k =
|
|
4211
|
+
}, k = C("isTreeSearchEnabled", B(!1)), x = B();
|
|
4207
4212
|
ue(x, ($) => {
|
|
4208
4213
|
T(l.value, "key", (K) => K[n.fieldNames.title]);
|
|
4209
|
-
const P = M.map((K) => K.title.indexOf($) > -1 ?
|
|
4214
|
+
const P = M.map((K) => K.title.indexOf($) > -1 ? S(K.key, l.value) : null).filter((K, J, H) => K && H.indexOf(K) === J);
|
|
4210
4215
|
p.value = P, x.value = $, m.value = !0;
|
|
4211
4216
|
});
|
|
4212
|
-
const z =
|
|
4217
|
+
const z = C("isTreeExpandAll", B(!1));
|
|
4213
4218
|
ue(() => z.value, ($) => {
|
|
4214
4219
|
T(l.value, "key", (J) => J[n.fieldNames.title]);
|
|
4215
4220
|
const P = B("02200059");
|
|
4216
4221
|
$ ? P.value = "" : P.value = "02200059";
|
|
4217
|
-
const K = M.map((J) => J.title.indexOf(P.value) > -1 ?
|
|
4222
|
+
const K = M.map((J) => J.title.indexOf(P.value) > -1 ? S(J.key, l.value) : null).filter((J, H, ne) => J && ne.indexOf(J) === H);
|
|
4218
4223
|
p.value = K, m.value = !0;
|
|
4219
4224
|
});
|
|
4220
|
-
const R =
|
|
4225
|
+
const R = C("onSuccess", ($, P) => {
|
|
4221
4226
|
$.value = P.data, m.value && (p.value = $.value.map((K) => K[n.fieldNames.key]));
|
|
4222
|
-
}),
|
|
4223
|
-
($) =>
|
|
4227
|
+
}), W = C("state", {}), G = C("apiObj", B({})), { method: F } = { ...G }, { run: q, loading: ee, current: te, pageSize: se, total: le, error: ie } = ct(
|
|
4228
|
+
($) => G[F]({ ...$, ...G.params }),
|
|
4224
4229
|
{
|
|
4225
|
-
refreshDeps: [
|
|
4230
|
+
refreshDeps: [G],
|
|
4226
4231
|
pagination: {
|
|
4227
4232
|
pageSizeKey: "pageSize"
|
|
4228
4233
|
},
|
|
@@ -4232,9 +4237,9 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4232
4237
|
}
|
|
4233
4238
|
}
|
|
4234
4239
|
), we = () => {
|
|
4235
|
-
q({ current: te.value, pageSize: se.value, ...
|
|
4240
|
+
q({ current: te.value, pageSize: se.value, ...W });
|
|
4236
4241
|
}, he = () => {
|
|
4237
|
-
q({ current: te.value, pageSize: se.value, ...
|
|
4242
|
+
q({ current: te.value, pageSize: se.value, ...W });
|
|
4238
4243
|
};
|
|
4239
4244
|
V("run", q), V("total", le), V("loading", ee), V("current", te), V("pageSize", se);
|
|
4240
4245
|
const ve = B(n.simple);
|
|
@@ -4315,7 +4320,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4315
4320
|
L($.$slots, "title", { item: N }, () => [
|
|
4316
4321
|
E("", !0),
|
|
4317
4322
|
N[e.fieldNames.title].indexOf(x.value) > -1 ? (d(), I("span", ss, [
|
|
4318
|
-
|
|
4323
|
+
Q(j(N[e.fieldNames.title].substr(0, N[e.fieldNames.title].indexOf(x.value))) + " ", 1),
|
|
4319
4324
|
f("div", us, [
|
|
4320
4325
|
f("span", is, j(x.value), 1),
|
|
4321
4326
|
f("span", null, j(N[e.fieldNames.title].substr(N[e.fieldNames.title].indexOf(x.value) + x.value.length)), 1)
|
|
@@ -4405,9 +4410,9 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4405
4410
|
itemLayout: { type: String, default: "none" }
|
|
4406
4411
|
},
|
|
4407
4412
|
setup(e, { expose: t }) {
|
|
4408
|
-
const n = e, o = B([]), { loadMore: a } = ke(n), l =
|
|
4413
|
+
const n = e, o = B([]), { loadMore: a } = ke(n), l = C("onSuccess", (F, q) => {
|
|
4409
4414
|
F.value = a.value ? F.value.concat(q.data) : q.data;
|
|
4410
|
-
}), i =
|
|
4415
|
+
}), i = C("state", {}), c = C("apiObj", B({})), { method: p } = { ...c }, { run: m, loading: y, current: _, pageSize: h, total: g, error: b } = ct(
|
|
4411
4416
|
(F) => c[p]({ ...F, ...c.params, ...i }),
|
|
4412
4417
|
{
|
|
4413
4418
|
refreshDeps: [c],
|
|
@@ -4428,14 +4433,14 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4428
4433
|
V("run", m), V("total", g), V("loading", y), V("current", _), V("pageSize", h);
|
|
4429
4434
|
const T = B(n.simple);
|
|
4430
4435
|
V("simple", T);
|
|
4431
|
-
const
|
|
4432
|
-
V("showSizeChanger",
|
|
4436
|
+
const S = B(n.showSizeChanger);
|
|
4437
|
+
V("showSizeChanger", S);
|
|
4433
4438
|
const k = B(n.showQuickJumper);
|
|
4434
4439
|
V("showQuickJumper", k);
|
|
4435
4440
|
const x = B(""), z = B(1), R = () => {
|
|
4436
4441
|
z.value * h.value <= g.value ? (z.value += 1, m({ current: z.value, pageSize: h.value, ...i })) : x.value = "已经到底了";
|
|
4437
|
-
},
|
|
4438
|
-
const F =
|
|
4442
|
+
}, W = B(null), G = () => {
|
|
4443
|
+
const F = W.value;
|
|
4439
4444
|
var q = F.scrollTop + F.clientHeight;
|
|
4440
4445
|
const ee = F.scrollHeight;
|
|
4441
4446
|
q >= ee - vs && !y.value && a.value && R();
|
|
@@ -4477,8 +4482,8 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4477
4482
|
f("div", {
|
|
4478
4483
|
class: "flex-fill d-flex flex-column ofa cccc",
|
|
4479
4484
|
ref_key: "scrollContainer",
|
|
4480
|
-
ref:
|
|
4481
|
-
onScroll:
|
|
4485
|
+
ref: W,
|
|
4486
|
+
onScroll: G
|
|
4482
4487
|
}, [
|
|
4483
4488
|
u(le, ge({ "item-layout": e.itemLayout }, e.itemLayout === "none" ? { grid: e.grid } : {}, {
|
|
4484
4489
|
class: [e.padding, "flex-fill position-relative"],
|
|
@@ -4620,7 +4625,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4620
4625
|
}
|
|
4621
4626
|
},
|
|
4622
4627
|
setup(e, { expose: t }) {
|
|
4623
|
-
const n = e, { size: o, columns: a, expandRowByClick: l, showHeader: i } = ke(n), c = B([]), p =
|
|
4628
|
+
const n = e, { size: o, columns: a, expandRowByClick: l, showHeader: i } = ke(n), c = B([]), p = C(
|
|
4624
4629
|
"apiObj",
|
|
4625
4630
|
Te({
|
|
4626
4631
|
method: "post",
|
|
@@ -4643,16 +4648,16 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4643
4648
|
$ && k(c, $);
|
|
4644
4649
|
}
|
|
4645
4650
|
}
|
|
4646
|
-
), M =
|
|
4651
|
+
), M = C("state", {}), T = () => {
|
|
4647
4652
|
y({ current: h.value, pageSize: g.value, ...M });
|
|
4648
|
-
},
|
|
4653
|
+
}, S = () => {
|
|
4649
4654
|
y({ current: h.value, pageSize: g.value, ...M });
|
|
4650
|
-
}, k =
|
|
4655
|
+
}, k = C("onSuccess", ($, P) => {
|
|
4651
4656
|
$.value = P.data, z.value = rn($.value, "key");
|
|
4652
|
-
}), x =
|
|
4653
|
-
}),
|
|
4657
|
+
}), x = C("defaultExpandedRowKeys", null), z = C("expandedRowKeys", B([])), R = C("rowSelection", null), W = C("rowClick", () => {
|
|
4658
|
+
}), G = ($) => ({
|
|
4654
4659
|
onClick: (P) => {
|
|
4655
|
-
|
|
4660
|
+
W(P, $);
|
|
4656
4661
|
}
|
|
4657
4662
|
}), F = ($, P) => ({
|
|
4658
4663
|
onClick: () => {
|
|
@@ -4668,7 +4673,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4668
4673
|
let H = {};
|
|
4669
4674
|
K.length ? K.forEach((ne) => {
|
|
4670
4675
|
H[ne.field] = ne.order;
|
|
4671
|
-
}) : H = { [K.field]: K.order }, M.sorter = JSON.stringify(H), M.filters = JSON.stringify(P), $.current != null && (M.current = $.current, M.pageSize = $.pageSize),
|
|
4676
|
+
}) : H = { [K.field]: K.order }, M.sorter = JSON.stringify(H), M.filters = JSON.stringify(P), $.current != null && (M.current = $.current, M.pageSize = $.pageSize), S();
|
|
4672
4677
|
};
|
|
4673
4678
|
V("run", y), V("sync", T), V("total", b), V("loading", _), V("current", h), V("pageSize", g);
|
|
4674
4679
|
const se = B(n.simple);
|
|
@@ -4699,7 +4704,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4699
4704
|
};
|
|
4700
4705
|
return t({
|
|
4701
4706
|
sync: T,
|
|
4702
|
-
search:
|
|
4707
|
+
search: S,
|
|
4703
4708
|
dataList: c
|
|
4704
4709
|
}), ($, P) => {
|
|
4705
4710
|
const K = r("CResponsiveHeader"), J = r("a-table-column"), H = r("a-table"), ne = r("CFooterPaginationBar"), re = r("ESpin");
|
|
@@ -4738,7 +4743,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4738
4743
|
class: ["rounded-0", { "ant-table-striped": he.value }],
|
|
4739
4744
|
pagination: e.pagination ? { total: parseInt(O(b)), pageSize: O(g) } : e.pagination,
|
|
4740
4745
|
"data-source": c.value,
|
|
4741
|
-
customRow:
|
|
4746
|
+
customRow: G,
|
|
4742
4747
|
expandRowByClick: O(l),
|
|
4743
4748
|
defaultExpandAllRows: !O(x),
|
|
4744
4749
|
defaultExpandedRowKeys: O(x),
|
|
@@ -4755,7 +4760,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4755
4760
|
onResizeColumn: Ge
|
|
4756
4761
|
}), He({
|
|
4757
4762
|
default: s(() => [
|
|
4758
|
-
(d(!0), I(
|
|
4763
|
+
(d(!0), I(U, null, Z(O(a), (N, de) => (d(), I(U, { key: de }, [
|
|
4759
4764
|
N.hide ? E("", !0) : (d(), v(J, {
|
|
4760
4765
|
title: N.title,
|
|
4761
4766
|
dataIndex: N.dataIndex,
|
|
@@ -4829,7 +4834,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4829
4834
|
} else
|
|
4830
4835
|
return e == null && (e = []), e;
|
|
4831
4836
|
}
|
|
4832
|
-
},
|
|
4837
|
+
}, Ss = {
|
|
4833
4838
|
__name: "ESelect",
|
|
4834
4839
|
props: {
|
|
4835
4840
|
apiObj: {
|
|
@@ -4908,7 +4913,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4908
4913
|
if (!c.value?.url) return;
|
|
4909
4914
|
const R = b.value;
|
|
4910
4915
|
if (R == null) return;
|
|
4911
|
-
const
|
|
4916
|
+
const W = (te) => String(te), G = a.fieldNames.value, F = Array.isArray(R) ? R : [R], q = new Set(l.value.map((te) => W(te[G]))), ee = F.filter((te) => !q.has(W(te)));
|
|
4912
4917
|
if (ee.length !== 0)
|
|
4913
4918
|
try {
|
|
4914
4919
|
const te = [];
|
|
@@ -4916,33 +4921,33 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4916
4921
|
const we = h.value ? { [y.value]: ie, ...h.value } : { [y.value]: ie }, he = await c.value[c.value.method]({ current: "1", pageSize: 1, ...we }), ve = _e(he?.data) || [];
|
|
4917
4922
|
te.push(...ve);
|
|
4918
4923
|
}
|
|
4919
|
-
const se = new Set(l.value.map((ie) =>
|
|
4924
|
+
const se = new Set(l.value.map((ie) => W(ie[G]))), le = te.filter((ie) => !se.has(W(ie[G])));
|
|
4920
4925
|
l.value = [...l.value, ...le];
|
|
4921
4926
|
} catch (te) {
|
|
4922
4927
|
console.warn("获取并合并选定项异常:", te);
|
|
4923
4928
|
}
|
|
4924
4929
|
};
|
|
4925
4930
|
c.value.url ? M(h.value || {}) : _.value.length > 0 ? l.value = _e(_.value) : l.value = _e([{ value: "0", label: "星期日" }, { value: "1", label: "星期一" }, { value: "2", label: "星期二" }, { value: "3", label: "星期三" }, { value: "4", label: "星期四" }, { value: "5", label: "星期五" }, { value: "6", label: "星期六" }]);
|
|
4926
|
-
const
|
|
4931
|
+
const S = async (R) => {
|
|
4927
4932
|
if (c.value.url && m.value) {
|
|
4928
|
-
const
|
|
4929
|
-
M(
|
|
4933
|
+
const W = h.value ? { [y.value]: R, ...h.value } : { [y.value]: R };
|
|
4934
|
+
M(W);
|
|
4930
4935
|
}
|
|
4931
4936
|
}, k = (R) => {
|
|
4932
4937
|
i("update:value", R), c.value.url && m.value && !R && M(h.value || {});
|
|
4933
4938
|
};
|
|
4934
|
-
ue(h, async (R,
|
|
4935
|
-
for (const
|
|
4936
|
-
if (R[
|
|
4939
|
+
ue(h, async (R, W) => {
|
|
4940
|
+
for (const G in R)
|
|
4941
|
+
if (R[G] !== W[G]) {
|
|
4937
4942
|
await M(R);
|
|
4938
4943
|
let F = !1;
|
|
4939
4944
|
Array.isArray(b.value) ? F = b.value.every((q) => l.value.some((ee) => ee[a.fieldNames.value] === q)) : F = l.value.some((q) => q[a.fieldNames.value] == b.value), F || i("update:value", null);
|
|
4940
4945
|
}
|
|
4941
4946
|
});
|
|
4942
|
-
const x = (R,
|
|
4943
|
-
if (!
|
|
4944
|
-
const
|
|
4945
|
-
return F.includes(
|
|
4947
|
+
const x = (R, W) => {
|
|
4948
|
+
if (!W || !W.label && !W.value) return !1;
|
|
4949
|
+
const G = R.toLowerCase(), F = W.label ? W.label.toString().toLowerCase() : "", q = W.value ? W.value.toString().toLowerCase() : "";
|
|
4950
|
+
return F.includes(G) || q.includes(G);
|
|
4946
4951
|
};
|
|
4947
4952
|
return ue(_.value, (R) => {
|
|
4948
4953
|
l.value = _e(R);
|
|
@@ -4951,9 +4956,9 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4951
4956
|
c.value.url && M(h.value || {});
|
|
4952
4957
|
},
|
|
4953
4958
|
selectList: l
|
|
4954
|
-
}), (R,
|
|
4955
|
-
const
|
|
4956
|
-
return d(), v(
|
|
4959
|
+
}), (R, W) => {
|
|
4960
|
+
const G = r("a-select");
|
|
4961
|
+
return d(), v(G, ge({
|
|
4957
4962
|
virtual: !1,
|
|
4958
4963
|
value: b.value,
|
|
4959
4964
|
"allow-clear": "",
|
|
@@ -4964,10 +4969,10 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4964
4969
|
"not-found-content": l.value.length > 0 ? null : "暂无数据",
|
|
4965
4970
|
options: A.value,
|
|
4966
4971
|
onChange: k
|
|
4967
|
-
}, Ht({ search: O(m) ?
|
|
4972
|
+
}, Ht({ search: O(m) ? S : void 0 })), He({
|
|
4968
4973
|
option: s(({ label: F, value: q, ...ee }) => [
|
|
4969
4974
|
L(R.$slots, "option", vn(bn({ label: F, value: q, ...ee })), () => [
|
|
4970
|
-
|
|
4975
|
+
Q(j(F), 1)
|
|
4971
4976
|
])
|
|
4972
4977
|
]),
|
|
4973
4978
|
suffixIcon: s(() => [
|
|
@@ -4986,8 +4991,8 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4986
4991
|
]), 1040, ["value", "showSearch", "filter-option", "not-found-content", "options"]);
|
|
4987
4992
|
};
|
|
4988
4993
|
}
|
|
4989
|
-
},
|
|
4990
|
-
components: { draggable:
|
|
4994
|
+
}, Cs = X({
|
|
4995
|
+
components: { draggable: Sn },
|
|
4991
4996
|
props: {
|
|
4992
4997
|
list: {
|
|
4993
4998
|
type: Array,
|
|
@@ -4999,7 +5004,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4999
5004
|
}
|
|
5000
5005
|
},
|
|
5001
5006
|
setup(e) {
|
|
5002
|
-
const t = Vt(e, "list"), n = B({}), o =
|
|
5007
|
+
const t = Vt(e, "list"), n = B({}), o = C("draggableListSelectedItem", () => {
|
|
5003
5008
|
});
|
|
5004
5009
|
return {
|
|
5005
5010
|
selectItem: n,
|
|
@@ -5034,7 +5039,7 @@ function xs(e, t, n, o, a, l) {
|
|
|
5034
5039
|
_: 3
|
|
5035
5040
|
}, 8, ["list"]);
|
|
5036
5041
|
}
|
|
5037
|
-
const $s = /* @__PURE__ */ D(
|
|
5042
|
+
const $s = /* @__PURE__ */ D(Cs, [["render", xs]]), Es = { class: "color-selector border rounded-3" }, Is = {
|
|
5038
5043
|
__name: "ColorSelector",
|
|
5039
5044
|
props: { modelValue: String },
|
|
5040
5045
|
emits: ["update:modelValue"],
|
|
@@ -5056,14 +5061,14 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5056
5061
|
p[2] || (p[2] = f("div", { class: "section-title" }, "状态色", -1)),
|
|
5057
5062
|
u(y, { wrap: "" }, {
|
|
5058
5063
|
default: s(() => [
|
|
5059
|
-
(d(), I(
|
|
5064
|
+
(d(), I(U, null, Z(a, (h) => u(m, {
|
|
5060
5065
|
key: h.name,
|
|
5061
5066
|
color: h.value,
|
|
5062
5067
|
style: { cursor: "pointer" },
|
|
5063
5068
|
onClick: (g) => i(h.value)
|
|
5064
5069
|
}, {
|
|
5065
5070
|
default: s(() => [
|
|
5066
|
-
|
|
5071
|
+
Q(j(h.name), 1)
|
|
5067
5072
|
]),
|
|
5068
5073
|
_: 2
|
|
5069
5074
|
}, 1032, ["color", "onClick"])), 64))
|
|
@@ -5074,7 +5079,7 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5074
5079
|
E("", !0),
|
|
5075
5080
|
f("div", null, [
|
|
5076
5081
|
p[4] || (p[4] = f("div", { class: "section-title" }, "颜色选择器", -1)),
|
|
5077
|
-
u(O(
|
|
5082
|
+
u(O(Cn), {
|
|
5078
5083
|
pureColor: l.value,
|
|
5079
5084
|
"onUpdate:pureColor": p[0] || (p[0] = (h) => l.value = h),
|
|
5080
5085
|
format: "hex",
|
|
@@ -5123,7 +5128,7 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5123
5128
|
},
|
|
5124
5129
|
emits: ["update:mobileVisible"],
|
|
5125
5130
|
setup(e, { emit: t }) {
|
|
5126
|
-
const n = e, o = t, a =
|
|
5131
|
+
const n = e, o = t, a = C("breakpoint", B(!1)), l = _n(), i = B(0);
|
|
5127
5132
|
nt(() => {
|
|
5128
5133
|
const g = l.default?.() || [];
|
|
5129
5134
|
i.value = g.length;
|
|
@@ -5145,15 +5150,15 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5145
5150
|
return Array.isArray(b) ? b.filter(Boolean).join(" - ") : b || "未知名称";
|
|
5146
5151
|
}
|
|
5147
5152
|
return (g, b) => {
|
|
5148
|
-
const A = r("a-space"), M = r("a-icon"), T = r("a-button"),
|
|
5153
|
+
const A = r("a-space"), M = r("a-icon"), T = r("a-button"), S = r("a-popover"), k = r("a-divider"), x = r("a-form-item"), z = r("a-form"), R = r("a-drawer");
|
|
5149
5154
|
return d(), I("div", null, [
|
|
5150
5155
|
O(a) ? E("", !0) : (d(), v(A, {
|
|
5151
5156
|
key: 0,
|
|
5152
5157
|
direction: "horizontal"
|
|
5153
5158
|
}, {
|
|
5154
5159
|
default: s(() => [
|
|
5155
|
-
(d(!0), I(
|
|
5156
|
-
_.value.length > 0 ? (d(), v(
|
|
5160
|
+
(d(!0), I(U, null, Z(y.value, (W, G) => (d(), v(Fe(W), { key: G }))), 128)),
|
|
5161
|
+
_.value.length > 0 ? (d(), v(S, {
|
|
5157
5162
|
key: 0,
|
|
5158
5163
|
trigger: "click",
|
|
5159
5164
|
placement: "bottomLeft"
|
|
@@ -5166,8 +5171,8 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5166
5171
|
style: { width: "100%" }
|
|
5167
5172
|
}, {
|
|
5168
5173
|
default: s(() => [
|
|
5169
|
-
(d(!0), I(
|
|
5170
|
-
key: "extra-" +
|
|
5174
|
+
(d(!0), I(U, null, Z(_.value, (W, G) => (d(), v(Fe(W), {
|
|
5175
|
+
key: "extra-" + G,
|
|
5171
5176
|
style: { width: "100%" }
|
|
5172
5177
|
}))), 128)),
|
|
5173
5178
|
L(g.$slots, "footer")
|
|
@@ -5181,7 +5186,7 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5181
5186
|
default: s(() => [
|
|
5182
5187
|
f("small", null, [
|
|
5183
5188
|
u(M, { type: "icon-filter" }),
|
|
5184
|
-
|
|
5189
|
+
Q(" " + j(n.title), 1)
|
|
5185
5190
|
])
|
|
5186
5191
|
]),
|
|
5187
5192
|
_: 1
|
|
@@ -5205,26 +5210,26 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5205
5210
|
placement: "bottom",
|
|
5206
5211
|
height: "auto",
|
|
5207
5212
|
closable: !0,
|
|
5208
|
-
onClose: b[2] || (b[2] = (
|
|
5213
|
+
onClose: b[2] || (b[2] = (W) => o("update:mobileVisible", !1)),
|
|
5209
5214
|
"body-style": { minHeight: "28vh", maxHeight: "46vh", overflowY: "auto", borderTopLeftRadius: "12px", borderTopRightRadius: "12px" },
|
|
5210
5215
|
footerStyle: { background: "rgb(248, 249, 250)" }
|
|
5211
5216
|
}, {
|
|
5212
5217
|
footer: s(() => [
|
|
5213
5218
|
f("div", Os, [
|
|
5214
5219
|
u(T, {
|
|
5215
|
-
onClick: b[0] || (b[0] = (
|
|
5220
|
+
onClick: b[0] || (b[0] = (W) => g.$emit("reset"))
|
|
5216
5221
|
}, {
|
|
5217
5222
|
default: s(() => [...b[3] || (b[3] = [
|
|
5218
|
-
|
|
5223
|
+
Q("重置", -1)
|
|
5219
5224
|
])]),
|
|
5220
5225
|
_: 1
|
|
5221
5226
|
}),
|
|
5222
5227
|
u(T, {
|
|
5223
5228
|
type: "primary",
|
|
5224
|
-
onClick: b[1] || (b[1] = (
|
|
5229
|
+
onClick: b[1] || (b[1] = (W) => g.$emit("confirm"))
|
|
5225
5230
|
}, {
|
|
5226
5231
|
default: s(() => [...b[4] || (b[4] = [
|
|
5227
|
-
|
|
5232
|
+
Q("确定", -1)
|
|
5228
5233
|
])]),
|
|
5229
5234
|
_: 1
|
|
5230
5235
|
})
|
|
@@ -5247,12 +5252,12 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5247
5252
|
layout: "vertical"
|
|
5248
5253
|
}, {
|
|
5249
5254
|
default: s(() => [
|
|
5250
|
-
(d(!0), I(
|
|
5251
|
-
key:
|
|
5252
|
-
label: h(
|
|
5255
|
+
(d(!0), I(U, null, Z(g.$slots.default?.() || [], (W, G) => (d(), v(x, {
|
|
5256
|
+
key: G,
|
|
5257
|
+
label: h(W)
|
|
5253
5258
|
}, {
|
|
5254
5259
|
default: s(() => [
|
|
5255
|
-
(d(), v(Fe(
|
|
5260
|
+
(d(), v(Fe(W)))
|
|
5256
5261
|
]),
|
|
5257
5262
|
_: 2
|
|
5258
5263
|
}, 1032, ["label"]))), 128))
|
|
@@ -5278,10 +5283,10 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5278
5283
|
}
|
|
5279
5284
|
},
|
|
5280
5285
|
setup(e) {
|
|
5281
|
-
const t =
|
|
5286
|
+
const t = C("breakpoint", B(!1));
|
|
5282
5287
|
return (n, o) => {
|
|
5283
5288
|
const a = r("a-space");
|
|
5284
|
-
return d(), I(
|
|
5289
|
+
return d(), I(U, null, [
|
|
5285
5290
|
O(t) ? E("", !0) : (d(), I("div", {
|
|
5286
5291
|
key: 0,
|
|
5287
5292
|
class: Y(["d-flex justify-content-between align-items-center bg-white", { "border-bottom": e.headBorder }])
|
|
@@ -5354,10 +5359,10 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5354
5359
|
}
|
|
5355
5360
|
},
|
|
5356
5361
|
setup(e) {
|
|
5357
|
-
const t =
|
|
5362
|
+
const t = C("run"), n = C("state", B({})), o = C("total"), a = C("loading"), l = C("current"), i = C("pageSize"), c = C("simple"), p = C("showSizeChanger"), m = C("showQuickJumper"), y = C("breakpoint", B(!1));
|
|
5358
5363
|
return (_, h) => {
|
|
5359
5364
|
const g = r("a-pagination"), b = r("a-icon"), A = r("a-button"), M = r("a-space");
|
|
5360
|
-
return d(), I(
|
|
5365
|
+
return d(), I(U, null, [
|
|
5361
5366
|
f("div", Ps, [
|
|
5362
5367
|
f("span", zs, "共 " + j(O(o)) + " 条", 1),
|
|
5363
5368
|
u(g, {
|
|
@@ -5395,7 +5400,7 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5395
5400
|
};
|
|
5396
5401
|
}
|
|
5397
5402
|
}, js = /* @__PURE__ */ D(Ls, [["__scopeId", "data-v-914e82a2"]]), Us = (e) => {
|
|
5398
|
-
e.component("ESpin", Fr), e.component("EModal", Hr), e.component("EDrawer", Jr), e.component("EMenu", Xr), e.component("ETabs", ts), e.component("ESteps", as), e.component("ETree", ps), e.component("EList", _s), e.component("ETable", ws), e.component("ESelect",
|
|
5403
|
+
e.component("ESpin", Fr), e.component("EModal", Hr), e.component("EDrawer", Jr), e.component("EMenu", Xr), e.component("ETabs", ts), e.component("ESteps", as), e.component("ETree", ps), e.component("EList", _s), e.component("ETable", ws), e.component("ESelect", Ss), e.component("EDraggable", $s), e.component("ColorSelector", Ms), e.component("CResponsiveFilter", Rs), e.component("CResponsiveHeader", Ns), e.component("CFooterPaginationBar", js);
|
|
5399
5404
|
}, tu = {
|
|
5400
5405
|
install: Us
|
|
5401
5406
|
};
|
|
@@ -5410,7 +5415,7 @@ export {
|
|
|
5410
5415
|
_s as EList,
|
|
5411
5416
|
Xr as EMenu,
|
|
5412
5417
|
Hr as EModal,
|
|
5413
|
-
|
|
5418
|
+
Ss as ESelect,
|
|
5414
5419
|
Fr as ESpin,
|
|
5415
5420
|
as as ESteps,
|
|
5416
5421
|
ws as ETable,
|