gs-eant-comp 3.1.3 → 3.1.4
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 +281 -287
- 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 W, 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 S, ref as B, watchEffect as st, renderSlot as L, reactive as Te, provide as V, mergeProps as ge, createTextVNode as G, 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 Cn from "vuedraggable";
|
|
7
|
+
import { ColorPicker as Sn } 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(W, null, Z(e.menuInfo.children, (y) => (d(), I(W, {
|
|
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(W, 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(W, null, Z(e.navMenus, (y) => (d(), I(W, {
|
|
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 = S("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 = S("$API"), c = Te(i.auth.update), p = S("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 = (C, 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 (C) => {
|
|
257
257
|
const k = c;
|
|
258
|
-
return k[k.method](
|
|
258
|
+
return k[k.method](C);
|
|
259
259
|
},
|
|
260
260
|
{
|
|
261
261
|
debounceInterval: 0,
|
|
262
262
|
manual: !0,
|
|
263
|
-
onSuccess: (
|
|
263
|
+
onSuccess: (C) => {
|
|
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: S("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
|
+
G("修改", -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" }, Se = {
|
|
432
432
|
__name: "UserBar",
|
|
433
433
|
setup(e) {
|
|
434
434
|
const t = (...T) => {
|
|
435
|
-
}, n =
|
|
435
|
+
}, n = S("$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 C = a.options.routes.findIndex((x) => x.name === "lowcodeplatform");
|
|
442
|
+
C !== -1 && (a.options.routes[C].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, C) => {
|
|
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"), U = r("a-menu-divider"), Q = r("a-menu"), F = r("a-dropdown"), q = r("EModal");
|
|
476
|
+
return d(), I(W, null, [
|
|
477
477
|
f("div", Kn, [
|
|
478
478
|
E("", !0),
|
|
479
479
|
u(F, { trigger: ["click"] }, {
|
|
480
480
|
overlay: s(() => [
|
|
481
|
-
u(
|
|
481
|
+
u(Q, {
|
|
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
|
+
G(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(U),
|
|
504
504
|
u(R, { title: "切换角色" }, {
|
|
505
505
|
default: s(() => [
|
|
506
|
-
(d(!0), I(
|
|
506
|
+
(d(!0), I(W, 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
|
+
G(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(U),
|
|
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
|
+
C[3] || (C[3] = G("修改密码", -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
|
+
C[4] || (C[4] = G("退出登陆", -1))
|
|
553
553
|
])
|
|
554
554
|
]),
|
|
555
555
|
_: 1
|
|
556
556
|
}, 8, ["onClick"]),
|
|
557
|
-
u(
|
|
557
|
+
u(U),
|
|
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(() => [...C[5] || (C[5] = [
|
|
563
|
+
G(" 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: C[1] || (C[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 Ct(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 St = {
|
|
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+%?", Ce = "(?:".concat(no, ")|(?:").concat(to, ")"), qe = "[\\s|\\(]+(".concat(Ce, ")[,|\\s]+(").concat(Ce, ")[,|\\s]+(").concat(Ce, ")\\s*\\)?"), Xe = "[\\s|\\(]+(".concat(Ce, ")[,|\\s]+(").concat(Ce, ")[,|\\s]+(").concat(Ce, ")[,|\\s]+(").concat(Ce, ")\\s*\\)?"), fe = {
|
|
848
|
+
CSS_UNIT: new RegExp(Ce),
|
|
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 (St[e])
|
|
865
|
+
e = St[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: Ct(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: Ct(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 S(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 Co(e) {
|
|
1181
1181
|
return wo(e) ? an(e) : null;
|
|
1182
1182
|
}
|
|
1183
|
-
var
|
|
1183
|
+
var So = 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 = Co(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 So(), 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 C = 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: C
|
|
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 = S("routerDepth"), C = B([]);
|
|
1666
|
+
C.value = n.options.routes;
|
|
1667
1667
|
for (let k = 0; k < T.value; k++)
|
|
1668
|
-
|
|
1668
|
+
C.value = C.value[0].children;
|
|
1669
1669
|
return Me(() => {
|
|
1670
|
-
var k = gt(
|
|
1670
|
+
var k = gt(C.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 (C.value.length) {
|
|
1674
|
+
var x = kt(C.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(W, 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((C) => e.openContextMenu(C, 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] = (C) => 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] = (C) => 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] = (C) => 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] = (C) => 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] = (C) => 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(W, null, Z(o.value, (y) => (d(), I(W, {
|
|
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
|
+
G(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 = S("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(W, 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,42 +1944,37 @@ 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)
|
|
1948
|
-
const l = w(() => t.state.auth.workflowSummaryVersion);
|
|
1949
|
-
ue(l, () => {
|
|
1947
|
+
w(() => t.state.app.casServerLoginUrl), w(() => t.state.app.casServerLogoutUrl), ue(() => t.state.auth.workflowSummaryVersion, () => {
|
|
1950
1948
|
t.dispatch("getUserInfo");
|
|
1951
1949
|
}, { immediate: !0 });
|
|
1952
|
-
const
|
|
1950
|
+
const l = () => {
|
|
1953
1951
|
n.push({ path: "/FF26F28AD11B5E8B7368F57D1ABAD485" });
|
|
1954
1952
|
};
|
|
1955
|
-
return (
|
|
1956
|
-
const
|
|
1957
|
-
return d(), I(
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
}, 8, ["count"])
|
|
1975
|
-
])
|
|
1976
|
-
], 64);
|
|
1953
|
+
return (i, c) => {
|
|
1954
|
+
const p = r("a-icon"), m = r("a-badge");
|
|
1955
|
+
return d(), I("div", {
|
|
1956
|
+
class: "d-flex align-items-center cursor-pointer",
|
|
1957
|
+
onClick: l
|
|
1958
|
+
}, [
|
|
1959
|
+
u(m, {
|
|
1960
|
+
count: o.value.todoCount,
|
|
1961
|
+
size: "small"
|
|
1962
|
+
}, {
|
|
1963
|
+
default: s(() => [
|
|
1964
|
+
u(p, {
|
|
1965
|
+
type: "icon-bell",
|
|
1966
|
+
class: Y(["fs-5", [["classic", "headerLeft", "headerRight", "headerRightPro"].includes(a.value) ? "text-white" : "text-muted"]])
|
|
1967
|
+
}, null, 8, ["class"])
|
|
1968
|
+
]),
|
|
1969
|
+
_: 1
|
|
1970
|
+
}, 8, ["count"])
|
|
1971
|
+
]);
|
|
1977
1972
|
};
|
|
1978
1973
|
}
|
|
1979
1974
|
}, ba = X({
|
|
1980
|
-
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar:
|
|
1975
|
+
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar: Se, MobileHeader: Ee, WorkflowTodoBell: Ie },
|
|
1981
1976
|
setup() {
|
|
1982
|
-
const e = oe(), t = ae(), n =
|
|
1977
|
+
const e = oe(), t = ae(), n = S("menu"), o = S("breakpoint", B(!1)), a = S("onBreakpoint", () => {
|
|
1983
1978
|
}), l = (i) => {
|
|
1984
1979
|
t.push(i.key);
|
|
1985
1980
|
};
|
|
@@ -1999,8 +1994,8 @@ const Ee = /* @__PURE__ */ D(fa, [["render", va]]), Ie = {
|
|
|
1999
1994
|
todoBellEnabled: w(() => e.state.app.todoBellEnabled)
|
|
2000
1995
|
};
|
|
2001
1996
|
}
|
|
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" },
|
|
2003
|
-
function
|
|
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" }, Ca = { key: 0 };
|
|
1998
|
+
function Sa(e, t, n, o, a, l) {
|
|
2004
1999
|
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");
|
|
2005
2000
|
return d(), v(M, { class: "app-layout bg-white" }, {
|
|
2006
2001
|
default: s(() => [
|
|
@@ -2030,7 +2025,7 @@ function Ca(e, t, n, o, a, l) {
|
|
|
2030
2025
|
]),
|
|
2031
2026
|
_: 1
|
|
2032
2027
|
}, 8, ["selectedKeys", "onClick"]),
|
|
2033
|
-
e.fase ? (d(), I("div",
|
|
2028
|
+
e.fase ? (d(), I("div", Ca, [
|
|
2034
2029
|
u(m, {
|
|
2035
2030
|
type: "vertical",
|
|
2036
2031
|
class: "h-50"
|
|
@@ -2067,13 +2062,13 @@ function Ca(e, t, n, o, a, l) {
|
|
|
2067
2062
|
_: 1
|
|
2068
2063
|
});
|
|
2069
2064
|
}
|
|
2070
|
-
const Ba = /* @__PURE__ */ D(ba, [["render",
|
|
2071
|
-
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar:
|
|
2065
|
+
const Ba = /* @__PURE__ */ D(ba, [["render", Sa]]), xa = X({
|
|
2066
|
+
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar: Se, MobileHeader: Ee, WorkflowTodoBell: Ie },
|
|
2072
2067
|
setup() {
|
|
2073
|
-
const e = oe(), t = ae(), n =
|
|
2068
|
+
const e = oe(), t = ae(), n = S("menu"), o = S("breakpoint", B(!1)), a = S("onBreakpoint", () => {
|
|
2074
2069
|
}), l = (m) => {
|
|
2075
2070
|
t.push(m.key);
|
|
2076
|
-
}, { useToken: i } = Qe, { token: c } = i(), p =
|
|
2071
|
+
}, { useToken: i } = Qe, { token: c } = i(), p = S("layoutSiderOptionsCollapsed", B(!0));
|
|
2077
2072
|
return ue(p, (m) => {
|
|
2078
2073
|
m || e.commit("toggleCollapseMenu", !m);
|
|
2079
2074
|
}), {
|
|
@@ -2099,7 +2094,7 @@ const Ba = /* @__PURE__ */ D(ba, [["render", Ca]]), xa = X({
|
|
|
2099
2094
|
style: { "overflow-x": "hidden!important" }
|
|
2100
2095
|
};
|
|
2101
2096
|
function Oa(e, t, n, o, a, l) {
|
|
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"),
|
|
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"), C = r("a-layout-content"), k = r("a-icon"), x = r("a-layout-footer"), z = r("a-layout");
|
|
2103
2098
|
return d(), v(z, { class: "app-layout" }, {
|
|
2104
2099
|
default: s(() => [
|
|
2105
2100
|
e.breakpoint ? (d(), v(i, { key: 0 })) : (d(), v(_, {
|
|
@@ -2170,7 +2165,7 @@ function Oa(e, t, n, o, a, l) {
|
|
|
2170
2165
|
_: 1
|
|
2171
2166
|
})),
|
|
2172
2167
|
e.tagsBarIsEnabled && !e.breakpoint ? (d(), v(M, { key: 1 })) : E("", !0),
|
|
2173
|
-
u(
|
|
2168
|
+
u(C, {
|
|
2174
2169
|
id: "ant-layout-content",
|
|
2175
2170
|
class: Y(["ofa d-flex flex-column", { "p-0": e.breakpoint, "ps-0": !e.breakpoint }])
|
|
2176
2171
|
}, {
|
|
@@ -2191,9 +2186,9 @@ function Oa(e, t, n, o, a, l) {
|
|
|
2191
2186
|
});
|
|
2192
2187
|
}
|
|
2193
2188
|
const Ra = /* @__PURE__ */ D(xa, [["render", Oa], ["__scopeId", "data-v-16b05c4f"]]), Aa = X({
|
|
2194
|
-
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar:
|
|
2189
|
+
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar: Se, MobileHeader: Ee, WorkflowTodoBell: Ie },
|
|
2195
2190
|
setup() {
|
|
2196
|
-
const e = oe(), t = ae(), n =
|
|
2191
|
+
const e = oe(), t = ae(), n = S("menu"), o = S("breakpoint", B(!1)), a = S("onBreakpoint", () => {
|
|
2197
2192
|
}), l = (i) => {
|
|
2198
2193
|
t.push(i.key);
|
|
2199
2194
|
};
|
|
@@ -2271,9 +2266,9 @@ function za(e, t, n, o, a, l) {
|
|
|
2271
2266
|
});
|
|
2272
2267
|
}
|
|
2273
2268
|
const La = /* @__PURE__ */ D(Aa, [["render", za]]), ja = X({
|
|
2274
|
-
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar:
|
|
2269
|
+
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar: Se, MobileHeader: Ee, WorkflowTodoBell: Ie },
|
|
2275
2270
|
setup() {
|
|
2276
|
-
const e = oe(), t = ae(), { useToken: n } = Qe, { token: o } = n(), a =
|
|
2271
|
+
const e = oe(), t = ae(), { useToken: n } = Qe, { token: o } = n(), a = S("menu"), l = S("pmenu"), i = S("nextMenu"), c = S("breakpoint", B(!1)), p = S("onBreakpoint", () => {
|
|
2277
2272
|
}), m = (_) => {
|
|
2278
2273
|
t.push(_.key);
|
|
2279
2274
|
}, y = (_) => {
|
|
@@ -2315,7 +2310,7 @@ const La = /* @__PURE__ */ D(Aa, [["render", za]]), ja = X({
|
|
|
2315
2310
|
style: { "overflow-x": "hidden!important" }
|
|
2316
2311
|
};
|
|
2317
2312
|
function Ja(e, t, n, o, a, l) {
|
|
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"),
|
|
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"), C = r("TabTags"), k = r("router-view"), x = r("a-layout-content"), z = r("a-layout");
|
|
2319
2314
|
return d(), v(z, { class: "app-layout sidebar-layout h-100" }, {
|
|
2320
2315
|
default: s(() => [
|
|
2321
2316
|
e.breakpoint ? (d(), v(i, { key: 0 })) : (d(), v(m, {
|
|
@@ -2335,11 +2330,11 @@ function Ja(e, t, n, o, a, l) {
|
|
|
2335
2330
|
E("", !0),
|
|
2336
2331
|
E("", !0)
|
|
2337
2332
|
])),
|
|
2338
|
-
(d(!0), I(
|
|
2333
|
+
(d(!0), I(W, null, Z(e.menu, (R) => (d(), I("li", {
|
|
2339
2334
|
class: Y(["px-2 py-3", e.pmenu?.path == R.path ? "active" : ""]),
|
|
2340
2335
|
key: R,
|
|
2341
2336
|
style: it({ background: e.pmenu?.path == R.path ? e.token.colorPrimaryHover : "" }),
|
|
2342
|
-
onClick: (
|
|
2337
|
+
onClick: (U) => e.refreshSubMenu(R)
|
|
2343
2338
|
}, [
|
|
2344
2339
|
u(p, {
|
|
2345
2340
|
type: R.meta.icon
|
|
@@ -2410,7 +2405,7 @@ function Ja(e, t, n, o, a, l) {
|
|
|
2410
2405
|
]),
|
|
2411
2406
|
_: 1
|
|
2412
2407
|
})),
|
|
2413
|
-
e.tagsBarIsEnabled && !e.breakpoint ? (d(), v(
|
|
2408
|
+
e.tagsBarIsEnabled && !e.breakpoint ? (d(), v(C, { key: 1 })) : E("", !0),
|
|
2414
2409
|
u(x, {
|
|
2415
2410
|
id: "ant-layout-content",
|
|
2416
2411
|
class: Y(["ofa bg-white", { "p-0": e.breakpoint, "p-0": !e.breakpoint }])
|
|
@@ -2442,20 +2437,20 @@ const Za = /* @__PURE__ */ D(ja, [["render", Ja], ["__scopeId", "data-v-08491cb7
|
|
|
2442
2437
|
}, ll = {
|
|
2443
2438
|
__name: "SidebarAppProLayout",
|
|
2444
2439
|
setup(e) {
|
|
2445
|
-
const t = oe(), n = ae(), { useToken: o } = Qe, { token: a } = o(), l =
|
|
2446
|
-
}), y = (
|
|
2447
|
-
n.push(
|
|
2448
|
-
}, _ = (
|
|
2449
|
-
i.value =
|
|
2440
|
+
const t = oe(), n = ae(), { useToken: o } = Qe, { token: a } = o(), l = S("menu"), i = S("pmenu"), c = S("nextMenu"), p = S("breakpoint", B(!1)), m = S("onBreakpoint", () => {
|
|
2441
|
+
}), y = (C) => {
|
|
2442
|
+
n.push(C.key);
|
|
2443
|
+
}, _ = (C) => {
|
|
2444
|
+
i.value = C, c.value = i.value.children, C.children || n.push(C.path);
|
|
2450
2445
|
}, h = B(0), g = w(() => t.state.app.menuIsCollapse);
|
|
2451
|
-
ue(() => [c?.value], ([
|
|
2452
|
-
!
|
|
2446
|
+
ue(() => [c?.value], ([C]) => {
|
|
2447
|
+
!C || !Array.isArray(C) || C.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"));
|
|
2453
2448
|
});
|
|
2454
2449
|
const b = w(() => t.state.app.appLogo);
|
|
2455
2450
|
w(() => t.state.app.appName);
|
|
2456
2451
|
const A = w(() => t.state.app.tagsBarIsEnabled), M = w(() => t.state.app.menuItemActiveStyle), T = w(() => t.state.app.todoBellEnabled);
|
|
2457
|
-
return (
|
|
2458
|
-
const x = r("a-avatar"), z = r("a-icon"), R = r("a-layout-sider"),
|
|
2452
|
+
return (C, k) => {
|
|
2453
|
+
const x = r("a-avatar"), z = r("a-icon"), R = r("a-layout-sider"), U = r("a-divider"), Q = 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");
|
|
2459
2454
|
return d(), v(se, { class: "app-layout sidebar-layout h-100" }, {
|
|
2460
2455
|
default: s(() => [
|
|
2461
2456
|
O(p) ? (d(), v(Ee, { key: 0 })) : (d(), v(R, {
|
|
@@ -2475,7 +2470,7 @@ const Za = /* @__PURE__ */ D(ja, [["render", Ja], ["__scopeId", "data-v-08491cb7
|
|
|
2475
2470
|
E("", !0),
|
|
2476
2471
|
E("", !0)
|
|
2477
2472
|
])),
|
|
2478
|
-
(d(!0), I(
|
|
2473
|
+
(d(!0), I(W, null, Z(O(l), (le) => (d(), I("li", {
|
|
2479
2474
|
class: Y(["py-2", O(i)?.path == le.path ? "active" : ""]),
|
|
2480
2475
|
key: le,
|
|
2481
2476
|
style: it({ background: O(i)?.path == le.path ? O(a).colorPrimaryHover : "" }),
|
|
@@ -2501,15 +2496,15 @@ const Za = /* @__PURE__ */ D(ja, [["render", Ja], ["__scopeId", "data-v-08491cb7
|
|
|
2501
2496
|
default: s(() => [
|
|
2502
2497
|
u($e, { showMenuToggle: !0 }, {
|
|
2503
2498
|
userBar: s(() => [
|
|
2504
|
-
u(
|
|
2499
|
+
u(Q, { size: "middle" }, {
|
|
2505
2500
|
default: s(() => [
|
|
2506
2501
|
T.value ? (d(), v(Ie, { key: 0 })) : E("", !0),
|
|
2507
|
-
T.value ? (d(), v(
|
|
2502
|
+
T.value ? (d(), v(U, {
|
|
2508
2503
|
key: 1,
|
|
2509
2504
|
type: "vertical",
|
|
2510
2505
|
class: ""
|
|
2511
2506
|
})) : E("", !0),
|
|
2512
|
-
u(
|
|
2507
|
+
u(Se)
|
|
2513
2508
|
]),
|
|
2514
2509
|
_: 1
|
|
2515
2510
|
})
|
|
@@ -2536,7 +2531,7 @@ const Za = /* @__PURE__ */ D(ja, [["render", Ja], ["__scopeId", "data-v-08491cb7
|
|
|
2536
2531
|
f("div", al, [
|
|
2537
2532
|
u(q, {
|
|
2538
2533
|
class: Y(["bg-transparent", M.value]),
|
|
2539
|
-
selectedKeys: [
|
|
2534
|
+
selectedKeys: [C.$route.path],
|
|
2540
2535
|
mode: "inline",
|
|
2541
2536
|
onClick: y
|
|
2542
2537
|
}, {
|
|
@@ -2577,9 +2572,9 @@ const Za = /* @__PURE__ */ D(ja, [["render", Ja], ["__scopeId", "data-v-08491cb7
|
|
|
2577
2572
|
};
|
|
2578
2573
|
}
|
|
2579
2574
|
}, rl = /* @__PURE__ */ D(ll, [["__scopeId", "data-v-8e854fe2"]]), sl = X({
|
|
2580
|
-
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar:
|
|
2575
|
+
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar: Se, MobileHeader: Ee, WorkflowTodoBell: Ie },
|
|
2581
2576
|
setup() {
|
|
2582
|
-
const e = oe(), t = ae(), n =
|
|
2577
|
+
const e = oe(), t = ae(), n = S("menu"), o = S("pmenu"), a = S("nextMenu"), l = S("breakpoint", B(!1)), i = S("onBreakpoint", () => {
|
|
2583
2578
|
}), c = (m) => {
|
|
2584
2579
|
t.push(m.key);
|
|
2585
2580
|
}, p = (m) => {
|
|
@@ -2612,7 +2607,7 @@ const Za = /* @__PURE__ */ D(ja, [["render", Ja], ["__scopeId", "data-v-08491cb7
|
|
|
2612
2607
|
style: { "overflow-x": "hidden!important" }
|
|
2613
2608
|
};
|
|
2614
2609
|
function yl(e, t, n, o, a, l) {
|
|
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"),
|
|
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"), C = r("router-view"), k = r("a-layout-content"), x = r("a-layout");
|
|
2616
2611
|
return d(), v(x, { class: "app-layout header-layout h-100" }, {
|
|
2617
2612
|
default: s(() => [
|
|
2618
2613
|
e.breakpoint ? (d(), v(i, { key: 0 })) : (d(), v(h, {
|
|
@@ -2624,7 +2619,7 @@ function yl(e, t, n, o, a, l) {
|
|
|
2624
2619
|
f("span", il, j(e.appName), 1),
|
|
2625
2620
|
f("div", cl, [
|
|
2626
2621
|
f("ul", dl, [
|
|
2627
|
-
(d(!0), I(
|
|
2622
|
+
(d(!0), I(W, null, Z(e.menu, (z) => (d(), I("li", {
|
|
2628
2623
|
class: Y(["px-3", e.pmenu?.path == z?.path ? "active" : ""]),
|
|
2629
2624
|
key: z,
|
|
2630
2625
|
onClick: (R) => e.refreshSubMenu(z)
|
|
@@ -2633,7 +2628,7 @@ function yl(e, t, n, o, a, l) {
|
|
|
2633
2628
|
type: z.meta.icon,
|
|
2634
2629
|
class: "font1-15"
|
|
2635
2630
|
}, null, 8, ["type"]),
|
|
2636
|
-
|
|
2631
|
+
G(" " + j(z.meta.title), 1)
|
|
2637
2632
|
], 10, pl))), 128))
|
|
2638
2633
|
]),
|
|
2639
2634
|
u(_, { size: "middle" }, {
|
|
@@ -2704,7 +2699,7 @@ function yl(e, t, n, o, a, l) {
|
|
|
2704
2699
|
class: Y(["ofa bg-white", { "p-0": e.breakpoint, "p-0": !e.breakpoint }])
|
|
2705
2700
|
}, {
|
|
2706
2701
|
default: s(() => [
|
|
2707
|
-
u(
|
|
2702
|
+
u(C)
|
|
2708
2703
|
]),
|
|
2709
2704
|
_: 1
|
|
2710
2705
|
}, 8, ["class"])
|
|
@@ -2719,9 +2714,9 @@ function yl(e, t, n, o, a, l) {
|
|
|
2719
2714
|
});
|
|
2720
2715
|
}
|
|
2721
2716
|
const hl = /* @__PURE__ */ D(sl, [["render", yl], ["__scopeId", "data-v-49f819ff"]]), vl = X({
|
|
2722
|
-
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar:
|
|
2717
|
+
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar: Se, MobileHeader: Ee, WorkflowTodoBell: Ie },
|
|
2723
2718
|
setup() {
|
|
2724
|
-
const e = oe(), t = ae(), n =
|
|
2719
|
+
const e = oe(), t = ae(), n = S("menu"), o = S("pmenu"), a = S("nextMenu"), l = S("breakpoint", B(!1)), i = S("onBreakpoint", () => {
|
|
2725
2720
|
}), c = (m) => {
|
|
2726
2721
|
t.push(m.key);
|
|
2727
2722
|
}, p = (m) => {
|
|
@@ -2746,13 +2741,13 @@ const hl = /* @__PURE__ */ D(sl, [["render", yl], ["__scopeId", "data-v-49f819ff
|
|
|
2746
2741
|
onBreakpoint: i
|
|
2747
2742
|
};
|
|
2748
2743
|
}
|
|
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"],
|
|
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"], Cl = { class: "border-end h-100 d-flex flex-column" }, Sl = { class: "px-3 m-0 font1 fw-bold border-bottom header-h46 text-scui-9" }, Bl = {
|
|
2750
2745
|
class: "flex-fill overflow-auto",
|
|
2751
2746
|
style: { "overflow-x": "hidden!important" }
|
|
2752
2747
|
};
|
|
2753
2748
|
function xl(e, t, n, o, a, l) {
|
|
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"),
|
|
2755
|
-
return d(), v(
|
|
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"), C = r("a-layout");
|
|
2750
|
+
return d(), v(C, { class: "app-layout header-layout h-100" }, {
|
|
2756
2751
|
default: s(() => [
|
|
2757
2752
|
u(y, { class: "px-3 border-bottom header-h50 bg-header text-white" }, {
|
|
2758
2753
|
default: s(() => [
|
|
@@ -2760,7 +2755,7 @@ function xl(e, t, n, o, a, l) {
|
|
|
2760
2755
|
f("span", _l, j(e.appName), 1),
|
|
2761
2756
|
f("div", gl, [
|
|
2762
2757
|
f("ul", kl, [
|
|
2763
|
-
(d(!0), I(
|
|
2758
|
+
(d(!0), I(W, null, Z(e.menu, (k) => (d(), I("li", {
|
|
2764
2759
|
class: Y(["px-2", e.pmenu.path == k.path ? "active" : ""]),
|
|
2765
2760
|
key: k,
|
|
2766
2761
|
onClick: (x) => e.refreshSubMenu(k)
|
|
@@ -2788,7 +2783,7 @@ function xl(e, t, n, o, a, l) {
|
|
|
2788
2783
|
]),
|
|
2789
2784
|
_: 1
|
|
2790
2785
|
}),
|
|
2791
|
-
u(
|
|
2786
|
+
u(C, null, {
|
|
2792
2787
|
default: s(() => [
|
|
2793
2788
|
u(g, {
|
|
2794
2789
|
theme: "light",
|
|
@@ -2797,8 +2792,8 @@ function xl(e, t, n, o, a, l) {
|
|
|
2797
2792
|
collapsible: ""
|
|
2798
2793
|
}, {
|
|
2799
2794
|
default: s(() => [
|
|
2800
|
-
f("div",
|
|
2801
|
-
f("h2",
|
|
2795
|
+
f("div", Cl, [
|
|
2796
|
+
f("h2", Sl, j(e.pmenu.meta ? e.pmenu.meta.title : ""), 1),
|
|
2802
2797
|
f("div", Bl, [
|
|
2803
2798
|
u(h, {
|
|
2804
2799
|
selectedKeys: [e.$route.path],
|
|
@@ -2816,7 +2811,7 @@ function xl(e, t, n, o, a, l) {
|
|
|
2816
2811
|
]),
|
|
2817
2812
|
_: 1
|
|
2818
2813
|
}, 8, ["collapsed"]),
|
|
2819
|
-
u(
|
|
2814
|
+
u(C, null, {
|
|
2820
2815
|
default: s(() => [
|
|
2821
2816
|
u(y, { class: "breadcrumb mb-0 px-3 bg-white border-bottom header-h46" }, {
|
|
2822
2817
|
default: s(() => [
|
|
@@ -2842,14 +2837,14 @@ function xl(e, t, n, o, a, l) {
|
|
|
2842
2837
|
});
|
|
2843
2838
|
}
|
|
2844
2839
|
const $l = /* @__PURE__ */ D(vl, [["render", xl], ["__scopeId", "data-v-3115387b"]]), El = X({
|
|
2845
|
-
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar:
|
|
2840
|
+
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar: Se, MobileHeader: Ee, WorkflowTodoBell: Ie },
|
|
2846
2841
|
setup() {
|
|
2847
|
-
const e = oe(), t = ae(), { useToken: n } = Qe, { token: o } = n(), a =
|
|
2842
|
+
const e = oe(), t = ae(), { useToken: n } = Qe, { token: o } = n(), a = S("menu"), l = S("pmenu"), i = S("nextMenu"), c = S("breakpoint", B(!1)), p = S("onBreakpoint", () => {
|
|
2848
2843
|
}), m = (M) => {
|
|
2849
2844
|
t.push(M.key);
|
|
2850
2845
|
}, y = (M) => {
|
|
2851
2846
|
l.value = M, i.value = l?.value?.children, M.children || t.push(M.path);
|
|
2852
|
-
}, _ =
|
|
2847
|
+
}, _ = S("pmenu2", B()), h = S("nextMenu2", B()), g = (M) => {
|
|
2853
2848
|
_.value = M, h.value = _?.value?.children, M.children || t.push(M.path);
|
|
2854
2849
|
}, b = B(0), A = w(() => e.state.app.menuIsCollapse);
|
|
2855
2850
|
return ue(() => [i?.value, h?.value], ([M, T]) => {
|
|
@@ -2885,7 +2880,7 @@ const $l = /* @__PURE__ */ D(vl, [["render", xl], ["__scopeId", "data-v-3115387b
|
|
|
2885
2880
|
function Ul(e, t, n, o, a, l) {
|
|
2886
2881
|
const i = r("MobileHeader"), c = r("a-divider"), p = r("WorkflowTodoBell"), m = r("UserBar"), y = r("a-space"), _ = r("a-layout-header");
|
|
2887
2882
|
r("a-avatar"), r("a-icon");
|
|
2888
|
-
const h = r("a-layout-sider"), g = r("NavMenu"), b = r("a-menu"), A = r("Breadcrumb"), M = r("TabTags"), T = r("router-view"),
|
|
2883
|
+
const h = r("a-layout-sider"), g = r("NavMenu"), b = r("a-menu"), A = r("Breadcrumb"), M = r("TabTags"), T = r("router-view"), C = r("a-layout-content"), k = r("a-layout");
|
|
2889
2884
|
return d(), v(k, { class: "app-layout header-layout h-100" }, {
|
|
2890
2885
|
default: s(() => [
|
|
2891
2886
|
e.breakpoint ? (d(), v(i, { key: 0 })) : (d(), v(_, {
|
|
@@ -2900,7 +2895,7 @@ function Ul(e, t, n, o, a, l) {
|
|
|
2900
2895
|
]),
|
|
2901
2896
|
f("div", Tl, [
|
|
2902
2897
|
f("ul", Ol, [
|
|
2903
|
-
(d(!0), I(
|
|
2898
|
+
(d(!0), I(W, null, Z(e.menu, (x) => (d(), I("li", {
|
|
2904
2899
|
class: Y(["px-2", e.pmenu?.path == x.path ? "active" : ""]),
|
|
2905
2900
|
key: x,
|
|
2906
2901
|
onClick: (z) => e.refreshSubMenu(x)
|
|
@@ -2934,7 +2929,7 @@ function Ul(e, t, n, o, a, l) {
|
|
|
2934
2929
|
f("div", Al, [
|
|
2935
2930
|
f("div", Nl, [
|
|
2936
2931
|
f("ul", Pl, [
|
|
2937
|
-
(d(!0), I(
|
|
2932
|
+
(d(!0), I(W, null, Z(e.nextMenu, (x) => (d(), I("li", {
|
|
2938
2933
|
class: Y(["px-2", e.pmenu2.path == x.path || e.$route.path == x.path ? "active" : ""]),
|
|
2939
2934
|
key: x,
|
|
2940
2935
|
onClick: (z) => e.refreshSubMenu2(x)
|
|
@@ -2981,7 +2976,7 @@ function Ul(e, t, n, o, a, l) {
|
|
|
2981
2976
|
default: s(() => [
|
|
2982
2977
|
(e.breakpoint, E("", !0)),
|
|
2983
2978
|
e.tagsBarIsEnabled && !e.breakpoint ? (d(), v(M, { key: 1 })) : E("", !0),
|
|
2984
|
-
u(
|
|
2979
|
+
u(C, {
|
|
2985
2980
|
id: "ant-layout-content",
|
|
2986
2981
|
class: Y(["ofa bg-white", { "p-0": e.breakpoint, "p-0": !e.breakpoint }])
|
|
2987
2982
|
}, {
|
|
@@ -3003,7 +2998,7 @@ function Ul(e, t, n, o, a, l) {
|
|
|
3003
2998
|
const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73"]]), Kl = {
|
|
3004
2999
|
__name: "MobileBar",
|
|
3005
3000
|
setup(e) {
|
|
3006
|
-
const t =
|
|
3001
|
+
const t = S("$API"), n = oe(), o = ae(), a = w(() => n.state.app.auth);
|
|
3007
3002
|
w(() => n.state.auth.userInfo), w(() => n.state.app.appLayoutType), w(() => n.state.app.casServerLoginUrl);
|
|
3008
3003
|
const l = w(() => n.state.app.casServerLogoutUrl), i = Te(t.auth.logout), { run: c } = je((y) => i[i.method](y), {
|
|
3009
3004
|
manual: !0,
|
|
@@ -3021,7 +3016,7 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3021
3016
|
};
|
|
3022
3017
|
return (y, _) => {
|
|
3023
3018
|
const h = r("a-button"), g = r("EModal");
|
|
3024
|
-
return d(), I(
|
|
3019
|
+
return d(), I(W, null, [
|
|
3025
3020
|
a.value === "JWT" ? (d(), v(h, {
|
|
3026
3021
|
key: 0,
|
|
3027
3022
|
class: "w-100 h-100 border-0 px-3 shadow-none",
|
|
@@ -3074,14 +3069,14 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3074
3069
|
}, {
|
|
3075
3070
|
default: s(() => [
|
|
3076
3071
|
f("div", Dl, [
|
|
3077
|
-
(d(), I(
|
|
3072
|
+
(d(), I(W, null, Z(3, (y) => f("div", {
|
|
3078
3073
|
class: "col-4",
|
|
3079
3074
|
key: "stat-top-" + y
|
|
3080
3075
|
}, [
|
|
3081
3076
|
a[0] || (a[0] = f("div", { class: "fw-bold fs-5" }, "--", -1)),
|
|
3082
3077
|
f("div", Hl, "指标" + j(y), 1)
|
|
3083
3078
|
])), 64)),
|
|
3084
|
-
(d(), I(
|
|
3079
|
+
(d(), I(W, null, Z(3, (y) => f("div", {
|
|
3085
3080
|
class: "col-4 mt-3",
|
|
3086
3081
|
key: "stat-bottom-" + y
|
|
3087
3082
|
}, [
|
|
@@ -3101,7 +3096,7 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3101
3096
|
f("strong", null, "团队")
|
|
3102
3097
|
], -1)),
|
|
3103
3098
|
f("div", Gl, [
|
|
3104
|
-
(d(), I(
|
|
3099
|
+
(d(), I(W, null, Z(4, (y) => f("div", {
|
|
3105
3100
|
class: "me-3 text-center",
|
|
3106
3101
|
key: "member-" + y
|
|
3107
3102
|
}, [
|
|
@@ -3122,7 +3117,7 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3122
3117
|
gutter: [16, 16]
|
|
3123
3118
|
}, {
|
|
3124
3119
|
default: s(() => [
|
|
3125
|
-
(d(!0), I(
|
|
3120
|
+
(d(!0), I(W, null, Z(e.menus, (y) => (d(), v(p, {
|
|
3126
3121
|
span: 6,
|
|
3127
3122
|
key: y.cddm,
|
|
3128
3123
|
onClick: (_) => n(y)
|
|
@@ -3165,7 +3160,7 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3165
3160
|
const l = r("a-icon");
|
|
3166
3161
|
return d(), I("div", tr, [
|
|
3167
3162
|
f("div", nr, [
|
|
3168
|
-
(d(!0), I(
|
|
3163
|
+
(d(!0), I(W, null, Z(e.menus, (i) => (d(), I("div", {
|
|
3169
3164
|
class: "col",
|
|
3170
3165
|
key: i.cddm,
|
|
3171
3166
|
onClick: (c) => n(i)
|
|
@@ -3192,7 +3187,7 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3192
3187
|
}, dr = { class: "fw-medium" }, pr = { class: "mobile-content" }, fr = { class: "mobile-footer pt-1 bg-white border-top border-light" }, mr = {
|
|
3193
3188
|
__name: "MobileAppLayout",
|
|
3194
3189
|
setup(e) {
|
|
3195
|
-
const t = oe(), n = Qt(), o = ae(), a =
|
|
3190
|
+
const t = oe(), n = Qt(), o = ae(), a = S("menu", []), l = S("onBreakpoint", () => {
|
|
3196
3191
|
}), i = w(() => {
|
|
3197
3192
|
const b = [], A = (M) => {
|
|
3198
3193
|
Array.isArray(M) && M.forEach((T) => {
|
|
@@ -3208,8 +3203,8 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3208
3203
|
o.push("/");
|
|
3209
3204
|
};
|
|
3210
3205
|
return (b, A) => {
|
|
3211
|
-
const M = r("a-layout-sider"), T = r("a-layout"),
|
|
3212
|
-
return d(), I(
|
|
3206
|
+
const M = r("a-layout-sider"), T = r("a-layout"), C = r("a-icon"), k = r("router-view");
|
|
3207
|
+
return d(), I(W, null, [
|
|
3213
3208
|
u(T, { class: "breakpoint-compat-layout d-none" }, {
|
|
3214
3209
|
default: s(() => [
|
|
3215
3210
|
u(M, {
|
|
@@ -3222,7 +3217,7 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3222
3217
|
f("div", ur, [
|
|
3223
3218
|
f("header", ir, [
|
|
3224
3219
|
f("div", cr, [
|
|
3225
|
-
_.value ? (d(), v(
|
|
3220
|
+
_.value ? (d(), v(C, {
|
|
3226
3221
|
key: 0,
|
|
3227
3222
|
type: "icon-left",
|
|
3228
3223
|
class: "back-icon",
|
|
@@ -3273,38 +3268,38 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3273
3268
|
const p = Vt(e, "routerDepth");
|
|
3274
3269
|
V("routerDepth", p);
|
|
3275
3270
|
const m = w(() => t.state.auth.appMenus || []);
|
|
3276
|
-
o.value = m.value || [], ue(m, (
|
|
3277
|
-
Array.isArray(
|
|
3271
|
+
o.value = m.value || [], ue(m, (C) => {
|
|
3272
|
+
Array.isArray(C) && C.length > 0 && (o.value = C);
|
|
3278
3273
|
}, { immediate: !0 }), Me(() => {
|
|
3279
|
-
const
|
|
3280
|
-
a.value = n.currentRoute.value.matched[p.value], l.value = a?.value?.children,
|
|
3281
|
-
}), gn((
|
|
3282
|
-
a.value =
|
|
3274
|
+
const C = n.currentRoute.value.matched;
|
|
3275
|
+
a.value = n.currentRoute.value.matched[p.value], l.value = a?.value?.children, C[p.value + 0], C[p.value + 1] && (C[p.value + 1], i.value = C[p.value + 1], c.value = i?.value?.children);
|
|
3276
|
+
}), gn((C) => {
|
|
3277
|
+
a.value = C.matched[p.value], l.value = a?.value?.children;
|
|
3283
3278
|
});
|
|
3284
|
-
const y =
|
|
3285
|
-
var
|
|
3279
|
+
const y = S("spinningApp", B(!1)), _ = () => {
|
|
3280
|
+
var C = gt(
|
|
3286
3281
|
o.value,
|
|
3287
3282
|
(x) => x.name == n.currentRoute.value.name
|
|
3288
3283
|
);
|
|
3289
|
-
if (
|
|
3290
|
-
n.push(
|
|
3284
|
+
if (C)
|
|
3285
|
+
n.push(C.path);
|
|
3291
3286
|
else if (o.value.length) {
|
|
3292
3287
|
var k = kt(o.value);
|
|
3293
3288
|
n.push(k.path);
|
|
3294
3289
|
}
|
|
3295
|
-
}, h =
|
|
3290
|
+
}, h = S("breakpoint", B(!1));
|
|
3296
3291
|
V("breakpoint", h);
|
|
3297
|
-
const g =
|
|
3298
|
-
V("onBreakpoint", (
|
|
3299
|
-
["xs", "sm", "md", "emu-mobile", "emu-tablet"].includes(g.value) ? h.value = !0 : h.value =
|
|
3292
|
+
const g = S("simulator", B("xxxl"));
|
|
3293
|
+
V("onBreakpoint", (C) => {
|
|
3294
|
+
["xs", "sm", "md", "emu-mobile", "emu-tablet"].includes(g.value) ? h.value = !0 : h.value = C;
|
|
3300
3295
|
});
|
|
3301
3296
|
const A = B();
|
|
3302
3297
|
V("menuDrawerRef", A);
|
|
3303
|
-
const M =
|
|
3298
|
+
const M = S("refreshAppMenu", B(!1)), T = () => {
|
|
3304
3299
|
y.value = !1;
|
|
3305
3300
|
};
|
|
3306
|
-
return ue(M, (
|
|
3307
|
-
console.log("refreshAppMenu:",
|
|
3301
|
+
return ue(M, (C) => {
|
|
3302
|
+
console.log("refreshAppMenu:", C, n.options.routes), o.value = n.options.routes;
|
|
3308
3303
|
for (let k = 0; k < p.value; k++)
|
|
3309
3304
|
o.value = o.value[0].children;
|
|
3310
3305
|
console.log("开发环境:路由重新创建后,更新菜单"), _(), setTimeout(T, 1500);
|
|
@@ -3325,7 +3320,7 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3325
3320
|
}), vr = { class: "fs-6" }, br = { class: "d-flex justify-content-end px-3" };
|
|
3326
3321
|
function _r(e, t, n, o, a, l) {
|
|
3327
3322
|
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");
|
|
3328
|
-
return e.breakpoint && e.mobileLayoutType === "app" ? (d(), v(i, { key: 0 })) : (d(), I(
|
|
3323
|
+
return e.breakpoint && e.mobileLayoutType === "app" ? (d(), v(i, { key: 0 })) : (d(), I(W, { key: 1 }, [
|
|
3329
3324
|
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 })),
|
|
3330
3325
|
e.breakpoint && e.mobileLayoutType === "drawer" ? (d(), v(M, {
|
|
3331
3326
|
key: 8,
|
|
@@ -3349,7 +3344,6 @@ function gr(e) {
|
|
|
3349
3344
|
if (!n || !Array.isArray(n.children))
|
|
3350
3345
|
return [];
|
|
3351
3346
|
const o = (a = []) => a.filter((l) => !l.hidden && l.meta && l.meta.title).map((l) => {
|
|
3352
|
-
console.log(l);
|
|
3353
3347
|
const i = {
|
|
3354
3348
|
path: l.path,
|
|
3355
3349
|
name: l.name,
|
|
@@ -3434,13 +3428,13 @@ function cn(e, t, n, o, a) {
|
|
|
3434
3428
|
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);
|
|
3435
3429
|
}
|
|
3436
3430
|
}
|
|
3437
|
-
function
|
|
3431
|
+
function Cr(e, t, n, o, a, l) {
|
|
3438
3432
|
for (let i = 0, c = e.length; i < c; i++)
|
|
3439
3433
|
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));
|
|
3440
3434
|
}
|
|
3441
|
-
function
|
|
3435
|
+
function Sr(e, t, n, o, a, l, i) {
|
|
3442
3436
|
const c = [];
|
|
3443
|
-
switch (c.value = un(e, i),
|
|
3437
|
+
switch (c.value = un(e, i), Cr(c.value, t, n, o, a, l), t) {
|
|
3444
3438
|
case 1:
|
|
3445
3439
|
o[0].children = o[0].children.concat(c.value);
|
|
3446
3440
|
break;
|
|
@@ -3463,7 +3457,7 @@ const dn = (e = []) => {
|
|
|
3463
3457
|
};
|
|
3464
3458
|
function Js(e, t, n, o, a, l, i, c, p) {
|
|
3465
3459
|
const m = i.state.auth.dynamicRoutes;
|
|
3466
|
-
|
|
3460
|
+
Sr(m, o, a, l, i, c, p);
|
|
3467
3461
|
const y = gr(c);
|
|
3468
3462
|
i.commit("SET_APP_MENUS", y);
|
|
3469
3463
|
const _ = decodeURIComponent(t.query.redirect || e.path);
|
|
@@ -3486,7 +3480,7 @@ function xr(e, t, n, o, a, l) {
|
|
|
3486
3480
|
extra: s(() => [
|
|
3487
3481
|
u(i, { to: "/" }, {
|
|
3488
3482
|
default: s(() => [...t[0] || (t[0] = [
|
|
3489
|
-
|
|
3483
|
+
G("返回主页", -1)
|
|
3490
3484
|
])]),
|
|
3491
3485
|
_: 1
|
|
3492
3486
|
})
|
|
@@ -3508,7 +3502,7 @@ function Er(e, t, n, o, a, l) {
|
|
|
3508
3502
|
extra: s(() => [
|
|
3509
3503
|
u(i, { to: "/" }, {
|
|
3510
3504
|
default: s(() => [...t[0] || (t[0] = [
|
|
3511
|
-
|
|
3505
|
+
G("返回主页", -1)
|
|
3512
3506
|
])]),
|
|
3513
3507
|
_: 1
|
|
3514
3508
|
})
|
|
@@ -3607,13 +3601,13 @@ function jr(e, t) {
|
|
|
3607
3601
|
type: "primary"
|
|
3608
3602
|
}, {
|
|
3609
3603
|
default: s(() => [...t[0] || (t[0] = [
|
|
3610
|
-
|
|
3604
|
+
G("Go Console", -1)
|
|
3611
3605
|
])]),
|
|
3612
3606
|
_: 1
|
|
3613
3607
|
}),
|
|
3614
3608
|
u(n, { key: "buy" }, {
|
|
3615
3609
|
default: s(() => [...t[1] || (t[1] = [
|
|
3616
|
-
|
|
3610
|
+
G("Buy Again", -1)
|
|
3617
3611
|
])]),
|
|
3618
3612
|
_: 1
|
|
3619
3613
|
})
|
|
@@ -3625,12 +3619,12 @@ function jr(e, t) {
|
|
|
3625
3619
|
], -1)),
|
|
3626
3620
|
f("p", null, [
|
|
3627
3621
|
u(o, { style: { color: "red" } }),
|
|
3628
|
-
t[2] || (t[2] =
|
|
3622
|
+
t[2] || (t[2] = G(" 您的账户已被冻结 ", -1)),
|
|
3629
3623
|
t[3] || (t[3] = f("a", null, "立即解冻 >", -1))
|
|
3630
3624
|
]),
|
|
3631
3625
|
f("p", null, [
|
|
3632
3626
|
u(o, { style: { color: "red" } }),
|
|
3633
|
-
t[4] || (t[4] =
|
|
3627
|
+
t[4] || (t[4] = G(" 您的帐户尚不符合申请 ", -1)),
|
|
3634
3628
|
t[5] || (t[5] = f("a", null, "解锁资格 >", -1))
|
|
3635
3629
|
])
|
|
3636
3630
|
])
|
|
@@ -3641,7 +3635,7 @@ function jr(e, t) {
|
|
|
3641
3635
|
const Xs = /* @__PURE__ */ D(zr, [["render", jr]]), eu = {
|
|
3642
3636
|
__name: "noaccess",
|
|
3643
3637
|
setup(e) {
|
|
3644
|
-
const t =
|
|
3638
|
+
const t = S("$API"), n = oe(), o = ae(), a = w(() => n.state.app.auth);
|
|
3645
3639
|
w(() => n.state.auth.userInfo), w(() => n.state.app.appLayoutType), w(() => n.state.app.casServerLoginUrl);
|
|
3646
3640
|
const l = w(() => n.state.app.casServerLogoutUrl), i = Te(t.auth.logout), { run: c } = je((_) => i[i.method](_), {
|
|
3647
3641
|
manual: !0,
|
|
@@ -3669,7 +3663,7 @@ const Xs = /* @__PURE__ */ D(zr, [["render", jr]]), eu = {
|
|
|
3669
3663
|
onClick: O(c)
|
|
3670
3664
|
}, {
|
|
3671
3665
|
default: s(() => [...h[0] || (h[0] = [
|
|
3672
|
-
|
|
3666
|
+
G("退出登录", -1)
|
|
3673
3667
|
])]),
|
|
3674
3668
|
_: 1
|
|
3675
3669
|
}, 8, ["onClick"]),
|
|
@@ -3678,7 +3672,7 @@ const Xs = /* @__PURE__ */ D(zr, [["render", jr]]), eu = {
|
|
|
3678
3672
|
onClick: p
|
|
3679
3673
|
}, {
|
|
3680
3674
|
default: s(() => [...h[1] || (h[1] = [
|
|
3681
|
-
|
|
3675
|
+
G("刷新重试", -1)
|
|
3682
3676
|
])]),
|
|
3683
3677
|
_: 1
|
|
3684
3678
|
})
|
|
@@ -3690,11 +3684,11 @@ const Xs = /* @__PURE__ */ D(zr, [["render", jr]]), eu = {
|
|
|
3690
3684
|
f("strong", null, "联系技术支持")
|
|
3691
3685
|
], -1)),
|
|
3692
3686
|
f("p", null, [
|
|
3693
|
-
h[2] || (h[2] =
|
|
3687
|
+
h[2] || (h[2] = G(" 手机 ", -1)),
|
|
3694
3688
|
f("a", null, j(m.value), 1)
|
|
3695
3689
|
]),
|
|
3696
3690
|
f("p", null, [
|
|
3697
|
-
h[3] || (h[3] =
|
|
3691
|
+
h[3] || (h[3] = G(" 邮箱 ", -1)),
|
|
3698
3692
|
f("a", null, j(y.value), 1)
|
|
3699
3693
|
])
|
|
3700
3694
|
]),
|
|
@@ -3809,7 +3803,7 @@ function Dr(e, t, n, o, a, l) {
|
|
|
3809
3803
|
}, {
|
|
3810
3804
|
title: s(() => [
|
|
3811
3805
|
L(e.$slots, "title", {}, () => [
|
|
3812
|
-
|
|
3806
|
+
G(j(e.title), 1)
|
|
3813
3807
|
])
|
|
3814
3808
|
]),
|
|
3815
3809
|
default: s(() => [
|
|
@@ -3887,31 +3881,31 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
3887
3881
|
style: { height: "100%", "border-right": "0" }
|
|
3888
3882
|
}, {
|
|
3889
3883
|
default: s(() => [
|
|
3890
|
-
(d(!0), I(
|
|
3884
|
+
(d(!0), I(W, null, Z(e.menus, (h) => (d(), I(W, {
|
|
3891
3885
|
key: h.key
|
|
3892
3886
|
}, [
|
|
3893
3887
|
h.children && h.children.length ? (d(), v(p, {
|
|
3894
3888
|
key: `${h.key}`
|
|
3895
3889
|
}, {
|
|
3896
3890
|
title: s(() => [
|
|
3897
|
-
|
|
3891
|
+
G(j(h.label), 1)
|
|
3898
3892
|
]),
|
|
3899
3893
|
default: s(() => [
|
|
3900
|
-
(d(!0), I(
|
|
3894
|
+
(d(!0), I(W, null, Z(h.children, (g) => (d(), I(W, {
|
|
3901
3895
|
key: g.key
|
|
3902
3896
|
}, [
|
|
3903
3897
|
g.children && g.children.length ? (d(), v(p, {
|
|
3904
3898
|
key: `${g.key}`
|
|
3905
3899
|
}, {
|
|
3906
3900
|
title: s(() => [
|
|
3907
|
-
|
|
3901
|
+
G(j(g.label), 1)
|
|
3908
3902
|
]),
|
|
3909
3903
|
default: s(() => [
|
|
3910
|
-
(d(!0), I(
|
|
3904
|
+
(d(!0), I(W, null, Z(g.children, (b) => (d(), v(c, {
|
|
3911
3905
|
key: b.key
|
|
3912
3906
|
}, {
|
|
3913
3907
|
default: s(() => [
|
|
3914
|
-
|
|
3908
|
+
G(j(b.label), 1)
|
|
3915
3909
|
]),
|
|
3916
3910
|
_: 2
|
|
3917
3911
|
}, 1024))), 128))
|
|
@@ -3921,7 +3915,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
3921
3915
|
key: g.key
|
|
3922
3916
|
}, {
|
|
3923
3917
|
default: s(() => [
|
|
3924
|
-
|
|
3918
|
+
G(j(g.label), 1)
|
|
3925
3919
|
]),
|
|
3926
3920
|
_: 2
|
|
3927
3921
|
}, 1024))
|
|
@@ -3932,7 +3926,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
3932
3926
|
key: h.key
|
|
3933
3927
|
}, {
|
|
3934
3928
|
default: s(() => [
|
|
3935
|
-
|
|
3929
|
+
G(j(h.label), 1)
|
|
3936
3930
|
]),
|
|
3937
3931
|
_: 2
|
|
3938
3932
|
}, 1024))
|
|
@@ -3950,7 +3944,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
3950
3944
|
}, {
|
|
3951
3945
|
default: s(() => [
|
|
3952
3946
|
f("div", qr, [
|
|
3953
|
-
(d(!0), I(
|
|
3947
|
+
(d(!0), I(W, null, Z(a.value, (h) => L(l.$slots, h)), 256))
|
|
3954
3948
|
])
|
|
3955
3949
|
]),
|
|
3956
3950
|
_: 3
|
|
@@ -3975,7 +3969,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
3975
3969
|
const o = r("a-tab-pane"), a = r("a-tabs");
|
|
3976
3970
|
return d(), v(a, { class: "flex-fill h-100" }, He({
|
|
3977
3971
|
default: s(() => [
|
|
3978
|
-
(d(!0), I(
|
|
3972
|
+
(d(!0), I(W, null, Z(e.tabs, (l) => (d(), v(o, {
|
|
3979
3973
|
key: l.key,
|
|
3980
3974
|
tab: l.label,
|
|
3981
3975
|
disabled: l.disabled
|
|
@@ -4047,7 +4041,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4047
4041
|
direction: o.value
|
|
4048
4042
|
}, {
|
|
4049
4043
|
default: s(() => [
|
|
4050
|
-
(d(!0), I(
|
|
4044
|
+
(d(!0), I(W, null, Z(e.steps, (p) => (d(), v(i, {
|
|
4051
4045
|
key: p.key,
|
|
4052
4046
|
title: p.label
|
|
4053
4047
|
}, null, 8, ["title"]))), 128))
|
|
@@ -4057,7 +4051,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4057
4051
|
L(a.$slots, "extra", {}, void 0, !0)
|
|
4058
4052
|
], 2),
|
|
4059
4053
|
f("div", ns, [
|
|
4060
|
-
(d(!0), I(
|
|
4054
|
+
(d(!0), I(W, null, Z(e.steps, (p) => L(a.$slots, p.key, {}, void 0, !0)), 256))
|
|
4061
4055
|
])
|
|
4062
4056
|
], 2);
|
|
4063
4057
|
};
|
|
@@ -4149,8 +4143,8 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4149
4143
|
}
|
|
4150
4144
|
},
|
|
4151
4145
|
setup(e, { expose: t }) {
|
|
4152
|
-
const n = e, { selectedKeysName: o, autoExpandParent: a } = ke(n), l = B([]), i =
|
|
4153
|
-
}), _ =
|
|
4146
|
+
const n = e, { selectedKeysName: o, autoExpandParent: a } = ke(n), l = B([]), i = S("checkedKeys", B([])), c = S(o.value, B([])), p = S("expandedKeys", B([])), m = B(a.value), y = S("onCheck", ($) => {
|
|
4147
|
+
}), _ = S("onSelect", ($) => {
|
|
4154
4148
|
}), h = ($) => {
|
|
4155
4149
|
p.value = $, m.value = !1;
|
|
4156
4150
|
}, g = ($) => {
|
|
@@ -4165,7 +4159,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4165
4159
|
});
|
|
4166
4160
|
};
|
|
4167
4161
|
return K($, "", 1), P;
|
|
4168
|
-
}, b =
|
|
4162
|
+
}, b = S("ondrop", ($, P, K, J, H) => {
|
|
4169
4163
|
}), A = ($) => {
|
|
4170
4164
|
const P = $.node.key, K = $.dragNode.key, J = $.node.pos.split("-"), H = $.dropPosition - Number(J[J.length - 1]), ne = (N, de, Ae) => {
|
|
4171
4165
|
N.forEach((Oe, Je) => {
|
|
@@ -4201,33 +4195,33 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4201
4195
|
title: re
|
|
4202
4196
|
}), H.children && T(H.children, P, K);
|
|
4203
4197
|
}
|
|
4204
|
-
},
|
|
4198
|
+
}, C = ($, P) => {
|
|
4205
4199
|
let K;
|
|
4206
4200
|
for (let J = 0; J < P.length; J++) {
|
|
4207
4201
|
const H = P[J];
|
|
4208
|
-
H.children && H.children.length > 0 ? H.children.some((ne) => ne.key === $) ? K = H.key :
|
|
4202
|
+
H.children && H.children.length > 0 ? H.children.some((ne) => ne.key === $) ? K = H.key : C($, H.children) && (K = C($, H.children)) : H.key === $ && (K = H.key);
|
|
4209
4203
|
}
|
|
4210
4204
|
return K;
|
|
4211
|
-
}, k =
|
|
4205
|
+
}, k = S("isTreeSearchEnabled", B(!1)), x = B();
|
|
4212
4206
|
ue(x, ($) => {
|
|
4213
4207
|
T(l.value, "key", (K) => K[n.fieldNames.title]);
|
|
4214
|
-
const P = M.map((K) => K.title.indexOf($) > -1 ?
|
|
4208
|
+
const P = M.map((K) => K.title.indexOf($) > -1 ? C(K.key, l.value) : null).filter((K, J, H) => K && H.indexOf(K) === J);
|
|
4215
4209
|
p.value = P, x.value = $, m.value = !0;
|
|
4216
4210
|
});
|
|
4217
|
-
const z =
|
|
4211
|
+
const z = S("isTreeExpandAll", B(!1));
|
|
4218
4212
|
ue(() => z.value, ($) => {
|
|
4219
4213
|
T(l.value, "key", (J) => J[n.fieldNames.title]);
|
|
4220
4214
|
const P = B("02200059");
|
|
4221
4215
|
$ ? P.value = "" : P.value = "02200059";
|
|
4222
|
-
const K = M.map((J) => J.title.indexOf(P.value) > -1 ?
|
|
4216
|
+
const K = M.map((J) => J.title.indexOf(P.value) > -1 ? C(J.key, l.value) : null).filter((J, H, ne) => J && ne.indexOf(J) === H);
|
|
4223
4217
|
p.value = K, m.value = !0;
|
|
4224
4218
|
});
|
|
4225
|
-
const R =
|
|
4219
|
+
const R = S("onSuccess", ($, P) => {
|
|
4226
4220
|
$.value = P.data, m.value && (p.value = $.value.map((K) => K[n.fieldNames.key]));
|
|
4227
|
-
}),
|
|
4228
|
-
($) =>
|
|
4221
|
+
}), U = S("state", {}), Q = S("apiObj", B({})), { method: F } = { ...Q }, { run: q, loading: ee, current: te, pageSize: se, total: le, error: ie } = ct(
|
|
4222
|
+
($) => Q[F]({ ...$, ...Q.params }),
|
|
4229
4223
|
{
|
|
4230
|
-
refreshDeps: [
|
|
4224
|
+
refreshDeps: [Q],
|
|
4231
4225
|
pagination: {
|
|
4232
4226
|
pageSizeKey: "pageSize"
|
|
4233
4227
|
},
|
|
@@ -4237,9 +4231,9 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4237
4231
|
}
|
|
4238
4232
|
}
|
|
4239
4233
|
), we = () => {
|
|
4240
|
-
q({ current: te.value, pageSize: se.value, ...
|
|
4234
|
+
q({ current: te.value, pageSize: se.value, ...U });
|
|
4241
4235
|
}, he = () => {
|
|
4242
|
-
q({ current: te.value, pageSize: se.value, ...
|
|
4236
|
+
q({ current: te.value, pageSize: se.value, ...U });
|
|
4243
4237
|
};
|
|
4244
4238
|
V("run", q), V("total", le), V("loading", ee), V("current", te), V("pageSize", se);
|
|
4245
4239
|
const ve = B(n.simple);
|
|
@@ -4320,7 +4314,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4320
4314
|
L($.$slots, "title", { item: N }, () => [
|
|
4321
4315
|
E("", !0),
|
|
4322
4316
|
N[e.fieldNames.title].indexOf(x.value) > -1 ? (d(), I("span", ss, [
|
|
4323
|
-
|
|
4317
|
+
G(j(N[e.fieldNames.title].substr(0, N[e.fieldNames.title].indexOf(x.value))) + " ", 1),
|
|
4324
4318
|
f("div", us, [
|
|
4325
4319
|
f("span", is, j(x.value), 1),
|
|
4326
4320
|
f("span", null, j(N[e.fieldNames.title].substr(N[e.fieldNames.title].indexOf(x.value) + x.value.length)), 1)
|
|
@@ -4410,9 +4404,9 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4410
4404
|
itemLayout: { type: String, default: "none" }
|
|
4411
4405
|
},
|
|
4412
4406
|
setup(e, { expose: t }) {
|
|
4413
|
-
const n = e, o = B([]), { loadMore: a } = ke(n), l =
|
|
4407
|
+
const n = e, o = B([]), { loadMore: a } = ke(n), l = S("onSuccess", (F, q) => {
|
|
4414
4408
|
F.value = a.value ? F.value.concat(q.data) : q.data;
|
|
4415
|
-
}), i =
|
|
4409
|
+
}), i = S("state", {}), c = S("apiObj", B({})), { method: p } = { ...c }, { run: m, loading: y, current: _, pageSize: h, total: g, error: b } = ct(
|
|
4416
4410
|
(F) => c[p]({ ...F, ...c.params, ...i }),
|
|
4417
4411
|
{
|
|
4418
4412
|
refreshDeps: [c],
|
|
@@ -4433,14 +4427,14 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4433
4427
|
V("run", m), V("total", g), V("loading", y), V("current", _), V("pageSize", h);
|
|
4434
4428
|
const T = B(n.simple);
|
|
4435
4429
|
V("simple", T);
|
|
4436
|
-
const
|
|
4437
|
-
V("showSizeChanger",
|
|
4430
|
+
const C = B(n.showSizeChanger);
|
|
4431
|
+
V("showSizeChanger", C);
|
|
4438
4432
|
const k = B(n.showQuickJumper);
|
|
4439
4433
|
V("showQuickJumper", k);
|
|
4440
4434
|
const x = B(""), z = B(1), R = () => {
|
|
4441
4435
|
z.value * h.value <= g.value ? (z.value += 1, m({ current: z.value, pageSize: h.value, ...i })) : x.value = "已经到底了";
|
|
4442
|
-
},
|
|
4443
|
-
const F =
|
|
4436
|
+
}, U = B(null), Q = () => {
|
|
4437
|
+
const F = U.value;
|
|
4444
4438
|
var q = F.scrollTop + F.clientHeight;
|
|
4445
4439
|
const ee = F.scrollHeight;
|
|
4446
4440
|
q >= ee - vs && !y.value && a.value && R();
|
|
@@ -4482,8 +4476,8 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4482
4476
|
f("div", {
|
|
4483
4477
|
class: "flex-fill d-flex flex-column ofa cccc",
|
|
4484
4478
|
ref_key: "scrollContainer",
|
|
4485
|
-
ref:
|
|
4486
|
-
onScroll:
|
|
4479
|
+
ref: U,
|
|
4480
|
+
onScroll: Q
|
|
4487
4481
|
}, [
|
|
4488
4482
|
u(le, ge({ "item-layout": e.itemLayout }, e.itemLayout === "none" ? { grid: e.grid } : {}, {
|
|
4489
4483
|
class: [e.padding, "flex-fill position-relative"],
|
|
@@ -4625,7 +4619,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4625
4619
|
}
|
|
4626
4620
|
},
|
|
4627
4621
|
setup(e, { expose: t }) {
|
|
4628
|
-
const n = e, { size: o, columns: a, expandRowByClick: l, showHeader: i } = ke(n), c = B([]), p =
|
|
4622
|
+
const n = e, { size: o, columns: a, expandRowByClick: l, showHeader: i } = ke(n), c = B([]), p = S(
|
|
4629
4623
|
"apiObj",
|
|
4630
4624
|
Te({
|
|
4631
4625
|
method: "post",
|
|
@@ -4648,16 +4642,16 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4648
4642
|
$ && k(c, $);
|
|
4649
4643
|
}
|
|
4650
4644
|
}
|
|
4651
|
-
), M =
|
|
4645
|
+
), M = S("state", {}), T = () => {
|
|
4652
4646
|
y({ current: h.value, pageSize: g.value, ...M });
|
|
4653
|
-
},
|
|
4647
|
+
}, C = () => {
|
|
4654
4648
|
y({ current: h.value, pageSize: g.value, ...M });
|
|
4655
|
-
}, k =
|
|
4649
|
+
}, k = S("onSuccess", ($, P) => {
|
|
4656
4650
|
$.value = P.data, z.value = rn($.value, "key");
|
|
4657
|
-
}), x =
|
|
4658
|
-
}),
|
|
4651
|
+
}), x = S("defaultExpandedRowKeys", null), z = S("expandedRowKeys", B([])), R = S("rowSelection", null), U = S("rowClick", () => {
|
|
4652
|
+
}), Q = ($) => ({
|
|
4659
4653
|
onClick: (P) => {
|
|
4660
|
-
|
|
4654
|
+
U(P, $);
|
|
4661
4655
|
}
|
|
4662
4656
|
}), F = ($, P) => ({
|
|
4663
4657
|
onClick: () => {
|
|
@@ -4673,7 +4667,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4673
4667
|
let H = {};
|
|
4674
4668
|
K.length ? K.forEach((ne) => {
|
|
4675
4669
|
H[ne.field] = ne.order;
|
|
4676
|
-
}) : H = { [K.field]: K.order }, M.sorter = JSON.stringify(H), M.filters = JSON.stringify(P), $.current != null && (M.current = $.current, M.pageSize = $.pageSize),
|
|
4670
|
+
}) : H = { [K.field]: K.order }, M.sorter = JSON.stringify(H), M.filters = JSON.stringify(P), $.current != null && (M.current = $.current, M.pageSize = $.pageSize), C();
|
|
4677
4671
|
};
|
|
4678
4672
|
V("run", y), V("sync", T), V("total", b), V("loading", _), V("current", h), V("pageSize", g);
|
|
4679
4673
|
const se = B(n.simple);
|
|
@@ -4704,7 +4698,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4704
4698
|
};
|
|
4705
4699
|
return t({
|
|
4706
4700
|
sync: T,
|
|
4707
|
-
search:
|
|
4701
|
+
search: C,
|
|
4708
4702
|
dataList: c
|
|
4709
4703
|
}), ($, P) => {
|
|
4710
4704
|
const K = r("CResponsiveHeader"), J = r("a-table-column"), H = r("a-table"), ne = r("CFooterPaginationBar"), re = r("ESpin");
|
|
@@ -4743,7 +4737,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4743
4737
|
class: ["rounded-0", { "ant-table-striped": he.value }],
|
|
4744
4738
|
pagination: e.pagination ? { total: parseInt(O(b)), pageSize: O(g) } : e.pagination,
|
|
4745
4739
|
"data-source": c.value,
|
|
4746
|
-
customRow:
|
|
4740
|
+
customRow: Q,
|
|
4747
4741
|
expandRowByClick: O(l),
|
|
4748
4742
|
defaultExpandAllRows: !O(x),
|
|
4749
4743
|
defaultExpandedRowKeys: O(x),
|
|
@@ -4760,7 +4754,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4760
4754
|
onResizeColumn: Ge
|
|
4761
4755
|
}), He({
|
|
4762
4756
|
default: s(() => [
|
|
4763
|
-
(d(!0), I(
|
|
4757
|
+
(d(!0), I(W, null, Z(O(a), (N, de) => (d(), I(W, { key: de }, [
|
|
4764
4758
|
N.hide ? E("", !0) : (d(), v(J, {
|
|
4765
4759
|
title: N.title,
|
|
4766
4760
|
dataIndex: N.dataIndex,
|
|
@@ -4834,7 +4828,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4834
4828
|
} else
|
|
4835
4829
|
return e == null && (e = []), e;
|
|
4836
4830
|
}
|
|
4837
|
-
},
|
|
4831
|
+
}, Cs = {
|
|
4838
4832
|
__name: "ESelect",
|
|
4839
4833
|
props: {
|
|
4840
4834
|
apiObj: {
|
|
@@ -4913,7 +4907,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4913
4907
|
if (!c.value?.url) return;
|
|
4914
4908
|
const R = b.value;
|
|
4915
4909
|
if (R == null) return;
|
|
4916
|
-
const
|
|
4910
|
+
const U = (te) => String(te), Q = a.fieldNames.value, F = Array.isArray(R) ? R : [R], q = new Set(l.value.map((te) => U(te[Q]))), ee = F.filter((te) => !q.has(U(te)));
|
|
4917
4911
|
if (ee.length !== 0)
|
|
4918
4912
|
try {
|
|
4919
4913
|
const te = [];
|
|
@@ -4921,33 +4915,33 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4921
4915
|
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) || [];
|
|
4922
4916
|
te.push(...ve);
|
|
4923
4917
|
}
|
|
4924
|
-
const se = new Set(l.value.map((ie) =>
|
|
4918
|
+
const se = new Set(l.value.map((ie) => U(ie[Q]))), le = te.filter((ie) => !se.has(U(ie[Q])));
|
|
4925
4919
|
l.value = [...l.value, ...le];
|
|
4926
4920
|
} catch (te) {
|
|
4927
4921
|
console.warn("获取并合并选定项异常:", te);
|
|
4928
4922
|
}
|
|
4929
4923
|
};
|
|
4930
4924
|
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: "星期六" }]);
|
|
4931
|
-
const
|
|
4925
|
+
const C = async (R) => {
|
|
4932
4926
|
if (c.value.url && m.value) {
|
|
4933
|
-
const
|
|
4934
|
-
M(
|
|
4927
|
+
const U = h.value ? { [y.value]: R, ...h.value } : { [y.value]: R };
|
|
4928
|
+
M(U);
|
|
4935
4929
|
}
|
|
4936
4930
|
}, k = (R) => {
|
|
4937
4931
|
i("update:value", R), c.value.url && m.value && !R && M(h.value || {});
|
|
4938
4932
|
};
|
|
4939
|
-
ue(h, async (R,
|
|
4940
|
-
for (const
|
|
4941
|
-
if (R[
|
|
4933
|
+
ue(h, async (R, U) => {
|
|
4934
|
+
for (const Q in R)
|
|
4935
|
+
if (R[Q] !== U[Q]) {
|
|
4942
4936
|
await M(R);
|
|
4943
4937
|
let F = !1;
|
|
4944
4938
|
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);
|
|
4945
4939
|
}
|
|
4946
4940
|
});
|
|
4947
|
-
const x = (R,
|
|
4948
|
-
if (!
|
|
4949
|
-
const
|
|
4950
|
-
return F.includes(
|
|
4941
|
+
const x = (R, U) => {
|
|
4942
|
+
if (!U || !U.label && !U.value) return !1;
|
|
4943
|
+
const Q = R.toLowerCase(), F = U.label ? U.label.toString().toLowerCase() : "", q = U.value ? U.value.toString().toLowerCase() : "";
|
|
4944
|
+
return F.includes(Q) || q.includes(Q);
|
|
4951
4945
|
};
|
|
4952
4946
|
return ue(_.value, (R) => {
|
|
4953
4947
|
l.value = _e(R);
|
|
@@ -4956,9 +4950,9 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4956
4950
|
c.value.url && M(h.value || {});
|
|
4957
4951
|
},
|
|
4958
4952
|
selectList: l
|
|
4959
|
-
}), (R,
|
|
4960
|
-
const
|
|
4961
|
-
return d(), v(
|
|
4953
|
+
}), (R, U) => {
|
|
4954
|
+
const Q = r("a-select");
|
|
4955
|
+
return d(), v(Q, ge({
|
|
4962
4956
|
virtual: !1,
|
|
4963
4957
|
value: b.value,
|
|
4964
4958
|
"allow-clear": "",
|
|
@@ -4969,10 +4963,10 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4969
4963
|
"not-found-content": l.value.length > 0 ? null : "暂无数据",
|
|
4970
4964
|
options: A.value,
|
|
4971
4965
|
onChange: k
|
|
4972
|
-
}, Ht({ search: O(m) ?
|
|
4966
|
+
}, Ht({ search: O(m) ? C : void 0 })), He({
|
|
4973
4967
|
option: s(({ label: F, value: q, ...ee }) => [
|
|
4974
4968
|
L(R.$slots, "option", vn(bn({ label: F, value: q, ...ee })), () => [
|
|
4975
|
-
|
|
4969
|
+
G(j(F), 1)
|
|
4976
4970
|
])
|
|
4977
4971
|
]),
|
|
4978
4972
|
suffixIcon: s(() => [
|
|
@@ -4991,8 +4985,8 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4991
4985
|
]), 1040, ["value", "showSearch", "filter-option", "not-found-content", "options"]);
|
|
4992
4986
|
};
|
|
4993
4987
|
}
|
|
4994
|
-
},
|
|
4995
|
-
components: { draggable:
|
|
4988
|
+
}, Ss = X({
|
|
4989
|
+
components: { draggable: Cn },
|
|
4996
4990
|
props: {
|
|
4997
4991
|
list: {
|
|
4998
4992
|
type: Array,
|
|
@@ -5004,7 +4998,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
5004
4998
|
}
|
|
5005
4999
|
},
|
|
5006
5000
|
setup(e) {
|
|
5007
|
-
const t = Vt(e, "list"), n = B({}), o =
|
|
5001
|
+
const t = Vt(e, "list"), n = B({}), o = S("draggableListSelectedItem", () => {
|
|
5008
5002
|
});
|
|
5009
5003
|
return {
|
|
5010
5004
|
selectItem: n,
|
|
@@ -5039,7 +5033,7 @@ function xs(e, t, n, o, a, l) {
|
|
|
5039
5033
|
_: 3
|
|
5040
5034
|
}, 8, ["list"]);
|
|
5041
5035
|
}
|
|
5042
|
-
const $s = /* @__PURE__ */ D(
|
|
5036
|
+
const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selector border rounded-3" }, Is = {
|
|
5043
5037
|
__name: "ColorSelector",
|
|
5044
5038
|
props: { modelValue: String },
|
|
5045
5039
|
emits: ["update:modelValue"],
|
|
@@ -5061,14 +5055,14 @@ const $s = /* @__PURE__ */ D(Cs, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5061
5055
|
p[2] || (p[2] = f("div", { class: "section-title" }, "状态色", -1)),
|
|
5062
5056
|
u(y, { wrap: "" }, {
|
|
5063
5057
|
default: s(() => [
|
|
5064
|
-
(d(), I(
|
|
5058
|
+
(d(), I(W, null, Z(a, (h) => u(m, {
|
|
5065
5059
|
key: h.name,
|
|
5066
5060
|
color: h.value,
|
|
5067
5061
|
style: { cursor: "pointer" },
|
|
5068
5062
|
onClick: (g) => i(h.value)
|
|
5069
5063
|
}, {
|
|
5070
5064
|
default: s(() => [
|
|
5071
|
-
|
|
5065
|
+
G(j(h.name), 1)
|
|
5072
5066
|
]),
|
|
5073
5067
|
_: 2
|
|
5074
5068
|
}, 1032, ["color", "onClick"])), 64))
|
|
@@ -5079,7 +5073,7 @@ const $s = /* @__PURE__ */ D(Cs, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5079
5073
|
E("", !0),
|
|
5080
5074
|
f("div", null, [
|
|
5081
5075
|
p[4] || (p[4] = f("div", { class: "section-title" }, "颜色选择器", -1)),
|
|
5082
|
-
u(O(
|
|
5076
|
+
u(O(Sn), {
|
|
5083
5077
|
pureColor: l.value,
|
|
5084
5078
|
"onUpdate:pureColor": p[0] || (p[0] = (h) => l.value = h),
|
|
5085
5079
|
format: "hex",
|
|
@@ -5128,7 +5122,7 @@ const $s = /* @__PURE__ */ D(Cs, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5128
5122
|
},
|
|
5129
5123
|
emits: ["update:mobileVisible"],
|
|
5130
5124
|
setup(e, { emit: t }) {
|
|
5131
|
-
const n = e, o = t, a =
|
|
5125
|
+
const n = e, o = t, a = S("breakpoint", B(!1)), l = _n(), i = B(0);
|
|
5132
5126
|
nt(() => {
|
|
5133
5127
|
const g = l.default?.() || [];
|
|
5134
5128
|
i.value = g.length;
|
|
@@ -5150,15 +5144,15 @@ const $s = /* @__PURE__ */ D(Cs, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5150
5144
|
return Array.isArray(b) ? b.filter(Boolean).join(" - ") : b || "未知名称";
|
|
5151
5145
|
}
|
|
5152
5146
|
return (g, b) => {
|
|
5153
|
-
const A = r("a-space"), M = r("a-icon"), T = r("a-button"),
|
|
5147
|
+
const A = r("a-space"), M = r("a-icon"), T = r("a-button"), C = r("a-popover"), k = r("a-divider"), x = r("a-form-item"), z = r("a-form"), R = r("a-drawer");
|
|
5154
5148
|
return d(), I("div", null, [
|
|
5155
5149
|
O(a) ? E("", !0) : (d(), v(A, {
|
|
5156
5150
|
key: 0,
|
|
5157
5151
|
direction: "horizontal"
|
|
5158
5152
|
}, {
|
|
5159
5153
|
default: s(() => [
|
|
5160
|
-
(d(!0), I(
|
|
5161
|
-
_.value.length > 0 ? (d(), v(
|
|
5154
|
+
(d(!0), I(W, null, Z(y.value, (U, Q) => (d(), v(Fe(U), { key: Q }))), 128)),
|
|
5155
|
+
_.value.length > 0 ? (d(), v(C, {
|
|
5162
5156
|
key: 0,
|
|
5163
5157
|
trigger: "click",
|
|
5164
5158
|
placement: "bottomLeft"
|
|
@@ -5171,8 +5165,8 @@ const $s = /* @__PURE__ */ D(Cs, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5171
5165
|
style: { width: "100%" }
|
|
5172
5166
|
}, {
|
|
5173
5167
|
default: s(() => [
|
|
5174
|
-
(d(!0), I(
|
|
5175
|
-
key: "extra-" +
|
|
5168
|
+
(d(!0), I(W, null, Z(_.value, (U, Q) => (d(), v(Fe(U), {
|
|
5169
|
+
key: "extra-" + Q,
|
|
5176
5170
|
style: { width: "100%" }
|
|
5177
5171
|
}))), 128)),
|
|
5178
5172
|
L(g.$slots, "footer")
|
|
@@ -5186,7 +5180,7 @@ const $s = /* @__PURE__ */ D(Cs, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5186
5180
|
default: s(() => [
|
|
5187
5181
|
f("small", null, [
|
|
5188
5182
|
u(M, { type: "icon-filter" }),
|
|
5189
|
-
|
|
5183
|
+
G(" " + j(n.title), 1)
|
|
5190
5184
|
])
|
|
5191
5185
|
]),
|
|
5192
5186
|
_: 1
|
|
@@ -5210,26 +5204,26 @@ const $s = /* @__PURE__ */ D(Cs, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5210
5204
|
placement: "bottom",
|
|
5211
5205
|
height: "auto",
|
|
5212
5206
|
closable: !0,
|
|
5213
|
-
onClose: b[2] || (b[2] = (
|
|
5207
|
+
onClose: b[2] || (b[2] = (U) => o("update:mobileVisible", !1)),
|
|
5214
5208
|
"body-style": { minHeight: "28vh", maxHeight: "46vh", overflowY: "auto", borderTopLeftRadius: "12px", borderTopRightRadius: "12px" },
|
|
5215
5209
|
footerStyle: { background: "rgb(248, 249, 250)" }
|
|
5216
5210
|
}, {
|
|
5217
5211
|
footer: s(() => [
|
|
5218
5212
|
f("div", Os, [
|
|
5219
5213
|
u(T, {
|
|
5220
|
-
onClick: b[0] || (b[0] = (
|
|
5214
|
+
onClick: b[0] || (b[0] = (U) => g.$emit("reset"))
|
|
5221
5215
|
}, {
|
|
5222
5216
|
default: s(() => [...b[3] || (b[3] = [
|
|
5223
|
-
|
|
5217
|
+
G("重置", -1)
|
|
5224
5218
|
])]),
|
|
5225
5219
|
_: 1
|
|
5226
5220
|
}),
|
|
5227
5221
|
u(T, {
|
|
5228
5222
|
type: "primary",
|
|
5229
|
-
onClick: b[1] || (b[1] = (
|
|
5223
|
+
onClick: b[1] || (b[1] = (U) => g.$emit("confirm"))
|
|
5230
5224
|
}, {
|
|
5231
5225
|
default: s(() => [...b[4] || (b[4] = [
|
|
5232
|
-
|
|
5226
|
+
G("确定", -1)
|
|
5233
5227
|
])]),
|
|
5234
5228
|
_: 1
|
|
5235
5229
|
})
|
|
@@ -5252,12 +5246,12 @@ const $s = /* @__PURE__ */ D(Cs, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5252
5246
|
layout: "vertical"
|
|
5253
5247
|
}, {
|
|
5254
5248
|
default: s(() => [
|
|
5255
|
-
(d(!0), I(
|
|
5256
|
-
key:
|
|
5257
|
-
label: h(
|
|
5249
|
+
(d(!0), I(W, null, Z(g.$slots.default?.() || [], (U, Q) => (d(), v(x, {
|
|
5250
|
+
key: Q,
|
|
5251
|
+
label: h(U)
|
|
5258
5252
|
}, {
|
|
5259
5253
|
default: s(() => [
|
|
5260
|
-
(d(), v(Fe(
|
|
5254
|
+
(d(), v(Fe(U)))
|
|
5261
5255
|
]),
|
|
5262
5256
|
_: 2
|
|
5263
5257
|
}, 1032, ["label"]))), 128))
|
|
@@ -5283,10 +5277,10 @@ const $s = /* @__PURE__ */ D(Cs, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5283
5277
|
}
|
|
5284
5278
|
},
|
|
5285
5279
|
setup(e) {
|
|
5286
|
-
const t =
|
|
5280
|
+
const t = S("breakpoint", B(!1));
|
|
5287
5281
|
return (n, o) => {
|
|
5288
5282
|
const a = r("a-space");
|
|
5289
|
-
return d(), I(
|
|
5283
|
+
return d(), I(W, null, [
|
|
5290
5284
|
O(t) ? E("", !0) : (d(), I("div", {
|
|
5291
5285
|
key: 0,
|
|
5292
5286
|
class: Y(["d-flex justify-content-between align-items-center bg-white", { "border-bottom": e.headBorder }])
|
|
@@ -5359,10 +5353,10 @@ const $s = /* @__PURE__ */ D(Cs, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5359
5353
|
}
|
|
5360
5354
|
},
|
|
5361
5355
|
setup(e) {
|
|
5362
|
-
const t =
|
|
5356
|
+
const t = S("run"), n = S("state", B({})), o = S("total"), a = S("loading"), l = S("current"), i = S("pageSize"), c = S("simple"), p = S("showSizeChanger"), m = S("showQuickJumper"), y = S("breakpoint", B(!1));
|
|
5363
5357
|
return (_, h) => {
|
|
5364
5358
|
const g = r("a-pagination"), b = r("a-icon"), A = r("a-button"), M = r("a-space");
|
|
5365
|
-
return d(), I(
|
|
5359
|
+
return d(), I(W, null, [
|
|
5366
5360
|
f("div", Ps, [
|
|
5367
5361
|
f("span", zs, "共 " + j(O(o)) + " 条", 1),
|
|
5368
5362
|
u(g, {
|
|
@@ -5400,7 +5394,7 @@ const $s = /* @__PURE__ */ D(Cs, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5400
5394
|
};
|
|
5401
5395
|
}
|
|
5402
5396
|
}, js = /* @__PURE__ */ D(Ls, [["__scopeId", "data-v-914e82a2"]]), Us = (e) => {
|
|
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",
|
|
5397
|
+
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", Cs), e.component("EDraggable", $s), e.component("ColorSelector", Ms), e.component("CResponsiveFilter", Rs), e.component("CResponsiveHeader", Ns), e.component("CFooterPaginationBar", js);
|
|
5404
5398
|
}, tu = {
|
|
5405
5399
|
install: Us
|
|
5406
5400
|
};
|
|
@@ -5415,7 +5409,7 @@ export {
|
|
|
5415
5409
|
_s as EList,
|
|
5416
5410
|
Xr as EMenu,
|
|
5417
5411
|
Hr as EModal,
|
|
5418
|
-
|
|
5412
|
+
Cs as ESelect,
|
|
5419
5413
|
Fr as ESpin,
|
|
5420
5414
|
as as ESteps,
|
|
5421
5415
|
ws as ETable,
|