@das-fed/web 7.1.0-dev.27 → 7.1.0-dev.28
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-DyfbYtHC.js → index-6Zinqnbf.js} +1 -1
- package/{index-CAguXO2p.js → index-DbzDyNY2.js} +1578 -1570
- package/index-DbzDyNY2.js.gz +0 -0
- package/{index-746aojad.js → index-cQ6KKlgp.js} +1 -1
- package/index-cQ6KKlgp.js.gz +0 -0
- package/index.js +1 -1
- package/package.json +6 -6
- package/packages/create-das-web-app/index.js.gz +0 -0
- package/packages/i18n/index.js.gz +0 -0
- package/packages/layout/index.js.gz +0 -0
- package/packages/layout/style.css.gz +0 -0
- package/packages/main-app-framework/{index-CN3J3PoD.js → index-6adu5oAS.js} +1 -1
- package/packages/main-app-framework/{index-CmNCU0N8.js → index-BY9ptpcV.js} +1 -1
- package/packages/main-app-framework/index-BY9ptpcV.js.gz +0 -0
- package/packages/main-app-framework/{index-fAxilszP.js → index-FNlmEX37.js} +439 -431
- package/packages/main-app-framework/index-FNlmEX37.js.gz +0 -0
- package/packages/main-app-framework/index.js +1 -1
- package/packages/main-app-framework/style.css +1 -1
- package/packages/main-app-framework/style.css.gz +0 -0
- package/packages/micro-frontend/index.js.gz +0 -0
- package/packages/style/style.css.gz +0 -0
- package/packages/theme/index.js.gz +0 -0
- package/style.css +1 -1
- package/style.css.gz +0 -0
- package/index-746aojad.js.gz +0 -0
- package/index-CAguXO2p.js.gz +0 -0
- package/packages/main-app-framework/index-CmNCU0N8.js.gz +0 -0
- package/packages/main-app-framework/index-fAxilszP.js.gz +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as d9, ref as
|
|
1
|
+
import { defineComponent as d9, ref as J, onUnmounted as Pd, createElementBlock as hA, createCommentVNode as yA, openBlock as HA, createElementVNode as uA, createVNode as PA, createTextVNode as BA, unref as j, toDisplayString as NA, watch as O9, createBlock as KA, computed as J9, mergeProps as ud, withCtx as bA, renderSlot as ie, getCurrentScope as X0, onScopeDispose as b0, getCurrentInstance as c0, onMounted as jf, nextTick as je, reactive as dd, Fragment as Cf, renderList as Ov, withDirectives as If, h as y9, render as G3, vShow as z3, shallowRef as a0, normalizeClass as zd, isRef as Tf, onBeforeUnmount as _3, useCssVars as i0, withModifiers as m9, toRefs as q0, normalizeStyle as q1, createSlots as s0 } from "vue";
|
|
2
2
|
import { DasWebLayout as p0, DasWebTabs as l0, DasWebMenu as H0, DasWebNav as m0, layout as pA, layoutData as Xd } from "@das-fed/web/packages/layout/index";
|
|
3
3
|
import { useRoute as Vv, useRouter as i3 } from "vue-router";
|
|
4
4
|
import { microFrontend as s9 } from "@das-fed/web/packages/micro-frontend/index";
|
|
5
|
-
import { i18n as
|
|
5
|
+
import { i18n as mA, t as zA, currentLang as $3, setLang as O0, setI18nRule as V0 } from "@das-fed/web/packages/i18n/index";
|
|
6
6
|
import { DasIconWarning as x0 } from "@das-fed/ui/packages/icons/warning/index";
|
|
7
7
|
import { DasIconClose2 as R0 } from "@das-fed/ui/packages/icons/close-2/index";
|
|
8
8
|
import { DasChangePwdRef as N0, DasChangePwd as Z0 } from "@das-fed/ui/packages/business-components/change-pwd/index";
|
|
@@ -88,7 +88,7 @@ const mf = "/home", h9 = "/application", O1 = [
|
|
|
88
88
|
__name: "banner",
|
|
89
89
|
emits: ["close-tip"],
|
|
90
90
|
setup(n, { emit: f }) {
|
|
91
|
-
const e = f, r =
|
|
91
|
+
const e = f, r = J(!0), P = J(""), u = J(0), z = J({}), c = () => {
|
|
92
92
|
e("close-tip", !0), r.value = !0;
|
|
93
93
|
};
|
|
94
94
|
s9.sendMessageToMicroApp("iot/iot", "iot:banner-data-1", null, { awaitListener: !0 });
|
|
@@ -98,19 +98,19 @@ const mf = "/home", h9 = "/application", O1 = [
|
|
|
98
98
|
});
|
|
99
99
|
return Pd(() => {
|
|
100
100
|
a();
|
|
101
|
-
}), (d, b) => r.value ? yA("v-if", !0) : (
|
|
102
|
-
|
|
103
|
-
|
|
101
|
+
}), (d, b) => r.value ? yA("v-if", !0) : (HA(), hA("div", ci, [
|
|
102
|
+
uA("div", ai, [
|
|
103
|
+
PA(j(x0), {
|
|
104
104
|
class: "icons",
|
|
105
105
|
iconColor: "#fdaf1a"
|
|
106
106
|
}),
|
|
107
107
|
BA(
|
|
108
|
-
" " + NA(j(
|
|
108
|
+
" " + NA(j(mA)("iot-banner-tip", z.value.instanceName, u.value, P.value).value),
|
|
109
109
|
1
|
|
110
110
|
/* TEXT */
|
|
111
111
|
)
|
|
112
112
|
]),
|
|
113
|
-
|
|
113
|
+
PA(j(R0), {
|
|
114
114
|
class: "icons close-icon",
|
|
115
115
|
iconColor: "#999999",
|
|
116
116
|
onClick: c
|
|
@@ -125,14 +125,14 @@ const mf = "/home", h9 = "/application", O1 = [
|
|
|
125
125
|
}, qi = /* @__PURE__ */ B9(ii, [["__scopeId", "data-v-2470d845"]]), si = /* @__PURE__ */ d9({
|
|
126
126
|
__name: "index",
|
|
127
127
|
setup(n) {
|
|
128
|
-
const f = Vv(), e =
|
|
128
|
+
const f = Vv(), e = J("");
|
|
129
129
|
return O9(
|
|
130
130
|
() => f.path,
|
|
131
131
|
(r) => {
|
|
132
132
|
e.value = r;
|
|
133
133
|
},
|
|
134
134
|
{ immediate: !0 }
|
|
135
|
-
), (r, P) => e.value.startsWith("/iot/iot") ? (
|
|
135
|
+
), (r, P) => e.value.startsWith("/iot/iot") ? (HA(), KA(qi, { key: 0 })) : yA("v-if", !0);
|
|
136
136
|
}
|
|
137
137
|
}), pi = /* @__PURE__ */ d9({
|
|
138
138
|
__name: "base-layout",
|
|
@@ -162,28 +162,28 @@ const mf = "/home", h9 = "/application", O1 = [
|
|
|
162
162
|
excludeRoutes: f.excludeRoutes,
|
|
163
163
|
routeKeepAliveVisible: f.routeKeepAliveVisible
|
|
164
164
|
}));
|
|
165
|
-
return (P, u) => (
|
|
165
|
+
return (P, u) => (HA(), KA(j(p0), ud({
|
|
166
166
|
pageKey: P.pageKey,
|
|
167
167
|
"transition-config": e.value
|
|
168
168
|
}, r.value), {
|
|
169
169
|
header: bA(() => [
|
|
170
170
|
ie(P.$slots, "header", {}, () => [
|
|
171
|
-
|
|
171
|
+
PA(j(m0))
|
|
172
172
|
])
|
|
173
173
|
]),
|
|
174
174
|
aside: bA(() => [
|
|
175
175
|
ie(P.$slots, "aside", {}, () => [
|
|
176
|
-
|
|
176
|
+
PA(j(H0), { menuAttr: P.menuAttr }, null, 8, ["menuAttr"])
|
|
177
177
|
])
|
|
178
178
|
]),
|
|
179
179
|
tab: bA(() => [
|
|
180
180
|
ie(P.$slots, "tab", {}, () => [
|
|
181
|
-
|
|
181
|
+
PA(j(l0), { tabsAttr: P.tabsAttr }, null, 8, ["tabsAttr"])
|
|
182
182
|
])
|
|
183
183
|
]),
|
|
184
184
|
banner: bA(() => [
|
|
185
185
|
ie(P.$slots, "banner", {}, () => [
|
|
186
|
-
|
|
186
|
+
PA(si)
|
|
187
187
|
])
|
|
188
188
|
]),
|
|
189
189
|
_: 3
|
|
@@ -228,7 +228,7 @@ function Ri(...n) {
|
|
|
228
228
|
return Rd(d), d;
|
|
229
229
|
}
|
|
230
230
|
function Ni(n, f = !1) {
|
|
231
|
-
const e =
|
|
231
|
+
const e = J(), r = () => e.value = !!n();
|
|
232
232
|
return r(), Oi(r, f), e;
|
|
233
233
|
}
|
|
234
234
|
const x1 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, R1 = "__vueuse_ssr_handlers__";
|
|
@@ -276,7 +276,7 @@ const N1 = [
|
|
|
276
276
|
]
|
|
277
277
|
];
|
|
278
278
|
function e7(n, f = {}) {
|
|
279
|
-
const { document: e = xi, autoExit: r = !1 } = f, P = n || (e == null ? void 0 : e.querySelector("html")), u =
|
|
279
|
+
const { document: e = xi, autoExit: r = !1 } = f, P = n || (e == null ? void 0 : e.querySelector("html")), u = J(!1);
|
|
280
280
|
let z = N1[0];
|
|
281
281
|
const c = Ni(() => {
|
|
282
282
|
if (e) {
|
|
@@ -357,7 +357,7 @@ const Li = U0.get("watermark"), Wi = /* @__PURE__ */ d9({
|
|
|
357
357
|
platformInitNextTick: {}
|
|
358
358
|
},
|
|
359
359
|
setup(n) {
|
|
360
|
-
const f = n, e =
|
|
360
|
+
const f = n, e = J({}), r = J(120), P = J(64), u = J([]), z = J([]), c = dd({
|
|
361
361
|
color: "rgba(0,0,0,.15)",
|
|
362
362
|
fontSize: 16
|
|
363
363
|
}), a = (x, p) => {
|
|
@@ -365,7 +365,7 @@ const Li = U0.get("watermark"), Wi = /* @__PURE__ */ d9({
|
|
|
365
365
|
q.innerHTML = x, q.style.fontSize = p + "px", q.style.fontFamily = "sans-serif", q.style.visibility = "hidden", document.body.appendChild(q);
|
|
366
366
|
const l = q.getBoundingClientRect();
|
|
367
367
|
r.value = Math.ceil(l.width) + p / 2, P.value = Math.ceil(l.height), document.body.removeChild(q);
|
|
368
|
-
}, d =
|
|
368
|
+
}, d = J(!1), b = () => new Promise((x) => {
|
|
369
369
|
const p = () => {
|
|
370
370
|
if (d) return x(!0);
|
|
371
371
|
setTimeout(() => p(), 50);
|
|
@@ -417,7 +417,7 @@ const Li = U0.get("watermark"), Wi = /* @__PURE__ */ d9({
|
|
|
417
417
|
const x = !!((q = e.value) != null && q.pageSwith);
|
|
418
418
|
let p = ((l = s.query) == null ? void 0 : l.showWatermark) ?? !0;
|
|
419
419
|
p === "false" && (p = !1), m(!!(x && p));
|
|
420
|
-
}), (x, p) => (
|
|
420
|
+
}), (x, p) => (HA(), KA(j(_0), {
|
|
421
421
|
class: "watermark",
|
|
422
422
|
font: c,
|
|
423
423
|
zIndex: 2147483647,
|
|
@@ -445,8 +445,8 @@ const Li = U0.get("watermark"), Wi = /* @__PURE__ */ d9({
|
|
|
445
445
|
closeCallback: {}
|
|
446
446
|
},
|
|
447
447
|
setup(n) {
|
|
448
|
-
const f =
|
|
449
|
-
return (e, r) => (
|
|
448
|
+
const f = J(!0);
|
|
449
|
+
return (e, r) => (HA(), KA(j(we), {
|
|
450
450
|
modelValue: f.value,
|
|
451
451
|
"onUpdate:modelValue": r[0] || (r[0] = (P) => f.value = P),
|
|
452
452
|
type: "feedback",
|
|
@@ -458,8 +458,8 @@ const Li = U0.get("watermark"), Wi = /* @__PURE__ */ d9({
|
|
|
458
458
|
onClosed: e.closeCallback
|
|
459
459
|
}, {
|
|
460
460
|
footer: bA(() => [
|
|
461
|
-
|
|
462
|
-
|
|
461
|
+
uA("div", Ii, [
|
|
462
|
+
PA(j(W9), {
|
|
463
463
|
btnType: "default",
|
|
464
464
|
size: "small",
|
|
465
465
|
onClick: e.closeCallback
|
|
@@ -477,25 +477,25 @@ const Li = U0.get("watermark"), Wi = /* @__PURE__ */ d9({
|
|
|
477
477
|
])
|
|
478
478
|
]),
|
|
479
479
|
default: bA(() => [
|
|
480
|
-
|
|
480
|
+
uA("div", {
|
|
481
481
|
class: "content",
|
|
482
482
|
innerHTML: e.content
|
|
483
483
|
}, null, 8, Ei),
|
|
484
|
-
e.desc && e.desc.length ? (
|
|
484
|
+
e.desc && e.desc.length ? (HA(), hA(
|
|
485
485
|
Cf,
|
|
486
486
|
{ key: 0 },
|
|
487
487
|
[
|
|
488
|
-
r[1] || (r[1] =
|
|
488
|
+
r[1] || (r[1] = uA(
|
|
489
489
|
"div",
|
|
490
490
|
{ class: "divide" },
|
|
491
491
|
null,
|
|
492
492
|
-1
|
|
493
493
|
/* CACHED */
|
|
494
494
|
)),
|
|
495
|
-
(
|
|
495
|
+
(HA(!0), hA(
|
|
496
496
|
Cf,
|
|
497
497
|
null,
|
|
498
|
-
Ov(e.desc, (P, u) => If((
|
|
498
|
+
Ov(e.desc, (P, u) => If((HA(), hA("div", {
|
|
499
499
|
key: u,
|
|
500
500
|
class: "desc-item"
|
|
501
501
|
}, [
|
|
@@ -1735,8 +1735,8 @@ function ge() {
|
|
|
1735
1735
|
var l = p + q, V = x[l];
|
|
1736
1736
|
x[l] = (V << 8 | V >>> 24) & 16711935 | (V << 24 | V >>> 8) & 4278255360;
|
|
1737
1737
|
}
|
|
1738
|
-
var N = this._hash.words, T = x[p + 0], W = x[p + 1], D = x[p + 2], L = x[p + 3], I = x[p + 4], y = x[p + 5], w = x[p + 6], g = x[p + 7], S = x[p + 8], XA = x[p + 9], h = x[p + 10], tA = x[p + 11], G = x[p + 12], $ = x[p + 13], dA = x[p + 14], cA = x[p + 15],
|
|
1739
|
-
|
|
1738
|
+
var N = this._hash.words, T = x[p + 0], W = x[p + 1], D = x[p + 2], L = x[p + 3], I = x[p + 4], y = x[p + 5], w = x[p + 6], g = x[p + 7], S = x[p + 8], XA = x[p + 9], h = x[p + 10], tA = x[p + 11], G = x[p + 12], $ = x[p + 13], dA = x[p + 14], cA = x[p + 15], U = N[0], C = N[1], vA = N[2], eA = N[3];
|
|
1739
|
+
U = m(U, C, vA, eA, T, 7, d[0]), eA = m(eA, U, C, vA, W, 12, d[1]), vA = m(vA, eA, U, C, D, 17, d[2]), C = m(C, vA, eA, U, L, 22, d[3]), U = m(U, C, vA, eA, I, 7, d[4]), eA = m(eA, U, C, vA, y, 12, d[5]), vA = m(vA, eA, U, C, w, 17, d[6]), C = m(C, vA, eA, U, g, 22, d[7]), U = m(U, C, vA, eA, S, 7, d[8]), eA = m(eA, U, C, vA, XA, 12, d[9]), vA = m(vA, eA, U, C, h, 17, d[10]), C = m(C, vA, eA, U, tA, 22, d[11]), U = m(U, C, vA, eA, G, 7, d[12]), eA = m(eA, U, C, vA, $, 12, d[13]), vA = m(vA, eA, U, C, dA, 17, d[14]), C = m(C, vA, eA, U, cA, 22, d[15]), U = i(U, C, vA, eA, W, 5, d[16]), eA = i(eA, U, C, vA, w, 9, d[17]), vA = i(vA, eA, U, C, tA, 14, d[18]), C = i(C, vA, eA, U, T, 20, d[19]), U = i(U, C, vA, eA, y, 5, d[20]), eA = i(eA, U, C, vA, h, 9, d[21]), vA = i(vA, eA, U, C, cA, 14, d[22]), C = i(C, vA, eA, U, I, 20, d[23]), U = i(U, C, vA, eA, XA, 5, d[24]), eA = i(eA, U, C, vA, dA, 9, d[25]), vA = i(vA, eA, U, C, L, 14, d[26]), C = i(C, vA, eA, U, S, 20, d[27]), U = i(U, C, vA, eA, $, 5, d[28]), eA = i(eA, U, C, vA, D, 9, d[29]), vA = i(vA, eA, U, C, g, 14, d[30]), C = i(C, vA, eA, U, G, 20, d[31]), U = O(U, C, vA, eA, y, 4, d[32]), eA = O(eA, U, C, vA, S, 11, d[33]), vA = O(vA, eA, U, C, tA, 16, d[34]), C = O(C, vA, eA, U, dA, 23, d[35]), U = O(U, C, vA, eA, W, 4, d[36]), eA = O(eA, U, C, vA, I, 11, d[37]), vA = O(vA, eA, U, C, g, 16, d[38]), C = O(C, vA, eA, U, h, 23, d[39]), U = O(U, C, vA, eA, $, 4, d[40]), eA = O(eA, U, C, vA, T, 11, d[41]), vA = O(vA, eA, U, C, L, 16, d[42]), C = O(C, vA, eA, U, w, 23, d[43]), U = O(U, C, vA, eA, XA, 4, d[44]), eA = O(eA, U, C, vA, G, 11, d[45]), vA = O(vA, eA, U, C, cA, 16, d[46]), C = O(C, vA, eA, U, D, 23, d[47]), U = s(U, C, vA, eA, T, 6, d[48]), eA = s(eA, U, C, vA, g, 10, d[49]), vA = s(vA, eA, U, C, dA, 15, d[50]), C = s(C, vA, eA, U, y, 21, d[51]), U = s(U, C, vA, eA, G, 6, d[52]), eA = s(eA, U, C, vA, L, 10, d[53]), vA = s(vA, eA, U, C, h, 15, d[54]), C = s(C, vA, eA, U, W, 21, d[55]), U = s(U, C, vA, eA, S, 6, d[56]), eA = s(eA, U, C, vA, cA, 10, d[57]), vA = s(vA, eA, U, C, w, 15, d[58]), C = s(C, vA, eA, U, $, 21, d[59]), U = s(U, C, vA, eA, I, 6, d[60]), eA = s(eA, U, C, vA, tA, 10, d[61]), vA = s(vA, eA, U, C, D, 15, d[62]), C = s(C, vA, eA, U, XA, 21, d[63]), N[0] = N[0] + U | 0, N[1] = N[1] + C | 0, N[2] = N[2] + vA | 0, N[3] = N[3] + eA | 0;
|
|
1740
1740
|
},
|
|
1741
1741
|
_doFinalize: function() {
|
|
1742
1742
|
var x = this._data, p = x.words, q = this._nDataBytes * 8, l = x.sigBytes * 8;
|
|
@@ -2012,7 +2012,7 @@ function Ld() {
|
|
|
2012
2012
|
]);
|
|
2013
2013
|
},
|
|
2014
2014
|
_doProcessBlock: function(s, x) {
|
|
2015
|
-
for (var p = this._hash.words, q = p[0], l = p[1], V = p[2], N = p[3], T = p[4], W = p[5], D = p[6], L = p[7], I = q.high, y = q.low, w = l.high, g = l.low, S = V.high, XA = V.low, h = N.high, tA = N.low, G = T.high, $ = T.low, dA = W.high, cA = W.low,
|
|
2015
|
+
for (var p = this._hash.words, q = p[0], l = p[1], V = p[2], N = p[3], T = p[4], W = p[5], D = p[6], L = p[7], I = q.high, y = q.low, w = l.high, g = l.low, S = V.high, XA = V.low, h = N.high, tA = N.low, G = T.high, $ = T.low, dA = W.high, cA = W.low, U = D.high, C = D.low, vA = L.high, eA = L.low, oA = I, iA = y, GA = w, OA = g, p9 = S, wA = XA, qA = h, K = tA, fA = G, rA = $, f9 = dA, df = cA, G9 = U, ee = C, O3 = vA, Of = eA, n9 = 0; n9 < 80; n9++) {
|
|
2016
2016
|
var l9, Af, Be = i[n9];
|
|
2017
2017
|
if (n9 < 16)
|
|
2018
2018
|
Af = Be.high = s[x + n9 * 2] | 0, l9 = Be.low = s[x + n9 * 2 + 1] | 0;
|
|
@@ -2023,7 +2023,7 @@ function Ld() {
|
|
|
2023
2023
|
var X7 = fA & f9 ^ ~fA & G9, N3 = rA & df ^ ~rA & ee, Yv = oA & GA ^ oA & p9 ^ GA & p9, Kv = iA & OA ^ iA & wA ^ OA & wA, hv = (oA >>> 28 | iA << 4) ^ (oA << 30 | iA >>> 2) ^ (oA << 25 | iA >>> 7), b7 = (iA >>> 28 | oA << 4) ^ (iA << 30 | oA >>> 2) ^ (iA << 25 | oA >>> 7), c7 = (fA >>> 14 | rA << 18) ^ (fA >>> 18 | rA << 14) ^ (fA << 23 | rA >>> 9), Fv = (rA >>> 14 | fA << 18) ^ (rA >>> 18 | fA << 14) ^ (rA << 23 | fA >>> 9), a7 = m[n9], Cv = a7.high, Ke = a7.low, E9 = Of + Fv, zf = O3 + c7 + (E9 >>> 0 < Of >>> 0 ? 1 : 0), E9 = E9 + N3, zf = zf + X7 + (E9 >>> 0 < N3 >>> 0 ? 1 : 0), E9 = E9 + Ke, zf = zf + Cv + (E9 >>> 0 < Ke >>> 0 ? 1 : 0), E9 = E9 + l9, zf = zf + Af + (E9 >>> 0 < l9 >>> 0 ? 1 : 0), i7 = b7 + Kv, _v = hv + Yv + (i7 >>> 0 < b7 >>> 0 ? 1 : 0);
|
|
2024
2024
|
O3 = G9, Of = ee, G9 = f9, ee = df, f9 = fA, df = rA, rA = K + E9 | 0, fA = qA + zf + (rA >>> 0 < K >>> 0 ? 1 : 0) | 0, qA = p9, K = wA, p9 = GA, wA = OA, GA = oA, OA = iA, iA = E9 + i7 | 0, oA = zf + _v + (iA >>> 0 < E9 >>> 0 ? 1 : 0) | 0;
|
|
2025
2025
|
}
|
|
2026
|
-
y = q.low = y + iA, q.high = I + oA + (y >>> 0 < iA >>> 0 ? 1 : 0), g = l.low = g + OA, l.high = w + GA + (g >>> 0 < OA >>> 0 ? 1 : 0), XA = V.low = XA + wA, V.high = S + p9 + (XA >>> 0 < wA >>> 0 ? 1 : 0), tA = N.low = tA + K, N.high = h + qA + (tA >>> 0 < K >>> 0 ? 1 : 0), $ = T.low = $ + rA, T.high = G + fA + ($ >>> 0 < rA >>> 0 ? 1 : 0), cA = W.low = cA + df, W.high = dA + f9 + (cA >>> 0 < df >>> 0 ? 1 : 0), C = D.low = C + ee, D.high =
|
|
2026
|
+
y = q.low = y + iA, q.high = I + oA + (y >>> 0 < iA >>> 0 ? 1 : 0), g = l.low = g + OA, l.high = w + GA + (g >>> 0 < OA >>> 0 ? 1 : 0), XA = V.low = XA + wA, V.high = S + p9 + (XA >>> 0 < wA >>> 0 ? 1 : 0), tA = N.low = tA + K, N.high = h + qA + (tA >>> 0 < K >>> 0 ? 1 : 0), $ = T.low = $ + rA, T.high = G + fA + ($ >>> 0 < rA >>> 0 ? 1 : 0), cA = W.low = cA + df, W.high = dA + f9 + (cA >>> 0 < df >>> 0 ? 1 : 0), C = D.low = C + ee, D.high = U + G9 + (C >>> 0 < ee >>> 0 ? 1 : 0), eA = L.low = eA + Of, L.high = vA + O3 + (eA >>> 0 < Of >>> 0 ? 1 : 0);
|
|
2027
2027
|
},
|
|
2028
2028
|
_doFinalize: function() {
|
|
2029
2029
|
var s = this._data, x = s.words, p = this._nDataBytes * 8, q = s.sigBytes * 8;
|
|
@@ -2144,8 +2144,8 @@ function cq() {
|
|
|
2144
2144
|
D.high ^= y, D.low ^= w;
|
|
2145
2145
|
}
|
|
2146
2146
|
for (var $ = 1; $ < 25; $++) {
|
|
2147
|
-
var y, w, D = l[$], dA = D.high, cA = D.low,
|
|
2148
|
-
|
|
2147
|
+
var y, w, D = l[$], dA = D.high, cA = D.low, U = m[$];
|
|
2148
|
+
U < 32 ? (y = dA << U | cA >>> 32 - U, w = cA << U | dA >>> 32 - U) : (y = cA << U - 32 | dA >>> 64 - U, w = dA << U - 32 | cA >>> 64 - U);
|
|
2149
2149
|
var C = s[i[$]];
|
|
2150
2150
|
C.high = y, C.low = w;
|
|
2151
2151
|
}
|
|
@@ -2532,11 +2532,11 @@ function aq() {
|
|
|
2532
2532
|
var I = D + L, y = W[I];
|
|
2533
2533
|
W[I] = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360;
|
|
2534
2534
|
}
|
|
2535
|
-
var w = this._hash.words, g = O.words, S = s.words, XA = d.words, h = b.words, tA = m.words, G = i.words, $, dA, cA,
|
|
2536
|
-
vA = $ = w[0], eA = dA = w[1], oA = cA = w[2], iA =
|
|
2535
|
+
var w = this._hash.words, g = O.words, S = s.words, XA = d.words, h = b.words, tA = m.words, G = i.words, $, dA, cA, U, C, vA, eA, oA, iA, GA;
|
|
2536
|
+
vA = $ = w[0], eA = dA = w[1], oA = cA = w[2], iA = U = w[3], GA = C = w[4];
|
|
2537
2537
|
for (var OA, L = 0; L < 80; L += 1)
|
|
2538
|
-
OA = $ + W[D + XA[L]] | 0, L < 16 ? OA += p(dA, cA,
|
|
2539
|
-
OA = w[1] + cA + iA | 0, w[1] = w[2] +
|
|
2538
|
+
OA = $ + W[D + XA[L]] | 0, L < 16 ? OA += p(dA, cA, U) + g[0] : L < 32 ? OA += q(dA, cA, U) + g[1] : L < 48 ? OA += l(dA, cA, U) + g[2] : L < 64 ? OA += V(dA, cA, U) + g[3] : OA += N(dA, cA, U) + g[4], OA = OA | 0, OA = T(OA, tA[L]), OA = OA + C | 0, $ = C, C = U, U = T(cA, 10), cA = dA, dA = OA, OA = vA + W[D + h[L]] | 0, L < 16 ? OA += N(eA, oA, iA) + S[0] : L < 32 ? OA += V(eA, oA, iA) + S[1] : L < 48 ? OA += l(eA, oA, iA) + S[2] : L < 64 ? OA += q(eA, oA, iA) + S[3] : OA += p(eA, oA, iA) + S[4], OA = OA | 0, OA = T(OA, G[L]), OA = OA + GA | 0, vA = GA, GA = iA, iA = T(oA, 10), oA = eA, eA = OA;
|
|
2539
|
+
OA = w[1] + cA + iA | 0, w[1] = w[2] + U + GA | 0, w[2] = w[3] + C + vA | 0, w[3] = w[4] + $ + eA | 0, w[4] = w[0] + dA + oA | 0, w[0] = OA;
|
|
2540
2540
|
},
|
|
2541
2541
|
_doFinalize: function() {
|
|
2542
2542
|
var W = this._data, D = W.words, L = this._nDataBytes * 8, I = W.sigBytes * 8;
|
|
@@ -3639,11 +3639,11 @@ function Zq() {
|
|
|
3639
3639
|
},
|
|
3640
3640
|
_doCryptBlock: function(V, N, T, W, D, L, I, y) {
|
|
3641
3641
|
for (var w = this._nRounds, g = V[N] ^ T[0], S = V[N + 1] ^ T[1], XA = V[N + 2] ^ T[2], h = V[N + 3] ^ T[3], tA = 4, G = 1; G < w; G++) {
|
|
3642
|
-
var $ = W[g >>> 24] ^ D[S >>> 16 & 255] ^ L[XA >>> 8 & 255] ^ I[h & 255] ^ T[tA++], dA = W[S >>> 24] ^ D[XA >>> 16 & 255] ^ L[h >>> 8 & 255] ^ I[g & 255] ^ T[tA++], cA = W[XA >>> 24] ^ D[h >>> 16 & 255] ^ L[g >>> 8 & 255] ^ I[S & 255] ^ T[tA++],
|
|
3643
|
-
g = $, S = dA, XA = cA, h =
|
|
3642
|
+
var $ = W[g >>> 24] ^ D[S >>> 16 & 255] ^ L[XA >>> 8 & 255] ^ I[h & 255] ^ T[tA++], dA = W[S >>> 24] ^ D[XA >>> 16 & 255] ^ L[h >>> 8 & 255] ^ I[g & 255] ^ T[tA++], cA = W[XA >>> 24] ^ D[h >>> 16 & 255] ^ L[g >>> 8 & 255] ^ I[S & 255] ^ T[tA++], U = W[h >>> 24] ^ D[g >>> 16 & 255] ^ L[S >>> 8 & 255] ^ I[XA & 255] ^ T[tA++];
|
|
3643
|
+
g = $, S = dA, XA = cA, h = U;
|
|
3644
3644
|
}
|
|
3645
|
-
var $ = (y[g >>> 24] << 24 | y[S >>> 16 & 255] << 16 | y[XA >>> 8 & 255] << 8 | y[h & 255]) ^ T[tA++], dA = (y[S >>> 24] << 24 | y[XA >>> 16 & 255] << 16 | y[h >>> 8 & 255] << 8 | y[g & 255]) ^ T[tA++], cA = (y[XA >>> 24] << 24 | y[h >>> 16 & 255] << 16 | y[g >>> 8 & 255] << 8 | y[S & 255]) ^ T[tA++],
|
|
3646
|
-
V[N] = $, V[N + 1] = dA, V[N + 2] = cA, V[N + 3] =
|
|
3645
|
+
var $ = (y[g >>> 24] << 24 | y[S >>> 16 & 255] << 16 | y[XA >>> 8 & 255] << 8 | y[h & 255]) ^ T[tA++], dA = (y[S >>> 24] << 24 | y[XA >>> 16 & 255] << 16 | y[h >>> 8 & 255] << 8 | y[g & 255]) ^ T[tA++], cA = (y[XA >>> 24] << 24 | y[h >>> 16 & 255] << 16 | y[g >>> 8 & 255] << 8 | y[S & 255]) ^ T[tA++], U = (y[h >>> 24] << 24 | y[g >>> 16 & 255] << 16 | y[S >>> 8 & 255] << 8 | y[XA & 255]) ^ T[tA++];
|
|
3646
|
+
V[N] = $, V[N + 1] = dA, V[N + 2] = cA, V[N + 3] = U;
|
|
3647
3647
|
},
|
|
3648
3648
|
keySize: 256 / 32
|
|
3649
3649
|
});
|
|
@@ -6685,7 +6685,7 @@ const sv = (n, f = "") => {
|
|
|
6685
6685
|
return { menuConfig: a, currentApp: f, currentMenu: m, query: V, microPath: l };
|
|
6686
6686
|
}
|
|
6687
6687
|
return { menuConfig: a, currentApp: f, currentMenu: null, query: { ...P.query, app: c } };
|
|
6688
|
-
}, kH = $f.get("/appcategory"), gH = $f.get("/app/common"), W6 =
|
|
6688
|
+
}, kH = $f.get("/appcategory"), gH = $f.get("/app/common"), W6 = J(!1), ct = J([]);
|
|
6689
6689
|
J9(() => {
|
|
6690
6690
|
var n;
|
|
6691
6691
|
return ((n = ct.value) == null ? void 0 : n.map((f) => f.apps).flat()) || [];
|
|
@@ -6694,7 +6694,7 @@ const t5 = async () => {
|
|
|
6694
6694
|
W6.value = !0;
|
|
6695
6695
|
const [n, f] = await kH().run({ userType: 1 });
|
|
6696
6696
|
return W6.value = !1, n ? (ct.value = [], { navConfig: [] }) : (ct.value = f, U9([{ key: "appcategorys", value: f }]), { navConfig: f });
|
|
6697
|
-
}, JH =
|
|
6697
|
+
}, JH = J([]), UH = async () => {
|
|
6698
6698
|
const [n, f] = await gH().run();
|
|
6699
6699
|
return n ? { fixedAppsConfig: [] } : (JH.value = f, { fixedAppsConfig: f });
|
|
6700
6700
|
}, P5 = "v1", BH = Nv.get("/organization/authProjectTree"), GH = N9(`/api/customer/customer/${P5}`), SH = GH.get("/project/list"), QH = N9(`/api/project/project-server/${P5}`), YH = QH.get("/list/message"), KH = async () => {
|
|
@@ -6725,10 +6725,10 @@ const t5 = async () => {
|
|
|
6725
6725
|
}, u5 = async () => {
|
|
6726
6726
|
const n = _f() ? _H : CH, [f, e] = await n().run();
|
|
6727
6727
|
return f ? { platformConfig: null } : { platformConfig: e };
|
|
6728
|
-
}, Ff =
|
|
6728
|
+
}, Ff = J(null), d5 = async () => {
|
|
6729
6729
|
const [n, f] = await Am().run();
|
|
6730
6730
|
return n ? { homeConfig: null } : (f && (Bi(f), Ff.value = f), { homeConfig: f });
|
|
6731
|
-
}, Hf =
|
|
6731
|
+
}, Hf = J({ style: 1, skinStyle: "default" }), tm = async () => {
|
|
6732
6732
|
const [n, f] = await em().run(), e = (f == null ? void 0 : f.style) ?? 1, r = (f == null ? void 0 : f.skinStyle) ?? "default";
|
|
6733
6733
|
Hf.value = {
|
|
6734
6734
|
style: e,
|
|
@@ -6750,7 +6750,7 @@ const t5 = async () => {
|
|
|
6750
6750
|
isShow: { type: Boolean, default: !0 }
|
|
6751
6751
|
},
|
|
6752
6752
|
setup(n, { expose: f }) {
|
|
6753
|
-
const e =
|
|
6753
|
+
const e = J(!1), r = J(!1), P = J(!1), u = J(!1), z = J(!1), c = J(!1), a = J(!1), d = () => {
|
|
6754
6754
|
e.value = Hf.value.style === 1, r.value = Hf.value.style === 2, P.value = Hf.value.skinStyle === "default", u.value = Hf.value.skinStyle === "kjl", z.value = Hf.value.skinStyle === "cjb", c.value = Hf.value.skinStyle === "ssl", a.value = Hf.value.skinStyle === "dkh";
|
|
6755
6755
|
};
|
|
6756
6756
|
jf(d);
|
|
@@ -6783,30 +6783,30 @@ const t5 = async () => {
|
|
|
6783
6783
|
return f({
|
|
6784
6784
|
init: d,
|
|
6785
6785
|
getResult: i
|
|
6786
|
-
}), (p, q) => If((
|
|
6786
|
+
}), (p, q) => If((HA(), hA(
|
|
6787
6787
|
"div",
|
|
6788
6788
|
Rm,
|
|
6789
6789
|
[
|
|
6790
|
-
|
|
6791
|
-
|
|
6790
|
+
uA("section", Nm, [
|
|
6791
|
+
uA(
|
|
6792
6792
|
"p",
|
|
6793
6793
|
Zm,
|
|
6794
6794
|
NA(j(zA)("侧边菜单栏")),
|
|
6795
6795
|
1
|
|
6796
6796
|
/* TEXT */
|
|
6797
6797
|
),
|
|
6798
|
-
|
|
6799
|
-
|
|
6798
|
+
uA("div", Tm, [
|
|
6799
|
+
uA("div", {
|
|
6800
6800
|
class: "item-content",
|
|
6801
6801
|
onClick: q[1] || (q[1] = (l) => b("menu", 1))
|
|
6802
6802
|
}, [
|
|
6803
|
-
|
|
6803
|
+
uA("img", {
|
|
6804
6804
|
src: j(um),
|
|
6805
6805
|
alt: "",
|
|
6806
6806
|
width: "180",
|
|
6807
6807
|
height: "120"
|
|
6808
6808
|
}, null, 8, Dm),
|
|
6809
|
-
|
|
6809
|
+
PA(j(Ze), {
|
|
6810
6810
|
modelValue: e.value,
|
|
6811
6811
|
"onUpdate:modelValue": q[0] || (q[0] = (l) => e.value = l)
|
|
6812
6812
|
}, {
|
|
@@ -6821,17 +6821,17 @@ const t5 = async () => {
|
|
|
6821
6821
|
/* STABLE */
|
|
6822
6822
|
}, 8, ["modelValue"])
|
|
6823
6823
|
]),
|
|
6824
|
-
|
|
6824
|
+
uA("div", {
|
|
6825
6825
|
class: "item-content",
|
|
6826
6826
|
onClick: q[3] || (q[3] = (l) => b("menu", 2))
|
|
6827
6827
|
}, [
|
|
6828
|
-
|
|
6828
|
+
uA("img", {
|
|
6829
6829
|
src: j(dm),
|
|
6830
6830
|
alt: "",
|
|
6831
6831
|
width: "180",
|
|
6832
6832
|
height: "120"
|
|
6833
6833
|
}, null, 8, jm),
|
|
6834
|
-
|
|
6834
|
+
PA(j(Ze), {
|
|
6835
6835
|
modelValue: r.value,
|
|
6836
6836
|
"onUpdate:modelValue": q[2] || (q[2] = (l) => r.value = l)
|
|
6837
6837
|
}, {
|
|
@@ -6848,26 +6848,26 @@ const t5 = async () => {
|
|
|
6848
6848
|
])
|
|
6849
6849
|
])
|
|
6850
6850
|
]),
|
|
6851
|
-
|
|
6852
|
-
|
|
6851
|
+
uA("section", ym, [
|
|
6852
|
+
uA(
|
|
6853
6853
|
"p",
|
|
6854
6854
|
Lm,
|
|
6855
6855
|
NA(j(zA)("皮肤风格设置")),
|
|
6856
6856
|
1
|
|
6857
6857
|
/* TEXT */
|
|
6858
6858
|
),
|
|
6859
|
-
|
|
6860
|
-
|
|
6859
|
+
uA("div", Wm, [
|
|
6860
|
+
uA("div", {
|
|
6861
6861
|
class: "item-content",
|
|
6862
6862
|
onClick: q[5] || (q[5] = (l) => b("skin", 1))
|
|
6863
6863
|
}, [
|
|
6864
|
-
|
|
6864
|
+
uA("img", {
|
|
6865
6865
|
src: j(zm),
|
|
6866
6866
|
alt: "",
|
|
6867
6867
|
width: "180",
|
|
6868
6868
|
height: "120"
|
|
6869
6869
|
}, null, 8, om),
|
|
6870
|
-
|
|
6870
|
+
PA(j(Ze), {
|
|
6871
6871
|
modelValue: P.value,
|
|
6872
6872
|
"onUpdate:modelValue": q[4] || (q[4] = (l) => P.value = l)
|
|
6873
6873
|
}, {
|
|
@@ -6882,17 +6882,17 @@ const t5 = async () => {
|
|
|
6882
6882
|
/* STABLE */
|
|
6883
6883
|
}, 8, ["modelValue"])
|
|
6884
6884
|
]),
|
|
6885
|
-
|
|
6885
|
+
uA("div", {
|
|
6886
6886
|
class: "item-content",
|
|
6887
6887
|
onClick: q[7] || (q[7] = (l) => b("skin", 2))
|
|
6888
6888
|
}, [
|
|
6889
|
-
|
|
6889
|
+
uA("img", {
|
|
6890
6890
|
src: j(Xm),
|
|
6891
6891
|
alt: "",
|
|
6892
6892
|
width: "180",
|
|
6893
6893
|
height: "120"
|
|
6894
6894
|
}, null, 8, wm),
|
|
6895
|
-
|
|
6895
|
+
PA(j(Ze), {
|
|
6896
6896
|
modelValue: u.value,
|
|
6897
6897
|
"onUpdate:modelValue": q[6] || (q[6] = (l) => u.value = l)
|
|
6898
6898
|
}, {
|
|
@@ -6908,18 +6908,18 @@ const t5 = async () => {
|
|
|
6908
6908
|
}, 8, ["modelValue"])
|
|
6909
6909
|
])
|
|
6910
6910
|
]),
|
|
6911
|
-
|
|
6912
|
-
|
|
6911
|
+
uA("div", Em, [
|
|
6912
|
+
uA("div", {
|
|
6913
6913
|
class: "item-content",
|
|
6914
6914
|
onClick: q[9] || (q[9] = (l) => b("skin", 3))
|
|
6915
6915
|
}, [
|
|
6916
|
-
|
|
6916
|
+
uA("img", {
|
|
6917
6917
|
src: j(bm),
|
|
6918
6918
|
alt: "",
|
|
6919
6919
|
width: "180",
|
|
6920
6920
|
height: "120"
|
|
6921
6921
|
}, null, 8, Im),
|
|
6922
|
-
|
|
6922
|
+
PA(j(Ze), {
|
|
6923
6923
|
modelValue: z.value,
|
|
6924
6924
|
"onUpdate:modelValue": q[8] || (q[8] = (l) => z.value = l)
|
|
6925
6925
|
}, {
|
|
@@ -6934,17 +6934,17 @@ const t5 = async () => {
|
|
|
6934
6934
|
/* STABLE */
|
|
6935
6935
|
}, 8, ["modelValue"])
|
|
6936
6936
|
]),
|
|
6937
|
-
|
|
6937
|
+
uA("div", {
|
|
6938
6938
|
class: "item-content",
|
|
6939
6939
|
onClick: q[11] || (q[11] = (l) => b("skin", 4))
|
|
6940
6940
|
}, [
|
|
6941
|
-
|
|
6941
|
+
uA("img", {
|
|
6942
6942
|
src: j(cm),
|
|
6943
6943
|
alt: "",
|
|
6944
6944
|
width: "180",
|
|
6945
6945
|
height: "120"
|
|
6946
6946
|
}, null, 8, Mm),
|
|
6947
|
-
|
|
6947
|
+
PA(j(Ze), {
|
|
6948
6948
|
modelValue: c.value,
|
|
6949
6949
|
"onUpdate:modelValue": q[10] || (q[10] = (l) => c.value = l)
|
|
6950
6950
|
}, {
|
|
@@ -6960,18 +6960,18 @@ const t5 = async () => {
|
|
|
6960
6960
|
}, 8, ["modelValue"])
|
|
6961
6961
|
])
|
|
6962
6962
|
]),
|
|
6963
|
-
|
|
6964
|
-
|
|
6963
|
+
uA("div", km, [
|
|
6964
|
+
uA("div", {
|
|
6965
6965
|
class: "item-content",
|
|
6966
6966
|
onClick: q[13] || (q[13] = (l) => b("skin", 5))
|
|
6967
6967
|
}, [
|
|
6968
|
-
|
|
6968
|
+
uA("img", {
|
|
6969
6969
|
src: j(am),
|
|
6970
6970
|
alt: "",
|
|
6971
6971
|
width: "180",
|
|
6972
6972
|
height: "120"
|
|
6973
6973
|
}, null, 8, gm),
|
|
6974
|
-
|
|
6974
|
+
PA(j(Ze), {
|
|
6975
6975
|
modelValue: a.value,
|
|
6976
6976
|
"onUpdate:modelValue": q[12] || (q[12] = (l) => a.value = l)
|
|
6977
6977
|
}, {
|
|
@@ -6988,16 +6988,16 @@ const t5 = async () => {
|
|
|
6988
6988
|
])
|
|
6989
6989
|
])
|
|
6990
6990
|
]),
|
|
6991
|
-
|
|
6992
|
-
|
|
6991
|
+
uA("section", Jm, [
|
|
6992
|
+
uA(
|
|
6993
6993
|
"p",
|
|
6994
6994
|
Um,
|
|
6995
6995
|
NA(j(zA)("效果预览")),
|
|
6996
6996
|
1
|
|
6997
6997
|
/* TEXT */
|
|
6998
6998
|
),
|
|
6999
|
-
|
|
7000
|
-
|
|
6999
|
+
uA("div", Bm, [
|
|
7000
|
+
uA("img", {
|
|
7001
7001
|
src: O.value,
|
|
7002
7002
|
alt: "",
|
|
7003
7003
|
width: "100%",
|
|
@@ -7019,7 +7019,7 @@ const t5 = async () => {
|
|
|
7019
7019
|
isShow: { type: Boolean }
|
|
7020
7020
|
},
|
|
7021
7021
|
setup(n, { expose: f }) {
|
|
7022
|
-
const e =
|
|
7022
|
+
const e = J([
|
|
7023
7023
|
{
|
|
7024
7024
|
code: 1,
|
|
7025
7025
|
name: zA("中文简体")
|
|
@@ -7031,18 +7031,18 @@ const t5 = async () => {
|
|
|
7031
7031
|
]), r = J9(() => ({ type: $3.value === "zh-CN" ? 1 : 2 }));
|
|
7032
7032
|
return f({
|
|
7033
7033
|
getResult: () => ({ ...r.value })
|
|
7034
|
-
}), (u, z) => If((
|
|
7034
|
+
}), (u, z) => If((HA(), hA(
|
|
7035
7035
|
"div",
|
|
7036
7036
|
Ym,
|
|
7037
7037
|
[
|
|
7038
|
-
|
|
7038
|
+
PA(j(Nt), {
|
|
7039
7039
|
width: "100%",
|
|
7040
7040
|
"label-length": 6,
|
|
7041
7041
|
"align-type": "horizontal",
|
|
7042
7042
|
cols: 1
|
|
7043
7043
|
}, {
|
|
7044
7044
|
default: bA(() => [
|
|
7045
|
-
|
|
7045
|
+
PA(j(D9), {
|
|
7046
7046
|
type: "select",
|
|
7047
7047
|
label: j(zA)("语言类型"),
|
|
7048
7048
|
modelValue: r.value.type,
|
|
@@ -7064,7 +7064,7 @@ const t5 = async () => {
|
|
|
7064
7064
|
]);
|
|
7065
7065
|
}
|
|
7066
7066
|
}), hm = /* @__PURE__ */ B9(Km, [["__scopeId", "data-v-b5871b7c"]]), l3 = "v1", Fm = `/api/portal/manager/${l3}`, wv = N9(Fm), Cm = `/api/orchestration-engine/${l3}`, wt = N9(`${Cm}`), _m = `/api/workbench/workbench-server/${l3}`, $m = N9(_m), AO = `/workflow/form/form/${l3}`, fO = N9(AO), eO = `/api/portal/user/${l3}`, z5 = N9(eO), vO = z5.get("/home"), nO = z5.delete("/home"), rO = wv.get("/basics/home/type"), tO = wv.get("/basics/tree-page"), PO = wv.get("/basics/list"), uO = wt.get("/device-list/arrange/page"), dO = wt.get("/drawingArrangement/list"), zO = wt.get("/data/arrange/page"), XO = $m.get("/page/portal/list"), bO = fO.post("/list"), cO = `/api/portal/user/${l3}`, X5 = N9(cO), aO = X5.get("/app/appcategory"), o6 = X5.get("/app/common/selected"), iO = wv.get("/basics/project-list"), qO = (n) => {
|
|
7067
|
-
const { orgInfo: f, information: e, validate: r } = n, P =
|
|
7067
|
+
const { orgInfo: f, information: e, validate: r } = n, P = J(!1), u = J(""), z = J(""), c = J(""), a = J([]), d = J({
|
|
7068
7068
|
id: "0",
|
|
7069
7069
|
path: "",
|
|
7070
7070
|
code: "",
|
|
@@ -7078,7 +7078,7 @@ const t5 = async () => {
|
|
|
7078
7078
|
levelType: 1
|
|
7079
7079
|
}), b = ti();
|
|
7080
7080
|
let m = !0;
|
|
7081
|
-
const i =
|
|
7081
|
+
const i = J(!1), { run: O } = tO(), { run: s } = PO(), x = () => {
|
|
7082
7082
|
var T;
|
|
7083
7083
|
m = !0, (T = b.value) == null || T.resetLazyLoad();
|
|
7084
7084
|
};
|
|
@@ -7133,25 +7133,25 @@ const t5 = async () => {
|
|
|
7133
7133
|
}, sO = "/enterpriseadmin/ioc-server/ioc-server/ws";
|
|
7134
7134
|
let rv = null;
|
|
7135
7135
|
const pO = (n) => {
|
|
7136
|
-
const { information: f, orgInfo: e } = n, r = J9(() => e.id), P =
|
|
7136
|
+
const { information: f, orgInfo: e } = n, r = J9(() => e.id), P = J(!1), u = J(0), z = J([
|
|
7137
7137
|
{ value: 0, label: zA("图纸") },
|
|
7138
7138
|
{ value: 1, label: zA("图纸编排") },
|
|
7139
7139
|
{ value: 2, label: zA("设备看板") },
|
|
7140
7140
|
{ value: 3, label: zA("数据编排") },
|
|
7141
7141
|
{ value: 4, label: zA("轻分析") }
|
|
7142
|
-
]), c =
|
|
7143
|
-
const $ = [], dA = G[2], cA = dA.displays,
|
|
7144
|
-
T(cA, "2D", "/enterpriseadmin/ioc-server/?type=preview&tag=displays", $), T(
|
|
7142
|
+
]), c = J([]), a = J(20), d = J(1), b = J(0), m = J(""), i = J(""), O = J(""), s = J(!1), { run: x } = uO(), { run: p } = dO(), { run: q } = zO(), { run: l } = XO(), { run: V } = bO(), N = (G) => {
|
|
7143
|
+
const $ = [], dA = G[2], cA = dA.displays, U = dA.scenes, C = dA[zA("2D3D集成根目录")];
|
|
7144
|
+
T(cA, "2D", "/enterpriseadmin/ioc-server/?type=preview&tag=displays", $), T(U, "3D", "/enterpriseadmin/ioc-server/?type=preview3d&tag=scenes", $), T(C, zA("集成"), "/enterpriseadmin/ioc-server/?type=preview2d3d&tag=scenes", $);
|
|
7145
7145
|
const vA = (d.value - 1) * a.value, eA = vA + a.value;
|
|
7146
7146
|
c.value = $.filter((oA) => oA.name.includes(m.value)).slice(vA, eA), b.value = $.length;
|
|
7147
7147
|
}, T = (G, $, dA, cA) => {
|
|
7148
|
-
for (const
|
|
7149
|
-
const C = G[
|
|
7148
|
+
for (const U in G) {
|
|
7149
|
+
const C = G[U];
|
|
7150
7150
|
if (C !== !0)
|
|
7151
|
-
T(C, $, `${dA}/${
|
|
7152
|
-
else if (
|
|
7153
|
-
const vA = `${dA}/${
|
|
7154
|
-
cA.push({ id: vA, name:
|
|
7151
|
+
T(C, $, `${dA}/${U}`, cA);
|
|
7152
|
+
else if (U.includes(".json")) {
|
|
7153
|
+
const vA = `${dA}/${U}&showLayout=false`;
|
|
7154
|
+
cA.push({ id: vA, name: U.slice(0, -5), type: $, url: vA });
|
|
7155
7155
|
}
|
|
7156
7156
|
}
|
|
7157
7157
|
}, W = () => {
|
|
@@ -7261,7 +7261,7 @@ const pO = (n) => {
|
|
|
7261
7261
|
__name: "index",
|
|
7262
7262
|
emits: ["confirm", "cancel"],
|
|
7263
7263
|
setup(n, { expose: f, emit: e }) {
|
|
7264
|
-
const r = e, P =
|
|
7264
|
+
const r = e, P = J(!1), u = J9(() => {
|
|
7265
7265
|
var d;
|
|
7266
7266
|
return (d = Ff.value) != null && d.homeAlias ? Ff.value.homeAlias : zA("首页");
|
|
7267
7267
|
}), z = () => {
|
|
@@ -7273,7 +7273,7 @@ const pO = (n) => {
|
|
|
7273
7273
|
};
|
|
7274
7274
|
return f({
|
|
7275
7275
|
open: z
|
|
7276
|
-
}), (d, b) => (
|
|
7276
|
+
}), (d, b) => (HA(), KA(j(we), {
|
|
7277
7277
|
class: "framework-portal-reset-home-dialog",
|
|
7278
7278
|
type: "feedback",
|
|
7279
7279
|
feedType: "primary",
|
|
@@ -7292,7 +7292,7 @@ const pO = (n) => {
|
|
|
7292
7292
|
)
|
|
7293
7293
|
]),
|
|
7294
7294
|
feedbackImg: bA(() => [
|
|
7295
|
-
|
|
7295
|
+
uA("img", {
|
|
7296
7296
|
src: j(lO),
|
|
7297
7297
|
width: "168",
|
|
7298
7298
|
height: "96",
|
|
@@ -7300,7 +7300,7 @@ const pO = (n) => {
|
|
|
7300
7300
|
}, null, 8, HO)
|
|
7301
7301
|
]),
|
|
7302
7302
|
default: bA(() => [
|
|
7303
|
-
|
|
7303
|
+
uA(
|
|
7304
7304
|
"div",
|
|
7305
7305
|
mO,
|
|
7306
7306
|
NA(j(zA)("framework-reset-home-confirm", u.value)),
|
|
@@ -7325,7 +7325,7 @@ var pv = { exports: {} };
|
|
|
7325
7325
|
pv.exports;
|
|
7326
7326
|
(function(n, f) {
|
|
7327
7327
|
(function() {
|
|
7328
|
-
var e, r = "4.17.21", P = 200, u = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", z = "Expected a function", c = "Invalid `variable` option passed into `_.template`", a = "__lodash_hash_undefined__", d = 500, b = "__lodash_placeholder__", m = 1, i = 2, O = 4, s = 1, x = 2, p = 1, q = 2, l = 4, V = 8, N = 16, T = 32, W = 64, D = 128, L = 256, I = 512, y = 30, w = "...", g = 800, S = 16, XA = 1, h = 2, tA = 3, G = 1 / 0, $ = 9007199254740991, dA = 17976931348623157e292, cA = NaN,
|
|
7328
|
+
var e, r = "4.17.21", P = 200, u = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", z = "Expected a function", c = "Invalid `variable` option passed into `_.template`", a = "__lodash_hash_undefined__", d = 500, b = "__lodash_placeholder__", m = 1, i = 2, O = 4, s = 1, x = 2, p = 1, q = 2, l = 4, V = 8, N = 16, T = 32, W = 64, D = 128, L = 256, I = 512, y = 30, w = "...", g = 800, S = 16, XA = 1, h = 2, tA = 3, G = 1 / 0, $ = 9007199254740991, dA = 17976931348623157e292, cA = NaN, U = 4294967295, C = U - 1, vA = U >>> 1, eA = [
|
|
7329
7329
|
["ary", D],
|
|
7330
7330
|
["bind", p],
|
|
7331
7331
|
["bindKey", q],
|
|
@@ -7726,8 +7726,8 @@ pv.exports;
|
|
|
7726
7726
|
};
|
|
7727
7727
|
}
|
|
7728
7728
|
function mP(M, Y, B, sA, ZA) {
|
|
7729
|
-
return ZA(M, function(SA, i9,
|
|
7730
|
-
B = sA ? (sA = !1, SA) : Y(B, SA, i9,
|
|
7729
|
+
return ZA(M, function(SA, i9, FA) {
|
|
7730
|
+
B = sA ? (sA = !1, SA) : Y(B, SA, i9, FA);
|
|
7731
7731
|
}), B;
|
|
7732
7732
|
}
|
|
7733
7733
|
function Jz(M, Y) {
|
|
@@ -7869,18 +7869,18 @@ pv.exports;
|
|
|
7869
7869
|
}
|
|
7870
7870
|
var v8 = function M(Y) {
|
|
7871
7871
|
Y = Y == null ? x9 : $e.defaults(x9.Object(), Y, $e.pick(x9, Rz));
|
|
7872
|
-
var B = Y.Array, sA = Y.Date, ZA = Y.Error, SA = Y.Function, i9 = Y.Math,
|
|
7872
|
+
var B = Y.Array, sA = Y.Date, ZA = Y.Error, SA = Y.Function, i9 = Y.Math, FA = Y.Object, qn = Y.RegExp, n8 = Y.String, cf = Y.TypeError, O7 = B.prototype, r8 = SA.prototype, A3 = FA.prototype, V7 = Y["__core-js_shared__"], x7 = r8.toString, YA = A3.hasOwnProperty, t8 = 0, ZP = function() {
|
|
7873
7873
|
var A = /[^.]+$/.exec(V7 && V7.keys && V7.keys.IE_PROTO || "");
|
|
7874
7874
|
return A ? "Symbol(src)_1." + A : "";
|
|
7875
|
-
}(), R7 = A3.toString, P8 = x7.call(
|
|
7875
|
+
}(), R7 = A3.toString, P8 = x7.call(FA), u8 = x9._, d8 = qn(
|
|
7876
7876
|
"^" + x7.call(YA).replace(Ke, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
7877
|
-
), N7 = zP ? Y.Buffer : e, de = Y.Symbol, Z7 = Y.Uint8Array, TP = N7 ? N7.allocUnsafe : e, T7 = RP(
|
|
7877
|
+
), N7 = zP ? Y.Buffer : e, de = Y.Symbol, Z7 = Y.Uint8Array, TP = N7 ? N7.allocUnsafe : e, T7 = RP(FA.getPrototypeOf, FA), DP = FA.create, jP = A3.propertyIsEnumerable, D7 = O7.splice, yP = de ? de.isConcatSpreadable : e, T3 = de ? de.iterator : e, le = de ? de.toStringTag : e, j7 = function() {
|
|
7878
7878
|
try {
|
|
7879
|
-
var A = xe(
|
|
7879
|
+
var A = xe(FA, "defineProperty");
|
|
7880
7880
|
return A({}, "", {}), A;
|
|
7881
7881
|
} catch {
|
|
7882
7882
|
}
|
|
7883
|
-
}(), z8 = Y.clearTimeout !== x9.clearTimeout && Y.clearTimeout, X8 = sA && sA.now !== x9.Date.now && sA.now, b8 = Y.setTimeout !== x9.setTimeout && Y.setTimeout, y7 = i9.ceil, L7 = i9.floor, sn =
|
|
7883
|
+
}(), z8 = Y.clearTimeout !== x9.clearTimeout && Y.clearTimeout, X8 = sA && sA.now !== x9.Date.now && sA.now, b8 = Y.setTimeout !== x9.setTimeout && Y.setTimeout, y7 = i9.ceil, L7 = i9.floor, sn = FA.getOwnPropertySymbols, c8 = N7 ? N7.isBuffer : e, LP = Y.isFinite, a8 = O7.join, i8 = RP(FA.keys, FA), q9 = i9.max, Z9 = i9.min, q8 = sA.now, s8 = Y.parseInt, WP = i9.random, p8 = O7.reverse, pn = xe(Y, "DataView"), D3 = xe(Y, "Map"), ln = xe(Y, "Promise"), f3 = xe(Y, "Set"), j3 = xe(Y, "WeakMap"), y3 = xe(FA, "create"), W7 = j3 && new j3(), e3 = {}, l8 = Re(pn), H8 = Re(D3), m8 = Re(ln), O8 = Re(f3), V8 = Re(j3), o7 = de ? de.prototype : e, L3 = o7 ? o7.valueOf : e, oP = o7 ? o7.toString : e;
|
|
7884
7884
|
function R(A) {
|
|
7885
7885
|
if (P9(A) && !DA(A) && !(A instanceof kA)) {
|
|
7886
7886
|
if (A instanceof af)
|
|
@@ -7954,7 +7954,7 @@ pv.exports;
|
|
|
7954
7954
|
}
|
|
7955
7955
|
}, R.prototype = w7.prototype, R.prototype.constructor = R, af.prototype = v3(w7.prototype), af.prototype.constructor = af;
|
|
7956
7956
|
function kA(A) {
|
|
7957
|
-
this.__wrapped__ = A, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ =
|
|
7957
|
+
this.__wrapped__ = A, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = U, this.__views__ = [];
|
|
7958
7958
|
}
|
|
7959
7959
|
function x8() {
|
|
7960
7960
|
var A = new kA(this.__wrapped__);
|
|
@@ -8227,7 +8227,7 @@ pv.exports;
|
|
|
8227
8227
|
var X = t.length;
|
|
8228
8228
|
if (A == null)
|
|
8229
8229
|
return !X;
|
|
8230
|
-
for (A =
|
|
8230
|
+
for (A = FA(A); X--; ) {
|
|
8231
8231
|
var H = t[X], Z = v[H], o = A[H];
|
|
8232
8232
|
if (o === e && !(H in A) || !Z(o))
|
|
8233
8233
|
return !1;
|
|
@@ -8316,7 +8316,7 @@ pv.exports;
|
|
|
8316
8316
|
return DA(A) ? X : Pe(X, t(A));
|
|
8317
8317
|
}
|
|
8318
8318
|
function I9(A) {
|
|
8319
|
-
return A == null ? A === e ? Be : df : le && le in
|
|
8319
|
+
return A == null ? A === e ? Be : df : le && le in FA(A) ? IX(A) : FX(A);
|
|
8320
8320
|
}
|
|
8321
8321
|
function xn(A, v) {
|
|
8322
8322
|
return A > v;
|
|
@@ -8325,7 +8325,7 @@ pv.exports;
|
|
|
8325
8325
|
return A != null && YA.call(A, v);
|
|
8326
8326
|
}
|
|
8327
8327
|
function vX(A, v) {
|
|
8328
|
-
return A != null && v in
|
|
8328
|
+
return A != null && v in FA(A);
|
|
8329
8329
|
}
|
|
8330
8330
|
function nX(A, v, t) {
|
|
8331
8331
|
return A >= Z9(v, t) && A < q9(v, t);
|
|
@@ -8400,7 +8400,7 @@ pv.exports;
|
|
|
8400
8400
|
var H = t.length, Z = H, o = !X;
|
|
8401
8401
|
if (A == null)
|
|
8402
8402
|
return !Z;
|
|
8403
|
-
for (A =
|
|
8403
|
+
for (A = FA(A); H--; ) {
|
|
8404
8404
|
var E = t[H];
|
|
8405
8405
|
if (o && E[2] ? E[1] !== A[E[0]] : !(E[0] in A))
|
|
8406
8406
|
return !1;
|
|
@@ -8443,7 +8443,7 @@ pv.exports;
|
|
|
8443
8443
|
if (!k3(A))
|
|
8444
8444
|
return i8(A);
|
|
8445
8445
|
var v = [];
|
|
8446
|
-
for (var t in
|
|
8446
|
+
for (var t in FA(A))
|
|
8447
8447
|
YA.call(A, t) && t != "constructor" && v.push(t);
|
|
8448
8448
|
return v;
|
|
8449
8449
|
}
|
|
@@ -8765,7 +8765,7 @@ pv.exports;
|
|
|
8765
8765
|
return v.lastIndex = A.lastIndex, v;
|
|
8766
8766
|
}
|
|
8767
8767
|
function NX(A) {
|
|
8768
|
-
return L3 ?
|
|
8768
|
+
return L3 ? FA(L3.call(A)) : {};
|
|
8769
8769
|
}
|
|
8770
8770
|
function uu(A, v) {
|
|
8771
8771
|
var t = v ? In(A.buffer) : A.buffer;
|
|
@@ -8841,7 +8841,7 @@ pv.exports;
|
|
|
8841
8841
|
function n3(A) {
|
|
8842
8842
|
return IA(function(v, t) {
|
|
8843
8843
|
var X = -1, H = t.length, Z = H > 1 ? t[H - 1] : e, o = H > 2 ? t[2] : e;
|
|
8844
|
-
for (Z = A.length > 3 && typeof Z == "function" ? (H--, Z) : e, o && M9(t[0], t[1], o) && (Z = H < 3 ? e : Z, H = 1), v =
|
|
8844
|
+
for (Z = A.length > 3 && typeof Z == "function" ? (H--, Z) : e, o && M9(t[0], t[1], o) && (Z = H < 3 ? e : Z, H = 1), v = FA(v); ++X < H; ) {
|
|
8845
8845
|
var E = t[X];
|
|
8846
8846
|
E && A(v, E, X, Z);
|
|
8847
8847
|
}
|
|
@@ -8854,14 +8854,14 @@ pv.exports;
|
|
|
8854
8854
|
return t;
|
|
8855
8855
|
if (!Q9(t))
|
|
8856
8856
|
return A(t, X);
|
|
8857
|
-
for (var H = t.length, Z = v ? H : -1, o =
|
|
8857
|
+
for (var H = t.length, Z = v ? H : -1, o = FA(t); (v ? Z-- : ++Z < H) && X(o[Z], Z, o) !== !1; )
|
|
8858
8858
|
;
|
|
8859
8859
|
return t;
|
|
8860
8860
|
};
|
|
8861
8861
|
}
|
|
8862
8862
|
function cu(A) {
|
|
8863
8863
|
return function(v, t, X) {
|
|
8864
|
-
for (var H = -1, Z =
|
|
8864
|
+
for (var H = -1, Z = FA(v), o = X(v), E = o.length; E--; ) {
|
|
8865
8865
|
var k = o[A ? E : ++H];
|
|
8866
8866
|
if (t(Z[k], k, Z) === !1)
|
|
8867
8867
|
break;
|
|
@@ -8940,7 +8940,7 @@ pv.exports;
|
|
|
8940
8940
|
}
|
|
8941
8941
|
function iu(A) {
|
|
8942
8942
|
return function(v, t, X) {
|
|
8943
|
-
var H =
|
|
8943
|
+
var H = FA(v);
|
|
8944
8944
|
if (!Q9(v)) {
|
|
8945
8945
|
var Z = VA(t, 3);
|
|
8946
8946
|
v = H9(v), t = function(E) {
|
|
@@ -9285,7 +9285,7 @@ pv.exports;
|
|
|
9285
9285
|
return X && (v ? A[le] = t : delete A[le]), H;
|
|
9286
9286
|
}
|
|
9287
9287
|
var Gn = sn ? function(A) {
|
|
9288
|
-
return A == null ? [] : (A =
|
|
9288
|
+
return A == null ? [] : (A = FA(A), te(sn(A), function(v) {
|
|
9289
9289
|
return jP.call(A, v);
|
|
9290
9290
|
}));
|
|
9291
9291
|
} : ur, xu = sn ? function(A) {
|
|
@@ -9410,7 +9410,7 @@ pv.exports;
|
|
|
9410
9410
|
if (DA(A))
|
|
9411
9411
|
return !1;
|
|
9412
9412
|
var t = typeof A;
|
|
9413
|
-
return t == "number" || t == "symbol" || t == "boolean" || A == null || nf(A) ? !0 : a7.test(A) || !Fv.test(A) || v != null && A in
|
|
9413
|
+
return t == "number" || t == "symbol" || t == "boolean" || A == null || nf(A) ? !0 : a7.test(A) || !Fv.test(A) || v != null && A in FA(v);
|
|
9414
9414
|
}
|
|
9415
9415
|
function GX(A) {
|
|
9416
9416
|
var v = typeof A;
|
|
@@ -9438,7 +9438,7 @@ pv.exports;
|
|
|
9438
9438
|
}
|
|
9439
9439
|
function Tu(A, v) {
|
|
9440
9440
|
return function(t) {
|
|
9441
|
-
return t == null ? !1 : t[A] === v && (v !== e || A in
|
|
9441
|
+
return t == null ? !1 : t[A] === v && (v !== e || A in FA(t));
|
|
9442
9442
|
};
|
|
9443
9443
|
}
|
|
9444
9444
|
function YX(A) {
|
|
@@ -9462,7 +9462,7 @@ pv.exports;
|
|
|
9462
9462
|
function hX(A) {
|
|
9463
9463
|
var v = [];
|
|
9464
9464
|
if (A != null)
|
|
9465
|
-
for (var t in
|
|
9465
|
+
for (var t in FA(A))
|
|
9466
9466
|
v.push(t);
|
|
9467
9467
|
return v;
|
|
9468
9468
|
}
|
|
@@ -10344,7 +10344,7 @@ pv.exports;
|
|
|
10344
10344
|
return v === v ? t ? v - t : v : 0;
|
|
10345
10345
|
}
|
|
10346
10346
|
function v1(A) {
|
|
10347
|
-
return A ? Oe(WA(A), 0,
|
|
10347
|
+
return A ? Oe(WA(A), 0, U) : 0;
|
|
10348
10348
|
}
|
|
10349
10349
|
function lf(A) {
|
|
10350
10350
|
if (typeof A == "number")
|
|
@@ -10389,7 +10389,7 @@ pv.exports;
|
|
|
10389
10389
|
return v == null ? t : IP(t, v);
|
|
10390
10390
|
}
|
|
10391
10391
|
var Vc = IA(function(A, v) {
|
|
10392
|
-
A =
|
|
10392
|
+
A = FA(A);
|
|
10393
10393
|
var t = -1, X = v.length, H = X > 2 ? v[2] : e;
|
|
10394
10394
|
for (H && M9(v[0], v[1], H) && (X = 1); ++t < X; )
|
|
10395
10395
|
for (var Z = v[t], o = Y9(Z), E = -1, k = o.length; ++E < k; ) {
|
|
@@ -10606,7 +10606,7 @@ pv.exports;
|
|
|
10606
10606
|
return A + (t ? "_" : "") + v.toLowerCase();
|
|
10607
10607
|
});
|
|
10608
10608
|
function aa(A, v, t) {
|
|
10609
|
-
return t && typeof t != "number" && M9(A, v, t) && (v = t = e), t = t === e ?
|
|
10609
|
+
return t && typeof t != "number" && M9(A, v, t) && (v = t = e), t = t === e ? U : t >>> 0, t ? (A = QA(A), A && (typeof v == "string" || v != null && !Ar(v)) && (v = vf(v), !v && Ce(A)) ? ce(xf(A), 0, t) : A.split(v, t)) : [];
|
|
10610
10610
|
}
|
|
10611
10611
|
var ia = r3(function(A, v, t) {
|
|
10612
10612
|
return A + (t ? " " : "") + vr(v);
|
|
@@ -10838,8 +10838,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
10838
10838
|
function Ya(A, v) {
|
|
10839
10839
|
if (A = WA(A), A < 1 || A > $)
|
|
10840
10840
|
return [];
|
|
10841
|
-
var t =
|
|
10842
|
-
v = VA(v), A -=
|
|
10841
|
+
var t = U, X = Z9(A, U);
|
|
10842
|
+
v = VA(v), A -= U;
|
|
10843
10843
|
for (var H = bn(X, v); ++t < A; )
|
|
10844
10844
|
v(t);
|
|
10845
10845
|
return H;
|
|
@@ -10897,7 +10897,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
10897
10897
|
t = t === e ? 1 : q9(WA(t), 0);
|
|
10898
10898
|
var X = this.__filtered__ && !v ? new kA(this) : this.clone();
|
|
10899
10899
|
return X.__filtered__ ? X.__takeCount__ = Z9(t, X.__takeCount__) : X.__views__.push({
|
|
10900
|
-
size: Z9(t,
|
|
10900
|
+
size: Z9(t, U),
|
|
10901
10901
|
type: A + (X.__dir__ < 0 ? "Right" : "")
|
|
10902
10902
|
}), X;
|
|
10903
10903
|
}, kA.prototype[A + "Right"] = function(t) {
|
|
@@ -10941,7 +10941,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
10941
10941
|
}, kA.prototype.takeRightWhile = function(A) {
|
|
10942
10942
|
return this.reverse().takeWhile(A).reverse();
|
|
10943
10943
|
}, kA.prototype.toArray = function() {
|
|
10944
|
-
return this.take(
|
|
10944
|
+
return this.take(U);
|
|
10945
10945
|
}, Wf(kA.prototype, function(A, v) {
|
|
10946
10946
|
var t = /^(?:filter|find|map|reject)|While$/.test(v), X = /^(?:head|last)$/.test(v), H = R[X ? "take" + (v == "last" ? "Right" : "") : v], Z = X || /^find/.test(v);
|
|
10947
10947
|
H && (R.prototype[v] = function() {
|
|
@@ -10993,9 +10993,9 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
10993
10993
|
emits: ["submit-dialog"],
|
|
10994
10994
|
setup(n, { expose: f, emit: e }) {
|
|
10995
10995
|
$9().id;
|
|
10996
|
-
const r = e, P =
|
|
10996
|
+
const r = e, P = J(!1), u = J(""), z = J([]), c = a0([]), a = J(""), d = J(""), b = J([]);
|
|
10997
10997
|
let m = {};
|
|
10998
|
-
const i =
|
|
10998
|
+
const i = J([]), O = J({}), s = async (h) => {
|
|
10999
10999
|
m = VO.cloneDeep(h), await x(), q(), I(), P.value = !0;
|
|
11000
11000
|
}, x = async () => {
|
|
11001
11001
|
var G;
|
|
@@ -11027,8 +11027,8 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11027
11027
|
var $, dA;
|
|
11028
11028
|
const tA = h.totalCount;
|
|
11029
11029
|
return `${((dA = ($ = h == null ? void 0 : h.apps) == null ? void 0 : $.filter((cA) => {
|
|
11030
|
-
var
|
|
11031
|
-
return ((
|
|
11030
|
+
var U;
|
|
11031
|
+
return ((U = i.value) == null ? void 0 : U.findIndex((C) => C.id === cA.id)) !== -1;
|
|
11032
11032
|
})) == null ? void 0 : dA.length) || 0}/${tA}`;
|
|
11033
11033
|
}, V = (h) => {
|
|
11034
11034
|
d.value = h == null ? void 0 : h.name, b.value = h == null ? void 0 : h.apps;
|
|
@@ -11066,14 +11066,14 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11066
11066
|
selectedAppMap: O.value,
|
|
11067
11067
|
projectId: u.value
|
|
11068
11068
|
}), P.value = !1;
|
|
11069
|
-
}, S =
|
|
11069
|
+
}, S = J(), XA = (h) => {
|
|
11070
11070
|
var tA;
|
|
11071
11071
|
return (tA = S.value) == null ? void 0 : tA.parentNode.parentNode;
|
|
11072
11072
|
};
|
|
11073
11073
|
return f({
|
|
11074
11074
|
open: s,
|
|
11075
11075
|
cancel: y
|
|
11076
|
-
}), (h, tA) => (
|
|
11076
|
+
}), (h, tA) => (HA(), KA(j(we), {
|
|
11077
11077
|
class: "user-dialog",
|
|
11078
11078
|
title: j(zA)("设置常用应用"),
|
|
11079
11079
|
modelValue: P.value,
|
|
@@ -11083,8 +11083,8 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11083
11083
|
"close-on-press-escape": !0
|
|
11084
11084
|
}, {
|
|
11085
11085
|
footer: bA(() => [
|
|
11086
|
-
|
|
11087
|
-
|
|
11086
|
+
uA("div", null, [
|
|
11087
|
+
PA(j(W9), {
|
|
11088
11088
|
size: "middle",
|
|
11089
11089
|
onClick: w
|
|
11090
11090
|
}, {
|
|
@@ -11098,7 +11098,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11098
11098
|
_: 1
|
|
11099
11099
|
/* STABLE */
|
|
11100
11100
|
}),
|
|
11101
|
-
|
|
11101
|
+
PA(j(W9), {
|
|
11102
11102
|
size: "middle",
|
|
11103
11103
|
"btn-type": "primary",
|
|
11104
11104
|
style: { "margin-left": "12px" },
|
|
@@ -11117,7 +11117,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11117
11117
|
])
|
|
11118
11118
|
]),
|
|
11119
11119
|
default: bA(() => [
|
|
11120
|
-
|
|
11120
|
+
uA(
|
|
11121
11121
|
"div",
|
|
11122
11122
|
{
|
|
11123
11123
|
class: "user-dialog-container",
|
|
@@ -11125,7 +11125,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11125
11125
|
ref: S
|
|
11126
11126
|
},
|
|
11127
11127
|
[
|
|
11128
|
-
|
|
11128
|
+
PA(j(zi), {
|
|
11129
11129
|
defaultSplit: {
|
|
11130
11130
|
first: 223
|
|
11131
11131
|
},
|
|
@@ -11134,9 +11134,9 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11134
11134
|
canDrag: !0
|
|
11135
11135
|
}, {
|
|
11136
11136
|
firstSlot: bA(() => [
|
|
11137
|
-
|
|
11138
|
-
|
|
11139
|
-
|
|
11137
|
+
uA("div", ZO, [
|
|
11138
|
+
uA("div", TO, [
|
|
11139
|
+
PA(j(Zt), {
|
|
11140
11140
|
modelValue: u.value,
|
|
11141
11141
|
"onUpdate:modelValue": tA[0] || (tA[0] = (G) => u.value = G),
|
|
11142
11142
|
width: 207,
|
|
@@ -11153,7 +11153,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11153
11153
|
onChange: p
|
|
11154
11154
|
}, null, 8, ["modelValue", "options"])
|
|
11155
11155
|
]),
|
|
11156
|
-
|
|
11156
|
+
PA(j(md), {
|
|
11157
11157
|
ref: "$dasTree",
|
|
11158
11158
|
data: c.value,
|
|
11159
11159
|
modelValue: a.value,
|
|
@@ -11175,8 +11175,8 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11175
11175
|
default: bA(({ node: G, data: $ }) => {
|
|
11176
11176
|
var dA;
|
|
11177
11177
|
return [
|
|
11178
|
-
|
|
11179
|
-
If((
|
|
11178
|
+
uA("div", DO, [
|
|
11179
|
+
If((HA(), hA("div", jO, [
|
|
11180
11180
|
BA(
|
|
11181
11181
|
NA($.name),
|
|
11182
11182
|
1
|
|
@@ -11185,7 +11185,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11185
11185
|
])), [
|
|
11186
11186
|
[j(iv)]
|
|
11187
11187
|
]),
|
|
11188
|
-
$.id !== ((dA = c.value[0]) == null ? void 0 : dA.id) ? (
|
|
11188
|
+
$.id !== ((dA = c.value[0]) == null ? void 0 : dA.id) ? (HA(), hA(
|
|
11189
11189
|
"span",
|
|
11190
11190
|
yO,
|
|
11191
11191
|
NA(l($)),
|
|
@@ -11201,9 +11201,9 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11201
11201
|
])
|
|
11202
11202
|
]),
|
|
11203
11203
|
secondSlot: bA(() => [
|
|
11204
|
-
|
|
11205
|
-
|
|
11206
|
-
If((
|
|
11204
|
+
uA("div", LO, [
|
|
11205
|
+
uA("div", WO, [
|
|
11206
|
+
If((HA(), hA("div", oO, [
|
|
11207
11207
|
BA(
|
|
11208
11208
|
NA(d.value),
|
|
11209
11209
|
1
|
|
@@ -11212,34 +11212,34 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11212
11212
|
])), [
|
|
11213
11213
|
[j(iv)]
|
|
11214
11214
|
]),
|
|
11215
|
-
|
|
11215
|
+
PA(j(ui), null, {
|
|
11216
11216
|
default: bA(() => [
|
|
11217
|
-
|
|
11218
|
-
(
|
|
11217
|
+
uA("div", wO, [
|
|
11218
|
+
(HA(!0), hA(
|
|
11219
11219
|
Cf,
|
|
11220
11220
|
null,
|
|
11221
|
-
Ov(b.value, (G) => (
|
|
11222
|
-
|
|
11221
|
+
Ov(b.value, (G) => (HA(), hA("div", EO, [
|
|
11222
|
+
uA("img", {
|
|
11223
11223
|
src: G != null && G.iconUrl ? j(f7)(G.iconUrl) : j(NO),
|
|
11224
11224
|
class: "app-icon",
|
|
11225
11225
|
onClick: ($) => T(G)
|
|
11226
11226
|
}, null, 8, IO),
|
|
11227
|
-
|
|
11228
|
-
|
|
11227
|
+
uA("div", MO, [
|
|
11228
|
+
uA("i", {
|
|
11229
11229
|
class: "das-icon",
|
|
11230
11230
|
style: { width: "14px", height: "14px", cursor: "pointer" },
|
|
11231
11231
|
onClick: ($) => T(G)
|
|
11232
11232
|
}, [
|
|
11233
|
-
i.value.findIndex(($) => $.id === G.id) !== -1 ? (
|
|
11233
|
+
i.value.findIndex(($) => $.id === G.id) !== -1 ? (HA(), hA("img", {
|
|
11234
11234
|
key: 0,
|
|
11235
11235
|
src: j(xO)
|
|
11236
|
-
}, null, 8, gO)) : (
|
|
11236
|
+
}, null, 8, gO)) : (HA(), hA("img", {
|
|
11237
11237
|
key: 1,
|
|
11238
11238
|
src: j(RO)
|
|
11239
11239
|
}, null, 8, JO))
|
|
11240
11240
|
], 8, kO)
|
|
11241
11241
|
]),
|
|
11242
|
-
|
|
11242
|
+
PA(j(j9), {
|
|
11243
11243
|
customClass: "app-name",
|
|
11244
11244
|
text: (G == null ? void 0 : G.name) ?? "",
|
|
11245
11245
|
row: "2"
|
|
@@ -11254,8 +11254,8 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11254
11254
|
/* STABLE */
|
|
11255
11255
|
})
|
|
11256
11256
|
]),
|
|
11257
|
-
|
|
11258
|
-
|
|
11257
|
+
uA("div", UO, [
|
|
11258
|
+
PA(j(di), {
|
|
11259
11259
|
width: "100%",
|
|
11260
11260
|
height: "100%",
|
|
11261
11261
|
dragSort: "",
|
|
@@ -11290,7 +11290,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11290
11290
|
},
|
|
11291
11291
|
emits: ["reset-confirm"],
|
|
11292
11292
|
setup(n, { expose: f, emit: e }) {
|
|
11293
|
-
const r = e, P = $9(), u =
|
|
11293
|
+
const r = e, P = $9(), u = J({}), z = J([]), c = J({
|
|
11294
11294
|
routeUrl: "",
|
|
11295
11295
|
homeAlias: ""
|
|
11296
11296
|
}), a = async () => {
|
|
@@ -11346,13 +11346,13 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11346
11346
|
tableChange: $,
|
|
11347
11347
|
confirmUrl: dA,
|
|
11348
11348
|
changeType: cA,
|
|
11349
|
-
getTable:
|
|
11349
|
+
getTable: U
|
|
11350
11350
|
} = pO({
|
|
11351
11351
|
orgInfo: P,
|
|
11352
11352
|
information: u
|
|
11353
11353
|
}), C = () => {
|
|
11354
11354
|
!u.value.type || u.value.type === 3 || (u.value.type === 1 ? l() : G());
|
|
11355
|
-
}, vA =
|
|
11355
|
+
}, vA = J(null), eA = () => {
|
|
11356
11356
|
var wA;
|
|
11357
11357
|
(wA = vA.value) == null || wA.open();
|
|
11358
11358
|
}, oA = async (wA) => {
|
|
@@ -11369,20 +11369,20 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11369
11369
|
portalAppCommonSaveDTOs: (K = p9.value) == null ? void 0 : K.selectedApps
|
|
11370
11370
|
};
|
|
11371
11371
|
return qA.type === 1 && (qA.portalId = wA.originalId || wA.portalId, qA.originalCode = wA.originalCode, qA.applicationPath = wA.applicationPath, qA.urlId = wA.urlId, qA.urlPath = wA.urlPath), qA.type === 2 && (qA.urlType = wA.urlType, qA.urlId = wA.urlId), qA;
|
|
11372
|
-
}, OA =
|
|
11372
|
+
}, OA = J(null), p9 = J({});
|
|
11373
11373
|
return jf(b), f({
|
|
11374
11374
|
init: b,
|
|
11375
11375
|
formValidate: iA,
|
|
11376
11376
|
getResult: GA
|
|
11377
|
-
}), (wA, qA) => (
|
|
11377
|
+
}), (wA, qA) => (HA(), hA(
|
|
11378
11378
|
Cf,
|
|
11379
11379
|
null,
|
|
11380
11380
|
[
|
|
11381
|
-
If(
|
|
11381
|
+
If(uA(
|
|
11382
11382
|
"div",
|
|
11383
11383
|
SO,
|
|
11384
11384
|
[
|
|
11385
|
-
|
|
11385
|
+
PA(j(Nt), {
|
|
11386
11386
|
width: "100%",
|
|
11387
11387
|
"label-length": 6,
|
|
11388
11388
|
"align-type": "horizontal",
|
|
@@ -11390,7 +11390,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11390
11390
|
}, {
|
|
11391
11391
|
default: bA(() => [
|
|
11392
11392
|
yA(" 首页展示类型 1内置门户 2外置门户 3轻分析 "),
|
|
11393
|
-
If(
|
|
11393
|
+
If(PA(j(D9), {
|
|
11394
11394
|
type: "select",
|
|
11395
11395
|
label: j(zA)("展示类型"),
|
|
11396
11396
|
modelValue: u.value.type,
|
|
@@ -11403,7 +11403,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11403
11403
|
}, null, 8, ["label", "modelValue", "options"]), [
|
|
11404
11404
|
[z3, wA.isShowProject]
|
|
11405
11405
|
]),
|
|
11406
|
-
If(
|
|
11406
|
+
If(PA(j(D9), {
|
|
11407
11407
|
type: "custom",
|
|
11408
11408
|
label: j(zA)("链接"),
|
|
11409
11409
|
error: c.value.routeUrl,
|
|
@@ -11412,7 +11412,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11412
11412
|
required: u.value.type === 1 || u.value.type === 2
|
|
11413
11413
|
}, {
|
|
11414
11414
|
default: bA(() => [
|
|
11415
|
-
|
|
11415
|
+
PA(j(rt), {
|
|
11416
11416
|
modelValue: u.value.routeUrl,
|
|
11417
11417
|
"onUpdate:modelValue": qA[1] || (qA[1] = (K) => u.value.routeUrl = K),
|
|
11418
11418
|
maxLength: 1e3,
|
|
@@ -11420,7 +11420,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11420
11420
|
disabled: u.value.type !== 2
|
|
11421
11421
|
}, {
|
|
11422
11422
|
suffix: bA(() => [
|
|
11423
|
-
|
|
11423
|
+
PA(j(ri), {
|
|
11424
11424
|
class: zd({ disabled: !u.value.type || u.value.type === 3 }),
|
|
11425
11425
|
"icon-color": !u.value.type || u.value.type === 3 ? j(H1)("--das-ui-portal-management-disabled-color") : j(H1)("--das-ui-color-secondary"),
|
|
11426
11426
|
onClick: C
|
|
@@ -11435,7 +11435,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11435
11435
|
}, 8, ["label", "error", "required"]), [
|
|
11436
11436
|
[z3, wA.isShowProject]
|
|
11437
11437
|
]),
|
|
11438
|
-
If(
|
|
11438
|
+
If(PA(j(D9), {
|
|
11439
11439
|
type: "input",
|
|
11440
11440
|
prop: "homeAlias",
|
|
11441
11441
|
label: j(zA)("别名"),
|
|
@@ -11448,13 +11448,13 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11448
11448
|
}, null, 8, ["label", "modelValue", "error"]), [
|
|
11449
11449
|
[z3, wA.isShowProject]
|
|
11450
11450
|
]),
|
|
11451
|
-
|
|
11451
|
+
PA(j(D9), {
|
|
11452
11452
|
type: "custom",
|
|
11453
11453
|
label: j(zA)("常用应用设置"),
|
|
11454
11454
|
"margin-right": "0"
|
|
11455
11455
|
}, {
|
|
11456
11456
|
default: bA(() => [
|
|
11457
|
-
|
|
11457
|
+
PA(j(W9), {
|
|
11458
11458
|
btnType: "primary",
|
|
11459
11459
|
ghost: "",
|
|
11460
11460
|
size: "middle",
|
|
@@ -11478,13 +11478,13 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11478
11478
|
_: 1
|
|
11479
11479
|
/* STABLE */
|
|
11480
11480
|
}, 8, ["label"]),
|
|
11481
|
-
|
|
11481
|
+
PA(j(D9), {
|
|
11482
11482
|
type: "custom",
|
|
11483
11483
|
label: j(zA)("还原"),
|
|
11484
11484
|
"margin-right": "0"
|
|
11485
11485
|
}, {
|
|
11486
11486
|
default: bA(() => [
|
|
11487
|
-
|
|
11487
|
+
PA(j(W9), {
|
|
11488
11488
|
btnType: "primary",
|
|
11489
11489
|
ghost: "",
|
|
11490
11490
|
size: "middle",
|
|
@@ -11516,7 +11516,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11516
11516
|
[z3, wA.isShow]
|
|
11517
11517
|
]),
|
|
11518
11518
|
yA(" 内置链接选择弹窗 "),
|
|
11519
|
-
|
|
11519
|
+
PA(j(we), {
|
|
11520
11520
|
modelValue: j(i),
|
|
11521
11521
|
"onUpdate:modelValue": qA[10] || (qA[10] = (K) => Tf(i) ? i.value = K : null),
|
|
11522
11522
|
"body-style": { padding: 0 },
|
|
@@ -11525,8 +11525,8 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11525
11525
|
height: "580px"
|
|
11526
11526
|
}, {
|
|
11527
11527
|
footer: bA(() => [
|
|
11528
|
-
|
|
11529
|
-
|
|
11528
|
+
uA("div", null, [
|
|
11529
|
+
PA(j(W9), {
|
|
11530
11530
|
size: "middle",
|
|
11531
11531
|
onClick: qA[9] || (qA[9] = (K) => i.value = !1)
|
|
11532
11532
|
}, {
|
|
@@ -11540,7 +11540,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11540
11540
|
_: 1
|
|
11541
11541
|
/* STABLE */
|
|
11542
11542
|
}),
|
|
11543
|
-
|
|
11543
|
+
PA(j(W9), {
|
|
11544
11544
|
btnType: "primary",
|
|
11545
11545
|
size: "middle",
|
|
11546
11546
|
style: { "margin-left": "12px" },
|
|
@@ -11559,7 +11559,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11559
11559
|
])
|
|
11560
11560
|
]),
|
|
11561
11561
|
default: bA(() => [
|
|
11562
|
-
|
|
11562
|
+
PA(j(md), {
|
|
11563
11563
|
"node-key": "id",
|
|
11564
11564
|
ref_key: "$typeTree",
|
|
11565
11565
|
ref: O,
|
|
@@ -11582,7 +11582,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11582
11582
|
/* STABLE */
|
|
11583
11583
|
}, 8, ["modelValue", "title"]),
|
|
11584
11584
|
yA(" 非内置链接选择弹窗 "),
|
|
11585
|
-
|
|
11585
|
+
PA(j(we), {
|
|
11586
11586
|
modelValue: j(L),
|
|
11587
11587
|
"onUpdate:modelValue": qA[17] || (qA[17] = (K) => Tf(L) ? L.value = K : null),
|
|
11588
11588
|
"custom-class": "framework-portal-management-url-dialog",
|
|
@@ -11592,8 +11592,8 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11592
11592
|
height: "580px"
|
|
11593
11593
|
}, {
|
|
11594
11594
|
footer: bA(() => [
|
|
11595
|
-
|
|
11596
|
-
|
|
11595
|
+
uA("div", null, [
|
|
11596
|
+
PA(j(W9), {
|
|
11597
11597
|
size: "middle",
|
|
11598
11598
|
onClick: qA[16] || (qA[16] = (K) => L.value = !1)
|
|
11599
11599
|
}, {
|
|
@@ -11607,7 +11607,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11607
11607
|
_: 1
|
|
11608
11608
|
/* STABLE */
|
|
11609
11609
|
}),
|
|
11610
|
-
|
|
11610
|
+
PA(j(W9), {
|
|
11611
11611
|
btnType: "primary",
|
|
11612
11612
|
size: "middle",
|
|
11613
11613
|
style: { "margin-left": "12px" },
|
|
@@ -11626,18 +11626,18 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11626
11626
|
])
|
|
11627
11627
|
]),
|
|
11628
11628
|
default: bA(() => [
|
|
11629
|
-
|
|
11629
|
+
PA(j(Rt), { spinning: j(D) }, {
|
|
11630
11630
|
default: bA(() => [
|
|
11631
|
-
|
|
11632
|
-
|
|
11633
|
-
|
|
11631
|
+
uA("div", QO, [
|
|
11632
|
+
uA("div", YO, [
|
|
11633
|
+
uA(
|
|
11634
11634
|
"div",
|
|
11635
11635
|
KO,
|
|
11636
11636
|
NA(j(zA)("类型")),
|
|
11637
11637
|
1
|
|
11638
11638
|
/* TEXT */
|
|
11639
11639
|
),
|
|
11640
|
-
|
|
11640
|
+
PA(j(Zt), {
|
|
11641
11641
|
modelValue: j(I),
|
|
11642
11642
|
"onUpdate:modelValue": qA[11] || (qA[11] = (K) => Tf(I) ? I.value = K : null),
|
|
11643
11643
|
size: "small",
|
|
@@ -11646,21 +11646,21 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11646
11646
|
onChange: j(cA)
|
|
11647
11647
|
}, null, 8, ["modelValue", "options", "onChange"])
|
|
11648
11648
|
]),
|
|
11649
|
-
|
|
11650
|
-
|
|
11649
|
+
uA("div", hO, [
|
|
11650
|
+
PA(j(Pi), {
|
|
11651
11651
|
modelValue: j(h),
|
|
11652
11652
|
"onUpdate:modelValue": qA[12] || (qA[12] = (K) => Tf(h) ? h.value = K : null),
|
|
11653
11653
|
clearable: "",
|
|
11654
11654
|
size: "small",
|
|
11655
11655
|
placeholder: j(zA)("搜索名称"),
|
|
11656
|
-
onChange: j(
|
|
11656
|
+
onChange: j(U),
|
|
11657
11657
|
"is-icon-left": "",
|
|
11658
|
-
onSearch: j(
|
|
11658
|
+
onSearch: j(U)
|
|
11659
11659
|
}, null, 8, ["modelValue", "placeholder", "onChange", "onSearch"])
|
|
11660
11660
|
])
|
|
11661
11661
|
]),
|
|
11662
|
-
|
|
11663
|
-
|
|
11662
|
+
uA("div", FO, [
|
|
11663
|
+
PA(j(ni), {
|
|
11664
11664
|
data: j(w),
|
|
11665
11665
|
currentRodioSelection: j(tA),
|
|
11666
11666
|
"onUpdate:currentRodioSelection": qA[13] || (qA[13] = (K) => Tf(tA) ? tA.value = K : null),
|
|
@@ -11673,21 +11673,21 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11673
11673
|
total: j(XA),
|
|
11674
11674
|
"pagination-props": { layout: "prev,next,sizes" },
|
|
11675
11675
|
onRadioChange: j($),
|
|
11676
|
-
onCurrentPageChange: j(
|
|
11677
|
-
onSizeChange: j(
|
|
11676
|
+
onCurrentPageChange: j(U),
|
|
11677
|
+
onSizeChange: j(U)
|
|
11678
11678
|
}, {
|
|
11679
11679
|
default: bA(() => [
|
|
11680
|
-
|
|
11680
|
+
PA(j(zr), {
|
|
11681
11681
|
label: j(zA)("名称"),
|
|
11682
11682
|
"min-width": "36px",
|
|
11683
11683
|
prop: "name"
|
|
11684
11684
|
}, null, 8, ["label"]),
|
|
11685
|
-
|
|
11685
|
+
PA(j(zr), {
|
|
11686
11686
|
label: j(zA)("类型"),
|
|
11687
11687
|
"min-width": "36px",
|
|
11688
11688
|
prop: "type"
|
|
11689
11689
|
}, null, 8, ["label"]),
|
|
11690
|
-
|
|
11690
|
+
PA(j(zr), {
|
|
11691
11691
|
label: j(zA)("URL链接地址"),
|
|
11692
11692
|
"min-width": "72px",
|
|
11693
11693
|
prop: "url"
|
|
@@ -11706,7 +11706,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11706
11706
|
/* STABLE */
|
|
11707
11707
|
}, 8, ["modelValue", "title"]),
|
|
11708
11708
|
yA(" 恢复项目初始设置 二次确认 "),
|
|
11709
|
-
|
|
11709
|
+
PA(
|
|
11710
11710
|
OO,
|
|
11711
11711
|
{
|
|
11712
11712
|
ref_key: "resetDialogRef",
|
|
@@ -11718,7 +11718,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11718
11718
|
/* NEED_PATCH */
|
|
11719
11719
|
),
|
|
11720
11720
|
yA(" 常用应用配置 "),
|
|
11721
|
-
|
|
11721
|
+
PA(
|
|
11722
11722
|
GO,
|
|
11723
11723
|
{
|
|
11724
11724
|
ref_key: "configDialogRef",
|
|
@@ -11737,7 +11737,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11737
11737
|
}), _O = /* @__PURE__ */ B9(CO, [["__scopeId", "data-v-66049152"]]), $O = "v1", AV = `/api/portal/user/${$O}`, b5 = N9(AV), fV = B0.post("/menu/personal-setting"), eV = b5.put("/home"), vV = b5.put("/language"), nV = { class: "preson-style-drawer" }, rV = { class: "preson-style-footer" }, tV = /* @__PURE__ */ d9({
|
|
11738
11738
|
__name: "index",
|
|
11739
11739
|
setup(n, { expose: f }) {
|
|
11740
|
-
const e =
|
|
11740
|
+
const e = J(!1), r = J(!1), P = J(null), u = J(null), z = J(null), c = J("theme"), a = J(""), d = J(!0), b = J9(() => [
|
|
11741
11741
|
{
|
|
11742
11742
|
key: "home",
|
|
11743
11743
|
tab: zA("首页设置")
|
|
@@ -11788,28 +11788,28 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11788
11788
|
};
|
|
11789
11789
|
return f({
|
|
11790
11790
|
openDialog: m
|
|
11791
|
-
}), (x, p) => (
|
|
11791
|
+
}), (x, p) => (HA(), hA(
|
|
11792
11792
|
Cf,
|
|
11793
11793
|
null,
|
|
11794
11794
|
[
|
|
11795
|
-
|
|
11796
|
-
|
|
11797
|
-
title: j(
|
|
11795
|
+
uA("div", nV, [
|
|
11796
|
+
PA(j($0), {
|
|
11797
|
+
title: j(mA)("个性化设置").value,
|
|
11798
11798
|
modelValue: e.value,
|
|
11799
11799
|
"onUpdate:modelValue": p[3] || (p[3] = (q) => e.value = q),
|
|
11800
11800
|
"body-style": { padding: 0 },
|
|
11801
11801
|
direction: "rtl"
|
|
11802
11802
|
}, {
|
|
11803
11803
|
footer: bA(() => [
|
|
11804
|
-
|
|
11805
|
-
|
|
11804
|
+
uA("div", rV, [
|
|
11805
|
+
PA(j(W9), {
|
|
11806
11806
|
size: "middle",
|
|
11807
11807
|
onClick: p[2] || (p[2] = (q) => e.value = !1),
|
|
11808
11808
|
style: { "margin-right": "12px" }
|
|
11809
11809
|
}, {
|
|
11810
11810
|
default: bA(() => [
|
|
11811
11811
|
BA(
|
|
11812
|
-
NA(j(
|
|
11812
|
+
NA(j(mA)("取消").value),
|
|
11813
11813
|
1
|
|
11814
11814
|
/* TEXT */
|
|
11815
11815
|
)
|
|
@@ -11817,7 +11817,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11817
11817
|
_: 1
|
|
11818
11818
|
/* STABLE */
|
|
11819
11819
|
}),
|
|
11820
|
-
|
|
11820
|
+
PA(j(W9), {
|
|
11821
11821
|
btnType: "primary",
|
|
11822
11822
|
size: "middle",
|
|
11823
11823
|
loading: r.value,
|
|
@@ -11825,7 +11825,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11825
11825
|
}, {
|
|
11826
11826
|
default: bA(() => [
|
|
11827
11827
|
BA(
|
|
11828
|
-
NA(j(
|
|
11828
|
+
NA(j(mA)("确定").value),
|
|
11829
11829
|
1
|
|
11830
11830
|
/* TEXT */
|
|
11831
11831
|
)
|
|
@@ -11836,23 +11836,23 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11836
11836
|
])
|
|
11837
11837
|
]),
|
|
11838
11838
|
default: bA(() => [
|
|
11839
|
-
|
|
11839
|
+
PA(j(Ai), {
|
|
11840
11840
|
options: b.value,
|
|
11841
11841
|
activeKey: c.value,
|
|
11842
11842
|
"onUpdate:activeKey": p[0] || (p[0] = (q) => c.value = q),
|
|
11843
11843
|
"tab-width": "110px"
|
|
11844
11844
|
}, null, 8, ["options", "activeKey"]),
|
|
11845
|
-
|
|
11845
|
+
PA(j(Qm), {
|
|
11846
11846
|
ref_key: "setThemeStyleRef",
|
|
11847
11847
|
ref: P,
|
|
11848
11848
|
isShow: c.value === "theme"
|
|
11849
11849
|
}, null, 8, ["isShow"]),
|
|
11850
|
-
|
|
11850
|
+
PA(j(hm), {
|
|
11851
11851
|
ref_key: "setLangRef",
|
|
11852
11852
|
ref: z,
|
|
11853
11853
|
isShow: c.value === "lang"
|
|
11854
11854
|
}, null, 8, ["isShow"]),
|
|
11855
|
-
|
|
11855
|
+
PA(j(_O), {
|
|
11856
11856
|
ref_key: "setHomeRef",
|
|
11857
11857
|
ref: u,
|
|
11858
11858
|
isShow: c.value === "home",
|
|
@@ -11864,7 +11864,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11864
11864
|
/* STABLE */
|
|
11865
11865
|
}, 8, ["title", "modelValue"])
|
|
11866
11866
|
]),
|
|
11867
|
-
|
|
11867
|
+
PA(
|
|
11868
11868
|
j(ei),
|
|
11869
11869
|
{
|
|
11870
11870
|
ref_key: "$DasUpdateConfirmDialogRef",
|
|
@@ -11881,15 +11881,15 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11881
11881
|
/* STABLE_FRAGMENT */
|
|
11882
11882
|
));
|
|
11883
11883
|
}
|
|
11884
|
-
}), PV = /* @__PURE__ */ B9(tV, [["__scopeId", "data-v-56d349de"]]), uV = () =>
|
|
11884
|
+
}), PV = /* @__PURE__ */ B9(tV, [["__scopeId", "data-v-56d349de"]]), uV = () => J(null), dV = { class: "iframe-container" }, zV = ["src"], XV = /* @__PURE__ */ d9({
|
|
11885
11885
|
__name: "index",
|
|
11886
11886
|
props: {
|
|
11887
11887
|
src: { default: "" }
|
|
11888
11888
|
},
|
|
11889
11889
|
setup(n) {
|
|
11890
|
-
const f = n, e =
|
|
11891
|
-
var
|
|
11892
|
-
(
|
|
11890
|
+
const f = n, e = J(null), r = () => {
|
|
11891
|
+
var d, b;
|
|
11892
|
+
(d = e.value) != null && d.contentWindow && ((b = e.value.contentWindow) == null || b.postMessage(
|
|
11893
11893
|
{
|
|
11894
11894
|
token: _f(),
|
|
11895
11895
|
userInfo: A7(),
|
|
@@ -11897,23 +11897,31 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11897
11897
|
},
|
|
11898
11898
|
f.src
|
|
11899
11899
|
));
|
|
11900
|
-
}, P = ()
|
|
11901
|
-
|
|
11900
|
+
}, P = J(!0), u = J(!0);
|
|
11901
|
+
let z = null;
|
|
11902
|
+
const c = () => {
|
|
11903
|
+
z !== null && (clearTimeout(z), z = null), P.value = !1, z = window.setTimeout(() => {
|
|
11904
|
+
P.value = !0, z = null;
|
|
11905
|
+
}, 0);
|
|
11906
|
+
}, a = () => {
|
|
11907
|
+
r(), u.value && (u.value = !1, c());
|
|
11902
11908
|
};
|
|
11903
11909
|
return _3(() => {
|
|
11904
|
-
|
|
11905
|
-
|
|
11910
|
+
z !== null && (clearTimeout(z), z = null);
|
|
11911
|
+
}), (d, b) => (HA(), hA("div", dV, [
|
|
11912
|
+
P.value ? (HA(), hA("iframe", {
|
|
11913
|
+
key: 0,
|
|
11906
11914
|
id: "iframe-view",
|
|
11907
11915
|
ref_key: "iframeRef",
|
|
11908
11916
|
ref: e,
|
|
11909
11917
|
width: "100%",
|
|
11910
11918
|
height: "100%",
|
|
11911
|
-
src:
|
|
11912
|
-
onLoad:
|
|
11913
|
-
}, null, 40, zV)
|
|
11919
|
+
src: d.src,
|
|
11920
|
+
onLoad: a
|
|
11921
|
+
}, null, 40, zV)) : yA("v-if", !0)
|
|
11914
11922
|
]));
|
|
11915
11923
|
}
|
|
11916
|
-
}), at = /* @__PURE__ */ B9(XV, [["__scopeId", "data-v-
|
|
11924
|
+
}), at = /* @__PURE__ */ B9(XV, [["__scopeId", "data-v-0cbfb4d9"]]), bV = Ot.get("/login/history"), cV = () => {
|
|
11917
11925
|
const n = () => ["/licenseActivate", "/licenseDataManage", "/sso-logout"].some((a) => new RegExp(`^${a}$`, "i").test(location.pathname)), f = (z) => {
|
|
11918
11926
|
const { browserLogoImgHost: c = "", browserLogoImg: a = "" } = z || {}, d = a ? c + f7(a) : "./logo.svg";
|
|
11919
11927
|
Gi(d), o0(d);
|
|
@@ -11935,7 +11943,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11935
11943
|
}, r = async () => {
|
|
11936
11944
|
const [{ loginConfig: z }, { platformConfig: c }] = await Promise.all([rm(), u5()]);
|
|
11937
11945
|
return f(c), c != null && c.browserTitle && localStorage.setItem("browser-title", c.browserTitle || "AIoT智能物联网管控平台"), L0(), { loginConfig: z, platformConfig: c };
|
|
11938
|
-
}, P =
|
|
11946
|
+
}, P = J(!1), u = () => new Promise((z) => {
|
|
11939
11947
|
const c = () => {
|
|
11940
11948
|
if (P.value) return z();
|
|
11941
11949
|
setTimeout(() => c(), 50);
|
|
@@ -11950,7 +11958,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11950
11958
|
initNextTick: u
|
|
11951
11959
|
};
|
|
11952
11960
|
}, aV = (n) => {
|
|
11953
|
-
const f = Vv(), { getMenu: e } = J0(), { getHistoryList: r, getSearchList: P } = PR(), { changeApp: u } = se(), z =
|
|
11961
|
+
const f = Vv(), { getMenu: e } = J0(), { getHistoryList: r, getSearchList: P } = PR(), { changeApp: u } = se(), z = J("0"), c = J(!0), a = J([]), d = J(!1), b = J(!1), m = J(!1);
|
|
11954
11962
|
O9(
|
|
11955
11963
|
() => f.path,
|
|
11956
11964
|
(q) => {
|
|
@@ -12013,7 +12021,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
12013
12021
|
const GA = new URLSearchParams(location.search).get("lang");
|
|
12014
12022
|
u({ ...S, query: GA ? { lang: GA } : {} }, !1);
|
|
12015
12023
|
}
|
|
12016
|
-
}, s =
|
|
12024
|
+
}, s = J(!1), x = async () => {
|
|
12017
12025
|
var S;
|
|
12018
12026
|
await n();
|
|
12019
12027
|
const q = $9().id, l = await i();
|
|
@@ -12114,7 +12122,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
12114
12122
|
const { enter: r } = e7();
|
|
12115
12123
|
return pA.nav.addEventListener("fullScreenHandle", r), {};
|
|
12116
12124
|
}, pV = () => {
|
|
12117
|
-
const n = i3(), f =
|
|
12125
|
+
const n = i3(), f = J(""), e = J(""), r = J("");
|
|
12118
12126
|
let P = "", u = {};
|
|
12119
12127
|
O9(
|
|
12120
12128
|
() => n.currentRoute.value,
|
|
@@ -12292,10 +12300,10 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
12292
12300
|
return;
|
|
12293
12301
|
}
|
|
12294
12302
|
if (N === 1 && T === 2) {
|
|
12295
|
-
const dA = await tt(O.routeUrl, (O == null ? void 0 : O.param) ?? []), cA = Pt(et(vt(dA))),
|
|
12296
|
-
if (!n.options.routes.find((C) => C.path ===
|
|
12303
|
+
const dA = await tt(O.routeUrl, (O == null ? void 0 : O.param) ?? []), cA = Pt(et(vt(dA))), U = `${ye}-${O.code}`;
|
|
12304
|
+
if (!n.options.routes.find((C) => C.path === U)) {
|
|
12297
12305
|
const C = {
|
|
12298
|
-
path:
|
|
12306
|
+
path: U,
|
|
12299
12307
|
component: y9(at, {
|
|
12300
12308
|
src: cA
|
|
12301
12309
|
}),
|
|
@@ -12304,7 +12312,7 @@ const xO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
12304
12312
|
n.addRoute(C), n.options.routes.push(C);
|
|
12305
12313
|
}
|
|
12306
12314
|
await n.push({
|
|
12307
|
-
path:
|
|
12315
|
+
path: U,
|
|
12308
12316
|
query: {
|
|
12309
12317
|
...q.query,
|
|
12310
12318
|
app: O.code
|
|
@@ -14467,7 +14475,7 @@ const _6 = {
|
|
|
14467
14475
|
$personSetDialog: f
|
|
14468
14476
|
};
|
|
14469
14477
|
}, $x = ad.get("/convert/tenant"), AR = Ot.get("/platform/withdefault"), k5 = () => {
|
|
14470
|
-
const n = Ae(), f =
|
|
14478
|
+
const n = Ae(), f = J(!1), e = J(""), r = J(""), P = () => {
|
|
14471
14479
|
e.value = A7().id, r.value = Rv().tenantId, f.value = !0;
|
|
14472
14480
|
};
|
|
14473
14481
|
pA.nav.addEventListener("changeEnterpriseHandle", () => {
|
|
@@ -14553,7 +14561,7 @@ const _6 = {
|
|
|
14553
14561
|
getSearchList: f
|
|
14554
14562
|
};
|
|
14555
14563
|
}, uR = () => {
|
|
14556
|
-
const n =
|
|
14564
|
+
const n = J(), { entryApp: f } = se();
|
|
14557
14565
|
pA.nav.addEventListener("openAI", () => {
|
|
14558
14566
|
var P;
|
|
14559
14567
|
(P = n.value) == null || P.openPanel();
|
|
@@ -14623,7 +14631,7 @@ const _6 = {
|
|
|
14623
14631
|
K0();
|
|
14624
14632
|
});
|
|
14625
14633
|
}, bR = Zv.get("/platform/login/pwd-advance-notify-check"), cR = () => {
|
|
14626
|
-
const n =
|
|
14634
|
+
const n = J([]), f = J(null), e = J([]), { entryApp: r } = qv.hooks.useEntryApp(), P = () => {
|
|
14627
14635
|
var a;
|
|
14628
14636
|
const c = (((a = gA().appcategorys) == null ? void 0 : a.map((d) => d.apps).flat()) ?? []).find((d) => d.code === "messagecenter");
|
|
14629
14637
|
c && r({ microApp: c });
|
|
@@ -14703,14 +14711,14 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
14703
14711
|
i0((b) => ({
|
|
14704
14712
|
"23bfa220": d.value
|
|
14705
14713
|
}));
|
|
14706
|
-
const e = n, r = f, P =
|
|
14714
|
+
const e = n, r = f, P = J(), { toggle: u, isFullscreen: z } = e7(P), c = () => {
|
|
14707
14715
|
P.value != document.fullscreenElement && (z.value ? (z.value = !1, je(() => {
|
|
14708
14716
|
u();
|
|
14709
14717
|
})) : u());
|
|
14710
14718
|
}, a = () => {
|
|
14711
14719
|
r("itemClick");
|
|
14712
14720
|
}, d = J9(() => `calc(100% / ${Math.sqrt(e.gridNum)})`);
|
|
14713
|
-
return (b, m) => (
|
|
14721
|
+
return (b, m) => (HA(), hA(
|
|
14714
14722
|
"div",
|
|
14715
14723
|
{
|
|
14716
14724
|
ref_key: "containerRef",
|
|
@@ -14738,12 +14746,12 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
14738
14746
|
const e = n, r = f, P = (u) => {
|
|
14739
14747
|
r("update:activeIndex", u);
|
|
14740
14748
|
};
|
|
14741
|
-
return (u, z) => (
|
|
14749
|
+
return (u, z) => (HA(), hA("div", OR, [
|
|
14742
14750
|
yA(' :active="index === activeIndex" '),
|
|
14743
|
-
(
|
|
14751
|
+
(HA(!0), hA(
|
|
14744
14752
|
Cf,
|
|
14745
14753
|
null,
|
|
14746
|
-
Ov(e.gridNum, (c, a) => (
|
|
14754
|
+
Ov(e.gridNum, (c, a) => (HA(), KA(mR, {
|
|
14747
14755
|
active: !1,
|
|
14748
14756
|
"grid-num": e.gridNum,
|
|
14749
14757
|
onItemClick: (d) => P(a)
|
|
@@ -14769,18 +14777,18 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
14769
14777
|
const e = f, r = (P) => {
|
|
14770
14778
|
e("change", P);
|
|
14771
14779
|
};
|
|
14772
|
-
return (P, u) => (
|
|
14780
|
+
return (P, u) => (HA(), hA(
|
|
14773
14781
|
"div",
|
|
14774
14782
|
{
|
|
14775
14783
|
class: "direction-control",
|
|
14776
14784
|
onDblclick: u[9] || (u[9] = m9((z) => z.stopPropagation(), ["stop"]))
|
|
14777
14785
|
},
|
|
14778
14786
|
[
|
|
14779
|
-
|
|
14787
|
+
PA(j(j9), {
|
|
14780
14788
|
content: j(zA)("左上")
|
|
14781
14789
|
}, {
|
|
14782
14790
|
default: bA(() => [
|
|
14783
|
-
|
|
14791
|
+
uA("div", {
|
|
14784
14792
|
class: "icon icon-top-left",
|
|
14785
14793
|
onClick: u[0] || (u[0] = m9((z) => r("leftUp"), ["stop"]))
|
|
14786
14794
|
})
|
|
@@ -14788,11 +14796,11 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
14788
14796
|
_: 1
|
|
14789
14797
|
/* STABLE */
|
|
14790
14798
|
}, 8, ["content"]),
|
|
14791
|
-
|
|
14799
|
+
PA(j(j9), {
|
|
14792
14800
|
content: j(zA)("上")
|
|
14793
14801
|
}, {
|
|
14794
14802
|
default: bA(() => [
|
|
14795
|
-
|
|
14803
|
+
uA("div", {
|
|
14796
14804
|
class: "icon icon-top",
|
|
14797
14805
|
onClick: u[1] || (u[1] = m9((z) => r("up"), ["stop"]))
|
|
14798
14806
|
})
|
|
@@ -14800,11 +14808,11 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
14800
14808
|
_: 1
|
|
14801
14809
|
/* STABLE */
|
|
14802
14810
|
}, 8, ["content"]),
|
|
14803
|
-
|
|
14811
|
+
PA(j(j9), {
|
|
14804
14812
|
content: j(zA)("右上")
|
|
14805
14813
|
}, {
|
|
14806
14814
|
default: bA(() => [
|
|
14807
|
-
|
|
14815
|
+
uA("div", {
|
|
14808
14816
|
class: "icon icon-top-right",
|
|
14809
14817
|
onClick: u[2] || (u[2] = m9((z) => r("rightUp"), ["stop"]))
|
|
14810
14818
|
})
|
|
@@ -14812,11 +14820,11 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
14812
14820
|
_: 1
|
|
14813
14821
|
/* STABLE */
|
|
14814
14822
|
}, 8, ["content"]),
|
|
14815
|
-
|
|
14823
|
+
PA(j(j9), {
|
|
14816
14824
|
content: j(zA)("左")
|
|
14817
14825
|
}, {
|
|
14818
14826
|
default: bA(() => [
|
|
14819
|
-
|
|
14827
|
+
uA("div", {
|
|
14820
14828
|
class: "icon icon-left",
|
|
14821
14829
|
onClick: u[3] || (u[3] = m9((z) => r("left"), ["stop"]))
|
|
14822
14830
|
})
|
|
@@ -14824,11 +14832,11 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
14824
14832
|
_: 1
|
|
14825
14833
|
/* STABLE */
|
|
14826
14834
|
}, 8, ["content"]),
|
|
14827
|
-
|
|
14835
|
+
PA(j(j9), {
|
|
14828
14836
|
content: j(zA)("自动")
|
|
14829
14837
|
}, {
|
|
14830
14838
|
default: bA(() => [
|
|
14831
|
-
|
|
14839
|
+
uA("div", {
|
|
14832
14840
|
class: "icon icon-auto",
|
|
14833
14841
|
onClick: u[4] || (u[4] = m9((z) => r("auto"), ["stop"]))
|
|
14834
14842
|
})
|
|
@@ -14836,11 +14844,11 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
14836
14844
|
_: 1
|
|
14837
14845
|
/* STABLE */
|
|
14838
14846
|
}, 8, ["content"]),
|
|
14839
|
-
|
|
14847
|
+
PA(j(j9), {
|
|
14840
14848
|
content: j(zA)("右")
|
|
14841
14849
|
}, {
|
|
14842
14850
|
default: bA(() => [
|
|
14843
|
-
|
|
14851
|
+
uA("div", {
|
|
14844
14852
|
class: "icon icon-right",
|
|
14845
14853
|
onClick: u[5] || (u[5] = m9((z) => r("right"), ["stop"]))
|
|
14846
14854
|
})
|
|
@@ -14848,11 +14856,11 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
14848
14856
|
_: 1
|
|
14849
14857
|
/* STABLE */
|
|
14850
14858
|
}, 8, ["content"]),
|
|
14851
|
-
|
|
14859
|
+
PA(j(j9), {
|
|
14852
14860
|
content: j(zA)("左下")
|
|
14853
14861
|
}, {
|
|
14854
14862
|
default: bA(() => [
|
|
14855
|
-
|
|
14863
|
+
uA("div", {
|
|
14856
14864
|
class: "icon icon-bottom-left",
|
|
14857
14865
|
onClick: u[6] || (u[6] = m9((z) => r("leftDown"), ["stop"]))
|
|
14858
14866
|
})
|
|
@@ -14860,11 +14868,11 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
14860
14868
|
_: 1
|
|
14861
14869
|
/* STABLE */
|
|
14862
14870
|
}, 8, ["content"]),
|
|
14863
|
-
|
|
14871
|
+
PA(j(j9), {
|
|
14864
14872
|
content: j(zA)("下")
|
|
14865
14873
|
}, {
|
|
14866
14874
|
default: bA(() => [
|
|
14867
|
-
|
|
14875
|
+
uA("div", {
|
|
14868
14876
|
class: "icon icon-bottom",
|
|
14869
14877
|
onClick: u[7] || (u[7] = m9((z) => r("down"), ["stop"]))
|
|
14870
14878
|
})
|
|
@@ -14872,11 +14880,11 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
14872
14880
|
_: 1
|
|
14873
14881
|
/* STABLE */
|
|
14874
14882
|
}, 8, ["content"]),
|
|
14875
|
-
|
|
14883
|
+
PA(j(j9), {
|
|
14876
14884
|
content: j(zA)("右下")
|
|
14877
14885
|
}, {
|
|
14878
14886
|
default: bA(() => [
|
|
14879
|
-
|
|
14887
|
+
uA("div", {
|
|
14880
14888
|
class: "icon icon-bottom-right",
|
|
14881
14889
|
onClick: u[8] || (u[8] = m9((z) => r("rightDown"), ["stop"]))
|
|
14882
14890
|
})
|
|
@@ -14914,17 +14922,17 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
14914
14922
|
enlarge: import("@das-fed/ui/packages/icons/enlarge"),
|
|
14915
14923
|
"direction-control": import("@das-fed/ui/packages/icons/direction-control")
|
|
14916
14924
|
});
|
|
14917
|
-
const e = n, r = f, P =
|
|
14925
|
+
const e = n, r = f, P = J(!0), u = J(), z = J(!1), c = J(), a = J9(() => {
|
|
14918
14926
|
var V;
|
|
14919
14927
|
return (V = c.value) == null ? void 0 : V.video;
|
|
14920
|
-
}), d =
|
|
14928
|
+
}), d = J(!1), b = J(!0), m = (V) => {
|
|
14921
14929
|
u.value = V, u.value.on(window.mpegts.Events.ERROR, (N) => {
|
|
14922
14930
|
});
|
|
14923
14931
|
}, i = () => {
|
|
14924
14932
|
P.value = !P.value, u.value && (u.value.muted = P.value);
|
|
14925
14933
|
}, O = () => {
|
|
14926
14934
|
z.value = !z.value;
|
|
14927
|
-
}, s =
|
|
14935
|
+
}, s = J(""), x = () => {
|
|
14928
14936
|
const V = document.createElement("canvas");
|
|
14929
14937
|
if (a.value) {
|
|
14930
14938
|
V.width = a.value.clientWidth, V.height = a.value.clientHeight;
|
|
@@ -14982,17 +14990,17 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
14982
14990
|
b.value = !0;
|
|
14983
14991
|
});
|
|
14984
14992
|
}
|
|
14985
|
-
), (V, N) => (
|
|
14986
|
-
|
|
14993
|
+
), (V, N) => (HA(), hA("div", ZR, [
|
|
14994
|
+
PA(j(Rt), {
|
|
14987
14995
|
spinning: e.loading,
|
|
14988
14996
|
type: "component",
|
|
14989
14997
|
tip: "加载中..."
|
|
14990
14998
|
}, {
|
|
14991
14999
|
default: bA(() => [
|
|
14992
|
-
|
|
14993
|
-
|
|
14994
|
-
|
|
14995
|
-
|
|
15000
|
+
uA("div", TR, [
|
|
15001
|
+
uA("div", DR, [
|
|
15002
|
+
uA("div", jR, [
|
|
15003
|
+
uA(
|
|
14996
15004
|
"div",
|
|
14997
15005
|
yR,
|
|
14998
15006
|
NA(e.title.length > 20 ? e.title.slice(0, 19) + "..." : e.title),
|
|
@@ -15001,8 +15009,8 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
15001
15009
|
)
|
|
15002
15010
|
])
|
|
15003
15011
|
]),
|
|
15004
|
-
|
|
15005
|
-
["live"].includes(V.type) ? (
|
|
15012
|
+
uA("div", LR, [
|
|
15013
|
+
["live"].includes(V.type) ? (HA(), hA(
|
|
15006
15014
|
"span",
|
|
15007
15015
|
WR,
|
|
15008
15016
|
NA(j(zA)("正在实时预览")),
|
|
@@ -15012,7 +15020,7 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
15012
15020
|
yA(' <das-icon class="icon close-icon" icon="close" @click.stop="handleClose"></das-icon> ')
|
|
15013
15021
|
])
|
|
15014
15022
|
]),
|
|
15015
|
-
e.videoUrl && b.value ? (
|
|
15023
|
+
e.videoUrl && b.value ? (HA(), KA(j(C0), {
|
|
15016
15024
|
key: 0,
|
|
15017
15025
|
type: "flv",
|
|
15018
15026
|
ref_key: "dasLivePlayerRef",
|
|
@@ -15021,27 +15029,27 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
15021
15029
|
onLoaded: m,
|
|
15022
15030
|
src: e.videoUrl
|
|
15023
15031
|
}, null, 8, ["muted", "src"])) : yA("v-if", !0),
|
|
15024
|
-
|
|
15025
|
-
N[3] || (N[3] =
|
|
15032
|
+
uA("div", oR, [
|
|
15033
|
+
N[3] || (N[3] = uA(
|
|
15026
15034
|
"div",
|
|
15027
15035
|
{ class: "video-bottom_l" },
|
|
15028
15036
|
null,
|
|
15029
15037
|
-1
|
|
15030
15038
|
/* CACHED */
|
|
15031
15039
|
)),
|
|
15032
|
-
|
|
15033
|
-
|
|
15040
|
+
uA("div", wR, [
|
|
15041
|
+
uA(
|
|
15034
15042
|
"div",
|
|
15035
15043
|
{
|
|
15036
15044
|
class: "controls",
|
|
15037
15045
|
onDblclick: N[2] || (N[2] = m9((T) => T.stopPropagation(), ["stop"]))
|
|
15038
15046
|
},
|
|
15039
15047
|
[
|
|
15040
|
-
|
|
15048
|
+
PA(j(j9), {
|
|
15041
15049
|
content: j(zA)("声音")
|
|
15042
15050
|
}, {
|
|
15043
15051
|
default: bA(() => [
|
|
15044
|
-
|
|
15052
|
+
PA(j(d3), {
|
|
15045
15053
|
class: "icon icon-volume",
|
|
15046
15054
|
icon: P.value ? "muted" : "volume",
|
|
15047
15055
|
onClick: m9(i, ["stop"])
|
|
@@ -15050,11 +15058,11 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
15050
15058
|
_: 1
|
|
15051
15059
|
/* STABLE */
|
|
15052
15060
|
}, 8, ["content"]),
|
|
15053
|
-
|
|
15061
|
+
PA(j(j9), {
|
|
15054
15062
|
content: j(zA)("截图")
|
|
15055
15063
|
}, {
|
|
15056
15064
|
default: bA(() => [
|
|
15057
|
-
|
|
15065
|
+
PA(j(d3), {
|
|
15058
15066
|
class: "icon icon-screenshot",
|
|
15059
15067
|
icon: "screenshot",
|
|
15060
15068
|
onClick: m9(x, ["stop"])
|
|
@@ -15063,12 +15071,12 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
15063
15071
|
_: 1
|
|
15064
15072
|
/* STABLE */
|
|
15065
15073
|
}, 8, ["content"]),
|
|
15066
|
-
l("control") ? (
|
|
15074
|
+
l("control") ? (HA(), KA(j(j9), {
|
|
15067
15075
|
key: 0,
|
|
15068
15076
|
content: j(zA)("聚焦-")
|
|
15069
15077
|
}, {
|
|
15070
15078
|
default: bA(() => [
|
|
15071
|
-
["live", "polling"].includes(e.type) ? (
|
|
15079
|
+
["live", "polling"].includes(e.type) ? (HA(), KA(j(d3), {
|
|
15072
15080
|
key: 0,
|
|
15073
15081
|
class: "icon icon-shrink",
|
|
15074
15082
|
icon: "shrink",
|
|
@@ -15078,12 +15086,12 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
15078
15086
|
_: 1
|
|
15079
15087
|
/* STABLE */
|
|
15080
15088
|
}, 8, ["content"])) : yA("v-if", !0),
|
|
15081
|
-
l("control") ? (
|
|
15089
|
+
l("control") ? (HA(), KA(j(j9), {
|
|
15082
15090
|
key: 1,
|
|
15083
15091
|
content: j(zA)("聚焦+")
|
|
15084
15092
|
}, {
|
|
15085
15093
|
default: bA(() => [
|
|
15086
|
-
["live", "polling"].includes(e.type) ? (
|
|
15094
|
+
["live", "polling"].includes(e.type) ? (HA(), KA(j(d3), {
|
|
15087
15095
|
key: 0,
|
|
15088
15096
|
class: "icon icon-enlarge",
|
|
15089
15097
|
icon: "enlarge",
|
|
@@ -15093,12 +15101,12 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
15093
15101
|
_: 1
|
|
15094
15102
|
/* STABLE */
|
|
15095
15103
|
}, 8, ["content"])) : yA("v-if", !0),
|
|
15096
|
-
l("control") ? (
|
|
15104
|
+
l("control") ? (HA(), KA(j(j9), {
|
|
15097
15105
|
key: 2,
|
|
15098
15106
|
content: j(zA)("方向控制")
|
|
15099
15107
|
}, {
|
|
15100
15108
|
default: bA(() => [
|
|
15101
|
-
["live", "polling"].includes(e.type) ? (
|
|
15109
|
+
["live", "polling"].includes(e.type) ? (HA(), KA(j(d3), {
|
|
15102
15110
|
key: 0,
|
|
15103
15111
|
class: "icon icon-direction-control",
|
|
15104
15112
|
icon: "direction-control",
|
|
@@ -15114,7 +15122,7 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
15114
15122
|
)
|
|
15115
15123
|
])
|
|
15116
15124
|
]),
|
|
15117
|
-
z.value ? (
|
|
15125
|
+
z.value ? (HA(), KA(NR, {
|
|
15118
15126
|
key: 1,
|
|
15119
15127
|
onChange: p
|
|
15120
15128
|
})) : yA("v-if", !0)
|
|
@@ -15136,7 +15144,7 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
15136
15144
|
}) {
|
|
15137
15145
|
const {
|
|
15138
15146
|
deviceInfo: e
|
|
15139
|
-
} = q0(n), r =
|
|
15147
|
+
} = q0(n), r = J(!1), P = J(""), u = async () => {
|
|
15140
15148
|
var b;
|
|
15141
15149
|
if (!((b = e.value) != null && b.deviceId)) return;
|
|
15142
15150
|
r.value = !0;
|
|
@@ -15169,7 +15177,7 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
15169
15177
|
u();
|
|
15170
15178
|
}, {
|
|
15171
15179
|
deep: !0
|
|
15172
|
-
}), () =>
|
|
15180
|
+
}), () => PA(Cf, null, [f.default({
|
|
15173
15181
|
videoUrl: P.value,
|
|
15174
15182
|
loading: r.value,
|
|
15175
15183
|
onDirectionControl: z,
|
|
@@ -15178,11 +15186,11 @@ const lR = iR.post("data/device-auth"), HR = /* @__PURE__ */ d9({
|
|
|
15178
15186
|
}
|
|
15179
15187
|
});
|
|
15180
15188
|
function kR(n) {
|
|
15181
|
-
const f =
|
|
15189
|
+
const f = J(0), e = J(), {
|
|
15182
15190
|
toggle: r
|
|
15183
15191
|
} = e7(e);
|
|
15184
15192
|
return {
|
|
15185
|
-
render: () =>
|
|
15193
|
+
render: () => PA(xR, {
|
|
15186
15194
|
ref: e,
|
|
15187
15195
|
gridNum: n.gridNum,
|
|
15188
15196
|
activeIndex: f.value,
|
|
@@ -15193,7 +15201,7 @@ function kR(n) {
|
|
|
15193
15201
|
index: u
|
|
15194
15202
|
}) => {
|
|
15195
15203
|
const z = n.deviceList[u];
|
|
15196
|
-
return
|
|
15204
|
+
return PA(MR, {
|
|
15197
15205
|
deviceInfo: z
|
|
15198
15206
|
}, {
|
|
15199
15207
|
default: ({
|
|
@@ -15201,7 +15209,7 @@ function kR(n) {
|
|
|
15201
15209
|
onDirectionControl: a,
|
|
15202
15210
|
onZoomControl: d,
|
|
15203
15211
|
loading: b
|
|
15204
|
-
}) =>
|
|
15212
|
+
}) => PA(IR, {
|
|
15205
15213
|
type: "live",
|
|
15206
15214
|
loading: b,
|
|
15207
15215
|
videoUrl: c,
|
|
@@ -15228,7 +15236,7 @@ const gR = { class: "text-wrap" }, JR = { class: "trigger-content" }, UR = /* @_
|
|
|
15228
15236
|
Hd({
|
|
15229
15237
|
fullscreen2: import("@das-fed/ui/packages/icons/fullscreen-2")
|
|
15230
15238
|
});
|
|
15231
|
-
const f = n, e =
|
|
15239
|
+
const f = n, e = J(!0), { render: r, toggleFullscreen: P } = kR(f), u = J9(() => {
|
|
15232
15240
|
let z = {};
|
|
15233
15241
|
switch (f.gridNum) {
|
|
15234
15242
|
case 1:
|
|
@@ -15243,7 +15251,7 @@ const gR = { class: "text-wrap" }, JR = { class: "trigger-content" }, UR = /* @_
|
|
|
15243
15251
|
}
|
|
15244
15252
|
return z;
|
|
15245
15253
|
});
|
|
15246
|
-
return (z, c) => (
|
|
15254
|
+
return (z, c) => (HA(), KA(j(we), ud({
|
|
15247
15255
|
size: "mini",
|
|
15248
15256
|
title: j(zA)("视频监控"),
|
|
15249
15257
|
"custom-class": "das-linakge-video-dialog",
|
|
@@ -15262,15 +15270,15 @@ const gR = { class: "text-wrap" }, JR = { class: "trigger-content" }, UR = /* @_
|
|
|
15262
15270
|
onClosed: z.closeCallback
|
|
15263
15271
|
}), {
|
|
15264
15272
|
header: bA(() => [
|
|
15265
|
-
|
|
15266
|
-
|
|
15273
|
+
uA("div", gR, [
|
|
15274
|
+
uA(
|
|
15267
15275
|
"span",
|
|
15268
15276
|
null,
|
|
15269
15277
|
NA(j(zA)("视频监控")),
|
|
15270
15278
|
1
|
|
15271
15279
|
/* TEXT */
|
|
15272
15280
|
),
|
|
15273
|
-
If((
|
|
15281
|
+
If((HA(), hA("span", JR, [
|
|
15274
15282
|
BA(
|
|
15275
15283
|
NA(f.triggerContent),
|
|
15276
15284
|
1
|
|
@@ -15280,11 +15288,11 @@ const gR = { class: "text-wrap" }, JR = { class: "trigger-content" }, UR = /* @_
|
|
|
15280
15288
|
[j(iv)]
|
|
15281
15289
|
])
|
|
15282
15290
|
]),
|
|
15283
|
-
|
|
15291
|
+
PA(j(j9), {
|
|
15284
15292
|
content: j(zA)("页面全屏")
|
|
15285
15293
|
}, {
|
|
15286
15294
|
default: bA(() => [
|
|
15287
|
-
|
|
15295
|
+
PA(j(d3), {
|
|
15288
15296
|
class: "icon",
|
|
15289
15297
|
icon: "fullscreen2",
|
|
15290
15298
|
iconColor: "#999",
|
|
@@ -15296,7 +15304,7 @@ const gR = { class: "text-wrap" }, JR = { class: "trigger-content" }, UR = /* @_
|
|
|
15296
15304
|
}, 8, ["content"])
|
|
15297
15305
|
]),
|
|
15298
15306
|
default: bA(() => [
|
|
15299
|
-
e.value ? (
|
|
15307
|
+
e.value ? (HA(), KA(j(r), { key: 0 })) : yA("v-if", !0)
|
|
15300
15308
|
]),
|
|
15301
15309
|
_: 1
|
|
15302
15310
|
/* STABLE */
|
|
@@ -15313,7 +15321,7 @@ const gR = { class: "text-wrap" }, JR = { class: "trigger-content" }, UR = /* @_
|
|
|
15313
15321
|
G3(c, u);
|
|
15314
15322
|
});
|
|
15315
15323
|
}, GR = () => {
|
|
15316
|
-
const n =
|
|
15324
|
+
const n = J(4), f = J([]), e = J(null), r = async (u) => {
|
|
15317
15325
|
const [z, c] = await lR(u).run();
|
|
15318
15326
|
if (!z)
|
|
15319
15327
|
return c;
|
|
@@ -17212,9 +17220,9 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17212
17220
|
if (XA || g) {
|
|
17213
17221
|
const cA = await td(dA.code, h);
|
|
17214
17222
|
if (cA) {
|
|
17215
|
-
const
|
|
17216
|
-
(D = f.query) != null && D.app && f.query.app === tA.code && ((L = f.query) != null && L.menu) && f.query.menu === h ? s9.sendMessageToMicroApp(cA.applicationPath, `${h}:todetail`,
|
|
17217
|
-
s9.sendMessageToMicroApp(cA.applicationPath, `${h}:todetail`,
|
|
17223
|
+
const U = JSON.stringify({ showEchartTooltip: g });
|
|
17224
|
+
(D = f.query) != null && D.app && f.query.app === tA.code && ((L = f.query) != null && L.menu) && f.query.menu === h ? s9.sendMessageToMicroApp(cA.applicationPath, `${h}:todetail`, U) : (await e({ microApp: tA, menuCode: h }), setTimeout(() => {
|
|
17225
|
+
s9.sendMessageToMicroApp(cA.applicationPath, `${h}:todetail`, U, {
|
|
17218
17226
|
awaitListener: !0
|
|
17219
17227
|
});
|
|
17220
17228
|
}, 300));
|
|
@@ -17227,7 +17235,7 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17227
17235
|
}
|
|
17228
17236
|
}
|
|
17229
17237
|
};
|
|
17230
|
-
let a =
|
|
17238
|
+
let a = J(!0);
|
|
17231
17239
|
const d = (q) => {
|
|
17232
17240
|
setTimeout(async () => {
|
|
17233
17241
|
var l, V;
|
|
@@ -17260,7 +17268,7 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17260
17268
|
c(L);
|
|
17261
17269
|
} else T.includes("iocIsRun") && (a.value = !1);
|
|
17262
17270
|
});
|
|
17263
|
-
}, m =
|
|
17271
|
+
}, m = J(""), [i, O] = await rd().run();
|
|
17264
17272
|
m.value = O, b(m.value);
|
|
17265
17273
|
const s = async () => {
|
|
17266
17274
|
const [q, l] = await rd().run();
|
|
@@ -17269,7 +17277,7 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17269
17277
|
P = setInterval(() => {
|
|
17270
17278
|
s();
|
|
17271
17279
|
}, 72e5);
|
|
17272
|
-
const x =
|
|
17280
|
+
const x = J("online"), p = (q) => {
|
|
17273
17281
|
q === "online" && x.value === "offline" && setTimeout(() => {
|
|
17274
17282
|
s();
|
|
17275
17283
|
}, 5e3), x.value = (window.navigator.onLine ? "on" : "off") + "line";
|
|
@@ -17288,9 +17296,9 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17288
17296
|
},
|
|
17289
17297
|
emits: ["emitFn"],
|
|
17290
17298
|
setup(n, { expose: f, emit: e }) {
|
|
17291
|
-
const r = n, P = e, u =
|
|
17292
|
-
|
|
17293
|
-
const d =
|
|
17299
|
+
const r = n, P = e, u = J(!1), z = J(null), c = J(0), a = J(!1);
|
|
17300
|
+
J("");
|
|
17301
|
+
const d = J({
|
|
17294
17302
|
processTypeId: "confirm",
|
|
17295
17303
|
// 处理类型
|
|
17296
17304
|
reason: "",
|
|
@@ -17316,7 +17324,7 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17316
17324
|
// 处置时限
|
|
17317
17325
|
interval: 2
|
|
17318
17326
|
// 时限刻度 默认选择“时”
|
|
17319
|
-
}), b =
|
|
17327
|
+
}), b = J({
|
|
17320
17328
|
processTypeId: "",
|
|
17321
17329
|
// 处理类型 必填
|
|
17322
17330
|
reason: "",
|
|
@@ -17336,13 +17344,13 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17336
17344
|
// 事件等级id
|
|
17337
17345
|
timeLimit: ""
|
|
17338
17346
|
// 处置时限
|
|
17339
|
-
}), m =
|
|
17340
|
-
{ id: 2, name:
|
|
17341
|
-
{ id: 1, name:
|
|
17342
|
-
{ id: 3, name:
|
|
17343
|
-
]), x =
|
|
17344
|
-
|
|
17345
|
-
const T =
|
|
17347
|
+
}), m = J(!1), i = J([]), O = J([]), s = J([
|
|
17348
|
+
{ id: 2, name: mA("时").value },
|
|
17349
|
+
{ id: 1, name: mA("分").value },
|
|
17350
|
+
{ id: 3, name: mA("不限").value }
|
|
17351
|
+
]), x = J([]), p = J(""), q = J(mA("告警对象位置").value), l = J(""), V = J([]), N = J("");
|
|
17352
|
+
J("[]");
|
|
17353
|
+
const T = J(!0), W = J(!0), D = async (K) => {
|
|
17346
17354
|
const fA = { name: "1" };
|
|
17347
17355
|
K != null && K.id && (fA.spaceId = K.id);
|
|
17348
17356
|
const [rA, f9] = await GN(fA).run();
|
|
@@ -17350,7 +17358,7 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17350
17358
|
}, L = async (K) => {
|
|
17351
17359
|
const fA = { name: K || "" }, [rA, f9] = await SN(fA).run();
|
|
17352
17360
|
return rA ? {} : f9;
|
|
17353
|
-
}, I =
|
|
17361
|
+
}, I = J(!0), y = J(!0), w = J([]), g = async () => {
|
|
17354
17362
|
const [K, fA] = await BN().run({ pageIndex: -1, pageSize: -1 });
|
|
17355
17363
|
if (K) return {};
|
|
17356
17364
|
w.value = fA.data.filter((rA) => rA.status), w.value.length > 0 && (d.value.workOrderRules = w.value[0].id);
|
|
@@ -17360,13 +17368,13 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17360
17368
|
}), O9(
|
|
17361
17369
|
W,
|
|
17362
17370
|
(K) => {
|
|
17363
|
-
K ? (T.value = !0, d.value.customPath =
|
|
17371
|
+
K ? (T.value = !0, d.value.customPath = mA("选填").value) : (T.value = !1, d.value.customPath = "");
|
|
17364
17372
|
},
|
|
17365
17373
|
{ immediate: !0 }
|
|
17366
17374
|
), O9(
|
|
17367
17375
|
y,
|
|
17368
17376
|
(K) => {
|
|
17369
|
-
K ? (d.value.reportTheme =
|
|
17377
|
+
K ? (d.value.reportTheme = mA("告警对象").value, I.value = !0) : (l.value = mA("请输入").value, d.value.reportTheme = "", I.value = !1);
|
|
17370
17378
|
},
|
|
17371
17379
|
{ immediate: !0 }
|
|
17372
17380
|
);
|
|
@@ -17378,16 +17386,16 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17378
17386
|
}, h = (K, fA) => {
|
|
17379
17387
|
fA.length > 0 && (p.value = fA[0].path), d.value.reportPosition = K, N.value = "";
|
|
17380
17388
|
}, tA = (K) => {
|
|
17381
|
-
K && (b.value.reportPosition = "", p.value = ""), K ? (d.value.reportPosition = null, p.value = "", q.value =
|
|
17389
|
+
K && (b.value.reportPosition = "", p.value = ""), K ? (d.value.reportPosition = null, p.value = "", q.value = mA("告警对象位置").value) : (d.value.reportPosition = null, p.value = "", q.value = mA("请选择").value);
|
|
17382
17390
|
}, G = (K) => {
|
|
17383
|
-
K && (b.value.reportTheme = ""), K ? (d.value.reportTheme = "", l.value =
|
|
17391
|
+
K && (b.value.reportTheme = ""), K ? (d.value.reportTheme = "", l.value = mA("告警对象").value) : (d.value.reportTheme = "", l.value = mA("请输入").value);
|
|
17384
17392
|
}, $ = () => {
|
|
17385
17393
|
b.value.processTypeId = "", b.value.reason = "", b.value.treatmentPlan = "", b.value.reportPosition = "", b.value.reportTheme = "", b.value.workOrderRules = "", b.value.eventTypeId = "", b.value.eventLevelId = "", b.value.timeLimit = "";
|
|
17386
17394
|
}, dA = () => {
|
|
17387
|
-
d.value.processTypeId = "confirm", d.value.reason = "", d.value.treatmentPlan = "", d.value.remarks = "", d.value.reportPosition = "", d.value.reportTheme = "", d.value.workOrderRules = null, W.value = !0, y.value = !0, I.value = !0, d.value.reportTheme =
|
|
17395
|
+
d.value.processTypeId = "confirm", d.value.reason = "", d.value.treatmentPlan = "", d.value.remarks = "", d.value.reportPosition = "", d.value.reportTheme = "", d.value.workOrderRules = null, W.value = !0, y.value = !0, I.value = !0, d.value.reportTheme = mA("告警对象").value, p.value = "", q.value = mA("告警对象位置").value, l.value = mA("请输入").value, d.value.eventTypeId = "", d.value.eventLevelId = null, d.value.timeLimit = "", d.value.interval = 1, i.value = [], O.value = [];
|
|
17388
17396
|
}, cA = (K) => {
|
|
17389
17397
|
K == "eventTypeId" && (d.value.eventLevelId = null, C()), K == "eventLevelId" && vA(), K == "interval" && (b.value.timeLimit = "", d.value.interval == 3 ? (m.value = !0, d.value.timeLimit = "") : m.value = !1);
|
|
17390
|
-
},
|
|
17398
|
+
}, U = async () => {
|
|
17391
17399
|
const [K, fA] = await QN().run();
|
|
17392
17400
|
if (K) return {};
|
|
17393
17401
|
i.value = fA, d.value.eventTypeId || (d.value.eventTypeId = fA[0] ? fA[0].id : null), C();
|
|
@@ -17396,7 +17404,7 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17396
17404
|
eventTypeId: d.value.eventTypeId
|
|
17397
17405
|
}, [fA, rA] = await YN(K).run();
|
|
17398
17406
|
if (fA) return {};
|
|
17399
|
-
const f9 = { 1:
|
|
17407
|
+
const f9 = { 1: mA("一级").value, 2: mA("二级").value, 3: mA("三级").value, 4: mA("四级").value };
|
|
17400
17408
|
O.value = rA.map((df) => ({
|
|
17401
17409
|
id: `${df}`,
|
|
17402
17410
|
name: f9[df] ? f9[df] : df
|
|
@@ -17409,7 +17417,7 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17409
17417
|
if (fA) return {};
|
|
17410
17418
|
d.value.interval = rA.handleTimeUnit, rA.handleTimeUnit == 3 ? d.value.timeLimit = "" : d.value.timeLimit = rA.handleTime;
|
|
17411
17419
|
}, eA = (K) => {
|
|
17412
|
-
$(), K == "createcontingency" &&
|
|
17420
|
+
$(), K == "createcontingency" && U();
|
|
17413
17421
|
}, oA = async () => {
|
|
17414
17422
|
const K = {
|
|
17415
17423
|
logic: !1,
|
|
@@ -17428,12 +17436,12 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17428
17436
|
}, iA = () => {
|
|
17429
17437
|
let K = !0;
|
|
17430
17438
|
if (d.value.processTypeId == "dealwith")
|
|
17431
|
-
d.value.reason.trim() || (K = !1, b.value.reason =
|
|
17439
|
+
d.value.reason.trim() || (K = !1, b.value.reason = mA("必填,最多50个字符/汉字").value), d.value.treatmentPlan.trim() || (K = !1, b.value.treatmentPlan = mA("必填,最多50个字符/汉字").value);
|
|
17432
17440
|
else if (d.value.processTypeId == "createorder")
|
|
17433
|
-
W.value ? b.value.reportPosition = "" : !d.value.reportPosition && !d.value.customPath ? (K = !1, b.value.reportPosition =
|
|
17441
|
+
W.value ? b.value.reportPosition = "" : !d.value.reportPosition && !d.value.customPath ? (K = !1, b.value.reportPosition = mA("必填").value) : b.value.reportPosition = "", y.value || d.value.reportTheme ? b.value.reportTheme = "" : (K = !1, b.value.reportTheme = mA("必填,最多20个汉字/字符").value), d.value.workOrderRules ? b.value.workOrderRules = "" : (K = !1, b.value.workOrderRules = mA("必填").value);
|
|
17434
17442
|
else if (d.value.processTypeId == "createcontingency") {
|
|
17435
17443
|
const fA = /^[1-9][0-9]{0,2}$/;
|
|
17436
|
-
d.value.eventTypeId || (K = !1, b.value.eventTypeId =
|
|
17444
|
+
d.value.eventTypeId || (K = !1, b.value.eventTypeId = mA("必选").value), d.value.eventLevelId || (K = !1, b.value.eventLevelId = mA("必选").value), d.value.interval != 3 && !fA.test(d.value.timeLimit) && (K = !1, b.value.timeLimit = mA("必填,请输入1~999之间的正整数").value);
|
|
17437
17445
|
}
|
|
17438
17446
|
return K;
|
|
17439
17447
|
}, GA = () => {
|
|
@@ -17469,8 +17477,8 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17469
17477
|
return f({
|
|
17470
17478
|
open: wA,
|
|
17471
17479
|
close: qA
|
|
17472
|
-
}), (K, fA) => (
|
|
17473
|
-
|
|
17480
|
+
}), (K, fA) => (HA(), hA("div", hN, [
|
|
17481
|
+
PA(j(we), {
|
|
17474
17482
|
modelValue: a.value,
|
|
17475
17483
|
"onUpdate:modelValue": fA[31] || (fA[31] = (rA) => a.value = rA),
|
|
17476
17484
|
type: "basic",
|
|
@@ -17484,20 +17492,20 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17484
17492
|
}, {
|
|
17485
17493
|
header: bA(() => [
|
|
17486
17494
|
BA(
|
|
17487
|
-
NA(j(
|
|
17495
|
+
NA(j(mA)("告警处理").value),
|
|
17488
17496
|
1
|
|
17489
17497
|
/* TEXT */
|
|
17490
17498
|
)
|
|
17491
17499
|
]),
|
|
17492
17500
|
footer: bA(() => [
|
|
17493
|
-
|
|
17494
|
-
|
|
17501
|
+
uA("div", AZ, [
|
|
17502
|
+
PA(j(W9), {
|
|
17495
17503
|
size: "middle",
|
|
17496
17504
|
onClick: GA
|
|
17497
17505
|
}, {
|
|
17498
17506
|
default: bA(() => [
|
|
17499
17507
|
BA(
|
|
17500
|
-
NA(j(
|
|
17508
|
+
NA(j(mA)("取消").value),
|
|
17501
17509
|
1
|
|
17502
17510
|
/* TEXT */
|
|
17503
17511
|
)
|
|
@@ -17505,14 +17513,14 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17505
17513
|
_: 1
|
|
17506
17514
|
/* STABLE */
|
|
17507
17515
|
}),
|
|
17508
|
-
|
|
17516
|
+
PA(j(W9), {
|
|
17509
17517
|
block: "",
|
|
17510
17518
|
size: "middle",
|
|
17511
17519
|
onClick: fA[29] || (fA[29] = (rA) => OA(1))
|
|
17512
17520
|
}, {
|
|
17513
17521
|
default: bA(() => [
|
|
17514
17522
|
BA(
|
|
17515
|
-
NA(j(
|
|
17523
|
+
NA(j(mA)("结束处理").value),
|
|
17516
17524
|
1
|
|
17517
17525
|
/* TEXT */
|
|
17518
17526
|
)
|
|
@@ -17520,7 +17528,7 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17520
17528
|
_: 1
|
|
17521
17529
|
/* STABLE */
|
|
17522
17530
|
}),
|
|
17523
|
-
|
|
17531
|
+
PA(j(W9), {
|
|
17524
17532
|
block: "",
|
|
17525
17533
|
btnType: "primary",
|
|
17526
17534
|
size: "middle",
|
|
@@ -17528,7 +17536,7 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17528
17536
|
}, {
|
|
17529
17537
|
default: bA(() => [
|
|
17530
17538
|
BA(
|
|
17531
|
-
NA(j(
|
|
17539
|
+
NA(j(mA)("继续处理").value),
|
|
17532
17540
|
1
|
|
17533
17541
|
/* TEXT */
|
|
17534
17542
|
)
|
|
@@ -17539,9 +17547,9 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17539
17547
|
])
|
|
17540
17548
|
]),
|
|
17541
17549
|
default: bA(() => [
|
|
17542
|
-
|
|
17550
|
+
PA(j(Rt), { spinning: u.value }, {
|
|
17543
17551
|
default: bA(() => [
|
|
17544
|
-
|
|
17552
|
+
uA(
|
|
17545
17553
|
"div",
|
|
17546
17554
|
{
|
|
17547
17555
|
ref_key: "myDialogBody",
|
|
@@ -17549,14 +17557,14 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17549
17557
|
class: "handle-alarm-dialog-content"
|
|
17550
17558
|
},
|
|
17551
17559
|
[
|
|
17552
|
-
|
|
17560
|
+
PA(j(Nt), {
|
|
17553
17561
|
style: { width: "100%", height: "100%", "align-items": "center" },
|
|
17554
17562
|
cols: 1,
|
|
17555
17563
|
alignType: "horizontal"
|
|
17556
17564
|
}, {
|
|
17557
17565
|
default: bA(() => [
|
|
17558
|
-
|
|
17559
|
-
label: j(
|
|
17566
|
+
PA(j(D9), {
|
|
17567
|
+
label: j(mA)("处理类型").value,
|
|
17560
17568
|
required: "",
|
|
17561
17569
|
type: "select",
|
|
17562
17570
|
modelValue: d.value.processTypeId,
|
|
@@ -17570,9 +17578,9 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17570
17578
|
marginRight: "0",
|
|
17571
17579
|
onChange: eA
|
|
17572
17580
|
}, null, 8, ["label", "modelValue", "options"]),
|
|
17573
|
-
d.value.processTypeId !== "createorder" && d.value.processTypeId !== "createcontingency" ? (
|
|
17581
|
+
d.value.processTypeId !== "createorder" && d.value.processTypeId !== "createcontingency" ? (HA(), KA(j(D9), {
|
|
17574
17582
|
key: 0,
|
|
17575
|
-
label: j(
|
|
17583
|
+
label: j(mA)("告警原因").value,
|
|
17576
17584
|
required: d.value.processTypeId == "dealwith",
|
|
17577
17585
|
type: "input",
|
|
17578
17586
|
maxlength: "50",
|
|
@@ -17585,9 +17593,9 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17585
17593
|
marginBottom: "30px",
|
|
17586
17594
|
marginRight: "0"
|
|
17587
17595
|
}, null, 8, ["label", "required", "modelValue", "error"])) : yA("v-if", !0),
|
|
17588
|
-
d.value.processTypeId !== "createorder" && d.value.processTypeId !== "createcontingency" ? (
|
|
17596
|
+
d.value.processTypeId !== "createorder" && d.value.processTypeId !== "createcontingency" ? (HA(), KA(j(D9), {
|
|
17589
17597
|
key: 1,
|
|
17590
|
-
label: j(
|
|
17598
|
+
label: j(mA)("处理方案").value,
|
|
17591
17599
|
required: d.value.processTypeId == "dealwith",
|
|
17592
17600
|
type: "input",
|
|
17593
17601
|
maxlength: "50",
|
|
@@ -17600,9 +17608,9 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17600
17608
|
marginBottom: "30px",
|
|
17601
17609
|
marginRight: "0"
|
|
17602
17610
|
}, null, 8, ["label", "required", "modelValue", "error"])) : yA("v-if", !0),
|
|
17603
|
-
d.value.processTypeId !== "createorder" && d.value.processTypeId !== "createcontingency" ? (
|
|
17611
|
+
d.value.processTypeId !== "createorder" && d.value.processTypeId !== "createcontingency" ? (HA(), KA(j(D9), {
|
|
17604
17612
|
key: 2,
|
|
17605
|
-
label: j(
|
|
17613
|
+
label: j(mA)("备注").value,
|
|
17606
17614
|
type: "textarea",
|
|
17607
17615
|
"show-word-limit": "",
|
|
17608
17616
|
autosize: "",
|
|
@@ -17613,9 +17621,9 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17613
17621
|
marginBottom: "30px",
|
|
17614
17622
|
marginRight: "0"
|
|
17615
17623
|
}, null, 8, ["label", "modelValue"])) : yA("v-if", !0),
|
|
17616
|
-
d.value.processTypeId == "createorder" ? (
|
|
17624
|
+
d.value.processTypeId == "createorder" ? (HA(), KA(j(D9), {
|
|
17617
17625
|
key: 3,
|
|
17618
|
-
label: j(
|
|
17626
|
+
label: j(mA)("报事位置").value,
|
|
17619
17627
|
required: "",
|
|
17620
17628
|
type: "custom",
|
|
17621
17629
|
error: b.value.reportPosition,
|
|
@@ -17624,9 +17632,9 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17624
17632
|
marginRight: "0"
|
|
17625
17633
|
}, {
|
|
17626
17634
|
default: bA(() => [
|
|
17627
|
-
|
|
17628
|
-
|
|
17629
|
-
|
|
17635
|
+
uA("div", FN, [
|
|
17636
|
+
uA("div", CN, [
|
|
17637
|
+
PA(j(Xi), {
|
|
17630
17638
|
borderType: "underline",
|
|
17631
17639
|
props: { disabled: "_disabled", label: "name" },
|
|
17632
17640
|
modelValue: d.value.reportPosition,
|
|
@@ -17645,16 +17653,16 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17645
17653
|
filter: !0,
|
|
17646
17654
|
allowClear: !0
|
|
17647
17655
|
}, null, 8, ["modelValue", "path", "keyword", "data", "placeholder", "disabled"]),
|
|
17648
|
-
|
|
17656
|
+
PA(j(rt), {
|
|
17649
17657
|
ref: "testInput",
|
|
17650
17658
|
modelValue: d.value.customPath,
|
|
17651
17659
|
"onUpdate:modelValue": fA[11] || (fA[11] = (rA) => d.value.customPath = rA),
|
|
17652
|
-
placeholder: j(
|
|
17660
|
+
placeholder: j(mA)("选填").value,
|
|
17653
17661
|
disabled: T.value,
|
|
17654
17662
|
maxlength: "20"
|
|
17655
17663
|
}, null, 8, ["modelValue", "placeholder", "disabled"])
|
|
17656
17664
|
]),
|
|
17657
|
-
|
|
17665
|
+
PA(j(m1), {
|
|
17658
17666
|
modelValue: W.value,
|
|
17659
17667
|
"onUpdate:modelValue": fA[12] || (fA[12] = (rA) => W.value = rA),
|
|
17660
17668
|
checkboxType: "default",
|
|
@@ -17663,7 +17671,7 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17663
17671
|
}, {
|
|
17664
17672
|
default: bA(() => [
|
|
17665
17673
|
BA(
|
|
17666
|
-
NA(j(
|
|
17674
|
+
NA(j(mA)("告警对象位置").value),
|
|
17667
17675
|
1
|
|
17668
17676
|
/* TEXT */
|
|
17669
17677
|
)
|
|
@@ -17676,9 +17684,9 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17676
17684
|
_: 1
|
|
17677
17685
|
/* STABLE */
|
|
17678
17686
|
}, 8, ["label", "error"])) : yA("v-if", !0),
|
|
17679
|
-
d.value.processTypeId == "createorder" ? (
|
|
17687
|
+
d.value.processTypeId == "createorder" ? (HA(), KA(j(D9), {
|
|
17680
17688
|
key: 4,
|
|
17681
|
-
label: j(
|
|
17689
|
+
label: j(mA)("报事主题").value,
|
|
17682
17690
|
required: "",
|
|
17683
17691
|
type: "custom",
|
|
17684
17692
|
error: b.value.reportTheme,
|
|
@@ -17687,8 +17695,8 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17687
17695
|
marginRight: "0"
|
|
17688
17696
|
}, {
|
|
17689
17697
|
default: bA(() => [
|
|
17690
|
-
|
|
17691
|
-
|
|
17698
|
+
uA("div", _N, [
|
|
17699
|
+
PA(j(rt), {
|
|
17692
17700
|
maxlength: "20",
|
|
17693
17701
|
disabled: I.value,
|
|
17694
17702
|
modelValue: d.value.reportTheme,
|
|
@@ -17696,7 +17704,7 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17696
17704
|
placeholder: l.value,
|
|
17697
17705
|
onChange: XA
|
|
17698
17706
|
}, null, 8, ["disabled", "modelValue", "placeholder"]),
|
|
17699
|
-
|
|
17707
|
+
PA(j(m1), {
|
|
17700
17708
|
modelValue: y.value,
|
|
17701
17709
|
"onUpdate:modelValue": fA[15] || (fA[15] = (rA) => y.value = rA),
|
|
17702
17710
|
checkboxType: "default",
|
|
@@ -17705,7 +17713,7 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17705
17713
|
}, {
|
|
17706
17714
|
default: bA(() => [
|
|
17707
17715
|
BA(
|
|
17708
|
-
NA(j(
|
|
17716
|
+
NA(j(mA)("告警对象").value),
|
|
17709
17717
|
1
|
|
17710
17718
|
/* TEXT */
|
|
17711
17719
|
)
|
|
@@ -17718,9 +17726,9 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17718
17726
|
_: 1
|
|
17719
17727
|
/* STABLE */
|
|
17720
17728
|
}, 8, ["label", "error"])) : yA("v-if", !0),
|
|
17721
|
-
d.value.processTypeId == "createorder" ? (
|
|
17729
|
+
d.value.processTypeId == "createorder" ? (HA(), KA(j(D9), {
|
|
17722
17730
|
key: 5,
|
|
17723
|
-
label: j(
|
|
17731
|
+
label: j(mA)("工单规则").value,
|
|
17724
17732
|
required: "",
|
|
17725
17733
|
type: "select",
|
|
17726
17734
|
modelValue: d.value.workOrderRules,
|
|
@@ -17736,9 +17744,9 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17736
17744
|
marginRight: "0"
|
|
17737
17745
|
}, null, 8, ["label", "modelValue", "error", "options"])) : yA("v-if", !0),
|
|
17738
17746
|
yA(" createcontingency 生成应急事件 "),
|
|
17739
|
-
d.value.processTypeId == "createcontingency" ? (
|
|
17747
|
+
d.value.processTypeId == "createcontingency" ? (HA(), KA(j(D9), {
|
|
17740
17748
|
key: 6,
|
|
17741
|
-
label: j(
|
|
17749
|
+
label: j(mA)("事件类型").value,
|
|
17742
17750
|
required: "",
|
|
17743
17751
|
type: "select",
|
|
17744
17752
|
modelValue: d.value.eventTypeId,
|
|
@@ -17754,9 +17762,9 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17754
17762
|
marginRight: "0",
|
|
17755
17763
|
onChange: fA[21] || (fA[21] = (rA) => cA("eventTypeId"))
|
|
17756
17764
|
}, null, 8, ["label", "modelValue", "error", "options"])) : yA("v-if", !0),
|
|
17757
|
-
d.value.processTypeId == "createcontingency" ? (
|
|
17765
|
+
d.value.processTypeId == "createcontingency" ? (HA(), KA(j(D9), {
|
|
17758
17766
|
key: 7,
|
|
17759
|
-
label: j(
|
|
17767
|
+
label: j(mA)("事件等级").value,
|
|
17760
17768
|
required: "",
|
|
17761
17769
|
type: "select",
|
|
17762
17770
|
modelValue: d.value.eventLevelId,
|
|
@@ -17772,9 +17780,9 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17772
17780
|
marginRight: "0",
|
|
17773
17781
|
onChange: fA[24] || (fA[24] = (rA) => cA("eventLevelId"))
|
|
17774
17782
|
}, null, 8, ["label", "modelValue", "error", "options"])) : yA("v-if", !0),
|
|
17775
|
-
d.value.processTypeId == "createcontingency" ? (
|
|
17783
|
+
d.value.processTypeId == "createcontingency" ? (HA(), KA(j(D9), {
|
|
17776
17784
|
key: 8,
|
|
17777
|
-
label: j(
|
|
17785
|
+
label: j(mA)("处置时限").value,
|
|
17778
17786
|
required: "",
|
|
17779
17787
|
type: "input",
|
|
17780
17788
|
maxlength: "3",
|
|
@@ -17788,8 +17796,8 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17788
17796
|
marginRight: "0"
|
|
17789
17797
|
}, {
|
|
17790
17798
|
default: bA(() => [
|
|
17791
|
-
|
|
17792
|
-
|
|
17799
|
+
uA("div", $N, [
|
|
17800
|
+
PA(j(Zt), {
|
|
17793
17801
|
class: "select",
|
|
17794
17802
|
modelValue: d.value.interval,
|
|
17795
17803
|
"onUpdate:modelValue": fA[25] || (fA[25] = (rA) => d.value.interval = rA),
|
|
@@ -17803,7 +17811,7 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17803
17811
|
size: "small",
|
|
17804
17812
|
"get-popup-container": S,
|
|
17805
17813
|
onChange: fA[26] || (fA[26] = (rA) => cA("interval")),
|
|
17806
|
-
placeholder: j(
|
|
17814
|
+
placeholder: j(mA)("请选择").value
|
|
17807
17815
|
}, null, 8, ["modelValue", "width", "options", "placeholder"])
|
|
17808
17816
|
])
|
|
17809
17817
|
]),
|
|
@@ -17851,33 +17859,33 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17851
17859
|
}, u = () => {
|
|
17852
17860
|
r("handerDetail", e.msgItem);
|
|
17853
17861
|
};
|
|
17854
|
-
return (z, c) => (
|
|
17862
|
+
return (z, c) => (HA(), hA(
|
|
17855
17863
|
Cf,
|
|
17856
17864
|
null,
|
|
17857
17865
|
[
|
|
17858
17866
|
yA(` <div class="alarm-msg" :style="{ 'border-color': msgItem.color }"> `),
|
|
17859
|
-
|
|
17860
|
-
|
|
17861
|
-
|
|
17867
|
+
uA("div", rZ, [
|
|
17868
|
+
uA("div", tZ, [
|
|
17869
|
+
uA(
|
|
17862
17870
|
"div",
|
|
17863
17871
|
{
|
|
17864
17872
|
style: q1({ "background-color": z.msgItem.color }),
|
|
17865
17873
|
class: "title-detail"
|
|
17866
17874
|
},
|
|
17867
17875
|
[
|
|
17868
|
-
|
|
17876
|
+
uA("div", PZ, [
|
|
17869
17877
|
yA(` <div class="icon-box" :style="{ color: msgItem.color }">\r
|
|
17870
17878
|
!\r
|
|
17871
17879
|
</div> `),
|
|
17872
|
-
|
|
17880
|
+
uA(
|
|
17873
17881
|
"div",
|
|
17874
17882
|
uZ,
|
|
17875
|
-
NA(j(
|
|
17883
|
+
NA(j(mA)("新告警").value),
|
|
17876
17884
|
1
|
|
17877
17885
|
/* TEXT */
|
|
17878
17886
|
)
|
|
17879
17887
|
]),
|
|
17880
|
-
c[0] || (c[0] =
|
|
17888
|
+
c[0] || (c[0] = uA(
|
|
17881
17889
|
"div",
|
|
17882
17890
|
{ class: "title-right" },
|
|
17883
17891
|
null,
|
|
@@ -17888,16 +17896,16 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17888
17896
|
4
|
|
17889
17897
|
/* STYLE */
|
|
17890
17898
|
),
|
|
17891
|
-
|
|
17892
|
-
|
|
17893
|
-
|
|
17899
|
+
uA("div", dZ, [
|
|
17900
|
+
uA("div", zZ, [
|
|
17901
|
+
uA(
|
|
17894
17902
|
"div",
|
|
17895
17903
|
XZ,
|
|
17896
|
-
NA(j(
|
|
17904
|
+
NA(j(mA)("告警等级:").value),
|
|
17897
17905
|
1
|
|
17898
17906
|
/* TEXT */
|
|
17899
17907
|
),
|
|
17900
|
-
|
|
17908
|
+
uA(
|
|
17901
17909
|
"div",
|
|
17902
17910
|
{
|
|
17903
17911
|
class: "alarm-msg-line-right alarm-content-object",
|
|
@@ -17908,15 +17916,15 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17908
17916
|
/* TEXT, STYLE */
|
|
17909
17917
|
)
|
|
17910
17918
|
]),
|
|
17911
|
-
|
|
17912
|
-
|
|
17919
|
+
uA("div", bZ, [
|
|
17920
|
+
uA(
|
|
17913
17921
|
"div",
|
|
17914
17922
|
cZ,
|
|
17915
|
-
NA(j(
|
|
17923
|
+
NA(j(mA)("告警对象:").value),
|
|
17916
17924
|
1
|
|
17917
17925
|
/* TEXT */
|
|
17918
17926
|
),
|
|
17919
|
-
|
|
17927
|
+
uA(
|
|
17920
17928
|
"div",
|
|
17921
17929
|
aZ,
|
|
17922
17930
|
NA(z.msgItem.equipmentName || ""),
|
|
@@ -17924,15 +17932,15 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17924
17932
|
/* TEXT */
|
|
17925
17933
|
)
|
|
17926
17934
|
]),
|
|
17927
|
-
|
|
17928
|
-
|
|
17935
|
+
uA("div", iZ, [
|
|
17936
|
+
uA(
|
|
17929
17937
|
"div",
|
|
17930
17938
|
qZ,
|
|
17931
|
-
NA(j(
|
|
17939
|
+
NA(j(mA)("告警内容:").value),
|
|
17932
17940
|
1
|
|
17933
17941
|
/* TEXT */
|
|
17934
17942
|
),
|
|
17935
|
-
|
|
17943
|
+
uA(
|
|
17936
17944
|
"div",
|
|
17937
17945
|
sZ,
|
|
17938
17946
|
NA(z.msgItem.alarmContent || ""),
|
|
@@ -17940,8 +17948,8 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17940
17948
|
/* TEXT */
|
|
17941
17949
|
)
|
|
17942
17950
|
]),
|
|
17943
|
-
|
|
17944
|
-
z.msgItem.equipmentCode && z.msgItem.equipmentPanelCode ? (
|
|
17951
|
+
uA("div", pZ, [
|
|
17952
|
+
z.msgItem.equipmentCode && z.msgItem.equipmentPanelCode ? (HA(), KA(j(W9), {
|
|
17945
17953
|
key: 0,
|
|
17946
17954
|
block: "",
|
|
17947
17955
|
onClick: m9(u, ["stop"]),
|
|
@@ -17950,7 +17958,7 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17950
17958
|
}, {
|
|
17951
17959
|
default: bA(() => [
|
|
17952
17960
|
BA(
|
|
17953
|
-
NA(j(
|
|
17961
|
+
NA(j(mA)("设备详情").value),
|
|
17954
17962
|
1
|
|
17955
17963
|
/* TEXT */
|
|
17956
17964
|
)
|
|
@@ -17958,7 +17966,7 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17958
17966
|
_: 1
|
|
17959
17967
|
/* STABLE */
|
|
17960
17968
|
})) : yA("v-if", !0),
|
|
17961
|
-
z.alarmhandle ? (
|
|
17969
|
+
z.alarmhandle ? (HA(), KA(j(W9), {
|
|
17962
17970
|
key: 1,
|
|
17963
17971
|
block: "",
|
|
17964
17972
|
btnType: "primary-text",
|
|
@@ -17967,7 +17975,7 @@ const WN = N9(`/api/tool/event-bus/${Gv}/`), $r = WN.post("/publish"), oN = Nv.g
|
|
|
17967
17975
|
}, {
|
|
17968
17976
|
default: bA(() => [
|
|
17969
17977
|
BA(
|
|
17970
|
-
NA(j(
|
|
17978
|
+
NA(j(mA)("处理").value),
|
|
17971
17979
|
1
|
|
17972
17980
|
/* TEXT */
|
|
17973
17981
|
)
|
|
@@ -17994,7 +18002,7 @@ let mZ = (n = 21) => {
|
|
|
17994
18002
|
return f;
|
|
17995
18003
|
};
|
|
17996
18004
|
const OZ = () => {
|
|
17997
|
-
const n =
|
|
18005
|
+
const n = J(null), f = J(0), e = J(null), r = J(null), P = J([]), u = J([]), z = J(!1), c = J(!1), a = J(!1), d = J({
|
|
17998
18006
|
playId: "",
|
|
17999
18007
|
// 播放的告警的recordId
|
|
18000
18008
|
playPath: "",
|
|
@@ -18035,7 +18043,7 @@ const OZ = () => {
|
|
|
18035
18043
|
av.open({
|
|
18036
18044
|
key: I,
|
|
18037
18045
|
class: "alarm-notify",
|
|
18038
|
-
message:
|
|
18046
|
+
message: mA("新告警").value,
|
|
18039
18047
|
placement: "bottomRight",
|
|
18040
18048
|
description: y9(HZ, {
|
|
18041
18049
|
msgItem: L,
|
|
@@ -18121,12 +18129,12 @@ const OZ = () => {
|
|
|
18121
18129
|
await Dv(), e();
|
|
18122
18130
|
}), _3(() => {
|
|
18123
18131
|
f.value && f.value.disconnect(), f.value = null;
|
|
18124
|
-
}), (z, c) => (
|
|
18132
|
+
}), (z, c) => (HA(), hA(
|
|
18125
18133
|
Cf,
|
|
18126
18134
|
null,
|
|
18127
18135
|
[
|
|
18128
|
-
|
|
18129
|
-
|
|
18136
|
+
PA(j(u)),
|
|
18137
|
+
uA("audio", {
|
|
18130
18138
|
src: j(r).playPath,
|
|
18131
18139
|
class: "audio-alarm-level",
|
|
18132
18140
|
ref_key: "audioAlarmRef",
|
|
@@ -18141,7 +18149,7 @@ const OZ = () => {
|
|
|
18141
18149
|
));
|
|
18142
18150
|
}
|
|
18143
18151
|
}), RZ = () => {
|
|
18144
|
-
const n =
|
|
18152
|
+
const n = J(null), f = J(null), e = () => {
|
|
18145
18153
|
n.value && (clearTimeout(n.value), n.value = null), f.value && (clearInterval(f.value), f.value = null);
|
|
18146
18154
|
}, r = async () => {
|
|
18147
18155
|
try {
|
|
@@ -18228,12 +18236,12 @@ const OZ = () => {
|
|
|
18228
18236
|
const { $changePwd: O, $personSetDialog: s } = _x(), { $aiPanel: x, toApp: p, getAIPanelStatus: q } = uR(), { changeEnterprisesVisible: l, userId: V, tenantId: N, changeEnterprise: T } = k5();
|
|
18229
18237
|
qV();
|
|
18230
18238
|
const { fontColor: W, backgroudColor: D, borderColor: L } = pV();
|
|
18231
|
-
return dR(), zR(m), XR(), cR(), GR(), EN(), RZ(), (I, y) => (
|
|
18239
|
+
return dR(), zR(m), XR(), cR(), GR(), EN(), RZ(), (I, y) => (HA(), hA("div", NZ, [
|
|
18232
18240
|
yA(` <button @click="test(0)">test</button>\r
|
|
18233
18241
|
<button style="margin-left: 5px" @click="test(1)">test2</button> `),
|
|
18234
|
-
|
|
18242
|
+
PA(j(oi), { platformInitNextTick: j(a) }, {
|
|
18235
18243
|
default: bA(() => [
|
|
18236
|
-
|
|
18244
|
+
PA(pi, {
|
|
18237
18245
|
loading: j(d),
|
|
18238
18246
|
pageKey: j(b) + j($3),
|
|
18239
18247
|
showLayout: P.value,
|
|
@@ -18258,7 +18266,7 @@ const OZ = () => {
|
|
|
18258
18266
|
/* FORWARDED */
|
|
18259
18267
|
}, 8, ["platformInitNextTick"]),
|
|
18260
18268
|
yA(" 切换租户 "),
|
|
18261
|
-
|
|
18269
|
+
PA(j(T0), {
|
|
18262
18270
|
visible: j(l),
|
|
18263
18271
|
"onUpdate:visible": y[0] || (y[0] = (w) => Tf(l) ? l.value = w : null),
|
|
18264
18272
|
userId: j(V),
|
|
@@ -18266,7 +18274,7 @@ const OZ = () => {
|
|
|
18266
18274
|
onConfirm: j(T)
|
|
18267
18275
|
}, null, 8, ["visible", "userId", "tenantId", "onConfirm"]),
|
|
18268
18276
|
yA(" 修改密码 "),
|
|
18269
|
-
|
|
18277
|
+
PA(
|
|
18270
18278
|
j(Z0),
|
|
18271
18279
|
{
|
|
18272
18280
|
ref_key: "$changePwd",
|
|
@@ -18277,7 +18285,7 @@ const OZ = () => {
|
|
|
18277
18285
|
/* NEED_PATCH */
|
|
18278
18286
|
),
|
|
18279
18287
|
yA(" 个性化设置 "),
|
|
18280
|
-
|
|
18288
|
+
PA(
|
|
18281
18289
|
j(PV),
|
|
18282
18290
|
{
|
|
18283
18291
|
ref_key: "$personSetDialog",
|
|
@@ -18288,7 +18296,7 @@ const OZ = () => {
|
|
|
18288
18296
|
/* NEED_PATCH */
|
|
18289
18297
|
),
|
|
18290
18298
|
yA(" AI助手 "),
|
|
18291
|
-
|
|
18299
|
+
PA(j(D0), {
|
|
18292
18300
|
platformInitNextTick: j(a),
|
|
18293
18301
|
onToApp: j(p),
|
|
18294
18302
|
ref_key: "$aiPanel",
|
|
@@ -18296,7 +18304,7 @@ const OZ = () => {
|
|
|
18296
18304
|
onGetStatus: j(q)
|
|
18297
18305
|
}, null, 8, ["platformInitNextTick", "onToApp", "onGetStatus"]),
|
|
18298
18306
|
yA(" 告警 "),
|
|
18299
|
-
|
|
18307
|
+
PA(j(xZ))
|
|
18300
18308
|
]));
|
|
18301
18309
|
}
|
|
18302
18310
|
}), TZ = /* @__PURE__ */ B9(ZZ, [["__scopeId", "data-v-c14c1d2c"]]), DZ = {
|
|
@@ -18486,11 +18494,11 @@ const OZ = () => {
|
|
|
18486
18494
|
}
|
|
18487
18495
|
};
|
|
18488
18496
|
V0(DZ);
|
|
18489
|
-
|
|
18497
|
+
J("@das-fed/web");
|
|
18490
18498
|
const jZ = [
|
|
18491
18499
|
{
|
|
18492
18500
|
path: h9,
|
|
18493
|
-
component: () => import("./index-
|
|
18501
|
+
component: () => import("./index-BY9ptpcV.js"),
|
|
18494
18502
|
meta: {
|
|
18495
18503
|
layout: {
|
|
18496
18504
|
minWidth: "0px"
|
|
@@ -18499,7 +18507,7 @@ const jZ = [
|
|
|
18499
18507
|
},
|
|
18500
18508
|
{
|
|
18501
18509
|
path: Vd,
|
|
18502
|
-
component: () => import("./index-
|
|
18510
|
+
component: () => import("./index-6adu5oAS.js")
|
|
18503
18511
|
}
|
|
18504
18512
|
], $T = {
|
|
18505
18513
|
routes: jZ,
|