@das-fed/web 6.4.0-dev.128 → 6.4.0-dev.129
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/{index-BFp3Y4y4.js → index-B3OqAGHC.js} +1 -1
- package/{index-Ccd3FSXR.js → index-Dv8XVLoK.js} +864 -862
- package/index-Dv8XVLoK.js.gz +0 -0
- package/{packages/main-app-framework/index-BwiyAaNE.js → index-m11RNdKU.js} +1 -1
- package/index-m11RNdKU.js.gz +0 -0
- package/index.js +1 -1
- package/package.json +6 -6
- package/packages/main-app-framework/{index-CvfGcmOm.js → index-B1Yozxvi.js} +667 -665
- package/packages/main-app-framework/index-B1Yozxvi.js.gz +0 -0
- package/{index-CUrCahkn.js → packages/main-app-framework/index-BHlzbJ72.js} +1 -1
- package/packages/main-app-framework/index-BHlzbJ72.js.gz +0 -0
- package/packages/main-app-framework/{index-r3ylnGqY.js → index-DZ8X_gYY.js} +1 -1
- package/packages/main-app-framework/index.js +1 -1
- package/index-CUrCahkn.js.gz +0 -0
- package/index-Ccd3FSXR.js.gz +0 -0
- package/packages/main-app-framework/index-BwiyAaNE.js.gz +0 -0
- package/packages/main-app-framework/index-CvfGcmOm.js.gz +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ref as
|
|
1
|
+
import { ref as Z, createApp as vr, reactive as ze, computed as vA, defineComponent as iA, watch as sA, createElementBlock as dA, openBlock as J, Fragment as Ae, createBlock as tA, createCommentVNode as AA, TransitionGroup as nr, normalizeProps as _f, mergeProps as x9, withCtx as U, renderList as he, withDirectives as WA, resolveDynamicComponent as Ye, vShow as QA, unref as D, nextTick as ae, resolveComponent as rr, createElementVNode as B, normalizeStyle as $f, normalizeClass as i7, renderSlot as LA, createVNode as M, Transition as F7, guardReactiveProps as S7, KeepAlive as K7, h as RA, onBeforeMount as tr, onMounted as ue, onUnmounted as ov, getCurrentScope as Pr, onScopeDispose as ur, getCurrentInstance as dr, onActivated as zr, createTextVNode as mA, toDisplayString as PA, render as c9, isRef as ve, onBeforeUnmount as O9, useCssVars as Xr, withModifiers as oA, toRefs as cr, createSlots as br } from "vue";
|
|
2
2
|
import { initTheme as ar, setThemeRule as ir, getVar as C7 } from "@das-fed/web/packages/theme/index";
|
|
3
|
-
import { initI18n as sr, i18n as fA, t as
|
|
4
|
-
import { DasWebLayout as s7, DasWebTabs as Zv, DasWebMenu as Tv, DasWebNav as Lv, layout as
|
|
3
|
+
import { initI18n as sr, i18n as fA, t as k, currentLang as D9, setLang as qr, setI18nRule as Hr } from "@das-fed/web/packages/i18n/index";
|
|
4
|
+
import { DasWebLayout as s7, DasWebTabs as Zv, DasWebMenu as Tv, DasWebNav as Lv, layout as $, layoutData as yv } from "@das-fed/web/packages/layout/index";
|
|
5
5
|
import { createPinia as pr } from "pinia";
|
|
6
6
|
import mr from "pinia-plugin-persistedstate";
|
|
7
7
|
import { createRouter as lr, createWebHistory as xr, useRouter as me, useRoute as $e } from "vue-router";
|
|
@@ -95,7 +95,7 @@ const at = (f) => {
|
|
|
95
95
|
return v.keepAlive = v.keepAlive ?? (A == null ? void 0 : A.keepAlive) ?? !0, { ...e, meta: v };
|
|
96
96
|
}), mb = (f) => {
|
|
97
97
|
f || (f = {});
|
|
98
|
-
const A =
|
|
98
|
+
const A = Z(!0);
|
|
99
99
|
Promise.all([ar(f), sr(f)]).then(() => {
|
|
100
100
|
A.value = !1;
|
|
101
101
|
});
|
|
@@ -223,9 +223,9 @@ const at = (f) => {
|
|
|
223
223
|
删除失败: { "zh-CN": "删除失败", en: "Deleted Failed", _appCode: "framework" },
|
|
224
224
|
操作成功: { "zh-CN": "操作成功", en: "Operated Successfully", _appCode: "framework" },
|
|
225
225
|
操作失败: { "zh-CN": "操作失败", en: "Operated Failed", _appCode: "framework" }
|
|
226
|
-
}, Ge =
|
|
226
|
+
}, Ge = ze({}), Ue = ze({}), b9 = ze({});
|
|
227
227
|
var jv;
|
|
228
|
-
const st = sessionStorage.getItem("currentLang") ? sessionStorage.getItem("currentLang") : (jv = navigator.language) != null && jv.toLowerCase().startsWith("zh") ? "zh-CN" : "en", s9 =
|
|
228
|
+
const st = sessionStorage.getItem("currentLang") ? sessionStorage.getItem("currentLang") : (jv = navigator.language) != null && jv.toLowerCase().startsWith("zh") ? "zh-CN" : "en", s9 = Z(st), qt = "dasI18n", lb = (f = {}, A) => {
|
|
229
229
|
const e = A === "global", v = !e, n = {};
|
|
230
230
|
for (const r in f)
|
|
231
231
|
for (const P in f[r])
|
|
@@ -264,10 +264,10 @@ const st = sessionStorage.getItem("currentLang") ? sessionStorage.getItem("curre
|
|
|
264
264
|
}), P;
|
|
265
265
|
}), mt = pt, Ob = (f, ...A) => mt(f, ...A).value, Db = (f) => {
|
|
266
266
|
sessionStorage.setItem("currentLang", f), s9.value = f;
|
|
267
|
-
}, Vb = () => s9, Je =
|
|
267
|
+
}, Vb = () => s9, Je = Z("light"), d9 = Z({
|
|
268
268
|
light: {},
|
|
269
269
|
dark: {}
|
|
270
|
-
}), z9 =
|
|
270
|
+
}), z9 = Z({
|
|
271
271
|
light: {},
|
|
272
272
|
dark: {}
|
|
273
273
|
}), lt = "dasTheme", a9 = "das-theme", xt = (f) => {
|
|
@@ -327,7 +327,7 @@ const e3 = (f, A) => {
|
|
|
327
327
|
}, Dt = (f) => vA(() => {
|
|
328
328
|
var A, e, v, n;
|
|
329
329
|
return ((e = (A = z9.value) == null ? void 0 : A[Je.value]) == null ? void 0 : e[f]) || ((n = (v = d9.value) == null ? void 0 : v[Je.value]) == null ? void 0 : n[f]) || f;
|
|
330
|
-
}), jb = (f) => `var(${f})`, ob = Dt, qA =
|
|
330
|
+
}), jb = (f) => `var(${f})`, ob = Dt, qA = ze({
|
|
331
331
|
visible: !1,
|
|
332
332
|
theme: "default",
|
|
333
333
|
logo: "",
|
|
@@ -415,7 +415,7 @@ const e3 = (f, A) => {
|
|
|
415
415
|
remove: v
|
|
416
416
|
};
|
|
417
417
|
}
|
|
418
|
-
}, ne =
|
|
418
|
+
}, ne = ze({
|
|
419
419
|
theme: "default",
|
|
420
420
|
items: [],
|
|
421
421
|
collapse: !1,
|
|
@@ -468,7 +468,7 @@ const e3 = (f, A) => {
|
|
|
468
468
|
remove: v
|
|
469
469
|
};
|
|
470
470
|
}
|
|
471
|
-
}, hA =
|
|
471
|
+
}, hA = ze({
|
|
472
472
|
theme: "default",
|
|
473
473
|
items: [],
|
|
474
474
|
eventListeners: {}
|
|
@@ -522,7 +522,7 @@ const e3 = (f, A) => {
|
|
|
522
522
|
remove: v
|
|
523
523
|
};
|
|
524
524
|
}
|
|
525
|
-
}, X9 =
|
|
525
|
+
}, X9 = ze({
|
|
526
526
|
eventListeners: {}
|
|
527
527
|
}), Vt = {
|
|
528
528
|
triggerEventListener: (f, A, e) => {
|
|
@@ -556,7 +556,7 @@ const e3 = (f, A) => {
|
|
|
556
556
|
remove: v
|
|
557
557
|
};
|
|
558
558
|
}
|
|
559
|
-
}, t7 =
|
|
559
|
+
}, t7 = ze({
|
|
560
560
|
visible: !1,
|
|
561
561
|
style: {}
|
|
562
562
|
}), Nt = {
|
|
@@ -569,7 +569,7 @@ const e3 = (f, A) => {
|
|
|
569
569
|
tab: hA,
|
|
570
570
|
overlay: t7,
|
|
571
571
|
iframeView: X9,
|
|
572
|
-
visible:
|
|
572
|
+
visible: Z(!0)
|
|
573
573
|
}, zA = {
|
|
574
574
|
nav: f3,
|
|
575
575
|
menu: v3,
|
|
@@ -595,7 +595,7 @@ const e3 = (f, A) => {
|
|
|
595
595
|
...A.transitionConfig || {}
|
|
596
596
|
};
|
|
597
597
|
return b;
|
|
598
|
-
}), v = me(), n = $e(), r =
|
|
598
|
+
}), v = me(), n = $e(), r = Z([]), P = vA(() => r.value.filter((X) => {
|
|
599
599
|
var b;
|
|
600
600
|
return (b = X.meta) == null ? void 0 : b.isOpen;
|
|
601
601
|
})), u = (X) => {
|
|
@@ -655,24 +655,24 @@ const e3 = (f, A) => {
|
|
|
655
655
|
r.value.forEach((b) => {
|
|
656
656
|
b.path === X && (b.meta.isOpen = !1);
|
|
657
657
|
});
|
|
658
|
-
}), (X, b) => (
|
|
658
|
+
}), (X, b) => (J(), dA(
|
|
659
659
|
Ae,
|
|
660
660
|
null,
|
|
661
661
|
[
|
|
662
|
-
X.needTransition ? (
|
|
662
|
+
X.needTransition ? (J(), tA(
|
|
663
663
|
nr,
|
|
664
664
|
_f(x9({ key: 0 }, e.value)),
|
|
665
665
|
{
|
|
666
|
-
default:
|
|
667
|
-
(
|
|
666
|
+
default: U(() => [
|
|
667
|
+
(J(!0), dA(
|
|
668
668
|
Ae,
|
|
669
669
|
null,
|
|
670
|
-
he(P.value, ({ path: c, meta: i }) => WA((
|
|
670
|
+
he(P.value, ({ path: c, meta: i }) => WA((J(), dA("div", {
|
|
671
671
|
class: "das-iframe-router-view",
|
|
672
672
|
key: i.key,
|
|
673
673
|
name: c
|
|
674
674
|
}, [
|
|
675
|
-
(
|
|
675
|
+
(J(), tA(Ye(i.componentInstance), {
|
|
676
676
|
key: i.key
|
|
677
677
|
}))
|
|
678
678
|
], 8, Rt)), [
|
|
@@ -688,15 +688,15 @@ const e3 = (f, A) => {
|
|
|
688
688
|
16
|
|
689
689
|
/* FULL_PROPS */
|
|
690
690
|
)) : AA("v-if", !0),
|
|
691
|
-
X.needTransition ? AA("v-if", !0) : (
|
|
691
|
+
X.needTransition ? AA("v-if", !0) : (J(!0), dA(
|
|
692
692
|
Ae,
|
|
693
693
|
{ key: 1 },
|
|
694
|
-
he(P.value, ({ path: c, meta: i }) => WA((
|
|
694
|
+
he(P.value, ({ path: c, meta: i }) => WA((J(), dA("div", {
|
|
695
695
|
class: "das-iframe-router-view",
|
|
696
696
|
key: i.key,
|
|
697
697
|
name: c
|
|
698
698
|
}, [
|
|
699
|
-
(
|
|
699
|
+
(J(), tA(Ye(i.componentInstance), {
|
|
700
700
|
key: i.key
|
|
701
701
|
}))
|
|
702
702
|
], 8, jt)), [
|
|
@@ -749,7 +749,7 @@ const e3 = (f, A) => {
|
|
|
749
749
|
setup(f) {
|
|
750
750
|
const A = f;
|
|
751
751
|
zt(), Xt(), ct();
|
|
752
|
-
const e = $e(), v =
|
|
752
|
+
const e = $e(), v = Z(!1), n = Z(!1), r = Z(!1), P = vA(() => v.value && A.showLayout), u = vA(() => n.value && A.showLayout && A.showAside), d = vA(() => v.value && A.showLayout && A.showTabs), t = vA(() => A.routerViewVisible ?? !0), z = vA(() => Re.overlay.visible ?? !1), m = vA(() => ({
|
|
753
753
|
"das-web-app-overlay-show": z.value === !0,
|
|
754
754
|
"das-web-app-overlay-hide": z.value === !1,
|
|
755
755
|
"das-web-app-overlay-destroy": z.value === "destroy"
|
|
@@ -764,8 +764,8 @@ const e3 = (f, A) => {
|
|
|
764
764
|
app: o
|
|
765
765
|
} = p;
|
|
766
766
|
dt(O);
|
|
767
|
-
let
|
|
768
|
-
(l === !1 || R === !1 || R === "false") && (
|
|
767
|
+
let T = !0, Y = !0, g = !0;
|
|
768
|
+
(l === !1 || R === !1 || R === "false") && (T = !1, Y = !1, g = !1), (j === !1 || V === !1 || V === "false") && (Y = !1), (x === !1 || N === !1 || N === "false") && (g = !1), v.value = T, n.value = Y, r.value = g;
|
|
769
769
|
}
|
|
770
770
|
);
|
|
771
771
|
const i = vA(() => ({
|
|
@@ -785,8 +785,8 @@ const e3 = (f, A) => {
|
|
|
785
785
|
}, q = vA(() => Re.visible.value);
|
|
786
786
|
return (H, p) => {
|
|
787
787
|
const l = rr("router-view");
|
|
788
|
-
return
|
|
789
|
-
WA(
|
|
788
|
+
return J(), dA("div", Tt, [
|
|
789
|
+
WA(B(
|
|
790
790
|
"div",
|
|
791
791
|
{
|
|
792
792
|
class: i7(["das-web-app-overlay", m.value]),
|
|
@@ -798,7 +798,7 @@ const e3 = (f, A) => {
|
|
|
798
798
|
), [
|
|
799
799
|
[QA, q.value]
|
|
800
800
|
]),
|
|
801
|
-
P.value ? WA((
|
|
801
|
+
P.value ? WA((J(), dA(
|
|
802
802
|
"div",
|
|
803
803
|
Lt,
|
|
804
804
|
[
|
|
@@ -809,8 +809,8 @@ const e3 = (f, A) => {
|
|
|
809
809
|
)), [
|
|
810
810
|
[QA, q.value]
|
|
811
811
|
]) : AA("v-if", !0),
|
|
812
|
-
|
|
813
|
-
u.value ? WA((
|
|
812
|
+
B("div", yt, [
|
|
813
|
+
u.value ? WA((J(), dA(
|
|
814
814
|
"div",
|
|
815
815
|
wt,
|
|
816
816
|
[
|
|
@@ -821,8 +821,8 @@ const e3 = (f, A) => {
|
|
|
821
821
|
)), [
|
|
822
822
|
[QA, q.value]
|
|
823
823
|
]) : AA("v-if", !0),
|
|
824
|
-
|
|
825
|
-
d.value ? WA((
|
|
824
|
+
B("div", Wt, [
|
|
825
|
+
d.value ? WA((J(), dA(
|
|
826
826
|
"div",
|
|
827
827
|
Et,
|
|
828
828
|
[
|
|
@@ -833,8 +833,8 @@ const e3 = (f, A) => {
|
|
|
833
833
|
)), [
|
|
834
834
|
[QA, q.value]
|
|
835
835
|
]) : AA("v-if", !0),
|
|
836
|
-
|
|
837
|
-
WA(
|
|
836
|
+
B("div", It, [
|
|
837
|
+
WA(B(
|
|
838
838
|
"div",
|
|
839
839
|
gt,
|
|
840
840
|
[
|
|
@@ -845,27 +845,27 @@ const e3 = (f, A) => {
|
|
|
845
845
|
), [
|
|
846
846
|
[QA, q.value]
|
|
847
847
|
]),
|
|
848
|
-
|
|
849
|
-
WA((
|
|
848
|
+
B("div", Mt, [
|
|
849
|
+
WA((J(), dA("div", {
|
|
850
850
|
key: H.pageKey,
|
|
851
851
|
style: { width: "100%", height: "100%" }
|
|
852
852
|
}, [
|
|
853
853
|
LA(H.$slots, "router-view", {}, () => [
|
|
854
854
|
AA(" 有动画 "),
|
|
855
|
-
H.needTransition ? (
|
|
856
|
-
default:
|
|
857
|
-
|
|
855
|
+
H.needTransition ? (J(), tA(l, { key: 0 }, {
|
|
856
|
+
default: U(({ Component: j }) => [
|
|
857
|
+
M(
|
|
858
858
|
F7,
|
|
859
859
|
_f(S7(i.value)),
|
|
860
860
|
{
|
|
861
|
-
default:
|
|
861
|
+
default: U(() => {
|
|
862
862
|
var x;
|
|
863
863
|
return [
|
|
864
|
-
D(e).meta.keepAlive ? (
|
|
864
|
+
D(e).meta.keepAlive ? (J(), tA(K7, {
|
|
865
865
|
key: 0,
|
|
866
866
|
exclude: b.value
|
|
867
867
|
}, [
|
|
868
|
-
c.value && !((x = D(e).meta) != null && x.isIframe) ? (
|
|
868
|
+
c.value && !((x = D(e).meta) != null && x.isIframe) ? (J(), tA(Ye(s(j, D(e).path)), {
|
|
869
869
|
key: D(e).path
|
|
870
870
|
})) : AA("v-if", !0)
|
|
871
871
|
], 1032, ["exclude"])) : AA("v-if", !0)
|
|
@@ -877,13 +877,13 @@ const e3 = (f, A) => {
|
|
|
877
877
|
1040
|
|
878
878
|
/* FULL_PROPS, DYNAMIC_SLOTS */
|
|
879
879
|
),
|
|
880
|
-
|
|
880
|
+
M(
|
|
881
881
|
F7,
|
|
882
882
|
_f(S7(i.value)),
|
|
883
883
|
{
|
|
884
|
-
default:
|
|
885
|
-
!D(e).meta.keepAlive && !D(e).meta.isIframe ? (
|
|
886
|
-
(
|
|
884
|
+
default: U(() => [
|
|
885
|
+
!D(e).meta.keepAlive && !D(e).meta.isIframe ? (J(), dA("div", Bt, [
|
|
886
|
+
(J(), tA(Ye(j), {
|
|
887
887
|
key: D(e).path
|
|
888
888
|
}))
|
|
889
889
|
])) : AA("v-if", !0)
|
|
@@ -899,18 +899,18 @@ const e3 = (f, A) => {
|
|
|
899
899
|
/* STABLE */
|
|
900
900
|
})) : AA("v-if", !0),
|
|
901
901
|
AA(" 无动画 "),
|
|
902
|
-
H.needTransition ? AA("v-if", !0) : (
|
|
903
|
-
default:
|
|
904
|
-
D(e).meta.keepAlive ? (
|
|
902
|
+
H.needTransition ? AA("v-if", !0) : (J(), tA(l, { key: 1 }, {
|
|
903
|
+
default: U(({ Component: j }) => [
|
|
904
|
+
D(e).meta.keepAlive ? (J(), tA(K7, {
|
|
905
905
|
key: 0,
|
|
906
906
|
exclude: b.value
|
|
907
907
|
}, [
|
|
908
|
-
c.value && !D(e).meta.isIframe ? (
|
|
908
|
+
c.value && !D(e).meta.isIframe ? (J(), tA(Ye(s(j, D(e).path)), {
|
|
909
909
|
key: D(e).path
|
|
910
910
|
})) : AA("v-if", !0)
|
|
911
911
|
], 1032, ["exclude"])) : AA("v-if", !0),
|
|
912
|
-
!D(e).meta.keepAlive && !D(e).meta.isIframe ? (
|
|
913
|
-
(
|
|
912
|
+
!D(e).meta.keepAlive && !D(e).meta.isIframe ? (J(), dA("div", kt, [
|
|
913
|
+
(J(), tA(Ye(j), {
|
|
914
914
|
key: D(e).path
|
|
915
915
|
}))
|
|
916
916
|
])) : AA("v-if", !0)
|
|
@@ -918,11 +918,11 @@ const e3 = (f, A) => {
|
|
|
918
918
|
_: 1
|
|
919
919
|
/* STABLE */
|
|
920
920
|
})),
|
|
921
|
-
WA(
|
|
921
|
+
WA(B(
|
|
922
922
|
"div",
|
|
923
923
|
Qt,
|
|
924
924
|
[
|
|
925
|
-
|
|
925
|
+
M(Zt, {
|
|
926
926
|
exclude: b.value,
|
|
927
927
|
transitionConfig: i.value,
|
|
928
928
|
needTransition: H.needTransition
|
|
@@ -937,7 +937,7 @@ const e3 = (f, A) => {
|
|
|
937
937
|
])), [
|
|
938
938
|
[QA, t.value]
|
|
939
939
|
]),
|
|
940
|
-
WA(
|
|
940
|
+
WA(B(
|
|
941
941
|
"div",
|
|
942
942
|
Yt,
|
|
943
943
|
[
|
|
@@ -1013,7 +1013,7 @@ const e3 = (f, A) => {
|
|
|
1013
1013
|
zA.nav.triggerEventListener("onMounted", null, { autoRemove: !0 });
|
|
1014
1014
|
}), ov(() => {
|
|
1015
1015
|
zA.nav.triggerEventListener("onUnmounted", null, { autoRemove: !0 });
|
|
1016
|
-
}), (x, O) => (
|
|
1016
|
+
}), (x, O) => (J(), dA("das-ce-nav", {
|
|
1017
1017
|
theme: e.value,
|
|
1018
1018
|
modelValue: n.value,
|
|
1019
1019
|
logoUrl: v.value,
|
|
@@ -1047,7 +1047,7 @@ const e3 = (f, A) => {
|
|
|
1047
1047
|
}, m = (X) => {
|
|
1048
1048
|
zA.menu.setCollapse(X.detail[0]), zA.menu.triggerEventListener("toggleCollapse", X.detail[0]);
|
|
1049
1049
|
};
|
|
1050
|
-
return (X, b) => r.value.length > 0 ? (
|
|
1050
|
+
return (X, b) => r.value.length > 0 ? (J(), dA("das-ce-menu", x9({
|
|
1051
1051
|
key: 0,
|
|
1052
1052
|
theme: v.value,
|
|
1053
1053
|
modelValue: u.value,
|
|
@@ -1083,7 +1083,7 @@ const e3 = (f, A) => {
|
|
|
1083
1083
|
}, m = () => {
|
|
1084
1084
|
zA.tab.triggerEventListener("onToggleFullScreen");
|
|
1085
1085
|
};
|
|
1086
|
-
return (X, b) => r.value.length > 0 ? (
|
|
1086
|
+
return (X, b) => r.value.length > 0 ? (J(), dA("das-ce-tabs", x9({
|
|
1087
1087
|
key: 0,
|
|
1088
1088
|
theme: n.value,
|
|
1089
1089
|
modelValue: P.value,
|
|
@@ -1096,7 +1096,7 @@ const e3 = (f, A) => {
|
|
|
1096
1096
|
"on:toggleFullScreen": m
|
|
1097
1097
|
}), null, 16, ht)) : AA("v-if", !0);
|
|
1098
1098
|
}
|
|
1099
|
-
}), r3 =
|
|
1099
|
+
}), r3 = Z("/das-micro-app"), wA = Z([]), W9 = Z(!1), T9 = Z([]), L9 = Z(!0);
|
|
1100
1100
|
let GA = null, UA = null, Be = null;
|
|
1101
1101
|
const Ft = (f) => new Promise((A) => {
|
|
1102
1102
|
const e = () => {
|
|
@@ -1322,7 +1322,7 @@ function tP(...f) {
|
|
|
1322
1322
|
return Uv(t), t;
|
|
1323
1323
|
}
|
|
1324
1324
|
function PP(f, A = !1) {
|
|
1325
|
-
const e =
|
|
1325
|
+
const e = Z(), v = () => e.value = !!f();
|
|
1326
1326
|
return v(), vP(v, A), e;
|
|
1327
1327
|
}
|
|
1328
1328
|
const P3 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, u3 = "__vueuse_ssr_handlers__";
|
|
@@ -1370,7 +1370,7 @@ const d3 = [
|
|
|
1370
1370
|
]
|
|
1371
1371
|
];
|
|
1372
1372
|
function e9(f, A = {}) {
|
|
1373
|
-
const { document: e = rP, autoExit: v = !1 } = A, n = f || (e == null ? void 0 : e.querySelector("html")), r =
|
|
1373
|
+
const { document: e = rP, autoExit: v = !1 } = A, n = f || (e == null ? void 0 : e.querySelector("html")), r = Z(!1);
|
|
1374
1374
|
let P = d3[0];
|
|
1375
1375
|
const u = PP(() => {
|
|
1376
1376
|
if (e) {
|
|
@@ -1459,7 +1459,7 @@ const bP = ["src", "entry", "name"], aP = /* @__PURE__ */ iA({
|
|
|
1459
1459
|
}, r = vA(() => e.actived);
|
|
1460
1460
|
return sA(() => r.value, (u) => {
|
|
1461
1461
|
u && v("onActivated"), u || v("onDeactivated");
|
|
1462
|
-
}), (u, d) => (
|
|
1462
|
+
}), (u, d) => (J(), dA("iframe", {
|
|
1463
1463
|
class: "das-micro-app",
|
|
1464
1464
|
src: e.src,
|
|
1465
1465
|
entry: e.src,
|
|
@@ -1471,7 +1471,7 @@ const bP = ["src", "entry", "name"], aP = /* @__PURE__ */ iA({
|
|
|
1471
1471
|
}), iP = /* @__PURE__ */ ZA(aP, [["__scopeId", "data-v-8ae871f6"]]), sP = /* @__PURE__ */ iA({
|
|
1472
1472
|
__name: "das-micro-apps",
|
|
1473
1473
|
setup(f) {
|
|
1474
|
-
const A =
|
|
1474
|
+
const A = Z(null), e = async (r, P) => {
|
|
1475
1475
|
const u = wA.value.find((X) => X.name === P);
|
|
1476
1476
|
if (!u) return;
|
|
1477
1477
|
u.dom = r.target, await ae(), await new Promise((X) => setTimeout(X, 50));
|
|
@@ -1500,7 +1500,7 @@ const bP = ["src", "entry", "name"], aP = /* @__PURE__ */ iA({
|
|
|
1500
1500
|
const { dom: d, ...t } = u;
|
|
1501
1501
|
xA.sendMessageToMicroApp(P, "onDeactivated"), xA.triggerMicroAppLifeCycleListener("onDeactivated", t);
|
|
1502
1502
|
};
|
|
1503
|
-
return (r, P) => (
|
|
1503
|
+
return (r, P) => (J(), dA(
|
|
1504
1504
|
"div",
|
|
1505
1505
|
{
|
|
1506
1506
|
ref_key: "containerRef",
|
|
@@ -1508,14 +1508,14 @@ const bP = ["src", "entry", "name"], aP = /* @__PURE__ */ iA({
|
|
|
1508
1508
|
class: "das-micro-app-container"
|
|
1509
1509
|
},
|
|
1510
1510
|
[
|
|
1511
|
-
(
|
|
1511
|
+
(J(!0), dA(
|
|
1512
1512
|
Ae,
|
|
1513
1513
|
null,
|
|
1514
|
-
he(D(wA), (u) => (
|
|
1514
|
+
he(D(wA), (u) => (J(), dA(
|
|
1515
1515
|
Ae,
|
|
1516
1516
|
null,
|
|
1517
1517
|
[
|
|
1518
|
-
u.loaded ? WA((
|
|
1518
|
+
u.loaded ? WA((J(), tA(iP, {
|
|
1519
1519
|
key: 0,
|
|
1520
1520
|
src: u.src || "",
|
|
1521
1521
|
name: u.name,
|
|
@@ -1556,27 +1556,27 @@ const bP = ["src", "entry", "name"], aP = /* @__PURE__ */ iA({
|
|
|
1556
1556
|
"enter-active-class": "animate__animated animate__fadeInLeft",
|
|
1557
1557
|
...A.transitionConfig
|
|
1558
1558
|
})), n = vA(() => ({ showLayout: A.showLayout, showAside: A.showAside, showTabs: A.showTabs }));
|
|
1559
|
-
return (r, P) => (
|
|
1559
|
+
return (r, P) => (J(), tA(D(s7), x9({
|
|
1560
1560
|
"transition-config": v.value,
|
|
1561
1561
|
"router-view-visible": e.value
|
|
1562
1562
|
}, n.value), {
|
|
1563
|
-
header:
|
|
1563
|
+
header: U(() => [
|
|
1564
1564
|
LA(r.$slots, "header", {}, () => [
|
|
1565
|
-
|
|
1565
|
+
M(D(Lv))
|
|
1566
1566
|
])
|
|
1567
1567
|
]),
|
|
1568
|
-
aside:
|
|
1568
|
+
aside: U(() => [
|
|
1569
1569
|
LA(r.$slots, "aside", {}, () => [
|
|
1570
|
-
|
|
1570
|
+
M(D(Tv), { menuAttr: r.menuAttr }, null, 8, ["menuAttr"])
|
|
1571
1571
|
])
|
|
1572
1572
|
]),
|
|
1573
|
-
tab:
|
|
1573
|
+
tab: U(() => [
|
|
1574
1574
|
LA(r.$slots, "tab", {}, () => [
|
|
1575
|
-
|
|
1575
|
+
M(D(Zv), { tabsAttr: r.tabsAttr }, null, 8, ["tabsAttr"])
|
|
1576
1576
|
])
|
|
1577
1577
|
]),
|
|
1578
|
-
default:
|
|
1579
|
-
|
|
1578
|
+
default: U(() => [
|
|
1579
|
+
M(qP)
|
|
1580
1580
|
]),
|
|
1581
1581
|
_: 3
|
|
1582
1582
|
/* FORWARDED */
|
|
@@ -1626,7 +1626,7 @@ const bP = ["src", "entry", "name"], aP = /* @__PURE__ */ iA({
|
|
|
1626
1626
|
component: hv,
|
|
1627
1627
|
meta: { isMicroApp: !0, keepAlive: !0 }
|
|
1628
1628
|
});
|
|
1629
|
-
const v =
|
|
1629
|
+
const v = Z(!1), n = Z(!1), r = Z("");
|
|
1630
1630
|
sA(
|
|
1631
1631
|
() => A.currentRoute.value,
|
|
1632
1632
|
(P) => {
|
|
@@ -1681,16 +1681,16 @@ const bP = ["src", "entry", "name"], aP = /* @__PURE__ */ iA({
|
|
|
1681
1681
|
L9.value = !0, T9.value = [];
|
|
1682
1682
|
}, 100));
|
|
1683
1683
|
});
|
|
1684
|
-
},
|
|
1684
|
+
}, be = "/home", te = "/application", pP = [
|
|
1685
1685
|
// { value: HomePath, label: '首页', path: HomePath, fixed: true },
|
|
1686
1686
|
// { value: ApplicationPath, label: '应用', path: ApplicationPath, fixed: true },
|
|
1687
1687
|
{
|
|
1688
1688
|
id: "-2",
|
|
1689
|
-
value:
|
|
1690
|
-
code:
|
|
1689
|
+
value: be,
|
|
1690
|
+
code: be,
|
|
1691
1691
|
label: "首页",
|
|
1692
|
-
path:
|
|
1693
|
-
routeUrl:
|
|
1692
|
+
path: be,
|
|
1693
|
+
routeUrl: be,
|
|
1694
1694
|
unClosed: !0
|
|
1695
1695
|
},
|
|
1696
1696
|
{
|
|
@@ -1714,7 +1714,7 @@ const bP = ["src", "entry", "name"], aP = /* @__PURE__ */ iA({
|
|
|
1714
1714
|
__name: "banner",
|
|
1715
1715
|
emits: ["close-tip"],
|
|
1716
1716
|
setup(f, { emit: A }) {
|
|
1717
|
-
const e = A, v =
|
|
1717
|
+
const e = A, v = Z(!0), n = Z(""), r = Z(0), P = Z({}), u = () => {
|
|
1718
1718
|
e("close-tip", !0), v.value = !0;
|
|
1719
1719
|
};
|
|
1720
1720
|
yA.sendMessageToMicroApp("iot/iot", "iot:banner-data-1", null, { awaitListener: !0 });
|
|
@@ -1724,9 +1724,9 @@ const bP = ["src", "entry", "name"], aP = /* @__PURE__ */ iA({
|
|
|
1724
1724
|
});
|
|
1725
1725
|
return ov(() => {
|
|
1726
1726
|
d();
|
|
1727
|
-
}), (t, z) => v.value ? AA("v-if", !0) : (
|
|
1728
|
-
|
|
1729
|
-
|
|
1727
|
+
}), (t, z) => v.value ? AA("v-if", !0) : (J(), dA("div", lP, [
|
|
1728
|
+
B("div", xP, [
|
|
1729
|
+
M(D(Or), {
|
|
1730
1730
|
class: "icons",
|
|
1731
1731
|
iconColor: "#fdaf1a"
|
|
1732
1732
|
}),
|
|
@@ -1736,7 +1736,7 @@ const bP = ["src", "entry", "name"], aP = /* @__PURE__ */ iA({
|
|
|
1736
1736
|
/* TEXT */
|
|
1737
1737
|
)
|
|
1738
1738
|
]),
|
|
1739
|
-
|
|
1739
|
+
M(D(Dr), {
|
|
1740
1740
|
class: "icons close-icon",
|
|
1741
1741
|
iconColor: "#999999",
|
|
1742
1742
|
onClick: u
|
|
@@ -1746,14 +1746,14 @@ const bP = ["src", "entry", "name"], aP = /* @__PURE__ */ iA({
|
|
|
1746
1746
|
}), DP = /* @__PURE__ */ ZA(OP, [["__scopeId", "data-v-2470d845"]]), VP = /* @__PURE__ */ iA({
|
|
1747
1747
|
__name: "index",
|
|
1748
1748
|
setup(f) {
|
|
1749
|
-
const A = $e(), e =
|
|
1749
|
+
const A = $e(), e = Z("");
|
|
1750
1750
|
return sA(
|
|
1751
1751
|
() => A.path,
|
|
1752
1752
|
(v) => {
|
|
1753
1753
|
e.value = v;
|
|
1754
1754
|
},
|
|
1755
1755
|
{ immediate: !0 }
|
|
1756
|
-
), (v, n) => e.value.startsWith("/iot/iot") ? (
|
|
1756
|
+
), (v, n) => e.value.startsWith("/iot/iot") ? (J(), tA(DP, { key: 0 })) : AA("v-if", !0);
|
|
1757
1757
|
}
|
|
1758
1758
|
}), NP = /* @__PURE__ */ iA({
|
|
1759
1759
|
__name: "base-layout",
|
|
@@ -1780,29 +1780,29 @@ const bP = ["src", "entry", "name"], aP = /* @__PURE__ */ iA({
|
|
|
1780
1780
|
excludeRoutes: A.excludeRoutes,
|
|
1781
1781
|
routeKeepAliveVisible: A.routeKeepAliveVisible
|
|
1782
1782
|
}));
|
|
1783
|
-
return (n, r) => (
|
|
1783
|
+
return (n, r) => (J(), tA(D(s7), x9({
|
|
1784
1784
|
loading: n.loading,
|
|
1785
1785
|
pageKey: n.pageKey,
|
|
1786
1786
|
"transition-config": e.value
|
|
1787
1787
|
}, v.value), {
|
|
1788
|
-
header:
|
|
1788
|
+
header: U(() => [
|
|
1789
1789
|
LA(n.$slots, "header", {}, () => [
|
|
1790
|
-
|
|
1790
|
+
M(D(Lv))
|
|
1791
1791
|
])
|
|
1792
1792
|
]),
|
|
1793
|
-
aside:
|
|
1793
|
+
aside: U(() => [
|
|
1794
1794
|
LA(n.$slots, "aside", {}, () => [
|
|
1795
|
-
|
|
1795
|
+
M(D(Tv), { menuAttr: n.menuAttr }, null, 8, ["menuAttr"])
|
|
1796
1796
|
])
|
|
1797
1797
|
]),
|
|
1798
|
-
tab:
|
|
1798
|
+
tab: U(() => [
|
|
1799
1799
|
LA(n.$slots, "tab", {}, () => [
|
|
1800
|
-
|
|
1800
|
+
M(D(Zv), { tabsAttr: n.tabsAttr }, null, 8, ["tabsAttr"])
|
|
1801
1801
|
])
|
|
1802
1802
|
]),
|
|
1803
|
-
banner:
|
|
1803
|
+
banner: U(() => [
|
|
1804
1804
|
LA(n.$slots, "banner", {}, () => [
|
|
1805
|
-
|
|
1805
|
+
M(VP)
|
|
1806
1806
|
])
|
|
1807
1807
|
]),
|
|
1808
1808
|
_: 3
|
|
@@ -1815,7 +1815,7 @@ const bP = ["src", "entry", "name"], aP = /* @__PURE__ */ iA({
|
|
|
1815
1815
|
platformInitNextTick: {}
|
|
1816
1816
|
},
|
|
1817
1817
|
setup(f) {
|
|
1818
|
-
const A = f, e =
|
|
1818
|
+
const A = f, e = Z({}), v = Z(120), n = Z(64), r = Z([]), P = Z([]), u = ze({
|
|
1819
1819
|
color: "rgba(0,0,0,.15)",
|
|
1820
1820
|
fontSize: 16
|
|
1821
1821
|
}), d = (i, a) => {
|
|
@@ -1823,7 +1823,7 @@ const bP = ["src", "entry", "name"], aP = /* @__PURE__ */ iA({
|
|
|
1823
1823
|
s.innerHTML = i, s.style.fontSize = a + "px", s.style.fontFamily = "sans-serif", s.style.visibility = "hidden", document.body.appendChild(s);
|
|
1824
1824
|
const q = s.getBoundingClientRect();
|
|
1825
1825
|
v.value = Math.ceil(q.width) + a / 2, n.value = Math.ceil(q.height), document.body.removeChild(s);
|
|
1826
|
-
}, t =
|
|
1826
|
+
}, t = Z(!1), z = () => new Promise((i) => {
|
|
1827
1827
|
const a = () => {
|
|
1828
1828
|
if (t) return i(!0);
|
|
1829
1829
|
setTimeout(() => a(), 50);
|
|
@@ -1875,7 +1875,7 @@ const bP = ["src", "entry", "name"], aP = /* @__PURE__ */ iA({
|
|
|
1875
1875
|
const i = !!((s = e.value) != null && s.pageSwith);
|
|
1876
1876
|
let a = ((q = c.query) == null ? void 0 : q.showWatermark) ?? !0;
|
|
1877
1877
|
a === "false" && (a = !1), m(!!(i && a));
|
|
1878
|
-
}), (i, a) => (
|
|
1878
|
+
}), (i, a) => (J(), tA(D(_r), {
|
|
1879
1879
|
class: "watermark",
|
|
1880
1880
|
font: u,
|
|
1881
1881
|
zIndex: 2147483647,
|
|
@@ -1883,7 +1883,7 @@ const bP = ["src", "entry", "name"], aP = /* @__PURE__ */ iA({
|
|
|
1883
1883
|
width: v.value,
|
|
1884
1884
|
height: n.value
|
|
1885
1885
|
}, {
|
|
1886
|
-
default:
|
|
1886
|
+
default: U(() => [
|
|
1887
1887
|
LA(i.$slots, "default", {}, void 0, !0)
|
|
1888
1888
|
]),
|
|
1889
1889
|
_: 3
|
|
@@ -1903,8 +1903,8 @@ const bP = ["src", "entry", "name"], aP = /* @__PURE__ */ iA({
|
|
|
1903
1903
|
closeCallback: {}
|
|
1904
1904
|
},
|
|
1905
1905
|
setup(f) {
|
|
1906
|
-
const A =
|
|
1907
|
-
return (e, v) => (
|
|
1906
|
+
const A = Z(!0);
|
|
1907
|
+
return (e, v) => (J(), tA(D(Fe), {
|
|
1908
1908
|
modelValue: A.value,
|
|
1909
1909
|
"onUpdate:modelValue": v[0] || (v[0] = (n) => A.value = n),
|
|
1910
1910
|
type: "feedback",
|
|
@@ -1915,16 +1915,16 @@ const bP = ["src", "entry", "name"], aP = /* @__PURE__ */ iA({
|
|
|
1915
1915
|
"custom-class": "menu-tip-diaolg",
|
|
1916
1916
|
onClosed: e.closeCallback
|
|
1917
1917
|
}, {
|
|
1918
|
-
footer:
|
|
1919
|
-
|
|
1920
|
-
|
|
1918
|
+
footer: U(() => [
|
|
1919
|
+
B("div", LP, [
|
|
1920
|
+
M(D(KA), {
|
|
1921
1921
|
btnType: "default",
|
|
1922
1922
|
size: "small",
|
|
1923
1923
|
onClick: e.closeCallback
|
|
1924
1924
|
}, {
|
|
1925
|
-
default:
|
|
1925
|
+
default: U(() => [
|
|
1926
1926
|
mA(
|
|
1927
|
-
PA(D(
|
|
1927
|
+
PA(D(k)("我知道了")),
|
|
1928
1928
|
1
|
|
1929
1929
|
/* TEXT */
|
|
1930
1930
|
)
|
|
@@ -1934,26 +1934,26 @@ const bP = ["src", "entry", "name"], aP = /* @__PURE__ */ iA({
|
|
|
1934
1934
|
}, 8, ["onClick"])
|
|
1935
1935
|
])
|
|
1936
1936
|
]),
|
|
1937
|
-
default:
|
|
1938
|
-
|
|
1937
|
+
default: U(() => [
|
|
1938
|
+
B("div", {
|
|
1939
1939
|
class: "content",
|
|
1940
1940
|
innerHTML: e.content
|
|
1941
1941
|
}, null, 8, TP),
|
|
1942
|
-
e.desc && e.desc.length ? (
|
|
1942
|
+
e.desc && e.desc.length ? (J(), dA(
|
|
1943
1943
|
Ae,
|
|
1944
1944
|
{ key: 0 },
|
|
1945
1945
|
[
|
|
1946
|
-
v[1] || (v[1] =
|
|
1946
|
+
v[1] || (v[1] = B(
|
|
1947
1947
|
"div",
|
|
1948
1948
|
{ class: "divide" },
|
|
1949
1949
|
null,
|
|
1950
1950
|
-1
|
|
1951
1951
|
/* HOISTED */
|
|
1952
1952
|
)),
|
|
1953
|
-
(
|
|
1953
|
+
(J(!0), dA(
|
|
1954
1954
|
Ae,
|
|
1955
1955
|
null,
|
|
1956
|
-
he(e.desc, (n, r) => WA((
|
|
1956
|
+
he(e.desc, (n, r) => WA((J(), dA("div", {
|
|
1957
1957
|
key: r,
|
|
1958
1958
|
class: "desc-item"
|
|
1959
1959
|
}, [
|
|
@@ -2113,8 +2113,8 @@ const WP = (f = {}) => {
|
|
|
2113
2113
|
const A = JSON.parse(sessionStorage.getItem(f) || "{}");
|
|
2114
2114
|
if (A && JSON.stringify(A) !== "{}" && A != null && A.exitConfirmPages && A.exitConfirmPages.length) {
|
|
2115
2115
|
const e = (A == null ? void 0 : A.currentPage) ?? "";
|
|
2116
|
-
if (A.exitConfirmPages.includes(e) && !window.confirm(
|
|
2117
|
-
throw new Error(
|
|
2116
|
+
if (A.exitConfirmPages.includes(e) && !window.confirm(k("切换后已录入的数据将会丢失且不可恢复,确定切换?")))
|
|
2117
|
+
throw new Error(k("取消切换"));
|
|
2118
2118
|
}
|
|
2119
2119
|
}, E9 = (f, A) => {
|
|
2120
2120
|
if (!A || !A.length) return;
|
|
@@ -2122,8 +2122,8 @@ const WP = (f = {}) => {
|
|
|
2122
2122
|
if (e && JSON.stringify(e) !== "{}" && e != null && e.closeTabPageConfirm && e.closeTabPageConfirm.length) {
|
|
2123
2123
|
const v = e.closeTabPageConfirm.map((r) => r.code), n = A.find((r) => v.includes(r));
|
|
2124
2124
|
if (n) {
|
|
2125
|
-
const r = e.closeTabPageConfirm.find((d) => d.code === n), P = (r == null ? void 0 : r.text) ??
|
|
2126
|
-
if (!window.confirm(P)) throw new Error(
|
|
2125
|
+
const r = e.closeTabPageConfirm.find((d) => d.code === n), P = (r == null ? void 0 : r.text) ?? k("确认关闭?");
|
|
2126
|
+
if (!window.confirm(P)) throw new Error(k("取消关闭"));
|
|
2127
2127
|
}
|
|
2128
2128
|
}
|
|
2129
2129
|
};
|
|
@@ -3189,8 +3189,8 @@ function we() {
|
|
|
3189
3189
|
var q = a + s, H = i[q];
|
|
3190
3190
|
i[q] = (H << 8 | H >>> 24) & 16711935 | (H << 24 | H >>> 8) & 4278255360;
|
|
3191
3191
|
}
|
|
3192
|
-
var p = this._hash.words, l = i[a + 0], j = i[a + 1], x = i[a + 2], O = i[a + 3], R = i[a + 4], V = i[a + 5], N = i[a + 6], o = i[a + 7],
|
|
3193
|
-
L = m(L, w, E, W, l, 7, t[0]), W = m(W, L, w, E, j, 12, t[1]), E = m(E, W, L, w, x, 17, t[2]), w = m(w, E, W, L, O, 22, t[3]), L = m(L, w, E, W, R, 7, t[4]), W = m(W, L, w, E, V, 12, t[5]), E = m(E, W, L, w, N, 17, t[6]), w = m(w, E, W, L, o, 22, t[7]), L = m(L, w, E, W,
|
|
3192
|
+
var p = this._hash.words, l = i[a + 0], j = i[a + 1], x = i[a + 2], O = i[a + 3], R = i[a + 4], V = i[a + 5], N = i[a + 6], o = i[a + 7], T = i[a + 8], Y = i[a + 9], g = i[a + 10], K = i[a + 11], F = i[a + 12], G = i[a + 13], h = i[a + 14], C = i[a + 15], L = p[0], w = p[1], E = p[2], W = p[3];
|
|
3193
|
+
L = m(L, w, E, W, l, 7, t[0]), W = m(W, L, w, E, j, 12, t[1]), E = m(E, W, L, w, x, 17, t[2]), w = m(w, E, W, L, O, 22, t[3]), L = m(L, w, E, W, R, 7, t[4]), W = m(W, L, w, E, V, 12, t[5]), E = m(E, W, L, w, N, 17, t[6]), w = m(w, E, W, L, o, 22, t[7]), L = m(L, w, E, W, T, 7, t[8]), W = m(W, L, w, E, Y, 12, t[9]), E = m(E, W, L, w, g, 17, t[10]), w = m(w, E, W, L, K, 22, t[11]), L = m(L, w, E, W, F, 7, t[12]), W = m(W, L, w, E, G, 12, t[13]), E = m(E, W, L, w, h, 17, t[14]), w = m(w, E, W, L, C, 22, t[15]), L = X(L, w, E, W, j, 5, t[16]), W = X(W, L, w, E, N, 9, t[17]), E = X(E, W, L, w, K, 14, t[18]), w = X(w, E, W, L, l, 20, t[19]), L = X(L, w, E, W, V, 5, t[20]), W = X(W, L, w, E, g, 9, t[21]), E = X(E, W, L, w, C, 14, t[22]), w = X(w, E, W, L, R, 20, t[23]), L = X(L, w, E, W, Y, 5, t[24]), W = X(W, L, w, E, h, 9, t[25]), E = X(E, W, L, w, O, 14, t[26]), w = X(w, E, W, L, T, 20, t[27]), L = X(L, w, E, W, G, 5, t[28]), W = X(W, L, w, E, x, 9, t[29]), E = X(E, W, L, w, o, 14, t[30]), w = X(w, E, W, L, F, 20, t[31]), L = b(L, w, E, W, V, 4, t[32]), W = b(W, L, w, E, T, 11, t[33]), E = b(E, W, L, w, K, 16, t[34]), w = b(w, E, W, L, h, 23, t[35]), L = b(L, w, E, W, j, 4, t[36]), W = b(W, L, w, E, R, 11, t[37]), E = b(E, W, L, w, o, 16, t[38]), w = b(w, E, W, L, g, 23, t[39]), L = b(L, w, E, W, G, 4, t[40]), W = b(W, L, w, E, l, 11, t[41]), E = b(E, W, L, w, O, 16, t[42]), w = b(w, E, W, L, N, 23, t[43]), L = b(L, w, E, W, Y, 4, t[44]), W = b(W, L, w, E, F, 11, t[45]), E = b(E, W, L, w, C, 16, t[46]), w = b(w, E, W, L, x, 23, t[47]), L = c(L, w, E, W, l, 6, t[48]), W = c(W, L, w, E, o, 10, t[49]), E = c(E, W, L, w, h, 15, t[50]), w = c(w, E, W, L, V, 21, t[51]), L = c(L, w, E, W, F, 6, t[52]), W = c(W, L, w, E, O, 10, t[53]), E = c(E, W, L, w, g, 15, t[54]), w = c(w, E, W, L, j, 21, t[55]), L = c(L, w, E, W, T, 6, t[56]), W = c(W, L, w, E, C, 10, t[57]), E = c(E, W, L, w, N, 15, t[58]), w = c(w, E, W, L, G, 21, t[59]), L = c(L, w, E, W, R, 6, t[60]), W = c(W, L, w, E, K, 10, t[61]), E = c(E, W, L, w, x, 15, t[62]), w = c(w, E, W, L, Y, 21, t[63]), p[0] = p[0] + L | 0, p[1] = p[1] + w | 0, p[2] = p[2] + E | 0, p[3] = p[3] + W | 0;
|
|
3194
3194
|
},
|
|
3195
3195
|
_doFinalize: function() {
|
|
3196
3196
|
var i = this._data, a = i.words, s = this._nDataBytes * 8, q = i.sigBytes * 8;
|
|
@@ -3306,8 +3306,8 @@ function x7() {
|
|
|
3306
3306
|
var R = m[O - 15], V = (R << 25 | R >>> 7) ^ (R << 14 | R >>> 18) ^ R >>> 3, N = m[O - 2], o = (N << 15 | N >>> 17) ^ (N << 13 | N >>> 19) ^ N >>> 10;
|
|
3307
3307
|
m[O] = V + m[O - 7] + o + m[O - 16];
|
|
3308
3308
|
}
|
|
3309
|
-
var
|
|
3310
|
-
x = j, j = l, l = p, p = H +
|
|
3309
|
+
var T = p & l ^ ~p & j, Y = a & s ^ a & q ^ s & q, g = (a << 30 | a >>> 2) ^ (a << 19 | a >>> 13) ^ (a << 10 | a >>> 22), K = (p << 26 | p >>> 6) ^ (p << 21 | p >>> 11) ^ (p << 7 | p >>> 25), F = x + K + T + z[O] + m[O], G = g + Y;
|
|
3310
|
+
x = j, j = l, l = p, p = H + F | 0, H = q, q = s, s = a, a = F + G | 0;
|
|
3311
3311
|
}
|
|
3312
3312
|
i[0] = i[0] + a | 0, i[1] = i[1] + s | 0, i[2] = i[2] + q | 0, i[3] = i[3] + H | 0, i[4] = i[4] + p | 0, i[5] = i[5] + l | 0, i[6] = i[6] + j | 0, i[7] = i[7] + x | 0;
|
|
3313
3313
|
},
|
|
@@ -3466,7 +3466,7 @@ function en() {
|
|
|
3466
3466
|
]);
|
|
3467
3467
|
},
|
|
3468
3468
|
_doProcessBlock: function(c, i) {
|
|
3469
|
-
for (var a = this._hash.words, s = a[0], q = a[1], H = a[2], p = a[3], l = a[4], j = a[5], x = a[6], O = a[7], R = s.high, V = s.low, N = q.high, o = q.low,
|
|
3469
|
+
for (var a = this._hash.words, s = a[0], q = a[1], H = a[2], p = a[3], l = a[4], j = a[5], x = a[6], O = a[7], R = s.high, V = s.low, N = q.high, o = q.low, T = H.high, Y = H.low, g = p.high, K = p.low, F = l.high, G = l.low, h = j.high, C = j.low, L = x.high, w = x.low, E = O.high, W = O.low, bA = R, aA = V, jA = N, _ = o, eA = T, nA = Y, Ve = g, S = K, I = F, Q = G, MA = h, de = C, o9 = L, n9 = w, rf = E, r9 = W, fe = 0; fe < 80; fe++) {
|
|
3470
3470
|
var $A, qe, Z9 = X[fe];
|
|
3471
3471
|
if (fe < 16)
|
|
3472
3472
|
qe = Z9.high = c[i + fe * 2] | 0, $A = Z9.low = c[i + fe * 2 + 1] | 0;
|
|
@@ -3474,10 +3474,10 @@ function en() {
|
|
|
3474
3474
|
var E7 = X[fe - 15], Ie = E7.high, t9 = E7.low, Gn = (Ie >>> 1 | t9 << 31) ^ (Ie >>> 8 | t9 << 24) ^ Ie >>> 7, I7 = (t9 >>> 1 | Ie << 31) ^ (t9 >>> 8 | Ie << 24) ^ (t9 >>> 7 | Ie << 25), g7 = X[fe - 2], ge = g7.high, P9 = g7.low, Un = (ge >>> 19 | P9 << 13) ^ (ge << 3 | P9 >>> 29) ^ ge >>> 6, M7 = (P9 >>> 19 | ge << 13) ^ (P9 << 3 | ge >>> 29) ^ (P9 >>> 6 | ge << 26), B7 = X[fe - 7], Jn = B7.high, hn = B7.low, k7 = X[fe - 16], Fn = k7.high, Q7 = k7.low;
|
|
3475
3475
|
$A = I7 + hn, qe = Gn + Jn + ($A >>> 0 < I7 >>> 0 ? 1 : 0), $A = $A + M7, qe = qe + Un + ($A >>> 0 < M7 >>> 0 ? 1 : 0), $A = $A + Q7, qe = qe + Fn + ($A >>> 0 < Q7 >>> 0 ? 1 : 0), Z9.high = qe, Z9.low = $A;
|
|
3476
3476
|
}
|
|
3477
|
-
var Sn = I & MA ^ ~I & o9, Y7 =
|
|
3478
|
-
rf = o9, r9 = n9, o9 = MA, n9 = de, MA = I, de =
|
|
3477
|
+
var Sn = I & MA ^ ~I & o9, Y7 = Q & de ^ ~Q & n9, Kn = bA & jA ^ bA & eA ^ jA & eA, Cn = aA & _ ^ aA & nA ^ _ & nA, _n = (bA >>> 28 | aA << 4) ^ (bA << 30 | aA >>> 2) ^ (bA << 25 | aA >>> 7), G7 = (aA >>> 28 | bA << 4) ^ (aA << 30 | bA >>> 2) ^ (aA << 25 | bA >>> 7), $n = (I >>> 14 | Q << 18) ^ (I >>> 18 | Q << 14) ^ (I << 23 | Q >>> 9), Ar = (Q >>> 14 | I << 18) ^ (Q >>> 18 | I << 14) ^ (Q << 23 | I >>> 9), U7 = m[fe], er = U7.high, J7 = U7.low, SA = r9 + Ar, He = rf + $n + (SA >>> 0 < r9 >>> 0 ? 1 : 0), SA = SA + Y7, He = He + Sn + (SA >>> 0 < Y7 >>> 0 ? 1 : 0), SA = SA + J7, He = He + er + (SA >>> 0 < J7 >>> 0 ? 1 : 0), SA = SA + $A, He = He + qe + (SA >>> 0 < $A >>> 0 ? 1 : 0), h7 = G7 + Cn, fr = _n + Kn + (h7 >>> 0 < G7 >>> 0 ? 1 : 0);
|
|
3478
|
+
rf = o9, r9 = n9, o9 = MA, n9 = de, MA = I, de = Q, Q = S + SA | 0, I = Ve + He + (Q >>> 0 < S >>> 0 ? 1 : 0) | 0, Ve = eA, S = nA, eA = jA, nA = _, jA = bA, _ = aA, aA = SA + h7 | 0, bA = He + fr + (aA >>> 0 < SA >>> 0 ? 1 : 0) | 0;
|
|
3479
3479
|
}
|
|
3480
|
-
V = s.low = V + aA, s.high = R + bA + (V >>> 0 < aA >>> 0 ? 1 : 0), o = q.low = o +
|
|
3480
|
+
V = s.low = V + aA, s.high = R + bA + (V >>> 0 < aA >>> 0 ? 1 : 0), o = q.low = o + _, q.high = N + jA + (o >>> 0 < _ >>> 0 ? 1 : 0), Y = H.low = Y + nA, H.high = T + eA + (Y >>> 0 < nA >>> 0 ? 1 : 0), K = p.low = K + S, p.high = g + Ve + (K >>> 0 < S >>> 0 ? 1 : 0), G = l.low = G + Q, l.high = F + I + (G >>> 0 < Q >>> 0 ? 1 : 0), C = j.low = C + de, j.high = h + MA + (C >>> 0 < de >>> 0 ? 1 : 0), w = x.low = w + n9, x.high = L + o9 + (w >>> 0 < n9 >>> 0 ? 1 : 0), W = O.low = W + r9, O.high = E + rf + (W >>> 0 < r9 >>> 0 ? 1 : 0);
|
|
3481
3481
|
},
|
|
3482
3482
|
_doFinalize: function() {
|
|
3483
3483
|
var c = this._data, i = c.words, a = this._nDataBytes * 8, s = c.sigBytes * 8;
|
|
@@ -3589,29 +3589,29 @@ function uu() {
|
|
|
3589
3589
|
var x = q[R + 5 * o];
|
|
3590
3590
|
V ^= x.high, N ^= x.low;
|
|
3591
3591
|
}
|
|
3592
|
-
var
|
|
3593
|
-
|
|
3592
|
+
var T = c[R];
|
|
3593
|
+
T.high = V, T.low = N;
|
|
3594
3594
|
}
|
|
3595
3595
|
for (var R = 0; R < 5; R++)
|
|
3596
|
-
for (var
|
|
3596
|
+
for (var Y = c[(R + 4) % 5], g = c[(R + 1) % 5], K = g.high, F = g.low, V = Y.high ^ (K << 1 | F >>> 31), N = Y.low ^ (F << 1 | K >>> 31), o = 0; o < 5; o++) {
|
|
3597
3597
|
var x = q[R + 5 * o];
|
|
3598
3598
|
x.high ^= V, x.low ^= N;
|
|
3599
3599
|
}
|
|
3600
|
-
for (var
|
|
3601
|
-
var V, N, x = q[
|
|
3602
|
-
L < 32 ? (V =
|
|
3603
|
-
var w = c[X[
|
|
3600
|
+
for (var G = 1; G < 25; G++) {
|
|
3601
|
+
var V, N, x = q[G], h = x.high, C = x.low, L = m[G];
|
|
3602
|
+
L < 32 ? (V = h << L | C >>> 32 - L, N = C << L | h >>> 32 - L) : (V = C << L - 32 | h >>> 64 - L, N = h << L - 32 | C >>> 64 - L);
|
|
3603
|
+
var w = c[X[G]];
|
|
3604
3604
|
w.high = V, w.low = N;
|
|
3605
3605
|
}
|
|
3606
3606
|
var E = c[0], W = q[0];
|
|
3607
3607
|
E.high = W.high, E.low = W.low;
|
|
3608
3608
|
for (var R = 0; R < 5; R++)
|
|
3609
3609
|
for (var o = 0; o < 5; o++) {
|
|
3610
|
-
var
|
|
3610
|
+
var G = R + 5 * o, x = q[G], bA = c[G], aA = c[(R + 1) % 5 + 5 * o], jA = c[(R + 2) % 5 + 5 * o];
|
|
3611
3611
|
x.high = bA.high ^ ~aA.high & jA.high, x.low = bA.low ^ ~aA.low & jA.low;
|
|
3612
3612
|
}
|
|
3613
|
-
var x = q[0],
|
|
3614
|
-
x.high ^=
|
|
3613
|
+
var x = q[0], _ = b[O];
|
|
3614
|
+
x.high ^= _.high, x.low ^= _.low;
|
|
3615
3615
|
}
|
|
3616
3616
|
},
|
|
3617
3617
|
_doFinalize: function() {
|
|
@@ -3986,18 +3986,18 @@ function du() {
|
|
|
3986
3986
|
var R = x + O, V = j[R];
|
|
3987
3987
|
j[R] = (V << 8 | V >>> 24) & 16711935 | (V << 24 | V >>> 8) & 4278255360;
|
|
3988
3988
|
}
|
|
3989
|
-
var N = this._hash.words, o = b.words,
|
|
3990
|
-
E =
|
|
3991
|
-
for (var
|
|
3992
|
-
|
|
3993
|
-
|
|
3989
|
+
var N = this._hash.words, o = b.words, T = c.words, Y = t.words, g = z.words, K = m.words, F = X.words, G, h, C, L, w, E, W, bA, aA, jA;
|
|
3990
|
+
E = G = N[0], W = h = N[1], bA = C = N[2], aA = L = N[3], jA = w = N[4];
|
|
3991
|
+
for (var _, O = 0; O < 80; O += 1)
|
|
3992
|
+
_ = G + j[x + Y[O]] | 0, O < 16 ? _ += a(h, C, L) + o[0] : O < 32 ? _ += s(h, C, L) + o[1] : O < 48 ? _ += q(h, C, L) + o[2] : O < 64 ? _ += H(h, C, L) + o[3] : _ += p(h, C, L) + o[4], _ = _ | 0, _ = l(_, K[O]), _ = _ + w | 0, G = w, w = L, L = l(C, 10), C = h, h = _, _ = E + j[x + g[O]] | 0, O < 16 ? _ += p(W, bA, aA) + T[0] : O < 32 ? _ += H(W, bA, aA) + T[1] : O < 48 ? _ += q(W, bA, aA) + T[2] : O < 64 ? _ += s(W, bA, aA) + T[3] : _ += a(W, bA, aA) + T[4], _ = _ | 0, _ = l(_, F[O]), _ = _ + jA | 0, E = jA, jA = aA, aA = l(bA, 10), bA = W, W = _;
|
|
3993
|
+
_ = N[1] + C + aA | 0, N[1] = N[2] + L + jA | 0, N[2] = N[3] + w + E | 0, N[3] = N[4] + G + W | 0, N[4] = N[0] + h + bA | 0, N[0] = _;
|
|
3994
3994
|
},
|
|
3995
3995
|
_doFinalize: function() {
|
|
3996
3996
|
var j = this._data, x = j.words, O = this._nDataBytes * 8, R = j.sigBytes * 8;
|
|
3997
3997
|
x[R >>> 5] |= 128 << 24 - R % 32, x[(R + 64 >>> 9 << 4) + 14] = (O << 8 | O >>> 24) & 16711935 | (O << 24 | O >>> 8) & 4278255360, j.sigBytes = (x.length + 1) * 4, this._process();
|
|
3998
3998
|
for (var V = this._hash, N = V.words, o = 0; o < 5; o++) {
|
|
3999
|
-
var
|
|
4000
|
-
N[o] = (
|
|
3999
|
+
var T = N[o];
|
|
4000
|
+
N[o] = (T << 8 | T >>> 24) & 16711935 | (T << 24 | T >>> 8) & 4278255360;
|
|
4001
4001
|
}
|
|
4002
4002
|
return V;
|
|
4003
4003
|
},
|
|
@@ -4368,11 +4368,11 @@ function TA() {
|
|
|
4368
4368
|
}
|
|
4369
4369
|
return function(N) {
|
|
4370
4370
|
return {
|
|
4371
|
-
encrypt: function(o,
|
|
4372
|
-
return V(
|
|
4371
|
+
encrypt: function(o, T, Y) {
|
|
4372
|
+
return V(T).encrypt(N, o, T, Y);
|
|
4373
4373
|
},
|
|
4374
|
-
decrypt: function(o,
|
|
4375
|
-
return V(
|
|
4374
|
+
decrypt: function(o, T, Y) {
|
|
4375
|
+
return V(T).decrypt(N, o, T, Y);
|
|
4376
4376
|
}
|
|
4377
4377
|
};
|
|
4378
4378
|
};
|
|
@@ -4442,9 +4442,9 @@ function TA() {
|
|
|
4442
4442
|
*
|
|
4443
4443
|
* mode.processBlock(data.words, offset);
|
|
4444
4444
|
*/
|
|
4445
|
-
processBlock: function(o,
|
|
4446
|
-
var
|
|
4447
|
-
N.call(this, o,
|
|
4445
|
+
processBlock: function(o, T) {
|
|
4446
|
+
var Y = this._cipher, g = Y.blockSize;
|
|
4447
|
+
N.call(this, o, T, g), Y.encryptBlock(o, T), this._prevBlock = o.slice(T, T + g);
|
|
4448
4448
|
}
|
|
4449
4449
|
}), V.Decryptor = V.extend({
|
|
4450
4450
|
/**
|
|
@@ -4457,16 +4457,16 @@ function TA() {
|
|
|
4457
4457
|
*
|
|
4458
4458
|
* mode.processBlock(data.words, offset);
|
|
4459
4459
|
*/
|
|
4460
|
-
processBlock: function(o,
|
|
4461
|
-
var
|
|
4462
|
-
|
|
4460
|
+
processBlock: function(o, T) {
|
|
4461
|
+
var Y = this._cipher, g = Y.blockSize, K = o.slice(T, T + g);
|
|
4462
|
+
Y.decryptBlock(o, T), N.call(this, o, T, g), this._prevBlock = K;
|
|
4463
4463
|
}
|
|
4464
4464
|
});
|
|
4465
|
-
function N(o,
|
|
4466
|
-
var
|
|
4467
|
-
|
|
4468
|
-
for (var
|
|
4469
|
-
o[
|
|
4465
|
+
function N(o, T, Y) {
|
|
4466
|
+
var g, K = this._iv;
|
|
4467
|
+
K ? (g = K, this._iv = v) : g = this._prevBlock;
|
|
4468
|
+
for (var F = 0; F < Y; F++)
|
|
4469
|
+
o[T + F] ^= g[F];
|
|
4470
4470
|
}
|
|
4471
4471
|
return V;
|
|
4472
4472
|
}(), s = n.pad = {}, q = s.Pkcs7 = {
|
|
@@ -4483,10 +4483,10 @@ function TA() {
|
|
|
4483
4483
|
* CryptoJS.pad.Pkcs7.pad(wordArray, 4);
|
|
4484
4484
|
*/
|
|
4485
4485
|
pad: function(V, N) {
|
|
4486
|
-
for (var o = N * 4,
|
|
4487
|
-
|
|
4488
|
-
var
|
|
4489
|
-
V.concat(
|
|
4486
|
+
for (var o = N * 4, T = o - V.sigBytes % o, Y = T << 24 | T << 16 | T << 8 | T, g = [], K = 0; K < T; K += 4)
|
|
4487
|
+
g.push(Y);
|
|
4488
|
+
var F = u.create(g, T);
|
|
4489
|
+
V.concat(F);
|
|
4490
4490
|
},
|
|
4491
4491
|
/**
|
|
4492
4492
|
* Unpads data that had been padded using the algorithm defined in PKCS #5/7.
|
|
@@ -4518,8 +4518,8 @@ function TA() {
|
|
|
4518
4518
|
reset: function() {
|
|
4519
4519
|
var V;
|
|
4520
4520
|
b.reset.call(this);
|
|
4521
|
-
var N = this.cfg, o = N.iv,
|
|
4522
|
-
this._xformMode == this._ENC_XFORM_MODE ? V =
|
|
4521
|
+
var N = this.cfg, o = N.iv, T = N.mode;
|
|
4522
|
+
this._xformMode == this._ENC_XFORM_MODE ? V = T.createEncryptor : (V = T.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == V ? this._mode.init(this, o && o.words) : (this._mode = V.call(T, this, o && o.words), this._mode.__creator = V);
|
|
4523
4523
|
},
|
|
4524
4524
|
_doProcessBlock: function(V, N) {
|
|
4525
4525
|
this._mode.processBlock(V, N);
|
|
@@ -4586,8 +4586,8 @@ function TA() {
|
|
|
4586
4586
|
* var openSSLString = CryptoJS.format.OpenSSL.stringify(cipherParams);
|
|
4587
4587
|
*/
|
|
4588
4588
|
stringify: function(V) {
|
|
4589
|
-
var N, o = V.ciphertext,
|
|
4590
|
-
return
|
|
4589
|
+
var N, o = V.ciphertext, T = V.salt;
|
|
4590
|
+
return T ? N = u.create([1398893684, 1701076831]).concat(T).concat(o) : N = o, N.toString(z);
|
|
4591
4591
|
},
|
|
4592
4592
|
/**
|
|
4593
4593
|
* Converts an OpenSSL-compatible string to a cipher params object.
|
|
@@ -4603,8 +4603,8 @@ function TA() {
|
|
|
4603
4603
|
* var cipherParams = CryptoJS.format.OpenSSL.parse(openSSLString);
|
|
4604
4604
|
*/
|
|
4605
4605
|
parse: function(V) {
|
|
4606
|
-
var N, o = z.parse(V),
|
|
4607
|
-
return
|
|
4606
|
+
var N, o = z.parse(V), T = o.words;
|
|
4607
|
+
return T[0] == 1398893684 && T[1] == 1701076831 && (N = u.create(T.slice(2, 4)), T.splice(0, 4), o.sigBytes -= 16), H.create({ ciphertext: o, salt: N });
|
|
4608
4608
|
}
|
|
4609
4609
|
}, j = r.SerializableCipher = P.extend({
|
|
4610
4610
|
/**
|
|
@@ -4633,18 +4633,18 @@ function TA() {
|
|
|
4633
4633
|
* var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv });
|
|
4634
4634
|
* var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv, format: CryptoJS.format.OpenSSL });
|
|
4635
4635
|
*/
|
|
4636
|
-
encrypt: function(V, N, o,
|
|
4637
|
-
|
|
4638
|
-
var
|
|
4636
|
+
encrypt: function(V, N, o, T) {
|
|
4637
|
+
T = this.cfg.extend(T);
|
|
4638
|
+
var Y = V.createEncryptor(o, T), g = Y.finalize(N), K = Y.cfg;
|
|
4639
4639
|
return H.create({
|
|
4640
|
-
ciphertext:
|
|
4640
|
+
ciphertext: g,
|
|
4641
4641
|
key: o,
|
|
4642
|
-
iv:
|
|
4642
|
+
iv: K.iv,
|
|
4643
4643
|
algorithm: V,
|
|
4644
|
-
mode:
|
|
4645
|
-
padding:
|
|
4644
|
+
mode: K.mode,
|
|
4645
|
+
padding: K.padding,
|
|
4646
4646
|
blockSize: V.blockSize,
|
|
4647
|
-
formatter:
|
|
4647
|
+
formatter: T.format
|
|
4648
4648
|
});
|
|
4649
4649
|
},
|
|
4650
4650
|
/**
|
|
@@ -4664,10 +4664,10 @@ function TA() {
|
|
|
4664
4664
|
* var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, key, { iv: iv, format: CryptoJS.format.OpenSSL });
|
|
4665
4665
|
* var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, key, { iv: iv, format: CryptoJS.format.OpenSSL });
|
|
4666
4666
|
*/
|
|
4667
|
-
decrypt: function(V, N, o,
|
|
4668
|
-
|
|
4669
|
-
var
|
|
4670
|
-
return
|
|
4667
|
+
decrypt: function(V, N, o, T) {
|
|
4668
|
+
T = this.cfg.extend(T), N = this._parse(N, T.format);
|
|
4669
|
+
var Y = V.createDecryptor(o, T).finalize(N.ciphertext);
|
|
4670
|
+
return Y;
|
|
4671
4671
|
},
|
|
4672
4672
|
/**
|
|
4673
4673
|
* Converts serialized ciphertext to CipherParams,
|
|
@@ -4705,13 +4705,13 @@ function TA() {
|
|
|
4705
4705
|
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
|
|
4706
4706
|
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
|
|
4707
4707
|
*/
|
|
4708
|
-
execute: function(V, N, o,
|
|
4709
|
-
if (
|
|
4710
|
-
var
|
|
4708
|
+
execute: function(V, N, o, T, Y) {
|
|
4709
|
+
if (T || (T = u.random(64 / 8)), Y)
|
|
4710
|
+
var g = X.create({ keySize: N + o, hasher: Y }).compute(V, T);
|
|
4711
4711
|
else
|
|
4712
|
-
var
|
|
4713
|
-
var
|
|
4714
|
-
return
|
|
4712
|
+
var g = X.create({ keySize: N + o }).compute(V, T);
|
|
4713
|
+
var K = u.create(g.words.slice(N), o * 4);
|
|
4714
|
+
return g.sigBytes = N * 4, H.create({ key: g, iv: K, salt: T });
|
|
4715
4715
|
}
|
|
4716
4716
|
}, R = r.PasswordBasedCipher = j.extend({
|
|
4717
4717
|
/**
|
|
@@ -4739,12 +4739,12 @@ function TA() {
|
|
|
4739
4739
|
* var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password');
|
|
4740
4740
|
* var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password', { format: CryptoJS.format.OpenSSL });
|
|
4741
4741
|
*/
|
|
4742
|
-
encrypt: function(V, N, o,
|
|
4743
|
-
|
|
4744
|
-
var
|
|
4745
|
-
|
|
4746
|
-
var
|
|
4747
|
-
return
|
|
4742
|
+
encrypt: function(V, N, o, T) {
|
|
4743
|
+
T = this.cfg.extend(T);
|
|
4744
|
+
var Y = T.kdf.execute(o, V.keySize, V.ivSize, T.salt, T.hasher);
|
|
4745
|
+
T.iv = Y.iv;
|
|
4746
|
+
var g = j.encrypt.call(this, V, N, Y.key, T);
|
|
4747
|
+
return g.mixIn(Y), g;
|
|
4748
4748
|
},
|
|
4749
4749
|
/**
|
|
4750
4750
|
* Decrypts serialized ciphertext using a password.
|
|
@@ -4763,12 +4763,12 @@ function TA() {
|
|
|
4763
4763
|
* var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, 'password', { format: CryptoJS.format.OpenSSL });
|
|
4764
4764
|
* var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, 'password', { format: CryptoJS.format.OpenSSL });
|
|
4765
4765
|
*/
|
|
4766
|
-
decrypt: function(V, N, o,
|
|
4767
|
-
|
|
4768
|
-
var
|
|
4769
|
-
|
|
4770
|
-
var
|
|
4771
|
-
return
|
|
4766
|
+
decrypt: function(V, N, o, T) {
|
|
4767
|
+
T = this.cfg.extend(T), N = this._parse(N, T.format);
|
|
4768
|
+
var Y = T.kdf.execute(o, V.keySize, V.ivSize, N.salt, T.hasher);
|
|
4769
|
+
T.iv = Y.iv;
|
|
4770
|
+
var g = j.decrypt.call(this, V, N, Y.key, T);
|
|
4771
|
+
return g;
|
|
4772
4772
|
}
|
|
4773
4773
|
});
|
|
4774
4774
|
}();
|
|
@@ -5092,12 +5092,12 @@ function xu() {
|
|
|
5092
5092
|
H[p + 1] = H[p + 3], H[p + 3] = l;
|
|
5093
5093
|
},
|
|
5094
5094
|
_doCryptBlock: function(H, p, l, j, x, O, R, V) {
|
|
5095
|
-
for (var N = this._nRounds, o = H[p] ^ l[0],
|
|
5096
|
-
var
|
|
5097
|
-
o =
|
|
5095
|
+
for (var N = this._nRounds, o = H[p] ^ l[0], T = H[p + 1] ^ l[1], Y = H[p + 2] ^ l[2], g = H[p + 3] ^ l[3], K = 4, F = 1; F < N; F++) {
|
|
5096
|
+
var G = j[o >>> 24] ^ x[T >>> 16 & 255] ^ O[Y >>> 8 & 255] ^ R[g & 255] ^ l[K++], h = j[T >>> 24] ^ x[Y >>> 16 & 255] ^ O[g >>> 8 & 255] ^ R[o & 255] ^ l[K++], C = j[Y >>> 24] ^ x[g >>> 16 & 255] ^ O[o >>> 8 & 255] ^ R[T & 255] ^ l[K++], L = j[g >>> 24] ^ x[o >>> 16 & 255] ^ O[T >>> 8 & 255] ^ R[Y & 255] ^ l[K++];
|
|
5097
|
+
o = G, T = h, Y = C, g = L;
|
|
5098
5098
|
}
|
|
5099
|
-
var
|
|
5100
|
-
H[p] =
|
|
5099
|
+
var G = (V[o >>> 24] << 24 | V[T >>> 16 & 255] << 16 | V[Y >>> 8 & 255] << 8 | V[g & 255]) ^ l[K++], h = (V[T >>> 24] << 24 | V[Y >>> 16 & 255] << 16 | V[g >>> 8 & 255] << 8 | V[o & 255]) ^ l[K++], C = (V[Y >>> 24] << 24 | V[g >>> 16 & 255] << 16 | V[o >>> 8 & 255] << 8 | V[T & 255]) ^ l[K++], L = (V[g >>> 24] << 24 | V[o >>> 16 & 255] << 16 | V[T >>> 8 & 255] << 8 | V[Y & 255]) ^ l[K++];
|
|
5100
|
+
H[p] = G, H[p + 1] = h, H[p + 2] = C, H[p + 3] = L;
|
|
5101
5101
|
},
|
|
5102
5102
|
keySize: 256 / 32
|
|
5103
5103
|
});
|
|
@@ -7471,7 +7471,7 @@ function ad(f) {
|
|
|
7471
7471
|
function id(f) {
|
|
7472
7472
|
return this.__data__.has(f);
|
|
7473
7473
|
}
|
|
7474
|
-
var qn = typeof global == "object" && global && global.Object === Object && global, sd = typeof self == "object" && self && self.Object === Object && self,
|
|
7474
|
+
var qn = typeof global == "object" && global && global.Object === Object && global, sd = typeof self == "object" && self && self.Object === Object && self, Xe = qn || sd || Function("return this")(), Se = Xe.Symbol, Hn = Object.prototype, qd = Hn.hasOwnProperty, Hd = Hn.toString, u9 = Se ? Se.toStringTag : void 0;
|
|
7475
7475
|
function pd(f) {
|
|
7476
7476
|
var A = qd.call(f, u9), e = f[u9];
|
|
7477
7477
|
try {
|
|
@@ -7501,7 +7501,7 @@ function pn(f) {
|
|
|
7501
7501
|
var A = N9(f);
|
|
7502
7502
|
return A == Nd || A == Rd || A == Vd || A == jd;
|
|
7503
7503
|
}
|
|
7504
|
-
var hf =
|
|
7504
|
+
var hf = Xe["__core-js_shared__"], K3 = function() {
|
|
7505
7505
|
var f = /[^.]+$/.exec(hf && hf.keys && hf.keys.IE_PROTO || "");
|
|
7506
7506
|
return f ? "Symbol(src)_1." + f : "";
|
|
7507
7507
|
}();
|
|
@@ -7538,7 +7538,7 @@ function Ee(f, A) {
|
|
|
7538
7538
|
var e = Bd(f, A);
|
|
7539
7539
|
return Md(e) ? e : void 0;
|
|
7540
7540
|
}
|
|
7541
|
-
var H9 = Ee(
|
|
7541
|
+
var H9 = Ee(Xe, "Map"), p9 = Ee(Object, "create");
|
|
7542
7542
|
function kd() {
|
|
7543
7543
|
this.__data__ = p9 ? p9(null) : {}, this.size = 0;
|
|
7544
7544
|
}
|
|
@@ -7683,7 +7683,7 @@ var mn = Object.prototype, bz = mn.hasOwnProperty, az = mn.propertyIsEnumerable,
|
|
|
7683
7683
|
function sz() {
|
|
7684
7684
|
return !1;
|
|
7685
7685
|
}
|
|
7686
|
-
var ln = typeof exports == "object" && exports && !exports.nodeType && exports, $3 = ln && typeof module == "object" && module && !module.nodeType && module, qz = $3 && $3.exports === ln, Av = qz ?
|
|
7686
|
+
var ln = typeof exports == "object" && exports && !exports.nodeType && exports, $3 = ln && typeof module == "object" && module && !module.nodeType && module, qz = $3 && $3.exports === ln, Av = qz ? Xe.Buffer : void 0, Hz = Av ? Av.isBuffer : void 0, xn = Hz || sz, pz = 9007199254740991, mz = /^(?:0|[1-9]\d*)$/;
|
|
7687
7687
|
function lz(f, A) {
|
|
7688
7688
|
var e = typeof f;
|
|
7689
7689
|
return A = A ?? pz, !!A && (e == "number" || e != "symbol" && mz.test(f)) && f > -1 && f % 1 == 0 && f < A;
|
|
@@ -7745,7 +7745,7 @@ function n5(f) {
|
|
|
7745
7745
|
function r5(f) {
|
|
7746
7746
|
return n5(f) ? _z(f) : v5(f);
|
|
7747
7747
|
}
|
|
7748
|
-
var Rn = typeof exports == "object" && exports && !exports.nodeType && exports, fv = Rn && typeof module == "object" && module && !module.nodeType && module, t5 = fv && fv.exports === Rn, vv = t5 ?
|
|
7748
|
+
var Rn = typeof exports == "object" && exports && !exports.nodeType && exports, fv = Rn && typeof module == "object" && module && !module.nodeType && module, t5 = fv && fv.exports === Rn, vv = t5 ? Xe.Buffer : void 0;
|
|
7749
7749
|
vv && vv.allocUnsafe;
|
|
7750
7750
|
function P5(f, A) {
|
|
7751
7751
|
return f.slice();
|
|
@@ -7778,8 +7778,8 @@ function i5(f, A, e) {
|
|
|
7778
7778
|
function s5(f) {
|
|
7779
7779
|
return i5(f, r5, c5);
|
|
7780
7780
|
}
|
|
7781
|
-
var u7 = Ee(
|
|
7782
|
-
(u7 &&
|
|
7781
|
+
var u7 = Ee(Xe, "DataView"), d7 = Ee(Xe, "Promise"), z7 = Ee(Xe, "Set"), X7 = Ee(Xe, "WeakMap"), rv = "[object Map]", q5 = "[object Object]", tv = "[object Promise]", Pv = "[object Set]", uv = "[object WeakMap]", dv = "[object DataView]", H5 = We(u7), p5 = We(H9), m5 = We(d7), l5 = We(z7), x5 = We(X7), ce = N9;
|
|
7782
|
+
(u7 && ce(new u7(new ArrayBuffer(1))) != dv || H9 && ce(new H9()) != rv || d7 && ce(d7.resolve()) != tv || z7 && ce(new z7()) != Pv || X7 && ce(new X7()) != uv) && (ce = function(f) {
|
|
7783
7783
|
var A = N9(f), e = A == q5 ? f.constructor : void 0, v = e ? We(e) : "";
|
|
7784
7784
|
if (v)
|
|
7785
7785
|
switch (v) {
|
|
@@ -7801,7 +7801,7 @@ function V5(f) {
|
|
|
7801
7801
|
var A = f.length, e = new f.constructor(A);
|
|
7802
7802
|
return A && typeof f[0] == "string" && D5.call(f, "index") && (e.index = f.index, e.input = f.input), e;
|
|
7803
7803
|
}
|
|
7804
|
-
var zv =
|
|
7804
|
+
var zv = Xe.Uint8Array;
|
|
7805
7805
|
function N7(f) {
|
|
7806
7806
|
var A = new f.constructor(f.byteLength);
|
|
7807
7807
|
return new zv(A).set(new zv(f)), A;
|
|
@@ -7875,11 +7875,11 @@ function _5(f) {
|
|
|
7875
7875
|
}
|
|
7876
7876
|
var $5 = "[object Map]";
|
|
7877
7877
|
function A6(f) {
|
|
7878
|
-
return R9(f) &&
|
|
7878
|
+
return R9(f) && ce(f) == $5;
|
|
7879
7879
|
}
|
|
7880
7880
|
var av = Ke && Ke.isMap, e6 = av ? V7(av) : A6, f6 = "[object Set]";
|
|
7881
7881
|
function v6(f) {
|
|
7882
|
-
return R9(f) &&
|
|
7882
|
+
return R9(f) && ce(f) == f6;
|
|
7883
7883
|
}
|
|
7884
7884
|
var iv = Ke && Ke.isSet, n6 = iv ? V7(iv) : v6, jn = "[object Arguments]", r6 = "[object Array]", t6 = "[object Boolean]", P6 = "[object Date]", u6 = "[object Error]", on = "[object Function]", d6 = "[object GeneratorFunction]", z6 = "[object Map]", X6 = "[object Number]", Zn = "[object Object]", c6 = "[object RegExp]", b6 = "[object Set]", a6 = "[object String]", i6 = "[object Symbol]", s6 = "[object WeakMap]", q6 = "[object ArrayBuffer]", H6 = "[object DataView]", p6 = "[object Float32Array]", m6 = "[object Float64Array]", l6 = "[object Int8Array]", x6 = "[object Int16Array]", O6 = "[object Int32Array]", D6 = "[object Uint8Array]", V6 = "[object Uint8ClampedArray]", N6 = "[object Uint16Array]", R6 = "[object Uint32Array]", HA = {};
|
|
7885
7885
|
HA[jn] = HA[r6] = HA[q6] = HA[H6] = HA[t6] = HA[P6] = HA[p6] = HA[m6] = HA[l6] = HA[x6] = HA[O6] = HA[z6] = HA[X6] = HA[Zn] = HA[c6] = HA[b6] = HA[a6] = HA[i6] = HA[D6] = HA[V6] = HA[N6] = HA[R6] = !0;
|
|
@@ -7894,7 +7894,7 @@ function I9(f, A, e, v, n, r) {
|
|
|
7894
7894
|
if (u)
|
|
7895
7895
|
P = V5(f);
|
|
7896
7896
|
else {
|
|
7897
|
-
var d =
|
|
7897
|
+
var d = ce(f), t = d == on || d == d6;
|
|
7898
7898
|
if (xn(f))
|
|
7899
7899
|
return P5(f);
|
|
7900
7900
|
if (d == Zn || d == jn || t && !n)
|
|
@@ -8042,7 +8042,7 @@ const k9 = (f, A = "") => {
|
|
|
8042
8042
|
if (s) {
|
|
8043
8043
|
let q = !1;
|
|
8044
8044
|
d.forEach((p) => {
|
|
8045
|
-
p.routeUrl === "/deviceInstance" && (p.fixed = !0, p.divise = !0, p.menuCode = p.code, p.tagName = p.tabName =
|
|
8045
|
+
p.routeUrl === "/deviceInstance" && (p.fixed = !0, p.divise = !0, p.menuCode = p.code, p.tagName = p.tabName = k("实例"), p.name = s.instanceName, p.leftIcon = "change2", p.rightIcon = "change2");
|
|
8046
8046
|
});
|
|
8047
8047
|
const H = or(s.endTime) || s.endTime == 0 || s.endTime === 253370736e6 || s.endTime === "253370736000000" ? "-" : Number(s.endTime);
|
|
8048
8048
|
if (q = v7().endOf("day") > v7(H).endOf("day"), !e && !v && s.id && !q) {
|
|
@@ -8139,14 +8139,14 @@ const k9 = (f, A = "") => {
|
|
|
8139
8139
|
return { menuConfig: d, currentApp: A, currentMenu: m, query: H, microPath: q };
|
|
8140
8140
|
}
|
|
8141
8141
|
return { menuConfig: d, currentApp: A, currentMenu: null, query: { ...n.query, app: u } };
|
|
8142
|
-
}, w6 = ie.get("/appcategory"), W6 = ie.get("/app/common"), sv =
|
|
8142
|
+
}, w6 = ie.get("/appcategory"), W6 = ie.get("/app/common"), sv = Z(!1), b7 = Z([]), E6 = vA(() => {
|
|
8143
8143
|
var f;
|
|
8144
8144
|
return ((f = b7.value) == null ? void 0 : f.map((A) => A.apps).flat()) || [];
|
|
8145
8145
|
}), Tn = async () => {
|
|
8146
8146
|
sv.value = !0;
|
|
8147
8147
|
const [f, A] = await w6().run({ userType: 1 });
|
|
8148
8148
|
return sv.value = !1, f ? (b7.value = [], { navConfig: [] }) : (b7.value = A, JA([{ key: "appcategorys", value: A }]), { navConfig: A });
|
|
8149
|
-
}, I6 =
|
|
8149
|
+
}, I6 = Z([]), g6 = async () => {
|
|
8150
8150
|
const [f, A] = await W6().run();
|
|
8151
8151
|
return f ? { fixedAppsConfig: [] } : (I6.value = A, JA([{ key: "fixedApps", value: A }]), { fixedAppsConfig: A });
|
|
8152
8152
|
}, Ln = "v1", M6 = J9.get("/organization/authProjectTree"), B6 = gA(`/api/customer/customer/${Ln}`), k6 = B6.get("/project/list"), Q6 = gA(`/api/project/project-server/${Ln}`), Y6 = Q6.get("/list/message"), G6 = async () => {
|
|
@@ -8177,17 +8177,17 @@ const k9 = (f, A = "") => {
|
|
|
8177
8177
|
}, yn = async () => {
|
|
8178
8178
|
const f = le() ? F6 : h6, [A, e] = await f().run();
|
|
8179
8179
|
return A ? { platformConfig: null } : { platformConfig: e };
|
|
8180
|
-
}, pe =
|
|
8180
|
+
}, pe = Z(null), j7 = async () => {
|
|
8181
8181
|
const [f, A] = await K6().run();
|
|
8182
8182
|
return f ? { homeConfig: null } : (A && (gP(A), pe.value = A), { homeConfig: A });
|
|
8183
|
-
}, re =
|
|
8183
|
+
}, re = Z({ style: 1, skinStyle: "default" }), wn = async () => {
|
|
8184
8184
|
const [f, A] = await _6().run(), e = (A == null ? void 0 : A.style) ?? 1, v = (A == null ? void 0 : A.skinStyle) ?? "default";
|
|
8185
8185
|
re.value = {
|
|
8186
8186
|
style: e,
|
|
8187
8187
|
skinStyle: v
|
|
8188
|
-
},
|
|
8188
|
+
}, $.setTheme(v);
|
|
8189
8189
|
const { platformConfig: n } = await yn(), r = v === "default" || v === "cjb" ? $6 : A1;
|
|
8190
|
-
return
|
|
8190
|
+
return $.nav.setLogo(n != null && n.platformLogoImg ? U9(n.platformLogoImg) : r), sessionStorage.setItem("personal-config", JSON.stringify(re.value)), {
|
|
8191
8191
|
personalMenuConfig: re.value
|
|
8192
8192
|
};
|
|
8193
8193
|
}, f1 = async () => {
|
|
@@ -8202,7 +8202,7 @@ const k9 = (f, A = "") => {
|
|
|
8202
8202
|
isShow: { type: Boolean, default: !0 }
|
|
8203
8203
|
},
|
|
8204
8204
|
setup(f, { expose: A }) {
|
|
8205
|
-
const e =
|
|
8205
|
+
const e = Z(!1), v = Z(!1), n = Z(!1), r = Z(!1), P = Z(!1), u = Z(!1), d = () => {
|
|
8206
8206
|
e.value = re.value.style === 1, v.value = re.value.style === 2, n.value = re.value.skinStyle === "default", r.value = re.value.skinStyle === "kjl", P.value = re.value.skinStyle === "cjb", u.value = re.value.skinStyle === "ssl";
|
|
8207
8207
|
};
|
|
8208
8208
|
ue(d);
|
|
@@ -8233,36 +8233,36 @@ const k9 = (f, A = "") => {
|
|
|
8233
8233
|
return A({
|
|
8234
8234
|
init: d,
|
|
8235
8235
|
getResult: m
|
|
8236
|
-
}), (i, a) => WA((
|
|
8236
|
+
}), (i, a) => WA((J(), dA(
|
|
8237
8237
|
"div",
|
|
8238
8238
|
q1,
|
|
8239
8239
|
[
|
|
8240
|
-
|
|
8241
|
-
|
|
8240
|
+
B("section", H1, [
|
|
8241
|
+
B(
|
|
8242
8242
|
"p",
|
|
8243
8243
|
p1,
|
|
8244
|
-
PA(D(
|
|
8244
|
+
PA(D(k)("侧边菜单栏")),
|
|
8245
8245
|
1
|
|
8246
8246
|
/* TEXT */
|
|
8247
8247
|
),
|
|
8248
|
-
|
|
8249
|
-
|
|
8248
|
+
B("div", m1, [
|
|
8249
|
+
B("div", {
|
|
8250
8250
|
class: "item-content",
|
|
8251
8251
|
onClick: a[1] || (a[1] = (s) => t("menu", 1))
|
|
8252
8252
|
}, [
|
|
8253
|
-
|
|
8253
|
+
B("img", {
|
|
8254
8254
|
src: D(v1),
|
|
8255
8255
|
alt: "",
|
|
8256
8256
|
width: "180",
|
|
8257
8257
|
height: "120"
|
|
8258
8258
|
}, null, 8, l1),
|
|
8259
|
-
|
|
8259
|
+
M(D(Me), {
|
|
8260
8260
|
modelValue: e.value,
|
|
8261
8261
|
"onUpdate:modelValue": a[0] || (a[0] = (s) => e.value = s)
|
|
8262
8262
|
}, {
|
|
8263
|
-
default:
|
|
8263
|
+
default: U(() => [
|
|
8264
8264
|
mA(
|
|
8265
|
-
PA(D(
|
|
8265
|
+
PA(D(k)("弹出式菜单栏")),
|
|
8266
8266
|
1
|
|
8267
8267
|
/* TEXT */
|
|
8268
8268
|
)
|
|
@@ -8271,23 +8271,23 @@ const k9 = (f, A = "") => {
|
|
|
8271
8271
|
/* STABLE */
|
|
8272
8272
|
}, 8, ["modelValue"])
|
|
8273
8273
|
]),
|
|
8274
|
-
|
|
8274
|
+
B("div", {
|
|
8275
8275
|
class: "item-content",
|
|
8276
8276
|
onClick: a[3] || (a[3] = (s) => t("menu", 2))
|
|
8277
8277
|
}, [
|
|
8278
|
-
|
|
8278
|
+
B("img", {
|
|
8279
8279
|
src: D(n1),
|
|
8280
8280
|
alt: "",
|
|
8281
8281
|
width: "180",
|
|
8282
8282
|
height: "120"
|
|
8283
8283
|
}, null, 8, x1),
|
|
8284
|
-
|
|
8284
|
+
M(D(Me), {
|
|
8285
8285
|
modelValue: v.value,
|
|
8286
8286
|
"onUpdate:modelValue": a[2] || (a[2] = (s) => v.value = s)
|
|
8287
8287
|
}, {
|
|
8288
|
-
default:
|
|
8288
|
+
default: U(() => [
|
|
8289
8289
|
mA(
|
|
8290
|
-
PA(D(
|
|
8290
|
+
PA(D(k)("内嵌式菜单栏")),
|
|
8291
8291
|
1
|
|
8292
8292
|
/* TEXT */
|
|
8293
8293
|
)
|
|
@@ -8298,32 +8298,32 @@ const k9 = (f, A = "") => {
|
|
|
8298
8298
|
])
|
|
8299
8299
|
])
|
|
8300
8300
|
]),
|
|
8301
|
-
|
|
8302
|
-
|
|
8301
|
+
B("section", O1, [
|
|
8302
|
+
B(
|
|
8303
8303
|
"p",
|
|
8304
8304
|
D1,
|
|
8305
|
-
PA(D(
|
|
8305
|
+
PA(D(k)("皮肤风格设置")),
|
|
8306
8306
|
1
|
|
8307
8307
|
/* TEXT */
|
|
8308
8308
|
),
|
|
8309
|
-
|
|
8310
|
-
|
|
8309
|
+
B("div", V1, [
|
|
8310
|
+
B("div", {
|
|
8311
8311
|
class: "item-content",
|
|
8312
8312
|
onClick: a[5] || (a[5] = (s) => t("skin", 1))
|
|
8313
8313
|
}, [
|
|
8314
|
-
|
|
8314
|
+
B("img", {
|
|
8315
8315
|
src: D(r1),
|
|
8316
8316
|
alt: "",
|
|
8317
8317
|
width: "180",
|
|
8318
8318
|
height: "120"
|
|
8319
8319
|
}, null, 8, N1),
|
|
8320
|
-
|
|
8320
|
+
M(D(Me), {
|
|
8321
8321
|
modelValue: n.value,
|
|
8322
8322
|
"onUpdate:modelValue": a[4] || (a[4] = (s) => n.value = s)
|
|
8323
8323
|
}, {
|
|
8324
|
-
default:
|
|
8324
|
+
default: U(() => [
|
|
8325
8325
|
mA(
|
|
8326
|
-
PA(D(
|
|
8326
|
+
PA(D(k)("默认皮肤")),
|
|
8327
8327
|
1
|
|
8328
8328
|
/* TEXT */
|
|
8329
8329
|
)
|
|
@@ -8332,23 +8332,23 @@ const k9 = (f, A = "") => {
|
|
|
8332
8332
|
/* STABLE */
|
|
8333
8333
|
}, 8, ["modelValue"])
|
|
8334
8334
|
]),
|
|
8335
|
-
|
|
8335
|
+
B("div", {
|
|
8336
8336
|
class: "item-content",
|
|
8337
8337
|
onClick: a[7] || (a[7] = (s) => t("skin", 2))
|
|
8338
8338
|
}, [
|
|
8339
|
-
|
|
8339
|
+
B("img", {
|
|
8340
8340
|
src: D(t1),
|
|
8341
8341
|
alt: "",
|
|
8342
8342
|
width: "180",
|
|
8343
8343
|
height: "120"
|
|
8344
8344
|
}, null, 8, R1),
|
|
8345
|
-
|
|
8345
|
+
M(D(Me), {
|
|
8346
8346
|
modelValue: r.value,
|
|
8347
8347
|
"onUpdate:modelValue": a[6] || (a[6] = (s) => r.value = s)
|
|
8348
8348
|
}, {
|
|
8349
|
-
default:
|
|
8349
|
+
default: U(() => [
|
|
8350
8350
|
mA(
|
|
8351
|
-
PA(D(
|
|
8351
|
+
PA(D(k)("科技蓝")),
|
|
8352
8352
|
1
|
|
8353
8353
|
/* TEXT */
|
|
8354
8354
|
)
|
|
@@ -8358,24 +8358,24 @@ const k9 = (f, A = "") => {
|
|
|
8358
8358
|
}, 8, ["modelValue"])
|
|
8359
8359
|
])
|
|
8360
8360
|
]),
|
|
8361
|
-
|
|
8362
|
-
|
|
8361
|
+
B("div", j1, [
|
|
8362
|
+
B("div", {
|
|
8363
8363
|
class: "item-content",
|
|
8364
8364
|
onClick: a[9] || (a[9] = (s) => t("skin", 3))
|
|
8365
8365
|
}, [
|
|
8366
|
-
|
|
8366
|
+
B("img", {
|
|
8367
8367
|
src: D(P1),
|
|
8368
8368
|
alt: "",
|
|
8369
8369
|
width: "180",
|
|
8370
8370
|
height: "120"
|
|
8371
8371
|
}, null, 8, o1),
|
|
8372
|
-
|
|
8372
|
+
M(D(Me), {
|
|
8373
8373
|
modelValue: P.value,
|
|
8374
8374
|
"onUpdate:modelValue": a[8] || (a[8] = (s) => P.value = s)
|
|
8375
8375
|
}, {
|
|
8376
|
-
default:
|
|
8376
|
+
default: U(() => [
|
|
8377
8377
|
mA(
|
|
8378
|
-
PA(D(
|
|
8378
|
+
PA(D(k)("纯净白")),
|
|
8379
8379
|
1
|
|
8380
8380
|
/* TEXT */
|
|
8381
8381
|
)
|
|
@@ -8384,23 +8384,23 @@ const k9 = (f, A = "") => {
|
|
|
8384
8384
|
/* STABLE */
|
|
8385
8385
|
}, 8, ["modelValue"])
|
|
8386
8386
|
]),
|
|
8387
|
-
|
|
8387
|
+
B("div", {
|
|
8388
8388
|
class: "item-content",
|
|
8389
8389
|
onClick: a[11] || (a[11] = (s) => t("skin", 4))
|
|
8390
8390
|
}, [
|
|
8391
|
-
|
|
8391
|
+
B("img", {
|
|
8392
8392
|
src: D(u1),
|
|
8393
8393
|
alt: "",
|
|
8394
8394
|
width: "180",
|
|
8395
8395
|
height: "120"
|
|
8396
8396
|
}, null, 8, Z1),
|
|
8397
|
-
|
|
8397
|
+
M(D(Me), {
|
|
8398
8398
|
modelValue: u.value,
|
|
8399
8399
|
"onUpdate:modelValue": a[10] || (a[10] = (s) => u.value = s)
|
|
8400
8400
|
}, {
|
|
8401
|
-
default:
|
|
8401
|
+
default: U(() => [
|
|
8402
8402
|
mA(
|
|
8403
|
-
PA(D(
|
|
8403
|
+
PA(D(k)("深邃蓝")),
|
|
8404
8404
|
1
|
|
8405
8405
|
/* TEXT */
|
|
8406
8406
|
)
|
|
@@ -8411,16 +8411,16 @@ const k9 = (f, A = "") => {
|
|
|
8411
8411
|
])
|
|
8412
8412
|
])
|
|
8413
8413
|
]),
|
|
8414
|
-
|
|
8415
|
-
|
|
8414
|
+
B("section", T1, [
|
|
8415
|
+
B(
|
|
8416
8416
|
"p",
|
|
8417
8417
|
L1,
|
|
8418
|
-
PA(D(
|
|
8418
|
+
PA(D(k)("效果预览")),
|
|
8419
8419
|
1
|
|
8420
8420
|
/* TEXT */
|
|
8421
8421
|
),
|
|
8422
|
-
|
|
8423
|
-
|
|
8422
|
+
B("div", y1, [
|
|
8423
|
+
B("img", {
|
|
8424
8424
|
src: X.value,
|
|
8425
8425
|
alt: "",
|
|
8426
8426
|
width: "100%",
|
|
@@ -8442,10 +8442,10 @@ const k9 = (f, A = "") => {
|
|
|
8442
8442
|
isShow: { type: Boolean }
|
|
8443
8443
|
},
|
|
8444
8444
|
setup(f, { expose: A }) {
|
|
8445
|
-
const e =
|
|
8445
|
+
const e = Z([
|
|
8446
8446
|
{
|
|
8447
8447
|
code: 1,
|
|
8448
|
-
name:
|
|
8448
|
+
name: k("中文简体")
|
|
8449
8449
|
},
|
|
8450
8450
|
{
|
|
8451
8451
|
code: 2,
|
|
@@ -8454,20 +8454,20 @@ const k9 = (f, A = "") => {
|
|
|
8454
8454
|
]), v = vA(() => ({ type: D9.value === "zh-CN" ? 1 : 2 }));
|
|
8455
8455
|
return A({
|
|
8456
8456
|
getResult: () => ({ ...v.value })
|
|
8457
|
-
}), (r, P) => WA((
|
|
8457
|
+
}), (r, P) => WA((J(), dA(
|
|
8458
8458
|
"div",
|
|
8459
8459
|
I1,
|
|
8460
8460
|
[
|
|
8461
|
-
|
|
8461
|
+
M(D(m7), {
|
|
8462
8462
|
width: "100%",
|
|
8463
8463
|
"label-length": 6,
|
|
8464
8464
|
"align-type": "horizontal",
|
|
8465
8465
|
cols: 1
|
|
8466
8466
|
}, {
|
|
8467
|
-
default:
|
|
8468
|
-
|
|
8467
|
+
default: U(() => [
|
|
8468
|
+
M(D(BA), {
|
|
8469
8469
|
type: "select",
|
|
8470
|
-
label: D(
|
|
8470
|
+
label: D(k)("语言类型"),
|
|
8471
8471
|
modelValue: v.value.type,
|
|
8472
8472
|
"onUpdate:modelValue": P[0] || (P[0] = (u) => v.value.type = u),
|
|
8473
8473
|
options: e.value,
|
|
@@ -8487,7 +8487,7 @@ const k9 = (f, A = "") => {
|
|
|
8487
8487
|
]);
|
|
8488
8488
|
}
|
|
8489
8489
|
}), M1 = /* @__PURE__ */ ZA(g1, [["__scopeId", "data-v-b5871b7c"]]), j9 = "v1", B1 = `/api/portal/manager/${j9}`, o7 = gA(B1), k1 = `/api/orchestration-engine/${j9}`, Z7 = gA(`${k1}`), Q1 = `/api/workbench/workbench-server/${j9}`, Y1 = gA(Q1), G1 = `/workflow/form/form/${j9}`, U1 = gA(G1), J1 = `/api/portal/user/${j9}`, Wn = gA(J1), h1 = Wn.get("/home"), F1 = Wn.delete("/home"), S1 = o7.get("/basics/home/type"), K1 = o7.get("/basics/tree-page"), C1 = o7.get("/basics/list"), _1 = Z7.get("/device-list/arrange/page"), $1 = Z7.get("/drawingArrangement/list"), A8 = Z7.get("/data/arrange/page"), e8 = Y1.get("/page/portal/list"), f8 = U1.post("/list"), v8 = (f) => {
|
|
8490
|
-
const { orgInfo: A, information: e, validate: v } = f, n =
|
|
8490
|
+
const { orgInfo: A, information: e, validate: v } = f, n = Z(!1), r = Z(""), P = Z(""), u = Z(""), d = Z([]), t = Z({
|
|
8491
8491
|
id: "0",
|
|
8492
8492
|
path: "",
|
|
8493
8493
|
code: "",
|
|
@@ -8501,7 +8501,7 @@ const k9 = (f, A = "") => {
|
|
|
8501
8501
|
levelType: 1
|
|
8502
8502
|
}), z = nt();
|
|
8503
8503
|
let m = !0;
|
|
8504
|
-
const X =
|
|
8504
|
+
const X = Z(!1), { run: b } = K1(), { run: c } = C1(), i = () => {
|
|
8505
8505
|
var l;
|
|
8506
8506
|
m = !0, (l = z.value) == null || l.resetLazyLoad();
|
|
8507
8507
|
};
|
|
@@ -8544,7 +8544,7 @@ const k9 = (f, A = "") => {
|
|
|
8544
8544
|
},
|
|
8545
8545
|
confirmFormBuiltIn: () => {
|
|
8546
8546
|
if (!r.value) {
|
|
8547
|
-
p7.warning(
|
|
8547
|
+
p7.warning(k("至少选择一个链接"));
|
|
8548
8548
|
return;
|
|
8549
8549
|
}
|
|
8550
8550
|
const l = e.value, j = t.value;
|
|
@@ -8554,110 +8554,110 @@ const k9 = (f, A = "") => {
|
|
|
8554
8554
|
}, n8 = "/enterpriseadmin/ioc-server/ioc-server/ws";
|
|
8555
8555
|
let y9 = null;
|
|
8556
8556
|
const r8 = (f) => {
|
|
8557
|
-
const { information: A, orgInfo: e } = f, v = vA(() => e.id), n =
|
|
8558
|
-
{ value: 0, label:
|
|
8559
|
-
{ value: 1, label:
|
|
8560
|
-
{ value: 2, label:
|
|
8561
|
-
{ value: 3, label:
|
|
8562
|
-
{ value: 4, label:
|
|
8563
|
-
]), u =
|
|
8564
|
-
const
|
|
8565
|
-
l(
|
|
8557
|
+
const { information: A, orgInfo: e } = f, v = vA(() => e.id), n = Z(!1), r = Z(0), P = Z([
|
|
8558
|
+
{ value: 0, label: k("图纸") },
|
|
8559
|
+
{ value: 1, label: k("图纸编排") },
|
|
8560
|
+
{ value: 2, label: k("设备看板") },
|
|
8561
|
+
{ value: 3, label: k("数据编排") },
|
|
8562
|
+
{ value: 4, label: k("轻分析") }
|
|
8563
|
+
]), u = Z([]), d = Z(20), t = Z(1), z = Z(0), m = Z(""), X = Z(""), b = Z(""), c = Z(!1), { run: i } = _1(), { run: a } = $1(), { run: s } = A8(), { run: q } = e8(), { run: H } = f8(), p = (F) => {
|
|
8564
|
+
const G = [], h = F[2], C = h.displays, L = h.scenes, w = h[k("2D3D集成根目录")];
|
|
8565
|
+
l(C, "2D", "/enterpriseadmin/ioc-server/?type=preview&tag=displays", G), l(L, "3D", "/enterpriseadmin/ioc-server/?type=preview3d&tag=scenes", G), l(w, k("集成"), "/enterpriseadmin/ioc-server/?type=preview2d3d&tag=scenes", G);
|
|
8566
8566
|
const E = (t.value - 1) * d.value, W = E + d.value;
|
|
8567
|
-
u.value =
|
|
8568
|
-
}, l = (
|
|
8569
|
-
for (const L in
|
|
8570
|
-
const w =
|
|
8567
|
+
u.value = G.filter((bA) => bA.name.includes(m.value)).slice(E, W), z.value = G.length;
|
|
8568
|
+
}, l = (F, G, h, C) => {
|
|
8569
|
+
for (const L in F) {
|
|
8570
|
+
const w = F[L];
|
|
8571
8571
|
if (w !== !0)
|
|
8572
|
-
l(w,
|
|
8572
|
+
l(w, G, `${h}/${L}`, C);
|
|
8573
8573
|
else if (L.includes(".json")) {
|
|
8574
|
-
const E = `${
|
|
8575
|
-
|
|
8574
|
+
const E = `${h}/${L}&showLayout=false`;
|
|
8575
|
+
C.push({ id: E, name: L.slice(0, -5), type: G, url: E });
|
|
8576
8576
|
}
|
|
8577
8577
|
}
|
|
8578
8578
|
}, j = () => {
|
|
8579
8579
|
t.value = 1, z.value = 0, m.value = "";
|
|
8580
8580
|
}, x = () => {
|
|
8581
|
-
var
|
|
8582
|
-
j(), r.value = ((
|
|
8583
|
-
}, O = (
|
|
8584
|
-
b.value =
|
|
8581
|
+
var F, G, h;
|
|
8582
|
+
j(), r.value = ((F = A.value) == null ? void 0 : F.urlType) ?? 0, X.value = ((G = A.value) == null ? void 0 : G.urlId) ?? "", b.value = ((h = A.value) == null ? void 0 : h.routeUrl) ?? "", y9.afterMsg = p, N(), n.value = !0;
|
|
8583
|
+
}, O = (F, G, h) => {
|
|
8584
|
+
b.value = G.url;
|
|
8585
8585
|
}, R = () => {
|
|
8586
8586
|
if (!X.value) {
|
|
8587
|
-
p7.warning(
|
|
8587
|
+
p7.warning(k("至少选择一个链接"));
|
|
8588
8588
|
return;
|
|
8589
8589
|
}
|
|
8590
8590
|
A.value.urlType = r.value, A.value.urlId = X.value, A.value.routeUrl = b.value, n.value = !1;
|
|
8591
|
-
}, V = (
|
|
8592
|
-
j(), r.value =
|
|
8591
|
+
}, V = (F) => {
|
|
8592
|
+
j(), r.value = F, X.value = "", b.value = "", N();
|
|
8593
8593
|
}, N = () => {
|
|
8594
8594
|
if (e.type !== 7) return;
|
|
8595
8595
|
({
|
|
8596
8596
|
0: o,
|
|
8597
|
-
1:
|
|
8598
|
-
2:
|
|
8599
|
-
3:
|
|
8600
|
-
4:
|
|
8597
|
+
1: T,
|
|
8598
|
+
2: Y,
|
|
8599
|
+
3: K,
|
|
8600
|
+
4: g
|
|
8601
8601
|
})[r.value]();
|
|
8602
8602
|
}, o = async () => {
|
|
8603
|
-
const
|
|
8604
|
-
y9.send(JSON.stringify(
|
|
8605
|
-
},
|
|
8606
|
-
const
|
|
8603
|
+
const F = ["explore", "explore-displays", `proj/${v.value}`];
|
|
8604
|
+
y9.send(JSON.stringify(F));
|
|
8605
|
+
}, T = async () => {
|
|
8606
|
+
const F = {
|
|
8607
8607
|
project: v.value,
|
|
8608
8608
|
groupName: m.value,
|
|
8609
8609
|
pageIndex: t.value,
|
|
8610
8610
|
pageSize: d.value
|
|
8611
8611
|
};
|
|
8612
8612
|
c.value = !0;
|
|
8613
|
-
const [
|
|
8614
|
-
if (c.value = !1,
|
|
8613
|
+
const [G, h] = await a(F);
|
|
8614
|
+
if (c.value = !1, G) {
|
|
8615
8615
|
u.value = [];
|
|
8616
8616
|
return;
|
|
8617
8617
|
}
|
|
8618
|
-
u.value =
|
|
8619
|
-
},
|
|
8620
|
-
const
|
|
8618
|
+
u.value = h.data.map((C) => (C.type = k("图纸编排"), C.name = C.groupName, C)) || [], z.value = h.totalCount;
|
|
8619
|
+
}, Y = async () => {
|
|
8620
|
+
const F = {
|
|
8621
8621
|
project: v.value,
|
|
8622
8622
|
name: m.value,
|
|
8623
8623
|
pageIndex: t.value,
|
|
8624
8624
|
pageSize: d.value
|
|
8625
8625
|
};
|
|
8626
8626
|
c.value = !0;
|
|
8627
|
-
const [
|
|
8628
|
-
if (c.value = !1,
|
|
8627
|
+
const [G, h] = await i(F);
|
|
8628
|
+
if (c.value = !1, G) {
|
|
8629
8629
|
u.value = [];
|
|
8630
8630
|
return;
|
|
8631
8631
|
}
|
|
8632
|
-
u.value =
|
|
8633
|
-
},
|
|
8634
|
-
const
|
|
8632
|
+
u.value = h.data.map((C) => (C.type = k("设备看板"), C)) || [], z.value = h.totalCount;
|
|
8633
|
+
}, g = async () => {
|
|
8634
|
+
const F = {
|
|
8635
8635
|
project: v.value,
|
|
8636
8636
|
pageName: m.value,
|
|
8637
8637
|
pageIndex: t.value,
|
|
8638
8638
|
pageSize: d.value
|
|
8639
8639
|
};
|
|
8640
8640
|
c.value = !0;
|
|
8641
|
-
const [
|
|
8642
|
-
if (c.value = !1,
|
|
8641
|
+
const [G, h] = await q(F);
|
|
8642
|
+
if (c.value = !1, G) {
|
|
8643
8643
|
u.value = [];
|
|
8644
8644
|
return;
|
|
8645
8645
|
}
|
|
8646
|
-
u.value =
|
|
8647
|
-
},
|
|
8648
|
-
const
|
|
8646
|
+
u.value = h.data.map((C) => (C.type = k("轻分析"), C.name = C.pageName, C.url = C.uri, C)) || [], z.value = h.totalCount;
|
|
8647
|
+
}, K = async () => {
|
|
8648
|
+
const F = {
|
|
8649
8649
|
project: v.value,
|
|
8650
8650
|
name: m.value,
|
|
8651
8651
|
pageIndex: t.value,
|
|
8652
8652
|
pageSize: d.value
|
|
8653
8653
|
};
|
|
8654
8654
|
c.value = !0;
|
|
8655
|
-
const [
|
|
8656
|
-
if (c.value = !1,
|
|
8655
|
+
const [G, h] = await s(F);
|
|
8656
|
+
if (c.value = !1, G) {
|
|
8657
8657
|
u.value = [];
|
|
8658
8658
|
return;
|
|
8659
8659
|
}
|
|
8660
|
-
u.value =
|
|
8660
|
+
u.value = h.data.map((C) => (C.type = k("数据编排"), C)) || [], z.value = h.totalCount;
|
|
8661
8661
|
};
|
|
8662
8662
|
return ue(() => {
|
|
8663
8663
|
y9 || (y9 = new S9({ url: n8, reconnectWhenClose: !0, message: p }));
|
|
@@ -8682,9 +8682,9 @@ const r8 = (f) => {
|
|
|
8682
8682
|
__name: "index",
|
|
8683
8683
|
emits: ["confirm", "cancel"],
|
|
8684
8684
|
setup(f, { expose: A, emit: e }) {
|
|
8685
|
-
const v = e, n =
|
|
8685
|
+
const v = e, n = Z(!1), r = vA(() => {
|
|
8686
8686
|
var t;
|
|
8687
|
-
return (t = pe.value) != null && t.homeAlias ? pe.value.homeAlias :
|
|
8687
|
+
return (t = pe.value) != null && t.homeAlias ? pe.value.homeAlias : k("首页");
|
|
8688
8688
|
}), P = () => {
|
|
8689
8689
|
n.value = !0;
|
|
8690
8690
|
}, u = () => {
|
|
@@ -8694,7 +8694,7 @@ const r8 = (f) => {
|
|
|
8694
8694
|
};
|
|
8695
8695
|
return A({
|
|
8696
8696
|
open: P
|
|
8697
|
-
}), (t, z) => (
|
|
8697
|
+
}), (t, z) => (J(), tA(D(Fe), {
|
|
8698
8698
|
class: "framework-portal-reset-home-dialog",
|
|
8699
8699
|
type: "feedback",
|
|
8700
8700
|
feedType: "primary",
|
|
@@ -8705,26 +8705,26 @@ const r8 = (f) => {
|
|
|
8705
8705
|
onConfirm: u,
|
|
8706
8706
|
onCancel: d
|
|
8707
8707
|
}, {
|
|
8708
|
-
header:
|
|
8708
|
+
header: U(() => [
|
|
8709
8709
|
mA(
|
|
8710
|
-
PA(D(
|
|
8710
|
+
PA(D(k)("操作确认")),
|
|
8711
8711
|
1
|
|
8712
8712
|
/* TEXT */
|
|
8713
8713
|
)
|
|
8714
8714
|
]),
|
|
8715
|
-
feedbackImg:
|
|
8716
|
-
|
|
8715
|
+
feedbackImg: U(() => [
|
|
8716
|
+
B("img", {
|
|
8717
8717
|
src: D(t8),
|
|
8718
8718
|
width: "168",
|
|
8719
8719
|
height: "96",
|
|
8720
8720
|
alt: ""
|
|
8721
8721
|
}, null, 8, P8)
|
|
8722
8722
|
]),
|
|
8723
|
-
default:
|
|
8724
|
-
|
|
8723
|
+
default: U(() => [
|
|
8724
|
+
B(
|
|
8725
8725
|
"div",
|
|
8726
8726
|
u8,
|
|
8727
|
-
PA(D(
|
|
8727
|
+
PA(D(k)("framework-reset-home-confirm", r.value)),
|
|
8728
8728
|
1
|
|
8729
8729
|
/* TEXT */
|
|
8730
8730
|
)
|
|
@@ -8740,18 +8740,18 @@ const r8 = (f) => {
|
|
|
8740
8740
|
},
|
|
8741
8741
|
emits: ["reset-confirm"],
|
|
8742
8742
|
setup(f, { expose: A, emit: e }) {
|
|
8743
|
-
const v = e, n = _A(), r =
|
|
8743
|
+
const v = e, n = _A(), r = Z({}), P = Z([]), u = Z({
|
|
8744
8744
|
routeUrl: "",
|
|
8745
8745
|
homeAlias: ""
|
|
8746
8746
|
}), d = async () => {
|
|
8747
|
-
const
|
|
8747
|
+
const _ = { orgId: n.id }, [eA, nA] = await S1().run(_);
|
|
8748
8748
|
if (eA) {
|
|
8749
8749
|
P.value = [];
|
|
8750
8750
|
return;
|
|
8751
8751
|
}
|
|
8752
8752
|
P.value = nA;
|
|
8753
8753
|
}, t = async () => {
|
|
8754
|
-
const
|
|
8754
|
+
const _ = { orgId: n.id }, [eA, nA] = await h1().run(_);
|
|
8755
8755
|
eA || (r.value = nA);
|
|
8756
8756
|
}, z = async () => {
|
|
8757
8757
|
await d(), await t();
|
|
@@ -8780,59 +8780,59 @@ const r8 = (f) => {
|
|
|
8780
8780
|
urlTypeOptions: V,
|
|
8781
8781
|
tableData: N,
|
|
8782
8782
|
pageSize: o,
|
|
8783
|
-
pageIndex:
|
|
8784
|
-
totalCount:
|
|
8785
|
-
tableFilter:
|
|
8786
|
-
urlId:
|
|
8787
|
-
openUrlDialog:
|
|
8788
|
-
tableChange:
|
|
8789
|
-
confirmUrl:
|
|
8790
|
-
changeType:
|
|
8783
|
+
pageIndex: T,
|
|
8784
|
+
totalCount: Y,
|
|
8785
|
+
tableFilter: g,
|
|
8786
|
+
urlId: K,
|
|
8787
|
+
openUrlDialog: F,
|
|
8788
|
+
tableChange: G,
|
|
8789
|
+
confirmUrl: h,
|
|
8790
|
+
changeType: C,
|
|
8791
8791
|
getTable: L
|
|
8792
8792
|
} = r8({
|
|
8793
8793
|
orgInfo: n,
|
|
8794
8794
|
information: r
|
|
8795
8795
|
}), w = () => {
|
|
8796
|
-
!r.value.type || r.value.type === 3 || (r.value.type === 1 ? q() :
|
|
8797
|
-
}, E =
|
|
8798
|
-
var
|
|
8799
|
-
(
|
|
8800
|
-
}, bA = async (
|
|
8796
|
+
!r.value.type || r.value.type === 3 || (r.value.type === 1 ? q() : F());
|
|
8797
|
+
}, E = Z(null), W = () => {
|
|
8798
|
+
var _;
|
|
8799
|
+
(_ = E.value) == null || _.open();
|
|
8800
|
+
}, bA = async (_) => {
|
|
8801
8801
|
const [eA, nA] = await F1().run();
|
|
8802
|
-
eA || (await t(), await j7(),
|
|
8803
|
-
}, aA = () => (r.value.type === 1 || r.value.type === 2) && !r.value.routeUrl ? (u.value.routeUrl =
|
|
8804
|
-
const
|
|
8805
|
-
id:
|
|
8806
|
-
type:
|
|
8807
|
-
homeAlias:
|
|
8808
|
-
routeUrl:
|
|
8802
|
+
eA || (await t(), await j7(), _(), v("reset-confirm"));
|
|
8803
|
+
}, aA = () => (r.value.type === 1 || r.value.type === 2) && !r.value.routeUrl ? (u.value.routeUrl = k("必填"), !1) : (u.value.routeUrl = "", r.value.homeAlias && r.value.homeAlias.length > 50 ? (u.value.homeAlias = k("最多50个字符,可以是任意字符"), !1) : (u.value.homeAlias = "", !0)), jA = () => {
|
|
8804
|
+
const _ = r.value, eA = {
|
|
8805
|
+
id: _.id,
|
|
8806
|
+
type: _.type,
|
|
8807
|
+
homeAlias: _.homeAlias,
|
|
8808
|
+
routeUrl: _.routeUrl,
|
|
8809
8809
|
orgId: n.id
|
|
8810
8810
|
};
|
|
8811
|
-
return eA.type === 1 && (eA.portalId =
|
|
8811
|
+
return eA.type === 1 && (eA.portalId = _.originalId || _.portalId, eA.originalCode = _.originalCode, eA.applicationPath = _.applicationPath, eA.urlId = _.urlId, eA.urlPath = _.urlPath), eA.type === 2 && (eA.urlType = _.urlType, eA.urlId = _.urlId), eA;
|
|
8812
8812
|
};
|
|
8813
8813
|
return ue(z), A({
|
|
8814
8814
|
init: z,
|
|
8815
8815
|
formValidate: aA,
|
|
8816
8816
|
getResult: jA
|
|
8817
|
-
}), (
|
|
8817
|
+
}), (_, eA) => (J(), dA(
|
|
8818
8818
|
Ae,
|
|
8819
8819
|
null,
|
|
8820
8820
|
[
|
|
8821
|
-
WA(
|
|
8821
|
+
WA(B(
|
|
8822
8822
|
"div",
|
|
8823
8823
|
z8,
|
|
8824
8824
|
[
|
|
8825
|
-
|
|
8825
|
+
M(D(m7), {
|
|
8826
8826
|
width: "100%",
|
|
8827
8827
|
"label-length": 6,
|
|
8828
8828
|
"align-type": "horizontal",
|
|
8829
8829
|
cols: 1
|
|
8830
8830
|
}, {
|
|
8831
|
-
default:
|
|
8831
|
+
default: U(() => [
|
|
8832
8832
|
AA(" 首页展示类型 1内置门户 2外置门户 3轻分析 "),
|
|
8833
|
-
|
|
8833
|
+
M(D(BA), {
|
|
8834
8834
|
type: "select",
|
|
8835
|
-
label: D(
|
|
8835
|
+
label: D(k)("展示类型"),
|
|
8836
8836
|
modelValue: r.value.type,
|
|
8837
8837
|
"onUpdate:modelValue": eA[0] || (eA[0] = (nA) => r.value.type = nA),
|
|
8838
8838
|
options: P.value,
|
|
@@ -8841,24 +8841,24 @@ const r8 = (f) => {
|
|
|
8841
8841
|
"margin-right": "0",
|
|
8842
8842
|
onChange: m
|
|
8843
8843
|
}, null, 8, ["label", "modelValue", "options"]),
|
|
8844
|
-
|
|
8844
|
+
M(D(BA), {
|
|
8845
8845
|
type: "custom",
|
|
8846
|
-
label: D(
|
|
8846
|
+
label: D(k)("链接"),
|
|
8847
8847
|
error: u.value.routeUrl,
|
|
8848
8848
|
"onUpdate:error": eA[2] || (eA[2] = (nA) => u.value.routeUrl = nA),
|
|
8849
8849
|
"margin-right": "0",
|
|
8850
8850
|
required: r.value.type === 1 || r.value.type === 2
|
|
8851
8851
|
}, {
|
|
8852
|
-
default:
|
|
8853
|
-
|
|
8852
|
+
default: U(() => [
|
|
8853
|
+
M(D(n7), {
|
|
8854
8854
|
modelValue: r.value.routeUrl,
|
|
8855
8855
|
"onUpdate:modelValue": eA[1] || (eA[1] = (nA) => r.value.routeUrl = nA),
|
|
8856
8856
|
maxLength: 1e3,
|
|
8857
8857
|
width: "100%",
|
|
8858
8858
|
disabled: r.value.type !== 2
|
|
8859
8859
|
}, {
|
|
8860
|
-
suffix:
|
|
8861
|
-
|
|
8860
|
+
suffix: U(() => [
|
|
8861
|
+
M(D(vt), {
|
|
8862
8862
|
class: i7({ disabled: !r.value.type || r.value.type === 3 }),
|
|
8863
8863
|
"icon-color": !r.value.type || r.value.type === 3 ? D(C7)("--das-ui-portal-management-disabled-color") : D(C7)("--das-ui-color-secondary"),
|
|
8864
8864
|
onClick: w
|
|
@@ -8871,10 +8871,10 @@ const r8 = (f) => {
|
|
|
8871
8871
|
_: 1
|
|
8872
8872
|
/* STABLE */
|
|
8873
8873
|
}, 8, ["label", "error", "required"]),
|
|
8874
|
-
|
|
8874
|
+
M(D(BA), {
|
|
8875
8875
|
type: "input",
|
|
8876
8876
|
prop: "homeAlias",
|
|
8877
|
-
label: D(
|
|
8877
|
+
label: D(k)("别名"),
|
|
8878
8878
|
maxlength: 50,
|
|
8879
8879
|
modelValue: r.value.homeAlias,
|
|
8880
8880
|
"onUpdate:modelValue": eA[3] || (eA[3] = (nA) => r.value.homeAlias = nA),
|
|
@@ -8882,22 +8882,22 @@ const r8 = (f) => {
|
|
|
8882
8882
|
"onUpdate:error": eA[4] || (eA[4] = (nA) => u.value.homeAlias = nA),
|
|
8883
8883
|
"margin-right": "0"
|
|
8884
8884
|
}, null, 8, ["label", "modelValue", "error"]),
|
|
8885
|
-
|
|
8885
|
+
M(D(BA), {
|
|
8886
8886
|
type: "custom",
|
|
8887
|
-
label: D(
|
|
8887
|
+
label: D(k)("还原"),
|
|
8888
8888
|
"margin-right": "0"
|
|
8889
8889
|
}, {
|
|
8890
|
-
default:
|
|
8891
|
-
|
|
8890
|
+
default: U(() => [
|
|
8891
|
+
M(D(KA), {
|
|
8892
8892
|
btnType: "primary",
|
|
8893
8893
|
ghost: "",
|
|
8894
8894
|
size: "middle",
|
|
8895
8895
|
block: "",
|
|
8896
8896
|
onClick: W
|
|
8897
8897
|
}, {
|
|
8898
|
-
default:
|
|
8898
|
+
default: U(() => [
|
|
8899
8899
|
mA(
|
|
8900
|
-
PA(D(
|
|
8900
|
+
PA(D(k)("恢复项目初始设置")),
|
|
8901
8901
|
1
|
|
8902
8902
|
/* TEXT */
|
|
8903
8903
|
)
|
|
@@ -8917,26 +8917,26 @@ const r8 = (f) => {
|
|
|
8917
8917
|
512
|
|
8918
8918
|
/* NEED_PATCH */
|
|
8919
8919
|
), [
|
|
8920
|
-
[QA,
|
|
8920
|
+
[QA, _.isShow]
|
|
8921
8921
|
]),
|
|
8922
8922
|
AA(" 内置链接选择弹窗 "),
|
|
8923
|
-
|
|
8923
|
+
M(D(Fe), {
|
|
8924
8924
|
modelValue: D(X),
|
|
8925
8925
|
"onUpdate:modelValue": eA[9] || (eA[9] = (nA) => ve(X) ? X.value = nA : null),
|
|
8926
8926
|
"body-style": { padding: 0 },
|
|
8927
|
-
title: D(
|
|
8927
|
+
title: D(k)("选择内置门户菜单"),
|
|
8928
8928
|
width: "610px",
|
|
8929
8929
|
height: "580px"
|
|
8930
8930
|
}, {
|
|
8931
|
-
footer:
|
|
8932
|
-
|
|
8933
|
-
|
|
8931
|
+
footer: U(() => [
|
|
8932
|
+
B("div", null, [
|
|
8933
|
+
M(D(KA), {
|
|
8934
8934
|
size: "middle",
|
|
8935
8935
|
onClick: eA[8] || (eA[8] = (nA) => X.value = !1)
|
|
8936
8936
|
}, {
|
|
8937
|
-
default:
|
|
8937
|
+
default: U(() => [
|
|
8938
8938
|
mA(
|
|
8939
|
-
PA(D(
|
|
8939
|
+
PA(D(k)("取消")),
|
|
8940
8940
|
1
|
|
8941
8941
|
/* TEXT */
|
|
8942
8942
|
)
|
|
@@ -8944,15 +8944,15 @@ const r8 = (f) => {
|
|
|
8944
8944
|
_: 1
|
|
8945
8945
|
/* STABLE */
|
|
8946
8946
|
}),
|
|
8947
|
-
|
|
8947
|
+
M(D(KA), {
|
|
8948
8948
|
btnType: "primary",
|
|
8949
8949
|
size: "middle",
|
|
8950
8950
|
style: { "margin-left": "12px" },
|
|
8951
8951
|
onClick: D(j)
|
|
8952
8952
|
}, {
|
|
8953
|
-
default:
|
|
8953
|
+
default: U(() => [
|
|
8954
8954
|
mA(
|
|
8955
|
-
PA(D(
|
|
8955
|
+
PA(D(k)("确定")),
|
|
8956
8956
|
1
|
|
8957
8957
|
/* TEXT */
|
|
8958
8958
|
)
|
|
@@ -8962,8 +8962,8 @@ const r8 = (f) => {
|
|
|
8962
8962
|
}, 8, ["onClick"])
|
|
8963
8963
|
])
|
|
8964
8964
|
]),
|
|
8965
|
-
default:
|
|
8966
|
-
|
|
8965
|
+
default: U(() => [
|
|
8966
|
+
M(D(rt), {
|
|
8967
8967
|
"node-key": "id",
|
|
8968
8968
|
ref_key: "$typeTree",
|
|
8969
8969
|
ref: b,
|
|
@@ -8978,7 +8978,7 @@ const r8 = (f) => {
|
|
|
8978
8978
|
"default-expanded-keys": ["-1"],
|
|
8979
8979
|
load: D(H),
|
|
8980
8980
|
search: D(p),
|
|
8981
|
-
"input-options": { placeholder: D(
|
|
8981
|
+
"input-options": { placeholder: D(k)("搜索门户名称") },
|
|
8982
8982
|
onNodeClick: D(l)
|
|
8983
8983
|
}, null, 8, ["modelValue", "path", "filter-value", "data", "load", "search", "input-options", "onNodeClick"])
|
|
8984
8984
|
]),
|
|
@@ -8986,24 +8986,24 @@ const r8 = (f) => {
|
|
|
8986
8986
|
/* STABLE */
|
|
8987
8987
|
}, 8, ["modelValue", "title"]),
|
|
8988
8988
|
AA(" 非内置链接选择弹窗 "),
|
|
8989
|
-
|
|
8989
|
+
M(D(Fe), {
|
|
8990
8990
|
modelValue: D(O),
|
|
8991
8991
|
"onUpdate:modelValue": eA[16] || (eA[16] = (nA) => ve(O) ? O.value = nA : null),
|
|
8992
8992
|
"custom-class": "framework-portal-management-url-dialog",
|
|
8993
8993
|
"body-style": { padding: 0 },
|
|
8994
|
-
title: D(
|
|
8994
|
+
title: D(k)("选择URL链接"),
|
|
8995
8995
|
width: "960px",
|
|
8996
8996
|
height: "580px"
|
|
8997
8997
|
}, {
|
|
8998
|
-
footer:
|
|
8999
|
-
|
|
9000
|
-
|
|
8998
|
+
footer: U(() => [
|
|
8999
|
+
B("div", null, [
|
|
9000
|
+
M(D(KA), {
|
|
9001
9001
|
size: "middle",
|
|
9002
9002
|
onClick: eA[15] || (eA[15] = (nA) => O.value = !1)
|
|
9003
9003
|
}, {
|
|
9004
|
-
default:
|
|
9004
|
+
default: U(() => [
|
|
9005
9005
|
mA(
|
|
9006
|
-
PA(D(
|
|
9006
|
+
PA(D(k)("取消")),
|
|
9007
9007
|
1
|
|
9008
9008
|
/* TEXT */
|
|
9009
9009
|
)
|
|
@@ -9011,15 +9011,15 @@ const r8 = (f) => {
|
|
|
9011
9011
|
_: 1
|
|
9012
9012
|
/* STABLE */
|
|
9013
9013
|
}),
|
|
9014
|
-
|
|
9014
|
+
M(D(KA), {
|
|
9015
9015
|
btnType: "primary",
|
|
9016
9016
|
size: "middle",
|
|
9017
9017
|
style: { "margin-left": "12px" },
|
|
9018
|
-
onClick: D(
|
|
9018
|
+
onClick: D(h)
|
|
9019
9019
|
}, {
|
|
9020
|
-
default:
|
|
9020
|
+
default: U(() => [
|
|
9021
9021
|
mA(
|
|
9022
|
-
PA(D(
|
|
9022
|
+
PA(D(k)("确定")),
|
|
9023
9023
|
1
|
|
9024
9024
|
/* TEXT */
|
|
9025
9025
|
)
|
|
@@ -9029,70 +9029,70 @@ const r8 = (f) => {
|
|
|
9029
9029
|
}, 8, ["onClick"])
|
|
9030
9030
|
])
|
|
9031
9031
|
]),
|
|
9032
|
-
default:
|
|
9033
|
-
|
|
9034
|
-
default:
|
|
9035
|
-
|
|
9036
|
-
|
|
9037
|
-
|
|
9032
|
+
default: U(() => [
|
|
9033
|
+
M(D(F9), { spinning: D(x) }, {
|
|
9034
|
+
default: U(() => [
|
|
9035
|
+
B("div", X8, [
|
|
9036
|
+
B("div", c8, [
|
|
9037
|
+
B(
|
|
9038
9038
|
"div",
|
|
9039
9039
|
b8,
|
|
9040
|
-
PA(D(
|
|
9040
|
+
PA(D(k)("类型")),
|
|
9041
9041
|
1
|
|
9042
9042
|
/* TEXT */
|
|
9043
9043
|
),
|
|
9044
|
-
|
|
9044
|
+
M(D(Yv), {
|
|
9045
9045
|
modelValue: D(R),
|
|
9046
9046
|
"onUpdate:modelValue": eA[10] || (eA[10] = (nA) => ve(R) ? R.value = nA : null),
|
|
9047
9047
|
size: "small",
|
|
9048
9048
|
width: "200px",
|
|
9049
9049
|
options: D(V),
|
|
9050
|
-
onChange: D(
|
|
9050
|
+
onChange: D(C)
|
|
9051
9051
|
}, null, 8, ["modelValue", "options", "onChange"])
|
|
9052
9052
|
]),
|
|
9053
|
-
|
|
9054
|
-
|
|
9055
|
-
modelValue: D(
|
|
9056
|
-
"onUpdate:modelValue": eA[11] || (eA[11] = (nA) => ve(
|
|
9053
|
+
B("div", a8, [
|
|
9054
|
+
M(D(tt), {
|
|
9055
|
+
modelValue: D(g),
|
|
9056
|
+
"onUpdate:modelValue": eA[11] || (eA[11] = (nA) => ve(g) ? g.value = nA : null),
|
|
9057
9057
|
clearable: "",
|
|
9058
9058
|
size: "small",
|
|
9059
|
-
placeholder: D(
|
|
9059
|
+
placeholder: D(k)("搜索名称"),
|
|
9060
9060
|
onChange: D(L),
|
|
9061
9061
|
"is-icon-left": "",
|
|
9062
9062
|
onSearch: D(L)
|
|
9063
9063
|
}, null, 8, ["modelValue", "placeholder", "onChange", "onSearch"])
|
|
9064
9064
|
])
|
|
9065
9065
|
]),
|
|
9066
|
-
|
|
9067
|
-
|
|
9066
|
+
B("div", i8, [
|
|
9067
|
+
M(D(ft), {
|
|
9068
9068
|
data: D(N),
|
|
9069
|
-
currentRodioSelection: D(
|
|
9070
|
-
"onUpdate:currentRodioSelection": eA[12] || (eA[12] = (nA) => ve(
|
|
9069
|
+
currentRodioSelection: D(K),
|
|
9070
|
+
"onUpdate:currentRodioSelection": eA[12] || (eA[12] = (nA) => ve(K) ? K.value = nA : null),
|
|
9071
9071
|
"radio-selection": { selectable: () => !0 },
|
|
9072
9072
|
"max-height": "100%",
|
|
9073
|
-
"current-page": D(
|
|
9074
|
-
"onUpdate:currentPage": eA[13] || (eA[13] = (nA) => ve(
|
|
9073
|
+
"current-page": D(T),
|
|
9074
|
+
"onUpdate:currentPage": eA[13] || (eA[13] = (nA) => ve(T) ? T.value = nA : null),
|
|
9075
9075
|
"page-size": D(o),
|
|
9076
9076
|
"onUpdate:pageSize": eA[14] || (eA[14] = (nA) => ve(o) ? o.value = nA : null),
|
|
9077
|
-
total: D(
|
|
9077
|
+
total: D(Y),
|
|
9078
9078
|
"pagination-props": { layout: "prev,next,sizes" },
|
|
9079
|
-
onRadioChange: D(
|
|
9079
|
+
onRadioChange: D(G),
|
|
9080
9080
|
onCurrentPageChange: D(L),
|
|
9081
9081
|
onSizeChange: D(L)
|
|
9082
9082
|
}, {
|
|
9083
|
-
default:
|
|
9084
|
-
|
|
9085
|
-
label: D(
|
|
9083
|
+
default: U(() => [
|
|
9084
|
+
M(D(tf), {
|
|
9085
|
+
label: D(k)("名称"),
|
|
9086
9086
|
"min-width": "36px",
|
|
9087
9087
|
prop: "name"
|
|
9088
9088
|
}, null, 8, ["label"]),
|
|
9089
|
-
|
|
9090
|
-
label: D(
|
|
9089
|
+
M(D(tf), {
|
|
9090
|
+
label: D(k)("类型"),
|
|
9091
9091
|
"min-width": "36px",
|
|
9092
9092
|
prop: "type"
|
|
9093
9093
|
}, null, 8, ["label"]),
|
|
9094
|
-
|
|
9095
|
-
label: D(
|
|
9094
|
+
M(D(tf), {
|
|
9095
|
+
label: D(k)("URL链接地址"),
|
|
9096
9096
|
"min-width": "72px",
|
|
9097
9097
|
prop: "url"
|
|
9098
9098
|
}, null, 8, ["label"])
|
|
@@ -9110,7 +9110,7 @@ const r8 = (f) => {
|
|
|
9110
9110
|
/* STABLE */
|
|
9111
9111
|
}, 8, ["modelValue", "title"]),
|
|
9112
9112
|
AA(" 恢复项目初始设置 二次确认 "),
|
|
9113
|
-
|
|
9113
|
+
M(
|
|
9114
9114
|
d8,
|
|
9115
9115
|
{
|
|
9116
9116
|
ref_key: "resetDialogRef",
|
|
@@ -9129,25 +9129,25 @@ const r8 = (f) => {
|
|
|
9129
9129
|
}), q8 = /* @__PURE__ */ ZA(s8, [["__scopeId", "data-v-acf77da9"]]), H8 = "v1", p8 = `/api/portal/user/${H8}`, En = gA(p8), m8 = Br.post("/menu/personal-setting"), l8 = En.put("/home"), x8 = En.put("/language"), O8 = { class: "preson-style-drawer" }, D8 = { class: "preson-style-footer" }, V8 = /* @__PURE__ */ iA({
|
|
9130
9130
|
__name: "index",
|
|
9131
9131
|
setup(f, { expose: A }) {
|
|
9132
|
-
const e =
|
|
9132
|
+
const e = Z(!1), v = Z(!1), n = Z(null), r = Z(null), P = Z(null), u = Z("theme"), d = Z(""), t = Z(!0), z = vA(() => [
|
|
9133
9133
|
{
|
|
9134
9134
|
key: "theme",
|
|
9135
|
-
tab:
|
|
9135
|
+
tab: k("主题设置")
|
|
9136
9136
|
},
|
|
9137
9137
|
{
|
|
9138
9138
|
key: "lang",
|
|
9139
|
-
tab:
|
|
9139
|
+
tab: k("语言设置"),
|
|
9140
9140
|
hidden: Number(_7()) < 2
|
|
9141
9141
|
},
|
|
9142
9142
|
{
|
|
9143
9143
|
key: "home",
|
|
9144
|
-
tab:
|
|
9144
|
+
tab: k("home-set", d.value),
|
|
9145
9145
|
hidden: !t.value
|
|
9146
9146
|
}
|
|
9147
9147
|
]), m = () => {
|
|
9148
9148
|
var c, i;
|
|
9149
9149
|
const { flag: b } = G9();
|
|
9150
|
-
b === 4 && (t.value = (c = pe.value) == null ? void 0 : c.companyIsDisplayHome), d.value = (i = pe.value) != null && i.homeAlias ? pe.value.homeAlias :
|
|
9150
|
+
b === 4 && (t.value = (c = pe.value) == null ? void 0 : c.companyIsDisplayHome), d.value = (i = pe.value) != null && i.homeAlias ? pe.value.homeAlias : k("首页"), e.value = !0;
|
|
9151
9151
|
}, X = async () => {
|
|
9152
9152
|
var i, a, s, q;
|
|
9153
9153
|
const b = (i = n.value) == null ? void 0 : i.getResult(), [c] = await m8().run(b);
|
|
@@ -9171,13 +9171,13 @@ const r8 = (f) => {
|
|
|
9171
9171
|
u.value = "home";
|
|
9172
9172
|
return;
|
|
9173
9173
|
}
|
|
9174
|
-
p7.success(
|
|
9174
|
+
p7.success(k("保存成功")), e.value = !1, window.__isAutoCloseApp = !1, window.location.reload();
|
|
9175
9175
|
}
|
|
9176
9176
|
};
|
|
9177
9177
|
return A({
|
|
9178
9178
|
openDialog: m
|
|
9179
|
-
}), (b, c) => (
|
|
9180
|
-
e.value ? (
|
|
9179
|
+
}), (b, c) => (J(), dA("div", O8, [
|
|
9180
|
+
e.value ? (J(), tA(D($r), {
|
|
9181
9181
|
key: 0,
|
|
9182
9182
|
title: D(fA)("个性化设置").value,
|
|
9183
9183
|
modelValue: e.value,
|
|
@@ -9185,14 +9185,14 @@ const r8 = (f) => {
|
|
|
9185
9185
|
"body-style": { padding: 0 },
|
|
9186
9186
|
direction: "rtl"
|
|
9187
9187
|
}, {
|
|
9188
|
-
footer:
|
|
9189
|
-
|
|
9190
|
-
|
|
9188
|
+
footer: U(() => [
|
|
9189
|
+
B("div", D8, [
|
|
9190
|
+
M(D(KA), {
|
|
9191
9191
|
size: "middle",
|
|
9192
9192
|
onClick: c[2] || (c[2] = (i) => e.value = !1),
|
|
9193
9193
|
style: { "margin-right": "12px" }
|
|
9194
9194
|
}, {
|
|
9195
|
-
default:
|
|
9195
|
+
default: U(() => [
|
|
9196
9196
|
mA(
|
|
9197
9197
|
PA(D(fA)("取消").value),
|
|
9198
9198
|
1
|
|
@@ -9202,13 +9202,13 @@ const r8 = (f) => {
|
|
|
9202
9202
|
_: 1
|
|
9203
9203
|
/* STABLE */
|
|
9204
9204
|
}),
|
|
9205
|
-
|
|
9205
|
+
M(D(KA), {
|
|
9206
9206
|
btnType: "primary",
|
|
9207
9207
|
size: "middle",
|
|
9208
9208
|
loading: v.value,
|
|
9209
9209
|
onClick: X
|
|
9210
9210
|
}, {
|
|
9211
|
-
default:
|
|
9211
|
+
default: U(() => [
|
|
9212
9212
|
mA(
|
|
9213
9213
|
PA(D(fA)("确定").value),
|
|
9214
9214
|
1
|
|
@@ -9220,24 +9220,24 @@ const r8 = (f) => {
|
|
|
9220
9220
|
}, 8, ["loading"])
|
|
9221
9221
|
])
|
|
9222
9222
|
]),
|
|
9223
|
-
default:
|
|
9224
|
-
|
|
9223
|
+
default: U(() => [
|
|
9224
|
+
M(D(At), {
|
|
9225
9225
|
options: z.value,
|
|
9226
9226
|
activeKey: u.value,
|
|
9227
9227
|
"onUpdate:activeKey": c[0] || (c[0] = (i) => u.value = i),
|
|
9228
9228
|
"tab-width": "110px"
|
|
9229
9229
|
}, null, 8, ["options", "activeKey"]),
|
|
9230
|
-
|
|
9230
|
+
M(D(E1), {
|
|
9231
9231
|
ref_key: "setThemeStyleRef",
|
|
9232
9232
|
ref: n,
|
|
9233
9233
|
isShow: u.value === "theme"
|
|
9234
9234
|
}, null, 8, ["isShow"]),
|
|
9235
|
-
|
|
9235
|
+
M(D(M1), {
|
|
9236
9236
|
ref_key: "setLangRef",
|
|
9237
9237
|
ref: P,
|
|
9238
9238
|
isShow: u.value === "lang"
|
|
9239
9239
|
}, null, 8, ["isShow"]),
|
|
9240
|
-
|
|
9240
|
+
M(D(q8), {
|
|
9241
9241
|
ref_key: "setHomeRef",
|
|
9242
9242
|
ref: r,
|
|
9243
9243
|
isShow: u.value === "home",
|
|
@@ -9249,13 +9249,13 @@ const r8 = (f) => {
|
|
|
9249
9249
|
}, 8, ["title", "modelValue"])) : AA("v-if", !0)
|
|
9250
9250
|
]));
|
|
9251
9251
|
}
|
|
9252
|
-
}), N8 = /* @__PURE__ */ ZA(V8, [["__scopeId", "data-v-b5afad5c"]]), R8 = () =>
|
|
9252
|
+
}), N8 = /* @__PURE__ */ ZA(V8, [["__scopeId", "data-v-b5afad5c"]]), R8 = () => Z(null), j8 = { class: "iframe-container" }, o8 = ["src"], Z8 = /* @__PURE__ */ iA({
|
|
9253
9253
|
__name: "index",
|
|
9254
9254
|
props: {
|
|
9255
9255
|
src: { default: "" }
|
|
9256
9256
|
},
|
|
9257
9257
|
setup(f) {
|
|
9258
|
-
const A = f, e =
|
|
9258
|
+
const A = f, e = Z(null), v = Z(!1), n = () => {
|
|
9259
9259
|
var P, u;
|
|
9260
9260
|
v.value && (P = e.value) != null && P.contentWindow && ((u = e.value.contentWindow) == null || u.postMessage(
|
|
9261
9261
|
{
|
|
@@ -9270,13 +9270,13 @@ const r8 = (f) => {
|
|
|
9270
9270
|
};
|
|
9271
9271
|
return O9(() => {
|
|
9272
9272
|
v.value = !1;
|
|
9273
|
-
}), (P, u) => (
|
|
9274
|
-
P.src ? (
|
|
9273
|
+
}), (P, u) => (J(), dA("div", j8, [
|
|
9274
|
+
P.src ? (J(), tA(D(F9), {
|
|
9275
9275
|
key: 0,
|
|
9276
9276
|
spinning: !v.value
|
|
9277
9277
|
}, {
|
|
9278
|
-
default:
|
|
9279
|
-
WA(
|
|
9278
|
+
default: U(() => [
|
|
9279
|
+
WA(B("iframe", {
|
|
9280
9280
|
id: "iframe-view",
|
|
9281
9281
|
ref_key: "iframeRef",
|
|
9282
9282
|
ref: e,
|
|
@@ -9301,21 +9301,21 @@ const r8 = (f) => {
|
|
|
9301
9301
|
const [P, u] = await T8().run({ userId: G9().id });
|
|
9302
9302
|
P || !u || JSON.stringify(u) === "{}" || (M9.open({
|
|
9303
9303
|
key: "loginTip",
|
|
9304
|
-
message:
|
|
9304
|
+
message: k("上次登录信息"),
|
|
9305
9305
|
placement: "bottomRight",
|
|
9306
9306
|
description: RA("div", { class: "last-login-info" }, [
|
|
9307
9307
|
RA(
|
|
9308
9308
|
"div",
|
|
9309
9309
|
{ style: "font-size: 12px;color:#212121;margin-bottom:8px" },
|
|
9310
|
-
|
|
9310
|
+
k("时间:") + Lr(u.lastModificationTime)
|
|
9311
9311
|
),
|
|
9312
|
-
RA("div", { style: "font-size: 12px;color:#212121;" },
|
|
9312
|
+
RA("div", { style: "font-size: 12px;color:#212121;" }, k("IP地址:") + u.ip)
|
|
9313
9313
|
])
|
|
9314
9314
|
}), sessionStorage.setItem("loginInfoTip", "true"));
|
|
9315
9315
|
}, v = async () => {
|
|
9316
9316
|
const [{ loginConfig: P }, { platformConfig: u }] = await Promise.all([e1(), yn()]);
|
|
9317
9317
|
return A(u), u != null && u.browserTitle && localStorage.setItem("browser-title", u.browserTitle || "AIoT智能物联网管控平台"), Tr(), { loginConfig: P, platformConfig: u };
|
|
9318
|
-
}, n =
|
|
9318
|
+
}, n = Z(!1), r = () => new Promise((P) => {
|
|
9319
9319
|
const u = () => {
|
|
9320
9320
|
if (n.value) return P();
|
|
9321
9321
|
setTimeout(() => u(), 50);
|
|
@@ -9331,11 +9331,11 @@ const r8 = (f) => {
|
|
|
9331
9331
|
};
|
|
9332
9332
|
}, y8 = (f) => {
|
|
9333
9333
|
me();
|
|
9334
|
-
const A = $e(), { getMenu: e } = gr(), { getHistoryList: v, getSearchList: n } = S8(), { changeApp: r } = De(), P =
|
|
9334
|
+
const A = $e(), { getMenu: e } = gr(), { getHistoryList: v, getSearchList: n } = S8(), { changeApp: r } = De(), P = Z("0"), u = Z(!0), d = Z([]), t = Z(!1), z = Z(!1), m = Z(!1);
|
|
9335
9335
|
sA(
|
|
9336
9336
|
() => A.path,
|
|
9337
9337
|
(s) => {
|
|
9338
|
-
z.value = s ===
|
|
9338
|
+
z.value = s === be;
|
|
9339
9339
|
},
|
|
9340
9340
|
{
|
|
9341
9341
|
immediate: !0
|
|
@@ -9343,7 +9343,7 @@ const r8 = (f) => {
|
|
|
9343
9343
|
), sA(
|
|
9344
9344
|
() => [z.value, m.value, t.value],
|
|
9345
9345
|
() => {
|
|
9346
|
-
|
|
9346
|
+
$.nav.setConfig({
|
|
9347
9347
|
showFullScreen: z.value,
|
|
9348
9348
|
showChangeEnterprise: m.value,
|
|
9349
9349
|
showAIHelper: t.value,
|
|
@@ -9366,26 +9366,28 @@ const r8 = (f) => {
|
|
|
9366
9366
|
g6
|
|
9367
9367
|
]).then((H) => Object.assign(s, ...H)), u.value = !1, s;
|
|
9368
9368
|
}, b = async (s) => {
|
|
9369
|
-
var
|
|
9370
|
-
const q = ((
|
|
9371
|
-
let l = [...pP].map((
|
|
9372
|
-
...
|
|
9373
|
-
label:
|
|
9369
|
+
var o, T, Y;
|
|
9370
|
+
const q = ((o = cA()) == null ? void 0 : o.subAppList) || [], H = q.map((g) => g.code), p = pe.value;
|
|
9371
|
+
let l = [...pP].map((g) => ({
|
|
9372
|
+
...g,
|
|
9373
|
+
label: k(g.label)
|
|
9374
9374
|
}));
|
|
9375
|
-
l.forEach((
|
|
9375
|
+
l.forEach((g) => (p != null && p.appAlias && g.value === te && (g.label = p.appAlias), p != null && p.homeAlias && g.value === be && (g.label = p.homeAlias), g));
|
|
9376
9376
|
const j = () => {
|
|
9377
|
-
const { flag:
|
|
9378
|
-
return
|
|
9377
|
+
const { flag: g } = G9();
|
|
9378
|
+
return g === 4 ? p == null ? void 0 : p.companyIsDisplayHome : p == null ? void 0 : p.enable;
|
|
9379
9379
|
};
|
|
9380
|
-
let x = s.map((
|
|
9381
|
-
j() || (x = x.filter((
|
|
9382
|
-
const O = x.filter((
|
|
9383
|
-
(
|
|
9380
|
+
let x = s.map((g) => g.id === "-1" || g.id === "-2" ? l.map((K) => ({ ...K, label: k(K.label), name: k(K.label), closable: !1 })).find((K) => K.id === g.id) : g);
|
|
9381
|
+
j() || (x = x.filter((g) => g.id !== "-2"));
|
|
9382
|
+
const O = x.filter((g) => !H.includes(g.code)), R = [...q, ...O].filter(
|
|
9383
|
+
(g) => E6.value.find((K) => K.code === g.code) || g.id === "-1" || g.id === "-2"
|
|
9384
9384
|
);
|
|
9385
9385
|
JA([{ key: "subAppList", value: R }]);
|
|
9386
|
-
const V =
|
|
9387
|
-
|
|
9388
|
-
|
|
9386
|
+
const V = (Y = (T = cA()) == null ? void 0 : T.subAppList) == null ? void 0 : Y.map((g) => ({ ...g, value: g.code, label: g.name }));
|
|
9387
|
+
$.nav.setItems(V);
|
|
9388
|
+
const N = R[0];
|
|
9389
|
+
location.pathname === "/" && r(N, !1);
|
|
9390
|
+
}, c = Z(!1), i = async () => {
|
|
9389
9391
|
var o;
|
|
9390
9392
|
await f();
|
|
9391
9393
|
const s = _A().id, q = await X();
|
|
@@ -9393,29 +9395,29 @@ const r8 = (f) => {
|
|
|
9393
9395
|
const { projectConfig: H, currentProject: p, tenantList: l, fixedAppsConfig: j } = q, x = (p == null ? void 0 : p.id) || 0;
|
|
9394
9396
|
s != x && (P.value = P.value === "0" ? "1" : "0"), m.value = ((o = Y9()) == null ? void 0 : o.flag) !== 4 && l && l.length > 1;
|
|
9395
9397
|
const O = await e("aiPlatform", "aiPlatform.dasaiassistant", "", "enterpriseadmin", !0);
|
|
9396
|
-
t.value = !!O, b(j), H && H.length && (
|
|
9398
|
+
t.value = !!O, b(j), H && H.length && ($.nav.setProjectConfig({
|
|
9397
9399
|
treeProps: {
|
|
9398
|
-
disabled: (
|
|
9400
|
+
disabled: (T) => T.type !== 7
|
|
9399
9401
|
},
|
|
9400
9402
|
// 过滤的节点
|
|
9401
|
-
filterNodeMethod: (
|
|
9403
|
+
filterNodeMethod: (T) => T.type === 7,
|
|
9402
9404
|
// 树打平之后保留的数据
|
|
9403
|
-
filterFlatCondition: (
|
|
9404
|
-
}),
|
|
9405
|
+
filterFlatCondition: (T) => T.type === 7
|
|
9406
|
+
}), $.nav.setProjects(H || []), p && $.nav.setActiveProject(p));
|
|
9405
9407
|
const R = V9() ?? {}, V = R != null && R.headPicture ? U9(R.headPicture) : void 0;
|
|
9406
|
-
d.value = [...mP].map((
|
|
9407
|
-
...
|
|
9408
|
-
label:
|
|
9409
|
-
})), p && p.id !== 0 ? await e("personCenter", null, "/userInfo") || (d.value = d.value.filter((
|
|
9408
|
+
d.value = [...mP].map((T) => ({
|
|
9409
|
+
...T,
|
|
9410
|
+
label: k(T.label)
|
|
9411
|
+
})), p && p.id !== 0 ? await e("personCenter", null, "/userInfo") || (d.value = d.value.filter((Y) => Y.value !== "1")) : d.value = d.value.filter((T) => T.value !== "1"), $.nav.setUserInfo({ headPicture: V, commandList: d.value }), $.nav.setSearchConfig({
|
|
9410
9412
|
getHistoryList: v,
|
|
9411
9413
|
getSearchList: n
|
|
9412
9414
|
});
|
|
9413
9415
|
const N = cA().subAppList ?? [];
|
|
9414
|
-
N.length && (N.forEach((
|
|
9415
|
-
|
|
9416
|
+
N.length && (N.forEach((T) => {
|
|
9417
|
+
T.menus = [], T.originalMenus = [];
|
|
9416
9418
|
}), JA([{ key: "subAppList", value: N }])), c.value = !0;
|
|
9417
9419
|
};
|
|
9418
|
-
return
|
|
9420
|
+
return $.nav.addEventListener("onBeforeMount", i), { loading: u, pageKey: P, commandList: d, layoutInited: c, initNextTick: () => new Promise((s) => {
|
|
9419
9421
|
const q = async () => {
|
|
9420
9422
|
var l;
|
|
9421
9423
|
let H = ((l = A.meta) == null ? void 0 : l.showLayout) ?? !0, { showLayout: p = !0 } = A.query;
|
|
@@ -9438,7 +9440,7 @@ const r8 = (f) => {
|
|
|
9438
9440
|
};
|
|
9439
9441
|
}, W8 = () => {
|
|
9440
9442
|
const { entryMenu: f } = ef();
|
|
9441
|
-
|
|
9443
|
+
$.menu.addEventListener("onItemClick", async (A) => {
|
|
9442
9444
|
var r;
|
|
9443
9445
|
NA.innerSet = !0;
|
|
9444
9446
|
const e = ee(g9(A.applicationCode)).filter((P) => !P.disable && !P.expired).find((P) => P.code === A.code);
|
|
@@ -9450,21 +9452,21 @@ const r8 = (f) => {
|
|
|
9450
9452
|
}
|
|
9451
9453
|
const n = (((r = EA().tabMap) == null ? void 0 : r[A.applicationCode]) ?? []).find((P) => P.code === A.code);
|
|
9452
9454
|
f(n ? { currentMenu: e, route: { path: n.path, query: n.query ?? {} } } : { currentMenu: e });
|
|
9453
|
-
}),
|
|
9455
|
+
}), $.menu.addEventListener("toggleCollapse", (A) => {
|
|
9454
9456
|
const e = yv.nav.activeItem;
|
|
9455
9457
|
let v = cA().menuCollapses || [];
|
|
9456
9458
|
A ? v = Array.from(/* @__PURE__ */ new Set([...v, e])) : v = v.filter((n) => n !== e), JA([{ key: "menuCollapses", value: v }]);
|
|
9457
9459
|
});
|
|
9458
9460
|
}, E8 = () => {
|
|
9459
9461
|
const { changeApp: f, deleteApp: A, beforeEntryApp: e } = De();
|
|
9460
|
-
|
|
9462
|
+
$.nav.addEventListener("onItemClick", async (n) => {
|
|
9461
9463
|
const r = cA().currentSubAppCode ?? "";
|
|
9462
9464
|
if (r !== n.code) {
|
|
9463
9465
|
if (r && KP(r), (!n.fixed || !n.unClosed) && !await e(n))
|
|
9464
|
-
throw new Error(
|
|
9466
|
+
throw new Error(k("取消切换"));
|
|
9465
9467
|
f(n);
|
|
9466
9468
|
}
|
|
9467
|
-
}),
|
|
9469
|
+
}), $.nav.addEventListener("onItemRemove", (n) => {
|
|
9468
9470
|
var t;
|
|
9469
9471
|
const r = cA();
|
|
9470
9472
|
if (!((t = r.subAppList) != null && t.length) || r.subAppList.findIndex((z) => z.code === n.code) === -1) return;
|
|
@@ -9472,14 +9474,14 @@ const r8 = (f) => {
|
|
|
9472
9474
|
d && d.length && E9(n.code, d), A(n);
|
|
9473
9475
|
});
|
|
9474
9476
|
const { enter: v } = e9();
|
|
9475
|
-
return
|
|
9477
|
+
return $.nav.addEventListener("fullScreenHandle", v), {};
|
|
9476
9478
|
}, I8 = () => {
|
|
9477
|
-
const f = me(), A =
|
|
9479
|
+
const f = me(), A = Z(""), e = Z(""), v = Z("");
|
|
9478
9480
|
let n = "", r = {};
|
|
9479
9481
|
sA(
|
|
9480
9482
|
() => f.currentRoute.value,
|
|
9481
9483
|
async (c) => {
|
|
9482
|
-
var p, l, j, x, O, R, V, N, o,
|
|
9484
|
+
var p, l, j, x, O, R, V, N, o, T;
|
|
9483
9485
|
const i = ((p = c.meta) == null ? void 0 : p.showLayout) ?? !0;
|
|
9484
9486
|
let a = ((l = c.query) == null ? void 0 : l.showLayout) ?? !0;
|
|
9485
9487
|
if (a === "false" && (a = !1), !i || !a || c.path === n && A7(c.query, r)) return;
|
|
@@ -9489,7 +9491,7 @@ const r8 = (f) => {
|
|
|
9489
9491
|
const q = ((j = c.query) == null ? void 0 : j.menu) ?? ((x = EA()) == null ? void 0 : x.currentCode) ?? "";
|
|
9490
9492
|
if (!q) return;
|
|
9491
9493
|
const H = JSON.parse(sessionStorage.getItem("tabStyle") || "{}") || {};
|
|
9492
|
-
H && JSON.stringify(H) !== "{}" && (A.value = (R = (O = H[s]) == null ? void 0 : O[q]) != null && R.fontColor ? H[s][q].fontColor : "", e.value = (N = (V = H[s]) == null ? void 0 : V[q]) != null && N.backgroundColor ? H[s][q].backgroundColor : "", v.value = (
|
|
9494
|
+
H && JSON.stringify(H) !== "{}" && (A.value = (R = (O = H[s]) == null ? void 0 : O[q]) != null && R.fontColor ? H[s][q].fontColor : "", e.value = (N = (V = H[s]) == null ? void 0 : V[q]) != null && N.backgroundColor ? H[s][q].backgroundColor : "", v.value = (T = (o = H[s]) == null ? void 0 : o[q]) != null && T.backgroundColor ? H[s][q].backgroundColor : "");
|
|
9493
9495
|
}
|
|
9494
9496
|
);
|
|
9495
9497
|
const { deleteApp: P } = De(), { entryMenu: u } = ef(), { reloadRoute: d, unloadRoute: t } = In(), z = (c) => {
|
|
@@ -9499,7 +9501,7 @@ const r8 = (f) => {
|
|
|
9499
9501
|
}, m = (c) => {
|
|
9500
9502
|
if (!c || !c.length) return;
|
|
9501
9503
|
const i = c.filter((a) => !a.path.startsWith(je)).map((a) => a.path);
|
|
9502
|
-
i && i.length && t(i), c.forEach((a) =>
|
|
9504
|
+
i && i.length && t(i), c.forEach((a) => $.iframeView.triggerEventListener("onUnloadPage", a.path));
|
|
9503
9505
|
}, X = (c) => {
|
|
9504
9506
|
const i = cA().currentSubAppCode ?? "";
|
|
9505
9507
|
NA.innerSet = !0;
|
|
@@ -9508,7 +9510,7 @@ const r8 = (f) => {
|
|
|
9508
9510
|
const H = () => {
|
|
9509
9511
|
var V;
|
|
9510
9512
|
let R = (((V = cA().appcategorys) == null ? void 0 : V.map((N) => N.apps).flat()) ?? []).find((N) => N.code === i);
|
|
9511
|
-
R = { ...R, value: R.code, label: R.name }, P(R),
|
|
9513
|
+
R = { ...R, value: R.code, label: R.name }, P(R), $.nav.removeItem(i);
|
|
9512
9514
|
};
|
|
9513
9515
|
({
|
|
9514
9516
|
me: async (O) => {
|
|
@@ -9526,9 +9528,9 @@ const r8 = (f) => {
|
|
|
9526
9528
|
await f.push({
|
|
9527
9529
|
path: `/${R.applicationPath}${R.path}`.replace(/\/\//g, "/"),
|
|
9528
9530
|
query: R.query
|
|
9529
|
-
}),
|
|
9531
|
+
}), $.menu.setActiveItem(R.menuId), $.tab.setActiveItem(R.code);
|
|
9530
9532
|
const V = s.filter((N) => N.code !== O.value);
|
|
9531
|
-
V.forEach((N) =>
|
|
9533
|
+
V.forEach((N) => $.tab.removeItem(N.code)), m(V), FA([{ key: `tabMap:${i}`, value: [R] }]), z(R);
|
|
9532
9534
|
},
|
|
9533
9535
|
right: async (O) => {
|
|
9534
9536
|
const R = a.currentCode;
|
|
@@ -9537,16 +9539,16 @@ const r8 = (f) => {
|
|
|
9537
9539
|
z(o);
|
|
9538
9540
|
}
|
|
9539
9541
|
const V = s.slice(q + 1);
|
|
9540
|
-
V.forEach((N) =>
|
|
9542
|
+
V.forEach((N) => $.tab.removeItem(N.code)), m(V), s.splice(q + 1), FA([{ key: `tabMap:${i}`, value: s }]);
|
|
9541
9543
|
}
|
|
9542
9544
|
})[c.type](c.data);
|
|
9543
9545
|
};
|
|
9544
|
-
|
|
9546
|
+
$.tab.addEventListener("onItemClick", async (c) => {
|
|
9545
9547
|
EA().currentCode !== c.currentCode && (NA.innerSet = !0, z(c));
|
|
9546
|
-
}),
|
|
9548
|
+
}), $.tab.addEventListener("onItemRemove", (c) => {
|
|
9547
9549
|
const i = EA(), a = cA().currentSubAppCode ?? "";
|
|
9548
9550
|
i.tabMap[a].findIndex((H) => H.code === c.code) !== -1 && (E9(c.applicationCode, [c.code]), X({ type: "me", data: c }));
|
|
9549
|
-
}),
|
|
9551
|
+
}), $.tab.addEventListener("onMenuClick", (c) => {
|
|
9550
9552
|
let i = [];
|
|
9551
9553
|
const a = EA().tabMap[c.applicationCode] ?? [];
|
|
9552
9554
|
if (c.type.key === "right") {
|
|
@@ -9557,10 +9559,10 @@ const r8 = (f) => {
|
|
|
9557
9559
|
c.applicationCode,
|
|
9558
9560
|
i.map((s) => s.code)
|
|
9559
9561
|
), X({ type: c.type.key, data: c.data });
|
|
9560
|
-
}),
|
|
9562
|
+
}), $.tab.addEventListener("onPageRefresh", async (c) => {
|
|
9561
9563
|
if (!c) return;
|
|
9562
9564
|
if (c.path.startsWith(je)) {
|
|
9563
|
-
|
|
9565
|
+
$.iframeView.triggerEventListener("onRefreshCurrentPage");
|
|
9564
9566
|
return;
|
|
9565
9567
|
}
|
|
9566
9568
|
E9(c.applicationCode, [c.code]);
|
|
@@ -9574,12 +9576,12 @@ const r8 = (f) => {
|
|
|
9574
9576
|
A7(a, s) || await u({ currentMenu: i }), d([c.path]);
|
|
9575
9577
|
});
|
|
9576
9578
|
const { enter: b } = e9();
|
|
9577
|
-
return
|
|
9579
|
+
return $.tab.addEventListener("onToggleFullScreen", b), { fontColor: A, backgroudColor: e, borderColor: v };
|
|
9578
9580
|
}, Sf = xe(), qv = (Sf == null ? void 0 : Sf.isAutoCloseApp) ?? !0, Hv = location.href.includes("showLayout=false"), pv = window.self !== window.top, g8 = () => {
|
|
9579
9581
|
const f = () => {
|
|
9580
|
-
|
|
9582
|
+
$.nav.setItems([]), $.menu.setItems([]), $.tab.setItems([]), _v();
|
|
9581
9583
|
}, A = () => {
|
|
9582
|
-
window.__isAutoCloseApp = !1,
|
|
9584
|
+
window.__isAutoCloseApp = !1, location.replace("/");
|
|
9583
9585
|
};
|
|
9584
9586
|
window.addEventListener("beforeunload", function(e) {
|
|
9585
9587
|
if (!(Hv || !qv || pv) && window.__isAutoCloseApp) {
|
|
@@ -9603,7 +9605,7 @@ const r8 = (f) => {
|
|
|
9603
9605
|
let { mainAppName: v = "", microAppName: n = "", microApps: r = [] } = xe();
|
|
9604
9606
|
!v && n && (r = [{ name: n }]);
|
|
9605
9607
|
const P = r.map((X) => X.name), u = () => {
|
|
9606
|
-
|
|
9608
|
+
$.menu.setItems([]), $.menu.setActiveItem(""), $.tab.setItems([]), $.tab.setActiveItem("");
|
|
9607
9609
|
}, d = async (X) => {
|
|
9608
9610
|
if (X.routeUrl && !P.includes(X.routeUrl)) return !0;
|
|
9609
9611
|
const b = X.code ?? "", i = (cA().subAppList ?? []).find((p) => p.code === b);
|
|
@@ -9614,22 +9616,22 @@ const r8 = (f) => {
|
|
|
9614
9616
|
a = p ?? [], s = l ?? [];
|
|
9615
9617
|
}
|
|
9616
9618
|
if (a.length ? k9(a) || (await q9({
|
|
9617
|
-
title:
|
|
9618
|
-
content:
|
|
9619
|
-
}), q = !0) : (await q9({ title:
|
|
9619
|
+
title: k("提示"),
|
|
9620
|
+
content: k("此应用菜单已过期/已收回/配置有误") + "<br/>" + k("无法使用")
|
|
9621
|
+
}), q = !0) : (await q9({ title: k("提示"), content: k("此应用未配置菜单/无菜单权限") + "<br/>" + k("无法使用") }), q = !0), q) return !1;
|
|
9620
9622
|
const H = { ...X, menus: a, originalMenus: s };
|
|
9621
9623
|
return JA([{ key: "subAppList", value: H }]), !0;
|
|
9622
9624
|
}, t = async (X) => {
|
|
9623
|
-
var o,
|
|
9625
|
+
var o, T, Y, g, K;
|
|
9624
9626
|
const { microApp: b = null, menuCode: c = "", menuPath: i = "", route: a = {} } = X;
|
|
9625
9627
|
let s = a;
|
|
9626
9628
|
if (!b && i) {
|
|
9627
|
-
if (u(), !(P && P.find((
|
|
9629
|
+
if (u(), !(P && P.find((G) => i.startsWith("/" + G) || i.startsWith(G)))) return;
|
|
9628
9630
|
await f.push({ path: i, query: s.query });
|
|
9629
9631
|
return;
|
|
9630
9632
|
}
|
|
9631
9633
|
const q = ((o = s.meta) == null ? void 0 : o.showLayout) ?? !0;
|
|
9632
|
-
let H = ((
|
|
9634
|
+
let H = ((T = s.query) == null ? void 0 : T.showLayout) ?? !0;
|
|
9633
9635
|
H === "false" && (H = !1);
|
|
9634
9636
|
const p = (b == null ? void 0 : b.openType) ?? 1, l = (b == null ? void 0 : b.type) ?? 1;
|
|
9635
9637
|
if (b.routeUrl && !P.includes(b.routeUrl)) {
|
|
@@ -9637,25 +9639,25 @@ const r8 = (f) => {
|
|
|
9637
9639
|
appCode: b.code,
|
|
9638
9640
|
displayAppName: b.name
|
|
9639
9641
|
}), u();
|
|
9640
|
-
const
|
|
9641
|
-
if ((
|
|
9642
|
+
const F = ((Y = cA()) == null ? void 0 : Y.subAppList) ?? [];
|
|
9643
|
+
if ((F == null ? void 0 : F.find((h) => h.code === b.code)) || F == null || F.push(b), JA([
|
|
9642
9644
|
{ key: "currentSubApp", value: b },
|
|
9643
9645
|
{ key: "currentSubAppCode", value: b.code },
|
|
9644
|
-
{ key: "subAppList", value:
|
|
9645
|
-
]),
|
|
9646
|
-
const
|
|
9647
|
-
|
|
9648
|
-
}),
|
|
9646
|
+
{ key: "subAppList", value: F }
|
|
9647
|
+
]), F.forEach((h) => {
|
|
9648
|
+
const C = { ...h, value: h.code, label: h.name };
|
|
9649
|
+
$.nav.appendItem(C);
|
|
9650
|
+
}), $.nav.setActiveItem(b.code), b.routeUrl.includes("entrance=main")) {
|
|
9649
9651
|
await f.push({ path: b.routeUrl, query: { ...s.query, app: b.code } });
|
|
9650
9652
|
return;
|
|
9651
9653
|
}
|
|
9652
9654
|
if (p === 1 && l === 2) {
|
|
9653
|
-
const
|
|
9655
|
+
const h = await un(b.routeUrl, (b == null ? void 0 : b.param) ?? []), C = P7(e7(f7(h))), L = `${je}-${b.code}`;
|
|
9654
9656
|
if (!f.options.routes.find((w) => w.path === L)) {
|
|
9655
9657
|
const w = {
|
|
9656
9658
|
path: L,
|
|
9657
9659
|
component: RA(a7, {
|
|
9658
|
-
src:
|
|
9660
|
+
src: C
|
|
9659
9661
|
}),
|
|
9660
9662
|
meta: { isIframe: !0, keepAlive: !0 }
|
|
9661
9663
|
};
|
|
@@ -9684,10 +9686,10 @@ const r8 = (f) => {
|
|
|
9684
9686
|
meta: { ...(s == null ? void 0 : s.meta) ?? {} }
|
|
9685
9687
|
}), x && (x == null ? void 0 : x.code) !== (b == null ? void 0 : b.code)) {
|
|
9686
9688
|
if (x.fixed || x.unClosed)
|
|
9687
|
-
await f.push(x.path), u(),
|
|
9689
|
+
await f.push(x.path), u(), $.nav.setActiveItem(x.path);
|
|
9688
9690
|
else {
|
|
9689
|
-
const
|
|
9690
|
-
await t({ microApp:
|
|
9691
|
+
const F = (g = cA().subAppList) == null ? void 0 : g.find((C) => C.code === x.code), G = EA().preTab[x.code], h = { ...(G == null ? void 0 : G.query) ?? {} };
|
|
9692
|
+
await t({ microApp: F, menuCode: (G == null ? void 0 : G.code) ?? "", route: { query: h } });
|
|
9691
9693
|
}
|
|
9692
9694
|
return;
|
|
9693
9695
|
}
|
|
@@ -9703,26 +9705,26 @@ const r8 = (f) => {
|
|
|
9703
9705
|
return;
|
|
9704
9706
|
}
|
|
9705
9707
|
if (q && H) {
|
|
9706
|
-
(
|
|
9707
|
-
const
|
|
9708
|
-
|
|
9709
|
-
}),
|
|
9710
|
-
const
|
|
9711
|
-
if (
|
|
9712
|
-
const
|
|
9713
|
-
...
|
|
9714
|
-
value:
|
|
9715
|
-
label:
|
|
9708
|
+
(K = cA().subAppList) == null || K.forEach((G) => {
|
|
9709
|
+
const h = { ...G, value: G.code, label: G.name };
|
|
9710
|
+
$.nav.appendItem(h);
|
|
9711
|
+
}), $.nav.setActiveItem(N.code), $.menu.setItems(j);
|
|
9712
|
+
const F = EA().tabMap[N.code] ?? [];
|
|
9713
|
+
if (F.length) {
|
|
9714
|
+
const G = F.map((h) => ({
|
|
9715
|
+
...h,
|
|
9716
|
+
value: h.code,
|
|
9717
|
+
label: h.name
|
|
9716
9718
|
})) || [];
|
|
9717
|
-
|
|
9719
|
+
$.tab.setItems(G);
|
|
9718
9720
|
} else
|
|
9719
|
-
|
|
9721
|
+
$.tab.setItems([]);
|
|
9720
9722
|
}
|
|
9721
9723
|
A({ currentMenu: O, microPath: R, route: s });
|
|
9722
9724
|
}, z = async (X, b = !0) => {
|
|
9723
9725
|
var q;
|
|
9724
9726
|
if (NA.innerSet = b, X.fixed || X.unClosed) {
|
|
9725
|
-
await f.push(X.path),
|
|
9727
|
+
await f.push(X.path), $.menu.setItems([]), $.tab.setItems([]), $.nav.setActiveItem(X.path), JA([
|
|
9726
9728
|
{ key: "currentSubAppCode", value: X.code },
|
|
9727
9729
|
{ key: "currentSubApp", value: X }
|
|
9728
9730
|
]), FA([
|
|
@@ -9747,7 +9749,7 @@ const r8 = (f) => {
|
|
|
9747
9749
|
const i = EA().tabMap[X.code] ?? [];
|
|
9748
9750
|
if (i.length) {
|
|
9749
9751
|
const q = i.filter((H) => !H.path.startsWith(je)).map((H) => H.path);
|
|
9750
|
-
q && q.length && e(q), i.forEach((H) =>
|
|
9752
|
+
q && q.length && e(q), i.forEach((H) => $.iframeView.triggerEventListener("onUnloadPage", H.path));
|
|
9751
9753
|
}
|
|
9752
9754
|
let a = null;
|
|
9753
9755
|
if (b.currentSubAppCode === X.code && (c + 1 !== b.subAppList.length ? b.subAppList[c + 1] && (a = b.subAppList[c + 1]) : b.subAppList[c - 1] && (a = b.subAppList[c - 1])), b.subAppList.splice(c, 1), JA([{ key: "subAppList", value: b.subAppList }]), FA([
|
|
@@ -9755,7 +9757,7 @@ const r8 = (f) => {
|
|
|
9755
9757
|
{ key: `tabMap:${X.code}`, value: [] }
|
|
9756
9758
|
]), a) {
|
|
9757
9759
|
const q = { ...a, value: a.code, label: a.name };
|
|
9758
|
-
await z(q),
|
|
9760
|
+
await z(q), $.nav.setActiveItem(a.code);
|
|
9759
9761
|
}
|
|
9760
9762
|
}
|
|
9761
9763
|
};
|
|
@@ -9827,11 +9829,11 @@ const r8 = (f) => {
|
|
|
9827
9829
|
path: X,
|
|
9828
9830
|
query: t
|
|
9829
9831
|
};
|
|
9830
|
-
|
|
9832
|
+
$.tab.appendItem({
|
|
9831
9833
|
...a,
|
|
9832
9834
|
value: a.code,
|
|
9833
9835
|
label: a.name
|
|
9834
|
-
}),
|
|
9836
|
+
}), $.tab.setActiveItem(P.code), $.menu.setActiveItem(P.id), Cv(P.code), FA([
|
|
9835
9837
|
{
|
|
9836
9838
|
key: "currentCode",
|
|
9837
9839
|
value: P.code
|
|
@@ -9910,13 +9912,13 @@ const r8 = (f) => {
|
|
|
9910
9912
|
e({ microApp: x, menuCode: m.query.menu, menuPath: m.path, route: m });
|
|
9911
9913
|
return;
|
|
9912
9914
|
} else {
|
|
9913
|
-
if (location.pathname === te || location.pathname ===
|
|
9914
|
-
|
|
9915
|
+
if (location.pathname === te || location.pathname === be) {
|
|
9916
|
+
$.menu.setItems([]), $.tab.setItems([]);
|
|
9915
9917
|
const O = q.find((R) => R.code === location.pathname);
|
|
9916
9918
|
O && (JA([
|
|
9917
9919
|
{ key: "currentSubApp", value: O },
|
|
9918
9920
|
{ key: "currentSubAppCode", value: O.code }
|
|
9919
|
-
]),
|
|
9921
|
+
]), $.nav.setActiveItem(location.pathname));
|
|
9920
9922
|
}
|
|
9921
9923
|
const x = P && P.find(
|
|
9922
9924
|
(O) => m.path.startsWith("/" + O.name) || m.path.startsWith(O.name)
|
|
@@ -9936,7 +9938,7 @@ const r8 = (f) => {
|
|
|
9936
9938
|
}
|
|
9937
9939
|
X && ((j = (l = cA()) == null ? void 0 : l.subAppList) == null || j.forEach((x) => {
|
|
9938
9940
|
const O = { ...x, value: x.code, label: x.name };
|
|
9939
|
-
|
|
9941
|
+
$.nav.appendItem(O);
|
|
9940
9942
|
}));
|
|
9941
9943
|
};
|
|
9942
9944
|
let d = "", t = {};
|
|
@@ -9972,7 +9974,7 @@ const r8 = (f) => {
|
|
|
9972
9974
|
}, r = async () => {
|
|
9973
9975
|
const d = {
|
|
9974
9976
|
logout: "/api/justauth/oauth-server/v1/visitor/logout"
|
|
9975
|
-
}, t = location.origin +
|
|
9977
|
+
}, t = location.origin + be, z = {
|
|
9976
9978
|
response_type: "code",
|
|
9977
9979
|
scope: "sever",
|
|
9978
9980
|
client_id: "sys",
|
|
@@ -9995,7 +9997,7 @@ const r8 = (f) => {
|
|
|
9995
9997
|
const c = z.find((i) => i.code === d);
|
|
9996
9998
|
c && P({ microApp: c, menuPath: `/${c.routeUrl}/userInfo` });
|
|
9997
9999
|
};
|
|
9998
|
-
return
|
|
10000
|
+
return $.nav.addEventListener("onUserCommandChange", (d) => {
|
|
9999
10001
|
var z, m;
|
|
10000
10002
|
({
|
|
10001
10003
|
0: (z = A.value) == null ? void 0 : z.openDialog,
|
|
@@ -10008,14 +10010,14 @@ const r8 = (f) => {
|
|
|
10008
10010
|
$personSetDialog: A
|
|
10009
10011
|
};
|
|
10010
10012
|
}, k8 = Ev.get("/convert/tenant"), Q8 = q7.get("/platform/withdefault"), gn = () => {
|
|
10011
|
-
const f = xe(), A =
|
|
10013
|
+
const f = xe(), A = Z(!1), e = Z(""), v = Z(""), n = () => {
|
|
10012
10014
|
e.value = V9().id, v.value = G9().tenantId, A.value = !0;
|
|
10013
10015
|
};
|
|
10014
|
-
|
|
10016
|
+
$.nav.addEventListener("changeEnterpriseHandle", () => {
|
|
10015
10017
|
n();
|
|
10016
10018
|
});
|
|
10017
10019
|
const r = () => {
|
|
10018
|
-
_v(), kP(), window.__isAutoCloseApp = !1, location.pathname !== te && location.pathname !==
|
|
10020
|
+
_v(), kP(), window.__isAutoCloseApp = !1, location.pathname !== te && location.pathname !== be ? window.location.replace(location.origin + te) : window.location.reload();
|
|
10019
10021
|
};
|
|
10020
10022
|
return {
|
|
10021
10023
|
changeEnterprisesVisible: A,
|
|
@@ -10055,7 +10057,7 @@ const r8 = (f) => {
|
|
|
10055
10057
|
};
|
|
10056
10058
|
}, Y8 = () => {
|
|
10057
10059
|
const { changeEnterprise: f } = gn();
|
|
10058
|
-
|
|
10060
|
+
$.nav.addEventListener("onProjectChange", async (A) => {
|
|
10059
10061
|
const e = Y9();
|
|
10060
10062
|
if ((e == null ? void 0 : e.flag) === 4) {
|
|
10061
10063
|
const v = e.tenant.id, n = (A == null ? void 0 : A.tenant) ?? "";
|
|
@@ -10071,7 +10073,7 @@ const r8 = (f) => {
|
|
|
10071
10073
|
const [n, r] = await G8().run({ name: v });
|
|
10072
10074
|
return n ? [] : r.filter((P) => P.routeUrl);
|
|
10073
10075
|
}, { entryApp: e } = De();
|
|
10074
|
-
return
|
|
10076
|
+
return $.nav.addEventListener("searchToPage", async (v) => {
|
|
10075
10077
|
const { item: n, keyword: r, cb: P } = v;
|
|
10076
10078
|
if (n != null && n.disable || n != null && n.expired) {
|
|
10077
10079
|
const { title: m, content: X, desc: b } = await T7(n);
|
|
@@ -10083,10 +10085,10 @@ const r8 = (f) => {
|
|
|
10083
10085
|
if (!t) return;
|
|
10084
10086
|
const z = n.applicationCode !== n.code ? n.code : "";
|
|
10085
10087
|
e({ microApp: t, menuCode: z }), P();
|
|
10086
|
-
}),
|
|
10088
|
+
}), $.nav.addEventListener("deleteSearchItem", async (v) => {
|
|
10087
10089
|
const { value: n, cb: r } = v;
|
|
10088
10090
|
await F8().run({ id: n }), r();
|
|
10089
|
-
}),
|
|
10091
|
+
}), $.nav.addEventListener("clearSearchList", async (v) => {
|
|
10090
10092
|
const { cb: n } = v;
|
|
10091
10093
|
await h8().run(), n();
|
|
10092
10094
|
}), {
|
|
@@ -10094,8 +10096,8 @@ const r8 = (f) => {
|
|
|
10094
10096
|
getSearchList: A
|
|
10095
10097
|
};
|
|
10096
10098
|
}, K8 = () => {
|
|
10097
|
-
const f =
|
|
10098
|
-
return
|
|
10099
|
+
const f = Z(), { entryApp: A } = De();
|
|
10100
|
+
return $.nav.addEventListener("openAI", () => {
|
|
10099
10101
|
var v;
|
|
10100
10102
|
(v = f.value) == null || v.openPanel();
|
|
10101
10103
|
}), {
|
|
@@ -10110,7 +10112,7 @@ const r8 = (f) => {
|
|
|
10110
10112
|
}
|
|
10111
10113
|
}
|
|
10112
10114
|
};
|
|
10113
|
-
}, NA =
|
|
10115
|
+
}, NA = ze({
|
|
10114
10116
|
/** 菜单或者应用跳转是否通过触发界面调用的 */
|
|
10115
10117
|
innerSet: !1,
|
|
10116
10118
|
excludeRoutes: [],
|
|
@@ -10121,7 +10123,7 @@ const r8 = (f) => {
|
|
|
10121
10123
|
let v = g9(e);
|
|
10122
10124
|
v.forEach((r) => {
|
|
10123
10125
|
r.fixed && (r.name = f.data.instanceInfo.instanceName);
|
|
10124
|
-
}),
|
|
10126
|
+
}), $.menu.setItems(v);
|
|
10125
10127
|
const n = A.subAppList;
|
|
10126
10128
|
n == null || n.forEach((r) => {
|
|
10127
10129
|
r.code === e && (r.menus = v);
|
|
@@ -10140,7 +10142,7 @@ const r8 = (f) => {
|
|
|
10140
10142
|
["personcenter", "rightmanage"].forEach((e) => {
|
|
10141
10143
|
yA.addEventListenerFromMicroApp(`${e}:change-userinfo`, (v) => {
|
|
10142
10144
|
const { userInfo: n } = v.data, r = n != null && n.headPicture ? U9(n.headPicture) : void 0;
|
|
10143
|
-
|
|
10145
|
+
$.nav.setUserInfo({ headPicture: r, commandList: f.value }), sessionStorage.setItem("userInfo", JSON.stringify(n));
|
|
10144
10146
|
});
|
|
10145
10147
|
});
|
|
10146
10148
|
}, $8 = () => {
|
|
@@ -10156,7 +10158,7 @@ const r8 = (f) => {
|
|
|
10156
10158
|
Fr();
|
|
10157
10159
|
});
|
|
10158
10160
|
}, AX = h9.get("/platform/login/pwd-advance-notify-check"), eX = () => {
|
|
10159
|
-
const f =
|
|
10161
|
+
const f = Z([]), A = Z(null), e = Z([]), { entryApp: v } = B9.hooks.useEntryApp(), n = () => {
|
|
10160
10162
|
var d;
|
|
10161
10163
|
const u = (((d = cA().appcategorys) == null ? void 0 : d.map((t) => t.apps).flat()) ?? []).find((t) => t.code === "messagecenter");
|
|
10162
10164
|
u && v({ microApp: u });
|
|
@@ -10195,7 +10197,7 @@ const r8 = (f) => {
|
|
|
10195
10197
|
n();
|
|
10196
10198
|
}
|
|
10197
10199
|
},
|
|
10198
|
-
|
|
10200
|
+
k("查看详情")
|
|
10199
10201
|
) : null
|
|
10200
10202
|
])
|
|
10201
10203
|
}), e.value.push(t.id);
|
|
@@ -10236,14 +10238,14 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10236
10238
|
Xr((z) => ({
|
|
10237
10239
|
"23bfa220": t.value
|
|
10238
10240
|
}));
|
|
10239
|
-
const e = f, v = A, n =
|
|
10241
|
+
const e = f, v = A, n = Z(), { toggle: r, isFullscreen: P } = e9(n), u = () => {
|
|
10240
10242
|
n.value != document.fullscreenElement && (P.value ? (P.value = !1, ae(() => {
|
|
10241
10243
|
r();
|
|
10242
10244
|
})) : r());
|
|
10243
10245
|
}, d = () => {
|
|
10244
10246
|
v("itemClick");
|
|
10245
10247
|
}, t = vA(() => `calc(100% / ${Math.sqrt(e.gridNum)})`);
|
|
10246
|
-
return (z, m) => (
|
|
10248
|
+
return (z, m) => (J(), dA(
|
|
10247
10249
|
"div",
|
|
10248
10250
|
{
|
|
10249
10251
|
ref_key: "containerRef",
|
|
@@ -10271,17 +10273,17 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10271
10273
|
const e = f, v = A, n = (r) => {
|
|
10272
10274
|
v("update:activeIndex", r);
|
|
10273
10275
|
};
|
|
10274
|
-
return (r, P) => (
|
|
10276
|
+
return (r, P) => (J(), dA("div", zX, [
|
|
10275
10277
|
AA(' :active="index === activeIndex" '),
|
|
10276
|
-
(
|
|
10278
|
+
(J(!0), dA(
|
|
10277
10279
|
Ae,
|
|
10278
10280
|
null,
|
|
10279
|
-
he(e.gridNum, (u, d) => (
|
|
10281
|
+
he(e.gridNum, (u, d) => (J(), tA(dX, {
|
|
10280
10282
|
active: !1,
|
|
10281
10283
|
"grid-num": e.gridNum,
|
|
10282
10284
|
onItemClick: (t) => n(d)
|
|
10283
10285
|
}, {
|
|
10284
|
-
default:
|
|
10286
|
+
default: U(() => [
|
|
10285
10287
|
r.showFn(d) ? LA(r.$slots, "default", {
|
|
10286
10288
|
key: 0,
|
|
10287
10289
|
index: d
|
|
@@ -10302,18 +10304,18 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10302
10304
|
const e = A, v = (n) => {
|
|
10303
10305
|
e("change", n);
|
|
10304
10306
|
};
|
|
10305
|
-
return (n, r) => (
|
|
10307
|
+
return (n, r) => (J(), dA(
|
|
10306
10308
|
"div",
|
|
10307
10309
|
{
|
|
10308
10310
|
class: "direction-control",
|
|
10309
10311
|
onDblclick: r[9] || (r[9] = oA((P) => P.stopPropagation(), ["stop"]))
|
|
10310
10312
|
},
|
|
10311
10313
|
[
|
|
10312
|
-
|
|
10313
|
-
content: D(
|
|
10314
|
+
M(D(kA), {
|
|
10315
|
+
content: D(k)("左上")
|
|
10314
10316
|
}, {
|
|
10315
|
-
default:
|
|
10316
|
-
|
|
10317
|
+
default: U(() => [
|
|
10318
|
+
B("div", {
|
|
10317
10319
|
class: "icon icon-top-left",
|
|
10318
10320
|
onClick: r[0] || (r[0] = oA((P) => v("leftUp"), ["stop"]))
|
|
10319
10321
|
})
|
|
@@ -10321,11 +10323,11 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10321
10323
|
_: 1
|
|
10322
10324
|
/* STABLE */
|
|
10323
10325
|
}, 8, ["content"]),
|
|
10324
|
-
|
|
10325
|
-
content: D(
|
|
10326
|
+
M(D(kA), {
|
|
10327
|
+
content: D(k)("上")
|
|
10326
10328
|
}, {
|
|
10327
|
-
default:
|
|
10328
|
-
|
|
10329
|
+
default: U(() => [
|
|
10330
|
+
B("div", {
|
|
10329
10331
|
class: "icon icon-top",
|
|
10330
10332
|
onClick: r[1] || (r[1] = oA((P) => v("up"), ["stop"]))
|
|
10331
10333
|
})
|
|
@@ -10333,11 +10335,11 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10333
10335
|
_: 1
|
|
10334
10336
|
/* STABLE */
|
|
10335
10337
|
}, 8, ["content"]),
|
|
10336
|
-
|
|
10337
|
-
content: D(
|
|
10338
|
+
M(D(kA), {
|
|
10339
|
+
content: D(k)("右上")
|
|
10338
10340
|
}, {
|
|
10339
|
-
default:
|
|
10340
|
-
|
|
10341
|
+
default: U(() => [
|
|
10342
|
+
B("div", {
|
|
10341
10343
|
class: "icon icon-top-right",
|
|
10342
10344
|
onClick: r[2] || (r[2] = oA((P) => v("rightUp"), ["stop"]))
|
|
10343
10345
|
})
|
|
@@ -10345,11 +10347,11 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10345
10347
|
_: 1
|
|
10346
10348
|
/* STABLE */
|
|
10347
10349
|
}, 8, ["content"]),
|
|
10348
|
-
|
|
10349
|
-
content: D(
|
|
10350
|
+
M(D(kA), {
|
|
10351
|
+
content: D(k)("左")
|
|
10350
10352
|
}, {
|
|
10351
|
-
default:
|
|
10352
|
-
|
|
10353
|
+
default: U(() => [
|
|
10354
|
+
B("div", {
|
|
10353
10355
|
class: "icon icon-left",
|
|
10354
10356
|
onClick: r[3] || (r[3] = oA((P) => v("left"), ["stop"]))
|
|
10355
10357
|
})
|
|
@@ -10357,11 +10359,11 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10357
10359
|
_: 1
|
|
10358
10360
|
/* STABLE */
|
|
10359
10361
|
}, 8, ["content"]),
|
|
10360
|
-
|
|
10361
|
-
content: D(
|
|
10362
|
+
M(D(kA), {
|
|
10363
|
+
content: D(k)("自动")
|
|
10362
10364
|
}, {
|
|
10363
|
-
default:
|
|
10364
|
-
|
|
10365
|
+
default: U(() => [
|
|
10366
|
+
B("div", {
|
|
10365
10367
|
class: "icon icon-auto",
|
|
10366
10368
|
onClick: r[4] || (r[4] = oA((P) => v("auto"), ["stop"]))
|
|
10367
10369
|
})
|
|
@@ -10369,11 +10371,11 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10369
10371
|
_: 1
|
|
10370
10372
|
/* STABLE */
|
|
10371
10373
|
}, 8, ["content"]),
|
|
10372
|
-
|
|
10373
|
-
content: D(
|
|
10374
|
+
M(D(kA), {
|
|
10375
|
+
content: D(k)("右")
|
|
10374
10376
|
}, {
|
|
10375
|
-
default:
|
|
10376
|
-
|
|
10377
|
+
default: U(() => [
|
|
10378
|
+
B("div", {
|
|
10377
10379
|
class: "icon icon-right",
|
|
10378
10380
|
onClick: r[5] || (r[5] = oA((P) => v("right"), ["stop"]))
|
|
10379
10381
|
})
|
|
@@ -10381,11 +10383,11 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10381
10383
|
_: 1
|
|
10382
10384
|
/* STABLE */
|
|
10383
10385
|
}, 8, ["content"]),
|
|
10384
|
-
|
|
10385
|
-
content: D(
|
|
10386
|
+
M(D(kA), {
|
|
10387
|
+
content: D(k)("左下")
|
|
10386
10388
|
}, {
|
|
10387
|
-
default:
|
|
10388
|
-
|
|
10389
|
+
default: U(() => [
|
|
10390
|
+
B("div", {
|
|
10389
10391
|
class: "icon icon-bottom-left",
|
|
10390
10392
|
onClick: r[6] || (r[6] = oA((P) => v("leftDown"), ["stop"]))
|
|
10391
10393
|
})
|
|
@@ -10393,11 +10395,11 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10393
10395
|
_: 1
|
|
10394
10396
|
/* STABLE */
|
|
10395
10397
|
}, 8, ["content"]),
|
|
10396
|
-
|
|
10397
|
-
content: D(
|
|
10398
|
+
M(D(kA), {
|
|
10399
|
+
content: D(k)("下")
|
|
10398
10400
|
}, {
|
|
10399
|
-
default:
|
|
10400
|
-
|
|
10401
|
+
default: U(() => [
|
|
10402
|
+
B("div", {
|
|
10401
10403
|
class: "icon icon-bottom",
|
|
10402
10404
|
onClick: r[7] || (r[7] = oA((P) => v("down"), ["stop"]))
|
|
10403
10405
|
})
|
|
@@ -10405,11 +10407,11 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10405
10407
|
_: 1
|
|
10406
10408
|
/* STABLE */
|
|
10407
10409
|
}, 8, ["content"]),
|
|
10408
|
-
|
|
10409
|
-
content: D(
|
|
10410
|
+
M(D(kA), {
|
|
10411
|
+
content: D(k)("右下")
|
|
10410
10412
|
}, {
|
|
10411
|
-
default:
|
|
10412
|
-
|
|
10413
|
+
default: U(() => [
|
|
10414
|
+
B("div", {
|
|
10413
10415
|
class: "icon icon-bottom-right",
|
|
10414
10416
|
onClick: r[8] || (r[8] = oA((P) => v("rightDown"), ["stop"]))
|
|
10415
10417
|
})
|
|
@@ -10447,17 +10449,17 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10447
10449
|
enlarge: import("@das-fed/ui/packages/icons/enlarge"),
|
|
10448
10450
|
"direction-control": import("@das-fed/ui/packages/icons/direction-control")
|
|
10449
10451
|
});
|
|
10450
|
-
const e = f, v = A, n =
|
|
10452
|
+
const e = f, v = A, n = Z(!0), r = Z(), P = Z(!1), u = Z(), d = vA(() => {
|
|
10451
10453
|
var H;
|
|
10452
10454
|
return (H = u.value) == null ? void 0 : H.video;
|
|
10453
|
-
}), t =
|
|
10455
|
+
}), t = Z(!1), z = Z(!0), m = (H) => {
|
|
10454
10456
|
r.value = H, r.value.on(window.mpegts.Events.ERROR, (p) => {
|
|
10455
10457
|
});
|
|
10456
10458
|
}, X = () => {
|
|
10457
10459
|
n.value = !n.value, r.value && (r.value.muted = n.value);
|
|
10458
10460
|
}, b = () => {
|
|
10459
10461
|
P.value = !P.value;
|
|
10460
|
-
}, c =
|
|
10462
|
+
}, c = Z(""), i = () => {
|
|
10461
10463
|
const H = document.createElement("canvas");
|
|
10462
10464
|
if (d.value) {
|
|
10463
10465
|
H.width = d.value.clientWidth, H.height = d.value.clientHeight;
|
|
@@ -10515,17 +10517,17 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10515
10517
|
z.value = !0;
|
|
10516
10518
|
});
|
|
10517
10519
|
}
|
|
10518
|
-
), (H, p) => (
|
|
10519
|
-
|
|
10520
|
+
), (H, p) => (J(), dA("div", iX, [
|
|
10521
|
+
M(D(F9), {
|
|
10520
10522
|
spinning: e.loading,
|
|
10521
10523
|
type: "component",
|
|
10522
10524
|
tip: "加载中..."
|
|
10523
10525
|
}, {
|
|
10524
|
-
default:
|
|
10525
|
-
|
|
10526
|
-
|
|
10527
|
-
|
|
10528
|
-
|
|
10526
|
+
default: U(() => [
|
|
10527
|
+
B("div", sX, [
|
|
10528
|
+
B("div", qX, [
|
|
10529
|
+
B("div", HX, [
|
|
10530
|
+
B(
|
|
10529
10531
|
"div",
|
|
10530
10532
|
pX,
|
|
10531
10533
|
PA(e.title.length > 20 ? e.title.slice(0, 19) + "..." : e.title),
|
|
@@ -10534,18 +10536,18 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10534
10536
|
)
|
|
10535
10537
|
])
|
|
10536
10538
|
]),
|
|
10537
|
-
|
|
10538
|
-
["live"].includes(H.type) ? (
|
|
10539
|
+
B("div", mX, [
|
|
10540
|
+
["live"].includes(H.type) ? (J(), dA(
|
|
10539
10541
|
"span",
|
|
10540
10542
|
lX,
|
|
10541
|
-
PA(D(
|
|
10543
|
+
PA(D(k)("正在实时预览")),
|
|
10542
10544
|
1
|
|
10543
10545
|
/* TEXT */
|
|
10544
10546
|
)) : AA("v-if", !0),
|
|
10545
10547
|
AA(' <das-icon class="icon close-icon" icon="close" @click.stop="handleClose"></das-icon> ')
|
|
10546
10548
|
])
|
|
10547
10549
|
]),
|
|
10548
|
-
e.videoUrl && z.value ? (
|
|
10550
|
+
e.videoUrl && z.value ? (J(), tA(D(Cr), {
|
|
10549
10551
|
key: 0,
|
|
10550
10552
|
type: "flv",
|
|
10551
10553
|
ref_key: "dasLivePlayerRef",
|
|
@@ -10554,27 +10556,27 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10554
10556
|
onLoaded: m,
|
|
10555
10557
|
src: e.videoUrl
|
|
10556
10558
|
}, null, 8, ["muted", "src"])) : AA("v-if", !0),
|
|
10557
|
-
|
|
10558
|
-
p[3] || (p[3] =
|
|
10559
|
+
B("div", xX, [
|
|
10560
|
+
p[3] || (p[3] = B(
|
|
10559
10561
|
"div",
|
|
10560
10562
|
{ class: "video-bottom_l" },
|
|
10561
10563
|
null,
|
|
10562
10564
|
-1
|
|
10563
10565
|
/* HOISTED */
|
|
10564
10566
|
)),
|
|
10565
|
-
|
|
10566
|
-
|
|
10567
|
+
B("div", OX, [
|
|
10568
|
+
B(
|
|
10567
10569
|
"div",
|
|
10568
10570
|
{
|
|
10569
10571
|
class: "controls",
|
|
10570
10572
|
onDblclick: p[2] || (p[2] = oA((l) => l.stopPropagation(), ["stop"]))
|
|
10571
10573
|
},
|
|
10572
10574
|
[
|
|
10573
|
-
|
|
10574
|
-
content: D(
|
|
10575
|
+
M(D(kA), {
|
|
10576
|
+
content: D(k)("声音")
|
|
10575
10577
|
}, {
|
|
10576
|
-
default:
|
|
10577
|
-
|
|
10578
|
+
default: U(() => [
|
|
10579
|
+
M(D(ke), {
|
|
10578
10580
|
class: "icon icon-volume",
|
|
10579
10581
|
icon: n.value ? "muted" : "volume",
|
|
10580
10582
|
onClick: oA(X, ["stop"])
|
|
@@ -10583,11 +10585,11 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10583
10585
|
_: 1
|
|
10584
10586
|
/* STABLE */
|
|
10585
10587
|
}, 8, ["content"]),
|
|
10586
|
-
|
|
10587
|
-
content: D(
|
|
10588
|
+
M(D(kA), {
|
|
10589
|
+
content: D(k)("截图")
|
|
10588
10590
|
}, {
|
|
10589
|
-
default:
|
|
10590
|
-
|
|
10591
|
+
default: U(() => [
|
|
10592
|
+
M(D(ke), {
|
|
10591
10593
|
class: "icon icon-screenshot",
|
|
10592
10594
|
icon: "screenshot",
|
|
10593
10595
|
onClick: oA(i, ["stop"])
|
|
@@ -10596,12 +10598,12 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10596
10598
|
_: 1
|
|
10597
10599
|
/* STABLE */
|
|
10598
10600
|
}, 8, ["content"]),
|
|
10599
|
-
q("control") ? (
|
|
10601
|
+
q("control") ? (J(), tA(D(kA), {
|
|
10600
10602
|
key: 0,
|
|
10601
|
-
content: D(
|
|
10603
|
+
content: D(k)("聚焦-")
|
|
10602
10604
|
}, {
|
|
10603
|
-
default:
|
|
10604
|
-
["live", "polling"].includes(e.type) ? (
|
|
10605
|
+
default: U(() => [
|
|
10606
|
+
["live", "polling"].includes(e.type) ? (J(), tA(D(ke), {
|
|
10605
10607
|
key: 0,
|
|
10606
10608
|
class: "icon icon-shrink",
|
|
10607
10609
|
icon: "shrink",
|
|
@@ -10611,12 +10613,12 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10611
10613
|
_: 1
|
|
10612
10614
|
/* STABLE */
|
|
10613
10615
|
}, 8, ["content"])) : AA("v-if", !0),
|
|
10614
|
-
q("control") ? (
|
|
10616
|
+
q("control") ? (J(), tA(D(kA), {
|
|
10615
10617
|
key: 1,
|
|
10616
|
-
content: D(
|
|
10618
|
+
content: D(k)("聚焦+")
|
|
10617
10619
|
}, {
|
|
10618
|
-
default:
|
|
10619
|
-
["live", "polling"].includes(e.type) ? (
|
|
10620
|
+
default: U(() => [
|
|
10621
|
+
["live", "polling"].includes(e.type) ? (J(), tA(D(ke), {
|
|
10620
10622
|
key: 0,
|
|
10621
10623
|
class: "icon icon-enlarge",
|
|
10622
10624
|
icon: "enlarge",
|
|
@@ -10626,12 +10628,12 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10626
10628
|
_: 1
|
|
10627
10629
|
/* STABLE */
|
|
10628
10630
|
}, 8, ["content"])) : AA("v-if", !0),
|
|
10629
|
-
q("control") ? (
|
|
10631
|
+
q("control") ? (J(), tA(D(kA), {
|
|
10630
10632
|
key: 2,
|
|
10631
|
-
content: D(
|
|
10633
|
+
content: D(k)("方向控制")
|
|
10632
10634
|
}, {
|
|
10633
|
-
default:
|
|
10634
|
-
["live", "polling"].includes(e.type) ? (
|
|
10635
|
+
default: U(() => [
|
|
10636
|
+
["live", "polling"].includes(e.type) ? (J(), tA(D(ke), {
|
|
10635
10637
|
key: 0,
|
|
10636
10638
|
class: "icon icon-direction-control",
|
|
10637
10639
|
icon: "direction-control",
|
|
@@ -10647,7 +10649,7 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10647
10649
|
)
|
|
10648
10650
|
])
|
|
10649
10651
|
]),
|
|
10650
|
-
P.value ? (
|
|
10652
|
+
P.value ? (J(), tA(aX, {
|
|
10651
10653
|
key: 1,
|
|
10652
10654
|
onChange: a
|
|
10653
10655
|
})) : AA("v-if", !0)
|
|
@@ -10669,7 +10671,7 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10669
10671
|
}) {
|
|
10670
10672
|
const {
|
|
10671
10673
|
deviceInfo: e
|
|
10672
|
-
} = cr(f), v =
|
|
10674
|
+
} = cr(f), v = Z(!1), n = Z(""), r = async () => {
|
|
10673
10675
|
var z;
|
|
10674
10676
|
if (!((z = e.value) != null && z.deviceId)) return;
|
|
10675
10677
|
v.value = !0;
|
|
@@ -10702,7 +10704,7 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10702
10704
|
r();
|
|
10703
10705
|
}, {
|
|
10704
10706
|
deep: !0
|
|
10705
|
-
}), () =>
|
|
10707
|
+
}), () => M(Ae, null, [A.default({
|
|
10706
10708
|
videoUrl: n.value,
|
|
10707
10709
|
loading: v.value,
|
|
10708
10710
|
onDirectionControl: P,
|
|
@@ -10711,11 +10713,11 @@ const PX = vX.post("data/device-auth"), uX = /* @__PURE__ */ iA({
|
|
|
10711
10713
|
}
|
|
10712
10714
|
});
|
|
10713
10715
|
function RX(f) {
|
|
10714
|
-
const A =
|
|
10716
|
+
const A = Z(0), e = Z(), {
|
|
10715
10717
|
toggle: v
|
|
10716
10718
|
} = e9(e);
|
|
10717
10719
|
return {
|
|
10718
|
-
render: () =>
|
|
10720
|
+
render: () => M(cX, {
|
|
10719
10721
|
ref: e,
|
|
10720
10722
|
gridNum: f.gridNum,
|
|
10721
10723
|
activeIndex: A.value,
|
|
@@ -10726,7 +10728,7 @@ function RX(f) {
|
|
|
10726
10728
|
index: r
|
|
10727
10729
|
}) => {
|
|
10728
10730
|
const P = f.deviceList[r];
|
|
10729
|
-
return
|
|
10731
|
+
return M(NX, {
|
|
10730
10732
|
deviceInfo: P
|
|
10731
10733
|
}, {
|
|
10732
10734
|
default: ({
|
|
@@ -10734,7 +10736,7 @@ function RX(f) {
|
|
|
10734
10736
|
onDirectionControl: d,
|
|
10735
10737
|
onZoomControl: t,
|
|
10736
10738
|
loading: z
|
|
10737
|
-
}) =>
|
|
10739
|
+
}) => M(VX, {
|
|
10738
10740
|
type: "live",
|
|
10739
10741
|
loading: z,
|
|
10740
10742
|
videoUrl: u,
|
|
@@ -10760,7 +10762,7 @@ const jX = /* @__PURE__ */ iA({
|
|
|
10760
10762
|
Qv({
|
|
10761
10763
|
fullscreen2: import("@das-fed/ui/packages/icons/fullscreen-2")
|
|
10762
10764
|
});
|
|
10763
|
-
const A = f, e =
|
|
10765
|
+
const A = f, e = Z(!0), { render: v, toggleFullscreen: n } = RX(A), r = vA(() => {
|
|
10764
10766
|
let P = {};
|
|
10765
10767
|
switch (A.gridNum) {
|
|
10766
10768
|
case 1:
|
|
@@ -10775,9 +10777,9 @@ const jX = /* @__PURE__ */ iA({
|
|
|
10775
10777
|
}
|
|
10776
10778
|
return P;
|
|
10777
10779
|
});
|
|
10778
|
-
return (P, u) => (
|
|
10780
|
+
return (P, u) => (J(), tA(D(Fe), {
|
|
10779
10781
|
size: "mini",
|
|
10780
|
-
title: D(
|
|
10782
|
+
title: D(k)("视频监控"),
|
|
10781
10783
|
"custom-class": `das-linakge-video-dialog ${r.value}`,
|
|
10782
10784
|
modelValue: e.value,
|
|
10783
10785
|
"onUpdate:modelValue": u[0] || (u[0] = (d) => e.value = d),
|
|
@@ -10788,19 +10790,19 @@ const jX = /* @__PURE__ */ iA({
|
|
|
10788
10790
|
"header-style": { display: "flex", justifyContent: "space-between", alignItems: "center" },
|
|
10789
10791
|
onClosed: P.closeCallback
|
|
10790
10792
|
}, {
|
|
10791
|
-
header:
|
|
10792
|
-
|
|
10793
|
+
header: U(() => [
|
|
10794
|
+
B(
|
|
10793
10795
|
"div",
|
|
10794
10796
|
null,
|
|
10795
|
-
PA(D(
|
|
10797
|
+
PA(D(k)("视频监控")),
|
|
10796
10798
|
1
|
|
10797
10799
|
/* TEXT */
|
|
10798
10800
|
),
|
|
10799
|
-
|
|
10800
|
-
content: D(
|
|
10801
|
+
M(D(kA), {
|
|
10802
|
+
content: D(k)("页面全屏")
|
|
10801
10803
|
}, {
|
|
10802
|
-
default:
|
|
10803
|
-
|
|
10804
|
+
default: U(() => [
|
|
10805
|
+
M(D(ke), {
|
|
10804
10806
|
class: "icon",
|
|
10805
10807
|
icon: "fullscreen2",
|
|
10806
10808
|
iconColor: "#999",
|
|
@@ -10811,8 +10813,8 @@ const jX = /* @__PURE__ */ iA({
|
|
|
10811
10813
|
/* STABLE */
|
|
10812
10814
|
}, 8, ["content"])
|
|
10813
10815
|
]),
|
|
10814
|
-
default:
|
|
10815
|
-
e.value ? (
|
|
10816
|
+
default: U(() => [
|
|
10817
|
+
e.value ? (J(), tA(D(v), { key: 0 })) : AA("v-if", !0)
|
|
10816
10818
|
]),
|
|
10817
10819
|
_: 1
|
|
10818
10820
|
/* STABLE */
|
|
@@ -10829,7 +10831,7 @@ const jX = /* @__PURE__ */ iA({
|
|
|
10829
10831
|
c9(P, n);
|
|
10830
10832
|
});
|
|
10831
10833
|
}, ZX = () => {
|
|
10832
|
-
const f =
|
|
10834
|
+
const f = Z(4), A = Z([]), e = Z(null), v = async (r) => {
|
|
10833
10835
|
const [P, u] = await PX(r).run();
|
|
10834
10836
|
if (!P)
|
|
10835
10837
|
return u;
|
|
@@ -12695,54 +12697,54 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
12695
12697
|
let R = a;
|
|
12696
12698
|
const V = "_showEchartTooltip", N = R.endsWith(V);
|
|
12697
12699
|
N && (R = R.slice(0, R.indexOf(V)));
|
|
12698
|
-
const o = "_zdkbInfo",
|
|
12699
|
-
if (
|
|
12700
|
-
const
|
|
12701
|
-
if (!
|
|
12702
|
-
const
|
|
12703
|
-
if (
|
|
12704
|
-
if (
|
|
12705
|
-
const
|
|
12706
|
-
if (
|
|
12707
|
-
const
|
|
12708
|
-
(p = A.query) != null && p.app && A.query.app ===
|
|
12709
|
-
yA.sendMessageToMicroApp(
|
|
12700
|
+
const o = "_zdkbInfo", T = R.endsWith(o);
|
|
12701
|
+
if (T && (R = R.slice(0, R.indexOf(o))), R.includes(":")) {
|
|
12702
|
+
const Y = R.split(":"), [g = "", K = ""] = Y;
|
|
12703
|
+
if (!g) return;
|
|
12704
|
+
const F = q.find((G) => G.code === g);
|
|
12705
|
+
if (F) {
|
|
12706
|
+
if (T || N) {
|
|
12707
|
+
const G = await Rv(F.code, K);
|
|
12708
|
+
if (G) {
|
|
12709
|
+
const h = JSON.stringify({ showEchartTooltip: N });
|
|
12710
|
+
(p = A.query) != null && p.app && A.query.app === F.code && ((l = A.query) != null && l.menu) && A.query.menu === K ? yA.sendMessageToMicroApp(G.applicationPath, `${K}:todetail`, h) : (await e({ microApp: F, menuCode: K }), setTimeout(() => {
|
|
12711
|
+
yA.sendMessageToMicroApp(G.applicationPath, `${K}:todetail`, h, {
|
|
12710
12712
|
awaitListener: !0
|
|
12711
12713
|
});
|
|
12712
12714
|
}, 300));
|
|
12713
12715
|
return;
|
|
12714
12716
|
}
|
|
12715
12717
|
}
|
|
12716
|
-
e({ microApp:
|
|
12718
|
+
e({ microApp: F, menuCode: K });
|
|
12717
12719
|
}
|
|
12718
12720
|
} else {
|
|
12719
|
-
const
|
|
12720
|
-
if (
|
|
12721
|
-
e({ microApp:
|
|
12721
|
+
const Y = R, g = q.find((K) => K.code === Y);
|
|
12722
|
+
if (g)
|
|
12723
|
+
e({ microApp: g });
|
|
12722
12724
|
else {
|
|
12723
|
-
const [
|
|
12724
|
-
if (
|
|
12725
|
-
const
|
|
12726
|
-
if (
|
|
12727
|
-
if (
|
|
12728
|
-
const
|
|
12729
|
-
if (
|
|
12730
|
-
const
|
|
12731
|
-
(j = A.query) != null && j.app && A.query.app ===
|
|
12732
|
-
yA.sendMessageToMicroApp(
|
|
12725
|
+
const [K, F] = await m2().run({ menuCode: Y });
|
|
12726
|
+
if (K) return;
|
|
12727
|
+
const G = q.find((h) => h.code === F);
|
|
12728
|
+
if (G) {
|
|
12729
|
+
if (T || N) {
|
|
12730
|
+
const h = await Rv(G.code, Y);
|
|
12731
|
+
if (h) {
|
|
12732
|
+
const C = JSON.stringify({ showEchartTooltip: N });
|
|
12733
|
+
(j = A.query) != null && j.app && A.query.app === g.code && ((x = A.query) != null && x.menu) && A.query.menu === Y ? yA.sendMessageToMicroApp(h.applicationPath, `${Y}:todetail`, C) : (await e({ microApp: g, menuCode: Y }), setTimeout(() => {
|
|
12734
|
+
yA.sendMessageToMicroApp(h.applicationPath, `${Y}:todetail`, C, {
|
|
12733
12735
|
awaitListener: !0
|
|
12734
12736
|
});
|
|
12735
12737
|
}, 300));
|
|
12736
12738
|
return;
|
|
12737
12739
|
}
|
|
12738
12740
|
}
|
|
12739
|
-
e({ microApp:
|
|
12741
|
+
e({ microApp: G, menuCode: Y });
|
|
12740
12742
|
}
|
|
12741
12743
|
}
|
|
12742
12744
|
}
|
|
12743
12745
|
}
|
|
12744
12746
|
};
|
|
12745
|
-
let u =
|
|
12747
|
+
let u = Z(!0);
|
|
12746
12748
|
const d = (a) => {
|
|
12747
12749
|
setTimeout(async () => {
|
|
12748
12750
|
var s, q;
|
|
@@ -12775,7 +12777,7 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
12775
12777
|
P(x);
|
|
12776
12778
|
} else p.includes("iocIsRun") && (u.value = !1);
|
|
12777
12779
|
});
|
|
12778
|
-
}, z =
|
|
12780
|
+
}, z = Z(""), [m, X] = await Nv().run();
|
|
12779
12781
|
z.value = X, t(z.value);
|
|
12780
12782
|
const b = async () => {
|
|
12781
12783
|
const [a, s] = await Nv().run();
|
|
@@ -12784,7 +12786,7 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
12784
12786
|
n = setInterval(() => {
|
|
12785
12787
|
b();
|
|
12786
12788
|
}, 72e5);
|
|
12787
|
-
const c =
|
|
12789
|
+
const c = Z("online"), i = (a) => {
|
|
12788
12790
|
a === "online" && c.value === "offline" && setTimeout(() => {
|
|
12789
12791
|
b();
|
|
12790
12792
|
}, 5e3), c.value = (window.navigator.onLine ? "on" : "off") + "line";
|
|
@@ -12803,9 +12805,9 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
12803
12805
|
},
|
|
12804
12806
|
emits: ["emitFn"],
|
|
12805
12807
|
setup(f, { expose: A, emit: e }) {
|
|
12806
|
-
const v = f, n = e, r =
|
|
12807
|
-
|
|
12808
|
-
const t =
|
|
12808
|
+
const v = f, n = e, r = Z(!1), P = Z(null), u = Z(0), d = Z(!1);
|
|
12809
|
+
Z("");
|
|
12810
|
+
const t = Z({
|
|
12809
12811
|
processTypeId: "confirm",
|
|
12810
12812
|
// 处理类型
|
|
12811
12813
|
reason: "",
|
|
@@ -12831,7 +12833,7 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
12831
12833
|
// 处置时限
|
|
12832
12834
|
interval: 2
|
|
12833
12835
|
// 时限刻度 默认选择“时”
|
|
12834
|
-
}), z =
|
|
12836
|
+
}), z = Z({
|
|
12835
12837
|
processTypeId: "",
|
|
12836
12838
|
// 处理类型 必填
|
|
12837
12839
|
reason: "",
|
|
@@ -12851,27 +12853,27 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
12851
12853
|
// 事件等级id
|
|
12852
12854
|
timeLimit: ""
|
|
12853
12855
|
// 处置时限
|
|
12854
|
-
}), m =
|
|
12856
|
+
}), m = Z(!1), X = Z([]), b = Z([]), c = Z([
|
|
12855
12857
|
{ id: 2, name: fA("时").value },
|
|
12856
12858
|
{ id: 1, name: fA("分").value },
|
|
12857
12859
|
{ id: 3, name: fA("不限").value }
|
|
12858
|
-
]), i =
|
|
12859
|
-
|
|
12860
|
-
const l =
|
|
12860
|
+
]), i = Z([]), a = Z(""), s = Z(fA("告警对象位置").value), q = Z(""), H = Z([]), p = Z("");
|
|
12861
|
+
Z("[]");
|
|
12862
|
+
const l = Z(!0), j = Z(!0), x = async (S) => {
|
|
12861
12863
|
const I = { name: "1" };
|
|
12862
12864
|
S != null && S.id && (I.spaceId = S.id);
|
|
12863
|
-
const [
|
|
12864
|
-
return
|
|
12865
|
+
const [Q, MA] = await Z2(I).run();
|
|
12866
|
+
return Q ? {} : MA;
|
|
12865
12867
|
}, O = async (S) => {
|
|
12866
|
-
const I = { name: S || "" }, [
|
|
12867
|
-
return
|
|
12868
|
-
}, R =
|
|
12868
|
+
const I = { name: S || "" }, [Q, MA] = await T2(I).run();
|
|
12869
|
+
return Q ? {} : MA;
|
|
12870
|
+
}, R = Z(!0), V = Z(!0), N = Z([]), o = async () => {
|
|
12869
12871
|
const [S, I] = await o2().run({ pageIndex: -1, pageSize: -1 });
|
|
12870
12872
|
if (S) return {};
|
|
12871
|
-
N.value = I.data.filter((
|
|
12873
|
+
N.value = I.data.filter((Q) => Q.status), N.value.length > 0 && (t.value.workOrderRules = N.value[0].id);
|
|
12872
12874
|
};
|
|
12873
12875
|
sA(d, (S) => {
|
|
12874
|
-
S || (
|
|
12876
|
+
S || (G(), h());
|
|
12875
12877
|
}), sA(
|
|
12876
12878
|
j,
|
|
12877
12879
|
(S) => {
|
|
@@ -12885,22 +12887,22 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
12885
12887
|
},
|
|
12886
12888
|
{ immediate: !0 }
|
|
12887
12889
|
);
|
|
12888
|
-
const
|
|
12890
|
+
const T = (S) => {
|
|
12889
12891
|
var I;
|
|
12890
12892
|
return (I = P.value) == null ? void 0 : I.parentNode.parentNode;
|
|
12891
|
-
},
|
|
12893
|
+
}, Y = (S) => {
|
|
12892
12894
|
z.value.reportTheme = "";
|
|
12893
|
-
},
|
|
12895
|
+
}, g = (S, I) => {
|
|
12894
12896
|
I.length > 0 && (a.value = I[0].path), t.value.reportPosition = S, p.value = "";
|
|
12895
|
-
},
|
|
12897
|
+
}, K = (S) => {
|
|
12896
12898
|
S && (z.value.reportPosition = "", a.value = ""), S ? (t.value.reportPosition = null, a.value = "", s.value = fA("告警对象位置").value) : (t.value.reportPosition = null, a.value = "", s.value = fA("请选择").value);
|
|
12897
|
-
},
|
|
12899
|
+
}, F = (S) => {
|
|
12898
12900
|
S && (z.value.reportTheme = ""), S ? (t.value.reportTheme = "", q.value = fA("告警对象").value) : (t.value.reportTheme = "", q.value = fA("请输入").value);
|
|
12899
|
-
},
|
|
12901
|
+
}, G = () => {
|
|
12900
12902
|
z.value.processTypeId = "", z.value.reason = "", z.value.treatmentPlan = "", z.value.reportPosition = "", z.value.reportTheme = "", z.value.workOrderRules = "", z.value.eventTypeId = "", z.value.eventLevelId = "", z.value.timeLimit = "";
|
|
12901
|
-
},
|
|
12903
|
+
}, h = () => {
|
|
12902
12904
|
t.value.processTypeId = "confirm", t.value.reason = "", t.value.treatmentPlan = "", t.value.remarks = "", t.value.reportPosition = "", t.value.reportTheme = "", t.value.workOrderRules = null, j.value = !0, V.value = !0, R.value = !0, t.value.reportTheme = fA("告警对象").value, a.value = "", s.value = fA("告警对象位置").value, q.value = fA("请输入").value, t.value.eventTypeId = "", t.value.eventLevelId = null, t.value.timeLimit = "", t.value.interval = 1, X.value = [], b.value = [];
|
|
12903
|
-
},
|
|
12905
|
+
}, C = (S) => {
|
|
12904
12906
|
S == "eventTypeId" && (t.value.eventLevelId = null, w()), S == "eventLevelId" && E(), S == "interval" && (z.value.timeLimit = "", t.value.interval == 3 ? (m.value = !0, t.value.timeLimit = "") : m.value = !1);
|
|
12905
12907
|
}, L = async () => {
|
|
12906
12908
|
const [S, I] = await L2().run();
|
|
@@ -12909,22 +12911,22 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
12909
12911
|
}, w = async () => {
|
|
12910
12912
|
const S = {
|
|
12911
12913
|
eventTypeId: t.value.eventTypeId
|
|
12912
|
-
}, [I,
|
|
12914
|
+
}, [I, Q] = await y2(S).run();
|
|
12913
12915
|
if (I) return {};
|
|
12914
12916
|
const MA = { 1: fA("一级").value, 2: fA("二级").value, 3: fA("三级").value, 4: fA("四级").value };
|
|
12915
|
-
b.value =
|
|
12917
|
+
b.value = Q.map((de) => ({
|
|
12916
12918
|
id: `${de}`,
|
|
12917
12919
|
name: MA[de] ? MA[de] : de
|
|
12918
|
-
})),
|
|
12920
|
+
})), Q.length && !t.value.eventLevelId && (t.value.eventLevelId = b.value[0].id, E());
|
|
12919
12921
|
}, E = async () => {
|
|
12920
12922
|
const S = {
|
|
12921
12923
|
eventTypeId: t.value.eventTypeId,
|
|
12922
12924
|
eventLevel: t.value.eventLevelId
|
|
12923
|
-
}, [I,
|
|
12925
|
+
}, [I, Q] = await w2(S).run();
|
|
12924
12926
|
if (I) return {};
|
|
12925
|
-
t.value.interval =
|
|
12927
|
+
t.value.interval = Q.handleTimeUnit, Q.handleTimeUnit == 3 ? t.value.timeLimit = "" : t.value.timeLimit = Q.handleTime;
|
|
12926
12928
|
}, W = (S) => {
|
|
12927
|
-
|
|
12929
|
+
G(), S == "createcontingency" && L();
|
|
12928
12930
|
}, bA = async () => {
|
|
12929
12931
|
const S = {
|
|
12930
12932
|
logic: !1,
|
|
@@ -12932,12 +12934,12 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
12932
12934
|
projectId: v.projectId
|
|
12933
12935
|
};
|
|
12934
12936
|
r.value = !0;
|
|
12935
|
-
const [I,
|
|
12937
|
+
const [I, Q] = await N2(S).run();
|
|
12936
12938
|
if (I) {
|
|
12937
12939
|
r.value = !1;
|
|
12938
12940
|
return;
|
|
12939
12941
|
}
|
|
12940
|
-
r.value = !1, i.value =
|
|
12942
|
+
r.value = !1, i.value = Q;
|
|
12941
12943
|
for (let MA = 0; MA < i.value.length; MA++)
|
|
12942
12944
|
i.value[MA].id === "createorder" && o();
|
|
12943
12945
|
}, aA = () => {
|
|
@@ -12953,7 +12955,7 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
12953
12955
|
return S;
|
|
12954
12956
|
}, jA = () => {
|
|
12955
12957
|
Ve();
|
|
12956
|
-
},
|
|
12958
|
+
}, _ = async (S) => {
|
|
12957
12959
|
aA() && (u.value = S, eA());
|
|
12958
12960
|
}, eA = async () => {
|
|
12959
12961
|
const S = {
|
|
@@ -12966,7 +12968,7 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
12966
12968
|
//处理类型id
|
|
12967
12969
|
};
|
|
12968
12970
|
t.value.processTypeId === "createorder" ? (S.path = j.value ? "" : t.value.customPath, S.topic = V.value ? "" : t.value.reportTheme, S.spaceId = j.value ? "" : t.value.reportPosition ?? "", S.orderId = t.value.workOrderRules) : t.value.processTypeId === "createcontingency" ? (S.eventTypeId = t.value.eventTypeId, S.eventLevelId = t.value.eventLevelId, S.timeLimit = t.value.interval == 3 ? null : Number(t.value.timeLimit), S.interval = t.value.interval) : (S.reason = t.value.reason, S.treatmentPlan = t.value.treatmentPlan, S.remarks = t.value.remarks), r.value = !0, n("emitFn", "startHandle");
|
|
12969
|
-
const [I,
|
|
12971
|
+
const [I, Q] = await R2(S, {
|
|
12970
12972
|
params: {
|
|
12971
12973
|
projectId: v.projectId
|
|
12972
12974
|
}
|
|
@@ -12984,10 +12986,10 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
12984
12986
|
return A({
|
|
12985
12987
|
open: nA,
|
|
12986
12988
|
close: Ve
|
|
12987
|
-
}), (S, I) => (
|
|
12988
|
-
|
|
12989
|
+
}), (S, I) => (J(), dA("div", W2, [
|
|
12990
|
+
M(D(Fe), {
|
|
12989
12991
|
modelValue: d.value,
|
|
12990
|
-
"onUpdate:modelValue": I[31] || (I[31] = (
|
|
12992
|
+
"onUpdate:modelValue": I[31] || (I[31] = (Q) => d.value = Q),
|
|
12991
12993
|
type: "basic",
|
|
12992
12994
|
size: "small",
|
|
12993
12995
|
height: 500,
|
|
@@ -12997,20 +12999,20 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
12997
12999
|
},
|
|
12998
13000
|
"destroy-on-close": ""
|
|
12999
13001
|
}, {
|
|
13000
|
-
header:
|
|
13002
|
+
header: U(() => [
|
|
13001
13003
|
mA(
|
|
13002
13004
|
PA(D(fA)("告警处理").value),
|
|
13003
13005
|
1
|
|
13004
13006
|
/* TEXT */
|
|
13005
13007
|
)
|
|
13006
13008
|
]),
|
|
13007
|
-
footer:
|
|
13008
|
-
|
|
13009
|
-
|
|
13009
|
+
footer: U(() => [
|
|
13010
|
+
B("div", B2, [
|
|
13011
|
+
M(D(KA), {
|
|
13010
13012
|
size: "middle",
|
|
13011
13013
|
onClick: jA
|
|
13012
13014
|
}, {
|
|
13013
|
-
default:
|
|
13015
|
+
default: U(() => [
|
|
13014
13016
|
mA(
|
|
13015
13017
|
PA(D(fA)("取消").value),
|
|
13016
13018
|
1
|
|
@@ -13020,12 +13022,12 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
13020
13022
|
_: 1
|
|
13021
13023
|
/* STABLE */
|
|
13022
13024
|
}),
|
|
13023
|
-
|
|
13025
|
+
M(D(KA), {
|
|
13024
13026
|
block: "",
|
|
13025
13027
|
size: "middle",
|
|
13026
|
-
onClick: I[29] || (I[29] = (
|
|
13028
|
+
onClick: I[29] || (I[29] = (Q) => _(1))
|
|
13027
13029
|
}, {
|
|
13028
|
-
default:
|
|
13030
|
+
default: U(() => [
|
|
13029
13031
|
mA(
|
|
13030
13032
|
PA(D(fA)("结束处理").value),
|
|
13031
13033
|
1
|
|
@@ -13035,13 +13037,13 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
13035
13037
|
_: 1
|
|
13036
13038
|
/* STABLE */
|
|
13037
13039
|
}),
|
|
13038
|
-
|
|
13040
|
+
M(D(KA), {
|
|
13039
13041
|
block: "",
|
|
13040
13042
|
btnType: "primary",
|
|
13041
13043
|
size: "middle",
|
|
13042
|
-
onClick: I[30] || (I[30] = (
|
|
13044
|
+
onClick: I[30] || (I[30] = (Q) => _(2))
|
|
13043
13045
|
}, {
|
|
13044
|
-
default:
|
|
13046
|
+
default: U(() => [
|
|
13045
13047
|
mA(
|
|
13046
13048
|
PA(D(fA)("继续处理").value),
|
|
13047
13049
|
1
|
|
@@ -13053,10 +13055,10 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
13053
13055
|
})
|
|
13054
13056
|
])
|
|
13055
13057
|
]),
|
|
13056
|
-
default:
|
|
13057
|
-
|
|
13058
|
-
default:
|
|
13059
|
-
|
|
13058
|
+
default: U(() => [
|
|
13059
|
+
M(D(F9), { spinning: r.value }, {
|
|
13060
|
+
default: U(() => [
|
|
13061
|
+
B(
|
|
13060
13062
|
"div",
|
|
13061
13063
|
{
|
|
13062
13064
|
ref_key: "myDialogBody",
|
|
@@ -13064,58 +13066,58 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
13064
13066
|
class: "handle-alarm-dialog-content"
|
|
13065
13067
|
},
|
|
13066
13068
|
[
|
|
13067
|
-
|
|
13069
|
+
M(D(m7), {
|
|
13068
13070
|
style: { width: "100%", height: "100%", "align-items": "center" },
|
|
13069
13071
|
cols: 1,
|
|
13070
13072
|
alignType: "horizontal"
|
|
13071
13073
|
}, {
|
|
13072
|
-
default:
|
|
13073
|
-
|
|
13074
|
+
default: U(() => [
|
|
13075
|
+
M(D(BA), {
|
|
13074
13076
|
label: D(fA)("处理类型").value,
|
|
13075
13077
|
required: "",
|
|
13076
13078
|
type: "select",
|
|
13077
13079
|
modelValue: t.value.processTypeId,
|
|
13078
|
-
"onUpdate:modelValue": I[0] || (I[0] = (
|
|
13080
|
+
"onUpdate:modelValue": I[0] || (I[0] = (Q) => t.value.processTypeId = Q),
|
|
13079
13081
|
options: i.value,
|
|
13080
13082
|
col: 1,
|
|
13081
13083
|
optionsLabelKey: "name",
|
|
13082
13084
|
optionsValueKey: "id",
|
|
13083
|
-
"get-popup-container":
|
|
13085
|
+
"get-popup-container": T,
|
|
13084
13086
|
marginBottom: "30px",
|
|
13085
13087
|
marginRight: "0",
|
|
13086
13088
|
onChange: W
|
|
13087
13089
|
}, null, 8, ["label", "modelValue", "options"]),
|
|
13088
|
-
t.value.processTypeId !== "createorder" && t.value.processTypeId !== "createcontingency" ? (
|
|
13090
|
+
t.value.processTypeId !== "createorder" && t.value.processTypeId !== "createcontingency" ? (J(), tA(D(BA), {
|
|
13089
13091
|
key: 0,
|
|
13090
13092
|
label: D(fA)("告警原因").value,
|
|
13091
13093
|
required: t.value.processTypeId == "dealwith",
|
|
13092
13094
|
type: "input",
|
|
13093
13095
|
maxlength: "50",
|
|
13094
13096
|
col: 1,
|
|
13095
|
-
onFocus: I[1] || (I[1] = (
|
|
13097
|
+
onFocus: I[1] || (I[1] = (Q) => z.value.reason = ""),
|
|
13096
13098
|
modelValue: t.value.reason,
|
|
13097
|
-
"onUpdate:modelValue": I[2] || (I[2] = (
|
|
13099
|
+
"onUpdate:modelValue": I[2] || (I[2] = (Q) => t.value.reason = Q),
|
|
13098
13100
|
error: z.value.reason,
|
|
13099
|
-
"onUpdate:error": I[3] || (I[3] = (
|
|
13101
|
+
"onUpdate:error": I[3] || (I[3] = (Q) => z.value.reason = Q),
|
|
13100
13102
|
marginBottom: "30px",
|
|
13101
13103
|
marginRight: "0"
|
|
13102
13104
|
}, null, 8, ["label", "required", "modelValue", "error"])) : AA("v-if", !0),
|
|
13103
|
-
t.value.processTypeId !== "createorder" && t.value.processTypeId !== "createcontingency" ? (
|
|
13105
|
+
t.value.processTypeId !== "createorder" && t.value.processTypeId !== "createcontingency" ? (J(), tA(D(BA), {
|
|
13104
13106
|
key: 1,
|
|
13105
13107
|
label: D(fA)("处理方案").value,
|
|
13106
13108
|
required: t.value.processTypeId == "dealwith",
|
|
13107
13109
|
type: "input",
|
|
13108
13110
|
maxlength: "50",
|
|
13109
13111
|
col: 1,
|
|
13110
|
-
onFocus: I[4] || (I[4] = (
|
|
13112
|
+
onFocus: I[4] || (I[4] = (Q) => z.value.treatmentPlan = ""),
|
|
13111
13113
|
modelValue: t.value.treatmentPlan,
|
|
13112
|
-
"onUpdate:modelValue": I[5] || (I[5] = (
|
|
13114
|
+
"onUpdate:modelValue": I[5] || (I[5] = (Q) => t.value.treatmentPlan = Q),
|
|
13113
13115
|
error: z.value.treatmentPlan,
|
|
13114
|
-
"onUpdate:error": I[6] || (I[6] = (
|
|
13116
|
+
"onUpdate:error": I[6] || (I[6] = (Q) => z.value.treatmentPlan = Q),
|
|
13115
13117
|
marginBottom: "30px",
|
|
13116
13118
|
marginRight: "0"
|
|
13117
13119
|
}, null, 8, ["label", "required", "modelValue", "error"])) : AA("v-if", !0),
|
|
13118
|
-
t.value.processTypeId !== "createorder" && t.value.processTypeId !== "createcontingency" ? (
|
|
13120
|
+
t.value.processTypeId !== "createorder" && t.value.processTypeId !== "createcontingency" ? (J(), tA(D(BA), {
|
|
13119
13121
|
key: 2,
|
|
13120
13122
|
label: D(fA)("备注").value,
|
|
13121
13123
|
type: "textarea",
|
|
@@ -13124,59 +13126,59 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
13124
13126
|
maxlength: "100",
|
|
13125
13127
|
col: 1,
|
|
13126
13128
|
modelValue: t.value.remarks,
|
|
13127
|
-
"onUpdate:modelValue": I[7] || (I[7] = (
|
|
13129
|
+
"onUpdate:modelValue": I[7] || (I[7] = (Q) => t.value.remarks = Q),
|
|
13128
13130
|
marginBottom: "30px",
|
|
13129
13131
|
marginRight: "0"
|
|
13130
13132
|
}, null, 8, ["label", "modelValue"])) : AA("v-if", !0),
|
|
13131
|
-
t.value.processTypeId == "createorder" ? (
|
|
13133
|
+
t.value.processTypeId == "createorder" ? (J(), tA(D(BA), {
|
|
13132
13134
|
key: 3,
|
|
13133
13135
|
label: D(fA)("报事位置").value,
|
|
13134
13136
|
required: "",
|
|
13135
13137
|
type: "custom",
|
|
13136
13138
|
error: z.value.reportPosition,
|
|
13137
|
-
"onUpdate:error": I[13] || (I[13] = (
|
|
13139
|
+
"onUpdate:error": I[13] || (I[13] = (Q) => z.value.reportPosition = Q),
|
|
13138
13140
|
marginBottom: "20px",
|
|
13139
13141
|
marginRight: "0"
|
|
13140
13142
|
}, {
|
|
13141
|
-
default:
|
|
13142
|
-
|
|
13143
|
-
|
|
13144
|
-
|
|
13143
|
+
default: U(() => [
|
|
13144
|
+
B("div", E2, [
|
|
13145
|
+
B("div", I2, [
|
|
13146
|
+
M(D(Pt), {
|
|
13145
13147
|
borderType: "underline",
|
|
13146
13148
|
props: { disabled: "_disabled", label: "name" },
|
|
13147
13149
|
modelValue: t.value.reportPosition,
|
|
13148
|
-
"onUpdate:modelValue": I[8] || (I[8] = (
|
|
13150
|
+
"onUpdate:modelValue": I[8] || (I[8] = (Q) => t.value.reportPosition = Q),
|
|
13149
13151
|
path: a.value,
|
|
13150
|
-
"onUpdate:path": I[9] || (I[9] = (
|
|
13152
|
+
"onUpdate:path": I[9] || (I[9] = (Q) => a.value = Q),
|
|
13151
13153
|
keyword: p.value,
|
|
13152
|
-
"onUpdate:keyword": I[10] || (I[10] = (
|
|
13154
|
+
"onUpdate:keyword": I[10] || (I[10] = (Q) => p.value = Q),
|
|
13153
13155
|
showFullPath: !0,
|
|
13154
13156
|
data: H.value,
|
|
13155
13157
|
placeholder: s.value,
|
|
13156
13158
|
disabled: l.value,
|
|
13157
13159
|
load: x,
|
|
13158
13160
|
search: O,
|
|
13159
|
-
onChange:
|
|
13161
|
+
onChange: g,
|
|
13160
13162
|
filter: !0,
|
|
13161
13163
|
allowClear: !0
|
|
13162
13164
|
}, null, 8, ["modelValue", "path", "keyword", "data", "placeholder", "disabled"]),
|
|
13163
|
-
|
|
13165
|
+
M(D(n7), {
|
|
13164
13166
|
ref: "testInput",
|
|
13165
13167
|
modelValue: t.value.customPath,
|
|
13166
|
-
"onUpdate:modelValue": I[11] || (I[11] = (
|
|
13168
|
+
"onUpdate:modelValue": I[11] || (I[11] = (Q) => t.value.customPath = Q),
|
|
13167
13169
|
placeholder: D(fA)("选填").value,
|
|
13168
13170
|
disabled: l.value,
|
|
13169
13171
|
maxlength: "20"
|
|
13170
13172
|
}, null, 8, ["modelValue", "placeholder", "disabled"])
|
|
13171
13173
|
]),
|
|
13172
|
-
|
|
13174
|
+
M(D(A3), {
|
|
13173
13175
|
modelValue: j.value,
|
|
13174
|
-
"onUpdate:modelValue": I[12] || (I[12] = (
|
|
13176
|
+
"onUpdate:modelValue": I[12] || (I[12] = (Q) => j.value = Q),
|
|
13175
13177
|
checkboxType: "default",
|
|
13176
|
-
onChange:
|
|
13178
|
+
onChange: K,
|
|
13177
13179
|
size: "middle"
|
|
13178
13180
|
}, {
|
|
13179
|
-
default:
|
|
13181
|
+
default: U(() => [
|
|
13180
13182
|
mA(
|
|
13181
13183
|
PA(D(fA)("告警对象位置").value),
|
|
13182
13184
|
1
|
|
@@ -13191,34 +13193,34 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
13191
13193
|
_: 1
|
|
13192
13194
|
/* STABLE */
|
|
13193
13195
|
}, 8, ["label", "error"])) : AA("v-if", !0),
|
|
13194
|
-
t.value.processTypeId == "createorder" ? (
|
|
13196
|
+
t.value.processTypeId == "createorder" ? (J(), tA(D(BA), {
|
|
13195
13197
|
key: 4,
|
|
13196
13198
|
label: D(fA)("报事主题").value,
|
|
13197
13199
|
required: "",
|
|
13198
13200
|
type: "custom",
|
|
13199
13201
|
error: z.value.reportTheme,
|
|
13200
|
-
"onUpdate:error": I[16] || (I[16] = (
|
|
13202
|
+
"onUpdate:error": I[16] || (I[16] = (Q) => z.value.reportTheme = Q),
|
|
13201
13203
|
marginBottom: "20px",
|
|
13202
13204
|
marginRight: "0"
|
|
13203
13205
|
}, {
|
|
13204
|
-
default:
|
|
13205
|
-
|
|
13206
|
-
|
|
13206
|
+
default: U(() => [
|
|
13207
|
+
B("div", g2, [
|
|
13208
|
+
M(D(n7), {
|
|
13207
13209
|
maxlength: "20",
|
|
13208
13210
|
disabled: R.value,
|
|
13209
13211
|
modelValue: t.value.reportTheme,
|
|
13210
|
-
"onUpdate:modelValue": I[14] || (I[14] = (
|
|
13212
|
+
"onUpdate:modelValue": I[14] || (I[14] = (Q) => t.value.reportTheme = Q),
|
|
13211
13213
|
placeholder: q.value,
|
|
13212
|
-
onChange:
|
|
13214
|
+
onChange: Y
|
|
13213
13215
|
}, null, 8, ["disabled", "modelValue", "placeholder"]),
|
|
13214
|
-
|
|
13216
|
+
M(D(A3), {
|
|
13215
13217
|
modelValue: V.value,
|
|
13216
|
-
"onUpdate:modelValue": I[15] || (I[15] = (
|
|
13218
|
+
"onUpdate:modelValue": I[15] || (I[15] = (Q) => V.value = Q),
|
|
13217
13219
|
checkboxType: "default",
|
|
13218
|
-
onChange:
|
|
13220
|
+
onChange: F,
|
|
13219
13221
|
size: "middle"
|
|
13220
13222
|
}, {
|
|
13221
|
-
default:
|
|
13223
|
+
default: U(() => [
|
|
13222
13224
|
mA(
|
|
13223
13225
|
PA(D(fA)("告警对象").value),
|
|
13224
13226
|
1
|
|
@@ -13233,61 +13235,61 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
13233
13235
|
_: 1
|
|
13234
13236
|
/* STABLE */
|
|
13235
13237
|
}, 8, ["label", "error"])) : AA("v-if", !0),
|
|
13236
|
-
t.value.processTypeId == "createorder" ? (
|
|
13238
|
+
t.value.processTypeId == "createorder" ? (J(), tA(D(BA), {
|
|
13237
13239
|
key: 5,
|
|
13238
13240
|
label: D(fA)("工单规则").value,
|
|
13239
13241
|
required: "",
|
|
13240
13242
|
type: "select",
|
|
13241
13243
|
modelValue: t.value.workOrderRules,
|
|
13242
|
-
"onUpdate:modelValue": I[17] || (I[17] = (
|
|
13244
|
+
"onUpdate:modelValue": I[17] || (I[17] = (Q) => t.value.workOrderRules = Q),
|
|
13243
13245
|
error: z.value.workOrderRules,
|
|
13244
|
-
"onUpdate:error": I[18] || (I[18] = (
|
|
13246
|
+
"onUpdate:error": I[18] || (I[18] = (Q) => z.value.workOrderRules = Q),
|
|
13245
13247
|
options: N.value,
|
|
13246
13248
|
col: 1,
|
|
13247
13249
|
optionsLabelKey: "name",
|
|
13248
13250
|
optionsValueKey: "id",
|
|
13249
|
-
"get-popup-container":
|
|
13251
|
+
"get-popup-container": T,
|
|
13250
13252
|
marginBottom: "0px",
|
|
13251
13253
|
marginRight: "0"
|
|
13252
13254
|
}, null, 8, ["label", "modelValue", "error", "options"])) : AA("v-if", !0),
|
|
13253
13255
|
AA(" createcontingency 生成应急事件 "),
|
|
13254
|
-
t.value.processTypeId == "createcontingency" ? (
|
|
13256
|
+
t.value.processTypeId == "createcontingency" ? (J(), tA(D(BA), {
|
|
13255
13257
|
key: 6,
|
|
13256
13258
|
label: D(fA)("事件类型").value,
|
|
13257
13259
|
required: "",
|
|
13258
13260
|
type: "select",
|
|
13259
13261
|
modelValue: t.value.eventTypeId,
|
|
13260
|
-
"onUpdate:modelValue": I[19] || (I[19] = (
|
|
13262
|
+
"onUpdate:modelValue": I[19] || (I[19] = (Q) => t.value.eventTypeId = Q),
|
|
13261
13263
|
error: z.value.eventTypeId,
|
|
13262
|
-
"onUpdate:error": I[20] || (I[20] = (
|
|
13264
|
+
"onUpdate:error": I[20] || (I[20] = (Q) => z.value.eventTypeId = Q),
|
|
13263
13265
|
options: X.value,
|
|
13264
13266
|
col: 1,
|
|
13265
13267
|
optionsLabelKey: "typeName",
|
|
13266
13268
|
optionsValueKey: "id",
|
|
13267
|
-
"get-popup-container":
|
|
13269
|
+
"get-popup-container": T,
|
|
13268
13270
|
marginBottom: "30px",
|
|
13269
13271
|
marginRight: "0",
|
|
13270
|
-
onChange: I[21] || (I[21] = (
|
|
13272
|
+
onChange: I[21] || (I[21] = (Q) => C("eventTypeId"))
|
|
13271
13273
|
}, null, 8, ["label", "modelValue", "error", "options"])) : AA("v-if", !0),
|
|
13272
|
-
t.value.processTypeId == "createcontingency" ? (
|
|
13274
|
+
t.value.processTypeId == "createcontingency" ? (J(), tA(D(BA), {
|
|
13273
13275
|
key: 7,
|
|
13274
13276
|
label: D(fA)("事件等级").value,
|
|
13275
13277
|
required: "",
|
|
13276
13278
|
type: "select",
|
|
13277
13279
|
modelValue: t.value.eventLevelId,
|
|
13278
|
-
"onUpdate:modelValue": I[22] || (I[22] = (
|
|
13280
|
+
"onUpdate:modelValue": I[22] || (I[22] = (Q) => t.value.eventLevelId = Q),
|
|
13279
13281
|
error: z.value.eventLevelId,
|
|
13280
|
-
"onUpdate:error": I[23] || (I[23] = (
|
|
13282
|
+
"onUpdate:error": I[23] || (I[23] = (Q) => z.value.eventLevelId = Q),
|
|
13281
13283
|
options: b.value,
|
|
13282
13284
|
col: 1,
|
|
13283
13285
|
optionsLabelKey: "name",
|
|
13284
13286
|
optionsValueKey: "id",
|
|
13285
|
-
"get-popup-container":
|
|
13287
|
+
"get-popup-container": T,
|
|
13286
13288
|
marginBottom: "30px",
|
|
13287
13289
|
marginRight: "0",
|
|
13288
|
-
onChange: I[24] || (I[24] = (
|
|
13290
|
+
onChange: I[24] || (I[24] = (Q) => C("eventLevelId"))
|
|
13289
13291
|
}, null, 8, ["label", "modelValue", "error", "options"])) : AA("v-if", !0),
|
|
13290
|
-
t.value.processTypeId == "createcontingency" ? (
|
|
13292
|
+
t.value.processTypeId == "createcontingency" ? (J(), tA(D(BA), {
|
|
13291
13293
|
key: 8,
|
|
13292
13294
|
label: D(fA)("处置时限").value,
|
|
13293
13295
|
required: "",
|
|
@@ -13295,19 +13297,19 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
13295
13297
|
maxlength: "3",
|
|
13296
13298
|
col: 1,
|
|
13297
13299
|
modelValue: t.value.timeLimit,
|
|
13298
|
-
"onUpdate:modelValue": I[27] || (I[27] = (
|
|
13300
|
+
"onUpdate:modelValue": I[27] || (I[27] = (Q) => t.value.timeLimit = Q),
|
|
13299
13301
|
error: z.value.timeLimit,
|
|
13300
|
-
"onUpdate:error": I[28] || (I[28] = (
|
|
13302
|
+
"onUpdate:error": I[28] || (I[28] = (Q) => z.value.timeLimit = Q),
|
|
13301
13303
|
disabled: t.value.interval == 3,
|
|
13302
13304
|
marginBottom: "30px",
|
|
13303
13305
|
marginRight: "0"
|
|
13304
13306
|
}, {
|
|
13305
|
-
default:
|
|
13306
|
-
|
|
13307
|
-
|
|
13307
|
+
default: U(() => [
|
|
13308
|
+
B("div", M2, [
|
|
13309
|
+
M(D(Yv), {
|
|
13308
13310
|
class: "select",
|
|
13309
13311
|
modelValue: t.value.interval,
|
|
13310
|
-
"onUpdate:modelValue": I[25] || (I[25] = (
|
|
13312
|
+
"onUpdate:modelValue": I[25] || (I[25] = (Q) => t.value.interval = Q),
|
|
13311
13313
|
width: D(D9) == "zh-CN" ? "65px" : "85px",
|
|
13312
13314
|
fieldNames: {
|
|
13313
13315
|
value: "id",
|
|
@@ -13316,8 +13318,8 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
13316
13318
|
options: c.value,
|
|
13317
13319
|
"border-type": "underline",
|
|
13318
13320
|
size: "small",
|
|
13319
|
-
"get-popup-container":
|
|
13320
|
-
onChange: I[26] || (I[26] = (
|
|
13321
|
+
"get-popup-container": T,
|
|
13322
|
+
onChange: I[26] || (I[26] = (Q) => C("interval")),
|
|
13321
13323
|
placeholder: D(fA)("请选择").value
|
|
13322
13324
|
}, null, 8, ["modelValue", "width", "options", "placeholder"])
|
|
13323
13325
|
])
|
|
@@ -13366,25 +13368,25 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
13366
13368
|
}, r = () => {
|
|
13367
13369
|
v("handerDetail", e.msgItem);
|
|
13368
13370
|
};
|
|
13369
|
-
return (P, u) => (
|
|
13371
|
+
return (P, u) => (J(), dA(
|
|
13370
13372
|
Ae,
|
|
13371
13373
|
null,
|
|
13372
13374
|
[
|
|
13373
13375
|
AA(` <div class="alarm-msg" :style="{ 'border-color': msgItem.color }"> `),
|
|
13374
|
-
|
|
13375
|
-
|
|
13376
|
-
|
|
13376
|
+
B("div", U2, [
|
|
13377
|
+
B("div", J2, [
|
|
13378
|
+
B(
|
|
13377
13379
|
"div",
|
|
13378
13380
|
{
|
|
13379
13381
|
style: $f({ "background-color": P.msgItem.color }),
|
|
13380
13382
|
class: "title-detail"
|
|
13381
13383
|
},
|
|
13382
13384
|
[
|
|
13383
|
-
|
|
13385
|
+
B("div", h2, [
|
|
13384
13386
|
AA(` <div class="icon-box" :style="{ color: msgItem.color }">\r
|
|
13385
13387
|
!\r
|
|
13386
13388
|
</div> `),
|
|
13387
|
-
|
|
13389
|
+
B(
|
|
13388
13390
|
"div",
|
|
13389
13391
|
F2,
|
|
13390
13392
|
PA(D(fA)("新告警").value),
|
|
@@ -13392,7 +13394,7 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
13392
13394
|
/* TEXT */
|
|
13393
13395
|
)
|
|
13394
13396
|
]),
|
|
13395
|
-
u[0] || (u[0] =
|
|
13397
|
+
u[0] || (u[0] = B(
|
|
13396
13398
|
"div",
|
|
13397
13399
|
{ class: "title-right" },
|
|
13398
13400
|
null,
|
|
@@ -13403,16 +13405,16 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
13403
13405
|
4
|
|
13404
13406
|
/* STYLE */
|
|
13405
13407
|
),
|
|
13406
|
-
|
|
13407
|
-
|
|
13408
|
-
|
|
13408
|
+
B("div", S2, [
|
|
13409
|
+
B("div", K2, [
|
|
13410
|
+
B(
|
|
13409
13411
|
"div",
|
|
13410
13412
|
C2,
|
|
13411
13413
|
PA(D(fA)("告警等级:").value),
|
|
13412
13414
|
1
|
|
13413
13415
|
/* TEXT */
|
|
13414
13416
|
),
|
|
13415
|
-
|
|
13417
|
+
B(
|
|
13416
13418
|
"div",
|
|
13417
13419
|
{
|
|
13418
13420
|
class: "alarm-msg-line-right alarm-content-object",
|
|
@@ -13423,15 +13425,15 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
13423
13425
|
/* TEXT, STYLE */
|
|
13424
13426
|
)
|
|
13425
13427
|
]),
|
|
13426
|
-
|
|
13427
|
-
|
|
13428
|
+
B("div", _2, [
|
|
13429
|
+
B(
|
|
13428
13430
|
"div",
|
|
13429
13431
|
$2,
|
|
13430
13432
|
PA(D(fA)("告警对象:").value),
|
|
13431
13433
|
1
|
|
13432
13434
|
/* TEXT */
|
|
13433
13435
|
),
|
|
13434
|
-
|
|
13436
|
+
B(
|
|
13435
13437
|
"div",
|
|
13436
13438
|
Ac,
|
|
13437
13439
|
PA(P.msgItem.equipmentName || ""),
|
|
@@ -13439,15 +13441,15 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
13439
13441
|
/* TEXT */
|
|
13440
13442
|
)
|
|
13441
13443
|
]),
|
|
13442
|
-
|
|
13443
|
-
|
|
13444
|
+
B("div", ec, [
|
|
13445
|
+
B(
|
|
13444
13446
|
"div",
|
|
13445
13447
|
fc,
|
|
13446
13448
|
PA(D(fA)("告警内容:").value),
|
|
13447
13449
|
1
|
|
13448
13450
|
/* TEXT */
|
|
13449
13451
|
),
|
|
13450
|
-
|
|
13452
|
+
B(
|
|
13451
13453
|
"div",
|
|
13452
13454
|
vc,
|
|
13453
13455
|
PA(P.msgItem.alarmContent || ""),
|
|
@@ -13455,15 +13457,15 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
13455
13457
|
/* TEXT */
|
|
13456
13458
|
)
|
|
13457
13459
|
]),
|
|
13458
|
-
|
|
13459
|
-
P.msgItem.equipmentCode && P.msgItem.equipmentPanelCode ? (
|
|
13460
|
+
B("div", nc, [
|
|
13461
|
+
P.msgItem.equipmentCode && P.msgItem.equipmentPanelCode ? (J(), tA(D(KA), {
|
|
13460
13462
|
key: 0,
|
|
13461
13463
|
block: "",
|
|
13462
13464
|
onClick: oA(r, ["stop"]),
|
|
13463
13465
|
btnType: "primary-text",
|
|
13464
13466
|
size: "middle"
|
|
13465
13467
|
}, {
|
|
13466
|
-
default:
|
|
13468
|
+
default: U(() => [
|
|
13467
13469
|
mA(
|
|
13468
13470
|
PA(D(fA)("设备详情").value),
|
|
13469
13471
|
1
|
|
@@ -13473,14 +13475,14 @@ const p2 = gA(`/api/tool/event-bus/${vf}/`), Cf = p2.post("/publish"), m2 = J9.g
|
|
|
13473
13475
|
_: 1
|
|
13474
13476
|
/* STABLE */
|
|
13475
13477
|
})) : AA("v-if", !0),
|
|
13476
|
-
P.alarmhandle ? (
|
|
13478
|
+
P.alarmhandle ? (J(), tA(D(KA), {
|
|
13477
13479
|
key: 1,
|
|
13478
13480
|
block: "",
|
|
13479
13481
|
btnType: "primary-text",
|
|
13480
13482
|
onClick: oA(n, ["stop"]),
|
|
13481
13483
|
size: "middle"
|
|
13482
13484
|
}, {
|
|
13483
|
-
default:
|
|
13485
|
+
default: U(() => [
|
|
13484
13486
|
mA(
|
|
13485
13487
|
PA(D(fA)("处理").value),
|
|
13486
13488
|
1
|
|
@@ -13509,7 +13511,7 @@ let Pc = (f = 21) => {
|
|
|
13509
13511
|
return A;
|
|
13510
13512
|
};
|
|
13511
13513
|
const uc = () => {
|
|
13512
|
-
const f =
|
|
13514
|
+
const f = Z(null), A = Z(0), e = Z(null), v = Z(null), n = Z([]), r = Z([]), P = Z(!1), u = Z(!1), d = Z(!1), t = Z({
|
|
13513
13515
|
playId: "",
|
|
13514
13516
|
// 播放的告警的recordId
|
|
13515
13517
|
playPath: "",
|
|
@@ -13636,12 +13638,12 @@ const uc = () => {
|
|
|
13636
13638
|
await K9(), e();
|
|
13637
13639
|
}), O9(() => {
|
|
13638
13640
|
A.value && A.value.disconnect(), A.value = null;
|
|
13639
|
-
}), (P, u) => (
|
|
13641
|
+
}), (P, u) => (J(), dA(
|
|
13640
13642
|
Ae,
|
|
13641
13643
|
null,
|
|
13642
13644
|
[
|
|
13643
|
-
|
|
13644
|
-
|
|
13645
|
+
M(D(r)),
|
|
13646
|
+
B("audio", {
|
|
13645
13647
|
src: D(v).playPath,
|
|
13646
13648
|
class: "audio-alarm-level",
|
|
13647
13649
|
ref_key: "audioAlarmRef",
|
|
@@ -13668,7 +13670,7 @@ const uc = () => {
|
|
|
13668
13670
|
var R;
|
|
13669
13671
|
if (O) {
|
|
13670
13672
|
const N = !!(((R = cA()) == null ? void 0 : R.menuCollapses) || []).find((o) => o === O);
|
|
13671
|
-
|
|
13673
|
+
$.menu.setCollapse(N);
|
|
13672
13674
|
}
|
|
13673
13675
|
},
|
|
13674
13676
|
{ immediate: !0 }
|
|
@@ -13678,12 +13680,12 @@ const uc = () => {
|
|
|
13678
13680
|
const { $changePwd: b, $personSetDialog: c } = B8(), { $aiPanel: i, toApp: a } = K8(), { changeEnterprisesVisible: s, userId: q, tenantId: H, changeEnterprise: p } = gn();
|
|
13679
13681
|
W8();
|
|
13680
13682
|
const { fontColor: l, backgroudColor: j, borderColor: x } = I8();
|
|
13681
|
-
return C8(), _8(m), $8(), eX(), ZX(), x2(), (O, R) => (
|
|
13683
|
+
return C8(), _8(m), $8(), eX(), ZX(), x2(), (O, R) => (J(), dA("div", Xc, [
|
|
13682
13684
|
AA(` <button @click="test(0)">test</button>\r
|
|
13683
13685
|
<button style="margin-left: 5px" @click="test(1)">test2</button> `),
|
|
13684
|
-
|
|
13685
|
-
default:
|
|
13686
|
-
|
|
13686
|
+
M(D(oP), { platformInitNextTick: D(d) }, {
|
|
13687
|
+
default: U(() => [
|
|
13688
|
+
M(NP, {
|
|
13687
13689
|
loading: D(t),
|
|
13688
13690
|
pageKey: D(z) + D(D9),
|
|
13689
13691
|
showLayout: n.value,
|
|
@@ -13697,7 +13699,7 @@ const uc = () => {
|
|
|
13697
13699
|
}, [
|
|
13698
13700
|
he(O.$slots, (V, N, o) => ({
|
|
13699
13701
|
name: N,
|
|
13700
|
-
fn:
|
|
13702
|
+
fn: U(() => [
|
|
13701
13703
|
LA(O.$slots, N, {}, void 0, !0)
|
|
13702
13704
|
])
|
|
13703
13705
|
}))
|
|
@@ -13707,7 +13709,7 @@ const uc = () => {
|
|
|
13707
13709
|
/* FORWARDED */
|
|
13708
13710
|
}, 8, ["platformInitNextTick"]),
|
|
13709
13711
|
AA(" 切换租户 "),
|
|
13710
|
-
|
|
13712
|
+
M(D(Rr), {
|
|
13711
13713
|
visible: D(s),
|
|
13712
13714
|
"onUpdate:visible": R[0] || (R[0] = (V) => ve(s) ? s.value = V : null),
|
|
13713
13715
|
userId: D(q),
|
|
@@ -13715,7 +13717,7 @@ const uc = () => {
|
|
|
13715
13717
|
onConfirm: D(p)
|
|
13716
13718
|
}, null, 8, ["visible", "userId", "tenantId", "onConfirm"]),
|
|
13717
13719
|
AA(" 修改密码 "),
|
|
13718
|
-
|
|
13720
|
+
M(
|
|
13719
13721
|
D(Nr),
|
|
13720
13722
|
{
|
|
13721
13723
|
ref_key: "$changePwd",
|
|
@@ -13726,7 +13728,7 @@ const uc = () => {
|
|
|
13726
13728
|
/* NEED_PATCH */
|
|
13727
13729
|
),
|
|
13728
13730
|
AA(" 个性化设置 "),
|
|
13729
|
-
|
|
13731
|
+
M(
|
|
13730
13732
|
D(N8),
|
|
13731
13733
|
{
|
|
13732
13734
|
ref_key: "$personSetDialog",
|
|
@@ -13737,14 +13739,14 @@ const uc = () => {
|
|
|
13737
13739
|
/* NEED_PATCH */
|
|
13738
13740
|
),
|
|
13739
13741
|
AA(" AI助手 "),
|
|
13740
|
-
|
|
13742
|
+
M(D(jr), {
|
|
13741
13743
|
platformInitNextTick: D(d),
|
|
13742
13744
|
onToApp: D(a),
|
|
13743
13745
|
ref_key: "$aiPanel",
|
|
13744
13746
|
ref: i
|
|
13745
13747
|
}, null, 8, ["platformInitNextTick", "onToApp"]),
|
|
13746
13748
|
AA(" 告警 "),
|
|
13747
|
-
|
|
13749
|
+
M(D(zc))
|
|
13748
13750
|
]));
|
|
13749
13751
|
}
|
|
13750
13752
|
}), bc = /* @__PURE__ */ ZA(cc, [["__scopeId", "data-v-36228f30"]]), ac = {
|
|
@@ -13913,15 +13915,15 @@ const uc = () => {
|
|
|
13913
13915
|
}
|
|
13914
13916
|
};
|
|
13915
13917
|
Hr(ac);
|
|
13916
|
-
|
|
13918
|
+
Z("@das-fed/web");
|
|
13917
13919
|
const ic = [
|
|
13918
13920
|
{
|
|
13919
13921
|
path: te,
|
|
13920
|
-
component: () => import("./index-
|
|
13922
|
+
component: () => import("./index-m11RNdKU.js")
|
|
13921
13923
|
},
|
|
13922
13924
|
{
|
|
13923
13925
|
path: Fv,
|
|
13924
|
-
component: () => import("./index-
|
|
13926
|
+
component: () => import("./index-B3OqAGHC.js")
|
|
13925
13927
|
}
|
|
13926
13928
|
], gb = {
|
|
13927
13929
|
routes: ic,
|