@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,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as qA, ref as o, onUnmounted as zn, createElementBlock as OA, createCommentVNode as nA, openBlock as fA, createElementVNode as
|
|
2
|
-
import { DasWebLayout as Hn, DasWebTabs as pn, DasWebMenu as xn, DasWebNav as On, layout as
|
|
1
|
+
import { defineComponent as qA, ref as o, onUnmounted as zn, createElementBlock as OA, createCommentVNode as nA, openBlock as fA, createElementVNode as Y, createVNode as k, createTextVNode as aA, unref as D, toDisplayString as rA, watch as DA, createBlock as XA, computed as wA, mergeProps as dn, withCtx as F, renderSlot as r9, getCurrentScope as Xn, onScopeDispose as bn, getCurrentInstance as cn, onMounted as CA, nextTick as j9, reactive as g3, Fragment as s9, renderList as We, withDirectives as h9, h as RA, render as Q9, vShow as af, normalizeClass as B3, isRef as JA, onBeforeUnmount as K9, useCssVars as an, withModifiers as lA, toRefs as sn, normalizeStyle as b7, createSlots as qn } from "vue";
|
|
2
|
+
import { DasWebLayout as Hn, DasWebTabs as pn, DasWebMenu as xn, DasWebNav as On, layout as _, layoutData as k3 } from "@das-fed/web/packages/layout/index";
|
|
3
3
|
import { useRoute as sf, useRouter as p9 } from "vue-router";
|
|
4
4
|
import { microFrontend as NA } from "@das-fed/web/packages/micro-frontend/index";
|
|
5
|
-
import { i18n as AA, t as
|
|
5
|
+
import { i18n as AA, t as g, currentLang as C9, setLang as mn, setI18nRule as ln } from "@das-fed/web/packages/i18n/index";
|
|
6
6
|
import { DasIconWarning as Dn } from "@das-fed/ui/packages/icons/warning/index";
|
|
7
7
|
import { DasIconClose2 as Vn } from "@das-fed/ui/packages/icons/close-2/index";
|
|
8
8
|
import { DasChangePwdRef as Nn, DasChangePwd as Rn } from "@das-fed/ui/packages/business-components/change-pwd/index";
|
|
@@ -51,16 +51,16 @@ import { DasSearch as ur } from "@das-fed/ui/packages/components/search/index";
|
|
|
51
51
|
import { DasInput as Ve } from "@das-fed/ui/packages/components/input/index";
|
|
52
52
|
import { DasTreeSelect as zr } from "@das-fed/ui/packages/components/tree-select/index";
|
|
53
53
|
import { DasCheckbox as s7 } from "@das-fed/ui/packages/components/checkbox/index";
|
|
54
|
-
const
|
|
54
|
+
const A9 = "/home", SA = "/application", dr = [
|
|
55
55
|
// { value: HomePath, label: '首页', path: HomePath, fixed: true },
|
|
56
56
|
// { value: ApplicationPath, label: '应用', path: ApplicationPath, fixed: true },
|
|
57
57
|
{
|
|
58
58
|
id: "-2",
|
|
59
|
-
value:
|
|
60
|
-
code:
|
|
59
|
+
value: A9,
|
|
60
|
+
code: A9,
|
|
61
61
|
label: "首页",
|
|
62
|
-
path:
|
|
63
|
-
routeUrl:
|
|
62
|
+
path: A9,
|
|
63
|
+
routeUrl: A9,
|
|
64
64
|
unClosed: !0
|
|
65
65
|
},
|
|
66
66
|
{
|
|
@@ -95,8 +95,8 @@ const CA = "/home", SA = "/application", dr = [
|
|
|
95
95
|
return zn(() => {
|
|
96
96
|
d();
|
|
97
97
|
}), (n, u) => v.value ? nA("v-if", !0) : (fA(), OA("div", br, [
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
Y("div", cr, [
|
|
99
|
+
k(D(Dn), {
|
|
100
100
|
class: "icons",
|
|
101
101
|
iconColor: "#fdaf1a"
|
|
102
102
|
}),
|
|
@@ -106,7 +106,7 @@ const CA = "/home", SA = "/application", dr = [
|
|
|
106
106
|
/* TEXT */
|
|
107
107
|
)
|
|
108
108
|
]),
|
|
109
|
-
|
|
109
|
+
k(D(Vn), {
|
|
110
110
|
class: "icons close-icon",
|
|
111
111
|
iconColor: "#999999",
|
|
112
112
|
onClick: z
|
|
@@ -160,24 +160,24 @@ const CA = "/home", SA = "/application", dr = [
|
|
|
160
160
|
pageKey: r.pageKey,
|
|
161
161
|
"transition-config": f.value
|
|
162
162
|
}, v.value), {
|
|
163
|
-
header:
|
|
163
|
+
header: F(() => [
|
|
164
164
|
r9(r.$slots, "header", {}, () => [
|
|
165
|
-
|
|
165
|
+
k(D(On))
|
|
166
166
|
])
|
|
167
167
|
]),
|
|
168
|
-
aside:
|
|
168
|
+
aside: F(() => [
|
|
169
169
|
r9(r.$slots, "aside", {}, () => [
|
|
170
|
-
|
|
170
|
+
k(D(xn), { menuAttr: r.menuAttr }, null, 8, ["menuAttr"])
|
|
171
171
|
])
|
|
172
172
|
]),
|
|
173
|
-
tab:
|
|
173
|
+
tab: F(() => [
|
|
174
174
|
r9(r.$slots, "tab", {}, () => [
|
|
175
|
-
|
|
175
|
+
k(D(pn), { tabsAttr: r.tabsAttr }, null, 8, ["tabsAttr"])
|
|
176
176
|
])
|
|
177
177
|
]),
|
|
178
|
-
banner:
|
|
178
|
+
banner: F(() => [
|
|
179
179
|
r9(r.$slots, "banner", {}, () => [
|
|
180
|
-
|
|
180
|
+
k(sr)
|
|
181
181
|
])
|
|
182
182
|
]),
|
|
183
183
|
_: 3
|
|
@@ -199,7 +199,7 @@ function Av(e) {
|
|
|
199
199
|
return Xn() ? (bn(e), !0) : !1;
|
|
200
200
|
}
|
|
201
201
|
function Or(e, A = !0) {
|
|
202
|
-
cn() ?
|
|
202
|
+
cn() ? CA(e) : A ? e() : j9(e);
|
|
203
203
|
}
|
|
204
204
|
function fv(e) {
|
|
205
205
|
var A;
|
|
@@ -419,7 +419,7 @@ const or = Bn.get("watermark"), Lr = /* @__PURE__ */ qA({
|
|
|
419
419
|
width: v.value,
|
|
420
420
|
height: r.value
|
|
421
421
|
}, {
|
|
422
|
-
default:
|
|
422
|
+
default: F(() => [
|
|
423
423
|
r9(s.$slots, "default", {}, void 0, !0)
|
|
424
424
|
]),
|
|
425
425
|
_: 3
|
|
@@ -451,16 +451,16 @@ const or = Bn.get("watermark"), Lr = /* @__PURE__ */ qA({
|
|
|
451
451
|
"custom-class": "menu-tip-diaolg",
|
|
452
452
|
onClosed: f.closeCallback
|
|
453
453
|
}, {
|
|
454
|
-
footer:
|
|
455
|
-
|
|
456
|
-
|
|
454
|
+
footer: F(() => [
|
|
455
|
+
Y("div", Er, [
|
|
456
|
+
k(D(BA), {
|
|
457
457
|
btnType: "default",
|
|
458
458
|
size: "small",
|
|
459
459
|
onClick: f.closeCallback
|
|
460
460
|
}, {
|
|
461
|
-
default:
|
|
461
|
+
default: F(() => [
|
|
462
462
|
aA(
|
|
463
|
-
rA(D(
|
|
463
|
+
rA(D(g)("我知道了")),
|
|
464
464
|
1
|
|
465
465
|
/* TEXT */
|
|
466
466
|
)
|
|
@@ -470,8 +470,8 @@ const or = Bn.get("watermark"), Lr = /* @__PURE__ */ qA({
|
|
|
470
470
|
}, 8, ["onClick"])
|
|
471
471
|
])
|
|
472
472
|
]),
|
|
473
|
-
default:
|
|
474
|
-
|
|
473
|
+
default: F(() => [
|
|
474
|
+
Y("div", {
|
|
475
475
|
class: "content",
|
|
476
476
|
innerHTML: f.content
|
|
477
477
|
}, null, 8, wr),
|
|
@@ -479,7 +479,7 @@ const or = Bn.get("watermark"), Lr = /* @__PURE__ */ qA({
|
|
|
479
479
|
s9,
|
|
480
480
|
{ key: 0 },
|
|
481
481
|
[
|
|
482
|
-
v[1] || (v[1] =
|
|
482
|
+
v[1] || (v[1] = Y(
|
|
483
483
|
"div",
|
|
484
484
|
{ class: "divide" },
|
|
485
485
|
null,
|
|
@@ -649,8 +649,8 @@ const gr = (e = {}) => {
|
|
|
649
649
|
const A = JSON.parse(sessionStorage.getItem(e) || "{}");
|
|
650
650
|
if (A && JSON.stringify(A) !== "{}" && A != null && A.exitConfirmPages && A.exitConfirmPages.length) {
|
|
651
651
|
const f = (A == null ? void 0 : A.currentPage) ?? "";
|
|
652
|
-
if (A.exitConfirmPages.includes(f) && !window.confirm(
|
|
653
|
-
throw new Error(
|
|
652
|
+
if (A.exitConfirmPages.includes(f) && !window.confirm(g("切换后已录入的数据将会丢失且不可恢复,确定切换?")))
|
|
653
|
+
throw new Error(g("取消切换"));
|
|
654
654
|
}
|
|
655
655
|
}, tf = (e, A) => {
|
|
656
656
|
if (!A || !A.length) return;
|
|
@@ -658,8 +658,8 @@ const gr = (e = {}) => {
|
|
|
658
658
|
if (f && JSON.stringify(f) !== "{}" && f != null && f.closeTabPageConfirm && f.closeTabPageConfirm.length) {
|
|
659
659
|
const v = f.closeTabPageConfirm.map((P) => P.code), r = A.find((P) => v.includes(P));
|
|
660
660
|
if (r) {
|
|
661
|
-
const P = f.closeTabPageConfirm.find((d) => d.code === r), t = (P == null ? void 0 : P.text) ??
|
|
662
|
-
if (!window.confirm(t)) throw new Error(
|
|
661
|
+
const P = f.closeTabPageConfirm.find((d) => d.code === r), t = (P == null ? void 0 : P.text) ?? g("确认关闭?");
|
|
662
|
+
if (!window.confirm(t)) throw new Error(g("取消关闭"));
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
665
|
};
|
|
@@ -1725,8 +1725,8 @@ function O9() {
|
|
|
1725
1725
|
var a = b + q, H = s[a];
|
|
1726
1726
|
s[a] = (H << 8 | H >>> 24) & 16711935 | (H << 24 | H >>> 8) & 4278255360;
|
|
1727
1727
|
}
|
|
1728
|
-
var p = this._hash.words, O = s[b + 0], R = s[b + 1], V = s[b + 2], l = s[b + 3], j = s[b + 4], m = s[b + 5], N = s[b + 6], Z = s[b + 7], T = s[b + 8], G = s[b + 9],
|
|
1729
|
-
L = x(L, W, E, w, O, 7, n[0]), w = x(w, L, W, E, R, 12, n[1]), E = x(E, w, L, W, V, 17, n[2]), W = x(W, E, w, L, l, 22, n[3]), L = x(L, W, E, w, j, 7, n[4]), w = x(w, L, W, E, m, 12, n[5]), E = x(E, w, L, W, N, 17, n[6]), W = x(W, E, w, L, Z, 22, n[7]), L = x(L, W, E, w, T, 7, n[8]), w = x(w, L, W, E, G, 12, n[9]), E = x(E, w, L, W,
|
|
1728
|
+
var p = this._hash.words, O = s[b + 0], R = s[b + 1], V = s[b + 2], l = s[b + 3], j = s[b + 4], m = s[b + 5], N = s[b + 6], Z = s[b + 7], T = s[b + 8], G = s[b + 9], M = s[b + 10], h = s[b + 11], J = s[b + 12], Q = s[b + 13], U = s[b + 14], K = s[b + 15], L = p[0], W = p[1], E = p[2], w = p[3];
|
|
1729
|
+
L = x(L, W, E, w, O, 7, n[0]), w = x(w, L, W, E, R, 12, n[1]), E = x(E, w, L, W, V, 17, n[2]), W = x(W, E, w, L, l, 22, n[3]), L = x(L, W, E, w, j, 7, n[4]), w = x(w, L, W, E, m, 12, n[5]), E = x(E, w, L, W, N, 17, n[6]), W = x(W, E, w, L, Z, 22, n[7]), L = x(L, W, E, w, T, 7, n[8]), w = x(w, L, W, E, G, 12, n[9]), E = x(E, w, L, W, M, 17, n[10]), W = x(W, E, w, L, h, 22, n[11]), L = x(L, W, E, w, J, 7, n[12]), w = x(w, L, W, E, Q, 12, n[13]), E = x(E, w, L, W, U, 17, n[14]), W = x(W, E, w, L, K, 22, n[15]), L = X(L, W, E, w, R, 5, n[16]), w = X(w, L, W, E, N, 9, n[17]), E = X(E, w, L, W, h, 14, n[18]), W = X(W, E, w, L, O, 20, n[19]), L = X(L, W, E, w, m, 5, n[20]), w = X(w, L, W, E, M, 9, n[21]), E = X(E, w, L, W, K, 14, n[22]), W = X(W, E, w, L, j, 20, n[23]), L = X(L, W, E, w, G, 5, n[24]), w = X(w, L, W, E, U, 9, n[25]), E = X(E, w, L, W, l, 14, n[26]), W = X(W, E, w, L, T, 20, n[27]), L = X(L, W, E, w, Q, 5, n[28]), w = X(w, L, W, E, V, 9, n[29]), E = X(E, w, L, W, Z, 14, n[30]), W = X(W, E, w, L, J, 20, n[31]), L = i(L, W, E, w, m, 4, n[32]), w = i(w, L, W, E, T, 11, n[33]), E = i(E, w, L, W, h, 16, n[34]), W = i(W, E, w, L, U, 23, n[35]), L = i(L, W, E, w, R, 4, n[36]), w = i(w, L, W, E, j, 11, n[37]), E = i(E, w, L, W, Z, 16, n[38]), W = i(W, E, w, L, M, 23, n[39]), L = i(L, W, E, w, Q, 4, n[40]), w = i(w, L, W, E, O, 11, n[41]), E = i(E, w, L, W, l, 16, n[42]), W = i(W, E, w, L, N, 23, n[43]), L = i(L, W, E, w, G, 4, n[44]), w = i(w, L, W, E, J, 11, n[45]), E = i(E, w, L, W, K, 16, n[46]), W = i(W, E, w, L, V, 23, n[47]), L = c(L, W, E, w, O, 6, n[48]), w = c(w, L, W, E, Z, 10, n[49]), E = c(E, w, L, W, U, 15, n[50]), W = c(W, E, w, L, m, 21, n[51]), L = c(L, W, E, w, J, 6, n[52]), w = c(w, L, W, E, l, 10, n[53]), E = c(E, w, L, W, M, 15, n[54]), W = c(W, E, w, L, R, 21, n[55]), L = c(L, W, E, w, T, 6, n[56]), w = c(w, L, W, E, K, 10, n[57]), E = c(E, w, L, W, N, 15, n[58]), W = c(W, E, w, L, Q, 21, n[59]), L = c(L, W, E, w, j, 6, n[60]), w = c(w, L, W, E, h, 10, n[61]), E = c(E, w, L, W, V, 15, n[62]), W = c(W, E, w, L, G, 21, n[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;
|
|
1730
1730
|
},
|
|
1731
1731
|
_doFinalize: function() {
|
|
1732
1732
|
var s = this._data, b = s.words, q = this._nDataBytes * 8, a = s.sigBytes * 8;
|
|
@@ -1842,8 +1842,8 @@ function Be() {
|
|
|
1842
1842
|
var j = x[l - 15], m = (j << 25 | j >>> 7) ^ (j << 14 | j >>> 18) ^ j >>> 3, N = x[l - 2], Z = (N << 15 | N >>> 17) ^ (N << 13 | N >>> 19) ^ N >>> 10;
|
|
1843
1843
|
x[l] = m + x[l - 7] + Z + x[l - 16];
|
|
1844
1844
|
}
|
|
1845
|
-
var T = p & O ^ ~p & R, G = b & q ^ b & a ^ q & a,
|
|
1846
|
-
V = R, R = O, O = p, p = H +
|
|
1845
|
+
var T = p & O ^ ~p & R, G = b & q ^ b & a ^ q & a, M = (b << 30 | b >>> 2) ^ (b << 19 | b >>> 13) ^ (b << 10 | b >>> 22), h = (p << 26 | p >>> 6) ^ (p << 21 | p >>> 11) ^ (p << 7 | p >>> 25), J = V + h + T + u[l] + x[l], Q = M + G;
|
|
1846
|
+
V = R, R = O, O = p, p = H + J | 0, H = a, a = q, q = b, b = J + Q | 0;
|
|
1847
1847
|
}
|
|
1848
1848
|
s[0] = s[0] + b | 0, s[1] = s[1] + q | 0, s[2] = s[2] + a | 0, s[3] = s[3] + H | 0, s[4] = s[4] + p | 0, s[5] = s[5] + O | 0, s[6] = s[6] + R | 0, s[7] = s[7] + V | 0;
|
|
1849
1849
|
},
|
|
@@ -2002,7 +2002,7 @@ function uv() {
|
|
|
2002
2002
|
]);
|
|
2003
2003
|
},
|
|
2004
2004
|
_doProcessBlock: function(c, s) {
|
|
2005
|
-
for (var b = this._hash.words, q = b[0], a = b[1], H = b[2], p = b[3], O = b[4], R = b[5], V = b[6], l = b[7], j = q.high, m = q.low, N = a.high, Z = a.low, T = H.high, G = H.low,
|
|
2005
|
+
for (var b = this._hash.words, q = b[0], a = b[1], H = b[2], p = b[3], O = b[4], R = b[5], V = b[6], l = b[7], j = q.high, m = q.low, N = a.high, Z = a.low, T = H.high, G = H.low, M = p.high, h = p.low, J = O.high, Q = O.low, U = R.high, K = R.low, L = V.high, W = V.low, E = l.high, w = l.low, zA = j, dA = m, mA = N, C = Z, $ = T, eA = G, X9 = M, S = h, I = J, B = Q, oA = U, KA = K, vf = L, I9 = W, yf = E, M9 = w, UA = 0; UA < 80; UA++) {
|
|
2006
2006
|
var YA, v9, nf = X[UA];
|
|
2007
2007
|
if (UA < 16)
|
|
2008
2008
|
v9 = nf.high = c[s + UA * 2] | 0, YA = nf.low = c[s + UA * 2 + 1] | 0;
|
|
@@ -2010,10 +2010,10 @@ function uv() {
|
|
|
2010
2010
|
var A7 = X[UA - 15], D9 = A7.high, g9 = A7.low, Kv = (D9 >>> 1 | g9 << 31) ^ (D9 >>> 8 | g9 << 24) ^ D9 >>> 7, f7 = (g9 >>> 1 | D9 << 31) ^ (g9 >>> 8 | D9 << 24) ^ (g9 >>> 7 | D9 << 25), e7 = X[UA - 2], V9 = e7.high, B9 = e7.low, Cv = (V9 >>> 19 | B9 << 13) ^ (V9 << 3 | B9 >>> 29) ^ V9 >>> 6, v7 = (B9 >>> 19 | V9 << 13) ^ (B9 << 3 | V9 >>> 29) ^ (B9 >>> 6 | V9 << 26), n7 = X[UA - 7], _v = n7.high, $v = n7.low, r7 = X[UA - 16], An = r7.high, P7 = r7.low;
|
|
2011
2011
|
YA = f7 + $v, v9 = Kv + _v + (YA >>> 0 < f7 >>> 0 ? 1 : 0), YA = YA + v7, v9 = v9 + Cv + (YA >>> 0 < v7 >>> 0 ? 1 : 0), YA = YA + P7, v9 = v9 + An + (YA >>> 0 < P7 >>> 0 ? 1 : 0), nf.high = v9, nf.low = YA;
|
|
2012
2012
|
}
|
|
2013
|
-
var fn = I & oA ^ ~I & vf, t7 =
|
|
2014
|
-
yf = vf, M9 = I9, vf = oA, I9 = KA, oA = I, KA =
|
|
2013
|
+
var fn = I & oA ^ ~I & vf, t7 = B & KA ^ ~B & I9, en = zA & mA ^ zA & $ ^ mA & $, vn = dA & C ^ dA & eA ^ C & eA, nn = (zA >>> 28 | dA << 4) ^ (zA << 30 | dA >>> 2) ^ (zA << 25 | dA >>> 7), u7 = (dA >>> 28 | zA << 4) ^ (dA << 30 | zA >>> 2) ^ (dA << 25 | zA >>> 7), rn = (I >>> 14 | B << 18) ^ (I >>> 18 | B << 14) ^ (I << 23 | B >>> 9), Pn = (B >>> 14 | I << 18) ^ (B >>> 18 | I << 14) ^ (B << 23 | I >>> 9), z7 = x[UA], tn = z7.high, d7 = z7.low, gA = M9 + Pn, n9 = yf + rn + (gA >>> 0 < M9 >>> 0 ? 1 : 0), gA = gA + t7, n9 = n9 + fn + (gA >>> 0 < t7 >>> 0 ? 1 : 0), gA = gA + d7, n9 = n9 + tn + (gA >>> 0 < d7 >>> 0 ? 1 : 0), gA = gA + YA, n9 = n9 + v9 + (gA >>> 0 < YA >>> 0 ? 1 : 0), X7 = u7 + vn, un = nn + en + (X7 >>> 0 < u7 >>> 0 ? 1 : 0);
|
|
2014
|
+
yf = vf, M9 = I9, vf = oA, I9 = KA, oA = I, KA = B, B = S + gA | 0, I = X9 + n9 + (B >>> 0 < S >>> 0 ? 1 : 0) | 0, X9 = $, S = eA, $ = mA, eA = C, mA = zA, C = dA, dA = gA + X7 | 0, zA = n9 + un + (dA >>> 0 < gA >>> 0 ? 1 : 0) | 0;
|
|
2015
2015
|
}
|
|
2016
|
-
m = q.low = m + dA, q.high = j + zA + (m >>> 0 < dA >>> 0 ? 1 : 0), Z = a.low = Z +
|
|
2016
|
+
m = q.low = m + dA, q.high = j + zA + (m >>> 0 < dA >>> 0 ? 1 : 0), Z = a.low = Z + C, a.high = N + mA + (Z >>> 0 < C >>> 0 ? 1 : 0), G = H.low = G + eA, H.high = T + $ + (G >>> 0 < eA >>> 0 ? 1 : 0), h = p.low = h + S, p.high = M + X9 + (h >>> 0 < S >>> 0 ? 1 : 0), Q = O.low = Q + B, O.high = J + I + (Q >>> 0 < B >>> 0 ? 1 : 0), K = R.low = K + KA, R.high = U + oA + (K >>> 0 < KA >>> 0 ? 1 : 0), W = V.low = W + I9, V.high = L + vf + (W >>> 0 < I9 >>> 0 ? 1 : 0), w = l.low = w + M9, l.high = E + yf + (w >>> 0 < M9 >>> 0 ? 1 : 0);
|
|
2017
2017
|
},
|
|
2018
2018
|
_doFinalize: function() {
|
|
2019
2019
|
var c = this._data, s = c.words, b = this._nDataBytes * 8, q = c.sigBytes * 8;
|
|
@@ -2129,25 +2129,25 @@ function bP() {
|
|
|
2129
2129
|
T.high = m, T.low = N;
|
|
2130
2130
|
}
|
|
2131
2131
|
for (var j = 0; j < 5; j++)
|
|
2132
|
-
for (var G = c[(j + 4) % 5],
|
|
2132
|
+
for (var G = c[(j + 4) % 5], M = c[(j + 1) % 5], h = M.high, J = M.low, m = G.high ^ (h << 1 | J >>> 31), N = G.low ^ (J << 1 | h >>> 31), Z = 0; Z < 5; Z++) {
|
|
2133
2133
|
var V = a[j + 5 * Z];
|
|
2134
2134
|
V.high ^= m, V.low ^= N;
|
|
2135
2135
|
}
|
|
2136
|
-
for (var
|
|
2137
|
-
var m, N, V = a[
|
|
2138
|
-
L < 32 ? (m =
|
|
2139
|
-
var W = c[X[
|
|
2136
|
+
for (var Q = 1; Q < 25; Q++) {
|
|
2137
|
+
var m, N, V = a[Q], U = V.high, K = V.low, L = x[Q];
|
|
2138
|
+
L < 32 ? (m = U << L | K >>> 32 - L, N = K << L | U >>> 32 - L) : (m = K << L - 32 | U >>> 64 - L, N = U << L - 32 | K >>> 64 - L);
|
|
2139
|
+
var W = c[X[Q]];
|
|
2140
2140
|
W.high = m, W.low = N;
|
|
2141
2141
|
}
|
|
2142
2142
|
var E = c[0], w = a[0];
|
|
2143
2143
|
E.high = w.high, E.low = w.low;
|
|
2144
2144
|
for (var j = 0; j < 5; j++)
|
|
2145
2145
|
for (var Z = 0; Z < 5; Z++) {
|
|
2146
|
-
var
|
|
2146
|
+
var Q = j + 5 * Z, V = a[Q], zA = c[Q], dA = c[(j + 1) % 5 + 5 * Z], mA = c[(j + 2) % 5 + 5 * Z];
|
|
2147
2147
|
V.high = zA.high ^ ~dA.high & mA.high, V.low = zA.low ^ ~dA.low & mA.low;
|
|
2148
2148
|
}
|
|
2149
|
-
var V = a[0],
|
|
2150
|
-
V.high ^=
|
|
2149
|
+
var V = a[0], C = i[l];
|
|
2150
|
+
V.high ^= C.high, V.low ^= C.low;
|
|
2151
2151
|
}
|
|
2152
2152
|
},
|
|
2153
2153
|
_doFinalize: function() {
|
|
@@ -2522,11 +2522,11 @@ function cP() {
|
|
|
2522
2522
|
var j = V + l, m = R[j];
|
|
2523
2523
|
R[j] = (m << 8 | m >>> 24) & 16711935 | (m << 24 | m >>> 8) & 4278255360;
|
|
2524
2524
|
}
|
|
2525
|
-
var N = this._hash.words, Z = i.words, T = c.words, G = n.words,
|
|
2526
|
-
E =
|
|
2527
|
-
for (var
|
|
2528
|
-
|
|
2529
|
-
|
|
2525
|
+
var N = this._hash.words, Z = i.words, T = c.words, G = n.words, M = u.words, h = x.words, J = X.words, Q, U, K, L, W, E, w, zA, dA, mA;
|
|
2526
|
+
E = Q = N[0], w = U = N[1], zA = K = N[2], dA = L = N[3], mA = W = N[4];
|
|
2527
|
+
for (var C, l = 0; l < 80; l += 1)
|
|
2528
|
+
C = Q + R[V + G[l]] | 0, l < 16 ? C += b(U, K, L) + Z[0] : l < 32 ? C += q(U, K, L) + Z[1] : l < 48 ? C += a(U, K, L) + Z[2] : l < 64 ? C += H(U, K, L) + Z[3] : C += p(U, K, L) + Z[4], C = C | 0, C = O(C, h[l]), C = C + W | 0, Q = W, W = L, L = O(K, 10), K = U, U = C, C = E + R[V + M[l]] | 0, l < 16 ? C += p(w, zA, dA) + T[0] : l < 32 ? C += H(w, zA, dA) + T[1] : l < 48 ? C += a(w, zA, dA) + T[2] : l < 64 ? C += q(w, zA, dA) + T[3] : C += b(w, zA, dA) + T[4], C = C | 0, C = O(C, J[l]), C = C + mA | 0, E = mA, mA = dA, dA = O(zA, 10), zA = w, w = C;
|
|
2529
|
+
C = N[1] + K + dA | 0, N[1] = N[2] + L + mA | 0, N[2] = N[3] + W + E | 0, N[3] = N[4] + Q + w | 0, N[4] = N[0] + U + zA | 0, N[0] = C;
|
|
2530
2530
|
},
|
|
2531
2531
|
_doFinalize: function() {
|
|
2532
2532
|
var R = this._data, V = R.words, l = this._nDataBytes * 8, j = R.sigBytes * 8;
|
|
@@ -2979,8 +2979,8 @@ function VA() {
|
|
|
2979
2979
|
* mode.processBlock(data.words, offset);
|
|
2980
2980
|
*/
|
|
2981
2981
|
processBlock: function(Z, T) {
|
|
2982
|
-
var G = this._cipher,
|
|
2983
|
-
N.call(this, Z, T,
|
|
2982
|
+
var G = this._cipher, M = G.blockSize;
|
|
2983
|
+
N.call(this, Z, T, M), G.encryptBlock(Z, T), this._prevBlock = Z.slice(T, T + M);
|
|
2984
2984
|
}
|
|
2985
2985
|
}), m.Decryptor = m.extend({
|
|
2986
2986
|
/**
|
|
@@ -2994,15 +2994,15 @@ function VA() {
|
|
|
2994
2994
|
* mode.processBlock(data.words, offset);
|
|
2995
2995
|
*/
|
|
2996
2996
|
processBlock: function(Z, T) {
|
|
2997
|
-
var G = this._cipher,
|
|
2998
|
-
G.decryptBlock(Z, T), N.call(this, Z, T,
|
|
2997
|
+
var G = this._cipher, M = G.blockSize, h = Z.slice(T, T + M);
|
|
2998
|
+
G.decryptBlock(Z, T), N.call(this, Z, T, M), this._prevBlock = h;
|
|
2999
2999
|
}
|
|
3000
3000
|
});
|
|
3001
3001
|
function N(Z, T, G) {
|
|
3002
|
-
var
|
|
3003
|
-
|
|
3004
|
-
for (var
|
|
3005
|
-
Z[T +
|
|
3002
|
+
var M, h = this._iv;
|
|
3003
|
+
h ? (M = h, this._iv = v) : M = this._prevBlock;
|
|
3004
|
+
for (var J = 0; J < G; J++)
|
|
3005
|
+
Z[T + J] ^= M[J];
|
|
3006
3006
|
}
|
|
3007
3007
|
return m;
|
|
3008
3008
|
}(), q = r.pad = {}, a = q.Pkcs7 = {
|
|
@@ -3019,10 +3019,10 @@ function VA() {
|
|
|
3019
3019
|
* CryptoJS.pad.Pkcs7.pad(wordArray, 4);
|
|
3020
3020
|
*/
|
|
3021
3021
|
pad: function(m, N) {
|
|
3022
|
-
for (var Z = N * 4, T = Z - m.sigBytes % Z, G = T << 24 | T << 16 | T << 8 | T,
|
|
3023
|
-
|
|
3024
|
-
var
|
|
3025
|
-
m.concat(
|
|
3022
|
+
for (var Z = N * 4, T = Z - m.sigBytes % Z, G = T << 24 | T << 16 | T << 8 | T, M = [], h = 0; h < T; h += 4)
|
|
3023
|
+
M.push(G);
|
|
3024
|
+
var J = z.create(M, T);
|
|
3025
|
+
m.concat(J);
|
|
3026
3026
|
},
|
|
3027
3027
|
/**
|
|
3028
3028
|
* Unpads data that had been padded using the algorithm defined in PKCS #5/7.
|
|
@@ -3171,14 +3171,14 @@ function VA() {
|
|
|
3171
3171
|
*/
|
|
3172
3172
|
encrypt: function(m, N, Z, T) {
|
|
3173
3173
|
T = this.cfg.extend(T);
|
|
3174
|
-
var G = m.createEncryptor(Z, T),
|
|
3174
|
+
var G = m.createEncryptor(Z, T), M = G.finalize(N), h = G.cfg;
|
|
3175
3175
|
return H.create({
|
|
3176
|
-
ciphertext:
|
|
3176
|
+
ciphertext: M,
|
|
3177
3177
|
key: Z,
|
|
3178
|
-
iv:
|
|
3178
|
+
iv: h.iv,
|
|
3179
3179
|
algorithm: m,
|
|
3180
|
-
mode:
|
|
3181
|
-
padding:
|
|
3180
|
+
mode: h.mode,
|
|
3181
|
+
padding: h.padding,
|
|
3182
3182
|
blockSize: m.blockSize,
|
|
3183
3183
|
formatter: T.format
|
|
3184
3184
|
});
|
|
@@ -3243,11 +3243,11 @@ function VA() {
|
|
|
3243
3243
|
*/
|
|
3244
3244
|
execute: function(m, N, Z, T, G) {
|
|
3245
3245
|
if (T || (T = z.random(64 / 8)), G)
|
|
3246
|
-
var
|
|
3246
|
+
var M = X.create({ keySize: N + Z, hasher: G }).compute(m, T);
|
|
3247
3247
|
else
|
|
3248
|
-
var
|
|
3249
|
-
var
|
|
3250
|
-
return
|
|
3248
|
+
var M = X.create({ keySize: N + Z }).compute(m, T);
|
|
3249
|
+
var h = z.create(M.words.slice(N), Z * 4);
|
|
3250
|
+
return M.sigBytes = N * 4, H.create({ key: M, iv: h, salt: T });
|
|
3251
3251
|
}
|
|
3252
3252
|
}, j = P.PasswordBasedCipher = R.extend({
|
|
3253
3253
|
/**
|
|
@@ -3279,8 +3279,8 @@ function VA() {
|
|
|
3279
3279
|
T = this.cfg.extend(T);
|
|
3280
3280
|
var G = T.kdf.execute(Z, m.keySize, m.ivSize, T.salt, T.hasher);
|
|
3281
3281
|
T.iv = G.iv;
|
|
3282
|
-
var
|
|
3283
|
-
return
|
|
3282
|
+
var M = R.encrypt.call(this, m, N, G.key, T);
|
|
3283
|
+
return M.mixIn(G), M;
|
|
3284
3284
|
},
|
|
3285
3285
|
/**
|
|
3286
3286
|
* Decrypts serialized ciphertext using a password.
|
|
@@ -3303,8 +3303,8 @@ function VA() {
|
|
|
3303
3303
|
T = this.cfg.extend(T), N = this._parse(N, T.format);
|
|
3304
3304
|
var G = T.kdf.execute(Z, m.keySize, m.ivSize, N.salt, T.hasher);
|
|
3305
3305
|
T.iv = G.iv;
|
|
3306
|
-
var
|
|
3307
|
-
return
|
|
3306
|
+
var M = R.decrypt.call(this, m, N, G.key, T);
|
|
3307
|
+
return M;
|
|
3308
3308
|
}
|
|
3309
3309
|
});
|
|
3310
3310
|
}();
|
|
@@ -3628,12 +3628,12 @@ function NP() {
|
|
|
3628
3628
|
H[p + 1] = H[p + 3], H[p + 3] = O;
|
|
3629
3629
|
},
|
|
3630
3630
|
_doCryptBlock: function(H, p, O, R, V, l, j, m) {
|
|
3631
|
-
for (var N = this._nRounds, Z = H[p] ^ O[0], T = H[p + 1] ^ O[1], G = H[p + 2] ^ O[2],
|
|
3632
|
-
var
|
|
3633
|
-
Z =
|
|
3631
|
+
for (var N = this._nRounds, Z = H[p] ^ O[0], T = H[p + 1] ^ O[1], G = H[p + 2] ^ O[2], M = H[p + 3] ^ O[3], h = 4, J = 1; J < N; J++) {
|
|
3632
|
+
var Q = R[Z >>> 24] ^ V[T >>> 16 & 255] ^ l[G >>> 8 & 255] ^ j[M & 255] ^ O[h++], U = R[T >>> 24] ^ V[G >>> 16 & 255] ^ l[M >>> 8 & 255] ^ j[Z & 255] ^ O[h++], K = R[G >>> 24] ^ V[M >>> 16 & 255] ^ l[Z >>> 8 & 255] ^ j[T & 255] ^ O[h++], L = R[M >>> 24] ^ V[Z >>> 16 & 255] ^ l[T >>> 8 & 255] ^ j[G & 255] ^ O[h++];
|
|
3633
|
+
Z = Q, T = U, G = K, M = L;
|
|
3634
3634
|
}
|
|
3635
|
-
var
|
|
3636
|
-
H[p] =
|
|
3635
|
+
var Q = (m[Z >>> 24] << 24 | m[T >>> 16 & 255] << 16 | m[G >>> 8 & 255] << 8 | m[M & 255]) ^ O[h++], U = (m[T >>> 24] << 24 | m[G >>> 16 & 255] << 16 | m[M >>> 8 & 255] << 8 | m[Z & 255]) ^ O[h++], K = (m[G >>> 24] << 24 | m[M >>> 16 & 255] << 16 | m[Z >>> 8 & 255] << 8 | m[T & 255]) ^ O[h++], L = (m[M >>> 24] << 24 | m[Z >>> 16 & 255] << 16 | m[T >>> 8 & 255] << 8 | m[G & 255]) ^ O[h++];
|
|
3636
|
+
H[p] = Q, H[p + 1] = U, H[p + 2] = K, H[p + 3] = L;
|
|
3637
3637
|
},
|
|
3638
3638
|
keySize: 256 / 32
|
|
3639
3639
|
});
|
|
@@ -6007,7 +6007,7 @@ function Ht(e) {
|
|
|
6007
6007
|
function pt(e) {
|
|
6008
6008
|
return this.__data__.has(e);
|
|
6009
6009
|
}
|
|
6010
|
-
var lv = typeof global == "object" && global && global.Object === Object && global, xt = typeof self == "object" && self && self.Object === Object && self,
|
|
6010
|
+
var lv = typeof global == "object" && global && global.Object === Object && global, xt = typeof self == "object" && self && self.Object === Object && self, _A = lv || xt || Function("return this")(), T9 = _A.Symbol, Dv = Object.prototype, Ot = Dv.hasOwnProperty, mt = Dv.toString, k9 = T9 ? T9.toStringTag : void 0;
|
|
6011
6011
|
function lt(e) {
|
|
6012
6012
|
var A = Ot.call(e, k9), f = e[k9];
|
|
6013
6013
|
try {
|
|
@@ -6037,7 +6037,7 @@ function Vv(e) {
|
|
|
6037
6037
|
var A = Af(e);
|
|
6038
6038
|
return A == Tt || A == ot || A == Zt || A == Lt;
|
|
6039
6039
|
}
|
|
6040
|
-
var se =
|
|
6040
|
+
var se = _A["__core-js_shared__"], t3 = function() {
|
|
6041
6041
|
var e = /[^.]+$/.exec(se && se.keys && se.keys.IE_PROTO || "");
|
|
6042
6042
|
return e ? "Symbol(src)_1." + e : "";
|
|
6043
6043
|
}();
|
|
@@ -6074,7 +6074,7 @@ function l9(e, A) {
|
|
|
6074
6074
|
var f = Gt(e, A);
|
|
6075
6075
|
return Yt(f) ? f : void 0;
|
|
6076
6076
|
}
|
|
6077
|
-
var U9 = l9(
|
|
6077
|
+
var U9 = l9(_A, "Map"), J9 = l9(Object, "create");
|
|
6078
6078
|
function Ut() {
|
|
6079
6079
|
this.__data__ = J9 ? J9(null) : {}, this.size = 0;
|
|
6080
6080
|
}
|
|
@@ -6219,7 +6219,7 @@ var Nv = Object.prototype, qu = Nv.hasOwnProperty, Hu = Nv.propertyIsEnumerable,
|
|
|
6219
6219
|
function xu() {
|
|
6220
6220
|
return !1;
|
|
6221
6221
|
}
|
|
6222
|
-
var Rv = typeof exports == "object" && exports && !exports.nodeType && exports, d3 = Rv && typeof module == "object" && module && !module.nodeType && module, Ou = d3 && d3.exports === Rv, X3 = Ou ?
|
|
6222
|
+
var Rv = typeof exports == "object" && exports && !exports.nodeType && exports, d3 = Rv && typeof module == "object" && module && !module.nodeType && module, Ou = d3 && d3.exports === Rv, X3 = Ou ? _A.Buffer : void 0, mu = X3 ? X3.isBuffer : void 0, jv = mu || xu, lu = 9007199254740991, Du = /^(?:0|[1-9]\d*)$/;
|
|
6223
6223
|
function Vu(e, A) {
|
|
6224
6224
|
var f = typeof e;
|
|
6225
6225
|
return A = A ?? lu, !!A && (f == "number" || f != "symbol" && Du.test(e)) && e > -1 && e % 1 == 0 && e < A;
|
|
@@ -6281,7 +6281,7 @@ function uz(e) {
|
|
|
6281
6281
|
function zz(e) {
|
|
6282
6282
|
return uz(e) ? ez(e) : tz(e);
|
|
6283
6283
|
}
|
|
6284
|
-
var yv = typeof exports == "object" && exports && !exports.nodeType && exports, c3 = yv && typeof module == "object" && module && !module.nodeType && module, dz = c3 && c3.exports === yv, a3 = dz ?
|
|
6284
|
+
var yv = typeof exports == "object" && exports && !exports.nodeType && exports, c3 = yv && typeof module == "object" && module && !module.nodeType && module, dz = c3 && c3.exports === yv, a3 = dz ? _A.Buffer : void 0;
|
|
6285
6285
|
a3 && a3.allocUnsafe;
|
|
6286
6286
|
function Xz(e, A) {
|
|
6287
6287
|
return e.slice();
|
|
@@ -6314,8 +6314,8 @@ function pz(e, A, f) {
|
|
|
6314
6314
|
function xz(e) {
|
|
6315
6315
|
return pz(e, zz, sz);
|
|
6316
6316
|
}
|
|
6317
|
-
var Re = l9(
|
|
6318
|
-
(Re &&
|
|
6317
|
+
var Re = l9(_A, "DataView"), je = l9(_A, "Promise"), Ze = l9(_A, "Set"), Te = l9(_A, "WeakMap"), s3 = "[object Map]", Oz = "[object Object]", q3 = "[object Promise]", H3 = "[object Set]", p3 = "[object WeakMap]", x3 = "[object DataView]", mz = m9(Re), lz = m9(U9), Dz = m9(je), Vz = m9(Ze), Nz = m9(Te), $A = Af;
|
|
6318
|
+
(Re && $A(new Re(new ArrayBuffer(1))) != x3 || U9 && $A(new U9()) != s3 || je && $A(je.resolve()) != q3 || Ze && $A(new Ze()) != H3 || Te && $A(new Te()) != p3) && ($A = function(e) {
|
|
6319
6319
|
var A = Af(e), f = A == Oz ? e.constructor : void 0, v = f ? m9(f) : "";
|
|
6320
6320
|
if (v)
|
|
6321
6321
|
switch (v) {
|
|
@@ -6337,7 +6337,7 @@ function Zz(e) {
|
|
|
6337
6337
|
var A = e.length, f = new e.constructor(A);
|
|
6338
6338
|
return A && typeof e[0] == "string" && jz.call(e, "index") && (f.index = e.index, f.input = e.input), f;
|
|
6339
6339
|
}
|
|
6340
|
-
var O3 =
|
|
6340
|
+
var O3 = _A.Uint8Array;
|
|
6341
6341
|
function Ge(e) {
|
|
6342
6342
|
var A = new e.constructor(e.byteLength);
|
|
6343
6343
|
return new O3(A).set(new O3(e)), A;
|
|
@@ -6411,11 +6411,11 @@ function ed(e) {
|
|
|
6411
6411
|
}
|
|
6412
6412
|
var vd = "[object Map]";
|
|
6413
6413
|
function nd(e) {
|
|
6414
|
-
return ff(e) &&
|
|
6414
|
+
return ff(e) && $A(e) == vd;
|
|
6415
6415
|
}
|
|
6416
6416
|
var V3 = o9 && o9.isMap, rd = V3 ? Ye(V3) : nd, Pd = "[object Set]";
|
|
6417
6417
|
function td(e) {
|
|
6418
|
-
return ff(e) &&
|
|
6418
|
+
return ff(e) && $A(e) == Pd;
|
|
6419
6419
|
}
|
|
6420
6420
|
var N3 = o9 && o9.isSet, ud = N3 ? Ye(N3) : td, Wv = "[object Arguments]", zd = "[object Array]", dd = "[object Boolean]", Xd = "[object Date]", bd = "[object Error]", wv = "[object Function]", cd = "[object GeneratorFunction]", ad = "[object Map]", id = "[object Number]", Ev = "[object Object]", sd = "[object RegExp]", qd = "[object Set]", Hd = "[object String]", pd = "[object Symbol]", xd = "[object WeakMap]", Od = "[object ArrayBuffer]", md = "[object DataView]", ld = "[object Float32Array]", Dd = "[object Float64Array]", Vd = "[object Int8Array]", Nd = "[object Int16Array]", Rd = "[object Int32Array]", jd = "[object Uint8Array]", Zd = "[object Uint8ClampedArray]", Td = "[object Uint16Array]", od = "[object Uint32Array]", bA = {};
|
|
6421
6421
|
bA[Wv] = bA[zd] = bA[Od] = bA[md] = bA[dd] = bA[Xd] = bA[ld] = bA[Dd] = bA[Vd] = bA[Nd] = bA[Rd] = bA[ad] = bA[id] = bA[Ev] = bA[sd] = bA[qd] = bA[Hd] = bA[pd] = bA[jd] = bA[Zd] = bA[Td] = bA[od] = !0;
|
|
@@ -6430,7 +6430,7 @@ function uf(e, A, f, v, r, P) {
|
|
|
6430
6430
|
if (z)
|
|
6431
6431
|
t = Zz(e);
|
|
6432
6432
|
else {
|
|
6433
|
-
var d =
|
|
6433
|
+
var d = $A(e), n = d == wv || d == cd;
|
|
6434
6434
|
if (jv(e))
|
|
6435
6435
|
return Xz(e);
|
|
6436
6436
|
if (d == Ev || d == Wv || n && !r)
|
|
@@ -6578,7 +6578,7 @@ const bf = (e, A = "") => {
|
|
|
6578
6578
|
if (q) {
|
|
6579
6579
|
let a = !1;
|
|
6580
6580
|
d.forEach((p) => {
|
|
6581
|
-
p.routeUrl === "/deviceInstance" && (p.fixed = !0, p.divise = !0, p.menuCode = p.code, p.tagName = p.tabName =
|
|
6581
|
+
p.routeUrl === "/deviceInstance" && (p.fixed = !0, p.divise = !0, p.menuCode = p.code, p.tagName = p.tabName = g("实例"), p.name = q.instanceName, p.leftIcon = "change2", p.rightIcon = "change2");
|
|
6582
6582
|
});
|
|
6583
6583
|
const H = Tn(q.endTime) || q.endTime == 0 || q.endTime === 253370736e6 || q.endTime === "253370736000000" ? "-" : Number(q.endTime);
|
|
6584
6584
|
if (a = De().endOf("day") > De(H).endOf("day"), !f && !v && q.id && !a) {
|
|
@@ -6721,9 +6721,9 @@ const bf = (e, A = "") => {
|
|
|
6721
6721
|
FA.value = {
|
|
6722
6722
|
style: f,
|
|
6723
6723
|
skinStyle: v
|
|
6724
|
-
},
|
|
6724
|
+
}, _.setTheme(v);
|
|
6725
6725
|
const { platformConfig: r } = await gv(), P = v === "default" || v === "cjb" ? v5 : n5;
|
|
6726
|
-
return
|
|
6726
|
+
return _.nav.setLogo(r != null && r.platformLogoImg ? pf(r.platformLogoImg) : P), sessionStorage.setItem("personal-config", JSON.stringify(FA.value)), {
|
|
6727
6727
|
personalMenuConfig: FA.value
|
|
6728
6728
|
};
|
|
6729
6729
|
}, P5 = async () => {
|
|
@@ -6741,7 +6741,7 @@ const bf = (e, A = "") => {
|
|
|
6741
6741
|
const f = o(!1), v = o(!1), r = o(!1), P = o(!1), t = o(!1), z = o(!1), d = () => {
|
|
6742
6742
|
f.value = FA.value.style === 1, v.value = FA.value.style === 2, r.value = FA.value.skinStyle === "default", P.value = FA.value.skinStyle === "kjl", t.value = FA.value.skinStyle === "cjb", z.value = FA.value.skinStyle === "ssl";
|
|
6743
6743
|
};
|
|
6744
|
-
|
|
6744
|
+
CA(d);
|
|
6745
6745
|
const n = (s, b) => {
|
|
6746
6746
|
s === "menu" ? (f.value = b === 1, v.value = b === 2) : (r.value = b === 1, P.value = b === 2, t.value = b === 3, z.value = b === 4);
|
|
6747
6747
|
}, u = () => {
|
|
@@ -6773,32 +6773,32 @@ const bf = (e, A = "") => {
|
|
|
6773
6773
|
"div",
|
|
6774
6774
|
O5,
|
|
6775
6775
|
[
|
|
6776
|
-
|
|
6777
|
-
|
|
6776
|
+
Y("section", m5, [
|
|
6777
|
+
Y(
|
|
6778
6778
|
"p",
|
|
6779
6779
|
l5,
|
|
6780
|
-
rA(D(
|
|
6780
|
+
rA(D(g)("侧边菜单栏")),
|
|
6781
6781
|
1
|
|
6782
6782
|
/* TEXT */
|
|
6783
6783
|
),
|
|
6784
|
-
|
|
6785
|
-
|
|
6784
|
+
Y("div", D5, [
|
|
6785
|
+
Y("div", {
|
|
6786
6786
|
class: "item-content",
|
|
6787
6787
|
onClick: b[1] || (b[1] = (q) => n("menu", 1))
|
|
6788
6788
|
}, [
|
|
6789
|
-
|
|
6789
|
+
Y("img", {
|
|
6790
6790
|
src: D(t5),
|
|
6791
6791
|
alt: "",
|
|
6792
6792
|
width: "180",
|
|
6793
6793
|
height: "120"
|
|
6794
6794
|
}, null, 8, V5),
|
|
6795
|
-
|
|
6795
|
+
k(D(N9), {
|
|
6796
6796
|
modelValue: f.value,
|
|
6797
6797
|
"onUpdate:modelValue": b[0] || (b[0] = (q) => f.value = q)
|
|
6798
6798
|
}, {
|
|
6799
|
-
default:
|
|
6799
|
+
default: F(() => [
|
|
6800
6800
|
aA(
|
|
6801
|
-
rA(D(
|
|
6801
|
+
rA(D(g)("弹出式菜单栏")),
|
|
6802
6802
|
1
|
|
6803
6803
|
/* TEXT */
|
|
6804
6804
|
)
|
|
@@ -6807,23 +6807,23 @@ const bf = (e, A = "") => {
|
|
|
6807
6807
|
/* STABLE */
|
|
6808
6808
|
}, 8, ["modelValue"])
|
|
6809
6809
|
]),
|
|
6810
|
-
|
|
6810
|
+
Y("div", {
|
|
6811
6811
|
class: "item-content",
|
|
6812
6812
|
onClick: b[3] || (b[3] = (q) => n("menu", 2))
|
|
6813
6813
|
}, [
|
|
6814
|
-
|
|
6814
|
+
Y("img", {
|
|
6815
6815
|
src: D(u5),
|
|
6816
6816
|
alt: "",
|
|
6817
6817
|
width: "180",
|
|
6818
6818
|
height: "120"
|
|
6819
6819
|
}, null, 8, N5),
|
|
6820
|
-
|
|
6820
|
+
k(D(N9), {
|
|
6821
6821
|
modelValue: v.value,
|
|
6822
6822
|
"onUpdate:modelValue": b[2] || (b[2] = (q) => v.value = q)
|
|
6823
6823
|
}, {
|
|
6824
|
-
default:
|
|
6824
|
+
default: F(() => [
|
|
6825
6825
|
aA(
|
|
6826
|
-
rA(D(
|
|
6826
|
+
rA(D(g)("内嵌式菜单栏")),
|
|
6827
6827
|
1
|
|
6828
6828
|
/* TEXT */
|
|
6829
6829
|
)
|
|
@@ -6834,32 +6834,32 @@ const bf = (e, A = "") => {
|
|
|
6834
6834
|
])
|
|
6835
6835
|
])
|
|
6836
6836
|
]),
|
|
6837
|
-
|
|
6838
|
-
|
|
6837
|
+
Y("section", R5, [
|
|
6838
|
+
Y(
|
|
6839
6839
|
"p",
|
|
6840
6840
|
j5,
|
|
6841
|
-
rA(D(
|
|
6841
|
+
rA(D(g)("皮肤风格设置")),
|
|
6842
6842
|
1
|
|
6843
6843
|
/* TEXT */
|
|
6844
6844
|
),
|
|
6845
|
-
|
|
6846
|
-
|
|
6845
|
+
Y("div", Z5, [
|
|
6846
|
+
Y("div", {
|
|
6847
6847
|
class: "item-content",
|
|
6848
6848
|
onClick: b[5] || (b[5] = (q) => n("skin", 1))
|
|
6849
6849
|
}, [
|
|
6850
|
-
|
|
6850
|
+
Y("img", {
|
|
6851
6851
|
src: D(z5),
|
|
6852
6852
|
alt: "",
|
|
6853
6853
|
width: "180",
|
|
6854
6854
|
height: "120"
|
|
6855
6855
|
}, null, 8, T5),
|
|
6856
|
-
|
|
6856
|
+
k(D(N9), {
|
|
6857
6857
|
modelValue: r.value,
|
|
6858
6858
|
"onUpdate:modelValue": b[4] || (b[4] = (q) => r.value = q)
|
|
6859
6859
|
}, {
|
|
6860
|
-
default:
|
|
6860
|
+
default: F(() => [
|
|
6861
6861
|
aA(
|
|
6862
|
-
rA(D(
|
|
6862
|
+
rA(D(g)("默认皮肤")),
|
|
6863
6863
|
1
|
|
6864
6864
|
/* TEXT */
|
|
6865
6865
|
)
|
|
@@ -6868,23 +6868,23 @@ const bf = (e, A = "") => {
|
|
|
6868
6868
|
/* STABLE */
|
|
6869
6869
|
}, 8, ["modelValue"])
|
|
6870
6870
|
]),
|
|
6871
|
-
|
|
6871
|
+
Y("div", {
|
|
6872
6872
|
class: "item-content",
|
|
6873
6873
|
onClick: b[7] || (b[7] = (q) => n("skin", 2))
|
|
6874
6874
|
}, [
|
|
6875
|
-
|
|
6875
|
+
Y("img", {
|
|
6876
6876
|
src: D(d5),
|
|
6877
6877
|
alt: "",
|
|
6878
6878
|
width: "180",
|
|
6879
6879
|
height: "120"
|
|
6880
6880
|
}, null, 8, o5),
|
|
6881
|
-
|
|
6881
|
+
k(D(N9), {
|
|
6882
6882
|
modelValue: P.value,
|
|
6883
6883
|
"onUpdate:modelValue": b[6] || (b[6] = (q) => P.value = q)
|
|
6884
6884
|
}, {
|
|
6885
|
-
default:
|
|
6885
|
+
default: F(() => [
|
|
6886
6886
|
aA(
|
|
6887
|
-
rA(D(
|
|
6887
|
+
rA(D(g)("科技蓝")),
|
|
6888
6888
|
1
|
|
6889
6889
|
/* TEXT */
|
|
6890
6890
|
)
|
|
@@ -6894,24 +6894,24 @@ const bf = (e, A = "") => {
|
|
|
6894
6894
|
}, 8, ["modelValue"])
|
|
6895
6895
|
])
|
|
6896
6896
|
]),
|
|
6897
|
-
|
|
6898
|
-
|
|
6897
|
+
Y("div", L5, [
|
|
6898
|
+
Y("div", {
|
|
6899
6899
|
class: "item-content",
|
|
6900
6900
|
onClick: b[9] || (b[9] = (q) => n("skin", 3))
|
|
6901
6901
|
}, [
|
|
6902
|
-
|
|
6902
|
+
Y("img", {
|
|
6903
6903
|
src: D(X5),
|
|
6904
6904
|
alt: "",
|
|
6905
6905
|
width: "180",
|
|
6906
6906
|
height: "120"
|
|
6907
6907
|
}, null, 8, y5),
|
|
6908
|
-
|
|
6908
|
+
k(D(N9), {
|
|
6909
6909
|
modelValue: t.value,
|
|
6910
6910
|
"onUpdate:modelValue": b[8] || (b[8] = (q) => t.value = q)
|
|
6911
6911
|
}, {
|
|
6912
|
-
default:
|
|
6912
|
+
default: F(() => [
|
|
6913
6913
|
aA(
|
|
6914
|
-
rA(D(
|
|
6914
|
+
rA(D(g)("纯净白")),
|
|
6915
6915
|
1
|
|
6916
6916
|
/* TEXT */
|
|
6917
6917
|
)
|
|
@@ -6920,23 +6920,23 @@ const bf = (e, A = "") => {
|
|
|
6920
6920
|
/* STABLE */
|
|
6921
6921
|
}, 8, ["modelValue"])
|
|
6922
6922
|
]),
|
|
6923
|
-
|
|
6923
|
+
Y("div", {
|
|
6924
6924
|
class: "item-content",
|
|
6925
6925
|
onClick: b[11] || (b[11] = (q) => n("skin", 4))
|
|
6926
6926
|
}, [
|
|
6927
|
-
|
|
6927
|
+
Y("img", {
|
|
6928
6928
|
src: D(b5),
|
|
6929
6929
|
alt: "",
|
|
6930
6930
|
width: "180",
|
|
6931
6931
|
height: "120"
|
|
6932
6932
|
}, null, 8, W5),
|
|
6933
|
-
|
|
6933
|
+
k(D(N9), {
|
|
6934
6934
|
modelValue: z.value,
|
|
6935
6935
|
"onUpdate:modelValue": b[10] || (b[10] = (q) => z.value = q)
|
|
6936
6936
|
}, {
|
|
6937
|
-
default:
|
|
6937
|
+
default: F(() => [
|
|
6938
6938
|
aA(
|
|
6939
|
-
rA(D(
|
|
6939
|
+
rA(D(g)("深邃蓝")),
|
|
6940
6940
|
1
|
|
6941
6941
|
/* TEXT */
|
|
6942
6942
|
)
|
|
@@ -6947,16 +6947,16 @@ const bf = (e, A = "") => {
|
|
|
6947
6947
|
])
|
|
6948
6948
|
])
|
|
6949
6949
|
]),
|
|
6950
|
-
|
|
6951
|
-
|
|
6950
|
+
Y("section", w5, [
|
|
6951
|
+
Y(
|
|
6952
6952
|
"p",
|
|
6953
6953
|
E5,
|
|
6954
|
-
rA(D(
|
|
6954
|
+
rA(D(g)("效果预览")),
|
|
6955
6955
|
1
|
|
6956
6956
|
/* TEXT */
|
|
6957
6957
|
),
|
|
6958
|
-
|
|
6959
|
-
|
|
6958
|
+
Y("div", I5, [
|
|
6959
|
+
Y("img", {
|
|
6960
6960
|
src: X.value,
|
|
6961
6961
|
alt: "",
|
|
6962
6962
|
width: "100%",
|
|
@@ -6981,7 +6981,7 @@ const bf = (e, A = "") => {
|
|
|
6981
6981
|
const f = o([
|
|
6982
6982
|
{
|
|
6983
6983
|
code: 1,
|
|
6984
|
-
name:
|
|
6984
|
+
name: g("中文简体")
|
|
6985
6985
|
},
|
|
6986
6986
|
{
|
|
6987
6987
|
code: 2,
|
|
@@ -6994,16 +6994,16 @@ const bf = (e, A = "") => {
|
|
|
6994
6994
|
"div",
|
|
6995
6995
|
k5,
|
|
6996
6996
|
[
|
|
6997
|
-
|
|
6997
|
+
k(D(Me), {
|
|
6998
6998
|
width: "100%",
|
|
6999
6999
|
"label-length": 6,
|
|
7000
7000
|
"align-type": "horizontal",
|
|
7001
7001
|
cols: 1
|
|
7002
7002
|
}, {
|
|
7003
|
-
default:
|
|
7004
|
-
|
|
7003
|
+
default: F(() => [
|
|
7004
|
+
k(D(LA), {
|
|
7005
7005
|
type: "select",
|
|
7006
|
-
label: D(
|
|
7006
|
+
label: D(g)("语言类型"),
|
|
7007
7007
|
modelValue: v.value.type,
|
|
7008
7008
|
"onUpdate:modelValue": t[0] || (t[0] = (z) => v.value.type = z),
|
|
7009
7009
|
options: f.value,
|
|
@@ -7080,7 +7080,7 @@ const bf = (e, A = "") => {
|
|
|
7080
7080
|
},
|
|
7081
7081
|
confirmFormBuiltIn: () => {
|
|
7082
7082
|
if (!P.value) {
|
|
7083
|
-
Ie.warning(
|
|
7083
|
+
Ie.warning(g("至少选择一个链接"));
|
|
7084
7084
|
return;
|
|
7085
7085
|
}
|
|
7086
7086
|
const O = f.value, R = n.value;
|
|
@@ -7091,111 +7091,111 @@ const bf = (e, A = "") => {
|
|
|
7091
7091
|
let rf = null;
|
|
7092
7092
|
const z6 = (e) => {
|
|
7093
7093
|
const { information: A, orgInfo: f } = e, v = wA(() => f.id), r = o(!1), P = o(0), t = o([
|
|
7094
|
-
{ value: 0, label:
|
|
7095
|
-
{ value: 1, label:
|
|
7096
|
-
{ value: 2, label:
|
|
7097
|
-
{ value: 3, label:
|
|
7098
|
-
{ value: 4, label:
|
|
7099
|
-
]), z = o([]), d = o(20), n = o(1), u = o(0), x = o(""), X = o(""), i = o(""), c = o(!1), { run: s } = e6(), { run: b } = v6(), { run: q } = n6(), { run: a } = r6(), { run: H } = P6(), p = (
|
|
7100
|
-
const
|
|
7101
|
-
O(
|
|
7094
|
+
{ value: 0, label: g("图纸") },
|
|
7095
|
+
{ value: 1, label: g("图纸编排") },
|
|
7096
|
+
{ value: 2, label: g("设备看板") },
|
|
7097
|
+
{ value: 3, label: g("数据编排") },
|
|
7098
|
+
{ value: 4, label: g("轻分析") }
|
|
7099
|
+
]), z = o([]), d = o(20), n = o(1), u = o(0), x = o(""), X = o(""), i = o(""), c = o(!1), { run: s } = e6(), { run: b } = v6(), { run: q } = n6(), { run: a } = r6(), { run: H } = P6(), p = (J) => {
|
|
7100
|
+
const Q = [], U = J[2], K = U.displays, L = U.scenes, W = U[g("2D3D集成根目录")];
|
|
7101
|
+
O(K, "2D", "/enterpriseadmin/ioc-server/?type=preview&tag=displays", Q), O(L, "3D", "/enterpriseadmin/ioc-server/?type=preview3d&tag=scenes", Q), O(W, g("集成"), "/enterpriseadmin/ioc-server/?type=preview2d3d&tag=scenes", Q);
|
|
7102
7102
|
const E = (n.value - 1) * d.value, w = E + d.value;
|
|
7103
|
-
z.value =
|
|
7104
|
-
}, O = (
|
|
7105
|
-
for (const L in
|
|
7106
|
-
const W =
|
|
7103
|
+
z.value = Q.filter((zA) => zA.name.includes(x.value)).slice(E, w), u.value = Q.length;
|
|
7104
|
+
}, O = (J, Q, U, K) => {
|
|
7105
|
+
for (const L in J) {
|
|
7106
|
+
const W = J[L];
|
|
7107
7107
|
if (W !== !0)
|
|
7108
|
-
O(W,
|
|
7108
|
+
O(W, Q, `${U}/${L}`, K);
|
|
7109
7109
|
else if (L.includes(".json")) {
|
|
7110
|
-
const E = `${
|
|
7111
|
-
|
|
7110
|
+
const E = `${U}/${L}&showLayout=false`;
|
|
7111
|
+
K.push({ id: E, name: L.slice(0, -5), type: Q, url: E });
|
|
7112
7112
|
}
|
|
7113
7113
|
}
|
|
7114
7114
|
}, R = () => {
|
|
7115
7115
|
n.value = 1, u.value = 0, x.value = "";
|
|
7116
7116
|
}, V = () => {
|
|
7117
|
-
var
|
|
7118
|
-
R(), P.value = ((
|
|
7119
|
-
}, l = (
|
|
7120
|
-
i.value =
|
|
7117
|
+
var J, Q, U;
|
|
7118
|
+
R(), P.value = ((J = A.value) == null ? void 0 : J.urlType) ?? 0, X.value = ((Q = A.value) == null ? void 0 : Q.urlId) ?? "", i.value = ((U = A.value) == null ? void 0 : U.routeUrl) ?? "", rf.afterMsg = p, N(), r.value = !0;
|
|
7119
|
+
}, l = (J, Q, U) => {
|
|
7120
|
+
i.value = Q.url;
|
|
7121
7121
|
}, j = () => {
|
|
7122
7122
|
if (!X.value) {
|
|
7123
|
-
Ie.warning(
|
|
7123
|
+
Ie.warning(g("至少选择一个链接"));
|
|
7124
7124
|
return;
|
|
7125
7125
|
}
|
|
7126
7126
|
A.value.urlType = P.value, A.value.urlId = X.value, A.value.routeUrl = i.value, r.value = !1;
|
|
7127
|
-
}, m = (
|
|
7128
|
-
R(), P.value =
|
|
7127
|
+
}, m = (J) => {
|
|
7128
|
+
R(), P.value = J, X.value = "", i.value = "", N();
|
|
7129
7129
|
}, N = () => {
|
|
7130
7130
|
if (f.type !== 7) return;
|
|
7131
7131
|
({
|
|
7132
7132
|
0: Z,
|
|
7133
7133
|
1: T,
|
|
7134
7134
|
2: G,
|
|
7135
|
-
3:
|
|
7136
|
-
4:
|
|
7135
|
+
3: h,
|
|
7136
|
+
4: M
|
|
7137
7137
|
})[P.value]();
|
|
7138
7138
|
}, Z = async () => {
|
|
7139
|
-
const
|
|
7140
|
-
rf.send(JSON.stringify(
|
|
7139
|
+
const J = ["explore", "explore-displays", `proj/${v.value}`];
|
|
7140
|
+
rf.send(JSON.stringify(J));
|
|
7141
7141
|
}, T = async () => {
|
|
7142
|
-
const
|
|
7142
|
+
const J = {
|
|
7143
7143
|
project: v.value,
|
|
7144
7144
|
groupName: x.value,
|
|
7145
7145
|
pageIndex: n.value,
|
|
7146
7146
|
pageSize: d.value
|
|
7147
7147
|
};
|
|
7148
7148
|
c.value = !0;
|
|
7149
|
-
const [
|
|
7150
|
-
if (c.value = !1,
|
|
7149
|
+
const [Q, U] = await b(J);
|
|
7150
|
+
if (c.value = !1, Q) {
|
|
7151
7151
|
z.value = [];
|
|
7152
7152
|
return;
|
|
7153
7153
|
}
|
|
7154
|
-
z.value =
|
|
7154
|
+
z.value = U.data.map((K) => (K.type = g("图纸编排"), K.name = K.groupName, K)) || [], u.value = U.totalCount;
|
|
7155
7155
|
}, G = async () => {
|
|
7156
|
-
const
|
|
7156
|
+
const J = {
|
|
7157
7157
|
project: v.value,
|
|
7158
7158
|
name: x.value,
|
|
7159
7159
|
pageIndex: n.value,
|
|
7160
7160
|
pageSize: d.value
|
|
7161
7161
|
};
|
|
7162
7162
|
c.value = !0;
|
|
7163
|
-
const [
|
|
7164
|
-
if (c.value = !1,
|
|
7163
|
+
const [Q, U] = await s(J);
|
|
7164
|
+
if (c.value = !1, Q) {
|
|
7165
7165
|
z.value = [];
|
|
7166
7166
|
return;
|
|
7167
7167
|
}
|
|
7168
|
-
z.value =
|
|
7169
|
-
},
|
|
7170
|
-
const
|
|
7168
|
+
z.value = U.data.map((K) => (K.type = g("设备看板"), K)) || [], u.value = U.totalCount;
|
|
7169
|
+
}, M = async () => {
|
|
7170
|
+
const J = {
|
|
7171
7171
|
project: v.value,
|
|
7172
7172
|
pageName: x.value,
|
|
7173
7173
|
pageIndex: n.value,
|
|
7174
7174
|
pageSize: d.value
|
|
7175
7175
|
};
|
|
7176
7176
|
c.value = !0;
|
|
7177
|
-
const [
|
|
7178
|
-
if (c.value = !1,
|
|
7177
|
+
const [Q, U] = await a(J);
|
|
7178
|
+
if (c.value = !1, Q) {
|
|
7179
7179
|
z.value = [];
|
|
7180
7180
|
return;
|
|
7181
7181
|
}
|
|
7182
|
-
z.value =
|
|
7183
|
-
},
|
|
7184
|
-
const
|
|
7182
|
+
z.value = U.data.map((K) => (K.type = g("轻分析"), K.name = K.pageName, K.url = K.uri, K)) || [], u.value = U.totalCount;
|
|
7183
|
+
}, h = async () => {
|
|
7184
|
+
const J = {
|
|
7185
7185
|
project: v.value,
|
|
7186
7186
|
name: x.value,
|
|
7187
7187
|
pageIndex: n.value,
|
|
7188
7188
|
pageSize: d.value
|
|
7189
7189
|
};
|
|
7190
7190
|
c.value = !0;
|
|
7191
|
-
const [
|
|
7192
|
-
if (c.value = !1,
|
|
7191
|
+
const [Q, U] = await q(J);
|
|
7192
|
+
if (c.value = !1, Q) {
|
|
7193
7193
|
z.value = [];
|
|
7194
7194
|
return;
|
|
7195
7195
|
}
|
|
7196
|
-
z.value =
|
|
7196
|
+
z.value = U.data.map((K) => (K.type = g("数据编排"), K)) || [], u.value = U.totalCount;
|
|
7197
7197
|
};
|
|
7198
|
-
return
|
|
7198
|
+
return CA(() => {
|
|
7199
7199
|
rf || (rf = new lf({ url: u6, reconnectWhenClose: !0, message: p }));
|
|
7200
7200
|
}), {
|
|
7201
7201
|
loading: c,
|
|
@@ -7220,7 +7220,7 @@ const z6 = (e) => {
|
|
|
7220
7220
|
setup(e, { expose: A, emit: f }) {
|
|
7221
7221
|
const v = f, r = o(!1), P = wA(() => {
|
|
7222
7222
|
var n;
|
|
7223
|
-
return (n = P9.value) != null && n.homeAlias ? P9.value.homeAlias :
|
|
7223
|
+
return (n = P9.value) != null && n.homeAlias ? P9.value.homeAlias : g("首页");
|
|
7224
7224
|
}), t = () => {
|
|
7225
7225
|
r.value = !0;
|
|
7226
7226
|
}, z = () => {
|
|
@@ -7241,26 +7241,26 @@ const z6 = (e) => {
|
|
|
7241
7241
|
onConfirm: z,
|
|
7242
7242
|
onCancel: d
|
|
7243
7243
|
}, {
|
|
7244
|
-
header:
|
|
7244
|
+
header: F(() => [
|
|
7245
7245
|
aA(
|
|
7246
|
-
rA(D(
|
|
7246
|
+
rA(D(g)("操作确认")),
|
|
7247
7247
|
1
|
|
7248
7248
|
/* TEXT */
|
|
7249
7249
|
)
|
|
7250
7250
|
]),
|
|
7251
|
-
feedbackImg:
|
|
7252
|
-
|
|
7251
|
+
feedbackImg: F(() => [
|
|
7252
|
+
Y("img", {
|
|
7253
7253
|
src: D(d6),
|
|
7254
7254
|
width: "168",
|
|
7255
7255
|
height: "96",
|
|
7256
7256
|
alt: ""
|
|
7257
7257
|
}, null, 8, X6)
|
|
7258
7258
|
]),
|
|
7259
|
-
default:
|
|
7260
|
-
|
|
7259
|
+
default: F(() => [
|
|
7260
|
+
Y(
|
|
7261
7261
|
"div",
|
|
7262
7262
|
b6,
|
|
7263
|
-
rA(D(
|
|
7263
|
+
rA(D(g)("framework-reset-home-confirm", P.value)),
|
|
7264
7264
|
1
|
|
7265
7265
|
/* TEXT */
|
|
7266
7266
|
)
|
|
@@ -7280,14 +7280,14 @@ const z6 = (e) => {
|
|
|
7280
7280
|
routeUrl: "",
|
|
7281
7281
|
homeAlias: ""
|
|
7282
7282
|
}), d = async () => {
|
|
7283
|
-
const
|
|
7283
|
+
const C = { orgId: r.id }, [$, eA] = await $5().run(C);
|
|
7284
7284
|
if ($) {
|
|
7285
7285
|
t.value = [];
|
|
7286
7286
|
return;
|
|
7287
7287
|
}
|
|
7288
7288
|
t.value = eA;
|
|
7289
7289
|
}, n = async () => {
|
|
7290
|
-
const
|
|
7290
|
+
const C = { orgId: r.id }, [$, eA] = await C5().run(C);
|
|
7291
7291
|
$ || (P.value = eA);
|
|
7292
7292
|
}, u = async () => {
|
|
7293
7293
|
await d(), await n();
|
|
@@ -7318,57 +7318,57 @@ const z6 = (e) => {
|
|
|
7318
7318
|
pageSize: Z,
|
|
7319
7319
|
pageIndex: T,
|
|
7320
7320
|
totalCount: G,
|
|
7321
|
-
tableFilter:
|
|
7322
|
-
urlId:
|
|
7323
|
-
openUrlDialog:
|
|
7324
|
-
tableChange:
|
|
7325
|
-
confirmUrl:
|
|
7326
|
-
changeType:
|
|
7321
|
+
tableFilter: M,
|
|
7322
|
+
urlId: h,
|
|
7323
|
+
openUrlDialog: J,
|
|
7324
|
+
tableChange: Q,
|
|
7325
|
+
confirmUrl: U,
|
|
7326
|
+
changeType: K,
|
|
7327
7327
|
getTable: L
|
|
7328
7328
|
} = z6({
|
|
7329
7329
|
orgInfo: r,
|
|
7330
7330
|
information: P
|
|
7331
7331
|
}), W = () => {
|
|
7332
|
-
!P.value.type || P.value.type === 3 || (P.value.type === 1 ? a() :
|
|
7332
|
+
!P.value.type || P.value.type === 3 || (P.value.type === 1 ? a() : J());
|
|
7333
7333
|
}, E = o(null), w = () => {
|
|
7334
|
-
var
|
|
7335
|
-
(
|
|
7336
|
-
}, zA = async (
|
|
7334
|
+
var C;
|
|
7335
|
+
(C = E.value) == null || C.open();
|
|
7336
|
+
}, zA = async (C) => {
|
|
7337
7337
|
const [$, eA] = await _5().run();
|
|
7338
|
-
$ || (await n(), await Je(),
|
|
7339
|
-
}, dA = () => (P.value.type === 1 || P.value.type === 2) && !P.value.routeUrl ? (z.value.routeUrl =
|
|
7340
|
-
const
|
|
7341
|
-
id:
|
|
7342
|
-
type:
|
|
7343
|
-
homeAlias:
|
|
7344
|
-
routeUrl:
|
|
7338
|
+
$ || (await n(), await Je(), C(), v("reset-confirm"));
|
|
7339
|
+
}, dA = () => (P.value.type === 1 || P.value.type === 2) && !P.value.routeUrl ? (z.value.routeUrl = g("必填"), !1) : (z.value.routeUrl = "", P.value.homeAlias && P.value.homeAlias.length > 50 ? (z.value.homeAlias = g("最多50个字符,可以是任意字符"), !1) : (z.value.homeAlias = "", !0)), mA = () => {
|
|
7340
|
+
const C = P.value, $ = {
|
|
7341
|
+
id: C.id,
|
|
7342
|
+
type: C.type,
|
|
7343
|
+
homeAlias: C.homeAlias,
|
|
7344
|
+
routeUrl: C.routeUrl,
|
|
7345
7345
|
orgId: r.id
|
|
7346
7346
|
};
|
|
7347
|
-
return $.type === 1 && ($.portalId =
|
|
7347
|
+
return $.type === 1 && ($.portalId = C.originalId || C.portalId, $.originalCode = C.originalCode, $.applicationPath = C.applicationPath, $.urlId = C.urlId, $.urlPath = C.urlPath), $.type === 2 && ($.urlType = C.urlType, $.urlId = C.urlId), $;
|
|
7348
7348
|
};
|
|
7349
|
-
return
|
|
7349
|
+
return CA(u), A({
|
|
7350
7350
|
init: u,
|
|
7351
7351
|
formValidate: dA,
|
|
7352
7352
|
getResult: mA
|
|
7353
|
-
}), (
|
|
7353
|
+
}), (C, $) => (fA(), OA(
|
|
7354
7354
|
s9,
|
|
7355
7355
|
null,
|
|
7356
7356
|
[
|
|
7357
|
-
h9(
|
|
7357
|
+
h9(Y(
|
|
7358
7358
|
"div",
|
|
7359
7359
|
a6,
|
|
7360
7360
|
[
|
|
7361
|
-
|
|
7361
|
+
k(D(Me), {
|
|
7362
7362
|
width: "100%",
|
|
7363
7363
|
"label-length": 6,
|
|
7364
7364
|
"align-type": "horizontal",
|
|
7365
7365
|
cols: 1
|
|
7366
7366
|
}, {
|
|
7367
|
-
default:
|
|
7367
|
+
default: F(() => [
|
|
7368
7368
|
nA(" 首页展示类型 1内置门户 2外置门户 3轻分析 "),
|
|
7369
|
-
|
|
7369
|
+
k(D(LA), {
|
|
7370
7370
|
type: "select",
|
|
7371
|
-
label: D(
|
|
7371
|
+
label: D(g)("展示类型"),
|
|
7372
7372
|
modelValue: P.value.type,
|
|
7373
7373
|
"onUpdate:modelValue": $[0] || ($[0] = (eA) => P.value.type = eA),
|
|
7374
7374
|
options: t.value,
|
|
@@ -7377,24 +7377,24 @@ const z6 = (e) => {
|
|
|
7377
7377
|
"margin-right": "0",
|
|
7378
7378
|
onChange: x
|
|
7379
7379
|
}, null, 8, ["label", "modelValue", "options"]),
|
|
7380
|
-
|
|
7380
|
+
k(D(LA), {
|
|
7381
7381
|
type: "custom",
|
|
7382
|
-
label: D(
|
|
7382
|
+
label: D(g)("链接"),
|
|
7383
7383
|
error: z.value.routeUrl,
|
|
7384
7384
|
"onUpdate:error": $[2] || ($[2] = (eA) => z.value.routeUrl = eA),
|
|
7385
7385
|
"margin-right": "0",
|
|
7386
7386
|
required: P.value.type === 1 || P.value.type === 2
|
|
7387
7387
|
}, {
|
|
7388
|
-
default:
|
|
7389
|
-
|
|
7388
|
+
default: F(() => [
|
|
7389
|
+
k(D(Ve), {
|
|
7390
7390
|
modelValue: P.value.routeUrl,
|
|
7391
7391
|
"onUpdate:modelValue": $[1] || ($[1] = (eA) => P.value.routeUrl = eA),
|
|
7392
7392
|
maxLength: 1e3,
|
|
7393
7393
|
width: "100%",
|
|
7394
7394
|
disabled: P.value.type !== 2
|
|
7395
7395
|
}, {
|
|
7396
|
-
suffix:
|
|
7397
|
-
|
|
7396
|
+
suffix: F(() => [
|
|
7397
|
+
k(D(rr), {
|
|
7398
7398
|
class: B3({ disabled: !P.value.type || P.value.type === 3 }),
|
|
7399
7399
|
"icon-color": !P.value.type || P.value.type === 3 ? D(i7)("--das-ui-portal-management-disabled-color") : D(i7)("--das-ui-color-secondary"),
|
|
7400
7400
|
onClick: W
|
|
@@ -7407,10 +7407,10 @@ const z6 = (e) => {
|
|
|
7407
7407
|
_: 1
|
|
7408
7408
|
/* STABLE */
|
|
7409
7409
|
}, 8, ["label", "error", "required"]),
|
|
7410
|
-
|
|
7410
|
+
k(D(LA), {
|
|
7411
7411
|
type: "input",
|
|
7412
7412
|
prop: "homeAlias",
|
|
7413
|
-
label: D(
|
|
7413
|
+
label: D(g)("别名"),
|
|
7414
7414
|
maxlength: 50,
|
|
7415
7415
|
modelValue: P.value.homeAlias,
|
|
7416
7416
|
"onUpdate:modelValue": $[3] || ($[3] = (eA) => P.value.homeAlias = eA),
|
|
@@ -7418,22 +7418,22 @@ const z6 = (e) => {
|
|
|
7418
7418
|
"onUpdate:error": $[4] || ($[4] = (eA) => z.value.homeAlias = eA),
|
|
7419
7419
|
"margin-right": "0"
|
|
7420
7420
|
}, null, 8, ["label", "modelValue", "error"]),
|
|
7421
|
-
|
|
7421
|
+
k(D(LA), {
|
|
7422
7422
|
type: "custom",
|
|
7423
|
-
label: D(
|
|
7423
|
+
label: D(g)("还原"),
|
|
7424
7424
|
"margin-right": "0"
|
|
7425
7425
|
}, {
|
|
7426
|
-
default:
|
|
7427
|
-
|
|
7426
|
+
default: F(() => [
|
|
7427
|
+
k(D(BA), {
|
|
7428
7428
|
btnType: "primary",
|
|
7429
7429
|
ghost: "",
|
|
7430
7430
|
size: "middle",
|
|
7431
7431
|
block: "",
|
|
7432
7432
|
onClick: w
|
|
7433
7433
|
}, {
|
|
7434
|
-
default:
|
|
7434
|
+
default: F(() => [
|
|
7435
7435
|
aA(
|
|
7436
|
-
rA(D(
|
|
7436
|
+
rA(D(g)("恢复项目初始设置")),
|
|
7437
7437
|
1
|
|
7438
7438
|
/* TEXT */
|
|
7439
7439
|
)
|
|
@@ -7453,26 +7453,26 @@ const z6 = (e) => {
|
|
|
7453
7453
|
512
|
|
7454
7454
|
/* NEED_PATCH */
|
|
7455
7455
|
), [
|
|
7456
|
-
[af,
|
|
7456
|
+
[af, C.isShow]
|
|
7457
7457
|
]),
|
|
7458
7458
|
nA(" 内置链接选择弹窗 "),
|
|
7459
|
-
|
|
7459
|
+
k(D(Z9), {
|
|
7460
7460
|
modelValue: D(X),
|
|
7461
7461
|
"onUpdate:modelValue": $[9] || ($[9] = (eA) => JA(X) ? X.value = eA : null),
|
|
7462
7462
|
"body-style": { padding: 0 },
|
|
7463
|
-
title: D(
|
|
7463
|
+
title: D(g)("选择内置门户菜单"),
|
|
7464
7464
|
width: "610px",
|
|
7465
7465
|
height: "580px"
|
|
7466
7466
|
}, {
|
|
7467
|
-
footer:
|
|
7468
|
-
|
|
7469
|
-
|
|
7467
|
+
footer: F(() => [
|
|
7468
|
+
Y("div", null, [
|
|
7469
|
+
k(D(BA), {
|
|
7470
7470
|
size: "middle",
|
|
7471
7471
|
onClick: $[8] || ($[8] = (eA) => X.value = !1)
|
|
7472
7472
|
}, {
|
|
7473
|
-
default:
|
|
7473
|
+
default: F(() => [
|
|
7474
7474
|
aA(
|
|
7475
|
-
rA(D(
|
|
7475
|
+
rA(D(g)("取消")),
|
|
7476
7476
|
1
|
|
7477
7477
|
/* TEXT */
|
|
7478
7478
|
)
|
|
@@ -7480,15 +7480,15 @@ const z6 = (e) => {
|
|
|
7480
7480
|
_: 1
|
|
7481
7481
|
/* STABLE */
|
|
7482
7482
|
}),
|
|
7483
|
-
|
|
7483
|
+
k(D(BA), {
|
|
7484
7484
|
btnType: "primary",
|
|
7485
7485
|
size: "middle",
|
|
7486
7486
|
style: { "margin-left": "12px" },
|
|
7487
7487
|
onClick: D(R)
|
|
7488
7488
|
}, {
|
|
7489
|
-
default:
|
|
7489
|
+
default: F(() => [
|
|
7490
7490
|
aA(
|
|
7491
|
-
rA(D(
|
|
7491
|
+
rA(D(g)("确定")),
|
|
7492
7492
|
1
|
|
7493
7493
|
/* TEXT */
|
|
7494
7494
|
)
|
|
@@ -7498,8 +7498,8 @@ const z6 = (e) => {
|
|
|
7498
7498
|
}, 8, ["onClick"])
|
|
7499
7499
|
])
|
|
7500
7500
|
]),
|
|
7501
|
-
default:
|
|
7502
|
-
|
|
7501
|
+
default: F(() => [
|
|
7502
|
+
k(D(tr), {
|
|
7503
7503
|
"node-key": "id",
|
|
7504
7504
|
ref_key: "$typeTree",
|
|
7505
7505
|
ref: i,
|
|
@@ -7514,7 +7514,7 @@ const z6 = (e) => {
|
|
|
7514
7514
|
"default-expanded-keys": ["-1"],
|
|
7515
7515
|
load: D(H),
|
|
7516
7516
|
search: D(p),
|
|
7517
|
-
"input-options": { placeholder: D(
|
|
7517
|
+
"input-options": { placeholder: D(g)("搜索门户名称") },
|
|
7518
7518
|
onNodeClick: D(O)
|
|
7519
7519
|
}, null, 8, ["modelValue", "path", "filter-value", "data", "load", "search", "input-options", "onNodeClick"])
|
|
7520
7520
|
]),
|
|
@@ -7522,24 +7522,24 @@ const z6 = (e) => {
|
|
|
7522
7522
|
/* STABLE */
|
|
7523
7523
|
}, 8, ["modelValue", "title"]),
|
|
7524
7524
|
nA(" 非内置链接选择弹窗 "),
|
|
7525
|
-
|
|
7525
|
+
k(D(Z9), {
|
|
7526
7526
|
modelValue: D(l),
|
|
7527
7527
|
"onUpdate:modelValue": $[16] || ($[16] = (eA) => JA(l) ? l.value = eA : null),
|
|
7528
7528
|
"custom-class": "framework-portal-management-url-dialog",
|
|
7529
7529
|
"body-style": { padding: 0 },
|
|
7530
|
-
title: D(
|
|
7530
|
+
title: D(g)("选择URL链接"),
|
|
7531
7531
|
width: "960px",
|
|
7532
7532
|
height: "580px"
|
|
7533
7533
|
}, {
|
|
7534
|
-
footer:
|
|
7535
|
-
|
|
7536
|
-
|
|
7534
|
+
footer: F(() => [
|
|
7535
|
+
Y("div", null, [
|
|
7536
|
+
k(D(BA), {
|
|
7537
7537
|
size: "middle",
|
|
7538
7538
|
onClick: $[15] || ($[15] = (eA) => l.value = !1)
|
|
7539
7539
|
}, {
|
|
7540
|
-
default:
|
|
7540
|
+
default: F(() => [
|
|
7541
7541
|
aA(
|
|
7542
|
-
rA(D(
|
|
7542
|
+
rA(D(g)("取消")),
|
|
7543
7543
|
1
|
|
7544
7544
|
/* TEXT */
|
|
7545
7545
|
)
|
|
@@ -7547,15 +7547,15 @@ const z6 = (e) => {
|
|
|
7547
7547
|
_: 1
|
|
7548
7548
|
/* STABLE */
|
|
7549
7549
|
}),
|
|
7550
|
-
|
|
7550
|
+
k(D(BA), {
|
|
7551
7551
|
btnType: "primary",
|
|
7552
7552
|
size: "middle",
|
|
7553
7553
|
style: { "margin-left": "12px" },
|
|
7554
|
-
onClick: D(
|
|
7554
|
+
onClick: D(U)
|
|
7555
7555
|
}, {
|
|
7556
|
-
default:
|
|
7556
|
+
default: F(() => [
|
|
7557
7557
|
aA(
|
|
7558
|
-
rA(D(
|
|
7558
|
+
rA(D(g)("确定")),
|
|
7559
7559
|
1
|
|
7560
7560
|
/* TEXT */
|
|
7561
7561
|
)
|
|
@@ -7565,45 +7565,45 @@ const z6 = (e) => {
|
|
|
7565
7565
|
}, 8, ["onClick"])
|
|
7566
7566
|
])
|
|
7567
7567
|
]),
|
|
7568
|
-
default:
|
|
7569
|
-
|
|
7570
|
-
default:
|
|
7571
|
-
|
|
7572
|
-
|
|
7573
|
-
|
|
7568
|
+
default: F(() => [
|
|
7569
|
+
k(D(mf), { spinning: D(V) }, {
|
|
7570
|
+
default: F(() => [
|
|
7571
|
+
Y("div", i6, [
|
|
7572
|
+
Y("div", s6, [
|
|
7573
|
+
Y(
|
|
7574
7574
|
"div",
|
|
7575
7575
|
q6,
|
|
7576
|
-
rA(D(
|
|
7576
|
+
rA(D(g)("类型")),
|
|
7577
7577
|
1
|
|
7578
7578
|
/* TEXT */
|
|
7579
7579
|
),
|
|
7580
|
-
|
|
7580
|
+
k(D(C3), {
|
|
7581
7581
|
modelValue: D(j),
|
|
7582
7582
|
"onUpdate:modelValue": $[10] || ($[10] = (eA) => JA(j) ? j.value = eA : null),
|
|
7583
7583
|
size: "small",
|
|
7584
7584
|
width: "200px",
|
|
7585
7585
|
options: D(m),
|
|
7586
|
-
onChange: D(
|
|
7586
|
+
onChange: D(K)
|
|
7587
7587
|
}, null, 8, ["modelValue", "options", "onChange"])
|
|
7588
7588
|
]),
|
|
7589
|
-
|
|
7590
|
-
|
|
7591
|
-
modelValue: D(
|
|
7592
|
-
"onUpdate:modelValue": $[11] || ($[11] = (eA) => JA(
|
|
7589
|
+
Y("div", H6, [
|
|
7590
|
+
k(D(ur), {
|
|
7591
|
+
modelValue: D(M),
|
|
7592
|
+
"onUpdate:modelValue": $[11] || ($[11] = (eA) => JA(M) ? M.value = eA : null),
|
|
7593
7593
|
clearable: "",
|
|
7594
7594
|
size: "small",
|
|
7595
|
-
placeholder: D(
|
|
7595
|
+
placeholder: D(g)("搜索名称"),
|
|
7596
7596
|
onChange: D(L),
|
|
7597
7597
|
"is-icon-left": "",
|
|
7598
7598
|
onSearch: D(L)
|
|
7599
7599
|
}, null, 8, ["modelValue", "placeholder", "onChange", "onSearch"])
|
|
7600
7600
|
])
|
|
7601
7601
|
]),
|
|
7602
|
-
|
|
7603
|
-
|
|
7602
|
+
Y("div", p6, [
|
|
7603
|
+
k(D(nr), {
|
|
7604
7604
|
data: D(N),
|
|
7605
|
-
currentRodioSelection: D(
|
|
7606
|
-
"onUpdate:currentRodioSelection": $[12] || ($[12] = (eA) => JA(
|
|
7605
|
+
currentRodioSelection: D(h),
|
|
7606
|
+
"onUpdate:currentRodioSelection": $[12] || ($[12] = (eA) => JA(h) ? h.value = eA : null),
|
|
7607
7607
|
"radio-selection": { selectable: () => !0 },
|
|
7608
7608
|
"max-height": "100%",
|
|
7609
7609
|
"current-page": D(T),
|
|
@@ -7612,23 +7612,23 @@ const z6 = (e) => {
|
|
|
7612
7612
|
"onUpdate:pageSize": $[14] || ($[14] = (eA) => JA(Z) ? Z.value = eA : null),
|
|
7613
7613
|
total: D(G),
|
|
7614
7614
|
"pagination-props": { layout: "prev,next,sizes" },
|
|
7615
|
-
onRadioChange: D(
|
|
7615
|
+
onRadioChange: D(Q),
|
|
7616
7616
|
onCurrentPageChange: D(L),
|
|
7617
7617
|
onSizeChange: D(L)
|
|
7618
7618
|
}, {
|
|
7619
|
-
default:
|
|
7620
|
-
|
|
7621
|
-
label: D(
|
|
7619
|
+
default: F(() => [
|
|
7620
|
+
k(D(Wf), {
|
|
7621
|
+
label: D(g)("名称"),
|
|
7622
7622
|
"min-width": "36px",
|
|
7623
7623
|
prop: "name"
|
|
7624
7624
|
}, null, 8, ["label"]),
|
|
7625
|
-
|
|
7626
|
-
label: D(
|
|
7625
|
+
k(D(Wf), {
|
|
7626
|
+
label: D(g)("类型"),
|
|
7627
7627
|
"min-width": "36px",
|
|
7628
7628
|
prop: "type"
|
|
7629
7629
|
}, null, 8, ["label"]),
|
|
7630
|
-
|
|
7631
|
-
label: D(
|
|
7630
|
+
k(D(Wf), {
|
|
7631
|
+
label: D(g)("URL链接地址"),
|
|
7632
7632
|
"min-width": "72px",
|
|
7633
7633
|
prop: "url"
|
|
7634
7634
|
}, null, 8, ["label"])
|
|
@@ -7646,7 +7646,7 @@ const z6 = (e) => {
|
|
|
7646
7646
|
/* STABLE */
|
|
7647
7647
|
}, 8, ["modelValue", "title"]),
|
|
7648
7648
|
nA(" 恢复项目初始设置 二次确认 "),
|
|
7649
|
-
|
|
7649
|
+
k(
|
|
7650
7650
|
c6,
|
|
7651
7651
|
{
|
|
7652
7652
|
ref_key: "resetDialogRef",
|
|
@@ -7668,22 +7668,22 @@ const z6 = (e) => {
|
|
|
7668
7668
|
const f = o(!1), v = o(!1), r = o(null), P = o(null), t = o(null), z = o("theme"), d = o(""), n = o(!0), u = wA(() => [
|
|
7669
7669
|
{
|
|
7670
7670
|
key: "theme",
|
|
7671
|
-
tab:
|
|
7671
|
+
tab: g("主题设置")
|
|
7672
7672
|
},
|
|
7673
7673
|
{
|
|
7674
7674
|
key: "lang",
|
|
7675
|
-
tab:
|
|
7675
|
+
tab: g("语言设置"),
|
|
7676
7676
|
hidden: Number(c7()) < 2
|
|
7677
7677
|
},
|
|
7678
7678
|
{
|
|
7679
7679
|
key: "home",
|
|
7680
|
-
tab:
|
|
7680
|
+
tab: g("home-set", d.value),
|
|
7681
7681
|
hidden: !n.value
|
|
7682
7682
|
}
|
|
7683
7683
|
]), x = () => {
|
|
7684
7684
|
var c, s;
|
|
7685
7685
|
const { flag: i } = Hf();
|
|
7686
|
-
i === 4 && (n.value = (c = P9.value) == null ? void 0 : c.companyIsDisplayHome), d.value = (s = P9.value) != null && s.homeAlias ? P9.value.homeAlias :
|
|
7686
|
+
i === 4 && (n.value = (c = P9.value) == null ? void 0 : c.companyIsDisplayHome), d.value = (s = P9.value) != null && s.homeAlias ? P9.value.homeAlias : g("首页"), f.value = !0;
|
|
7687
7687
|
}, X = async () => {
|
|
7688
7688
|
var s, b, q, a;
|
|
7689
7689
|
const i = (s = r.value) == null ? void 0 : s.getResult(), [c] = await D6().run(i);
|
|
@@ -7707,7 +7707,7 @@ const z6 = (e) => {
|
|
|
7707
7707
|
z.value = "home";
|
|
7708
7708
|
return;
|
|
7709
7709
|
}
|
|
7710
|
-
Ie.success(
|
|
7710
|
+
Ie.success(g("保存成功")), f.value = !1, window.__isAutoCloseApp = !1, window.location.reload();
|
|
7711
7711
|
}
|
|
7712
7712
|
};
|
|
7713
7713
|
return A({
|
|
@@ -7721,14 +7721,14 @@ const z6 = (e) => {
|
|
|
7721
7721
|
"body-style": { padding: 0 },
|
|
7722
7722
|
direction: "rtl"
|
|
7723
7723
|
}, {
|
|
7724
|
-
footer:
|
|
7725
|
-
|
|
7726
|
-
|
|
7724
|
+
footer: F(() => [
|
|
7725
|
+
Y("div", j6, [
|
|
7726
|
+
k(D(BA), {
|
|
7727
7727
|
size: "middle",
|
|
7728
7728
|
onClick: c[2] || (c[2] = (s) => f.value = !1),
|
|
7729
7729
|
style: { "margin-right": "12px" }
|
|
7730
7730
|
}, {
|
|
7731
|
-
default:
|
|
7731
|
+
default: F(() => [
|
|
7732
7732
|
aA(
|
|
7733
7733
|
rA(D(AA)("取消").value),
|
|
7734
7734
|
1
|
|
@@ -7738,13 +7738,13 @@ const z6 = (e) => {
|
|
|
7738
7738
|
_: 1
|
|
7739
7739
|
/* STABLE */
|
|
7740
7740
|
}),
|
|
7741
|
-
|
|
7741
|
+
k(D(BA), {
|
|
7742
7742
|
btnType: "primary",
|
|
7743
7743
|
size: "middle",
|
|
7744
7744
|
loading: v.value,
|
|
7745
7745
|
onClick: X
|
|
7746
7746
|
}, {
|
|
7747
|
-
default:
|
|
7747
|
+
default: F(() => [
|
|
7748
7748
|
aA(
|
|
7749
7749
|
rA(D(AA)("确定").value),
|
|
7750
7750
|
1
|
|
@@ -7756,24 +7756,24 @@ const z6 = (e) => {
|
|
|
7756
7756
|
}, 8, ["loading"])
|
|
7757
7757
|
])
|
|
7758
7758
|
]),
|
|
7759
|
-
default:
|
|
7760
|
-
|
|
7759
|
+
default: F(() => [
|
|
7760
|
+
k(D(er), {
|
|
7761
7761
|
options: u.value,
|
|
7762
7762
|
activeKey: z.value,
|
|
7763
7763
|
"onUpdate:activeKey": c[0] || (c[0] = (s) => z.value = s),
|
|
7764
7764
|
"tab-width": "110px"
|
|
7765
7765
|
}, null, 8, ["options", "activeKey"]),
|
|
7766
|
-
|
|
7766
|
+
k(D(B5), {
|
|
7767
7767
|
ref_key: "setThemeStyleRef",
|
|
7768
7768
|
ref: r,
|
|
7769
7769
|
isShow: z.value === "theme"
|
|
7770
7770
|
}, null, 8, ["isShow"]),
|
|
7771
|
-
|
|
7771
|
+
k(D(Y5), {
|
|
7772
7772
|
ref_key: "setLangRef",
|
|
7773
7773
|
ref: t,
|
|
7774
7774
|
isShow: z.value === "lang"
|
|
7775
7775
|
}, null, 8, ["isShow"]),
|
|
7776
|
-
|
|
7776
|
+
k(D(O6), {
|
|
7777
7777
|
ref_key: "setHomeRef",
|
|
7778
7778
|
ref: P,
|
|
7779
7779
|
isShow: z.value === "home",
|
|
@@ -7811,8 +7811,8 @@ const z6 = (e) => {
|
|
|
7811
7811
|
key: 0,
|
|
7812
7812
|
spinning: !v.value
|
|
7813
7813
|
}, {
|
|
7814
|
-
default:
|
|
7815
|
-
h9(
|
|
7814
|
+
default: F(() => [
|
|
7815
|
+
h9(Y("iframe", {
|
|
7816
7816
|
id: "iframe-view",
|
|
7817
7817
|
ref_key: "iframeRef",
|
|
7818
7818
|
ref: f,
|
|
@@ -7837,15 +7837,15 @@ const z6 = (e) => {
|
|
|
7837
7837
|
const [t, z] = await w6().run({ userId: Hf().id });
|
|
7838
7838
|
t || !z || JSON.stringify(z) === "{}" || (df.open({
|
|
7839
7839
|
key: "loginTip",
|
|
7840
|
-
message:
|
|
7840
|
+
message: g("上次登录信息"),
|
|
7841
7841
|
placement: "bottomRight",
|
|
7842
7842
|
description: RA("div", { class: "last-login-info" }, [
|
|
7843
7843
|
RA(
|
|
7844
7844
|
"div",
|
|
7845
7845
|
{ style: "font-size: 12px;color:#212121;margin-bottom:8px" },
|
|
7846
|
-
|
|
7846
|
+
g("时间:") + yn(z.lastModificationTime)
|
|
7847
7847
|
),
|
|
7848
|
-
RA("div", { style: "font-size: 12px;color:#212121;" },
|
|
7848
|
+
RA("div", { style: "font-size: 12px;color:#212121;" }, g("IP地址:") + z.ip)
|
|
7849
7849
|
])
|
|
7850
7850
|
}), sessionStorage.setItem("loginInfoTip", "true"));
|
|
7851
7851
|
}, v = async () => {
|
|
@@ -7858,7 +7858,7 @@ const z6 = (e) => {
|
|
|
7858
7858
|
};
|
|
7859
7859
|
z();
|
|
7860
7860
|
});
|
|
7861
|
-
return
|
|
7861
|
+
return CA(async () => {
|
|
7862
7862
|
const { loginConfig: t } = await v();
|
|
7863
7863
|
e() || (t != null && t.loginInfoTip && !sessionStorage.getItem("loginInfoTip") && f(), await et(), await vt(), await nt(), await P5(), Y3({ accessToken: t9() }), r.value = !0);
|
|
7864
7864
|
}), {
|
|
@@ -7871,7 +7871,7 @@ const z6 = (e) => {
|
|
|
7871
7871
|
DA(
|
|
7872
7872
|
() => A.path,
|
|
7873
7873
|
(q) => {
|
|
7874
|
-
u.value = q ===
|
|
7874
|
+
u.value = q === A9;
|
|
7875
7875
|
},
|
|
7876
7876
|
{
|
|
7877
7877
|
immediate: !0
|
|
@@ -7879,7 +7879,7 @@ const z6 = (e) => {
|
|
|
7879
7879
|
), DA(
|
|
7880
7880
|
() => [u.value, x.value, n.value],
|
|
7881
7881
|
() => {
|
|
7882
|
-
|
|
7882
|
+
_.nav.setConfig({
|
|
7883
7883
|
showFullScreen: u.value,
|
|
7884
7884
|
showChangeEnterprise: x.value,
|
|
7885
7885
|
showAIHelper: n.value,
|
|
@@ -7902,25 +7902,27 @@ const z6 = (e) => {
|
|
|
7902
7902
|
Qd
|
|
7903
7903
|
]).then((H) => Object.assign(q, ...H)), z.value = !1, q;
|
|
7904
7904
|
}, i = async (q) => {
|
|
7905
|
-
var
|
|
7906
|
-
const a = ((
|
|
7907
|
-
let O = [...dr].map((
|
|
7908
|
-
...
|
|
7909
|
-
label: M
|
|
7905
|
+
var Z, T, G;
|
|
7906
|
+
const a = ((Z = uA()) == null ? void 0 : Z.subAppList) || [], H = a.map((M) => M.code), p = P9.value;
|
|
7907
|
+
let O = [...dr].map((M) => ({
|
|
7908
|
+
...M,
|
|
7909
|
+
label: g(M.label)
|
|
7910
7910
|
}));
|
|
7911
|
-
O.forEach((
|
|
7911
|
+
O.forEach((M) => (p != null && p.appAlias && M.value === SA && (M.label = p.appAlias), p != null && p.homeAlias && M.value === A9 && (M.label = p.homeAlias), M));
|
|
7912
7912
|
const R = () => {
|
|
7913
|
-
const { flag:
|
|
7914
|
-
return
|
|
7913
|
+
const { flag: M } = Hf();
|
|
7914
|
+
return M === 4 ? p == null ? void 0 : p.companyIsDisplayHome : p == null ? void 0 : p.enable;
|
|
7915
7915
|
};
|
|
7916
|
-
let V = q.map((
|
|
7917
|
-
R() || (V = V.filter((
|
|
7918
|
-
const l = V.filter((
|
|
7919
|
-
(
|
|
7916
|
+
let V = q.map((M) => M.id === "-1" || M.id === "-2" ? O.map((h) => ({ ...h, label: g(h.label), name: g(h.label), closable: !1 })).find((h) => h.id === M.id) : M);
|
|
7917
|
+
R() || (V = V.filter((M) => M.id !== "-2"));
|
|
7918
|
+
const l = V.filter((M) => !H.includes(M.code)), j = [...a, ...l].filter(
|
|
7919
|
+
(M) => Bd.value.find((h) => h.code === M.code) || M.id === "-1" || M.id === "-2"
|
|
7920
7920
|
);
|
|
7921
7921
|
EA([{ key: "subAppList", value: j }]);
|
|
7922
|
-
const m =
|
|
7923
|
-
|
|
7922
|
+
const m = (G = (T = uA()) == null ? void 0 : T.subAppList) == null ? void 0 : G.map((M) => ({ ...M, value: M.code, label: M.name }));
|
|
7923
|
+
_.nav.setItems(m);
|
|
7924
|
+
const N = j[0];
|
|
7925
|
+
location.pathname === "/" && P(N, !1);
|
|
7924
7926
|
}, c = o(!1), s = async () => {
|
|
7925
7927
|
var Z;
|
|
7926
7928
|
await e();
|
|
@@ -7929,7 +7931,7 @@ const z6 = (e) => {
|
|
|
7929
7931
|
const { projectConfig: H, currentProject: p, tenantList: O, fixedAppsConfig: R } = a, V = (p == null ? void 0 : p.id) || 0;
|
|
7930
7932
|
q != V && (t.value = t.value === "0" ? "1" : "0"), x.value = ((Z = qf()) == null ? void 0 : Z.flag) !== 4 && O && O.length > 1;
|
|
7931
7933
|
const l = await f("aiPlatform", "aiPlatform.dasaiassistant", "", "enterpriseadmin", !0);
|
|
7932
|
-
n.value = !!l, i(R), H && H.length && (
|
|
7934
|
+
n.value = !!l, i(R), H && H.length && (_.nav.setProjectConfig({
|
|
7933
7935
|
treeProps: {
|
|
7934
7936
|
disabled: (T) => T.type !== 7
|
|
7935
7937
|
},
|
|
@@ -7937,12 +7939,12 @@ const z6 = (e) => {
|
|
|
7937
7939
|
filterNodeMethod: (T) => T.type === 7,
|
|
7938
7940
|
// 树打平之后保留的数据
|
|
7939
7941
|
filterFlatCondition: (T) => T.type === 7
|
|
7940
|
-
}),
|
|
7942
|
+
}), _.nav.setProjects(H || []), p && _.nav.setActiveProject(p));
|
|
7941
7943
|
const j = _9() ?? {}, m = j != null && j.headPicture ? pf(j.headPicture) : void 0;
|
|
7942
7944
|
d.value = [...Xr].map((T) => ({
|
|
7943
7945
|
...T,
|
|
7944
|
-
label:
|
|
7945
|
-
})), p && p.id !== 0 ? await f("personCenter", null, "/userInfo") || (d.value = d.value.filter((G) => G.value !== "1")) : d.value = d.value.filter((T) => T.value !== "1"),
|
|
7946
|
+
label: g(T.label)
|
|
7947
|
+
})), p && p.id !== 0 ? await f("personCenter", null, "/userInfo") || (d.value = d.value.filter((G) => G.value !== "1")) : d.value = d.value.filter((T) => T.value !== "1"), _.nav.setUserInfo({ headPicture: m, commandList: d.value }), _.nav.setSearchConfig({
|
|
7946
7948
|
getHistoryList: v,
|
|
7947
7949
|
getSearchList: r
|
|
7948
7950
|
});
|
|
@@ -7951,7 +7953,7 @@ const z6 = (e) => {
|
|
|
7951
7953
|
T.menus = [], T.originalMenus = [];
|
|
7952
7954
|
}), EA([{ key: "subAppList", value: N }])), c.value = !0;
|
|
7953
7955
|
};
|
|
7954
|
-
return
|
|
7956
|
+
return _.nav.addEventListener("onBeforeMount", s), { loading: z, pageKey: t, commandList: d, layoutInited: c, initNextTick: () => new Promise((q) => {
|
|
7955
7957
|
const a = async () => {
|
|
7956
7958
|
var O;
|
|
7957
7959
|
let H = ((O = A.meta) == null ? void 0 : O.showLayout) ?? !0, { showLayout: p = !0 } = A.query;
|
|
@@ -7974,7 +7976,7 @@ const z6 = (e) => {
|
|
|
7974
7976
|
};
|
|
7975
7977
|
}, g6 = () => {
|
|
7976
7978
|
const { entryMenu: e } = Zf();
|
|
7977
|
-
|
|
7979
|
+
_.menu.addEventListener("onItemClick", async (A) => {
|
|
7978
7980
|
var P;
|
|
7979
7981
|
xA.innerSet = !0;
|
|
7980
7982
|
const f = GA(zf(A.applicationCode)).filter((t) => !t.disable && !t.expired).find((t) => t.code === A.code);
|
|
@@ -7986,21 +7988,21 @@ const z6 = (e) => {
|
|
|
7986
7988
|
}
|
|
7987
7989
|
const r = (((P = jA().tabMap) == null ? void 0 : P[A.applicationCode]) ?? []).find((t) => t.code === A.code);
|
|
7988
7990
|
e(r ? { currentMenu: f, route: { path: r.path, query: r.query ?? {} } } : { currentMenu: f });
|
|
7989
|
-
}),
|
|
7991
|
+
}), _.menu.addEventListener("toggleCollapse", (A) => {
|
|
7990
7992
|
const f = k3.nav.activeItem;
|
|
7991
7993
|
let v = uA().menuCollapses || [];
|
|
7992
7994
|
A ? v = Array.from(/* @__PURE__ */ new Set([...v, f])) : v = v.filter((r) => r !== f), EA([{ key: "menuCollapses", value: v }]);
|
|
7993
7995
|
});
|
|
7994
7996
|
}, B6 = () => {
|
|
7995
7997
|
const { changeApp: e, deleteApp: A, beforeEntryApp: f } = d9();
|
|
7996
|
-
|
|
7998
|
+
_.nav.addEventListener("onItemClick", async (r) => {
|
|
7997
7999
|
const P = uA().currentSubAppCode ?? "";
|
|
7998
8000
|
if (P !== r.code) {
|
|
7999
8001
|
if (P && AP(P), (!r.fixed || !r.unClosed) && !await f(r))
|
|
8000
|
-
throw new Error(
|
|
8002
|
+
throw new Error(g("取消切换"));
|
|
8001
8003
|
e(r);
|
|
8002
8004
|
}
|
|
8003
|
-
}),
|
|
8005
|
+
}), _.nav.addEventListener("onItemRemove", (r) => {
|
|
8004
8006
|
var n;
|
|
8005
8007
|
const P = uA();
|
|
8006
8008
|
if (!((n = P.subAppList) != null && n.length) || P.subAppList.findIndex((u) => u.code === r.code) === -1) return;
|
|
@@ -8008,7 +8010,7 @@ const z6 = (e) => {
|
|
|
8008
8010
|
d && d.length && tf(r.code, d), A(r);
|
|
8009
8011
|
});
|
|
8010
8012
|
const { enter: v } = $9();
|
|
8011
|
-
return
|
|
8013
|
+
return _.nav.addEventListener("fullScreenHandle", v), {};
|
|
8012
8014
|
}, k6 = () => {
|
|
8013
8015
|
const e = p9(), A = o(""), f = o(""), v = o("");
|
|
8014
8016
|
let r = "", P = {};
|
|
@@ -8035,7 +8037,7 @@ const z6 = (e) => {
|
|
|
8035
8037
|
}, x = (c) => {
|
|
8036
8038
|
if (!c || !c.length) return;
|
|
8037
8039
|
const s = c.filter((b) => !b.path.startsWith(c9)).map((b) => b.path);
|
|
8038
|
-
s && s.length && n(s), c.forEach((b) =>
|
|
8040
|
+
s && s.length && n(s), c.forEach((b) => _.iframeView.triggerEventListener("onUnloadPage", b.path));
|
|
8039
8041
|
}, X = (c) => {
|
|
8040
8042
|
const s = uA().currentSubAppCode ?? "";
|
|
8041
8043
|
xA.innerSet = !0;
|
|
@@ -8044,7 +8046,7 @@ const z6 = (e) => {
|
|
|
8044
8046
|
const H = () => {
|
|
8045
8047
|
var m;
|
|
8046
8048
|
let j = (((m = uA().appcategorys) == null ? void 0 : m.map((N) => N.apps).flat()) ?? []).find((N) => N.code === s);
|
|
8047
|
-
j = { ...j, value: j.code, label: j.name }, t(j),
|
|
8049
|
+
j = { ...j, value: j.code, label: j.name }, t(j), _.nav.removeItem(s);
|
|
8048
8050
|
};
|
|
8049
8051
|
({
|
|
8050
8052
|
me: async (l) => {
|
|
@@ -8062,9 +8064,9 @@ const z6 = (e) => {
|
|
|
8062
8064
|
await e.push({
|
|
8063
8065
|
path: `/${j.applicationPath}${j.path}`.replace(/\/\//g, "/"),
|
|
8064
8066
|
query: j.query
|
|
8065
|
-
}),
|
|
8067
|
+
}), _.menu.setActiveItem(j.menuId), _.tab.setActiveItem(j.code);
|
|
8066
8068
|
const m = q.filter((N) => N.code !== l.value);
|
|
8067
|
-
m.forEach((N) =>
|
|
8069
|
+
m.forEach((N) => _.tab.removeItem(N.code)), x(m), IA([{ key: `tabMap:${s}`, value: [j] }]), u(j);
|
|
8068
8070
|
},
|
|
8069
8071
|
right: async (l) => {
|
|
8070
8072
|
const j = b.currentCode;
|
|
@@ -8073,16 +8075,16 @@ const z6 = (e) => {
|
|
|
8073
8075
|
u(Z);
|
|
8074
8076
|
}
|
|
8075
8077
|
const m = q.slice(a + 1);
|
|
8076
|
-
m.forEach((N) =>
|
|
8078
|
+
m.forEach((N) => _.tab.removeItem(N.code)), x(m), q.splice(a + 1), IA([{ key: `tabMap:${s}`, value: q }]);
|
|
8077
8079
|
}
|
|
8078
8080
|
})[c.type](c.data);
|
|
8079
8081
|
};
|
|
8080
|
-
|
|
8082
|
+
_.tab.addEventListener("onItemClick", async (c) => {
|
|
8081
8083
|
jA().currentCode !== c.currentCode && (xA.innerSet = !0, u(c));
|
|
8082
|
-
}),
|
|
8084
|
+
}), _.tab.addEventListener("onItemRemove", (c) => {
|
|
8083
8085
|
const s = jA(), b = uA().currentSubAppCode ?? "";
|
|
8084
8086
|
s.tabMap[b].findIndex((H) => H.code === c.code) !== -1 && (tf(c.applicationCode, [c.code]), X({ type: "me", data: c }));
|
|
8085
|
-
}),
|
|
8087
|
+
}), _.tab.addEventListener("onMenuClick", (c) => {
|
|
8086
8088
|
let s = [];
|
|
8087
8089
|
const b = jA().tabMap[c.applicationCode] ?? [];
|
|
8088
8090
|
if (c.type.key === "right") {
|
|
@@ -8093,10 +8095,10 @@ const z6 = (e) => {
|
|
|
8093
8095
|
c.applicationCode,
|
|
8094
8096
|
s.map((q) => q.code)
|
|
8095
8097
|
), X({ type: c.type.key, data: c.data });
|
|
8096
|
-
}),
|
|
8098
|
+
}), _.tab.addEventListener("onPageRefresh", async (c) => {
|
|
8097
8099
|
if (!c) return;
|
|
8098
8100
|
if (c.path.startsWith(c9)) {
|
|
8099
|
-
|
|
8101
|
+
_.iframeView.triggerEventListener("onRefreshCurrentPage");
|
|
8100
8102
|
return;
|
|
8101
8103
|
}
|
|
8102
8104
|
tf(c.applicationCode, [c.code]);
|
|
@@ -8110,12 +8112,12 @@ const z6 = (e) => {
|
|
|
8110
8112
|
Oe(b, q) || await z({ currentMenu: s }), d([c.path]);
|
|
8111
8113
|
});
|
|
8112
8114
|
const { enter: i } = $9();
|
|
8113
|
-
return
|
|
8115
|
+
return _.tab.addEventListener("onToggleFullScreen", i), { fontColor: A, backgroudColor: f, borderColor: v };
|
|
8114
8116
|
}, He = u9(), j3 = (He == null ? void 0 : He.isAutoCloseApp) ?? !0, Z3 = location.href.includes("showLayout=false"), T3 = window.self !== window.top, Q6 = () => {
|
|
8115
8117
|
const e = () => {
|
|
8116
|
-
|
|
8118
|
+
_.nav.setItems([]), _.menu.setItems([]), _.tab.setItems([]), rv();
|
|
8117
8119
|
}, A = () => {
|
|
8118
|
-
window.__isAutoCloseApp = !1,
|
|
8120
|
+
window.__isAutoCloseApp = !1, location.replace("/");
|
|
8119
8121
|
};
|
|
8120
8122
|
window.addEventListener("beforeunload", function(f) {
|
|
8121
8123
|
if (!(Z3 || !j3 || T3) && window.__isAutoCloseApp) {
|
|
@@ -8139,7 +8141,7 @@ const z6 = (e) => {
|
|
|
8139
8141
|
let { mainAppName: v = "", microAppName: r = "", microApps: P = [] } = u9();
|
|
8140
8142
|
!v && r && (P = [{ name: r }]);
|
|
8141
8143
|
const t = P.map((X) => X.name), z = () => {
|
|
8142
|
-
|
|
8144
|
+
_.menu.setItems([]), _.menu.setActiveItem(""), _.tab.setItems([]), _.tab.setActiveItem("");
|
|
8143
8145
|
}, d = async (X) => {
|
|
8144
8146
|
if (X.routeUrl && !t.includes(X.routeUrl)) return !0;
|
|
8145
8147
|
const i = X.code ?? "", s = (uA().subAppList ?? []).find((p) => p.code === i);
|
|
@@ -8150,17 +8152,17 @@ const z6 = (e) => {
|
|
|
8150
8152
|
b = p ?? [], q = O ?? [];
|
|
8151
8153
|
}
|
|
8152
8154
|
if (b.length ? bf(b) || (await G9({
|
|
8153
|
-
title:
|
|
8154
|
-
content:
|
|
8155
|
-
}), a = !0) : (await G9({ title:
|
|
8155
|
+
title: g("提示"),
|
|
8156
|
+
content: g("此应用菜单已过期/已收回/配置有误") + "<br/>" + g("无法使用")
|
|
8157
|
+
}), a = !0) : (await G9({ title: g("提示"), content: g("此应用未配置菜单/无菜单权限") + "<br/>" + g("无法使用") }), a = !0), a) return !1;
|
|
8156
8158
|
const H = { ...X, menus: b, originalMenus: q };
|
|
8157
8159
|
return EA([{ key: "subAppList", value: H }]), !0;
|
|
8158
8160
|
}, n = async (X) => {
|
|
8159
|
-
var Z, T, G,
|
|
8161
|
+
var Z, T, G, M, h;
|
|
8160
8162
|
const { microApp: i = null, menuCode: c = "", menuPath: s = "", route: b = {} } = X;
|
|
8161
8163
|
let q = b;
|
|
8162
8164
|
if (!i && s) {
|
|
8163
|
-
if (z(), !(t && t.find((
|
|
8165
|
+
if (z(), !(t && t.find((Q) => s.startsWith("/" + Q) || s.startsWith(Q)))) return;
|
|
8164
8166
|
await e.push({ path: s, query: q.query });
|
|
8165
8167
|
return;
|
|
8166
8168
|
}
|
|
@@ -8173,25 +8175,25 @@ const z6 = (e) => {
|
|
|
8173
8175
|
appCode: i.code,
|
|
8174
8176
|
displayAppName: i.name
|
|
8175
8177
|
}), z();
|
|
8176
|
-
const
|
|
8177
|
-
if ((
|
|
8178
|
+
const J = ((G = uA()) == null ? void 0 : G.subAppList) ?? [];
|
|
8179
|
+
if ((J == null ? void 0 : J.find((U) => U.code === i.code)) || J == null || J.push(i), EA([
|
|
8178
8180
|
{ key: "currentSubApp", value: i },
|
|
8179
8181
|
{ key: "currentSubAppCode", value: i.code },
|
|
8180
|
-
{ key: "subAppList", value:
|
|
8181
|
-
]),
|
|
8182
|
-
const
|
|
8183
|
-
|
|
8184
|
-
}),
|
|
8182
|
+
{ key: "subAppList", value: J }
|
|
8183
|
+
]), J.forEach((U) => {
|
|
8184
|
+
const K = { ...U, value: U.code, label: U.name };
|
|
8185
|
+
_.nav.appendItem(K);
|
|
8186
|
+
}), _.nav.setActiveItem(i.code), i.routeUrl.includes("entrance=main")) {
|
|
8185
8187
|
await e.push({ path: i.routeUrl, query: { ...q.query, app: i.code } });
|
|
8186
8188
|
return;
|
|
8187
8189
|
}
|
|
8188
8190
|
if (p === 1 && O === 2) {
|
|
8189
|
-
const
|
|
8191
|
+
const U = await iv(i.routeUrl, (i == null ? void 0 : i.param) ?? []), K = Ne(me(le(U))), L = `${c9}-${i.code}`;
|
|
8190
8192
|
if (!e.options.routes.find((W) => W.path === L)) {
|
|
8191
8193
|
const W = {
|
|
8192
8194
|
path: L,
|
|
8193
8195
|
component: RA(ye, {
|
|
8194
|
-
src:
|
|
8196
|
+
src: K
|
|
8195
8197
|
}),
|
|
8196
8198
|
meta: { isIframe: !0, keepAlive: !0 }
|
|
8197
8199
|
};
|
|
@@ -8220,10 +8222,10 @@ const z6 = (e) => {
|
|
|
8220
8222
|
meta: { ...(q == null ? void 0 : q.meta) ?? {} }
|
|
8221
8223
|
}), V && (V == null ? void 0 : V.code) !== (i == null ? void 0 : i.code)) {
|
|
8222
8224
|
if (V.fixed || V.unClosed)
|
|
8223
|
-
await e.push(V.path), z(),
|
|
8225
|
+
await e.push(V.path), z(), _.nav.setActiveItem(V.path);
|
|
8224
8226
|
else {
|
|
8225
|
-
const
|
|
8226
|
-
await n({ microApp:
|
|
8227
|
+
const J = (M = uA().subAppList) == null ? void 0 : M.find((K) => K.code === V.code), Q = jA().preTab[V.code], U = { ...(Q == null ? void 0 : Q.query) ?? {} };
|
|
8228
|
+
await n({ microApp: J, menuCode: (Q == null ? void 0 : Q.code) ?? "", route: { query: U } });
|
|
8227
8229
|
}
|
|
8228
8230
|
return;
|
|
8229
8231
|
}
|
|
@@ -8239,26 +8241,26 @@ const z6 = (e) => {
|
|
|
8239
8241
|
return;
|
|
8240
8242
|
}
|
|
8241
8243
|
if (a && H) {
|
|
8242
|
-
(
|
|
8243
|
-
const
|
|
8244
|
-
|
|
8245
|
-
}),
|
|
8246
|
-
const
|
|
8247
|
-
if (
|
|
8248
|
-
const
|
|
8249
|
-
...
|
|
8250
|
-
value:
|
|
8251
|
-
label:
|
|
8244
|
+
(h = uA().subAppList) == null || h.forEach((Q) => {
|
|
8245
|
+
const U = { ...Q, value: Q.code, label: Q.name };
|
|
8246
|
+
_.nav.appendItem(U);
|
|
8247
|
+
}), _.nav.setActiveItem(N.code), _.menu.setItems(R);
|
|
8248
|
+
const J = jA().tabMap[N.code] ?? [];
|
|
8249
|
+
if (J.length) {
|
|
8250
|
+
const Q = J.map((U) => ({
|
|
8251
|
+
...U,
|
|
8252
|
+
value: U.code,
|
|
8253
|
+
label: U.name
|
|
8252
8254
|
})) || [];
|
|
8253
|
-
|
|
8255
|
+
_.tab.setItems(Q);
|
|
8254
8256
|
} else
|
|
8255
|
-
|
|
8257
|
+
_.tab.setItems([]);
|
|
8256
8258
|
}
|
|
8257
8259
|
A({ currentMenu: l, microPath: j, route: q });
|
|
8258
8260
|
}, u = async (X, i = !0) => {
|
|
8259
8261
|
var a;
|
|
8260
8262
|
if (xA.innerSet = i, X.fixed || X.unClosed) {
|
|
8261
|
-
await e.push(X.path),
|
|
8263
|
+
await e.push(X.path), _.menu.setItems([]), _.tab.setItems([]), _.nav.setActiveItem(X.path), EA([
|
|
8262
8264
|
{ key: "currentSubAppCode", value: X.code },
|
|
8263
8265
|
{ key: "currentSubApp", value: X }
|
|
8264
8266
|
]), IA([
|
|
@@ -8283,7 +8285,7 @@ const z6 = (e) => {
|
|
|
8283
8285
|
const s = jA().tabMap[X.code] ?? [];
|
|
8284
8286
|
if (s.length) {
|
|
8285
8287
|
const a = s.filter((H) => !H.path.startsWith(c9)).map((H) => H.path);
|
|
8286
|
-
a && a.length && f(a), s.forEach((H) =>
|
|
8288
|
+
a && a.length && f(a), s.forEach((H) => _.iframeView.triggerEventListener("onUnloadPage", H.path));
|
|
8287
8289
|
}
|
|
8288
8290
|
let b = null;
|
|
8289
8291
|
if (i.currentSubAppCode === X.code && (c + 1 !== i.subAppList.length ? i.subAppList[c + 1] && (b = i.subAppList[c + 1]) : i.subAppList[c - 1] && (b = i.subAppList[c - 1])), i.subAppList.splice(c, 1), EA([{ key: "subAppList", value: i.subAppList }]), IA([
|
|
@@ -8291,7 +8293,7 @@ const z6 = (e) => {
|
|
|
8291
8293
|
{ key: `tabMap:${X.code}`, value: [] }
|
|
8292
8294
|
]), b) {
|
|
8293
8295
|
const a = { ...b, value: b.code, label: b.name };
|
|
8294
|
-
await u(a),
|
|
8296
|
+
await u(a), _.nav.setActiveItem(b.code);
|
|
8295
8297
|
}
|
|
8296
8298
|
}
|
|
8297
8299
|
};
|
|
@@ -8363,11 +8365,11 @@ const z6 = (e) => {
|
|
|
8363
8365
|
path: X,
|
|
8364
8366
|
query: n
|
|
8365
8367
|
};
|
|
8366
|
-
|
|
8368
|
+
_.tab.appendItem({
|
|
8367
8369
|
...b,
|
|
8368
8370
|
value: b.code,
|
|
8369
8371
|
label: b.name
|
|
8370
|
-
}),
|
|
8372
|
+
}), _.tab.setActiveItem(t.code), _.menu.setActiveItem(t.id), nv(t.code), IA([
|
|
8371
8373
|
{
|
|
8372
8374
|
key: "currentCode",
|
|
8373
8375
|
value: t.code
|
|
@@ -8446,13 +8448,13 @@ const z6 = (e) => {
|
|
|
8446
8448
|
f({ microApp: V, menuCode: x.query.menu, menuPath: x.path, route: x });
|
|
8447
8449
|
return;
|
|
8448
8450
|
} else {
|
|
8449
|
-
if (location.pathname === SA || location.pathname ===
|
|
8450
|
-
|
|
8451
|
+
if (location.pathname === SA || location.pathname === A9) {
|
|
8452
|
+
_.menu.setItems([]), _.tab.setItems([]);
|
|
8451
8453
|
const l = a.find((j) => j.code === location.pathname);
|
|
8452
8454
|
l && (EA([
|
|
8453
8455
|
{ key: "currentSubApp", value: l },
|
|
8454
8456
|
{ key: "currentSubAppCode", value: l.code }
|
|
8455
|
-
]),
|
|
8457
|
+
]), _.nav.setActiveItem(location.pathname));
|
|
8456
8458
|
}
|
|
8457
8459
|
const V = t && t.find(
|
|
8458
8460
|
(l) => x.path.startsWith("/" + l.name) || x.path.startsWith(l.name)
|
|
@@ -8472,7 +8474,7 @@ const z6 = (e) => {
|
|
|
8472
8474
|
}
|
|
8473
8475
|
X && ((R = (O = uA()) == null ? void 0 : O.subAppList) == null || R.forEach((V) => {
|
|
8474
8476
|
const l = { ...V, value: V.code, label: V.name };
|
|
8475
|
-
|
|
8477
|
+
_.nav.appendItem(l);
|
|
8476
8478
|
}));
|
|
8477
8479
|
};
|
|
8478
8480
|
let d = "", n = {};
|
|
@@ -8508,7 +8510,7 @@ const z6 = (e) => {
|
|
|
8508
8510
|
}, P = async () => {
|
|
8509
8511
|
const d = {
|
|
8510
8512
|
logout: "/api/justauth/oauth-server/v1/visitor/logout"
|
|
8511
|
-
}, n = location.origin +
|
|
8513
|
+
}, n = location.origin + A9, u = {
|
|
8512
8514
|
response_type: "code",
|
|
8513
8515
|
scope: "sever",
|
|
8514
8516
|
client_id: "sys",
|
|
@@ -8531,7 +8533,7 @@ const z6 = (e) => {
|
|
|
8531
8533
|
const c = u.find((s) => s.code === d);
|
|
8532
8534
|
c && t({ microApp: c, menuPath: `/${c.routeUrl}/userInfo` });
|
|
8533
8535
|
};
|
|
8534
|
-
return
|
|
8536
|
+
return _.nav.addEventListener("onUserCommandChange", (d) => {
|
|
8535
8537
|
var u, x;
|
|
8536
8538
|
({
|
|
8537
8539
|
0: (u = A.value) == null ? void 0 : u.openDialog,
|
|
@@ -8547,11 +8549,11 @@ const z6 = (e) => {
|
|
|
8547
8549
|
const e = u9(), A = o(!1), f = o(""), v = o(""), r = () => {
|
|
8548
8550
|
f.value = _9().id, v.value = Hf().tenantId, A.value = !0;
|
|
8549
8551
|
};
|
|
8550
|
-
|
|
8552
|
+
_.nav.addEventListener("changeEnterpriseHandle", () => {
|
|
8551
8553
|
r();
|
|
8552
8554
|
});
|
|
8553
8555
|
const P = () => {
|
|
8554
|
-
rv(), Ur(), window.__isAutoCloseApp = !1, location.pathname !== SA && location.pathname !==
|
|
8556
|
+
rv(), Ur(), window.__isAutoCloseApp = !1, location.pathname !== SA && location.pathname !== A9 ? window.location.replace(location.origin + SA) : window.location.reload();
|
|
8555
8557
|
};
|
|
8556
8558
|
return {
|
|
8557
8559
|
changeEnterprisesVisible: A,
|
|
@@ -8591,7 +8593,7 @@ const z6 = (e) => {
|
|
|
8591
8593
|
};
|
|
8592
8594
|
}, F6 = () => {
|
|
8593
8595
|
const { changeEnterprise: e } = Gv();
|
|
8594
|
-
|
|
8596
|
+
_.nav.addEventListener("onProjectChange", async (A) => {
|
|
8595
8597
|
const f = qf();
|
|
8596
8598
|
if ((f == null ? void 0 : f.flag) === 4) {
|
|
8597
8599
|
const v = f.tenant.id, r = (A == null ? void 0 : A.tenant) ?? "";
|
|
@@ -8607,7 +8609,7 @@ const z6 = (e) => {
|
|
|
8607
8609
|
const [r, P] = await S6().run({ name: v });
|
|
8608
8610
|
return r ? [] : P.filter((t) => t.routeUrl);
|
|
8609
8611
|
}, { entryApp: f } = d9();
|
|
8610
|
-
return
|
|
8612
|
+
return _.nav.addEventListener("searchToPage", async (v) => {
|
|
8611
8613
|
const { item: r, keyword: P, cb: t } = v;
|
|
8612
8614
|
if (r != null && r.disable || r != null && r.expired) {
|
|
8613
8615
|
const { title: x, content: X, desc: i } = await he(r);
|
|
@@ -8619,10 +8621,10 @@ const z6 = (e) => {
|
|
|
8619
8621
|
if (!n) return;
|
|
8620
8622
|
const u = r.applicationCode !== r.code ? r.code : "";
|
|
8621
8623
|
f({ microApp: n, menuCode: u }), t();
|
|
8622
|
-
}),
|
|
8624
|
+
}), _.nav.addEventListener("deleteSearchItem", async (v) => {
|
|
8623
8625
|
const { value: r, cb: P } = v;
|
|
8624
8626
|
await _6().run({ id: r }), P();
|
|
8625
|
-
}),
|
|
8627
|
+
}), _.nav.addEventListener("clearSearchList", async (v) => {
|
|
8626
8628
|
const { cb: r } = v;
|
|
8627
8629
|
await C6().run(), r();
|
|
8628
8630
|
}), {
|
|
@@ -8631,7 +8633,7 @@ const z6 = (e) => {
|
|
|
8631
8633
|
};
|
|
8632
8634
|
}, A1 = () => {
|
|
8633
8635
|
const e = o(), { entryApp: A } = d9();
|
|
8634
|
-
return
|
|
8636
|
+
return _.nav.addEventListener("openAI", () => {
|
|
8635
8637
|
var v;
|
|
8636
8638
|
(v = e.value) == null || v.openPanel();
|
|
8637
8639
|
}), {
|
|
@@ -8657,7 +8659,7 @@ const z6 = (e) => {
|
|
|
8657
8659
|
let v = zf(f);
|
|
8658
8660
|
v.forEach((P) => {
|
|
8659
8661
|
P.fixed && (P.name = e.data.instanceInfo.instanceName);
|
|
8660
|
-
}),
|
|
8662
|
+
}), _.menu.setItems(v);
|
|
8661
8663
|
const r = A.subAppList;
|
|
8662
8664
|
r == null || r.forEach((P) => {
|
|
8663
8665
|
P.code === f && (P.menus = v);
|
|
@@ -8676,7 +8678,7 @@ const z6 = (e) => {
|
|
|
8676
8678
|
["personcenter", "rightmanage"].forEach((f) => {
|
|
8677
8679
|
NA.addEventListenerFromMicroApp(`${f}:change-userinfo`, (v) => {
|
|
8678
8680
|
const { userInfo: r } = v.data, P = r != null && r.headPicture ? pf(r.headPicture) : void 0;
|
|
8679
|
-
|
|
8681
|
+
_.nav.setUserInfo({ headPicture: P, commandList: e.value }), sessionStorage.setItem("userInfo", JSON.stringify(r));
|
|
8680
8682
|
});
|
|
8681
8683
|
});
|
|
8682
8684
|
}, v1 = () => {
|
|
@@ -8731,7 +8733,7 @@ const z6 = (e) => {
|
|
|
8731
8733
|
r();
|
|
8732
8734
|
}
|
|
8733
8735
|
},
|
|
8734
|
-
|
|
8736
|
+
g("查看详情")
|
|
8735
8737
|
) : null
|
|
8736
8738
|
])
|
|
8737
8739
|
}), f.value.push(n.id);
|
|
@@ -8739,7 +8741,7 @@ const z6 = (e) => {
|
|
|
8739
8741
|
}
|
|
8740
8742
|
});
|
|
8741
8743
|
};
|
|
8742
|
-
|
|
8744
|
+
CA(async () => {
|
|
8743
8745
|
await Df(), P();
|
|
8744
8746
|
}), K9(() => {
|
|
8745
8747
|
A.value && A.value.disconnect(), A.value = null;
|
|
@@ -8817,7 +8819,7 @@ const X1 = t1.post("data/device-auth"), b1 = /* @__PURE__ */ qA({
|
|
|
8817
8819
|
"grid-num": f.gridNum,
|
|
8818
8820
|
onItemClick: (n) => r(d)
|
|
8819
8821
|
}, {
|
|
8820
|
-
default:
|
|
8822
|
+
default: F(() => [
|
|
8821
8823
|
P.showFn(d) ? r9(P.$slots, "default", {
|
|
8822
8824
|
key: 0,
|
|
8823
8825
|
index: d
|
|
@@ -8845,11 +8847,11 @@ const X1 = t1.post("data/device-auth"), b1 = /* @__PURE__ */ qA({
|
|
|
8845
8847
|
onDblclick: P[9] || (P[9] = lA((t) => t.stopPropagation(), ["stop"]))
|
|
8846
8848
|
},
|
|
8847
8849
|
[
|
|
8848
|
-
|
|
8849
|
-
content: D(
|
|
8850
|
+
k(D(yA), {
|
|
8851
|
+
content: D(g)("左上")
|
|
8850
8852
|
}, {
|
|
8851
|
-
default:
|
|
8852
|
-
|
|
8853
|
+
default: F(() => [
|
|
8854
|
+
Y("div", {
|
|
8853
8855
|
class: "icon icon-top-left",
|
|
8854
8856
|
onClick: P[0] || (P[0] = lA((t) => v("leftUp"), ["stop"]))
|
|
8855
8857
|
})
|
|
@@ -8857,11 +8859,11 @@ const X1 = t1.post("data/device-auth"), b1 = /* @__PURE__ */ qA({
|
|
|
8857
8859
|
_: 1
|
|
8858
8860
|
/* STABLE */
|
|
8859
8861
|
}, 8, ["content"]),
|
|
8860
|
-
|
|
8861
|
-
content: D(
|
|
8862
|
+
k(D(yA), {
|
|
8863
|
+
content: D(g)("上")
|
|
8862
8864
|
}, {
|
|
8863
|
-
default:
|
|
8864
|
-
|
|
8865
|
+
default: F(() => [
|
|
8866
|
+
Y("div", {
|
|
8865
8867
|
class: "icon icon-top",
|
|
8866
8868
|
onClick: P[1] || (P[1] = lA((t) => v("up"), ["stop"]))
|
|
8867
8869
|
})
|
|
@@ -8869,11 +8871,11 @@ const X1 = t1.post("data/device-auth"), b1 = /* @__PURE__ */ qA({
|
|
|
8869
8871
|
_: 1
|
|
8870
8872
|
/* STABLE */
|
|
8871
8873
|
}, 8, ["content"]),
|
|
8872
|
-
|
|
8873
|
-
content: D(
|
|
8874
|
+
k(D(yA), {
|
|
8875
|
+
content: D(g)("右上")
|
|
8874
8876
|
}, {
|
|
8875
|
-
default:
|
|
8876
|
-
|
|
8877
|
+
default: F(() => [
|
|
8878
|
+
Y("div", {
|
|
8877
8879
|
class: "icon icon-top-right",
|
|
8878
8880
|
onClick: P[2] || (P[2] = lA((t) => v("rightUp"), ["stop"]))
|
|
8879
8881
|
})
|
|
@@ -8881,11 +8883,11 @@ const X1 = t1.post("data/device-auth"), b1 = /* @__PURE__ */ qA({
|
|
|
8881
8883
|
_: 1
|
|
8882
8884
|
/* STABLE */
|
|
8883
8885
|
}, 8, ["content"]),
|
|
8884
|
-
|
|
8885
|
-
content: D(
|
|
8886
|
+
k(D(yA), {
|
|
8887
|
+
content: D(g)("左")
|
|
8886
8888
|
}, {
|
|
8887
|
-
default:
|
|
8888
|
-
|
|
8889
|
+
default: F(() => [
|
|
8890
|
+
Y("div", {
|
|
8889
8891
|
class: "icon icon-left",
|
|
8890
8892
|
onClick: P[3] || (P[3] = lA((t) => v("left"), ["stop"]))
|
|
8891
8893
|
})
|
|
@@ -8893,11 +8895,11 @@ const X1 = t1.post("data/device-auth"), b1 = /* @__PURE__ */ qA({
|
|
|
8893
8895
|
_: 1
|
|
8894
8896
|
/* STABLE */
|
|
8895
8897
|
}, 8, ["content"]),
|
|
8896
|
-
|
|
8897
|
-
content: D(
|
|
8898
|
+
k(D(yA), {
|
|
8899
|
+
content: D(g)("自动")
|
|
8898
8900
|
}, {
|
|
8899
|
-
default:
|
|
8900
|
-
|
|
8901
|
+
default: F(() => [
|
|
8902
|
+
Y("div", {
|
|
8901
8903
|
class: "icon icon-auto",
|
|
8902
8904
|
onClick: P[4] || (P[4] = lA((t) => v("auto"), ["stop"]))
|
|
8903
8905
|
})
|
|
@@ -8905,11 +8907,11 @@ const X1 = t1.post("data/device-auth"), b1 = /* @__PURE__ */ qA({
|
|
|
8905
8907
|
_: 1
|
|
8906
8908
|
/* STABLE */
|
|
8907
8909
|
}, 8, ["content"]),
|
|
8908
|
-
|
|
8909
|
-
content: D(
|
|
8910
|
+
k(D(yA), {
|
|
8911
|
+
content: D(g)("右")
|
|
8910
8912
|
}, {
|
|
8911
|
-
default:
|
|
8912
|
-
|
|
8913
|
+
default: F(() => [
|
|
8914
|
+
Y("div", {
|
|
8913
8915
|
class: "icon icon-right",
|
|
8914
8916
|
onClick: P[5] || (P[5] = lA((t) => v("right"), ["stop"]))
|
|
8915
8917
|
})
|
|
@@ -8917,11 +8919,11 @@ const X1 = t1.post("data/device-auth"), b1 = /* @__PURE__ */ qA({
|
|
|
8917
8919
|
_: 1
|
|
8918
8920
|
/* STABLE */
|
|
8919
8921
|
}, 8, ["content"]),
|
|
8920
|
-
|
|
8921
|
-
content: D(
|
|
8922
|
+
k(D(yA), {
|
|
8923
|
+
content: D(g)("左下")
|
|
8922
8924
|
}, {
|
|
8923
|
-
default:
|
|
8924
|
-
|
|
8925
|
+
default: F(() => [
|
|
8926
|
+
Y("div", {
|
|
8925
8927
|
class: "icon icon-bottom-left",
|
|
8926
8928
|
onClick: P[6] || (P[6] = lA((t) => v("leftDown"), ["stop"]))
|
|
8927
8929
|
})
|
|
@@ -8929,11 +8931,11 @@ const X1 = t1.post("data/device-auth"), b1 = /* @__PURE__ */ qA({
|
|
|
8929
8931
|
_: 1
|
|
8930
8932
|
/* STABLE */
|
|
8931
8933
|
}, 8, ["content"]),
|
|
8932
|
-
|
|
8933
|
-
content: D(
|
|
8934
|
+
k(D(yA), {
|
|
8935
|
+
content: D(g)("下")
|
|
8934
8936
|
}, {
|
|
8935
|
-
default:
|
|
8936
|
-
|
|
8937
|
+
default: F(() => [
|
|
8938
|
+
Y("div", {
|
|
8937
8939
|
class: "icon icon-bottom",
|
|
8938
8940
|
onClick: P[7] || (P[7] = lA((t) => v("down"), ["stop"]))
|
|
8939
8941
|
})
|
|
@@ -8941,11 +8943,11 @@ const X1 = t1.post("data/device-auth"), b1 = /* @__PURE__ */ qA({
|
|
|
8941
8943
|
_: 1
|
|
8942
8944
|
/* STABLE */
|
|
8943
8945
|
}, 8, ["content"]),
|
|
8944
|
-
|
|
8945
|
-
content: D(
|
|
8946
|
+
k(D(yA), {
|
|
8947
|
+
content: D(g)("右下")
|
|
8946
8948
|
}, {
|
|
8947
|
-
default:
|
|
8948
|
-
|
|
8949
|
+
default: F(() => [
|
|
8950
|
+
Y("div", {
|
|
8949
8951
|
class: "icon icon-bottom-right",
|
|
8950
8952
|
onClick: P[8] || (P[8] = lA((t) => v("rightDown"), ["stop"]))
|
|
8951
8953
|
})
|
|
@@ -9052,16 +9054,16 @@ const X1 = t1.post("data/device-auth"), b1 = /* @__PURE__ */ qA({
|
|
|
9052
9054
|
});
|
|
9053
9055
|
}
|
|
9054
9056
|
), (H, p) => (fA(), OA("div", p1, [
|
|
9055
|
-
|
|
9057
|
+
k(D(mf), {
|
|
9056
9058
|
spinning: f.loading,
|
|
9057
9059
|
type: "component",
|
|
9058
9060
|
tip: "加载中..."
|
|
9059
9061
|
}, {
|
|
9060
|
-
default:
|
|
9061
|
-
|
|
9062
|
-
|
|
9063
|
-
|
|
9064
|
-
|
|
9062
|
+
default: F(() => [
|
|
9063
|
+
Y("div", x1, [
|
|
9064
|
+
Y("div", O1, [
|
|
9065
|
+
Y("div", m1, [
|
|
9066
|
+
Y(
|
|
9065
9067
|
"div",
|
|
9066
9068
|
l1,
|
|
9067
9069
|
rA(f.title.length > 20 ? f.title.slice(0, 19) + "..." : f.title),
|
|
@@ -9070,11 +9072,11 @@ const X1 = t1.post("data/device-auth"), b1 = /* @__PURE__ */ qA({
|
|
|
9070
9072
|
)
|
|
9071
9073
|
])
|
|
9072
9074
|
]),
|
|
9073
|
-
|
|
9075
|
+
Y("div", D1, [
|
|
9074
9076
|
["live"].includes(H.type) ? (fA(), OA(
|
|
9075
9077
|
"span",
|
|
9076
9078
|
V1,
|
|
9077
|
-
rA(D(
|
|
9079
|
+
rA(D(g)("正在实时预览")),
|
|
9078
9080
|
1
|
|
9079
9081
|
/* TEXT */
|
|
9080
9082
|
)) : nA("v-if", !0),
|
|
@@ -9090,27 +9092,27 @@ const X1 = t1.post("data/device-auth"), b1 = /* @__PURE__ */ qA({
|
|
|
9090
9092
|
onLoaded: x,
|
|
9091
9093
|
src: f.videoUrl
|
|
9092
9094
|
}, null, 8, ["muted", "src"])) : nA("v-if", !0),
|
|
9093
|
-
|
|
9094
|
-
p[3] || (p[3] =
|
|
9095
|
+
Y("div", N1, [
|
|
9096
|
+
p[3] || (p[3] = Y(
|
|
9095
9097
|
"div",
|
|
9096
9098
|
{ class: "video-bottom_l" },
|
|
9097
9099
|
null,
|
|
9098
9100
|
-1
|
|
9099
9101
|
/* HOISTED */
|
|
9100
9102
|
)),
|
|
9101
|
-
|
|
9102
|
-
|
|
9103
|
+
Y("div", R1, [
|
|
9104
|
+
Y(
|
|
9103
9105
|
"div",
|
|
9104
9106
|
{
|
|
9105
9107
|
class: "controls",
|
|
9106
9108
|
onDblclick: p[2] || (p[2] = lA((O) => O.stopPropagation(), ["stop"]))
|
|
9107
9109
|
},
|
|
9108
9110
|
[
|
|
9109
|
-
|
|
9110
|
-
content: D(
|
|
9111
|
+
k(D(yA), {
|
|
9112
|
+
content: D(g)("声音")
|
|
9111
9113
|
}, {
|
|
9112
|
-
default:
|
|
9113
|
-
|
|
9114
|
+
default: F(() => [
|
|
9115
|
+
k(D(R9), {
|
|
9114
9116
|
class: "icon icon-volume",
|
|
9115
9117
|
icon: r.value ? "muted" : "volume",
|
|
9116
9118
|
onClick: lA(X, ["stop"])
|
|
@@ -9119,11 +9121,11 @@ const X1 = t1.post("data/device-auth"), b1 = /* @__PURE__ */ qA({
|
|
|
9119
9121
|
_: 1
|
|
9120
9122
|
/* STABLE */
|
|
9121
9123
|
}, 8, ["content"]),
|
|
9122
|
-
|
|
9123
|
-
content: D(
|
|
9124
|
+
k(D(yA), {
|
|
9125
|
+
content: D(g)("截图")
|
|
9124
9126
|
}, {
|
|
9125
|
-
default:
|
|
9126
|
-
|
|
9127
|
+
default: F(() => [
|
|
9128
|
+
k(D(R9), {
|
|
9127
9129
|
class: "icon icon-screenshot",
|
|
9128
9130
|
icon: "screenshot",
|
|
9129
9131
|
onClick: lA(s, ["stop"])
|
|
@@ -9134,9 +9136,9 @@ const X1 = t1.post("data/device-auth"), b1 = /* @__PURE__ */ qA({
|
|
|
9134
9136
|
}, 8, ["content"]),
|
|
9135
9137
|
a("control") ? (fA(), XA(D(yA), {
|
|
9136
9138
|
key: 0,
|
|
9137
|
-
content: D(
|
|
9139
|
+
content: D(g)("聚焦-")
|
|
9138
9140
|
}, {
|
|
9139
|
-
default:
|
|
9141
|
+
default: F(() => [
|
|
9140
9142
|
["live", "polling"].includes(f.type) ? (fA(), XA(D(R9), {
|
|
9141
9143
|
key: 0,
|
|
9142
9144
|
class: "icon icon-shrink",
|
|
@@ -9149,9 +9151,9 @@ const X1 = t1.post("data/device-auth"), b1 = /* @__PURE__ */ qA({
|
|
|
9149
9151
|
}, 8, ["content"])) : nA("v-if", !0),
|
|
9150
9152
|
a("control") ? (fA(), XA(D(yA), {
|
|
9151
9153
|
key: 1,
|
|
9152
|
-
content: D(
|
|
9154
|
+
content: D(g)("聚焦+")
|
|
9153
9155
|
}, {
|
|
9154
|
-
default:
|
|
9156
|
+
default: F(() => [
|
|
9155
9157
|
["live", "polling"].includes(f.type) ? (fA(), XA(D(R9), {
|
|
9156
9158
|
key: 0,
|
|
9157
9159
|
class: "icon icon-enlarge",
|
|
@@ -9164,9 +9166,9 @@ const X1 = t1.post("data/device-auth"), b1 = /* @__PURE__ */ qA({
|
|
|
9164
9166
|
}, 8, ["content"])) : nA("v-if", !0),
|
|
9165
9167
|
a("control") ? (fA(), XA(D(yA), {
|
|
9166
9168
|
key: 2,
|
|
9167
|
-
content: D(
|
|
9169
|
+
content: D(g)("方向控制")
|
|
9168
9170
|
}, {
|
|
9169
|
-
default:
|
|
9171
|
+
default: F(() => [
|
|
9170
9172
|
["live", "polling"].includes(f.type) ? (fA(), XA(D(R9), {
|
|
9171
9173
|
key: 0,
|
|
9172
9174
|
class: "icon icon-direction-control",
|
|
@@ -9232,13 +9234,13 @@ const X1 = t1.post("data/device-auth"), b1 = /* @__PURE__ */ qA({
|
|
|
9232
9234
|
source: "strategy"
|
|
9233
9235
|
});
|
|
9234
9236
|
};
|
|
9235
|
-
return
|
|
9237
|
+
return CA(() => {
|
|
9236
9238
|
P();
|
|
9237
9239
|
}), DA(() => f.value, () => {
|
|
9238
9240
|
P();
|
|
9239
9241
|
}, {
|
|
9240
9242
|
deep: !0
|
|
9241
|
-
}), () =>
|
|
9243
|
+
}), () => k(s9, null, [A.default({
|
|
9242
9244
|
videoUrl: r.value,
|
|
9243
9245
|
loading: v.value,
|
|
9244
9246
|
onDirectionControl: t,
|
|
@@ -9251,7 +9253,7 @@ function o1(e) {
|
|
|
9251
9253
|
toggle: v
|
|
9252
9254
|
} = $9(f);
|
|
9253
9255
|
return {
|
|
9254
|
-
render: () =>
|
|
9256
|
+
render: () => k(s1, {
|
|
9255
9257
|
ref: f,
|
|
9256
9258
|
gridNum: e.gridNum,
|
|
9257
9259
|
activeIndex: A.value,
|
|
@@ -9262,7 +9264,7 @@ function o1(e) {
|
|
|
9262
9264
|
index: P
|
|
9263
9265
|
}) => {
|
|
9264
9266
|
const t = e.deviceList[P];
|
|
9265
|
-
return
|
|
9267
|
+
return k(T1, {
|
|
9266
9268
|
deviceInfo: t
|
|
9267
9269
|
}, {
|
|
9268
9270
|
default: ({
|
|
@@ -9270,7 +9272,7 @@ function o1(e) {
|
|
|
9270
9272
|
onDirectionControl: d,
|
|
9271
9273
|
onZoomControl: n,
|
|
9272
9274
|
loading: u
|
|
9273
|
-
}) =>
|
|
9275
|
+
}) => k(Z1, {
|
|
9274
9276
|
type: "live",
|
|
9275
9277
|
loading: u,
|
|
9276
9278
|
videoUrl: z,
|
|
@@ -9313,7 +9315,7 @@ const L1 = /* @__PURE__ */ qA({
|
|
|
9313
9315
|
});
|
|
9314
9316
|
return (t, z) => (fA(), XA(D(Z9), {
|
|
9315
9317
|
size: "mini",
|
|
9316
|
-
title: D(
|
|
9318
|
+
title: D(g)("视频监控"),
|
|
9317
9319
|
"custom-class": `das-linakge-video-dialog ${P.value}`,
|
|
9318
9320
|
modelValue: f.value,
|
|
9319
9321
|
"onUpdate:modelValue": z[0] || (z[0] = (d) => f.value = d),
|
|
@@ -9324,19 +9326,19 @@ const L1 = /* @__PURE__ */ qA({
|
|
|
9324
9326
|
"header-style": { display: "flex", justifyContent: "space-between", alignItems: "center" },
|
|
9325
9327
|
onClosed: t.closeCallback
|
|
9326
9328
|
}, {
|
|
9327
|
-
header:
|
|
9328
|
-
|
|
9329
|
+
header: F(() => [
|
|
9330
|
+
Y(
|
|
9329
9331
|
"div",
|
|
9330
9332
|
null,
|
|
9331
|
-
rA(D(
|
|
9333
|
+
rA(D(g)("视频监控")),
|
|
9332
9334
|
1
|
|
9333
9335
|
/* TEXT */
|
|
9334
9336
|
),
|
|
9335
|
-
|
|
9336
|
-
content: D(
|
|
9337
|
+
k(D(yA), {
|
|
9338
|
+
content: D(g)("页面全屏")
|
|
9337
9339
|
}, {
|
|
9338
|
-
default:
|
|
9339
|
-
|
|
9340
|
+
default: F(() => [
|
|
9341
|
+
k(D(R9), {
|
|
9340
9342
|
class: "icon",
|
|
9341
9343
|
icon: "fullscreen2",
|
|
9342
9344
|
iconColor: "#999",
|
|
@@ -9347,7 +9349,7 @@ const L1 = /* @__PURE__ */ qA({
|
|
|
9347
9349
|
/* STABLE */
|
|
9348
9350
|
}, 8, ["content"])
|
|
9349
9351
|
]),
|
|
9350
|
-
default:
|
|
9352
|
+
default: F(() => [
|
|
9351
9353
|
f.value ? (fA(), XA(D(v), { key: 0 })) : nA("v-if", !0)
|
|
9352
9354
|
]),
|
|
9353
9355
|
_: 1
|
|
@@ -9401,7 +9403,7 @@ const L1 = /* @__PURE__ */ qA({
|
|
|
9401
9403
|
}
|
|
9402
9404
|
}));
|
|
9403
9405
|
};
|
|
9404
|
-
return
|
|
9406
|
+
return CA(async () => {
|
|
9405
9407
|
await Df(), r();
|
|
9406
9408
|
}), K9(() => {
|
|
9407
9409
|
f.value && f.value.disconnect(), f.value = null;
|
|
@@ -11194,7 +11196,7 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11194
11196
|
}, N8 = () => {
|
|
11195
11197
|
const e = p9(), A = sf(), { entryApp: f } = Xf.hooks.useEntryApp(), { entryMenu: v } = Xf.hooks.useEntryMenu();
|
|
11196
11198
|
let r = null;
|
|
11197
|
-
return
|
|
11199
|
+
return CA(async () => {
|
|
11198
11200
|
await Df();
|
|
11199
11201
|
const P = (b) => {
|
|
11200
11202
|
try {
|
|
@@ -11233,46 +11235,46 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11233
11235
|
N && (j = j.slice(0, j.indexOf(m)));
|
|
11234
11236
|
const Z = "_zdkbInfo", T = j.endsWith(Z);
|
|
11235
11237
|
if (T && (j = j.slice(0, j.indexOf(Z))), j.includes(":")) {
|
|
11236
|
-
const G = j.split(":"), [
|
|
11237
|
-
if (!
|
|
11238
|
-
const
|
|
11239
|
-
if (
|
|
11238
|
+
const G = j.split(":"), [M = "", h = ""] = G;
|
|
11239
|
+
if (!M) return;
|
|
11240
|
+
const J = a.find((Q) => Q.code === M);
|
|
11241
|
+
if (J) {
|
|
11240
11242
|
if (T || N) {
|
|
11241
|
-
const
|
|
11242
|
-
if (
|
|
11243
|
-
const
|
|
11244
|
-
(p = A.query) != null && p.app && A.query.app ===
|
|
11245
|
-
NA.sendMessageToMicroApp(
|
|
11243
|
+
const Q = await M3(J.code, h);
|
|
11244
|
+
if (Q) {
|
|
11245
|
+
const U = JSON.stringify({ showEchartTooltip: N });
|
|
11246
|
+
(p = A.query) != null && p.app && A.query.app === J.code && ((O = A.query) != null && O.menu) && A.query.menu === h ? NA.sendMessageToMicroApp(Q.applicationPath, `${h}:todetail`, U) : (await f({ microApp: J, menuCode: h }), setTimeout(() => {
|
|
11247
|
+
NA.sendMessageToMicroApp(Q.applicationPath, `${h}:todetail`, U, {
|
|
11246
11248
|
awaitListener: !0
|
|
11247
11249
|
});
|
|
11248
11250
|
}, 300));
|
|
11249
11251
|
return;
|
|
11250
11252
|
}
|
|
11251
11253
|
}
|
|
11252
|
-
f({ microApp:
|
|
11254
|
+
f({ microApp: J, menuCode: h });
|
|
11253
11255
|
}
|
|
11254
11256
|
} else {
|
|
11255
|
-
const G = j,
|
|
11256
|
-
if (
|
|
11257
|
-
f({ microApp:
|
|
11257
|
+
const G = j, M = a.find((h) => h.code === G);
|
|
11258
|
+
if (M)
|
|
11259
|
+
f({ microApp: M });
|
|
11258
11260
|
else {
|
|
11259
|
-
const [
|
|
11260
|
-
if (
|
|
11261
|
-
const
|
|
11262
|
-
if (
|
|
11261
|
+
const [h, J] = await D8().run({ menuCode: G });
|
|
11262
|
+
if (h) return;
|
|
11263
|
+
const Q = a.find((U) => U.code === J);
|
|
11264
|
+
if (Q) {
|
|
11263
11265
|
if (T || N) {
|
|
11264
|
-
const
|
|
11265
|
-
if (
|
|
11266
|
-
const
|
|
11267
|
-
(R = A.query) != null && R.app && A.query.app ===
|
|
11268
|
-
NA.sendMessageToMicroApp(
|
|
11266
|
+
const U = await M3(Q.code, G);
|
|
11267
|
+
if (U) {
|
|
11268
|
+
const K = JSON.stringify({ showEchartTooltip: N });
|
|
11269
|
+
(R = A.query) != null && R.app && A.query.app === M.code && ((V = A.query) != null && V.menu) && A.query.menu === G ? NA.sendMessageToMicroApp(U.applicationPath, `${G}:todetail`, K) : (await f({ microApp: M, menuCode: G }), setTimeout(() => {
|
|
11270
|
+
NA.sendMessageToMicroApp(U.applicationPath, `${G}:todetail`, K, {
|
|
11269
11271
|
awaitListener: !0
|
|
11270
11272
|
});
|
|
11271
11273
|
}, 300));
|
|
11272
11274
|
return;
|
|
11273
11275
|
}
|
|
11274
11276
|
}
|
|
11275
|
-
f({ microApp:
|
|
11277
|
+
f({ microApp: Q, menuCode: G });
|
|
11276
11278
|
}
|
|
11277
11279
|
}
|
|
11278
11280
|
}
|
|
@@ -11393,106 +11395,106 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11393
11395
|
{ id: 3, name: AA("不限").value }
|
|
11394
11396
|
]), s = o([]), b = o(""), q = o(AA("告警对象位置").value), a = o(""), H = o([]), p = o("");
|
|
11395
11397
|
o("[]");
|
|
11396
|
-
const O = o(!0), R = o(!0), V = async (
|
|
11398
|
+
const O = o(!0), R = o(!0), V = async (S) => {
|
|
11397
11399
|
const I = { name: "1" };
|
|
11398
|
-
|
|
11399
|
-
const [
|
|
11400
|
-
return
|
|
11401
|
-
}, l = async (
|
|
11402
|
-
const I = { name:
|
|
11403
|
-
return
|
|
11400
|
+
S != null && S.id && (I.spaceId = S.id);
|
|
11401
|
+
const [B, oA] = await W8(I).run();
|
|
11402
|
+
return B ? {} : oA;
|
|
11403
|
+
}, l = async (S) => {
|
|
11404
|
+
const I = { name: S || "" }, [B, oA] = await w8(I).run();
|
|
11405
|
+
return B ? {} : oA;
|
|
11404
11406
|
}, j = o(!0), m = o(!0), N = o([]), Z = async () => {
|
|
11405
|
-
const [
|
|
11406
|
-
if (
|
|
11407
|
-
N.value = I.data.filter((
|
|
11407
|
+
const [S, I] = await y8().run({ pageIndex: -1, pageSize: -1 });
|
|
11408
|
+
if (S) return {};
|
|
11409
|
+
N.value = I.data.filter((B) => B.status), N.value.length > 0 && (n.value.workOrderRules = N.value[0].id);
|
|
11408
11410
|
};
|
|
11409
|
-
DA(d, (
|
|
11410
|
-
|
|
11411
|
+
DA(d, (S) => {
|
|
11412
|
+
S || (Q(), U());
|
|
11411
11413
|
}), DA(
|
|
11412
11414
|
R,
|
|
11413
|
-
(
|
|
11414
|
-
|
|
11415
|
+
(S) => {
|
|
11416
|
+
S ? (O.value = !0, n.value.customPath = AA("选填").value) : (O.value = !1, n.value.customPath = "");
|
|
11415
11417
|
},
|
|
11416
11418
|
{ immediate: !0 }
|
|
11417
11419
|
), DA(
|
|
11418
11420
|
m,
|
|
11419
|
-
(
|
|
11420
|
-
|
|
11421
|
+
(S) => {
|
|
11422
|
+
S ? (n.value.reportTheme = AA("告警对象").value, j.value = !0) : (a.value = AA("请输入").value, n.value.reportTheme = "", j.value = !1);
|
|
11421
11423
|
},
|
|
11422
11424
|
{ immediate: !0 }
|
|
11423
11425
|
);
|
|
11424
|
-
const T = (
|
|
11426
|
+
const T = (S) => {
|
|
11425
11427
|
var I;
|
|
11426
11428
|
return (I = t.value) == null ? void 0 : I.parentNode.parentNode;
|
|
11427
|
-
}, G = (
|
|
11429
|
+
}, G = (S) => {
|
|
11428
11430
|
u.value.reportTheme = "";
|
|
11429
|
-
},
|
|
11430
|
-
I.length > 0 && (b.value = I[0].path), n.value.reportPosition =
|
|
11431
|
-
},
|
|
11432
|
-
|
|
11433
|
-
},
|
|
11434
|
-
|
|
11435
|
-
},
|
|
11431
|
+
}, M = (S, I) => {
|
|
11432
|
+
I.length > 0 && (b.value = I[0].path), n.value.reportPosition = S, p.value = "";
|
|
11433
|
+
}, h = (S) => {
|
|
11434
|
+
S && (u.value.reportPosition = "", b.value = ""), S ? (n.value.reportPosition = null, b.value = "", q.value = AA("告警对象位置").value) : (n.value.reportPosition = null, b.value = "", q.value = AA("请选择").value);
|
|
11435
|
+
}, J = (S) => {
|
|
11436
|
+
S && (u.value.reportTheme = ""), S ? (n.value.reportTheme = "", a.value = AA("告警对象").value) : (n.value.reportTheme = "", a.value = AA("请输入").value);
|
|
11437
|
+
}, Q = () => {
|
|
11436
11438
|
u.value.processTypeId = "", u.value.reason = "", u.value.treatmentPlan = "", u.value.reportPosition = "", u.value.reportTheme = "", u.value.workOrderRules = "", u.value.eventTypeId = "", u.value.eventLevelId = "", u.value.timeLimit = "";
|
|
11437
|
-
},
|
|
11439
|
+
}, U = () => {
|
|
11438
11440
|
n.value.processTypeId = "confirm", n.value.reason = "", n.value.treatmentPlan = "", n.value.remarks = "", n.value.reportPosition = "", n.value.reportTheme = "", n.value.workOrderRules = null, R.value = !0, m.value = !0, j.value = !0, n.value.reportTheme = AA("告警对象").value, b.value = "", q.value = AA("告警对象位置").value, a.value = AA("请输入").value, n.value.eventTypeId = "", n.value.eventLevelId = null, n.value.timeLimit = "", n.value.interval = 1, X.value = [], i.value = [];
|
|
11439
|
-
},
|
|
11440
|
-
|
|
11441
|
+
}, K = (S) => {
|
|
11442
|
+
S == "eventTypeId" && (n.value.eventLevelId = null, W()), S == "eventLevelId" && E(), S == "interval" && (u.value.timeLimit = "", n.value.interval == 3 ? (x.value = !0, n.value.timeLimit = "") : x.value = !1);
|
|
11441
11443
|
}, L = async () => {
|
|
11442
|
-
const [
|
|
11443
|
-
if (
|
|
11444
|
+
const [S, I] = await E8().run();
|
|
11445
|
+
if (S) return {};
|
|
11444
11446
|
X.value = I, n.value.eventTypeId || (n.value.eventTypeId = I[0] ? I[0].id : null), W();
|
|
11445
11447
|
}, W = async () => {
|
|
11446
|
-
const
|
|
11448
|
+
const S = {
|
|
11447
11449
|
eventTypeId: n.value.eventTypeId
|
|
11448
|
-
}, [I,
|
|
11450
|
+
}, [I, B] = await I8(S).run();
|
|
11449
11451
|
if (I) return {};
|
|
11450
11452
|
const oA = { 1: AA("一级").value, 2: AA("二级").value, 3: AA("三级").value, 4: AA("四级").value };
|
|
11451
|
-
i.value =
|
|
11453
|
+
i.value = B.map((KA) => ({
|
|
11452
11454
|
id: `${KA}`,
|
|
11453
11455
|
name: oA[KA] ? oA[KA] : KA
|
|
11454
|
-
})),
|
|
11456
|
+
})), B.length && !n.value.eventLevelId && (n.value.eventLevelId = i.value[0].id, E());
|
|
11455
11457
|
}, E = async () => {
|
|
11456
|
-
const
|
|
11458
|
+
const S = {
|
|
11457
11459
|
eventTypeId: n.value.eventTypeId,
|
|
11458
11460
|
eventLevel: n.value.eventLevelId
|
|
11459
|
-
}, [I,
|
|
11461
|
+
}, [I, B] = await M8(S).run();
|
|
11460
11462
|
if (I) return {};
|
|
11461
|
-
n.value.interval =
|
|
11462
|
-
}, w = (
|
|
11463
|
-
|
|
11463
|
+
n.value.interval = B.handleTimeUnit, B.handleTimeUnit == 3 ? n.value.timeLimit = "" : n.value.timeLimit = B.handleTime;
|
|
11464
|
+
}, w = (S) => {
|
|
11465
|
+
Q(), S == "createcontingency" && L();
|
|
11464
11466
|
}, zA = async () => {
|
|
11465
|
-
const
|
|
11467
|
+
const S = {
|
|
11466
11468
|
logic: !1,
|
|
11467
11469
|
isTime: !1,
|
|
11468
11470
|
projectId: v.projectId
|
|
11469
11471
|
};
|
|
11470
11472
|
P.value = !0;
|
|
11471
|
-
const [I,
|
|
11473
|
+
const [I, B] = await T8(S).run();
|
|
11472
11474
|
if (I) {
|
|
11473
11475
|
P.value = !1;
|
|
11474
11476
|
return;
|
|
11475
11477
|
}
|
|
11476
|
-
P.value = !1, s.value =
|
|
11478
|
+
P.value = !1, s.value = B;
|
|
11477
11479
|
for (let oA = 0; oA < s.value.length; oA++)
|
|
11478
11480
|
s.value[oA].id === "createorder" && Z();
|
|
11479
11481
|
}, dA = () => {
|
|
11480
|
-
let
|
|
11482
|
+
let S = !0;
|
|
11481
11483
|
if (n.value.processTypeId == "dealwith")
|
|
11482
|
-
n.value.reason.trim() || (
|
|
11484
|
+
n.value.reason.trim() || (S = !1, u.value.reason = AA("必填,最多50个字符/汉字").value), n.value.treatmentPlan.trim() || (S = !1, u.value.treatmentPlan = AA("必填,最多50个字符/汉字").value);
|
|
11483
11485
|
else if (n.value.processTypeId == "createorder")
|
|
11484
|
-
R.value ? u.value.reportPosition = "" : !n.value.reportPosition && !n.value.customPath ? (
|
|
11486
|
+
R.value ? u.value.reportPosition = "" : !n.value.reportPosition && !n.value.customPath ? (S = !1, u.value.reportPosition = AA("必填").value) : u.value.reportPosition = "", m.value || n.value.reportTheme ? u.value.reportTheme = "" : (S = !1, u.value.reportTheme = AA("必填,最多20个汉字/字符").value), n.value.workOrderRules ? u.value.workOrderRules = "" : (S = !1, u.value.workOrderRules = AA("必填").value);
|
|
11485
11487
|
else if (n.value.processTypeId == "createcontingency") {
|
|
11486
11488
|
const I = /^[1-9][0-9]{0,2}$/;
|
|
11487
|
-
n.value.eventTypeId || (
|
|
11489
|
+
n.value.eventTypeId || (S = !1, u.value.eventTypeId = AA("必选").value), n.value.eventLevelId || (S = !1, u.value.eventLevelId = AA("必选").value), n.value.interval != 3 && !I.test(n.value.timeLimit) && (S = !1, u.value.timeLimit = AA("必填,请输入1~999之间的正整数").value);
|
|
11488
11490
|
}
|
|
11489
|
-
return
|
|
11491
|
+
return S;
|
|
11490
11492
|
}, mA = () => {
|
|
11491
11493
|
X9();
|
|
11492
|
-
},
|
|
11493
|
-
dA() && (z.value =
|
|
11494
|
+
}, C = async (S) => {
|
|
11495
|
+
dA() && (z.value = S, $());
|
|
11494
11496
|
}, $ = async () => {
|
|
11495
|
-
const
|
|
11497
|
+
const S = {
|
|
11496
11498
|
projectId: v.projectId,
|
|
11497
11499
|
processStatus: z.value,
|
|
11498
11500
|
//处理状态 1=结束处理 2=继续处理
|
|
@@ -11501,8 +11503,8 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11501
11503
|
processTypeId: n.value.processTypeId
|
|
11502
11504
|
//处理类型id
|
|
11503
11505
|
};
|
|
11504
|
-
n.value.processTypeId === "createorder" ? (
|
|
11505
|
-
const [I,
|
|
11506
|
+
n.value.processTypeId === "createorder" ? (S.path = R.value ? "" : n.value.customPath, S.topic = m.value ? "" : n.value.reportTheme, S.spaceId = R.value ? "" : n.value.reportPosition ?? "", S.orderId = n.value.workOrderRules) : n.value.processTypeId === "createcontingency" ? (S.eventTypeId = n.value.eventTypeId, S.eventLevelId = n.value.eventLevelId, S.timeLimit = n.value.interval == 3 ? null : Number(n.value.timeLimit), S.interval = n.value.interval) : (S.reason = n.value.reason, S.treatmentPlan = n.value.treatmentPlan, S.remarks = n.value.remarks), P.value = !0, r("emitFn", "startHandle");
|
|
11507
|
+
const [I, B] = await o8(S, {
|
|
11506
11508
|
params: {
|
|
11507
11509
|
projectId: v.projectId
|
|
11508
11510
|
}
|
|
@@ -11520,10 +11522,10 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11520
11522
|
return A({
|
|
11521
11523
|
open: eA,
|
|
11522
11524
|
close: X9
|
|
11523
|
-
}), (
|
|
11524
|
-
|
|
11525
|
+
}), (S, I) => (fA(), OA("div", g8, [
|
|
11526
|
+
k(D(Z9), {
|
|
11525
11527
|
modelValue: d.value,
|
|
11526
|
-
"onUpdate:modelValue": I[31] || (I[31] = (
|
|
11528
|
+
"onUpdate:modelValue": I[31] || (I[31] = (B) => d.value = B),
|
|
11527
11529
|
type: "basic",
|
|
11528
11530
|
size: "small",
|
|
11529
11531
|
height: 500,
|
|
@@ -11533,20 +11535,20 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11533
11535
|
},
|
|
11534
11536
|
"destroy-on-close": ""
|
|
11535
11537
|
}, {
|
|
11536
|
-
header:
|
|
11538
|
+
header: F(() => [
|
|
11537
11539
|
aA(
|
|
11538
11540
|
rA(D(AA)("告警处理").value),
|
|
11539
11541
|
1
|
|
11540
11542
|
/* TEXT */
|
|
11541
11543
|
)
|
|
11542
11544
|
]),
|
|
11543
|
-
footer:
|
|
11544
|
-
|
|
11545
|
-
|
|
11545
|
+
footer: F(() => [
|
|
11546
|
+
Y("div", G8, [
|
|
11547
|
+
k(D(BA), {
|
|
11546
11548
|
size: "middle",
|
|
11547
11549
|
onClick: mA
|
|
11548
11550
|
}, {
|
|
11549
|
-
default:
|
|
11551
|
+
default: F(() => [
|
|
11550
11552
|
aA(
|
|
11551
11553
|
rA(D(AA)("取消").value),
|
|
11552
11554
|
1
|
|
@@ -11556,12 +11558,12 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11556
11558
|
_: 1
|
|
11557
11559
|
/* STABLE */
|
|
11558
11560
|
}),
|
|
11559
|
-
|
|
11561
|
+
k(D(BA), {
|
|
11560
11562
|
block: "",
|
|
11561
11563
|
size: "middle",
|
|
11562
|
-
onClick: I[29] || (I[29] = (
|
|
11564
|
+
onClick: I[29] || (I[29] = (B) => C(1))
|
|
11563
11565
|
}, {
|
|
11564
|
-
default:
|
|
11566
|
+
default: F(() => [
|
|
11565
11567
|
aA(
|
|
11566
11568
|
rA(D(AA)("结束处理").value),
|
|
11567
11569
|
1
|
|
@@ -11571,13 +11573,13 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11571
11573
|
_: 1
|
|
11572
11574
|
/* STABLE */
|
|
11573
11575
|
}),
|
|
11574
|
-
|
|
11576
|
+
k(D(BA), {
|
|
11575
11577
|
block: "",
|
|
11576
11578
|
btnType: "primary",
|
|
11577
11579
|
size: "middle",
|
|
11578
|
-
onClick: I[30] || (I[30] = (
|
|
11580
|
+
onClick: I[30] || (I[30] = (B) => C(2))
|
|
11579
11581
|
}, {
|
|
11580
|
-
default:
|
|
11582
|
+
default: F(() => [
|
|
11581
11583
|
aA(
|
|
11582
11584
|
rA(D(AA)("继续处理").value),
|
|
11583
11585
|
1
|
|
@@ -11589,10 +11591,10 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11589
11591
|
})
|
|
11590
11592
|
])
|
|
11591
11593
|
]),
|
|
11592
|
-
default:
|
|
11593
|
-
|
|
11594
|
-
default:
|
|
11595
|
-
|
|
11594
|
+
default: F(() => [
|
|
11595
|
+
k(D(mf), { spinning: P.value }, {
|
|
11596
|
+
default: F(() => [
|
|
11597
|
+
Y(
|
|
11596
11598
|
"div",
|
|
11597
11599
|
{
|
|
11598
11600
|
ref_key: "myDialogBody",
|
|
@@ -11600,18 +11602,18 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11600
11602
|
class: "handle-alarm-dialog-content"
|
|
11601
11603
|
},
|
|
11602
11604
|
[
|
|
11603
|
-
|
|
11605
|
+
k(D(Me), {
|
|
11604
11606
|
style: { width: "100%", height: "100%", "align-items": "center" },
|
|
11605
11607
|
cols: 1,
|
|
11606
11608
|
alignType: "horizontal"
|
|
11607
11609
|
}, {
|
|
11608
|
-
default:
|
|
11609
|
-
|
|
11610
|
+
default: F(() => [
|
|
11611
|
+
k(D(LA), {
|
|
11610
11612
|
label: D(AA)("处理类型").value,
|
|
11611
11613
|
required: "",
|
|
11612
11614
|
type: "select",
|
|
11613
11615
|
modelValue: n.value.processTypeId,
|
|
11614
|
-
"onUpdate:modelValue": I[0] || (I[0] = (
|
|
11616
|
+
"onUpdate:modelValue": I[0] || (I[0] = (B) => n.value.processTypeId = B),
|
|
11615
11617
|
options: s.value,
|
|
11616
11618
|
col: 1,
|
|
11617
11619
|
optionsLabelKey: "name",
|
|
@@ -11628,11 +11630,11 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11628
11630
|
type: "input",
|
|
11629
11631
|
maxlength: "50",
|
|
11630
11632
|
col: 1,
|
|
11631
|
-
onFocus: I[1] || (I[1] = (
|
|
11633
|
+
onFocus: I[1] || (I[1] = (B) => u.value.reason = ""),
|
|
11632
11634
|
modelValue: n.value.reason,
|
|
11633
|
-
"onUpdate:modelValue": I[2] || (I[2] = (
|
|
11635
|
+
"onUpdate:modelValue": I[2] || (I[2] = (B) => n.value.reason = B),
|
|
11634
11636
|
error: u.value.reason,
|
|
11635
|
-
"onUpdate:error": I[3] || (I[3] = (
|
|
11637
|
+
"onUpdate:error": I[3] || (I[3] = (B) => u.value.reason = B),
|
|
11636
11638
|
marginBottom: "30px",
|
|
11637
11639
|
marginRight: "0"
|
|
11638
11640
|
}, null, 8, ["label", "required", "modelValue", "error"])) : nA("v-if", !0),
|
|
@@ -11643,11 +11645,11 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11643
11645
|
type: "input",
|
|
11644
11646
|
maxlength: "50",
|
|
11645
11647
|
col: 1,
|
|
11646
|
-
onFocus: I[4] || (I[4] = (
|
|
11648
|
+
onFocus: I[4] || (I[4] = (B) => u.value.treatmentPlan = ""),
|
|
11647
11649
|
modelValue: n.value.treatmentPlan,
|
|
11648
|
-
"onUpdate:modelValue": I[5] || (I[5] = (
|
|
11650
|
+
"onUpdate:modelValue": I[5] || (I[5] = (B) => n.value.treatmentPlan = B),
|
|
11649
11651
|
error: u.value.treatmentPlan,
|
|
11650
|
-
"onUpdate:error": I[6] || (I[6] = (
|
|
11652
|
+
"onUpdate:error": I[6] || (I[6] = (B) => u.value.treatmentPlan = B),
|
|
11651
11653
|
marginBottom: "30px",
|
|
11652
11654
|
marginRight: "0"
|
|
11653
11655
|
}, null, 8, ["label", "required", "modelValue", "error"])) : nA("v-if", !0),
|
|
@@ -11660,7 +11662,7 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11660
11662
|
maxlength: "100",
|
|
11661
11663
|
col: 1,
|
|
11662
11664
|
modelValue: n.value.remarks,
|
|
11663
|
-
"onUpdate:modelValue": I[7] || (I[7] = (
|
|
11665
|
+
"onUpdate:modelValue": I[7] || (I[7] = (B) => n.value.remarks = B),
|
|
11664
11666
|
marginBottom: "30px",
|
|
11665
11667
|
marginRight: "0"
|
|
11666
11668
|
}, null, 8, ["label", "modelValue"])) : nA("v-if", !0),
|
|
@@ -11670,49 +11672,49 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11670
11672
|
required: "",
|
|
11671
11673
|
type: "custom",
|
|
11672
11674
|
error: u.value.reportPosition,
|
|
11673
|
-
"onUpdate:error": I[13] || (I[13] = (
|
|
11675
|
+
"onUpdate:error": I[13] || (I[13] = (B) => u.value.reportPosition = B),
|
|
11674
11676
|
marginBottom: "20px",
|
|
11675
11677
|
marginRight: "0"
|
|
11676
11678
|
}, {
|
|
11677
|
-
default:
|
|
11678
|
-
|
|
11679
|
-
|
|
11680
|
-
|
|
11679
|
+
default: F(() => [
|
|
11680
|
+
Y("div", B8, [
|
|
11681
|
+
Y("div", k8, [
|
|
11682
|
+
k(D(zr), {
|
|
11681
11683
|
borderType: "underline",
|
|
11682
11684
|
props: { disabled: "_disabled", label: "name" },
|
|
11683
11685
|
modelValue: n.value.reportPosition,
|
|
11684
|
-
"onUpdate:modelValue": I[8] || (I[8] = (
|
|
11686
|
+
"onUpdate:modelValue": I[8] || (I[8] = (B) => n.value.reportPosition = B),
|
|
11685
11687
|
path: b.value,
|
|
11686
|
-
"onUpdate:path": I[9] || (I[9] = (
|
|
11688
|
+
"onUpdate:path": I[9] || (I[9] = (B) => b.value = B),
|
|
11687
11689
|
keyword: p.value,
|
|
11688
|
-
"onUpdate:keyword": I[10] || (I[10] = (
|
|
11690
|
+
"onUpdate:keyword": I[10] || (I[10] = (B) => p.value = B),
|
|
11689
11691
|
showFullPath: !0,
|
|
11690
11692
|
data: H.value,
|
|
11691
11693
|
placeholder: q.value,
|
|
11692
11694
|
disabled: O.value,
|
|
11693
11695
|
load: V,
|
|
11694
11696
|
search: l,
|
|
11695
|
-
onChange:
|
|
11697
|
+
onChange: M,
|
|
11696
11698
|
filter: !0,
|
|
11697
11699
|
allowClear: !0
|
|
11698
11700
|
}, null, 8, ["modelValue", "path", "keyword", "data", "placeholder", "disabled"]),
|
|
11699
|
-
|
|
11701
|
+
k(D(Ve), {
|
|
11700
11702
|
ref: "testInput",
|
|
11701
11703
|
modelValue: n.value.customPath,
|
|
11702
|
-
"onUpdate:modelValue": I[11] || (I[11] = (
|
|
11704
|
+
"onUpdate:modelValue": I[11] || (I[11] = (B) => n.value.customPath = B),
|
|
11703
11705
|
placeholder: D(AA)("选填").value,
|
|
11704
11706
|
disabled: O.value,
|
|
11705
11707
|
maxlength: "20"
|
|
11706
11708
|
}, null, 8, ["modelValue", "placeholder", "disabled"])
|
|
11707
11709
|
]),
|
|
11708
|
-
|
|
11710
|
+
k(D(s7), {
|
|
11709
11711
|
modelValue: R.value,
|
|
11710
|
-
"onUpdate:modelValue": I[12] || (I[12] = (
|
|
11712
|
+
"onUpdate:modelValue": I[12] || (I[12] = (B) => R.value = B),
|
|
11711
11713
|
checkboxType: "default",
|
|
11712
|
-
onChange:
|
|
11714
|
+
onChange: h,
|
|
11713
11715
|
size: "middle"
|
|
11714
11716
|
}, {
|
|
11715
|
-
default:
|
|
11717
|
+
default: F(() => [
|
|
11716
11718
|
aA(
|
|
11717
11719
|
rA(D(AA)("告警对象位置").value),
|
|
11718
11720
|
1
|
|
@@ -11733,28 +11735,28 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11733
11735
|
required: "",
|
|
11734
11736
|
type: "custom",
|
|
11735
11737
|
error: u.value.reportTheme,
|
|
11736
|
-
"onUpdate:error": I[16] || (I[16] = (
|
|
11738
|
+
"onUpdate:error": I[16] || (I[16] = (B) => u.value.reportTheme = B),
|
|
11737
11739
|
marginBottom: "20px",
|
|
11738
11740
|
marginRight: "0"
|
|
11739
11741
|
}, {
|
|
11740
|
-
default:
|
|
11741
|
-
|
|
11742
|
-
|
|
11742
|
+
default: F(() => [
|
|
11743
|
+
Y("div", Q8, [
|
|
11744
|
+
k(D(Ve), {
|
|
11743
11745
|
maxlength: "20",
|
|
11744
11746
|
disabled: j.value,
|
|
11745
11747
|
modelValue: n.value.reportTheme,
|
|
11746
|
-
"onUpdate:modelValue": I[14] || (I[14] = (
|
|
11748
|
+
"onUpdate:modelValue": I[14] || (I[14] = (B) => n.value.reportTheme = B),
|
|
11747
11749
|
placeholder: a.value,
|
|
11748
11750
|
onChange: G
|
|
11749
11751
|
}, null, 8, ["disabled", "modelValue", "placeholder"]),
|
|
11750
|
-
|
|
11752
|
+
k(D(s7), {
|
|
11751
11753
|
modelValue: m.value,
|
|
11752
|
-
"onUpdate:modelValue": I[15] || (I[15] = (
|
|
11754
|
+
"onUpdate:modelValue": I[15] || (I[15] = (B) => m.value = B),
|
|
11753
11755
|
checkboxType: "default",
|
|
11754
|
-
onChange:
|
|
11756
|
+
onChange: J,
|
|
11755
11757
|
size: "middle"
|
|
11756
11758
|
}, {
|
|
11757
|
-
default:
|
|
11759
|
+
default: F(() => [
|
|
11758
11760
|
aA(
|
|
11759
11761
|
rA(D(AA)("告警对象").value),
|
|
11760
11762
|
1
|
|
@@ -11775,9 +11777,9 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11775
11777
|
required: "",
|
|
11776
11778
|
type: "select",
|
|
11777
11779
|
modelValue: n.value.workOrderRules,
|
|
11778
|
-
"onUpdate:modelValue": I[17] || (I[17] = (
|
|
11780
|
+
"onUpdate:modelValue": I[17] || (I[17] = (B) => n.value.workOrderRules = B),
|
|
11779
11781
|
error: u.value.workOrderRules,
|
|
11780
|
-
"onUpdate:error": I[18] || (I[18] = (
|
|
11782
|
+
"onUpdate:error": I[18] || (I[18] = (B) => u.value.workOrderRules = B),
|
|
11781
11783
|
options: N.value,
|
|
11782
11784
|
col: 1,
|
|
11783
11785
|
optionsLabelKey: "name",
|
|
@@ -11793,9 +11795,9 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11793
11795
|
required: "",
|
|
11794
11796
|
type: "select",
|
|
11795
11797
|
modelValue: n.value.eventTypeId,
|
|
11796
|
-
"onUpdate:modelValue": I[19] || (I[19] = (
|
|
11798
|
+
"onUpdate:modelValue": I[19] || (I[19] = (B) => n.value.eventTypeId = B),
|
|
11797
11799
|
error: u.value.eventTypeId,
|
|
11798
|
-
"onUpdate:error": I[20] || (I[20] = (
|
|
11800
|
+
"onUpdate:error": I[20] || (I[20] = (B) => u.value.eventTypeId = B),
|
|
11799
11801
|
options: X.value,
|
|
11800
11802
|
col: 1,
|
|
11801
11803
|
optionsLabelKey: "typeName",
|
|
@@ -11803,7 +11805,7 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11803
11805
|
"get-popup-container": T,
|
|
11804
11806
|
marginBottom: "30px",
|
|
11805
11807
|
marginRight: "0",
|
|
11806
|
-
onChange: I[21] || (I[21] = (
|
|
11808
|
+
onChange: I[21] || (I[21] = (B) => K("eventTypeId"))
|
|
11807
11809
|
}, null, 8, ["label", "modelValue", "error", "options"])) : nA("v-if", !0),
|
|
11808
11810
|
n.value.processTypeId == "createcontingency" ? (fA(), XA(D(LA), {
|
|
11809
11811
|
key: 7,
|
|
@@ -11811,9 +11813,9 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11811
11813
|
required: "",
|
|
11812
11814
|
type: "select",
|
|
11813
11815
|
modelValue: n.value.eventLevelId,
|
|
11814
|
-
"onUpdate:modelValue": I[22] || (I[22] = (
|
|
11816
|
+
"onUpdate:modelValue": I[22] || (I[22] = (B) => n.value.eventLevelId = B),
|
|
11815
11817
|
error: u.value.eventLevelId,
|
|
11816
|
-
"onUpdate:error": I[23] || (I[23] = (
|
|
11818
|
+
"onUpdate:error": I[23] || (I[23] = (B) => u.value.eventLevelId = B),
|
|
11817
11819
|
options: i.value,
|
|
11818
11820
|
col: 1,
|
|
11819
11821
|
optionsLabelKey: "name",
|
|
@@ -11821,7 +11823,7 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11821
11823
|
"get-popup-container": T,
|
|
11822
11824
|
marginBottom: "30px",
|
|
11823
11825
|
marginRight: "0",
|
|
11824
|
-
onChange: I[24] || (I[24] = (
|
|
11826
|
+
onChange: I[24] || (I[24] = (B) => K("eventLevelId"))
|
|
11825
11827
|
}, null, 8, ["label", "modelValue", "error", "options"])) : nA("v-if", !0),
|
|
11826
11828
|
n.value.processTypeId == "createcontingency" ? (fA(), XA(D(LA), {
|
|
11827
11829
|
key: 8,
|
|
@@ -11831,19 +11833,19 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11831
11833
|
maxlength: "3",
|
|
11832
11834
|
col: 1,
|
|
11833
11835
|
modelValue: n.value.timeLimit,
|
|
11834
|
-
"onUpdate:modelValue": I[27] || (I[27] = (
|
|
11836
|
+
"onUpdate:modelValue": I[27] || (I[27] = (B) => n.value.timeLimit = B),
|
|
11835
11837
|
error: u.value.timeLimit,
|
|
11836
|
-
"onUpdate:error": I[28] || (I[28] = (
|
|
11838
|
+
"onUpdate:error": I[28] || (I[28] = (B) => u.value.timeLimit = B),
|
|
11837
11839
|
disabled: n.value.interval == 3,
|
|
11838
11840
|
marginBottom: "30px",
|
|
11839
11841
|
marginRight: "0"
|
|
11840
11842
|
}, {
|
|
11841
|
-
default:
|
|
11842
|
-
|
|
11843
|
-
|
|
11843
|
+
default: F(() => [
|
|
11844
|
+
Y("div", Y8, [
|
|
11845
|
+
k(D(C3), {
|
|
11844
11846
|
class: "select",
|
|
11845
11847
|
modelValue: n.value.interval,
|
|
11846
|
-
"onUpdate:modelValue": I[25] || (I[25] = (
|
|
11848
|
+
"onUpdate:modelValue": I[25] || (I[25] = (B) => n.value.interval = B),
|
|
11847
11849
|
width: D(C9) == "zh-CN" ? "65px" : "85px",
|
|
11848
11850
|
fieldNames: {
|
|
11849
11851
|
value: "id",
|
|
@@ -11853,7 +11855,7 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11853
11855
|
"border-type": "underline",
|
|
11854
11856
|
size: "small",
|
|
11855
11857
|
"get-popup-container": T,
|
|
11856
|
-
onChange: I[26] || (I[26] = (
|
|
11858
|
+
onChange: I[26] || (I[26] = (B) => K("interval")),
|
|
11857
11859
|
placeholder: D(AA)("请选择").value
|
|
11858
11860
|
}, null, 8, ["modelValue", "width", "options", "placeholder"])
|
|
11859
11861
|
])
|
|
@@ -11907,20 +11909,20 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11907
11909
|
null,
|
|
11908
11910
|
[
|
|
11909
11911
|
nA(` <div class="alarm-msg" :style="{ 'border-color': msgItem.color }"> `),
|
|
11910
|
-
|
|
11911
|
-
|
|
11912
|
-
|
|
11912
|
+
Y("div", h8, [
|
|
11913
|
+
Y("div", K8, [
|
|
11914
|
+
Y(
|
|
11913
11915
|
"div",
|
|
11914
11916
|
{
|
|
11915
11917
|
style: b7({ "background-color": t.msgItem.color }),
|
|
11916
11918
|
class: "title-detail"
|
|
11917
11919
|
},
|
|
11918
11920
|
[
|
|
11919
|
-
|
|
11921
|
+
Y("div", C8, [
|
|
11920
11922
|
nA(` <div class="icon-box" :style="{ color: msgItem.color }">\r
|
|
11921
11923
|
!\r
|
|
11922
11924
|
</div> `),
|
|
11923
|
-
|
|
11925
|
+
Y(
|
|
11924
11926
|
"div",
|
|
11925
11927
|
_8,
|
|
11926
11928
|
rA(D(AA)("新告警").value),
|
|
@@ -11928,7 +11930,7 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11928
11930
|
/* TEXT */
|
|
11929
11931
|
)
|
|
11930
11932
|
]),
|
|
11931
|
-
z[0] || (z[0] =
|
|
11933
|
+
z[0] || (z[0] = Y(
|
|
11932
11934
|
"div",
|
|
11933
11935
|
{ class: "title-right" },
|
|
11934
11936
|
null,
|
|
@@ -11939,16 +11941,16 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11939
11941
|
4
|
|
11940
11942
|
/* STYLE */
|
|
11941
11943
|
),
|
|
11942
|
-
|
|
11943
|
-
|
|
11944
|
-
|
|
11944
|
+
Y("div", $8, [
|
|
11945
|
+
Y("div", AX, [
|
|
11946
|
+
Y(
|
|
11945
11947
|
"div",
|
|
11946
11948
|
fX,
|
|
11947
11949
|
rA(D(AA)("告警等级:").value),
|
|
11948
11950
|
1
|
|
11949
11951
|
/* TEXT */
|
|
11950
11952
|
),
|
|
11951
|
-
|
|
11953
|
+
Y(
|
|
11952
11954
|
"div",
|
|
11953
11955
|
{
|
|
11954
11956
|
class: "alarm-msg-line-right alarm-content-object",
|
|
@@ -11959,15 +11961,15 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11959
11961
|
/* TEXT, STYLE */
|
|
11960
11962
|
)
|
|
11961
11963
|
]),
|
|
11962
|
-
|
|
11963
|
-
|
|
11964
|
+
Y("div", eX, [
|
|
11965
|
+
Y(
|
|
11964
11966
|
"div",
|
|
11965
11967
|
vX,
|
|
11966
11968
|
rA(D(AA)("告警对象:").value),
|
|
11967
11969
|
1
|
|
11968
11970
|
/* TEXT */
|
|
11969
11971
|
),
|
|
11970
|
-
|
|
11972
|
+
Y(
|
|
11971
11973
|
"div",
|
|
11972
11974
|
nX,
|
|
11973
11975
|
rA(t.msgItem.equipmentName || ""),
|
|
@@ -11975,15 +11977,15 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11975
11977
|
/* TEXT */
|
|
11976
11978
|
)
|
|
11977
11979
|
]),
|
|
11978
|
-
|
|
11979
|
-
|
|
11980
|
+
Y("div", rX, [
|
|
11981
|
+
Y(
|
|
11980
11982
|
"div",
|
|
11981
11983
|
PX,
|
|
11982
11984
|
rA(D(AA)("告警内容:").value),
|
|
11983
11985
|
1
|
|
11984
11986
|
/* TEXT */
|
|
11985
11987
|
),
|
|
11986
|
-
|
|
11988
|
+
Y(
|
|
11987
11989
|
"div",
|
|
11988
11990
|
tX,
|
|
11989
11991
|
rA(t.msgItem.alarmContent || ""),
|
|
@@ -11991,7 +11993,7 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11991
11993
|
/* TEXT */
|
|
11992
11994
|
)
|
|
11993
11995
|
]),
|
|
11994
|
-
|
|
11996
|
+
Y("div", uX, [
|
|
11995
11997
|
t.msgItem.equipmentCode && t.msgItem.equipmentPanelCode ? (fA(), XA(D(BA), {
|
|
11996
11998
|
key: 0,
|
|
11997
11999
|
block: "",
|
|
@@ -11999,7 +12001,7 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
11999
12001
|
btnType: "primary-text",
|
|
12000
12002
|
size: "middle"
|
|
12001
12003
|
}, {
|
|
12002
|
-
default:
|
|
12004
|
+
default: F(() => [
|
|
12003
12005
|
aA(
|
|
12004
12006
|
rA(D(AA)("设备详情").value),
|
|
12005
12007
|
1
|
|
@@ -12016,7 +12018,7 @@ const l8 = TA(`/api/tool/event-bus/${of}/`), xe = l8.post("/publish"), D8 = xf.g
|
|
|
12016
12018
|
onClick: lA(r, ["stop"]),
|
|
12017
12019
|
size: "middle"
|
|
12018
12020
|
}, {
|
|
12019
|
-
default:
|
|
12021
|
+
default: F(() => [
|
|
12020
12022
|
aA(
|
|
12021
12023
|
rA(D(AA)("处理").value),
|
|
12022
12024
|
1
|
|
@@ -12168,7 +12170,7 @@ const bX = () => {
|
|
|
12168
12170
|
__name: "index",
|
|
12169
12171
|
setup(e) {
|
|
12170
12172
|
const { alarmSocket: A, creatAlarmSocket: f, audioObj: v, audioAlarmRef: r, handleAlarmVue: P } = bX();
|
|
12171
|
-
return
|
|
12173
|
+
return CA(async () => {
|
|
12172
12174
|
await Df(), f();
|
|
12173
12175
|
}), K9(() => {
|
|
12174
12176
|
A.value && A.value.disconnect(), A.value = null;
|
|
@@ -12176,8 +12178,8 @@ const bX = () => {
|
|
|
12176
12178
|
s9,
|
|
12177
12179
|
null,
|
|
12178
12180
|
[
|
|
12179
|
-
|
|
12180
|
-
|
|
12181
|
+
k(D(P)),
|
|
12182
|
+
Y("audio", {
|
|
12181
12183
|
src: D(v).playPath,
|
|
12182
12184
|
class: "audio-alarm-level",
|
|
12183
12185
|
ref_key: "audioAlarmRef",
|
|
@@ -12204,7 +12206,7 @@ const bX = () => {
|
|
|
12204
12206
|
var j;
|
|
12205
12207
|
if (l) {
|
|
12206
12208
|
const N = !!(((j = uA()) == null ? void 0 : j.menuCollapses) || []).find((Z) => Z === l);
|
|
12207
|
-
|
|
12209
|
+
_.menu.setCollapse(N);
|
|
12208
12210
|
}
|
|
12209
12211
|
},
|
|
12210
12212
|
{ immediate: !0 }
|
|
@@ -12217,9 +12219,9 @@ const bX = () => {
|
|
|
12217
12219
|
return f1(), e1(x), v1(), r1(), W1(), N8(), (l, j) => (fA(), OA("div", iX, [
|
|
12218
12220
|
nA(` <button @click="test(0)">test</button>\r
|
|
12219
12221
|
<button style="margin-left: 5px" @click="test(1)">test2</button> `),
|
|
12220
|
-
|
|
12221
|
-
default:
|
|
12222
|
-
|
|
12222
|
+
k(D(yr), { platformInitNextTick: D(d) }, {
|
|
12223
|
+
default: F(() => [
|
|
12224
|
+
k(qr, {
|
|
12223
12225
|
loading: D(n),
|
|
12224
12226
|
pageKey: D(u) + D(C9),
|
|
12225
12227
|
showLayout: r.value,
|
|
@@ -12233,7 +12235,7 @@ const bX = () => {
|
|
|
12233
12235
|
}, [
|
|
12234
12236
|
We(l.$slots, (m, N, Z) => ({
|
|
12235
12237
|
name: N,
|
|
12236
|
-
fn:
|
|
12238
|
+
fn: F(() => [
|
|
12237
12239
|
r9(l.$slots, N, {}, void 0, !0)
|
|
12238
12240
|
])
|
|
12239
12241
|
}))
|
|
@@ -12243,7 +12245,7 @@ const bX = () => {
|
|
|
12243
12245
|
/* FORWARDED */
|
|
12244
12246
|
}, 8, ["platformInitNextTick"]),
|
|
12245
12247
|
nA(" 切换租户 "),
|
|
12246
|
-
|
|
12248
|
+
k(D(jn), {
|
|
12247
12249
|
visible: D(q),
|
|
12248
12250
|
"onUpdate:visible": j[0] || (j[0] = (m) => JA(q) ? q.value = m : null),
|
|
12249
12251
|
userId: D(a),
|
|
@@ -12251,7 +12253,7 @@ const bX = () => {
|
|
|
12251
12253
|
onConfirm: D(p)
|
|
12252
12254
|
}, null, 8, ["visible", "userId", "tenantId", "onConfirm"]),
|
|
12253
12255
|
nA(" 修改密码 "),
|
|
12254
|
-
|
|
12256
|
+
k(
|
|
12255
12257
|
D(Rn),
|
|
12256
12258
|
{
|
|
12257
12259
|
ref_key: "$changePwd",
|
|
@@ -12262,7 +12264,7 @@ const bX = () => {
|
|
|
12262
12264
|
/* NEED_PATCH */
|
|
12263
12265
|
),
|
|
12264
12266
|
nA(" 个性化设置 "),
|
|
12265
|
-
|
|
12267
|
+
k(
|
|
12266
12268
|
D(T6),
|
|
12267
12269
|
{
|
|
12268
12270
|
ref_key: "$personSetDialog",
|
|
@@ -12273,14 +12275,14 @@ const bX = () => {
|
|
|
12273
12275
|
/* NEED_PATCH */
|
|
12274
12276
|
),
|
|
12275
12277
|
nA(" AI助手 "),
|
|
12276
|
-
|
|
12278
|
+
k(D(Zn), {
|
|
12277
12279
|
platformInitNextTick: D(d),
|
|
12278
12280
|
onToApp: D(b),
|
|
12279
12281
|
ref_key: "$aiPanel",
|
|
12280
12282
|
ref: s
|
|
12281
12283
|
}, null, 8, ["platformInitNextTick", "onToApp"]),
|
|
12282
12284
|
nA(" 告警 "),
|
|
12283
|
-
|
|
12285
|
+
k(D(aX))
|
|
12284
12286
|
]));
|
|
12285
12287
|
}
|
|
12286
12288
|
}), qX = /* @__PURE__ */ MA(sX, [["__scopeId", "data-v-36228f30"]]), HX = {
|
|
@@ -12453,11 +12455,11 @@ o("@das-fed/web");
|
|
|
12453
12455
|
const pX = [
|
|
12454
12456
|
{
|
|
12455
12457
|
path: SA,
|
|
12456
|
-
component: () => import("./index-
|
|
12458
|
+
component: () => import("./index-BHlzbJ72.js")
|
|
12457
12459
|
},
|
|
12458
12460
|
{
|
|
12459
12461
|
path: _3,
|
|
12460
|
-
component: () => import("./index-
|
|
12462
|
+
component: () => import("./index-DZ8X_gYY.js")
|
|
12461
12463
|
}
|
|
12462
12464
|
], x2 = {
|
|
12463
12465
|
routes: pX,
|