@das-fed/web 7.0.2-beta.1 → 7.0.2-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{index-CHIJhK9A.js → index-C_grfTQZ.js} +1 -1
- package/{index-DeLwfYaO.js → index-Daq7bCIL.js} +889 -884
- package/index-Daq7bCIL.js.gz +0 -0
- package/{packages/main-app-framework/index-4nULXb-V.js → index-fgIF10qZ.js} +33 -32
- package/index-fgIF10qZ.js.gz +0 -0
- package/index.js +1 -1
- package/package.json +6 -6
- package/packages/main-app-framework/{index-C933IWvF.js → index-B33l8Tr8.js} +511 -506
- package/packages/main-app-framework/index-B33l8Tr8.js.gz +0 -0
- package/packages/main-app-framework/{index-PcZYYf9m.js → index-D4IiPdL0.js} +1 -1
- package/{index-s2j-cJxA.js → packages/main-app-framework/index-DNhkfPVq.js} +33 -32
- package/packages/main-app-framework/index-DNhkfPVq.js.gz +0 -0
- package/packages/main-app-framework/index.js +1 -1
- package/index-DeLwfYaO.js.gz +0 -0
- package/index-s2j-cJxA.js.gz +0 -0
- package/packages/main-app-framework/index-4nULXb-V.js.gz +0 -0
- package/packages/main-app-framework/index-C933IWvF.js.gz +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as qA, ref as o, onUnmounted as bn, createElementBlock as mA, createCommentVNode as nA, openBlock as fA, createElementVNode as
|
|
2
|
-
import { DasWebLayout as On, DasWebTabs as mn, DasWebMenu as ln, DasWebNav as Dn, layout as
|
|
1
|
+
import { defineComponent as qA, ref as o, onUnmounted as bn, createElementBlock as mA, createCommentVNode as nA, openBlock as fA, createElementVNode as Q, createVNode as k, createTextVNode as aA, unref as D, toDisplayString as rA, watch as OA, createBlock as XA, computed as EA, mergeProps as cn, withCtx as U, renderSlot as P9, getCurrentScope as an, onScopeDispose as sn, getCurrentInstance as qn, onMounted as _A, nextTick as R9, reactive as k3, Fragment as i9, renderList as We, withDirectives as h9, h as jA, render as Q9, vShow as af, normalizeClass as Q3, isRef as FA, onBeforeUnmount as K9, useCssVars as Hn, withModifiers as DA, toRefs as pn, normalizeStyle as c7, createSlots as xn } from "vue";
|
|
2
|
+
import { DasWebLayout as On, DasWebTabs as mn, DasWebMenu as ln, DasWebNav as Dn, layout as S, layoutData as Y3 } from "@das-fed/web/packages/layout/index";
|
|
3
3
|
import { useRoute as sf, useRouter as y9 } 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 Vn, setI18nRule as Nn } from "@das-fed/web/packages/i18n/index";
|
|
6
6
|
import { DasIconWarning as Rn } from "@das-fed/ui/packages/icons/warning/index";
|
|
7
7
|
import { DasIconClose2 as jn } from "@das-fed/ui/packages/icons/close-2/index";
|
|
8
8
|
import { DasChangePwdRef as Zn, DasChangePwd as Tn } from "@das-fed/ui/packages/business-components/change-pwd/index";
|
|
@@ -77,8 +77,8 @@ const hA = "/home", RA = "/application", Av = [
|
|
|
77
77
|
return bn(() => {
|
|
78
78
|
d();
|
|
79
79
|
}), (n, u) => v.value ? nA("v-if", !0) : (fA(), mA("div", ar, [
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
Q("div", ir, [
|
|
81
|
+
k(D(Rn), {
|
|
82
82
|
class: "icons",
|
|
83
83
|
iconColor: "#fdaf1a"
|
|
84
84
|
}),
|
|
@@ -88,7 +88,7 @@ const hA = "/home", RA = "/application", Av = [
|
|
|
88
88
|
/* TEXT */
|
|
89
89
|
)
|
|
90
90
|
]),
|
|
91
|
-
|
|
91
|
+
k(D(jn), {
|
|
92
92
|
class: "icons close-icon",
|
|
93
93
|
iconColor: "#999999",
|
|
94
94
|
onClick: z
|
|
@@ -144,22 +144,22 @@ const hA = "/home", RA = "/application", Av = [
|
|
|
144
144
|
}, v.value), {
|
|
145
145
|
header: U(() => [
|
|
146
146
|
P9(r.$slots, "header", {}, () => [
|
|
147
|
-
|
|
147
|
+
k(D(Dn))
|
|
148
148
|
])
|
|
149
149
|
]),
|
|
150
150
|
aside: U(() => [
|
|
151
151
|
P9(r.$slots, "aside", {}, () => [
|
|
152
|
-
|
|
152
|
+
k(D(ln), { menuAttr: r.menuAttr }, null, 8, ["menuAttr"])
|
|
153
153
|
])
|
|
154
154
|
]),
|
|
155
155
|
tab: U(() => [
|
|
156
156
|
P9(r.$slots, "tab", {}, () => [
|
|
157
|
-
|
|
157
|
+
k(D(mn), { tabsAttr: r.tabsAttr }, null, 8, ["tabsAttr"])
|
|
158
158
|
])
|
|
159
159
|
]),
|
|
160
160
|
banner: U(() => [
|
|
161
161
|
P9(r.$slots, "banner", {}, () => [
|
|
162
|
-
|
|
162
|
+
k(Hr)
|
|
163
163
|
])
|
|
164
164
|
]),
|
|
165
165
|
_: 3
|
|
@@ -434,15 +434,15 @@ const yr = Yn.get("watermark"), Wr = /* @__PURE__ */ qA({
|
|
|
434
434
|
onClosed: f.closeCallback
|
|
435
435
|
}, {
|
|
436
436
|
footer: U(() => [
|
|
437
|
-
|
|
438
|
-
|
|
437
|
+
Q("div", Mr, [
|
|
438
|
+
k(D(kA), {
|
|
439
439
|
btnType: "default",
|
|
440
440
|
size: "small",
|
|
441
441
|
onClick: f.closeCallback
|
|
442
442
|
}, {
|
|
443
443
|
default: U(() => [
|
|
444
444
|
aA(
|
|
445
|
-
rA(D(
|
|
445
|
+
rA(D(g)("我知道了")),
|
|
446
446
|
1
|
|
447
447
|
/* TEXT */
|
|
448
448
|
)
|
|
@@ -453,7 +453,7 @@ const yr = Yn.get("watermark"), Wr = /* @__PURE__ */ qA({
|
|
|
453
453
|
])
|
|
454
454
|
]),
|
|
455
455
|
default: U(() => [
|
|
456
|
-
|
|
456
|
+
Q("div", {
|
|
457
457
|
class: "content",
|
|
458
458
|
innerHTML: f.content
|
|
459
459
|
}, null, 8, Ir),
|
|
@@ -461,7 +461,7 @@ const yr = Yn.get("watermark"), Wr = /* @__PURE__ */ qA({
|
|
|
461
461
|
i9,
|
|
462
462
|
{ key: 0 },
|
|
463
463
|
[
|
|
464
|
-
v[1] || (v[1] =
|
|
464
|
+
v[1] || (v[1] = Q(
|
|
465
465
|
"div",
|
|
466
466
|
{ class: "divide" },
|
|
467
467
|
null,
|
|
@@ -630,8 +630,8 @@ const kr = (e = {}) => {
|
|
|
630
630
|
const A = JSON.parse(sessionStorage.getItem(e) || "{}");
|
|
631
631
|
if (A && JSON.stringify(A) !== "{}" && A != null && A.exitConfirmPages && A.exitConfirmPages.length) {
|
|
632
632
|
const f = (A == null ? void 0 : A.currentPage) ?? "";
|
|
633
|
-
if (A.exitConfirmPages.includes(f) && !window.confirm(
|
|
634
|
-
throw new Error(
|
|
633
|
+
if (A.exitConfirmPages.includes(f) && !window.confirm(g("切换后已录入的数据将会丢失且不可恢复,确定切换?")))
|
|
634
|
+
throw new Error(g("取消切换"));
|
|
635
635
|
}
|
|
636
636
|
}, tf = (e, A) => {
|
|
637
637
|
if (!A || !A.length) return;
|
|
@@ -639,8 +639,8 @@ const kr = (e = {}) => {
|
|
|
639
639
|
if (f && JSON.stringify(f) !== "{}" && f != null && f.closeTabPageConfirm && f.closeTabPageConfirm.length) {
|
|
640
640
|
const v = f.closeTabPageConfirm.map((P) => P.code), r = A.find((P) => v.includes(P));
|
|
641
641
|
if (r) {
|
|
642
|
-
const P = f.closeTabPageConfirm.find((d) => d.code === r), t = (P == null ? void 0 : P.text) ??
|
|
643
|
-
if (!window.confirm(t)) throw new Error(
|
|
642
|
+
const P = f.closeTabPageConfirm.find((d) => d.code === r), t = (P == null ? void 0 : P.text) ?? g("确认关闭?");
|
|
643
|
+
if (!window.confirm(t)) throw new Error(g("取消关闭"));
|
|
644
644
|
}
|
|
645
645
|
}
|
|
646
646
|
};
|
|
@@ -1706,8 +1706,8 @@ function p9() {
|
|
|
1706
1706
|
var a = b + H, q = i[a];
|
|
1707
1707
|
i[a] = (q << 8 | q >>> 24) & 16711935 | (q << 24 | q >>> 8) & 4278255360;
|
|
1708
1708
|
}
|
|
1709
|
-
var p = this._hash.words, m = i[b + 0], N = i[b + 1], V = i[b + 2], l = i[b + 3], j = i[b + 4], O = i[b + 5], R = i[b + 6], Z = i[b + 7], T = i[b + 8],
|
|
1710
|
-
L = x(L, W, E, w, m, 7, n[0]), w = x(w, L, W, E, N, 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, O, 12, n[5]), E = x(E, w, L, W, R, 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,
|
|
1709
|
+
var p = this._hash.words, m = i[b + 0], N = i[b + 1], V = i[b + 2], l = i[b + 3], j = i[b + 4], O = i[b + 5], R = i[b + 6], Z = i[b + 7], T = i[b + 8], M = i[b + 9], J = i[b + 10], _ = i[b + 11], G = i[b + 12], Y = i[b + 13], h = i[b + 14], C = i[b + 15], L = p[0], W = p[1], E = p[2], w = p[3];
|
|
1710
|
+
L = x(L, W, E, w, m, 7, n[0]), w = x(w, L, W, E, N, 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, O, 12, n[5]), E = x(E, w, L, W, R, 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, M, 12, n[9]), E = x(E, w, L, W, J, 17, n[10]), W = x(W, E, w, L, _, 22, n[11]), L = x(L, W, E, w, G, 7, n[12]), w = x(w, L, W, E, Y, 12, n[13]), E = x(E, w, L, W, h, 17, n[14]), W = x(W, E, w, L, C, 22, n[15]), L = X(L, W, E, w, N, 5, n[16]), w = X(w, L, W, E, R, 9, n[17]), E = X(E, w, L, W, _, 14, n[18]), W = X(W, E, w, L, m, 20, n[19]), L = X(L, W, E, w, O, 5, n[20]), w = X(w, L, W, E, J, 9, n[21]), E = X(E, w, L, W, C, 14, n[22]), W = X(W, E, w, L, j, 20, n[23]), L = X(L, W, E, w, M, 5, n[24]), w = X(w, L, W, E, h, 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, Y, 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, G, 20, n[31]), L = s(L, W, E, w, O, 4, n[32]), w = s(w, L, W, E, T, 11, n[33]), E = s(E, w, L, W, _, 16, n[34]), W = s(W, E, w, L, h, 23, n[35]), L = s(L, W, E, w, N, 4, n[36]), w = s(w, L, W, E, j, 11, n[37]), E = s(E, w, L, W, Z, 16, n[38]), W = s(W, E, w, L, J, 23, n[39]), L = s(L, W, E, w, Y, 4, n[40]), w = s(w, L, W, E, m, 11, n[41]), E = s(E, w, L, W, l, 16, n[42]), W = s(W, E, w, L, R, 23, n[43]), L = s(L, W, E, w, M, 4, n[44]), w = s(w, L, W, E, G, 11, n[45]), E = s(E, w, L, W, C, 16, n[46]), W = s(W, E, w, L, V, 23, n[47]), L = c(L, W, E, w, m, 6, n[48]), w = c(w, L, W, E, Z, 10, n[49]), E = c(E, w, L, W, h, 15, n[50]), W = c(W, E, w, L, O, 21, n[51]), L = c(L, W, E, w, G, 6, n[52]), w = c(w, L, W, E, l, 10, n[53]), E = c(E, w, L, W, J, 15, n[54]), W = c(W, E, w, L, N, 21, n[55]), L = c(L, W, E, w, T, 6, n[56]), w = c(w, L, W, E, C, 10, n[57]), E = c(E, w, L, W, R, 15, n[58]), W = c(W, E, w, L, Y, 21, n[59]), L = c(L, W, E, w, j, 6, n[60]), w = c(w, L, W, E, _, 10, n[61]), E = c(E, w, L, W, V, 15, n[62]), W = c(W, E, w, L, M, 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;
|
|
1711
1711
|
},
|
|
1712
1712
|
_doFinalize: function() {
|
|
1713
1713
|
var i = this._data, b = i.words, H = this._nDataBytes * 8, a = i.sigBytes * 8;
|
|
@@ -1823,7 +1823,7 @@ function ke() {
|
|
|
1823
1823
|
var j = x[l - 15], O = (j << 25 | j >>> 7) ^ (j << 14 | j >>> 18) ^ j >>> 3, R = x[l - 2], Z = (R << 15 | R >>> 17) ^ (R << 13 | R >>> 19) ^ R >>> 10;
|
|
1824
1824
|
x[l] = O + x[l - 7] + Z + x[l - 16];
|
|
1825
1825
|
}
|
|
1826
|
-
var T = p & m ^ ~p & N,
|
|
1826
|
+
var T = p & m ^ ~p & N, M = b & H ^ b & a ^ H & a, J = (b << 30 | b >>> 2) ^ (b << 19 | b >>> 13) ^ (b << 10 | b >>> 22), _ = (p << 26 | p >>> 6) ^ (p << 21 | p >>> 11) ^ (p << 7 | p >>> 25), G = V + _ + T + u[l] + x[l], Y = J + M;
|
|
1827
1827
|
V = N, N = m, m = p, p = q + G | 0, q = a, a = H, H = b, b = G + Y | 0;
|
|
1828
1828
|
}
|
|
1829
1829
|
i[0] = i[0] + b | 0, i[1] = i[1] + H | 0, i[2] = i[2] + a | 0, i[3] = i[3] + q | 0, i[4] = i[4] + p | 0, i[5] = i[5] + m | 0, i[6] = i[6] + N | 0, i[7] = i[7] + V | 0;
|
|
@@ -1983,7 +1983,7 @@ function Xv() {
|
|
|
1983
1983
|
]);
|
|
1984
1984
|
},
|
|
1985
1985
|
_doProcessBlock: function(c, i) {
|
|
1986
|
-
for (var b = this._hash.words, H = b[0], a = b[1], q = b[2], p = b[3], m = b[4], N = b[5], V = b[6], l = b[7], j = H.high, O = H.low, R = a.high, Z = a.low, T = q.high,
|
|
1986
|
+
for (var b = this._hash.words, H = b[0], a = b[1], q = b[2], p = b[3], m = b[4], N = b[5], V = b[6], l = b[7], j = H.high, O = H.low, R = a.high, Z = a.low, T = q.high, M = q.low, J = p.high, _ = p.low, G = m.high, Y = m.low, h = N.high, C = N.low, L = V.high, W = V.low, E = l.high, w = l.low, zA = j, dA = O, lA = R, K = Z, $ = T, eA = M, d9 = J, F = _, I = G, B = Y, LA = h, CA = C, vf = L, I9 = W, yf = E, M9 = w, JA = 0; JA < 80; JA++) {
|
|
1987
1987
|
var GA, n9, nf = X[JA];
|
|
1988
1988
|
if (JA < 16)
|
|
1989
1989
|
n9 = nf.high = c[i + JA * 2] | 0, GA = nf.low = c[i + JA * 2 + 1] | 0;
|
|
@@ -1991,10 +1991,10 @@ function Xv() {
|
|
|
1991
1991
|
var f7 = X[JA - 15], l9 = f7.high, g9 = f7.low, $v = (l9 >>> 1 | g9 << 31) ^ (l9 >>> 8 | g9 << 24) ^ l9 >>> 7, e7 = (g9 >>> 1 | l9 << 31) ^ (g9 >>> 8 | l9 << 24) ^ (g9 >>> 7 | l9 << 25), v7 = X[JA - 2], D9 = v7.high, B9 = v7.low, An = (D9 >>> 19 | B9 << 13) ^ (D9 << 3 | B9 >>> 29) ^ D9 >>> 6, n7 = (B9 >>> 19 | D9 << 13) ^ (B9 << 3 | D9 >>> 29) ^ (B9 >>> 6 | D9 << 26), r7 = X[JA - 7], fn = r7.high, en = r7.low, P7 = X[JA - 16], vn = P7.high, t7 = P7.low;
|
|
1992
1992
|
GA = e7 + en, n9 = $v + fn + (GA >>> 0 < e7 >>> 0 ? 1 : 0), GA = GA + n7, n9 = n9 + An + (GA >>> 0 < n7 >>> 0 ? 1 : 0), GA = GA + t7, n9 = n9 + vn + (GA >>> 0 < t7 >>> 0 ? 1 : 0), nf.high = n9, nf.low = GA;
|
|
1993
1993
|
}
|
|
1994
|
-
var nn = I & LA ^ ~I & vf, u7 =
|
|
1995
|
-
yf = vf, M9 = I9, vf = LA, I9 = CA, LA = I, CA =
|
|
1994
|
+
var nn = I & LA ^ ~I & vf, u7 = B & CA ^ ~B & I9, rn = zA & lA ^ zA & $ ^ lA & $, Pn = dA & K ^ dA & eA ^ K & eA, tn = (zA >>> 28 | dA << 4) ^ (zA << 30 | dA >>> 2) ^ (zA << 25 | dA >>> 7), z7 = (dA >>> 28 | zA << 4) ^ (dA << 30 | zA >>> 2) ^ (dA << 25 | zA >>> 7), un = (I >>> 14 | B << 18) ^ (I >>> 18 | B << 14) ^ (I << 23 | B >>> 9), zn = (B >>> 14 | I << 18) ^ (B >>> 18 | I << 14) ^ (B << 23 | I >>> 9), d7 = x[JA], dn = d7.high, X7 = d7.low, BA = M9 + zn, r9 = yf + un + (BA >>> 0 < M9 >>> 0 ? 1 : 0), BA = BA + u7, r9 = r9 + nn + (BA >>> 0 < u7 >>> 0 ? 1 : 0), BA = BA + X7, r9 = r9 + dn + (BA >>> 0 < X7 >>> 0 ? 1 : 0), BA = BA + GA, r9 = r9 + n9 + (BA >>> 0 < GA >>> 0 ? 1 : 0), b7 = z7 + Pn, Xn = tn + rn + (b7 >>> 0 < z7 >>> 0 ? 1 : 0);
|
|
1995
|
+
yf = vf, M9 = I9, vf = LA, I9 = CA, LA = I, CA = B, B = F + BA | 0, I = d9 + r9 + (B >>> 0 < F >>> 0 ? 1 : 0) | 0, d9 = $, F = eA, $ = lA, eA = K, lA = zA, K = dA, dA = BA + b7 | 0, zA = r9 + Xn + (dA >>> 0 < BA >>> 0 ? 1 : 0) | 0;
|
|
1996
1996
|
}
|
|
1997
|
-
O = H.low = O + dA, H.high = j + zA + (O >>> 0 < dA >>> 0 ? 1 : 0), Z = a.low = Z + K, a.high = R + lA + (Z >>> 0 < K >>> 0 ? 1 : 0),
|
|
1997
|
+
O = H.low = O + dA, H.high = j + zA + (O >>> 0 < dA >>> 0 ? 1 : 0), Z = a.low = Z + K, a.high = R + lA + (Z >>> 0 < K >>> 0 ? 1 : 0), M = q.low = M + eA, q.high = T + $ + (M >>> 0 < eA >>> 0 ? 1 : 0), _ = p.low = _ + F, p.high = J + d9 + (_ >>> 0 < F >>> 0 ? 1 : 0), Y = m.low = Y + B, m.high = G + I + (Y >>> 0 < B >>> 0 ? 1 : 0), C = N.low = C + CA, N.high = h + LA + (C >>> 0 < CA >>> 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);
|
|
1998
1998
|
},
|
|
1999
1999
|
_doFinalize: function() {
|
|
2000
2000
|
var c = this._data, i = c.words, b = this._nDataBytes * 8, H = c.sigBytes * 8;
|
|
@@ -2110,13 +2110,13 @@ function cP() {
|
|
|
2110
2110
|
T.high = O, T.low = R;
|
|
2111
2111
|
}
|
|
2112
2112
|
for (var j = 0; j < 5; j++)
|
|
2113
|
-
for (var
|
|
2113
|
+
for (var M = c[(j + 4) % 5], J = c[(j + 1) % 5], _ = J.high, G = J.low, O = M.high ^ (_ << 1 | G >>> 31), R = M.low ^ (G << 1 | _ >>> 31), Z = 0; Z < 5; Z++) {
|
|
2114
2114
|
var V = a[j + 5 * Z];
|
|
2115
2115
|
V.high ^= O, V.low ^= R;
|
|
2116
2116
|
}
|
|
2117
2117
|
for (var Y = 1; Y < 25; Y++) {
|
|
2118
|
-
var O, R, V = a[Y],
|
|
2119
|
-
L < 32 ? (O =
|
|
2118
|
+
var O, R, V = a[Y], h = V.high, C = V.low, L = x[Y];
|
|
2119
|
+
L < 32 ? (O = h << L | C >>> 32 - L, R = C << L | h >>> 32 - L) : (O = C << L - 32 | h >>> 64 - L, R = h << L - 32 | C >>> 64 - L);
|
|
2120
2120
|
var W = c[X[Y]];
|
|
2121
2121
|
W.high = O, W.low = R;
|
|
2122
2122
|
}
|
|
@@ -2503,11 +2503,11 @@ function aP() {
|
|
|
2503
2503
|
var j = V + l, O = N[j];
|
|
2504
2504
|
N[j] = (O << 8 | O >>> 24) & 16711935 | (O << 24 | O >>> 8) & 4278255360;
|
|
2505
2505
|
}
|
|
2506
|
-
var R = this._hash.words, Z = s.words, T = c.words,
|
|
2507
|
-
E = Y = R[0], w =
|
|
2506
|
+
var R = this._hash.words, Z = s.words, T = c.words, M = n.words, J = u.words, _ = x.words, G = X.words, Y, h, C, L, W, E, w, zA, dA, lA;
|
|
2507
|
+
E = Y = R[0], w = h = R[1], zA = C = R[2], dA = L = R[3], lA = W = R[4];
|
|
2508
2508
|
for (var K, l = 0; l < 80; l += 1)
|
|
2509
|
-
K = Y + N[V +
|
|
2510
|
-
K = R[1] + C + dA | 0, R[1] = R[2] + L + lA | 0, R[2] = R[3] + W + E | 0, R[3] = R[4] + Y + w | 0, R[4] = R[0] +
|
|
2509
|
+
K = Y + N[V + M[l]] | 0, l < 16 ? K += b(h, C, L) + Z[0] : l < 32 ? K += H(h, C, L) + Z[1] : l < 48 ? K += a(h, C, L) + Z[2] : l < 64 ? K += q(h, C, L) + Z[3] : K += p(h, C, L) + Z[4], K = K | 0, K = m(K, _[l]), K = K + W | 0, Y = W, W = L, L = m(C, 10), C = h, h = K, K = E + N[V + J[l]] | 0, l < 16 ? K += p(w, zA, dA) + T[0] : l < 32 ? K += q(w, zA, dA) + T[1] : l < 48 ? K += a(w, zA, dA) + T[2] : l < 64 ? K += H(w, zA, dA) + T[3] : K += b(w, zA, dA) + T[4], K = K | 0, K = m(K, G[l]), K = K + lA | 0, E = lA, lA = dA, dA = m(zA, 10), zA = w, w = K;
|
|
2510
|
+
K = R[1] + C + dA | 0, R[1] = R[2] + L + lA | 0, R[2] = R[3] + W + E | 0, R[3] = R[4] + Y + w | 0, R[4] = R[0] + h + zA | 0, R[0] = K;
|
|
2511
2511
|
},
|
|
2512
2512
|
_doFinalize: function() {
|
|
2513
2513
|
var N = this._data, V = N.words, l = this._nDataBytes * 8, j = N.sigBytes * 8;
|
|
@@ -2885,11 +2885,11 @@ function VA() {
|
|
|
2885
2885
|
}
|
|
2886
2886
|
return function(R) {
|
|
2887
2887
|
return {
|
|
2888
|
-
encrypt: function(Z, T,
|
|
2889
|
-
return O(T).encrypt(R, Z, T,
|
|
2888
|
+
encrypt: function(Z, T, M) {
|
|
2889
|
+
return O(T).encrypt(R, Z, T, M);
|
|
2890
2890
|
},
|
|
2891
|
-
decrypt: function(Z, T,
|
|
2892
|
-
return O(T).decrypt(R, Z, T,
|
|
2891
|
+
decrypt: function(Z, T, M) {
|
|
2892
|
+
return O(T).decrypt(R, Z, T, M);
|
|
2893
2893
|
}
|
|
2894
2894
|
};
|
|
2895
2895
|
};
|
|
@@ -2960,8 +2960,8 @@ function VA() {
|
|
|
2960
2960
|
* mode.processBlock(data.words, offset);
|
|
2961
2961
|
*/
|
|
2962
2962
|
processBlock: function(Z, T) {
|
|
2963
|
-
var
|
|
2964
|
-
R.call(this, Z, T,
|
|
2963
|
+
var M = this._cipher, J = M.blockSize;
|
|
2964
|
+
R.call(this, Z, T, J), M.encryptBlock(Z, T), this._prevBlock = Z.slice(T, T + J);
|
|
2965
2965
|
}
|
|
2966
2966
|
}), O.Decryptor = O.extend({
|
|
2967
2967
|
/**
|
|
@@ -2975,15 +2975,15 @@ function VA() {
|
|
|
2975
2975
|
* mode.processBlock(data.words, offset);
|
|
2976
2976
|
*/
|
|
2977
2977
|
processBlock: function(Z, T) {
|
|
2978
|
-
var
|
|
2979
|
-
|
|
2978
|
+
var M = this._cipher, J = M.blockSize, _ = Z.slice(T, T + J);
|
|
2979
|
+
M.decryptBlock(Z, T), R.call(this, Z, T, J), this._prevBlock = _;
|
|
2980
2980
|
}
|
|
2981
2981
|
});
|
|
2982
|
-
function R(Z, T,
|
|
2983
|
-
var
|
|
2984
|
-
_ ? (
|
|
2985
|
-
for (var G = 0; G <
|
|
2986
|
-
Z[T + G] ^=
|
|
2982
|
+
function R(Z, T, M) {
|
|
2983
|
+
var J, _ = this._iv;
|
|
2984
|
+
_ ? (J = _, this._iv = v) : J = this._prevBlock;
|
|
2985
|
+
for (var G = 0; G < M; G++)
|
|
2986
|
+
Z[T + G] ^= J[G];
|
|
2987
2987
|
}
|
|
2988
2988
|
return O;
|
|
2989
2989
|
}(), H = r.pad = {}, a = H.Pkcs7 = {
|
|
@@ -3000,9 +3000,9 @@ function VA() {
|
|
|
3000
3000
|
* CryptoJS.pad.Pkcs7.pad(wordArray, 4);
|
|
3001
3001
|
*/
|
|
3002
3002
|
pad: function(O, R) {
|
|
3003
|
-
for (var Z = R * 4, T = Z - O.sigBytes % Z,
|
|
3004
|
-
|
|
3005
|
-
var G = z.create(
|
|
3003
|
+
for (var Z = R * 4, T = Z - O.sigBytes % Z, M = T << 24 | T << 16 | T << 8 | T, J = [], _ = 0; _ < T; _ += 4)
|
|
3004
|
+
J.push(M);
|
|
3005
|
+
var G = z.create(J, T);
|
|
3006
3006
|
O.concat(G);
|
|
3007
3007
|
},
|
|
3008
3008
|
/**
|
|
@@ -3152,9 +3152,9 @@ function VA() {
|
|
|
3152
3152
|
*/
|
|
3153
3153
|
encrypt: function(O, R, Z, T) {
|
|
3154
3154
|
T = this.cfg.extend(T);
|
|
3155
|
-
var
|
|
3155
|
+
var M = O.createEncryptor(Z, T), J = M.finalize(R), _ = M.cfg;
|
|
3156
3156
|
return q.create({
|
|
3157
|
-
ciphertext:
|
|
3157
|
+
ciphertext: J,
|
|
3158
3158
|
key: Z,
|
|
3159
3159
|
iv: _.iv,
|
|
3160
3160
|
algorithm: O,
|
|
@@ -3183,8 +3183,8 @@ function VA() {
|
|
|
3183
3183
|
*/
|
|
3184
3184
|
decrypt: function(O, R, Z, T) {
|
|
3185
3185
|
T = this.cfg.extend(T), R = this._parse(R, T.format);
|
|
3186
|
-
var
|
|
3187
|
-
return
|
|
3186
|
+
var M = O.createDecryptor(Z, T).finalize(R.ciphertext);
|
|
3187
|
+
return M;
|
|
3188
3188
|
},
|
|
3189
3189
|
/**
|
|
3190
3190
|
* Converts serialized ciphertext to CipherParams,
|
|
@@ -3222,13 +3222,13 @@ function VA() {
|
|
|
3222
3222
|
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
|
|
3223
3223
|
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
|
|
3224
3224
|
*/
|
|
3225
|
-
execute: function(O, R, Z, T,
|
|
3226
|
-
if (T || (T = z.random(64 / 8)),
|
|
3227
|
-
var
|
|
3225
|
+
execute: function(O, R, Z, T, M) {
|
|
3226
|
+
if (T || (T = z.random(64 / 8)), M)
|
|
3227
|
+
var J = X.create({ keySize: R + Z, hasher: M }).compute(O, T);
|
|
3228
3228
|
else
|
|
3229
|
-
var
|
|
3230
|
-
var _ = z.create(
|
|
3231
|
-
return
|
|
3229
|
+
var J = X.create({ keySize: R + Z }).compute(O, T);
|
|
3230
|
+
var _ = z.create(J.words.slice(R), Z * 4);
|
|
3231
|
+
return J.sigBytes = R * 4, q.create({ key: J, iv: _, salt: T });
|
|
3232
3232
|
}
|
|
3233
3233
|
}, j = P.PasswordBasedCipher = N.extend({
|
|
3234
3234
|
/**
|
|
@@ -3258,10 +3258,10 @@ function VA() {
|
|
|
3258
3258
|
*/
|
|
3259
3259
|
encrypt: function(O, R, Z, T) {
|
|
3260
3260
|
T = this.cfg.extend(T);
|
|
3261
|
-
var
|
|
3262
|
-
T.iv =
|
|
3263
|
-
var
|
|
3264
|
-
return
|
|
3261
|
+
var M = T.kdf.execute(Z, O.keySize, O.ivSize, T.salt, T.hasher);
|
|
3262
|
+
T.iv = M.iv;
|
|
3263
|
+
var J = N.encrypt.call(this, O, R, M.key, T);
|
|
3264
|
+
return J.mixIn(M), J;
|
|
3265
3265
|
},
|
|
3266
3266
|
/**
|
|
3267
3267
|
* Decrypts serialized ciphertext using a password.
|
|
@@ -3282,10 +3282,10 @@ function VA() {
|
|
|
3282
3282
|
*/
|
|
3283
3283
|
decrypt: function(O, R, Z, T) {
|
|
3284
3284
|
T = this.cfg.extend(T), R = this._parse(R, T.format);
|
|
3285
|
-
var
|
|
3286
|
-
T.iv =
|
|
3287
|
-
var
|
|
3288
|
-
return
|
|
3285
|
+
var M = T.kdf.execute(Z, O.keySize, O.ivSize, R.salt, T.hasher);
|
|
3286
|
+
T.iv = M.iv;
|
|
3287
|
+
var J = N.decrypt.call(this, O, R, M.key, T);
|
|
3288
|
+
return J;
|
|
3289
3289
|
}
|
|
3290
3290
|
});
|
|
3291
3291
|
}();
|
|
@@ -3609,12 +3609,12 @@ function RP() {
|
|
|
3609
3609
|
q[p + 1] = q[p + 3], q[p + 3] = m;
|
|
3610
3610
|
},
|
|
3611
3611
|
_doCryptBlock: function(q, p, m, N, V, l, j, O) {
|
|
3612
|
-
for (var R = this._nRounds, Z = q[p] ^ m[0], T = q[p + 1] ^ m[1],
|
|
3613
|
-
var Y = N[Z >>> 24] ^ V[T >>> 16 & 255] ^ l[
|
|
3614
|
-
Z = Y, T =
|
|
3612
|
+
for (var R = this._nRounds, Z = q[p] ^ m[0], T = q[p + 1] ^ m[1], M = q[p + 2] ^ m[2], J = q[p + 3] ^ m[3], _ = 4, G = 1; G < R; G++) {
|
|
3613
|
+
var Y = N[Z >>> 24] ^ V[T >>> 16 & 255] ^ l[M >>> 8 & 255] ^ j[J & 255] ^ m[_++], h = N[T >>> 24] ^ V[M >>> 16 & 255] ^ l[J >>> 8 & 255] ^ j[Z & 255] ^ m[_++], C = N[M >>> 24] ^ V[J >>> 16 & 255] ^ l[Z >>> 8 & 255] ^ j[T & 255] ^ m[_++], L = N[J >>> 24] ^ V[Z >>> 16 & 255] ^ l[T >>> 8 & 255] ^ j[M & 255] ^ m[_++];
|
|
3614
|
+
Z = Y, T = h, M = C, J = L;
|
|
3615
3615
|
}
|
|
3616
|
-
var Y = (O[Z >>> 24] << 24 | O[T >>> 16 & 255] << 16 | O[
|
|
3617
|
-
q[p] = Y, q[p + 1] =
|
|
3616
|
+
var Y = (O[Z >>> 24] << 24 | O[T >>> 16 & 255] << 16 | O[M >>> 8 & 255] << 8 | O[J & 255]) ^ m[_++], h = (O[T >>> 24] << 24 | O[M >>> 16 & 255] << 16 | O[J >>> 8 & 255] << 8 | O[Z & 255]) ^ m[_++], C = (O[M >>> 24] << 24 | O[J >>> 16 & 255] << 16 | O[Z >>> 8 & 255] << 8 | O[T & 255]) ^ m[_++], L = (O[J >>> 24] << 24 | O[Z >>> 16 & 255] << 16 | O[T >>> 8 & 255] << 8 | O[M & 255]) ^ m[_++];
|
|
3617
|
+
q[p] = Y, q[p + 1] = h, q[p + 2] = C, q[p + 3] = L;
|
|
3618
3618
|
},
|
|
3619
3619
|
keySize: 256 / 32
|
|
3620
3620
|
});
|
|
@@ -6530,7 +6530,10 @@ const bf = (e, A = "") => {
|
|
|
6530
6530
|
Sr(f, e);
|
|
6531
6531
|
const v = UA(f);
|
|
6532
6532
|
Kr(v, e), _r(v, e);
|
|
6533
|
-
let r = Wn(
|
|
6533
|
+
let r = Wn(
|
|
6534
|
+
f,
|
|
6535
|
+
(t) => t.isMenu && t.code !== "aiPlatform.dasaiassistant" && t.originalCode !== "aiPlatform.dasaiassistant"
|
|
6536
|
+
);
|
|
6534
6537
|
const P = o9(r);
|
|
6535
6538
|
return r.forEach((t) => {
|
|
6536
6539
|
t != null && t.children && t.children.length && (t.originalChildren = o9(t.children)), (t != null && t.expired || t != null && t.disable) && (t.children = []);
|
|
@@ -6556,7 +6559,7 @@ const bf = (e, A = "") => {
|
|
|
6556
6559
|
if (H) {
|
|
6557
6560
|
let a = !1;
|
|
6558
6561
|
d.forEach((p) => {
|
|
6559
|
-
p.routeUrl === "/deviceInstance" && (p.fixed = !0, p.divise = !0, p.menuCode = p.code, p.tagName = p.tabName =
|
|
6562
|
+
p.routeUrl === "/deviceInstance" && (p.fixed = !0, p.divise = !0, p.menuCode = p.code, p.tagName = p.tabName = g("实例"), p.name = H.instanceName, p.leftIcon = "change2", p.rightIcon = "change2");
|
|
6560
6563
|
});
|
|
6561
6564
|
const q = yn(H.endTime) || H.endTime == 0 || H.endTime === 253370736e6 || H.endTime === "253370736000000" ? "-" : Number(H.endTime);
|
|
6562
6565
|
if (a = De().endOf("day") > De(q).endOf("day"), !f && !v && H.id && !a) {
|
|
@@ -6704,9 +6707,9 @@ const bf = (e, A = "") => {
|
|
|
6704
6707
|
SA.value = {
|
|
6705
6708
|
style: f,
|
|
6706
6709
|
skinStyle: v
|
|
6707
|
-
},
|
|
6710
|
+
}, S.setTheme(v);
|
|
6708
6711
|
const { platformConfig: r } = await Qv(), P = v === "default" || v === "cjb" ? v5 : n5;
|
|
6709
|
-
return
|
|
6712
|
+
return S.nav.setLogo(r != null && r.platformLogoImg ? pf(r.platformLogoImg) : P), sessionStorage.setItem("personal-config", JSON.stringify(SA.value)), {
|
|
6710
6713
|
personalMenuConfig: SA.value
|
|
6711
6714
|
};
|
|
6712
6715
|
}, P5 = async () => {
|
|
@@ -6756,32 +6759,32 @@ const bf = (e, A = "") => {
|
|
|
6756
6759
|
"div",
|
|
6757
6760
|
O5,
|
|
6758
6761
|
[
|
|
6759
|
-
|
|
6760
|
-
|
|
6762
|
+
Q("section", m5, [
|
|
6763
|
+
Q(
|
|
6761
6764
|
"p",
|
|
6762
6765
|
l5,
|
|
6763
|
-
rA(D(
|
|
6766
|
+
rA(D(g)("侧边菜单栏")),
|
|
6764
6767
|
1
|
|
6765
6768
|
/* TEXT */
|
|
6766
6769
|
),
|
|
6767
|
-
|
|
6768
|
-
|
|
6770
|
+
Q("div", D5, [
|
|
6771
|
+
Q("div", {
|
|
6769
6772
|
class: "item-content",
|
|
6770
6773
|
onClick: b[1] || (b[1] = (H) => n("menu", 1))
|
|
6771
6774
|
}, [
|
|
6772
|
-
|
|
6775
|
+
Q("img", {
|
|
6773
6776
|
src: D(t5),
|
|
6774
6777
|
alt: "",
|
|
6775
6778
|
width: "180",
|
|
6776
6779
|
height: "120"
|
|
6777
6780
|
}, null, 8, V5),
|
|
6778
|
-
|
|
6781
|
+
k(D(V9), {
|
|
6779
6782
|
modelValue: f.value,
|
|
6780
6783
|
"onUpdate:modelValue": b[0] || (b[0] = (H) => f.value = H)
|
|
6781
6784
|
}, {
|
|
6782
6785
|
default: U(() => [
|
|
6783
6786
|
aA(
|
|
6784
|
-
rA(D(
|
|
6787
|
+
rA(D(g)("弹出式菜单栏")),
|
|
6785
6788
|
1
|
|
6786
6789
|
/* TEXT */
|
|
6787
6790
|
)
|
|
@@ -6790,23 +6793,23 @@ const bf = (e, A = "") => {
|
|
|
6790
6793
|
/* STABLE */
|
|
6791
6794
|
}, 8, ["modelValue"])
|
|
6792
6795
|
]),
|
|
6793
|
-
|
|
6796
|
+
Q("div", {
|
|
6794
6797
|
class: "item-content",
|
|
6795
6798
|
onClick: b[3] || (b[3] = (H) => n("menu", 2))
|
|
6796
6799
|
}, [
|
|
6797
|
-
|
|
6800
|
+
Q("img", {
|
|
6798
6801
|
src: D(u5),
|
|
6799
6802
|
alt: "",
|
|
6800
6803
|
width: "180",
|
|
6801
6804
|
height: "120"
|
|
6802
6805
|
}, null, 8, N5),
|
|
6803
|
-
|
|
6806
|
+
k(D(V9), {
|
|
6804
6807
|
modelValue: v.value,
|
|
6805
6808
|
"onUpdate:modelValue": b[2] || (b[2] = (H) => v.value = H)
|
|
6806
6809
|
}, {
|
|
6807
6810
|
default: U(() => [
|
|
6808
6811
|
aA(
|
|
6809
|
-
rA(D(
|
|
6812
|
+
rA(D(g)("内嵌式菜单栏")),
|
|
6810
6813
|
1
|
|
6811
6814
|
/* TEXT */
|
|
6812
6815
|
)
|
|
@@ -6817,32 +6820,32 @@ const bf = (e, A = "") => {
|
|
|
6817
6820
|
])
|
|
6818
6821
|
])
|
|
6819
6822
|
]),
|
|
6820
|
-
|
|
6821
|
-
|
|
6823
|
+
Q("section", R5, [
|
|
6824
|
+
Q(
|
|
6822
6825
|
"p",
|
|
6823
6826
|
j5,
|
|
6824
|
-
rA(D(
|
|
6827
|
+
rA(D(g)("皮肤风格设置")),
|
|
6825
6828
|
1
|
|
6826
6829
|
/* TEXT */
|
|
6827
6830
|
),
|
|
6828
|
-
|
|
6829
|
-
|
|
6831
|
+
Q("div", Z5, [
|
|
6832
|
+
Q("div", {
|
|
6830
6833
|
class: "item-content",
|
|
6831
6834
|
onClick: b[5] || (b[5] = (H) => n("skin", 1))
|
|
6832
6835
|
}, [
|
|
6833
|
-
|
|
6836
|
+
Q("img", {
|
|
6834
6837
|
src: D(z5),
|
|
6835
6838
|
alt: "",
|
|
6836
6839
|
width: "180",
|
|
6837
6840
|
height: "120"
|
|
6838
6841
|
}, null, 8, T5),
|
|
6839
|
-
|
|
6842
|
+
k(D(V9), {
|
|
6840
6843
|
modelValue: r.value,
|
|
6841
6844
|
"onUpdate:modelValue": b[4] || (b[4] = (H) => r.value = H)
|
|
6842
6845
|
}, {
|
|
6843
6846
|
default: U(() => [
|
|
6844
6847
|
aA(
|
|
6845
|
-
rA(D(
|
|
6848
|
+
rA(D(g)("默认皮肤")),
|
|
6846
6849
|
1
|
|
6847
6850
|
/* TEXT */
|
|
6848
6851
|
)
|
|
@@ -6851,23 +6854,23 @@ const bf = (e, A = "") => {
|
|
|
6851
6854
|
/* STABLE */
|
|
6852
6855
|
}, 8, ["modelValue"])
|
|
6853
6856
|
]),
|
|
6854
|
-
|
|
6857
|
+
Q("div", {
|
|
6855
6858
|
class: "item-content",
|
|
6856
6859
|
onClick: b[7] || (b[7] = (H) => n("skin", 2))
|
|
6857
6860
|
}, [
|
|
6858
|
-
|
|
6861
|
+
Q("img", {
|
|
6859
6862
|
src: D(d5),
|
|
6860
6863
|
alt: "",
|
|
6861
6864
|
width: "180",
|
|
6862
6865
|
height: "120"
|
|
6863
6866
|
}, null, 8, o5),
|
|
6864
|
-
|
|
6867
|
+
k(D(V9), {
|
|
6865
6868
|
modelValue: P.value,
|
|
6866
6869
|
"onUpdate:modelValue": b[6] || (b[6] = (H) => P.value = H)
|
|
6867
6870
|
}, {
|
|
6868
6871
|
default: U(() => [
|
|
6869
6872
|
aA(
|
|
6870
|
-
rA(D(
|
|
6873
|
+
rA(D(g)("科技蓝")),
|
|
6871
6874
|
1
|
|
6872
6875
|
/* TEXT */
|
|
6873
6876
|
)
|
|
@@ -6877,24 +6880,24 @@ const bf = (e, A = "") => {
|
|
|
6877
6880
|
}, 8, ["modelValue"])
|
|
6878
6881
|
])
|
|
6879
6882
|
]),
|
|
6880
|
-
|
|
6881
|
-
|
|
6883
|
+
Q("div", L5, [
|
|
6884
|
+
Q("div", {
|
|
6882
6885
|
class: "item-content",
|
|
6883
6886
|
onClick: b[9] || (b[9] = (H) => n("skin", 3))
|
|
6884
6887
|
}, [
|
|
6885
|
-
|
|
6888
|
+
Q("img", {
|
|
6886
6889
|
src: D(X5),
|
|
6887
6890
|
alt: "",
|
|
6888
6891
|
width: "180",
|
|
6889
6892
|
height: "120"
|
|
6890
6893
|
}, null, 8, y5),
|
|
6891
|
-
|
|
6894
|
+
k(D(V9), {
|
|
6892
6895
|
modelValue: t.value,
|
|
6893
6896
|
"onUpdate:modelValue": b[8] || (b[8] = (H) => t.value = H)
|
|
6894
6897
|
}, {
|
|
6895
6898
|
default: U(() => [
|
|
6896
6899
|
aA(
|
|
6897
|
-
rA(D(
|
|
6900
|
+
rA(D(g)("纯净白")),
|
|
6898
6901
|
1
|
|
6899
6902
|
/* TEXT */
|
|
6900
6903
|
)
|
|
@@ -6903,23 +6906,23 @@ const bf = (e, A = "") => {
|
|
|
6903
6906
|
/* STABLE */
|
|
6904
6907
|
}, 8, ["modelValue"])
|
|
6905
6908
|
]),
|
|
6906
|
-
|
|
6909
|
+
Q("div", {
|
|
6907
6910
|
class: "item-content",
|
|
6908
6911
|
onClick: b[11] || (b[11] = (H) => n("skin", 4))
|
|
6909
6912
|
}, [
|
|
6910
|
-
|
|
6913
|
+
Q("img", {
|
|
6911
6914
|
src: D(b5),
|
|
6912
6915
|
alt: "",
|
|
6913
6916
|
width: "180",
|
|
6914
6917
|
height: "120"
|
|
6915
6918
|
}, null, 8, W5),
|
|
6916
|
-
|
|
6919
|
+
k(D(V9), {
|
|
6917
6920
|
modelValue: z.value,
|
|
6918
6921
|
"onUpdate:modelValue": b[10] || (b[10] = (H) => z.value = H)
|
|
6919
6922
|
}, {
|
|
6920
6923
|
default: U(() => [
|
|
6921
6924
|
aA(
|
|
6922
|
-
rA(D(
|
|
6925
|
+
rA(D(g)("深邃蓝")),
|
|
6923
6926
|
1
|
|
6924
6927
|
/* TEXT */
|
|
6925
6928
|
)
|
|
@@ -6930,16 +6933,16 @@ const bf = (e, A = "") => {
|
|
|
6930
6933
|
])
|
|
6931
6934
|
])
|
|
6932
6935
|
]),
|
|
6933
|
-
|
|
6934
|
-
|
|
6936
|
+
Q("section", w5, [
|
|
6937
|
+
Q(
|
|
6935
6938
|
"p",
|
|
6936
6939
|
E5,
|
|
6937
|
-
rA(D(
|
|
6940
|
+
rA(D(g)("效果预览")),
|
|
6938
6941
|
1
|
|
6939
6942
|
/* TEXT */
|
|
6940
6943
|
),
|
|
6941
|
-
|
|
6942
|
-
|
|
6944
|
+
Q("div", I5, [
|
|
6945
|
+
Q("img", {
|
|
6943
6946
|
src: X.value,
|
|
6944
6947
|
alt: "",
|
|
6945
6948
|
width: "100%",
|
|
@@ -6964,7 +6967,7 @@ const bf = (e, A = "") => {
|
|
|
6964
6967
|
const f = o([
|
|
6965
6968
|
{
|
|
6966
6969
|
code: 1,
|
|
6967
|
-
name:
|
|
6970
|
+
name: g("中文简体")
|
|
6968
6971
|
},
|
|
6969
6972
|
{
|
|
6970
6973
|
code: 2,
|
|
@@ -6977,16 +6980,16 @@ const bf = (e, A = "") => {
|
|
|
6977
6980
|
"div",
|
|
6978
6981
|
k5,
|
|
6979
6982
|
[
|
|
6980
|
-
|
|
6983
|
+
k(D(Me), {
|
|
6981
6984
|
width: "100%",
|
|
6982
6985
|
"label-length": 6,
|
|
6983
6986
|
"align-type": "horizontal",
|
|
6984
6987
|
cols: 1
|
|
6985
6988
|
}, {
|
|
6986
6989
|
default: U(() => [
|
|
6987
|
-
|
|
6990
|
+
k(D(yA), {
|
|
6988
6991
|
type: "select",
|
|
6989
|
-
label: D(
|
|
6992
|
+
label: D(g)("语言类型"),
|
|
6990
6993
|
modelValue: v.value.type,
|
|
6991
6994
|
"onUpdate:modelValue": t[0] || (t[0] = (z) => v.value.type = z),
|
|
6992
6995
|
options: f.value,
|
|
@@ -7063,7 +7066,7 @@ const bf = (e, A = "") => {
|
|
|
7063
7066
|
},
|
|
7064
7067
|
confirmFormBuiltIn: () => {
|
|
7065
7068
|
if (!P.value) {
|
|
7066
|
-
Ie.warning(
|
|
7069
|
+
Ie.warning(g("至少选择一个链接"));
|
|
7067
7070
|
return;
|
|
7068
7071
|
}
|
|
7069
7072
|
const m = f.value, N = n.value;
|
|
@@ -7074,36 +7077,36 @@ const bf = (e, A = "") => {
|
|
|
7074
7077
|
let rf = null;
|
|
7075
7078
|
const z6 = (e) => {
|
|
7076
7079
|
const { information: A, orgInfo: f } = e, v = EA(() => f.id), r = o(!1), P = o(0), t = o([
|
|
7077
|
-
{ value: 0, label:
|
|
7078
|
-
{ value: 1, label:
|
|
7079
|
-
{ value: 2, label:
|
|
7080
|
-
{ value: 3, label:
|
|
7081
|
-
{ value: 4, label:
|
|
7080
|
+
{ value: 0, label: g("图纸") },
|
|
7081
|
+
{ value: 1, label: g("图纸编排") },
|
|
7082
|
+
{ value: 2, label: g("设备看板") },
|
|
7083
|
+
{ value: 3, label: g("数据编排") },
|
|
7084
|
+
{ value: 4, label: g("轻分析") }
|
|
7082
7085
|
]), z = o([]), d = o(20), n = o(1), u = o(0), x = o(""), X = o(""), s = o(""), c = o(!1), { run: i } = e6(), { run: b } = v6(), { run: H } = n6(), { run: a } = r6(), { run: q } = P6(), p = (G) => {
|
|
7083
|
-
const Y = [],
|
|
7084
|
-
m(C, "2D", "/enterpriseadmin/ioc-server/?type=preview&tag=displays", Y), m(L, "3D", "/enterpriseadmin/ioc-server/?type=preview3d&tag=scenes", Y), m(W,
|
|
7086
|
+
const Y = [], h = G[2], C = h.displays, L = h.scenes, W = h[g("2D3D集成根目录")];
|
|
7087
|
+
m(C, "2D", "/enterpriseadmin/ioc-server/?type=preview&tag=displays", Y), m(L, "3D", "/enterpriseadmin/ioc-server/?type=preview3d&tag=scenes", Y), m(W, g("集成"), "/enterpriseadmin/ioc-server/?type=preview2d3d&tag=scenes", Y);
|
|
7085
7088
|
const E = (n.value - 1) * d.value, w = E + d.value;
|
|
7086
7089
|
z.value = Y.filter((zA) => zA.name.includes(x.value)).slice(E, w), u.value = Y.length;
|
|
7087
|
-
}, m = (G, Y,
|
|
7090
|
+
}, m = (G, Y, h, C) => {
|
|
7088
7091
|
for (const L in G) {
|
|
7089
7092
|
const W = G[L];
|
|
7090
7093
|
if (W !== !0)
|
|
7091
|
-
m(W, Y, `${
|
|
7094
|
+
m(W, Y, `${h}/${L}`, C);
|
|
7092
7095
|
else if (L.includes(".json")) {
|
|
7093
|
-
const E = `${
|
|
7096
|
+
const E = `${h}/${L}&showLayout=false`;
|
|
7094
7097
|
C.push({ id: E, name: L.slice(0, -5), type: Y, url: E });
|
|
7095
7098
|
}
|
|
7096
7099
|
}
|
|
7097
7100
|
}, N = () => {
|
|
7098
7101
|
n.value = 1, u.value = 0, x.value = "";
|
|
7099
7102
|
}, V = () => {
|
|
7100
|
-
var G, Y,
|
|
7101
|
-
N(), P.value = ((G = A.value) == null ? void 0 : G.urlType) ?? 0, X.value = ((Y = A.value) == null ? void 0 : Y.urlId) ?? "", s.value = ((
|
|
7102
|
-
}, l = (G, Y,
|
|
7103
|
+
var G, Y, h;
|
|
7104
|
+
N(), P.value = ((G = A.value) == null ? void 0 : G.urlType) ?? 0, X.value = ((Y = A.value) == null ? void 0 : Y.urlId) ?? "", s.value = ((h = A.value) == null ? void 0 : h.routeUrl) ?? "", rf.afterMsg = p, R(), r.value = !0;
|
|
7105
|
+
}, l = (G, Y, h) => {
|
|
7103
7106
|
s.value = Y.url;
|
|
7104
7107
|
}, j = () => {
|
|
7105
7108
|
if (!X.value) {
|
|
7106
|
-
Ie.warning(
|
|
7109
|
+
Ie.warning(g("至少选择一个链接"));
|
|
7107
7110
|
return;
|
|
7108
7111
|
}
|
|
7109
7112
|
A.value.urlType = P.value, A.value.urlId = X.value, A.value.routeUrl = s.value, r.value = !1;
|
|
@@ -7114,9 +7117,9 @@ const z6 = (e) => {
|
|
|
7114
7117
|
({
|
|
7115
7118
|
0: Z,
|
|
7116
7119
|
1: T,
|
|
7117
|
-
2:
|
|
7120
|
+
2: M,
|
|
7118
7121
|
3: _,
|
|
7119
|
-
4:
|
|
7122
|
+
4: J
|
|
7120
7123
|
})[P.value]();
|
|
7121
7124
|
}, Z = async () => {
|
|
7122
7125
|
const G = ["explore", "explore-displays", `proj/${v.value}`];
|
|
@@ -7129,13 +7132,13 @@ const z6 = (e) => {
|
|
|
7129
7132
|
pageSize: d.value
|
|
7130
7133
|
};
|
|
7131
7134
|
c.value = !0;
|
|
7132
|
-
const [Y,
|
|
7135
|
+
const [Y, h] = await b(G);
|
|
7133
7136
|
if (c.value = !1, Y) {
|
|
7134
7137
|
z.value = [];
|
|
7135
7138
|
return;
|
|
7136
7139
|
}
|
|
7137
|
-
z.value =
|
|
7138
|
-
},
|
|
7140
|
+
z.value = h.data.map((C) => (C.type = g("图纸编排"), C.name = C.groupName, C)) || [], u.value = h.totalCount;
|
|
7141
|
+
}, M = async () => {
|
|
7139
7142
|
const G = {
|
|
7140
7143
|
project: v.value,
|
|
7141
7144
|
name: x.value,
|
|
@@ -7143,13 +7146,13 @@ const z6 = (e) => {
|
|
|
7143
7146
|
pageSize: d.value
|
|
7144
7147
|
};
|
|
7145
7148
|
c.value = !0;
|
|
7146
|
-
const [Y,
|
|
7149
|
+
const [Y, h] = await i(G);
|
|
7147
7150
|
if (c.value = !1, Y) {
|
|
7148
7151
|
z.value = [];
|
|
7149
7152
|
return;
|
|
7150
7153
|
}
|
|
7151
|
-
z.value =
|
|
7152
|
-
},
|
|
7154
|
+
z.value = h.data.map((C) => (C.type = g("设备看板"), C)) || [], u.value = h.totalCount;
|
|
7155
|
+
}, J = async () => {
|
|
7153
7156
|
const G = {
|
|
7154
7157
|
project: v.value,
|
|
7155
7158
|
pageName: x.value,
|
|
@@ -7157,12 +7160,12 @@ const z6 = (e) => {
|
|
|
7157
7160
|
pageSize: d.value
|
|
7158
7161
|
};
|
|
7159
7162
|
c.value = !0;
|
|
7160
|
-
const [Y,
|
|
7163
|
+
const [Y, h] = await a(G);
|
|
7161
7164
|
if (c.value = !1, Y) {
|
|
7162
7165
|
z.value = [];
|
|
7163
7166
|
return;
|
|
7164
7167
|
}
|
|
7165
|
-
z.value =
|
|
7168
|
+
z.value = h.data.map((C) => (C.type = g("轻分析"), C.name = C.pageName, C.url = C.uri, C)) || [], u.value = h.totalCount;
|
|
7166
7169
|
}, _ = async () => {
|
|
7167
7170
|
const G = {
|
|
7168
7171
|
project: v.value,
|
|
@@ -7171,12 +7174,12 @@ const z6 = (e) => {
|
|
|
7171
7174
|
pageSize: d.value
|
|
7172
7175
|
};
|
|
7173
7176
|
c.value = !0;
|
|
7174
|
-
const [Y,
|
|
7177
|
+
const [Y, h] = await H(G);
|
|
7175
7178
|
if (c.value = !1, Y) {
|
|
7176
7179
|
z.value = [];
|
|
7177
7180
|
return;
|
|
7178
7181
|
}
|
|
7179
|
-
z.value =
|
|
7182
|
+
z.value = h.data.map((C) => (C.type = g("数据编排"), C)) || [], u.value = h.totalCount;
|
|
7180
7183
|
};
|
|
7181
7184
|
return _A(() => {
|
|
7182
7185
|
rf || (rf = new lf({ url: u6, reconnectWhenClose: !0, message: p }));
|
|
@@ -7203,7 +7206,7 @@ const z6 = (e) => {
|
|
|
7203
7206
|
setup(e, { expose: A, emit: f }) {
|
|
7204
7207
|
const v = f, r = o(!1), P = EA(() => {
|
|
7205
7208
|
var n;
|
|
7206
|
-
return (n = f9.value) != null && n.homeAlias ? f9.value.homeAlias :
|
|
7209
|
+
return (n = f9.value) != null && n.homeAlias ? f9.value.homeAlias : g("首页");
|
|
7207
7210
|
}), t = () => {
|
|
7208
7211
|
r.value = !0;
|
|
7209
7212
|
}, z = () => {
|
|
@@ -7226,13 +7229,13 @@ const z6 = (e) => {
|
|
|
7226
7229
|
}, {
|
|
7227
7230
|
header: U(() => [
|
|
7228
7231
|
aA(
|
|
7229
|
-
rA(D(
|
|
7232
|
+
rA(D(g)("操作确认")),
|
|
7230
7233
|
1
|
|
7231
7234
|
/* TEXT */
|
|
7232
7235
|
)
|
|
7233
7236
|
]),
|
|
7234
7237
|
feedbackImg: U(() => [
|
|
7235
|
-
|
|
7238
|
+
Q("img", {
|
|
7236
7239
|
src: D(d6),
|
|
7237
7240
|
width: "168",
|
|
7238
7241
|
height: "96",
|
|
@@ -7240,10 +7243,10 @@ const z6 = (e) => {
|
|
|
7240
7243
|
}, null, 8, X6)
|
|
7241
7244
|
]),
|
|
7242
7245
|
default: U(() => [
|
|
7243
|
-
|
|
7246
|
+
Q(
|
|
7244
7247
|
"div",
|
|
7245
7248
|
b6,
|
|
7246
|
-
rA(D(
|
|
7249
|
+
rA(D(g)("framework-reset-home-confirm", P.value)),
|
|
7247
7250
|
1
|
|
7248
7251
|
/* TEXT */
|
|
7249
7252
|
)
|
|
@@ -7300,12 +7303,12 @@ const z6 = (e) => {
|
|
|
7300
7303
|
tableData: R,
|
|
7301
7304
|
pageSize: Z,
|
|
7302
7305
|
pageIndex: T,
|
|
7303
|
-
totalCount:
|
|
7304
|
-
tableFilter:
|
|
7306
|
+
totalCount: M,
|
|
7307
|
+
tableFilter: J,
|
|
7305
7308
|
urlId: _,
|
|
7306
7309
|
openUrlDialog: G,
|
|
7307
7310
|
tableChange: Y,
|
|
7308
|
-
confirmUrl:
|
|
7311
|
+
confirmUrl: h,
|
|
7309
7312
|
changeType: C,
|
|
7310
7313
|
getTable: L
|
|
7311
7314
|
} = z6({
|
|
@@ -7319,7 +7322,7 @@ const z6 = (e) => {
|
|
|
7319
7322
|
}, zA = async (K) => {
|
|
7320
7323
|
const [$, eA] = await _5().run();
|
|
7321
7324
|
$ || (await n(), await Fe(), K(), v("reset-confirm"));
|
|
7322
|
-
}, dA = () => (P.value.type === 1 || P.value.type === 2) && !P.value.routeUrl ? (z.value.routeUrl =
|
|
7325
|
+
}, 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)), lA = () => {
|
|
7323
7326
|
const K = P.value, $ = {
|
|
7324
7327
|
id: K.id,
|
|
7325
7328
|
type: K.type,
|
|
@@ -7337,11 +7340,11 @@ const z6 = (e) => {
|
|
|
7337
7340
|
i9,
|
|
7338
7341
|
null,
|
|
7339
7342
|
[
|
|
7340
|
-
h9(
|
|
7343
|
+
h9(Q(
|
|
7341
7344
|
"div",
|
|
7342
7345
|
a6,
|
|
7343
7346
|
[
|
|
7344
|
-
|
|
7347
|
+
k(D(Me), {
|
|
7345
7348
|
width: "100%",
|
|
7346
7349
|
"label-length": 6,
|
|
7347
7350
|
"align-type": "horizontal",
|
|
@@ -7349,9 +7352,9 @@ const z6 = (e) => {
|
|
|
7349
7352
|
}, {
|
|
7350
7353
|
default: U(() => [
|
|
7351
7354
|
nA(" 首页展示类型 1内置门户 2外置门户 3轻分析 "),
|
|
7352
|
-
|
|
7355
|
+
k(D(yA), {
|
|
7353
7356
|
type: "select",
|
|
7354
|
-
label: D(
|
|
7357
|
+
label: D(g)("展示类型"),
|
|
7355
7358
|
modelValue: P.value.type,
|
|
7356
7359
|
"onUpdate:modelValue": $[0] || ($[0] = (eA) => P.value.type = eA),
|
|
7357
7360
|
options: t.value,
|
|
@@ -7360,16 +7363,16 @@ const z6 = (e) => {
|
|
|
7360
7363
|
"margin-right": "0",
|
|
7361
7364
|
onChange: x
|
|
7362
7365
|
}, null, 8, ["label", "modelValue", "options"]),
|
|
7363
|
-
|
|
7366
|
+
k(D(yA), {
|
|
7364
7367
|
type: "custom",
|
|
7365
|
-
label: D(
|
|
7368
|
+
label: D(g)("链接"),
|
|
7366
7369
|
error: z.value.routeUrl,
|
|
7367
7370
|
"onUpdate:error": $[2] || ($[2] = (eA) => z.value.routeUrl = eA),
|
|
7368
7371
|
"margin-right": "0",
|
|
7369
7372
|
required: P.value.type === 1 || P.value.type === 2
|
|
7370
7373
|
}, {
|
|
7371
7374
|
default: U(() => [
|
|
7372
|
-
|
|
7375
|
+
k(D(Ve), {
|
|
7373
7376
|
modelValue: P.value.routeUrl,
|
|
7374
7377
|
"onUpdate:modelValue": $[1] || ($[1] = (eA) => P.value.routeUrl = eA),
|
|
7375
7378
|
maxLength: 1e3,
|
|
@@ -7377,7 +7380,7 @@ const z6 = (e) => {
|
|
|
7377
7380
|
disabled: P.value.type !== 2
|
|
7378
7381
|
}, {
|
|
7379
7382
|
suffix: U(() => [
|
|
7380
|
-
|
|
7383
|
+
k(D(ur), {
|
|
7381
7384
|
class: Q3({ disabled: !P.value.type || P.value.type === 3 }),
|
|
7382
7385
|
"icon-color": !P.value.type || P.value.type === 3 ? D(s7)("--das-ui-portal-management-disabled-color") : D(s7)("--das-ui-color-secondary"),
|
|
7383
7386
|
onClick: W
|
|
@@ -7390,10 +7393,10 @@ const z6 = (e) => {
|
|
|
7390
7393
|
_: 1
|
|
7391
7394
|
/* STABLE */
|
|
7392
7395
|
}, 8, ["label", "error", "required"]),
|
|
7393
|
-
|
|
7396
|
+
k(D(yA), {
|
|
7394
7397
|
type: "input",
|
|
7395
7398
|
prop: "homeAlias",
|
|
7396
|
-
label: D(
|
|
7399
|
+
label: D(g)("别名"),
|
|
7397
7400
|
maxlength: 50,
|
|
7398
7401
|
modelValue: P.value.homeAlias,
|
|
7399
7402
|
"onUpdate:modelValue": $[3] || ($[3] = (eA) => P.value.homeAlias = eA),
|
|
@@ -7401,13 +7404,13 @@ const z6 = (e) => {
|
|
|
7401
7404
|
"onUpdate:error": $[4] || ($[4] = (eA) => z.value.homeAlias = eA),
|
|
7402
7405
|
"margin-right": "0"
|
|
7403
7406
|
}, null, 8, ["label", "modelValue", "error"]),
|
|
7404
|
-
|
|
7407
|
+
k(D(yA), {
|
|
7405
7408
|
type: "custom",
|
|
7406
|
-
label: D(
|
|
7409
|
+
label: D(g)("还原"),
|
|
7407
7410
|
"margin-right": "0"
|
|
7408
7411
|
}, {
|
|
7409
7412
|
default: U(() => [
|
|
7410
|
-
|
|
7413
|
+
k(D(kA), {
|
|
7411
7414
|
btnType: "primary",
|
|
7412
7415
|
ghost: "",
|
|
7413
7416
|
size: "middle",
|
|
@@ -7416,7 +7419,7 @@ const z6 = (e) => {
|
|
|
7416
7419
|
}, {
|
|
7417
7420
|
default: U(() => [
|
|
7418
7421
|
aA(
|
|
7419
|
-
rA(D(
|
|
7422
|
+
rA(D(g)("恢复项目初始设置")),
|
|
7420
7423
|
1
|
|
7421
7424
|
/* TEXT */
|
|
7422
7425
|
)
|
|
@@ -7439,23 +7442,23 @@ const z6 = (e) => {
|
|
|
7439
7442
|
[af, K.isShow]
|
|
7440
7443
|
]),
|
|
7441
7444
|
nA(" 内置链接选择弹窗 "),
|
|
7442
|
-
|
|
7445
|
+
k(D(j9), {
|
|
7443
7446
|
modelValue: D(X),
|
|
7444
7447
|
"onUpdate:modelValue": $[9] || ($[9] = (eA) => FA(X) ? X.value = eA : null),
|
|
7445
7448
|
"body-style": { padding: 0 },
|
|
7446
|
-
title: D(
|
|
7449
|
+
title: D(g)("选择内置门户菜单"),
|
|
7447
7450
|
width: "610px",
|
|
7448
7451
|
height: "580px"
|
|
7449
7452
|
}, {
|
|
7450
7453
|
footer: U(() => [
|
|
7451
|
-
|
|
7452
|
-
|
|
7454
|
+
Q("div", null, [
|
|
7455
|
+
k(D(kA), {
|
|
7453
7456
|
size: "middle",
|
|
7454
7457
|
onClick: $[8] || ($[8] = (eA) => X.value = !1)
|
|
7455
7458
|
}, {
|
|
7456
7459
|
default: U(() => [
|
|
7457
7460
|
aA(
|
|
7458
|
-
rA(D(
|
|
7461
|
+
rA(D(g)("取消")),
|
|
7459
7462
|
1
|
|
7460
7463
|
/* TEXT */
|
|
7461
7464
|
)
|
|
@@ -7463,7 +7466,7 @@ const z6 = (e) => {
|
|
|
7463
7466
|
_: 1
|
|
7464
7467
|
/* STABLE */
|
|
7465
7468
|
}),
|
|
7466
|
-
|
|
7469
|
+
k(D(kA), {
|
|
7467
7470
|
btnType: "primary",
|
|
7468
7471
|
size: "middle",
|
|
7469
7472
|
style: { "margin-left": "12px" },
|
|
@@ -7471,7 +7474,7 @@ const z6 = (e) => {
|
|
|
7471
7474
|
}, {
|
|
7472
7475
|
default: U(() => [
|
|
7473
7476
|
aA(
|
|
7474
|
-
rA(D(
|
|
7477
|
+
rA(D(g)("确定")),
|
|
7475
7478
|
1
|
|
7476
7479
|
/* TEXT */
|
|
7477
7480
|
)
|
|
@@ -7482,7 +7485,7 @@ const z6 = (e) => {
|
|
|
7482
7485
|
])
|
|
7483
7486
|
]),
|
|
7484
7487
|
default: U(() => [
|
|
7485
|
-
|
|
7488
|
+
k(D(dr), {
|
|
7486
7489
|
"node-key": "id",
|
|
7487
7490
|
ref_key: "$typeTree",
|
|
7488
7491
|
ref: s,
|
|
@@ -7497,7 +7500,7 @@ const z6 = (e) => {
|
|
|
7497
7500
|
"default-expanded-keys": ["-1"],
|
|
7498
7501
|
load: D(q),
|
|
7499
7502
|
search: D(p),
|
|
7500
|
-
"input-options": { placeholder: D(
|
|
7503
|
+
"input-options": { placeholder: D(g)("搜索门户名称") },
|
|
7501
7504
|
onNodeClick: D(m)
|
|
7502
7505
|
}, null, 8, ["modelValue", "path", "filter-value", "data", "load", "search", "input-options", "onNodeClick"])
|
|
7503
7506
|
]),
|
|
@@ -7505,24 +7508,24 @@ const z6 = (e) => {
|
|
|
7505
7508
|
/* STABLE */
|
|
7506
7509
|
}, 8, ["modelValue", "title"]),
|
|
7507
7510
|
nA(" 非内置链接选择弹窗 "),
|
|
7508
|
-
|
|
7511
|
+
k(D(j9), {
|
|
7509
7512
|
modelValue: D(l),
|
|
7510
7513
|
"onUpdate:modelValue": $[16] || ($[16] = (eA) => FA(l) ? l.value = eA : null),
|
|
7511
7514
|
"custom-class": "framework-portal-management-url-dialog",
|
|
7512
7515
|
"body-style": { padding: 0 },
|
|
7513
|
-
title: D(
|
|
7516
|
+
title: D(g)("选择URL链接"),
|
|
7514
7517
|
width: "960px",
|
|
7515
7518
|
height: "580px"
|
|
7516
7519
|
}, {
|
|
7517
7520
|
footer: U(() => [
|
|
7518
|
-
|
|
7519
|
-
|
|
7521
|
+
Q("div", null, [
|
|
7522
|
+
k(D(kA), {
|
|
7520
7523
|
size: "middle",
|
|
7521
7524
|
onClick: $[15] || ($[15] = (eA) => l.value = !1)
|
|
7522
7525
|
}, {
|
|
7523
7526
|
default: U(() => [
|
|
7524
7527
|
aA(
|
|
7525
|
-
rA(D(
|
|
7528
|
+
rA(D(g)("取消")),
|
|
7526
7529
|
1
|
|
7527
7530
|
/* TEXT */
|
|
7528
7531
|
)
|
|
@@ -7530,15 +7533,15 @@ const z6 = (e) => {
|
|
|
7530
7533
|
_: 1
|
|
7531
7534
|
/* STABLE */
|
|
7532
7535
|
}),
|
|
7533
|
-
|
|
7536
|
+
k(D(kA), {
|
|
7534
7537
|
btnType: "primary",
|
|
7535
7538
|
size: "middle",
|
|
7536
7539
|
style: { "margin-left": "12px" },
|
|
7537
|
-
onClick: D(
|
|
7540
|
+
onClick: D(h)
|
|
7538
7541
|
}, {
|
|
7539
7542
|
default: U(() => [
|
|
7540
7543
|
aA(
|
|
7541
|
-
rA(D(
|
|
7544
|
+
rA(D(g)("确定")),
|
|
7542
7545
|
1
|
|
7543
7546
|
/* TEXT */
|
|
7544
7547
|
)
|
|
@@ -7549,18 +7552,18 @@ const z6 = (e) => {
|
|
|
7549
7552
|
])
|
|
7550
7553
|
]),
|
|
7551
7554
|
default: U(() => [
|
|
7552
|
-
|
|
7555
|
+
k(D(mf), { spinning: D(V) }, {
|
|
7553
7556
|
default: U(() => [
|
|
7554
|
-
|
|
7555
|
-
|
|
7556
|
-
|
|
7557
|
+
Q("div", i6, [
|
|
7558
|
+
Q("div", s6, [
|
|
7559
|
+
Q(
|
|
7557
7560
|
"div",
|
|
7558
7561
|
q6,
|
|
7559
|
-
rA(D(
|
|
7562
|
+
rA(D(g)("类型")),
|
|
7560
7563
|
1
|
|
7561
7564
|
/* TEXT */
|
|
7562
7565
|
),
|
|
7563
|
-
|
|
7566
|
+
k(D($3), {
|
|
7564
7567
|
modelValue: D(j),
|
|
7565
7568
|
"onUpdate:modelValue": $[10] || ($[10] = (eA) => FA(j) ? j.value = eA : null),
|
|
7566
7569
|
size: "small",
|
|
@@ -7569,21 +7572,21 @@ const z6 = (e) => {
|
|
|
7569
7572
|
onChange: D(C)
|
|
7570
7573
|
}, null, 8, ["modelValue", "options", "onChange"])
|
|
7571
7574
|
]),
|
|
7572
|
-
|
|
7573
|
-
|
|
7574
|
-
modelValue: D(
|
|
7575
|
-
"onUpdate:modelValue": $[11] || ($[11] = (eA) => FA(
|
|
7575
|
+
Q("div", H6, [
|
|
7576
|
+
k(D(Xr), {
|
|
7577
|
+
modelValue: D(J),
|
|
7578
|
+
"onUpdate:modelValue": $[11] || ($[11] = (eA) => FA(J) ? J.value = eA : null),
|
|
7576
7579
|
clearable: "",
|
|
7577
7580
|
size: "small",
|
|
7578
|
-
placeholder: D(
|
|
7581
|
+
placeholder: D(g)("搜索名称"),
|
|
7579
7582
|
onChange: D(L),
|
|
7580
7583
|
"is-icon-left": "",
|
|
7581
7584
|
onSearch: D(L)
|
|
7582
7585
|
}, null, 8, ["modelValue", "placeholder", "onChange", "onSearch"])
|
|
7583
7586
|
])
|
|
7584
7587
|
]),
|
|
7585
|
-
|
|
7586
|
-
|
|
7588
|
+
Q("div", p6, [
|
|
7589
|
+
k(D(tr), {
|
|
7587
7590
|
data: D(R),
|
|
7588
7591
|
currentRodioSelection: D(_),
|
|
7589
7592
|
"onUpdate:currentRodioSelection": $[12] || ($[12] = (eA) => FA(_) ? _.value = eA : null),
|
|
@@ -7593,25 +7596,25 @@ const z6 = (e) => {
|
|
|
7593
7596
|
"onUpdate:currentPage": $[13] || ($[13] = (eA) => FA(T) ? T.value = eA : null),
|
|
7594
7597
|
"page-size": D(Z),
|
|
7595
7598
|
"onUpdate:pageSize": $[14] || ($[14] = (eA) => FA(Z) ? Z.value = eA : null),
|
|
7596
|
-
total: D(
|
|
7599
|
+
total: D(M),
|
|
7597
7600
|
"pagination-props": { layout: "prev,next,sizes" },
|
|
7598
7601
|
onRadioChange: D(Y),
|
|
7599
7602
|
onCurrentPageChange: D(L),
|
|
7600
7603
|
onSizeChange: D(L)
|
|
7601
7604
|
}, {
|
|
7602
7605
|
default: U(() => [
|
|
7603
|
-
|
|
7604
|
-
label: D(
|
|
7606
|
+
k(D(Wf), {
|
|
7607
|
+
label: D(g)("名称"),
|
|
7605
7608
|
"min-width": "36px",
|
|
7606
7609
|
prop: "name"
|
|
7607
7610
|
}, null, 8, ["label"]),
|
|
7608
|
-
|
|
7609
|
-
label: D(
|
|
7611
|
+
k(D(Wf), {
|
|
7612
|
+
label: D(g)("类型"),
|
|
7610
7613
|
"min-width": "36px",
|
|
7611
7614
|
prop: "type"
|
|
7612
7615
|
}, null, 8, ["label"]),
|
|
7613
|
-
|
|
7614
|
-
label: D(
|
|
7616
|
+
k(D(Wf), {
|
|
7617
|
+
label: D(g)("URL链接地址"),
|
|
7615
7618
|
"min-width": "72px",
|
|
7616
7619
|
prop: "url"
|
|
7617
7620
|
}, null, 8, ["label"])
|
|
@@ -7629,7 +7632,7 @@ const z6 = (e) => {
|
|
|
7629
7632
|
/* STABLE */
|
|
7630
7633
|
}, 8, ["modelValue", "title"]),
|
|
7631
7634
|
nA(" 恢复项目初始设置 二次确认 "),
|
|
7632
|
-
|
|
7635
|
+
k(
|
|
7633
7636
|
c6,
|
|
7634
7637
|
{
|
|
7635
7638
|
ref_key: "resetDialogRef",
|
|
@@ -7651,22 +7654,22 @@ const z6 = (e) => {
|
|
|
7651
7654
|
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 = EA(() => [
|
|
7652
7655
|
{
|
|
7653
7656
|
key: "theme",
|
|
7654
|
-
tab:
|
|
7657
|
+
tab: g("主题设置")
|
|
7655
7658
|
},
|
|
7656
7659
|
{
|
|
7657
7660
|
key: "lang",
|
|
7658
|
-
tab:
|
|
7661
|
+
tab: g("语言设置"),
|
|
7659
7662
|
hidden: Number(a7()) < 2
|
|
7660
7663
|
},
|
|
7661
7664
|
{
|
|
7662
7665
|
key: "home",
|
|
7663
|
-
tab:
|
|
7666
|
+
tab: g("home-set", d.value),
|
|
7664
7667
|
hidden: !n.value
|
|
7665
7668
|
}
|
|
7666
7669
|
]), x = () => {
|
|
7667
7670
|
var c, i;
|
|
7668
7671
|
const { flag: s } = Hf();
|
|
7669
|
-
s === 4 && (n.value = (c = f9.value) == null ? void 0 : c.companyIsDisplayHome), d.value = (i = f9.value) != null && i.homeAlias ? f9.value.homeAlias :
|
|
7672
|
+
s === 4 && (n.value = (c = f9.value) == null ? void 0 : c.companyIsDisplayHome), d.value = (i = f9.value) != null && i.homeAlias ? f9.value.homeAlias : g("首页"), f.value = !0;
|
|
7670
7673
|
}, X = async () => {
|
|
7671
7674
|
var i, b, H, a;
|
|
7672
7675
|
const s = (i = r.value) == null ? void 0 : i.getResult(), [c] = await D6().run(s);
|
|
@@ -7690,7 +7693,7 @@ const z6 = (e) => {
|
|
|
7690
7693
|
z.value = "home";
|
|
7691
7694
|
return;
|
|
7692
7695
|
}
|
|
7693
|
-
Ie.success(
|
|
7696
|
+
Ie.success(g("保存成功")), f.value = !1, window.__isAutoCloseApp = !1, window.location.reload();
|
|
7694
7697
|
}
|
|
7695
7698
|
};
|
|
7696
7699
|
return A({
|
|
@@ -7705,8 +7708,8 @@ const z6 = (e) => {
|
|
|
7705
7708
|
direction: "rtl"
|
|
7706
7709
|
}, {
|
|
7707
7710
|
footer: U(() => [
|
|
7708
|
-
|
|
7709
|
-
|
|
7711
|
+
Q("div", j6, [
|
|
7712
|
+
k(D(kA), {
|
|
7710
7713
|
size: "middle",
|
|
7711
7714
|
onClick: c[2] || (c[2] = (i) => f.value = !1),
|
|
7712
7715
|
style: { "margin-right": "12px" }
|
|
@@ -7721,7 +7724,7 @@ const z6 = (e) => {
|
|
|
7721
7724
|
_: 1
|
|
7722
7725
|
/* STABLE */
|
|
7723
7726
|
}),
|
|
7724
|
-
|
|
7727
|
+
k(D(kA), {
|
|
7725
7728
|
btnType: "primary",
|
|
7726
7729
|
size: "middle",
|
|
7727
7730
|
loading: v.value,
|
|
@@ -7740,23 +7743,23 @@ const z6 = (e) => {
|
|
|
7740
7743
|
])
|
|
7741
7744
|
]),
|
|
7742
7745
|
default: U(() => [
|
|
7743
|
-
|
|
7746
|
+
k(D(rr), {
|
|
7744
7747
|
options: u.value,
|
|
7745
7748
|
activeKey: z.value,
|
|
7746
7749
|
"onUpdate:activeKey": c[0] || (c[0] = (i) => z.value = i),
|
|
7747
7750
|
"tab-width": "110px"
|
|
7748
7751
|
}, null, 8, ["options", "activeKey"]),
|
|
7749
|
-
|
|
7752
|
+
k(D(B5), {
|
|
7750
7753
|
ref_key: "setThemeStyleRef",
|
|
7751
7754
|
ref: r,
|
|
7752
7755
|
isShow: z.value === "theme"
|
|
7753
7756
|
}, null, 8, ["isShow"]),
|
|
7754
|
-
|
|
7757
|
+
k(D(Y5), {
|
|
7755
7758
|
ref_key: "setLangRef",
|
|
7756
7759
|
ref: t,
|
|
7757
7760
|
isShow: z.value === "lang"
|
|
7758
7761
|
}, null, 8, ["isShow"]),
|
|
7759
|
-
|
|
7762
|
+
k(D(O6), {
|
|
7760
7763
|
ref_key: "setHomeRef",
|
|
7761
7764
|
ref: P,
|
|
7762
7765
|
isShow: z.value === "home",
|
|
@@ -7795,7 +7798,7 @@ const z6 = (e) => {
|
|
|
7795
7798
|
spinning: !v.value
|
|
7796
7799
|
}, {
|
|
7797
7800
|
default: U(() => [
|
|
7798
|
-
h9(
|
|
7801
|
+
h9(Q("iframe", {
|
|
7799
7802
|
id: "iframe-view",
|
|
7800
7803
|
ref_key: "iframeRef",
|
|
7801
7804
|
ref: f,
|
|
@@ -7820,15 +7823,15 @@ const z6 = (e) => {
|
|
|
7820
7823
|
const [t, z] = await w6().run({ userId: Hf().id });
|
|
7821
7824
|
t || !z || JSON.stringify(z) === "{}" || (df.open({
|
|
7822
7825
|
key: "loginTip",
|
|
7823
|
-
message:
|
|
7826
|
+
message: g("上次登录信息"),
|
|
7824
7827
|
placement: "bottomRight",
|
|
7825
7828
|
description: jA("div", { class: "last-login-info" }, [
|
|
7826
7829
|
jA(
|
|
7827
7830
|
"div",
|
|
7828
7831
|
{ style: "font-size: 12px;color:#212121;margin-bottom:8px" },
|
|
7829
|
-
|
|
7832
|
+
g("时间:") + En(z.lastModificationTime)
|
|
7830
7833
|
),
|
|
7831
|
-
jA("div", { style: "font-size: 12px;color:#212121;" },
|
|
7834
|
+
jA("div", { style: "font-size: 12px;color:#212121;" }, g("IP地址:") + z.ip)
|
|
7832
7835
|
])
|
|
7833
7836
|
}), sessionStorage.setItem("loginInfoTip", "true"));
|
|
7834
7837
|
}, v = async () => {
|
|
@@ -7861,7 +7864,7 @@ const z6 = (e) => {
|
|
|
7861
7864
|
), OA(
|
|
7862
7865
|
() => [x.value, X.value, u.value],
|
|
7863
7866
|
() => {
|
|
7864
|
-
|
|
7867
|
+
S.nav.setConfig({
|
|
7865
7868
|
showFullScreen: x.value,
|
|
7866
7869
|
showChangeEnterprise: X.value,
|
|
7867
7870
|
showAIHelper: u.value,
|
|
@@ -7887,7 +7890,7 @@ const z6 = (e) => {
|
|
|
7887
7890
|
const a = f9.value;
|
|
7888
7891
|
let q = [...Av].map((V) => ({
|
|
7889
7892
|
...V,
|
|
7890
|
-
label:
|
|
7893
|
+
label: g(V.label)
|
|
7891
7894
|
}));
|
|
7892
7895
|
q.forEach((V) => (a != null && a.appAlias && V.value === RA && (V.label = a.appAlias), a != null && a.homeAlias && V.value === hA && (V.label = a.homeAlias), V));
|
|
7893
7896
|
const p = () => {
|
|
@@ -7897,37 +7900,39 @@ const z6 = (e) => {
|
|
|
7897
7900
|
p() ? ((a == null ? void 0 : a.displayPosition) === 2 && (q = I6(q, 0, 1)), d.value = q) : (d.value = q.filter((V) => V.path === RA), f.path === hA && await A.replace(RA));
|
|
7898
7901
|
const m = p() && (a == null ? void 0 : a.displayPosition) !== 2 ? hA : RA;
|
|
7899
7902
|
sessionStorage.getItem("defalt-page") || f.path !== m && await A.replace(m), sessionStorage.setItem("defalt-page", m);
|
|
7900
|
-
const N =
|
|
7901
|
-
|
|
7903
|
+
const N = S.nav.getItems().filter((V) => !V.fixed) ?? [];
|
|
7904
|
+
S.nav.setItems([...d.value, ...N]);
|
|
7902
7905
|
}, i = o(!1), b = async () => {
|
|
7903
|
-
var
|
|
7906
|
+
var T;
|
|
7904
7907
|
await e();
|
|
7905
7908
|
const a = YA().id, q = await s();
|
|
7906
7909
|
if (!q) return;
|
|
7907
7910
|
const { navConfig: p, projectConfig: m, currentProject: N, tenantList: V } = q, l = (N == null ? void 0 : N.id) || 0;
|
|
7908
|
-
a != l && (t.value = t.value === "0" ? "1" : "0"), X.value = ((
|
|
7911
|
+
a != l && (t.value = t.value === "0" ? "1" : "0"), X.value = ((T = qf()) == null ? void 0 : T.flag) !== 4 && V && V.length > 1;
|
|
7912
|
+
const j = await v("aiPlatform", "aiPlatform.dasaiassistant", "", "enterpriseadmin", !0);
|
|
7913
|
+
u.value = !!j, c(), m && m.length && (S.nav.setProjectConfig({
|
|
7909
7914
|
treeProps: {
|
|
7910
|
-
disabled: (
|
|
7915
|
+
disabled: (M) => M.type !== 7
|
|
7911
7916
|
},
|
|
7912
7917
|
// 过滤的节点
|
|
7913
|
-
filterNodeMethod: (
|
|
7918
|
+
filterNodeMethod: (M) => M.type === 7,
|
|
7914
7919
|
// 树打平之后保留的数据
|
|
7915
|
-
filterFlatCondition: (
|
|
7916
|
-
}),
|
|
7917
|
-
const
|
|
7918
|
-
n.value = [...cr].map((
|
|
7919
|
-
...
|
|
7920
|
-
label: M
|
|
7921
|
-
})), N && N.id !== 0 ? await v("personCenter",
|
|
7920
|
+
filterFlatCondition: (M) => M.type === 7
|
|
7921
|
+
}), S.nav.setProjects(m || []), N && S.nav.setActiveProject(N));
|
|
7922
|
+
const O = _9() ?? {}, R = O != null && O.headPicture ? pf(O.headPicture) : void 0;
|
|
7923
|
+
n.value = [...cr].map((M) => ({
|
|
7924
|
+
...M,
|
|
7925
|
+
label: g(M.label)
|
|
7926
|
+
})), N && N.id !== 0 ? await v("personCenter", null, "/userInfo") || (n.value = n.value.filter((J) => J.value !== "1")) : n.value = n.value.filter((M) => M.value !== "1"), S.nav.setUserInfo({ headPicture: R, commandList: n.value }), S.nav.setSearchConfig({
|
|
7922
7927
|
getHistoryList: r,
|
|
7923
7928
|
getSearchList: P
|
|
7924
7929
|
});
|
|
7925
|
-
const
|
|
7926
|
-
|
|
7927
|
-
|
|
7928
|
-
}), MA([{ key: "subAppList", value:
|
|
7930
|
+
const Z = uA().subAppList ?? [];
|
|
7931
|
+
Z.length && (Z.forEach((M) => {
|
|
7932
|
+
M.menus = [], M.originalMenus = [];
|
|
7933
|
+
}), MA([{ key: "subAppList", value: Z }])), i.value = !0;
|
|
7929
7934
|
};
|
|
7930
|
-
return
|
|
7935
|
+
return S.nav.addEventListener("onBeforeMount", b), OA(
|
|
7931
7936
|
() => f9.value,
|
|
7932
7937
|
() => {
|
|
7933
7938
|
c();
|
|
@@ -7956,7 +7961,7 @@ const z6 = (e) => {
|
|
|
7956
7961
|
};
|
|
7957
7962
|
}, B6 = () => {
|
|
7958
7963
|
const { entryMenu: e } = Zf();
|
|
7959
|
-
|
|
7964
|
+
S.menu.addEventListener("onItemClick", async (A) => {
|
|
7960
7965
|
var P;
|
|
7961
7966
|
xA.innerSet = !0;
|
|
7962
7967
|
const f = UA(zf(A.applicationCode)).filter((t) => !t.disable && !t.expired).find((t) => t.code === A.code);
|
|
@@ -7968,21 +7973,21 @@ const z6 = (e) => {
|
|
|
7968
7973
|
}
|
|
7969
7974
|
const r = (((P = ZA().tabMap) == null ? void 0 : P[A.applicationCode]) ?? []).find((t) => t.code === A.code);
|
|
7970
7975
|
e(r ? { currentMenu: f, route: { path: r.path, query: r.query ?? {} } } : { currentMenu: f });
|
|
7971
|
-
}),
|
|
7976
|
+
}), S.menu.addEventListener("toggleCollapse", (A) => {
|
|
7972
7977
|
const f = Y3.nav.activeItem;
|
|
7973
7978
|
let v = uA().menuCollapses || [];
|
|
7974
7979
|
A ? v = Array.from(/* @__PURE__ */ new Set([...v, f])) : v = v.filter((r) => r !== f), MA([{ key: "menuCollapses", value: v }]);
|
|
7975
7980
|
});
|
|
7976
7981
|
}, k6 = () => {
|
|
7977
7982
|
const { changeApp: e, deleteApp: A, beforeEntryApp: f } = m9();
|
|
7978
|
-
|
|
7983
|
+
S.nav.addEventListener("onItemClick", async (r) => {
|
|
7979
7984
|
const P = uA().currentSubAppCode ?? "";
|
|
7980
7985
|
if (P !== r.code) {
|
|
7981
7986
|
if (P && fP(P), !r.fixed && !await f(r))
|
|
7982
|
-
throw new Error(
|
|
7987
|
+
throw new Error(g("取消切换"));
|
|
7983
7988
|
e(r);
|
|
7984
7989
|
}
|
|
7985
|
-
}),
|
|
7990
|
+
}), S.nav.addEventListener("onItemRemove", (r) => {
|
|
7986
7991
|
var n;
|
|
7987
7992
|
const P = uA();
|
|
7988
7993
|
if (!((n = P.subAppList) != null && n.length) || P.subAppList.findIndex((u) => u.code === r.code) === -1) return;
|
|
@@ -7990,7 +7995,7 @@ const z6 = (e) => {
|
|
|
7990
7995
|
d && d.length && tf(r.code, d), A(r);
|
|
7991
7996
|
});
|
|
7992
7997
|
const { enter: v } = $9();
|
|
7993
|
-
return
|
|
7998
|
+
return S.nav.addEventListener("fullScreenHandle", v), {};
|
|
7994
7999
|
}, Q6 = () => {
|
|
7995
8000
|
const e = y9(), A = o(""), f = o(""), v = o("");
|
|
7996
8001
|
let r = "", P = {};
|
|
@@ -8017,7 +8022,7 @@ const z6 = (e) => {
|
|
|
8017
8022
|
}, x = (c) => {
|
|
8018
8023
|
if (!c || !c.length) return;
|
|
8019
8024
|
const i = c.filter((b) => !b.path.startsWith(b9)).map((b) => b.path);
|
|
8020
|
-
i && i.length && n(i), c.forEach((b) =>
|
|
8025
|
+
i && i.length && n(i), c.forEach((b) => S.iframeView.triggerEventListener("onUnloadPage", b.path));
|
|
8021
8026
|
}, X = (c) => {
|
|
8022
8027
|
const i = uA().currentSubAppCode ?? "";
|
|
8023
8028
|
xA.innerSet = !0;
|
|
@@ -8026,7 +8031,7 @@ const z6 = (e) => {
|
|
|
8026
8031
|
const q = () => {
|
|
8027
8032
|
var O;
|
|
8028
8033
|
let j = (((O = uA().appcategorys) == null ? void 0 : O.map((R) => R.apps).flat()) ?? []).find((R) => R.code === i);
|
|
8029
|
-
j = { ...j, value: j.code, label: j.name }, t(j),
|
|
8034
|
+
j = { ...j, value: j.code, label: j.name }, t(j), S.nav.removeItem(i);
|
|
8030
8035
|
};
|
|
8031
8036
|
({
|
|
8032
8037
|
me: async (l) => {
|
|
@@ -8044,9 +8049,9 @@ const z6 = (e) => {
|
|
|
8044
8049
|
await e.push({
|
|
8045
8050
|
path: `/${j.applicationPath}${j.path}`.replace(/\/\//g, "/"),
|
|
8046
8051
|
query: j.query
|
|
8047
|
-
}),
|
|
8052
|
+
}), S.menu.setActiveItem(j.menuId), S.tab.setActiveItem(j.code);
|
|
8048
8053
|
const O = H.filter((R) => R.code !== l.value);
|
|
8049
|
-
O.forEach((R) =>
|
|
8054
|
+
O.forEach((R) => S.tab.removeItem(R.code)), x(O), IA([{ key: `tabMap:${i}`, value: [j] }]), u(j);
|
|
8050
8055
|
},
|
|
8051
8056
|
right: async (l) => {
|
|
8052
8057
|
const j = b.currentCode;
|
|
@@ -8055,16 +8060,16 @@ const z6 = (e) => {
|
|
|
8055
8060
|
u(Z);
|
|
8056
8061
|
}
|
|
8057
8062
|
const O = H.slice(a + 1);
|
|
8058
|
-
O.forEach((R) =>
|
|
8063
|
+
O.forEach((R) => S.tab.removeItem(R.code)), x(O), H.splice(a + 1), IA([{ key: `tabMap:${i}`, value: H }]);
|
|
8059
8064
|
}
|
|
8060
8065
|
})[c.type](c.data);
|
|
8061
8066
|
};
|
|
8062
|
-
|
|
8067
|
+
S.tab.addEventListener("onItemClick", async (c) => {
|
|
8063
8068
|
ZA().currentCode !== c.currentCode && (xA.innerSet = !0, u(c));
|
|
8064
|
-
}),
|
|
8069
|
+
}), S.tab.addEventListener("onItemRemove", (c) => {
|
|
8065
8070
|
const i = ZA(), b = uA().currentSubAppCode ?? "";
|
|
8066
8071
|
i.tabMap[b].findIndex((q) => q.code === c.code) !== -1 && (tf(c.applicationCode, [c.code]), X({ type: "me", data: c }));
|
|
8067
|
-
}),
|
|
8072
|
+
}), S.tab.addEventListener("onMenuClick", (c) => {
|
|
8068
8073
|
let i = [];
|
|
8069
8074
|
const b = ZA().tabMap[c.applicationCode] ?? [];
|
|
8070
8075
|
if (c.type.key === "right") {
|
|
@@ -8075,10 +8080,10 @@ const z6 = (e) => {
|
|
|
8075
8080
|
c.applicationCode,
|
|
8076
8081
|
i.map((H) => H.code)
|
|
8077
8082
|
), X({ type: c.type.key, data: c.data });
|
|
8078
|
-
}),
|
|
8083
|
+
}), S.tab.addEventListener("onPageRefresh", async (c) => {
|
|
8079
8084
|
if (!c) return;
|
|
8080
8085
|
if (c.path.startsWith(b9)) {
|
|
8081
|
-
|
|
8086
|
+
S.iframeView.triggerEventListener("onRefreshCurrentPage");
|
|
8082
8087
|
return;
|
|
8083
8088
|
}
|
|
8084
8089
|
tf(c.applicationCode, [c.code]);
|
|
@@ -8092,10 +8097,10 @@ const z6 = (e) => {
|
|
|
8092
8097
|
Oe(b, H) || await z({ currentMenu: i }), d([c.path]);
|
|
8093
8098
|
});
|
|
8094
8099
|
const { enter: s } = $9();
|
|
8095
|
-
return
|
|
8100
|
+
return S.tab.addEventListener("onToggleFullScreen", s), { fontColor: A, backgroudColor: f, borderColor: v };
|
|
8096
8101
|
}, He = u9(), T3 = (He == null ? void 0 : He.isAutoCloseApp) ?? !0, o3 = location.href.includes("showLayout=false"), L3 = window.self !== window.top, Y6 = () => {
|
|
8097
8102
|
const e = () => {
|
|
8098
|
-
|
|
8103
|
+
S.nav.setItems([]), S.menu.setItems([]), S.tab.setItems([]), uv();
|
|
8099
8104
|
};
|
|
8100
8105
|
window.addEventListener("beforeunload", function(A) {
|
|
8101
8106
|
if (!(o3 || !T3 || L3) && window.__isAutoCloseApp) {
|
|
@@ -8119,7 +8124,7 @@ const z6 = (e) => {
|
|
|
8119
8124
|
let { mainAppName: v = "", microAppName: r = "", microApps: P = [] } = u9();
|
|
8120
8125
|
!v && r && (P = [{ name: r }]);
|
|
8121
8126
|
const t = P.map((X) => X.name), z = () => {
|
|
8122
|
-
|
|
8127
|
+
S.menu.setItems([]), S.menu.setActiveItem(""), S.tab.setItems([]), S.tab.setActiveItem("");
|
|
8123
8128
|
}, d = async (X) => {
|
|
8124
8129
|
if (X.routeUrl && !t.includes(X.routeUrl)) return !0;
|
|
8125
8130
|
const s = X.code ?? "", i = (uA().subAppList ?? []).find((p) => p.code === s);
|
|
@@ -8130,13 +8135,13 @@ const z6 = (e) => {
|
|
|
8130
8135
|
b = p ?? [], H = m ?? [];
|
|
8131
8136
|
}
|
|
8132
8137
|
if (b.length ? bf(b) || (await G9({
|
|
8133
|
-
title:
|
|
8134
|
-
content:
|
|
8135
|
-
}), a = !0) : (await G9({ title:
|
|
8138
|
+
title: g("提示"),
|
|
8139
|
+
content: g("此应用菜单已过期/已收回/配置有误") + "<br/>" + g("无法使用")
|
|
8140
|
+
}), a = !0) : (await G9({ title: g("提示"), content: g("此应用未配置菜单/无菜单权限") + "<br/>" + g("无法使用") }), a = !0), a) return !1;
|
|
8136
8141
|
const q = { ...X, menus: b, originalMenus: H };
|
|
8137
8142
|
return MA([{ key: "subAppList", value: q }]), !0;
|
|
8138
8143
|
}, n = async (X) => {
|
|
8139
|
-
var Z, T,
|
|
8144
|
+
var Z, T, M, J, _;
|
|
8140
8145
|
const { microApp: s = null, menuCode: c = "", menuPath: i = "", route: b = {} } = X;
|
|
8141
8146
|
let H = b;
|
|
8142
8147
|
if (!s && i) {
|
|
@@ -8153,20 +8158,20 @@ const z6 = (e) => {
|
|
|
8153
8158
|
appCode: s.code,
|
|
8154
8159
|
displayAppName: s.name
|
|
8155
8160
|
}), z();
|
|
8156
|
-
const G = ((
|
|
8157
|
-
if ((G == null ? void 0 : G.find((
|
|
8161
|
+
const G = ((M = uA()) == null ? void 0 : M.subAppList) ?? [];
|
|
8162
|
+
if ((G == null ? void 0 : G.find((h) => h.code === s.code)) || G == null || G.push(s), MA([
|
|
8158
8163
|
{ key: "currentSubApp", value: s },
|
|
8159
8164
|
{ key: "currentSubAppCode", value: s.code },
|
|
8160
8165
|
{ key: "subAppList", value: G }
|
|
8161
|
-
]), G.forEach((
|
|
8162
|
-
const C = { ...
|
|
8163
|
-
|
|
8164
|
-
}),
|
|
8166
|
+
]), G.forEach((h) => {
|
|
8167
|
+
const C = { ...h, value: h.code, label: h.name };
|
|
8168
|
+
S.nav.appendItem(C);
|
|
8169
|
+
}), S.nav.setActiveItem(s.code), s.routeUrl.includes("entrance=main")) {
|
|
8165
8170
|
await e.push({ path: s.routeUrl, query: { ...H.query, app: s.code } });
|
|
8166
8171
|
return;
|
|
8167
8172
|
}
|
|
8168
8173
|
if (p === 1 && m === 2) {
|
|
8169
|
-
const
|
|
8174
|
+
const h = await Hv(s.routeUrl, (s == null ? void 0 : s.param) ?? []), C = Ne(me(le(h))), L = `${b9}-${s.code}`;
|
|
8170
8175
|
if (!e.options.routes.find((W) => W.path === L)) {
|
|
8171
8176
|
const W = {
|
|
8172
8177
|
path: L,
|
|
@@ -8199,9 +8204,9 @@ const z6 = (e) => {
|
|
|
8199
8204
|
query: { ...O, app: l.applicationCode, menu: l.code },
|
|
8200
8205
|
meta: { ...(H == null ? void 0 : H.meta) ?? {} }
|
|
8201
8206
|
}), V && (V == null ? void 0 : V.code) !== (s == null ? void 0 : s.code)) {
|
|
8202
|
-
if (V.fixed && (await e.push(V.path), z(),
|
|
8203
|
-
const G = (
|
|
8204
|
-
await n({ microApp: G, menuCode: (Y == null ? void 0 : Y.code) ?? "", route: { query:
|
|
8207
|
+
if (V.fixed && (await e.push(V.path), z(), S.nav.setActiveItem(V.path)), !V.fixed) {
|
|
8208
|
+
const G = (J = uA().subAppList) == null ? void 0 : J.find((C) => C.code === V.code), Y = ZA().preTab[V.code], h = { ...(Y == null ? void 0 : Y.query) ?? {} };
|
|
8209
|
+
await n({ microApp: G, menuCode: (Y == null ? void 0 : Y.code) ?? "", route: { query: h } });
|
|
8205
8210
|
}
|
|
8206
8211
|
return;
|
|
8207
8212
|
}
|
|
@@ -8218,25 +8223,25 @@ const z6 = (e) => {
|
|
|
8218
8223
|
}
|
|
8219
8224
|
if (a && q) {
|
|
8220
8225
|
(_ = uA().subAppList) == null || _.forEach((Y) => {
|
|
8221
|
-
const
|
|
8222
|
-
|
|
8223
|
-
}),
|
|
8226
|
+
const h = { ...Y, value: Y.code, label: Y.name };
|
|
8227
|
+
S.nav.appendItem(h);
|
|
8228
|
+
}), S.nav.setActiveItem(R.code), S.menu.setItems(N);
|
|
8224
8229
|
const G = ZA().tabMap[R.code] ?? [];
|
|
8225
8230
|
if (G.length) {
|
|
8226
|
-
const Y = G.map((
|
|
8227
|
-
...
|
|
8228
|
-
value:
|
|
8229
|
-
label:
|
|
8231
|
+
const Y = G.map((h) => ({
|
|
8232
|
+
...h,
|
|
8233
|
+
value: h.code,
|
|
8234
|
+
label: h.name
|
|
8230
8235
|
})) || [];
|
|
8231
|
-
|
|
8236
|
+
S.tab.setItems(Y);
|
|
8232
8237
|
} else
|
|
8233
|
-
|
|
8238
|
+
S.tab.setItems([]);
|
|
8234
8239
|
}
|
|
8235
8240
|
A({ currentMenu: l, microPath: j, route: H });
|
|
8236
8241
|
}, u = async (X) => {
|
|
8237
8242
|
var s;
|
|
8238
8243
|
if (xA.innerSet = !0, X.fixed) {
|
|
8239
|
-
await e.push(X.path),
|
|
8244
|
+
await e.push(X.path), S.menu.setItems([]), S.tab.setItems([]), S.nav.setActiveItem(X.path), MA([
|
|
8240
8245
|
{ key: "currentSubAppCode", value: "" },
|
|
8241
8246
|
{ key: "currentSubApp", value: {} }
|
|
8242
8247
|
]), IA([
|
|
@@ -8263,7 +8268,7 @@ const z6 = (e) => {
|
|
|
8263
8268
|
const i = ZA().tabMap[X.code] ?? [];
|
|
8264
8269
|
if (i.length) {
|
|
8265
8270
|
const a = i.filter((q) => !q.path.startsWith(b9)).map((q) => q.path);
|
|
8266
|
-
a && a.length && f(a), i.forEach((q) =>
|
|
8271
|
+
a && a.length && f(a), i.forEach((q) => S.iframeView.triggerEventListener("onUnloadPage", q.path));
|
|
8267
8272
|
}
|
|
8268
8273
|
let b = null;
|
|
8269
8274
|
if (s.currentSubAppCode === X.code && (c + 1 !== s.subAppList.length ? s.subAppList[c + 1] && (b = s.subAppList[c + 1]) : s.subAppList[c - 1] && (b = s.subAppList[c - 1])), s.subAppList.splice(c, 1), MA([{ key: "subAppList", value: s.subAppList }]), IA([
|
|
@@ -8271,10 +8276,10 @@ const z6 = (e) => {
|
|
|
8271
8276
|
{ key: `tabMap:${X.code}`, value: [] }
|
|
8272
8277
|
]), b) {
|
|
8273
8278
|
const a = { ...b, value: b.code, label: b.name };
|
|
8274
|
-
await u(a),
|
|
8279
|
+
await u(a), S.nav.setActiveItem(b.code);
|
|
8275
8280
|
}
|
|
8276
8281
|
if (!s.subAppList.length) {
|
|
8277
|
-
if (
|
|
8282
|
+
if (S.menu.setItems([]), S.tab.setItems([]), location.pathname !== RA && location.pathname !== hA) {
|
|
8278
8283
|
const a = Av.find((q) => q.value === RA);
|
|
8279
8284
|
a && u(a);
|
|
8280
8285
|
}
|
|
@@ -8350,11 +8355,11 @@ const z6 = (e) => {
|
|
|
8350
8355
|
path: X,
|
|
8351
8356
|
query: n
|
|
8352
8357
|
};
|
|
8353
|
-
|
|
8358
|
+
S.tab.appendItem({
|
|
8354
8359
|
...b,
|
|
8355
8360
|
value: b.code,
|
|
8356
8361
|
label: b.name
|
|
8357
|
-
}),
|
|
8362
|
+
}), S.tab.setActiveItem(t.code), S.menu.setActiveItem(t.id), tv(t.code), IA([
|
|
8358
8363
|
{
|
|
8359
8364
|
key: "currentCode",
|
|
8360
8365
|
value: t.code
|
|
@@ -8432,7 +8437,7 @@ const z6 = (e) => {
|
|
|
8432
8437
|
X = {}, R && (X.path = `/${R.applicationPath}${R.path}`.replace(/\/\//g, "/"), X.query = R.query);
|
|
8433
8438
|
}
|
|
8434
8439
|
}
|
|
8435
|
-
l != null && l.fixed ? (await r.push(l.path),
|
|
8440
|
+
l != null && l.fixed ? (await r.push(l.path), S.menu.setItems([]), S.tab.setItems([]), S.nav.setActiveItem(l.path)) : v({ microApp: l, menuCode: X.query.menu, menuPath: X.path, route: X });
|
|
8436
8441
|
return;
|
|
8437
8442
|
} else {
|
|
8438
8443
|
const l = z && z.find(
|
|
@@ -8454,10 +8459,10 @@ const z6 = (e) => {
|
|
|
8454
8459
|
if (s) {
|
|
8455
8460
|
(V = (N = uA()) == null ? void 0 : N.subAppList) == null || V.forEach((j) => {
|
|
8456
8461
|
const O = { ...j, value: j.code, label: j.name };
|
|
8457
|
-
|
|
8462
|
+
S.nav.appendItem(O);
|
|
8458
8463
|
});
|
|
8459
8464
|
const l = e.value.find((j) => j.path === location.pathname);
|
|
8460
|
-
l && (
|
|
8465
|
+
l && (S.nav.setActiveItem(l.path), S.menu.setItems([]), S.tab.setItems([]), MA([
|
|
8461
8466
|
{ key: "currentSubAppCode", value: "" },
|
|
8462
8467
|
{ key: "currentSubApp", value: {} }
|
|
8463
8468
|
]), IA([
|
|
@@ -8493,7 +8498,7 @@ const z6 = (e) => {
|
|
|
8493
8498
|
return localStorage.getItem("thirdLogouSource") === "zhongshen" && (d = !0), d;
|
|
8494
8499
|
}, r = (d) => {
|
|
8495
8500
|
if (localStorage.getItem("thirdLogouSource") === "zhongshen") {
|
|
8496
|
-
const x = `https://iam.shenyejituan.com:
|
|
8501
|
+
const x = `https://iam.shenyejituan.com:443/idp/profile/OAUTH2/Redirect/GLO?redirctToUrl=${encodeURIComponent(d)}&entityId=AIoT&redirectToLogin=true`;
|
|
8497
8502
|
localStorage.removeItem("thirdLogouSource"), location.href = x;
|
|
8498
8503
|
}
|
|
8499
8504
|
}, P = async () => {
|
|
@@ -8522,7 +8527,7 @@ const z6 = (e) => {
|
|
|
8522
8527
|
const c = u.find((i) => i.code === d);
|
|
8523
8528
|
c && t({ microApp: c, menuPath: `/${c.routeUrl}/userInfo` });
|
|
8524
8529
|
};
|
|
8525
|
-
return
|
|
8530
|
+
return S.nav.addEventListener("onUserCommandChange", (d) => {
|
|
8526
8531
|
var u, x;
|
|
8527
8532
|
({
|
|
8528
8533
|
0: (u = A.value) == null ? void 0 : u.openDialog,
|
|
@@ -8538,7 +8543,7 @@ const z6 = (e) => {
|
|
|
8538
8543
|
const e = u9(), A = o(!1), f = o(""), v = o(""), r = () => {
|
|
8539
8544
|
f.value = _9().id, v.value = Hf().tenantId, A.value = !0;
|
|
8540
8545
|
};
|
|
8541
|
-
|
|
8546
|
+
S.nav.addEventListener("changeEnterpriseHandle", () => {
|
|
8542
8547
|
r();
|
|
8543
8548
|
});
|
|
8544
8549
|
const P = () => {
|
|
@@ -8582,7 +8587,7 @@ const z6 = (e) => {
|
|
|
8582
8587
|
};
|
|
8583
8588
|
}, S6 = () => {
|
|
8584
8589
|
const { changeEnterprise: e } = Fv();
|
|
8585
|
-
|
|
8590
|
+
S.nav.addEventListener("onProjectChange", async (A) => {
|
|
8586
8591
|
const f = qf();
|
|
8587
8592
|
if ((f == null ? void 0 : f.flag) === 4) {
|
|
8588
8593
|
const v = f.tenant.id, r = (A == null ? void 0 : A.tenant) ?? "";
|
|
@@ -8598,7 +8603,7 @@ const z6 = (e) => {
|
|
|
8598
8603
|
const [r, P] = await h6().run({ name: v });
|
|
8599
8604
|
return r ? [] : P.filter((t) => t.routeUrl);
|
|
8600
8605
|
}, { entryApp: f } = m9();
|
|
8601
|
-
return
|
|
8606
|
+
return S.nav.addEventListener("searchToPage", async (v) => {
|
|
8602
8607
|
const { item: r, keyword: P, cb: t } = v;
|
|
8603
8608
|
if (r != null && r.disable || r != null && r.expired) {
|
|
8604
8609
|
const { title: x, content: X, desc: s } = await Ke(r);
|
|
@@ -8610,10 +8615,10 @@ const z6 = (e) => {
|
|
|
8610
8615
|
if (!n) return;
|
|
8611
8616
|
const u = r.applicationCode !== r.code ? r.code : "";
|
|
8612
8617
|
f({ microApp: n, menuCode: u }), t();
|
|
8613
|
-
}),
|
|
8618
|
+
}), S.nav.addEventListener("deleteSearchItem", async (v) => {
|
|
8614
8619
|
const { value: r, cb: P } = v;
|
|
8615
8620
|
await $6().run({ id: r }), P();
|
|
8616
|
-
}),
|
|
8621
|
+
}), S.nav.addEventListener("clearSearchList", async (v) => {
|
|
8617
8622
|
const { cb: r } = v;
|
|
8618
8623
|
await _6().run(), r();
|
|
8619
8624
|
}), {
|
|
@@ -8622,7 +8627,7 @@ const z6 = (e) => {
|
|
|
8622
8627
|
};
|
|
8623
8628
|
}, f1 = () => {
|
|
8624
8629
|
const e = o(), { entryApp: A } = m9();
|
|
8625
|
-
return
|
|
8630
|
+
return S.nav.addEventListener("openAI", () => {
|
|
8626
8631
|
var v;
|
|
8627
8632
|
(v = e.value) == null || v.openPanel();
|
|
8628
8633
|
}), {
|
|
@@ -8648,7 +8653,7 @@ const z6 = (e) => {
|
|
|
8648
8653
|
let v = zf(f);
|
|
8649
8654
|
v.forEach((P) => {
|
|
8650
8655
|
P.fixed && (P.name = e.data.instanceInfo.instanceName);
|
|
8651
|
-
}),
|
|
8656
|
+
}), S.menu.setItems(v);
|
|
8652
8657
|
const r = A.subAppList;
|
|
8653
8658
|
r == null || r.forEach((P) => {
|
|
8654
8659
|
P.code === f && (P.menus = v);
|
|
@@ -8667,7 +8672,7 @@ const z6 = (e) => {
|
|
|
8667
8672
|
["personcenter", "rightmanage"].forEach((f) => {
|
|
8668
8673
|
NA.addEventListenerFromMicroApp(`${f}:change-userinfo`, (v) => {
|
|
8669
8674
|
const { userInfo: r } = v.data, P = r != null && r.headPicture ? pf(r.headPicture) : void 0;
|
|
8670
|
-
|
|
8675
|
+
S.nav.setUserInfo({ headPicture: P, commandList: e.value }), sessionStorage.setItem("userInfo", JSON.stringify(r));
|
|
8671
8676
|
});
|
|
8672
8677
|
});
|
|
8673
8678
|
}, n1 = () => {
|
|
@@ -8722,7 +8727,7 @@ const z6 = (e) => {
|
|
|
8722
8727
|
r();
|
|
8723
8728
|
}
|
|
8724
8729
|
},
|
|
8725
|
-
|
|
8730
|
+
g("查看详情")
|
|
8726
8731
|
) : null
|
|
8727
8732
|
])
|
|
8728
8733
|
}), f.value.push(n.id);
|
|
@@ -8836,11 +8841,11 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
|
|
|
8836
8841
|
onDblclick: P[9] || (P[9] = DA((t) => t.stopPropagation(), ["stop"]))
|
|
8837
8842
|
},
|
|
8838
8843
|
[
|
|
8839
|
-
|
|
8840
|
-
content: D(
|
|
8844
|
+
k(D(WA), {
|
|
8845
|
+
content: D(g)("左上")
|
|
8841
8846
|
}, {
|
|
8842
8847
|
default: U(() => [
|
|
8843
|
-
|
|
8848
|
+
Q("div", {
|
|
8844
8849
|
class: "icon icon-top-left",
|
|
8845
8850
|
onClick: P[0] || (P[0] = DA((t) => v("leftUp"), ["stop"]))
|
|
8846
8851
|
})
|
|
@@ -8848,11 +8853,11 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
|
|
|
8848
8853
|
_: 1
|
|
8849
8854
|
/* STABLE */
|
|
8850
8855
|
}, 8, ["content"]),
|
|
8851
|
-
|
|
8852
|
-
content: D(
|
|
8856
|
+
k(D(WA), {
|
|
8857
|
+
content: D(g)("上")
|
|
8853
8858
|
}, {
|
|
8854
8859
|
default: U(() => [
|
|
8855
|
-
|
|
8860
|
+
Q("div", {
|
|
8856
8861
|
class: "icon icon-top",
|
|
8857
8862
|
onClick: P[1] || (P[1] = DA((t) => v("up"), ["stop"]))
|
|
8858
8863
|
})
|
|
@@ -8860,11 +8865,11 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
|
|
|
8860
8865
|
_: 1
|
|
8861
8866
|
/* STABLE */
|
|
8862
8867
|
}, 8, ["content"]),
|
|
8863
|
-
|
|
8864
|
-
content: D(
|
|
8868
|
+
k(D(WA), {
|
|
8869
|
+
content: D(g)("右上")
|
|
8865
8870
|
}, {
|
|
8866
8871
|
default: U(() => [
|
|
8867
|
-
|
|
8872
|
+
Q("div", {
|
|
8868
8873
|
class: "icon icon-top-right",
|
|
8869
8874
|
onClick: P[2] || (P[2] = DA((t) => v("rightUp"), ["stop"]))
|
|
8870
8875
|
})
|
|
@@ -8872,11 +8877,11 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
|
|
|
8872
8877
|
_: 1
|
|
8873
8878
|
/* STABLE */
|
|
8874
8879
|
}, 8, ["content"]),
|
|
8875
|
-
|
|
8876
|
-
content: D(
|
|
8880
|
+
k(D(WA), {
|
|
8881
|
+
content: D(g)("左")
|
|
8877
8882
|
}, {
|
|
8878
8883
|
default: U(() => [
|
|
8879
|
-
|
|
8884
|
+
Q("div", {
|
|
8880
8885
|
class: "icon icon-left",
|
|
8881
8886
|
onClick: P[3] || (P[3] = DA((t) => v("left"), ["stop"]))
|
|
8882
8887
|
})
|
|
@@ -8884,11 +8889,11 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
|
|
|
8884
8889
|
_: 1
|
|
8885
8890
|
/* STABLE */
|
|
8886
8891
|
}, 8, ["content"]),
|
|
8887
|
-
|
|
8888
|
-
content: D(
|
|
8892
|
+
k(D(WA), {
|
|
8893
|
+
content: D(g)("自动")
|
|
8889
8894
|
}, {
|
|
8890
8895
|
default: U(() => [
|
|
8891
|
-
|
|
8896
|
+
Q("div", {
|
|
8892
8897
|
class: "icon icon-auto",
|
|
8893
8898
|
onClick: P[4] || (P[4] = DA((t) => v("auto"), ["stop"]))
|
|
8894
8899
|
})
|
|
@@ -8896,11 +8901,11 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
|
|
|
8896
8901
|
_: 1
|
|
8897
8902
|
/* STABLE */
|
|
8898
8903
|
}, 8, ["content"]),
|
|
8899
|
-
|
|
8900
|
-
content: D(
|
|
8904
|
+
k(D(WA), {
|
|
8905
|
+
content: D(g)("右")
|
|
8901
8906
|
}, {
|
|
8902
8907
|
default: U(() => [
|
|
8903
|
-
|
|
8908
|
+
Q("div", {
|
|
8904
8909
|
class: "icon icon-right",
|
|
8905
8910
|
onClick: P[5] || (P[5] = DA((t) => v("right"), ["stop"]))
|
|
8906
8911
|
})
|
|
@@ -8908,11 +8913,11 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
|
|
|
8908
8913
|
_: 1
|
|
8909
8914
|
/* STABLE */
|
|
8910
8915
|
}, 8, ["content"]),
|
|
8911
|
-
|
|
8912
|
-
content: D(
|
|
8916
|
+
k(D(WA), {
|
|
8917
|
+
content: D(g)("左下")
|
|
8913
8918
|
}, {
|
|
8914
8919
|
default: U(() => [
|
|
8915
|
-
|
|
8920
|
+
Q("div", {
|
|
8916
8921
|
class: "icon icon-bottom-left",
|
|
8917
8922
|
onClick: P[6] || (P[6] = DA((t) => v("leftDown"), ["stop"]))
|
|
8918
8923
|
})
|
|
@@ -8920,11 +8925,11 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
|
|
|
8920
8925
|
_: 1
|
|
8921
8926
|
/* STABLE */
|
|
8922
8927
|
}, 8, ["content"]),
|
|
8923
|
-
|
|
8924
|
-
content: D(
|
|
8928
|
+
k(D(WA), {
|
|
8929
|
+
content: D(g)("下")
|
|
8925
8930
|
}, {
|
|
8926
8931
|
default: U(() => [
|
|
8927
|
-
|
|
8932
|
+
Q("div", {
|
|
8928
8933
|
class: "icon icon-bottom",
|
|
8929
8934
|
onClick: P[7] || (P[7] = DA((t) => v("down"), ["stop"]))
|
|
8930
8935
|
})
|
|
@@ -8932,11 +8937,11 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
|
|
|
8932
8937
|
_: 1
|
|
8933
8938
|
/* STABLE */
|
|
8934
8939
|
}, 8, ["content"]),
|
|
8935
|
-
|
|
8936
|
-
content: D(
|
|
8940
|
+
k(D(WA), {
|
|
8941
|
+
content: D(g)("右下")
|
|
8937
8942
|
}, {
|
|
8938
8943
|
default: U(() => [
|
|
8939
|
-
|
|
8944
|
+
Q("div", {
|
|
8940
8945
|
class: "icon icon-bottom-right",
|
|
8941
8946
|
onClick: P[8] || (P[8] = DA((t) => v("rightDown"), ["stop"]))
|
|
8942
8947
|
})
|
|
@@ -9043,16 +9048,16 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
|
|
|
9043
9048
|
});
|
|
9044
9049
|
}
|
|
9045
9050
|
), (q, p) => (fA(), mA("div", x1, [
|
|
9046
|
-
|
|
9051
|
+
k(D(mf), {
|
|
9047
9052
|
spinning: f.loading,
|
|
9048
9053
|
type: "component",
|
|
9049
9054
|
tip: "加载中..."
|
|
9050
9055
|
}, {
|
|
9051
9056
|
default: U(() => [
|
|
9052
|
-
|
|
9053
|
-
|
|
9054
|
-
|
|
9055
|
-
|
|
9057
|
+
Q("div", O1, [
|
|
9058
|
+
Q("div", m1, [
|
|
9059
|
+
Q("div", l1, [
|
|
9060
|
+
Q(
|
|
9056
9061
|
"div",
|
|
9057
9062
|
D1,
|
|
9058
9063
|
rA(f.title.length > 20 ? f.title.slice(0, 19) + "..." : f.title),
|
|
@@ -9061,11 +9066,11 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
|
|
|
9061
9066
|
)
|
|
9062
9067
|
])
|
|
9063
9068
|
]),
|
|
9064
|
-
|
|
9069
|
+
Q("div", V1, [
|
|
9065
9070
|
["live"].includes(q.type) ? (fA(), mA(
|
|
9066
9071
|
"span",
|
|
9067
9072
|
N1,
|
|
9068
|
-
rA(D(
|
|
9073
|
+
rA(D(g)("正在实时预览")),
|
|
9069
9074
|
1
|
|
9070
9075
|
/* TEXT */
|
|
9071
9076
|
)) : nA("v-if", !0),
|
|
@@ -9081,27 +9086,27 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
|
|
|
9081
9086
|
onLoaded: x,
|
|
9082
9087
|
src: f.videoUrl
|
|
9083
9088
|
}, null, 8, ["muted", "src"])) : nA("v-if", !0),
|
|
9084
|
-
|
|
9085
|
-
p[3] || (p[3] =
|
|
9089
|
+
Q("div", R1, [
|
|
9090
|
+
p[3] || (p[3] = Q(
|
|
9086
9091
|
"div",
|
|
9087
9092
|
{ class: "video-bottom_l" },
|
|
9088
9093
|
null,
|
|
9089
9094
|
-1
|
|
9090
9095
|
/* HOISTED */
|
|
9091
9096
|
)),
|
|
9092
|
-
|
|
9093
|
-
|
|
9097
|
+
Q("div", j1, [
|
|
9098
|
+
Q(
|
|
9094
9099
|
"div",
|
|
9095
9100
|
{
|
|
9096
9101
|
class: "controls",
|
|
9097
9102
|
onDblclick: p[2] || (p[2] = DA((m) => m.stopPropagation(), ["stop"]))
|
|
9098
9103
|
},
|
|
9099
9104
|
[
|
|
9100
|
-
|
|
9101
|
-
content: D(
|
|
9105
|
+
k(D(WA), {
|
|
9106
|
+
content: D(g)("声音")
|
|
9102
9107
|
}, {
|
|
9103
9108
|
default: U(() => [
|
|
9104
|
-
|
|
9109
|
+
k(D(N9), {
|
|
9105
9110
|
class: "icon icon-volume",
|
|
9106
9111
|
icon: r.value ? "muted" : "volume",
|
|
9107
9112
|
onClick: DA(X, ["stop"])
|
|
@@ -9110,11 +9115,11 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
|
|
|
9110
9115
|
_: 1
|
|
9111
9116
|
/* STABLE */
|
|
9112
9117
|
}, 8, ["content"]),
|
|
9113
|
-
|
|
9114
|
-
content: D(
|
|
9118
|
+
k(D(WA), {
|
|
9119
|
+
content: D(g)("截图")
|
|
9115
9120
|
}, {
|
|
9116
9121
|
default: U(() => [
|
|
9117
|
-
|
|
9122
|
+
k(D(N9), {
|
|
9118
9123
|
class: "icon icon-screenshot",
|
|
9119
9124
|
icon: "screenshot",
|
|
9120
9125
|
onClick: DA(i, ["stop"])
|
|
@@ -9125,7 +9130,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
|
|
|
9125
9130
|
}, 8, ["content"]),
|
|
9126
9131
|
a("control") ? (fA(), XA(D(WA), {
|
|
9127
9132
|
key: 0,
|
|
9128
|
-
content: D(
|
|
9133
|
+
content: D(g)("聚焦-")
|
|
9129
9134
|
}, {
|
|
9130
9135
|
default: U(() => [
|
|
9131
9136
|
["live", "polling"].includes(f.type) ? (fA(), XA(D(N9), {
|
|
@@ -9140,7 +9145,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
|
|
|
9140
9145
|
}, 8, ["content"])) : nA("v-if", !0),
|
|
9141
9146
|
a("control") ? (fA(), XA(D(WA), {
|
|
9142
9147
|
key: 1,
|
|
9143
|
-
content: D(
|
|
9148
|
+
content: D(g)("聚焦+")
|
|
9144
9149
|
}, {
|
|
9145
9150
|
default: U(() => [
|
|
9146
9151
|
["live", "polling"].includes(f.type) ? (fA(), XA(D(N9), {
|
|
@@ -9155,7 +9160,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
|
|
|
9155
9160
|
}, 8, ["content"])) : nA("v-if", !0),
|
|
9156
9161
|
a("control") ? (fA(), XA(D(WA), {
|
|
9157
9162
|
key: 2,
|
|
9158
|
-
content: D(
|
|
9163
|
+
content: D(g)("方向控制")
|
|
9159
9164
|
}, {
|
|
9160
9165
|
default: U(() => [
|
|
9161
9166
|
["live", "polling"].includes(f.type) ? (fA(), XA(D(N9), {
|
|
@@ -9229,7 +9234,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
|
|
|
9229
9234
|
P();
|
|
9230
9235
|
}, {
|
|
9231
9236
|
deep: !0
|
|
9232
|
-
}), () =>
|
|
9237
|
+
}), () => k(i9, null, [A.default({
|
|
9233
9238
|
videoUrl: r.value,
|
|
9234
9239
|
loading: v.value,
|
|
9235
9240
|
onDirectionControl: t,
|
|
@@ -9242,7 +9247,7 @@ function L1(e) {
|
|
|
9242
9247
|
toggle: v
|
|
9243
9248
|
} = $9(f);
|
|
9244
9249
|
return {
|
|
9245
|
-
render: () =>
|
|
9250
|
+
render: () => k(q1, {
|
|
9246
9251
|
ref: f,
|
|
9247
9252
|
gridNum: e.gridNum,
|
|
9248
9253
|
activeIndex: A.value,
|
|
@@ -9253,7 +9258,7 @@ function L1(e) {
|
|
|
9253
9258
|
index: P
|
|
9254
9259
|
}) => {
|
|
9255
9260
|
const t = e.deviceList[P];
|
|
9256
|
-
return
|
|
9261
|
+
return k(o1, {
|
|
9257
9262
|
deviceInfo: t
|
|
9258
9263
|
}, {
|
|
9259
9264
|
default: ({
|
|
@@ -9261,7 +9266,7 @@ function L1(e) {
|
|
|
9261
9266
|
onDirectionControl: d,
|
|
9262
9267
|
onZoomControl: n,
|
|
9263
9268
|
loading: u
|
|
9264
|
-
}) =>
|
|
9269
|
+
}) => k(T1, {
|
|
9265
9270
|
type: "live",
|
|
9266
9271
|
loading: u,
|
|
9267
9272
|
videoUrl: z,
|
|
@@ -9304,7 +9309,7 @@ const y1 = /* @__PURE__ */ qA({
|
|
|
9304
9309
|
});
|
|
9305
9310
|
return (t, z) => (fA(), XA(D(j9), {
|
|
9306
9311
|
size: "mini",
|
|
9307
|
-
title: D(
|
|
9312
|
+
title: D(g)("视频监控"),
|
|
9308
9313
|
"custom-class": `das-linakge-video-dialog ${P.value}`,
|
|
9309
9314
|
modelValue: f.value,
|
|
9310
9315
|
"onUpdate:modelValue": z[0] || (z[0] = (d) => f.value = d),
|
|
@@ -9316,18 +9321,18 @@ const y1 = /* @__PURE__ */ qA({
|
|
|
9316
9321
|
onClosed: t.closeCallback
|
|
9317
9322
|
}, {
|
|
9318
9323
|
header: U(() => [
|
|
9319
|
-
|
|
9324
|
+
Q(
|
|
9320
9325
|
"div",
|
|
9321
9326
|
null,
|
|
9322
|
-
rA(D(
|
|
9327
|
+
rA(D(g)("视频监控")),
|
|
9323
9328
|
1
|
|
9324
9329
|
/* TEXT */
|
|
9325
9330
|
),
|
|
9326
|
-
|
|
9327
|
-
content: D(
|
|
9331
|
+
k(D(WA), {
|
|
9332
|
+
content: D(g)("页面全屏")
|
|
9328
9333
|
}, {
|
|
9329
9334
|
default: U(() => [
|
|
9330
|
-
|
|
9335
|
+
k(D(N9), {
|
|
9331
9336
|
class: "icon",
|
|
9332
9337
|
icon: "fullscreen2",
|
|
9333
9338
|
iconColor: "#999",
|
|
@@ -11216,32 +11221,32 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11216
11221
|
j && (V = V.slice(0, V.indexOf(l)));
|
|
11217
11222
|
const O = "_zdkbInfo", R = V.endsWith(O);
|
|
11218
11223
|
if (R && (V = V.slice(0, V.indexOf(O))), V.includes(":")) {
|
|
11219
|
-
const Z = V.split(":"), [T = "",
|
|
11224
|
+
const Z = V.split(":"), [T = "", M = ""] = Z;
|
|
11220
11225
|
if (!T) return;
|
|
11221
|
-
const
|
|
11222
|
-
if (
|
|
11226
|
+
const J = H.find((_) => _.code === T);
|
|
11227
|
+
if (J) {
|
|
11223
11228
|
if (R || j) {
|
|
11224
|
-
const _ = await B3(
|
|
11229
|
+
const _ = await B3(J.code, M);
|
|
11225
11230
|
if (_) {
|
|
11226
11231
|
const G = JSON.stringify({ showEchartTooltip: j });
|
|
11227
|
-
(q = e.query) != null && q.app && e.query.app ===
|
|
11228
|
-
NA.sendMessageToMicroApp(_.applicationPath, `${
|
|
11232
|
+
(q = e.query) != null && q.app && e.query.app === J.code && ((p = e.query) != null && p.menu) && e.query.menu === M ? NA.sendMessageToMicroApp(_.applicationPath, `${M}:todetail`, G) : (await A({ microApp: J, menuCode: M }), setTimeout(() => {
|
|
11233
|
+
NA.sendMessageToMicroApp(_.applicationPath, `${M}:todetail`, G, {
|
|
11229
11234
|
awaitListener: !0
|
|
11230
11235
|
});
|
|
11231
11236
|
}, 300));
|
|
11232
11237
|
return;
|
|
11233
11238
|
}
|
|
11234
11239
|
}
|
|
11235
|
-
A({ microApp:
|
|
11240
|
+
A({ microApp: J, menuCode: M });
|
|
11236
11241
|
}
|
|
11237
11242
|
} else {
|
|
11238
|
-
const Z = V, T = H.find((
|
|
11243
|
+
const Z = V, T = H.find((M) => M.code === Z);
|
|
11239
11244
|
if (T)
|
|
11240
11245
|
A({ microApp: T });
|
|
11241
11246
|
else {
|
|
11242
|
-
const [
|
|
11243
|
-
if (
|
|
11244
|
-
const _ = H.find((G) => G.code ===
|
|
11247
|
+
const [M, J] = await V8().run({ menuCode: Z });
|
|
11248
|
+
if (M) return;
|
|
11249
|
+
const _ = H.find((G) => G.code === J);
|
|
11245
11250
|
if (_) {
|
|
11246
11251
|
if (R || j) {
|
|
11247
11252
|
const G = await B3(_.code, Z);
|
|
@@ -11376,106 +11381,106 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11376
11381
|
{ id: 3, name: AA("不限").value }
|
|
11377
11382
|
]), i = o([]), b = o(""), H = o(AA("告警对象位置").value), a = o(""), q = o([]), p = o("");
|
|
11378
11383
|
o("[]");
|
|
11379
|
-
const m = o(!0), N = o(!0), V = async (
|
|
11384
|
+
const m = o(!0), N = o(!0), V = async (F) => {
|
|
11380
11385
|
const I = { name: "1" };
|
|
11381
|
-
|
|
11382
|
-
const [
|
|
11383
|
-
return
|
|
11384
|
-
}, l = async (
|
|
11385
|
-
const I = { name:
|
|
11386
|
-
return
|
|
11386
|
+
F != null && F.id && (I.spaceId = F.id);
|
|
11387
|
+
const [B, LA] = await w8(I).run();
|
|
11388
|
+
return B ? {} : LA;
|
|
11389
|
+
}, l = async (F) => {
|
|
11390
|
+
const I = { name: F || "" }, [B, LA] = await E8(I).run();
|
|
11391
|
+
return B ? {} : LA;
|
|
11387
11392
|
}, j = o(!0), O = o(!0), R = o([]), Z = async () => {
|
|
11388
|
-
const [
|
|
11389
|
-
if (
|
|
11390
|
-
R.value = I.data.filter((
|
|
11393
|
+
const [F, I] = await W8().run({ pageIndex: -1, pageSize: -1 });
|
|
11394
|
+
if (F) return {};
|
|
11395
|
+
R.value = I.data.filter((B) => B.status), R.value.length > 0 && (n.value.workOrderRules = R.value[0].id);
|
|
11391
11396
|
};
|
|
11392
|
-
OA(d, (
|
|
11393
|
-
|
|
11397
|
+
OA(d, (F) => {
|
|
11398
|
+
F || (Y(), h());
|
|
11394
11399
|
}), OA(
|
|
11395
11400
|
N,
|
|
11396
|
-
(
|
|
11397
|
-
|
|
11401
|
+
(F) => {
|
|
11402
|
+
F ? (m.value = !0, n.value.customPath = AA("选填").value) : (m.value = !1, n.value.customPath = "");
|
|
11398
11403
|
},
|
|
11399
11404
|
{ immediate: !0 }
|
|
11400
11405
|
), OA(
|
|
11401
11406
|
O,
|
|
11402
|
-
(
|
|
11403
|
-
|
|
11407
|
+
(F) => {
|
|
11408
|
+
F ? (n.value.reportTheme = AA("告警对象").value, j.value = !0) : (a.value = AA("请输入").value, n.value.reportTheme = "", j.value = !1);
|
|
11404
11409
|
},
|
|
11405
11410
|
{ immediate: !0 }
|
|
11406
11411
|
);
|
|
11407
|
-
const T = (
|
|
11412
|
+
const T = (F) => {
|
|
11408
11413
|
var I;
|
|
11409
11414
|
return (I = t.value) == null ? void 0 : I.parentNode.parentNode;
|
|
11410
|
-
},
|
|
11415
|
+
}, M = (F) => {
|
|
11411
11416
|
u.value.reportTheme = "";
|
|
11412
|
-
},
|
|
11413
|
-
I.length > 0 && (b.value = I[0].path), n.value.reportPosition =
|
|
11414
|
-
}, _ = (
|
|
11415
|
-
|
|
11416
|
-
}, G = (
|
|
11417
|
-
|
|
11417
|
+
}, J = (F, I) => {
|
|
11418
|
+
I.length > 0 && (b.value = I[0].path), n.value.reportPosition = F, p.value = "";
|
|
11419
|
+
}, _ = (F) => {
|
|
11420
|
+
F && (u.value.reportPosition = "", b.value = ""), F ? (n.value.reportPosition = null, b.value = "", H.value = AA("告警对象位置").value) : (n.value.reportPosition = null, b.value = "", H.value = AA("请选择").value);
|
|
11421
|
+
}, G = (F) => {
|
|
11422
|
+
F && (u.value.reportTheme = ""), F ? (n.value.reportTheme = "", a.value = AA("告警对象").value) : (n.value.reportTheme = "", a.value = AA("请输入").value);
|
|
11418
11423
|
}, Y = () => {
|
|
11419
11424
|
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 = "";
|
|
11420
|
-
},
|
|
11425
|
+
}, h = () => {
|
|
11421
11426
|
n.value.processTypeId = "confirm", n.value.reason = "", n.value.treatmentPlan = "", n.value.remarks = "", n.value.reportPosition = "", n.value.reportTheme = "", n.value.workOrderRules = null, N.value = !0, O.value = !0, j.value = !0, n.value.reportTheme = AA("告警对象").value, b.value = "", H.value = AA("告警对象位置").value, a.value = AA("请输入").value, n.value.eventTypeId = "", n.value.eventLevelId = null, n.value.timeLimit = "", n.value.interval = 1, X.value = [], s.value = [];
|
|
11422
|
-
}, C = (
|
|
11423
|
-
|
|
11427
|
+
}, C = (F) => {
|
|
11428
|
+
F == "eventTypeId" && (n.value.eventLevelId = null, W()), F == "eventLevelId" && E(), F == "interval" && (u.value.timeLimit = "", n.value.interval == 3 ? (x.value = !0, n.value.timeLimit = "") : x.value = !1);
|
|
11424
11429
|
}, L = async () => {
|
|
11425
|
-
const [
|
|
11426
|
-
if (
|
|
11430
|
+
const [F, I] = await I8().run();
|
|
11431
|
+
if (F) return {};
|
|
11427
11432
|
X.value = I, n.value.eventTypeId || (n.value.eventTypeId = I[0] ? I[0].id : null), W();
|
|
11428
11433
|
}, W = async () => {
|
|
11429
|
-
const
|
|
11434
|
+
const F = {
|
|
11430
11435
|
eventTypeId: n.value.eventTypeId
|
|
11431
|
-
}, [I,
|
|
11436
|
+
}, [I, B] = await M8(F).run();
|
|
11432
11437
|
if (I) return {};
|
|
11433
11438
|
const LA = { 1: AA("一级").value, 2: AA("二级").value, 3: AA("三级").value, 4: AA("四级").value };
|
|
11434
|
-
s.value =
|
|
11439
|
+
s.value = B.map((CA) => ({
|
|
11435
11440
|
id: `${CA}`,
|
|
11436
11441
|
name: LA[CA] ? LA[CA] : CA
|
|
11437
|
-
})),
|
|
11442
|
+
})), B.length && !n.value.eventLevelId && (n.value.eventLevelId = s.value[0].id, E());
|
|
11438
11443
|
}, E = async () => {
|
|
11439
|
-
const
|
|
11444
|
+
const F = {
|
|
11440
11445
|
eventTypeId: n.value.eventTypeId,
|
|
11441
11446
|
eventLevel: n.value.eventLevelId
|
|
11442
|
-
}, [I,
|
|
11447
|
+
}, [I, B] = await g8(F).run();
|
|
11443
11448
|
if (I) return {};
|
|
11444
|
-
n.value.interval =
|
|
11445
|
-
}, w = (
|
|
11446
|
-
Y(),
|
|
11449
|
+
n.value.interval = B.handleTimeUnit, B.handleTimeUnit == 3 ? n.value.timeLimit = "" : n.value.timeLimit = B.handleTime;
|
|
11450
|
+
}, w = (F) => {
|
|
11451
|
+
Y(), F == "createcontingency" && L();
|
|
11447
11452
|
}, zA = async () => {
|
|
11448
|
-
const
|
|
11453
|
+
const F = {
|
|
11449
11454
|
logic: !1,
|
|
11450
11455
|
isTime: !1,
|
|
11451
11456
|
projectId: v.projectId
|
|
11452
11457
|
};
|
|
11453
11458
|
P.value = !0;
|
|
11454
|
-
const [I,
|
|
11459
|
+
const [I, B] = await o8(F).run();
|
|
11455
11460
|
if (I) {
|
|
11456
11461
|
P.value = !1;
|
|
11457
11462
|
return;
|
|
11458
11463
|
}
|
|
11459
|
-
P.value = !1, i.value =
|
|
11464
|
+
P.value = !1, i.value = B;
|
|
11460
11465
|
for (let LA = 0; LA < i.value.length; LA++)
|
|
11461
11466
|
i.value[LA].id === "createorder" && Z();
|
|
11462
11467
|
}, dA = () => {
|
|
11463
|
-
let
|
|
11468
|
+
let F = !0;
|
|
11464
11469
|
if (n.value.processTypeId == "dealwith")
|
|
11465
|
-
n.value.reason.trim() || (
|
|
11470
|
+
n.value.reason.trim() || (F = !1, u.value.reason = AA("必填,最多50个字符/汉字").value), n.value.treatmentPlan.trim() || (F = !1, u.value.treatmentPlan = AA("必填,最多50个字符/汉字").value);
|
|
11466
11471
|
else if (n.value.processTypeId == "createorder")
|
|
11467
|
-
N.value ? u.value.reportPosition = "" : !n.value.reportPosition && !n.value.customPath ? (
|
|
11472
|
+
N.value ? u.value.reportPosition = "" : !n.value.reportPosition && !n.value.customPath ? (F = !1, u.value.reportPosition = AA("必填").value) : u.value.reportPosition = "", O.value || n.value.reportTheme ? u.value.reportTheme = "" : (F = !1, u.value.reportTheme = AA("必填,最多20个汉字/字符").value), n.value.workOrderRules ? u.value.workOrderRules = "" : (F = !1, u.value.workOrderRules = AA("必填").value);
|
|
11468
11473
|
else if (n.value.processTypeId == "createcontingency") {
|
|
11469
11474
|
const I = /^[1-9][0-9]{0,2}$/;
|
|
11470
|
-
n.value.eventTypeId || (
|
|
11475
|
+
n.value.eventTypeId || (F = !1, u.value.eventTypeId = AA("必选").value), n.value.eventLevelId || (F = !1, u.value.eventLevelId = AA("必选").value), n.value.interval != 3 && !I.test(n.value.timeLimit) && (F = !1, u.value.timeLimit = AA("必填,请输入1~999之间的正整数").value);
|
|
11471
11476
|
}
|
|
11472
|
-
return
|
|
11477
|
+
return F;
|
|
11473
11478
|
}, lA = () => {
|
|
11474
11479
|
d9();
|
|
11475
|
-
}, K = async (
|
|
11476
|
-
dA() && (z.value =
|
|
11480
|
+
}, K = async (F) => {
|
|
11481
|
+
dA() && (z.value = F, $());
|
|
11477
11482
|
}, $ = async () => {
|
|
11478
|
-
const
|
|
11483
|
+
const F = {
|
|
11479
11484
|
projectId: v.projectId,
|
|
11480
11485
|
processStatus: z.value,
|
|
11481
11486
|
//处理状态 1=结束处理 2=继续处理
|
|
@@ -11484,8 +11489,8 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11484
11489
|
processTypeId: n.value.processTypeId
|
|
11485
11490
|
//处理类型id
|
|
11486
11491
|
};
|
|
11487
|
-
n.value.processTypeId === "createorder" ? (
|
|
11488
|
-
const [I,
|
|
11492
|
+
n.value.processTypeId === "createorder" ? (F.path = N.value ? "" : n.value.customPath, F.topic = O.value ? "" : n.value.reportTheme, F.spaceId = N.value ? "" : n.value.reportPosition ?? "", F.orderId = n.value.workOrderRules) : n.value.processTypeId === "createcontingency" ? (F.eventTypeId = n.value.eventTypeId, F.eventLevelId = n.value.eventLevelId, F.timeLimit = n.value.interval == 3 ? null : Number(n.value.timeLimit), F.interval = n.value.interval) : (F.reason = n.value.reason, F.treatmentPlan = n.value.treatmentPlan, F.remarks = n.value.remarks), P.value = !0, r("emitFn", "startHandle");
|
|
11493
|
+
const [I, B] = await L8(F, {
|
|
11489
11494
|
params: {
|
|
11490
11495
|
projectId: v.projectId
|
|
11491
11496
|
}
|
|
@@ -11503,10 +11508,10 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11503
11508
|
return A({
|
|
11504
11509
|
open: eA,
|
|
11505
11510
|
close: d9
|
|
11506
|
-
}), (
|
|
11507
|
-
|
|
11511
|
+
}), (F, I) => (fA(), mA("div", B8, [
|
|
11512
|
+
k(D(j9), {
|
|
11508
11513
|
modelValue: d.value,
|
|
11509
|
-
"onUpdate:modelValue": I[31] || (I[31] = (
|
|
11514
|
+
"onUpdate:modelValue": I[31] || (I[31] = (B) => d.value = B),
|
|
11510
11515
|
type: "basic",
|
|
11511
11516
|
size: "small",
|
|
11512
11517
|
height: 500,
|
|
@@ -11524,8 +11529,8 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11524
11529
|
)
|
|
11525
11530
|
]),
|
|
11526
11531
|
footer: U(() => [
|
|
11527
|
-
|
|
11528
|
-
|
|
11532
|
+
Q("div", U8, [
|
|
11533
|
+
k(D(kA), {
|
|
11529
11534
|
size: "middle",
|
|
11530
11535
|
onClick: lA
|
|
11531
11536
|
}, {
|
|
@@ -11539,10 +11544,10 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11539
11544
|
_: 1
|
|
11540
11545
|
/* STABLE */
|
|
11541
11546
|
}),
|
|
11542
|
-
|
|
11547
|
+
k(D(kA), {
|
|
11543
11548
|
block: "",
|
|
11544
11549
|
size: "middle",
|
|
11545
|
-
onClick: I[29] || (I[29] = (
|
|
11550
|
+
onClick: I[29] || (I[29] = (B) => K(1))
|
|
11546
11551
|
}, {
|
|
11547
11552
|
default: U(() => [
|
|
11548
11553
|
aA(
|
|
@@ -11554,11 +11559,11 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11554
11559
|
_: 1
|
|
11555
11560
|
/* STABLE */
|
|
11556
11561
|
}),
|
|
11557
|
-
|
|
11562
|
+
k(D(kA), {
|
|
11558
11563
|
block: "",
|
|
11559
11564
|
btnType: "primary",
|
|
11560
11565
|
size: "middle",
|
|
11561
|
-
onClick: I[30] || (I[30] = (
|
|
11566
|
+
onClick: I[30] || (I[30] = (B) => K(2))
|
|
11562
11567
|
}, {
|
|
11563
11568
|
default: U(() => [
|
|
11564
11569
|
aA(
|
|
@@ -11573,9 +11578,9 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11573
11578
|
])
|
|
11574
11579
|
]),
|
|
11575
11580
|
default: U(() => [
|
|
11576
|
-
|
|
11581
|
+
k(D(mf), { spinning: P.value }, {
|
|
11577
11582
|
default: U(() => [
|
|
11578
|
-
|
|
11583
|
+
Q(
|
|
11579
11584
|
"div",
|
|
11580
11585
|
{
|
|
11581
11586
|
ref_key: "myDialogBody",
|
|
@@ -11583,18 +11588,18 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11583
11588
|
class: "handle-alarm-dialog-content"
|
|
11584
11589
|
},
|
|
11585
11590
|
[
|
|
11586
|
-
|
|
11591
|
+
k(D(Me), {
|
|
11587
11592
|
style: { width: "100%", height: "100%", "align-items": "center" },
|
|
11588
11593
|
cols: 1,
|
|
11589
11594
|
alignType: "horizontal"
|
|
11590
11595
|
}, {
|
|
11591
11596
|
default: U(() => [
|
|
11592
|
-
|
|
11597
|
+
k(D(yA), {
|
|
11593
11598
|
label: D(AA)("处理类型").value,
|
|
11594
11599
|
required: "",
|
|
11595
11600
|
type: "select",
|
|
11596
11601
|
modelValue: n.value.processTypeId,
|
|
11597
|
-
"onUpdate:modelValue": I[0] || (I[0] = (
|
|
11602
|
+
"onUpdate:modelValue": I[0] || (I[0] = (B) => n.value.processTypeId = B),
|
|
11598
11603
|
options: i.value,
|
|
11599
11604
|
col: 1,
|
|
11600
11605
|
optionsLabelKey: "name",
|
|
@@ -11611,11 +11616,11 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11611
11616
|
type: "input",
|
|
11612
11617
|
maxlength: "50",
|
|
11613
11618
|
col: 1,
|
|
11614
|
-
onFocus: I[1] || (I[1] = (
|
|
11619
|
+
onFocus: I[1] || (I[1] = (B) => u.value.reason = ""),
|
|
11615
11620
|
modelValue: n.value.reason,
|
|
11616
|
-
"onUpdate:modelValue": I[2] || (I[2] = (
|
|
11621
|
+
"onUpdate:modelValue": I[2] || (I[2] = (B) => n.value.reason = B),
|
|
11617
11622
|
error: u.value.reason,
|
|
11618
|
-
"onUpdate:error": I[3] || (I[3] = (
|
|
11623
|
+
"onUpdate:error": I[3] || (I[3] = (B) => u.value.reason = B),
|
|
11619
11624
|
marginBottom: "30px",
|
|
11620
11625
|
marginRight: "0"
|
|
11621
11626
|
}, null, 8, ["label", "required", "modelValue", "error"])) : nA("v-if", !0),
|
|
@@ -11626,11 +11631,11 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11626
11631
|
type: "input",
|
|
11627
11632
|
maxlength: "50",
|
|
11628
11633
|
col: 1,
|
|
11629
|
-
onFocus: I[4] || (I[4] = (
|
|
11634
|
+
onFocus: I[4] || (I[4] = (B) => u.value.treatmentPlan = ""),
|
|
11630
11635
|
modelValue: n.value.treatmentPlan,
|
|
11631
|
-
"onUpdate:modelValue": I[5] || (I[5] = (
|
|
11636
|
+
"onUpdate:modelValue": I[5] || (I[5] = (B) => n.value.treatmentPlan = B),
|
|
11632
11637
|
error: u.value.treatmentPlan,
|
|
11633
|
-
"onUpdate:error": I[6] || (I[6] = (
|
|
11638
|
+
"onUpdate:error": I[6] || (I[6] = (B) => u.value.treatmentPlan = B),
|
|
11634
11639
|
marginBottom: "30px",
|
|
11635
11640
|
marginRight: "0"
|
|
11636
11641
|
}, null, 8, ["label", "required", "modelValue", "error"])) : nA("v-if", !0),
|
|
@@ -11643,7 +11648,7 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11643
11648
|
maxlength: "100",
|
|
11644
11649
|
col: 1,
|
|
11645
11650
|
modelValue: n.value.remarks,
|
|
11646
|
-
"onUpdate:modelValue": I[7] || (I[7] = (
|
|
11651
|
+
"onUpdate:modelValue": I[7] || (I[7] = (B) => n.value.remarks = B),
|
|
11647
11652
|
marginBottom: "30px",
|
|
11648
11653
|
marginRight: "0"
|
|
11649
11654
|
}, null, 8, ["label", "modelValue"])) : nA("v-if", !0),
|
|
@@ -11653,44 +11658,44 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11653
11658
|
required: "",
|
|
11654
11659
|
type: "custom",
|
|
11655
11660
|
error: u.value.reportPosition,
|
|
11656
|
-
"onUpdate:error": I[13] || (I[13] = (
|
|
11661
|
+
"onUpdate:error": I[13] || (I[13] = (B) => u.value.reportPosition = B),
|
|
11657
11662
|
marginBottom: "20px",
|
|
11658
11663
|
marginRight: "0"
|
|
11659
11664
|
}, {
|
|
11660
11665
|
default: U(() => [
|
|
11661
|
-
|
|
11662
|
-
|
|
11663
|
-
|
|
11666
|
+
Q("div", k8, [
|
|
11667
|
+
Q("div", Q8, [
|
|
11668
|
+
k(D(br), {
|
|
11664
11669
|
borderType: "underline",
|
|
11665
11670
|
props: { disabled: "_disabled", label: "name" },
|
|
11666
11671
|
modelValue: n.value.reportPosition,
|
|
11667
|
-
"onUpdate:modelValue": I[8] || (I[8] = (
|
|
11672
|
+
"onUpdate:modelValue": I[8] || (I[8] = (B) => n.value.reportPosition = B),
|
|
11668
11673
|
path: b.value,
|
|
11669
|
-
"onUpdate:path": I[9] || (I[9] = (
|
|
11674
|
+
"onUpdate:path": I[9] || (I[9] = (B) => b.value = B),
|
|
11670
11675
|
keyword: p.value,
|
|
11671
|
-
"onUpdate:keyword": I[10] || (I[10] = (
|
|
11676
|
+
"onUpdate:keyword": I[10] || (I[10] = (B) => p.value = B),
|
|
11672
11677
|
showFullPath: !0,
|
|
11673
11678
|
data: q.value,
|
|
11674
11679
|
placeholder: H.value,
|
|
11675
11680
|
disabled: m.value,
|
|
11676
11681
|
load: V,
|
|
11677
11682
|
search: l,
|
|
11678
|
-
onChange:
|
|
11683
|
+
onChange: J,
|
|
11679
11684
|
filter: !0,
|
|
11680
11685
|
allowClear: !0
|
|
11681
11686
|
}, null, 8, ["modelValue", "path", "keyword", "data", "placeholder", "disabled"]),
|
|
11682
|
-
|
|
11687
|
+
k(D(Ve), {
|
|
11683
11688
|
ref: "testInput",
|
|
11684
11689
|
modelValue: n.value.customPath,
|
|
11685
|
-
"onUpdate:modelValue": I[11] || (I[11] = (
|
|
11690
|
+
"onUpdate:modelValue": I[11] || (I[11] = (B) => n.value.customPath = B),
|
|
11686
11691
|
placeholder: D(AA)("选填").value,
|
|
11687
11692
|
disabled: m.value,
|
|
11688
11693
|
maxlength: "20"
|
|
11689
11694
|
}, null, 8, ["modelValue", "placeholder", "disabled"])
|
|
11690
11695
|
]),
|
|
11691
|
-
|
|
11696
|
+
k(D(q7), {
|
|
11692
11697
|
modelValue: N.value,
|
|
11693
|
-
"onUpdate:modelValue": I[12] || (I[12] = (
|
|
11698
|
+
"onUpdate:modelValue": I[12] || (I[12] = (B) => N.value = B),
|
|
11694
11699
|
checkboxType: "default",
|
|
11695
11700
|
onChange: _,
|
|
11696
11701
|
size: "middle"
|
|
@@ -11716,23 +11721,23 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11716
11721
|
required: "",
|
|
11717
11722
|
type: "custom",
|
|
11718
11723
|
error: u.value.reportTheme,
|
|
11719
|
-
"onUpdate:error": I[16] || (I[16] = (
|
|
11724
|
+
"onUpdate:error": I[16] || (I[16] = (B) => u.value.reportTheme = B),
|
|
11720
11725
|
marginBottom: "20px",
|
|
11721
11726
|
marginRight: "0"
|
|
11722
11727
|
}, {
|
|
11723
11728
|
default: U(() => [
|
|
11724
|
-
|
|
11725
|
-
|
|
11729
|
+
Q("div", Y8, [
|
|
11730
|
+
k(D(Ve), {
|
|
11726
11731
|
maxlength: "20",
|
|
11727
11732
|
disabled: j.value,
|
|
11728
11733
|
modelValue: n.value.reportTheme,
|
|
11729
|
-
"onUpdate:modelValue": I[14] || (I[14] = (
|
|
11734
|
+
"onUpdate:modelValue": I[14] || (I[14] = (B) => n.value.reportTheme = B),
|
|
11730
11735
|
placeholder: a.value,
|
|
11731
|
-
onChange:
|
|
11736
|
+
onChange: M
|
|
11732
11737
|
}, null, 8, ["disabled", "modelValue", "placeholder"]),
|
|
11733
|
-
|
|
11738
|
+
k(D(q7), {
|
|
11734
11739
|
modelValue: O.value,
|
|
11735
|
-
"onUpdate:modelValue": I[15] || (I[15] = (
|
|
11740
|
+
"onUpdate:modelValue": I[15] || (I[15] = (B) => O.value = B),
|
|
11736
11741
|
checkboxType: "default",
|
|
11737
11742
|
onChange: G,
|
|
11738
11743
|
size: "middle"
|
|
@@ -11758,9 +11763,9 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11758
11763
|
required: "",
|
|
11759
11764
|
type: "select",
|
|
11760
11765
|
modelValue: n.value.workOrderRules,
|
|
11761
|
-
"onUpdate:modelValue": I[17] || (I[17] = (
|
|
11766
|
+
"onUpdate:modelValue": I[17] || (I[17] = (B) => n.value.workOrderRules = B),
|
|
11762
11767
|
error: u.value.workOrderRules,
|
|
11763
|
-
"onUpdate:error": I[18] || (I[18] = (
|
|
11768
|
+
"onUpdate:error": I[18] || (I[18] = (B) => u.value.workOrderRules = B),
|
|
11764
11769
|
options: R.value,
|
|
11765
11770
|
col: 1,
|
|
11766
11771
|
optionsLabelKey: "name",
|
|
@@ -11776,9 +11781,9 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11776
11781
|
required: "",
|
|
11777
11782
|
type: "select",
|
|
11778
11783
|
modelValue: n.value.eventTypeId,
|
|
11779
|
-
"onUpdate:modelValue": I[19] || (I[19] = (
|
|
11784
|
+
"onUpdate:modelValue": I[19] || (I[19] = (B) => n.value.eventTypeId = B),
|
|
11780
11785
|
error: u.value.eventTypeId,
|
|
11781
|
-
"onUpdate:error": I[20] || (I[20] = (
|
|
11786
|
+
"onUpdate:error": I[20] || (I[20] = (B) => u.value.eventTypeId = B),
|
|
11782
11787
|
options: X.value,
|
|
11783
11788
|
col: 1,
|
|
11784
11789
|
optionsLabelKey: "typeName",
|
|
@@ -11786,7 +11791,7 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11786
11791
|
"get-popup-container": T,
|
|
11787
11792
|
marginBottom: "30px",
|
|
11788
11793
|
marginRight: "0",
|
|
11789
|
-
onChange: I[21] || (I[21] = (
|
|
11794
|
+
onChange: I[21] || (I[21] = (B) => C("eventTypeId"))
|
|
11790
11795
|
}, null, 8, ["label", "modelValue", "error", "options"])) : nA("v-if", !0),
|
|
11791
11796
|
n.value.processTypeId == "createcontingency" ? (fA(), XA(D(yA), {
|
|
11792
11797
|
key: 7,
|
|
@@ -11794,9 +11799,9 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11794
11799
|
required: "",
|
|
11795
11800
|
type: "select",
|
|
11796
11801
|
modelValue: n.value.eventLevelId,
|
|
11797
|
-
"onUpdate:modelValue": I[22] || (I[22] = (
|
|
11802
|
+
"onUpdate:modelValue": I[22] || (I[22] = (B) => n.value.eventLevelId = B),
|
|
11798
11803
|
error: u.value.eventLevelId,
|
|
11799
|
-
"onUpdate:error": I[23] || (I[23] = (
|
|
11804
|
+
"onUpdate:error": I[23] || (I[23] = (B) => u.value.eventLevelId = B),
|
|
11800
11805
|
options: s.value,
|
|
11801
11806
|
col: 1,
|
|
11802
11807
|
optionsLabelKey: "name",
|
|
@@ -11804,7 +11809,7 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11804
11809
|
"get-popup-container": T,
|
|
11805
11810
|
marginBottom: "30px",
|
|
11806
11811
|
marginRight: "0",
|
|
11807
|
-
onChange: I[24] || (I[24] = (
|
|
11812
|
+
onChange: I[24] || (I[24] = (B) => C("eventLevelId"))
|
|
11808
11813
|
}, null, 8, ["label", "modelValue", "error", "options"])) : nA("v-if", !0),
|
|
11809
11814
|
n.value.processTypeId == "createcontingency" ? (fA(), XA(D(yA), {
|
|
11810
11815
|
key: 8,
|
|
@@ -11814,19 +11819,19 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11814
11819
|
maxlength: "3",
|
|
11815
11820
|
col: 1,
|
|
11816
11821
|
modelValue: n.value.timeLimit,
|
|
11817
|
-
"onUpdate:modelValue": I[27] || (I[27] = (
|
|
11822
|
+
"onUpdate:modelValue": I[27] || (I[27] = (B) => n.value.timeLimit = B),
|
|
11818
11823
|
error: u.value.timeLimit,
|
|
11819
|
-
"onUpdate:error": I[28] || (I[28] = (
|
|
11824
|
+
"onUpdate:error": I[28] || (I[28] = (B) => u.value.timeLimit = B),
|
|
11820
11825
|
disabled: n.value.interval == 3,
|
|
11821
11826
|
marginBottom: "30px",
|
|
11822
11827
|
marginRight: "0"
|
|
11823
11828
|
}, {
|
|
11824
11829
|
default: U(() => [
|
|
11825
|
-
|
|
11826
|
-
|
|
11830
|
+
Q("div", G8, [
|
|
11831
|
+
k(D($3), {
|
|
11827
11832
|
class: "select",
|
|
11828
11833
|
modelValue: n.value.interval,
|
|
11829
|
-
"onUpdate:modelValue": I[25] || (I[25] = (
|
|
11834
|
+
"onUpdate:modelValue": I[25] || (I[25] = (B) => n.value.interval = B),
|
|
11830
11835
|
width: D(C9) == "zh-CN" ? "65px" : "85px",
|
|
11831
11836
|
fieldNames: {
|
|
11832
11837
|
value: "id",
|
|
@@ -11836,7 +11841,7 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11836
11841
|
"border-type": "underline",
|
|
11837
11842
|
size: "small",
|
|
11838
11843
|
"get-popup-container": T,
|
|
11839
|
-
onChange: I[26] || (I[26] = (
|
|
11844
|
+
onChange: I[26] || (I[26] = (B) => C("interval")),
|
|
11840
11845
|
placeholder: D(AA)("请选择").value
|
|
11841
11846
|
}, null, 8, ["modelValue", "width", "options", "placeholder"])
|
|
11842
11847
|
])
|
|
@@ -11890,20 +11895,20 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11890
11895
|
null,
|
|
11891
11896
|
[
|
|
11892
11897
|
nA(` <div class="alarm-msg" :style="{ 'border-color': msgItem.color }"> `),
|
|
11893
|
-
|
|
11894
|
-
|
|
11895
|
-
|
|
11898
|
+
Q("div", K8, [
|
|
11899
|
+
Q("div", C8, [
|
|
11900
|
+
Q(
|
|
11896
11901
|
"div",
|
|
11897
11902
|
{
|
|
11898
11903
|
style: c7({ "background-color": t.msgItem.color }),
|
|
11899
11904
|
class: "title-detail"
|
|
11900
11905
|
},
|
|
11901
11906
|
[
|
|
11902
|
-
|
|
11907
|
+
Q("div", _8, [
|
|
11903
11908
|
nA(` <div class="icon-box" :style="{ color: msgItem.color }">\r
|
|
11904
11909
|
!\r
|
|
11905
11910
|
</div> `),
|
|
11906
|
-
|
|
11911
|
+
Q(
|
|
11907
11912
|
"div",
|
|
11908
11913
|
$8,
|
|
11909
11914
|
rA(D(AA)("新告警").value),
|
|
@@ -11911,7 +11916,7 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11911
11916
|
/* TEXT */
|
|
11912
11917
|
)
|
|
11913
11918
|
]),
|
|
11914
|
-
z[0] || (z[0] =
|
|
11919
|
+
z[0] || (z[0] = Q(
|
|
11915
11920
|
"div",
|
|
11916
11921
|
{ class: "title-right" },
|
|
11917
11922
|
null,
|
|
@@ -11922,16 +11927,16 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11922
11927
|
4
|
|
11923
11928
|
/* STYLE */
|
|
11924
11929
|
),
|
|
11925
|
-
|
|
11926
|
-
|
|
11927
|
-
|
|
11930
|
+
Q("div", AX, [
|
|
11931
|
+
Q("div", fX, [
|
|
11932
|
+
Q(
|
|
11928
11933
|
"div",
|
|
11929
11934
|
eX,
|
|
11930
11935
|
rA(D(AA)("告警等级:").value),
|
|
11931
11936
|
1
|
|
11932
11937
|
/* TEXT */
|
|
11933
11938
|
),
|
|
11934
|
-
|
|
11939
|
+
Q(
|
|
11935
11940
|
"div",
|
|
11936
11941
|
{
|
|
11937
11942
|
class: "alarm-msg-line-right alarm-content-object",
|
|
@@ -11942,15 +11947,15 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11942
11947
|
/* TEXT, STYLE */
|
|
11943
11948
|
)
|
|
11944
11949
|
]),
|
|
11945
|
-
|
|
11946
|
-
|
|
11950
|
+
Q("div", vX, [
|
|
11951
|
+
Q(
|
|
11947
11952
|
"div",
|
|
11948
11953
|
nX,
|
|
11949
11954
|
rA(D(AA)("告警对象:").value),
|
|
11950
11955
|
1
|
|
11951
11956
|
/* TEXT */
|
|
11952
11957
|
),
|
|
11953
|
-
|
|
11958
|
+
Q(
|
|
11954
11959
|
"div",
|
|
11955
11960
|
rX,
|
|
11956
11961
|
rA(t.msgItem.equipmentName || ""),
|
|
@@ -11958,15 +11963,15 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11958
11963
|
/* TEXT */
|
|
11959
11964
|
)
|
|
11960
11965
|
]),
|
|
11961
|
-
|
|
11962
|
-
|
|
11966
|
+
Q("div", PX, [
|
|
11967
|
+
Q(
|
|
11963
11968
|
"div",
|
|
11964
11969
|
tX,
|
|
11965
11970
|
rA(D(AA)("告警内容:").value),
|
|
11966
11971
|
1
|
|
11967
11972
|
/* TEXT */
|
|
11968
11973
|
),
|
|
11969
|
-
|
|
11974
|
+
Q(
|
|
11970
11975
|
"div",
|
|
11971
11976
|
uX,
|
|
11972
11977
|
rA(t.msgItem.alarmContent || ""),
|
|
@@ -11974,7 +11979,7 @@ const D8 = oA(`/api/tool/event-bus/${of}/`), xe = D8.post("/publish"), V8 = xf.g
|
|
|
11974
11979
|
/* TEXT */
|
|
11975
11980
|
)
|
|
11976
11981
|
]),
|
|
11977
|
-
|
|
11982
|
+
Q("div", zX, [
|
|
11978
11983
|
t.msgItem.equipmentCode && t.msgItem.equipmentPanelCode ? (fA(), XA(D(kA), {
|
|
11979
11984
|
key: 0,
|
|
11980
11985
|
block: "",
|
|
@@ -12159,8 +12164,8 @@ const cX = () => {
|
|
|
12159
12164
|
i9,
|
|
12160
12165
|
null,
|
|
12161
12166
|
[
|
|
12162
|
-
|
|
12163
|
-
|
|
12167
|
+
k(D(P)),
|
|
12168
|
+
Q("audio", {
|
|
12164
12169
|
src: D(v).playPath,
|
|
12165
12170
|
class: "audio-alarm-level",
|
|
12166
12171
|
ref_key: "audioAlarmRef",
|
|
@@ -12187,7 +12192,7 @@ const cX = () => {
|
|
|
12187
12192
|
var O;
|
|
12188
12193
|
if (j) {
|
|
12189
12194
|
const Z = !!(((O = uA()) == null ? void 0 : O.menuCollapses) || []).find((T) => T === j);
|
|
12190
|
-
|
|
12195
|
+
S.menu.setCollapse(Z);
|
|
12191
12196
|
}
|
|
12192
12197
|
},
|
|
12193
12198
|
{ immediate: !0 }
|
|
@@ -12200,9 +12205,9 @@ const cX = () => {
|
|
|
12200
12205
|
return e1(), v1(X), n1(), P1(), w1(), R8(), (j, O) => (fA(), mA("div", sX, [
|
|
12201
12206
|
nA(` <button @click="test(0)">test</button>\r
|
|
12202
12207
|
<button style="margin-left: 5px" @click="test(1)">test2</button> `),
|
|
12203
|
-
|
|
12208
|
+
k(D(wr), { platformInitNextTick: D(d) }, {
|
|
12204
12209
|
default: U(() => [
|
|
12205
|
-
|
|
12210
|
+
k(pr, {
|
|
12206
12211
|
loading: D(n),
|
|
12207
12212
|
pageKey: D(u) + D(C9),
|
|
12208
12213
|
showLayout: r.value,
|
|
@@ -12226,7 +12231,7 @@ const cX = () => {
|
|
|
12226
12231
|
/* FORWARDED */
|
|
12227
12232
|
}, 8, ["platformInitNextTick"]),
|
|
12228
12233
|
nA(" 切换租户 "),
|
|
12229
|
-
|
|
12234
|
+
k(D(on), {
|
|
12230
12235
|
visible: D(a),
|
|
12231
12236
|
"onUpdate:visible": O[0] || (O[0] = (R) => FA(a) ? a.value = R : null),
|
|
12232
12237
|
userId: D(q),
|
|
@@ -12234,7 +12239,7 @@ const cX = () => {
|
|
|
12234
12239
|
onConfirm: D(m)
|
|
12235
12240
|
}, null, 8, ["visible", "userId", "tenantId", "onConfirm"]),
|
|
12236
12241
|
nA(" 修改密码 "),
|
|
12237
|
-
|
|
12242
|
+
k(
|
|
12238
12243
|
D(Tn),
|
|
12239
12244
|
{
|
|
12240
12245
|
ref_key: "$changePwd",
|
|
@@ -12245,7 +12250,7 @@ const cX = () => {
|
|
|
12245
12250
|
/* NEED_PATCH */
|
|
12246
12251
|
),
|
|
12247
12252
|
nA(" 个性化设置 "),
|
|
12248
|
-
|
|
12253
|
+
k(
|
|
12249
12254
|
D(T6),
|
|
12250
12255
|
{
|
|
12251
12256
|
ref_key: "$personSetDialog",
|
|
@@ -12256,14 +12261,14 @@ const cX = () => {
|
|
|
12256
12261
|
/* NEED_PATCH */
|
|
12257
12262
|
),
|
|
12258
12263
|
nA(" AI助手 "),
|
|
12259
|
-
|
|
12264
|
+
k(D(Ln), {
|
|
12260
12265
|
platformInitNextTick: D(d),
|
|
12261
12266
|
onToApp: D(H),
|
|
12262
12267
|
ref_key: "$aiPanel",
|
|
12263
12268
|
ref: b
|
|
12264
12269
|
}, null, 8, ["platformInitNextTick", "onToApp"]),
|
|
12265
12270
|
nA(" 告警 "),
|
|
12266
|
-
|
|
12271
|
+
k(D(iX))
|
|
12267
12272
|
]));
|
|
12268
12273
|
}
|
|
12269
12274
|
}), HX = /* @__PURE__ */ gA(qX, [["__scopeId", "data-v-8afab391"]]), pX = {
|
|
@@ -12436,11 +12441,11 @@ o("@das-fed/web");
|
|
|
12436
12441
|
const xX = [
|
|
12437
12442
|
{
|
|
12438
12443
|
path: RA,
|
|
12439
|
-
component: () => import("./index-
|
|
12444
|
+
component: () => import("./index-DNhkfPVq.js")
|
|
12440
12445
|
},
|
|
12441
12446
|
{
|
|
12442
12447
|
path: fv,
|
|
12443
|
-
component: () => import("./index-
|
|
12448
|
+
component: () => import("./index-D4IiPdL0.js")
|
|
12444
12449
|
}
|
|
12445
12450
|
], O2 = {
|
|
12446
12451
|
routes: xX,
|