@das-fed/web 6.4.0-dev.65 → 6.4.0-dev.67
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/{packages/main-app-framework/index-CfRoQ3TY.js → index-Bjhe-VfY.js} +1 -1
- package/index-Bjhe-VfY.js.gz +0 -0
- package/{index-BYLlZLF5.js → index-CEBWz-em.js} +124 -130
- package/index-CEBWz-em.js.gz +0 -0
- package/{packages/main-app-framework/index-Ceva1MO_.js → index-KoUHdwM-.js} +1 -1
- package/index.js +1 -1
- package/package.json +6 -6
- package/{index-IDpa-49a.js → packages/main-app-framework/index-8nlLUf3K.js} +1 -1
- package/packages/main-app-framework/index-8nlLUf3K.js.gz +0 -0
- package/{index-CEWHVL-k.js → packages/main-app-framework/index-B1MxyirO.js} +1 -1
- package/packages/main-app-framework/{index-Bt2OAOxX.js → index-CBR3fVt0.js} +80 -86
- package/packages/main-app-framework/index-CBR3fVt0.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/style.css +1 -1
- package/style.css.gz +0 -0
- package/index-BYLlZLF5.js.gz +0 -0
- package/index-IDpa-49a.js.gz +0 -0
- package/packages/main-app-framework/index-Bt2OAOxX.js.gz +0 -0
- package/packages/main-app-framework/index-CfRoQ3TY.js.gz +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ref as j, createApp as ut, reactive as ze, computed as fA, defineComponent as sA, watch as bA, openBlock as G, createElementBlock as aA, Fragment as $A, createBlock as tA, TransitionGroup as zt, normalizeProps as Cn, mergeProps as of, withCtx as Q, renderList as cf, withDirectives as wA, resolveDynamicComponent as Qe, vShow as GA, unref as V, createCommentVNode as
|
|
1
|
+
import { ref as j, createApp as ut, reactive as ze, computed as fA, defineComponent as sA, watch as bA, openBlock as G, createElementBlock as aA, Fragment as $A, createBlock as tA, TransitionGroup as zt, normalizeProps as Cn, mergeProps as of, withCtx as Q, renderList as cf, withDirectives as wA, resolveDynamicComponent as Qe, vShow as GA, unref as V, createCommentVNode as AA, nextTick as ie, resolveComponent as at, createElementVNode as g, normalizeClass as i9, normalizeStyle as _n, renderSlot as TA, createVNode as k, Transition as C9, guardReactiveProps as _9, KeepAlive as $9, h as NA, onBeforeMount as Xt, onMounted as de, onUnmounted as it, getCurrentScope as ct, onScopeDispose as bt, getCurrentInstance as st, onActivated as qt, createTextVNode as oA, toDisplayString as PA, render as Mf, isRef as ee, onBeforeUnmount as Hf, useCssVars as lt, withModifiers as jA, toRefs as pt } from "vue";
|
|
2
2
|
import { initTheme as mt, setThemeRule as ot, getVar as Av } from "@das-fed/web/packages/theme/index";
|
|
3
|
-
import { initI18n as Ht, t as B, i18n as
|
|
3
|
+
import { initI18n as Ht, t as B, i18n as eA, setI18nRule as xt } from "@das-fed/web/packages/i18n/index";
|
|
4
4
|
import { DasWebLayout as c9, DasWebNav as L3, DasWebMenu as W3, DasWebTabs as I3, layout as S, layoutData as E3 } from "@das-fed/web/packages/layout/index";
|
|
5
5
|
import { createPinia as Vt } from "pinia";
|
|
6
6
|
import Ot from "pinia-plugin-persistedstate";
|
|
@@ -588,8 +588,8 @@ const nv = (e, A) => {
|
|
|
588
588
|
},
|
|
589
589
|
16
|
|
590
590
|
/* FULL_PROPS */
|
|
591
|
-
)) :
|
|
592
|
-
a.needTransition ?
|
|
591
|
+
)) : AA("v-if", !0),
|
|
592
|
+
a.needTransition ? AA("v-if", !0) : (G(!0), aA(
|
|
593
593
|
$A,
|
|
594
594
|
{ key: 1 },
|
|
595
595
|
cf(P.value, ({ path: c, meta: b }) => wA((G(), aA("div", {
|
|
@@ -708,7 +708,7 @@ const nv = (e, A) => {
|
|
|
708
708
|
/* NEED_PATCH */
|
|
709
709
|
)), [
|
|
710
710
|
[GA, s.value]
|
|
711
|
-
]) :
|
|
711
|
+
]) : AA("v-if", !0),
|
|
712
712
|
g("div", I7, [
|
|
713
713
|
d.value ? wA((G(), aA(
|
|
714
714
|
"div",
|
|
@@ -720,7 +720,7 @@ const nv = (e, A) => {
|
|
|
720
720
|
/* NEED_PATCH */
|
|
721
721
|
)), [
|
|
722
722
|
[GA, s.value]
|
|
723
|
-
]) :
|
|
723
|
+
]) : AA("v-if", !0),
|
|
724
724
|
g("div", w7, [
|
|
725
725
|
u.value ? wA((G(), aA(
|
|
726
726
|
"div",
|
|
@@ -732,7 +732,7 @@ const nv = (e, A) => {
|
|
|
732
732
|
/* NEED_PATCH */
|
|
733
733
|
)), [
|
|
734
734
|
[GA, s.value]
|
|
735
|
-
]) :
|
|
735
|
+
]) : AA("v-if", !0),
|
|
736
736
|
g("div", M7, [
|
|
737
737
|
wA(g(
|
|
738
738
|
"div",
|
|
@@ -751,7 +751,7 @@ const nv = (e, A) => {
|
|
|
751
751
|
Q7,
|
|
752
752
|
[
|
|
753
753
|
TA(q.$slots, "router-view", {}, () => [
|
|
754
|
-
|
|
754
|
+
AA(" 有动画 "),
|
|
755
755
|
q.needTransition ? (G(), tA(O, { key: 0 }, {
|
|
756
756
|
default: Q(({ Component: H }) => [
|
|
757
757
|
k(
|
|
@@ -767,8 +767,8 @@ const nv = (e, A) => {
|
|
|
767
767
|
}, [
|
|
768
768
|
c.value && !((R = V(f).meta) != null && R.isIframe) ? (G(), tA(Qe(l(H, V(f).path)), {
|
|
769
769
|
key: V(f).path
|
|
770
|
-
})) :
|
|
771
|
-
], 1032, ["exclude"])) :
|
|
770
|
+
})) : AA("v-if", !0)
|
|
771
|
+
], 1032, ["exclude"])) : AA("v-if", !0)
|
|
772
772
|
];
|
|
773
773
|
}),
|
|
774
774
|
_: 2
|
|
@@ -786,7 +786,7 @@ const nv = (e, A) => {
|
|
|
786
786
|
(G(), tA(Qe(H), {
|
|
787
787
|
key: V(f).path
|
|
788
788
|
}))
|
|
789
|
-
])) :
|
|
789
|
+
])) : AA("v-if", !0)
|
|
790
790
|
]),
|
|
791
791
|
_: 2
|
|
792
792
|
/* DYNAMIC */
|
|
@@ -797,9 +797,9 @@ const nv = (e, A) => {
|
|
|
797
797
|
]),
|
|
798
798
|
_: 1
|
|
799
799
|
/* STABLE */
|
|
800
|
-
})) :
|
|
801
|
-
|
|
802
|
-
q.needTransition ?
|
|
800
|
+
})) : AA("v-if", !0),
|
|
801
|
+
AA(" 无动画 "),
|
|
802
|
+
q.needTransition ? AA("v-if", !0) : (G(), tA(O, { key: 1 }, {
|
|
803
803
|
default: Q(({ Component: H }) => [
|
|
804
804
|
V(f).meta.keepAlive ? (G(), tA($9, {
|
|
805
805
|
key: 0,
|
|
@@ -807,13 +807,13 @@ const nv = (e, A) => {
|
|
|
807
807
|
}, [
|
|
808
808
|
c.value && !V(f).meta.isIframe ? (G(), tA(Qe(l(H, V(f).path)), {
|
|
809
809
|
key: V(f).path
|
|
810
|
-
})) :
|
|
811
|
-
], 1032, ["exclude"])) :
|
|
810
|
+
})) : AA("v-if", !0)
|
|
811
|
+
], 1032, ["exclude"])) : AA("v-if", !0),
|
|
812
812
|
!V(f).meta.keepAlive && !V(f).meta.isIframe ? (G(), aA("div", U7, [
|
|
813
813
|
(G(), tA(Qe(H), {
|
|
814
814
|
key: V(f).path
|
|
815
815
|
}))
|
|
816
|
-
])) :
|
|
816
|
+
])) : AA("v-if", !0)
|
|
817
817
|
]),
|
|
818
818
|
_: 1
|
|
819
819
|
/* STABLE */
|
|
@@ -957,7 +957,7 @@ const nv = (e, A) => {
|
|
|
957
957
|
}, r.value, {
|
|
958
958
|
onChange: z,
|
|
959
959
|
"on:toggleCollapse": p
|
|
960
|
-
}), null, 16, S7)) :
|
|
960
|
+
}), null, 16, S7)) : AA("v-if", !0);
|
|
961
961
|
}
|
|
962
962
|
}), K7 = ["theme", "modelValue", "options"], ai = /* @__PURE__ */ sA({
|
|
963
963
|
__name: "das-web-tabs",
|
|
@@ -993,7 +993,7 @@ const nv = (e, A) => {
|
|
|
993
993
|
"on:menuClick": t,
|
|
994
994
|
"on:pageRefresh": z,
|
|
995
995
|
"on:toggleFullScreen": p
|
|
996
|
-
}), null, 16, K7)) :
|
|
996
|
+
}), null, 16, K7)) : AA("v-if", !0);
|
|
997
997
|
}
|
|
998
998
|
}), Pv = j("/das-micro-app"), yA = j([]), Ef = j(!1), Tf = j([]), Lf = j(!0);
|
|
999
999
|
let CA = null, _A = null, Me = null;
|
|
@@ -1412,7 +1412,7 @@ const cP = ["src", "entry", "name"], bP = /* @__PURE__ */ sA({
|
|
|
1412
1412
|
onOnDeactivated: (u) => r(u, d.name)
|
|
1413
1413
|
}, null, 8, ["src", "name", "actived", "onOnLoaded", "onOnActivated", "onOnDeactivated"])), [
|
|
1414
1414
|
[GA, d.actived]
|
|
1415
|
-
]) :
|
|
1415
|
+
]) : AA("v-if", !0)
|
|
1416
1416
|
],
|
|
1417
1417
|
64
|
|
1418
1418
|
/* STABLE_FRAGMENT */
|
|
@@ -1784,7 +1784,7 @@ const cP = ["src", "entry", "name"], bP = /* @__PURE__ */ sA({
|
|
|
1784
1784
|
],
|
|
1785
1785
|
64
|
|
1786
1786
|
/* STABLE_FRAGMENT */
|
|
1787
|
-
)) :
|
|
1787
|
+
)) : AA("v-if", !0)
|
|
1788
1788
|
]),
|
|
1789
1789
|
_: 1
|
|
1790
1790
|
/* STABLE */
|
|
@@ -8512,11 +8512,7 @@ const B8 = (e) => {
|
|
|
8512
8512
|
},
|
|
8513
8513
|
emits: ["reset-confirm"],
|
|
8514
8514
|
setup(e, { expose: A, emit: f }) {
|
|
8515
|
-
const n = f, r = Pe(), v = j({
|
|
8516
|
-
/** 首页展示类型 1内置门户 2外置门户 3轻分析 */
|
|
8517
|
-
type: 1
|
|
8518
|
-
}), P = j([]), d = j({
|
|
8519
|
-
type: "",
|
|
8515
|
+
const n = f, r = Pe(), v = j({}), P = j([]), d = j({
|
|
8520
8516
|
routeUrl: "",
|
|
8521
8517
|
homeAlias: ""
|
|
8522
8518
|
}), u = async () => {
|
|
@@ -8569,14 +8565,14 @@ const B8 = (e) => {
|
|
|
8569
8565
|
orgInfo: r,
|
|
8570
8566
|
information: v
|
|
8571
8567
|
}), W = () => {
|
|
8572
|
-
v.value.type
|
|
8568
|
+
!v.value.type || v.value.type === 3 || (v.value.type === 1 ? s() : K());
|
|
8573
8569
|
}, w = j(null), I = () => {
|
|
8574
8570
|
var C;
|
|
8575
8571
|
(C = w.value) == null || C.open();
|
|
8576
8572
|
}, cA = async (C) => {
|
|
8577
8573
|
const [$, vA] = await Z8().run();
|
|
8578
|
-
$ || (await y9(), C(), n("reset-confirm"));
|
|
8579
|
-
}, iA = () =>
|
|
8574
|
+
$ || (await t(), await y9(), C(), n("reset-confirm"));
|
|
8575
|
+
}, iA = () => (v.value.type === 1 || v.value.type === 2) && !v.value.routeUrl ? (d.value.routeUrl = B("必填"), !1) : (d.value.routeUrl = "", v.value.homeAlias && v.value.homeAlias.length > 50 ? (d.value.homeAlias = B("最多50个字符,可以是任意字符"), !1) : (d.value.homeAlias = "", !0)), DA = () => {
|
|
8580
8576
|
const C = v.value, $ = {
|
|
8581
8577
|
id: C.id,
|
|
8582
8578
|
type: C.type,
|
|
@@ -8605,40 +8601,38 @@ const B8 = (e) => {
|
|
|
8605
8601
|
cols: 1
|
|
8606
8602
|
}, {
|
|
8607
8603
|
default: Q(() => [
|
|
8604
|
+
AA(" 首页展示类型 1内置门户 2外置门户 3轻分析 "),
|
|
8608
8605
|
k(V(QA), {
|
|
8609
8606
|
type: "select",
|
|
8610
8607
|
label: V(B)("展示类型"),
|
|
8611
8608
|
modelValue: v.value.type,
|
|
8612
8609
|
"onUpdate:modelValue": $[0] || ($[0] = (vA) => v.value.type = vA),
|
|
8613
|
-
error: d.value.type,
|
|
8614
|
-
"onUpdate:error": $[1] || ($[1] = (vA) => d.value.type = vA),
|
|
8615
8610
|
options: P.value,
|
|
8616
8611
|
"options-value-key": "code",
|
|
8617
8612
|
"options-label-key": "name",
|
|
8618
|
-
required: "",
|
|
8619
8613
|
"margin-right": "0",
|
|
8620
8614
|
onChange: p
|
|
8621
|
-
}, null, 8, ["label", "modelValue", "
|
|
8615
|
+
}, null, 8, ["label", "modelValue", "options"]),
|
|
8622
8616
|
k(V(QA), {
|
|
8623
8617
|
type: "custom",
|
|
8624
8618
|
label: V(B)("链接"),
|
|
8625
8619
|
error: d.value.routeUrl,
|
|
8626
|
-
"onUpdate:error": $[
|
|
8620
|
+
"onUpdate:error": $[2] || ($[2] = (vA) => d.value.routeUrl = vA),
|
|
8627
8621
|
"margin-right": "0",
|
|
8628
8622
|
required: v.value.type === 1 || v.value.type === 2
|
|
8629
8623
|
}, {
|
|
8630
8624
|
default: Q(() => [
|
|
8631
8625
|
k(V(n9), {
|
|
8632
8626
|
modelValue: v.value.routeUrl,
|
|
8633
|
-
"onUpdate:modelValue": $[
|
|
8627
|
+
"onUpdate:modelValue": $[1] || ($[1] = (vA) => v.value.routeUrl = vA),
|
|
8634
8628
|
maxLength: 1e3,
|
|
8635
8629
|
width: "100%",
|
|
8636
8630
|
disabled: v.value.type !== 2
|
|
8637
8631
|
}, {
|
|
8638
8632
|
suffix: Q(() => [
|
|
8639
8633
|
k(V(r7), {
|
|
8640
|
-
class: i9({ disabled: v.value.type === 3 }),
|
|
8641
|
-
"icon-color": v.value.type === 3 ? V(Av)("--das-ui-portal-management-disabled-color") : V(Av)("--das-ui-color-secondary"),
|
|
8634
|
+
class: i9({ disabled: !v.value.type || v.value.type === 3 }),
|
|
8635
|
+
"icon-color": !v.value.type || v.value.type === 3 ? V(Av)("--das-ui-portal-management-disabled-color") : V(Av)("--das-ui-color-secondary"),
|
|
8642
8636
|
onClick: W
|
|
8643
8637
|
}, null, 8, ["class", "icon-color"])
|
|
8644
8638
|
]),
|
|
@@ -8655,9 +8649,9 @@ const B8 = (e) => {
|
|
|
8655
8649
|
label: V(B)("别名"),
|
|
8656
8650
|
maxlength: 50,
|
|
8657
8651
|
modelValue: v.value.homeAlias,
|
|
8658
|
-
"onUpdate:modelValue": $[
|
|
8652
|
+
"onUpdate:modelValue": $[3] || ($[3] = (vA) => v.value.homeAlias = vA),
|
|
8659
8653
|
error: d.value.homeAlias,
|
|
8660
|
-
"onUpdate:error": $[
|
|
8654
|
+
"onUpdate:error": $[4] || ($[4] = (vA) => d.value.homeAlias = vA),
|
|
8661
8655
|
"margin-right": "0"
|
|
8662
8656
|
}, null, 8, ["label", "modelValue", "error"]),
|
|
8663
8657
|
k(V(QA), {
|
|
@@ -8697,10 +8691,10 @@ const B8 = (e) => {
|
|
|
8697
8691
|
), [
|
|
8698
8692
|
[GA, C.isShow]
|
|
8699
8693
|
]),
|
|
8700
|
-
|
|
8694
|
+
AA(" 内置链接选择弹窗 "),
|
|
8701
8695
|
k(V(Je), {
|
|
8702
8696
|
modelValue: V(a),
|
|
8703
|
-
"onUpdate:modelValue": $[
|
|
8697
|
+
"onUpdate:modelValue": $[9] || ($[9] = (vA) => ee(a) ? a.value = vA : null),
|
|
8704
8698
|
"body-style": { padding: 0 },
|
|
8705
8699
|
title: V(B)("选择内置门户菜单"),
|
|
8706
8700
|
width: "610px",
|
|
@@ -8710,7 +8704,7 @@ const B8 = (e) => {
|
|
|
8710
8704
|
g("div", null, [
|
|
8711
8705
|
k(V(YA), {
|
|
8712
8706
|
size: "middle",
|
|
8713
|
-
onClick: $[
|
|
8707
|
+
onClick: $[8] || ($[8] = (vA) => a.value = !1)
|
|
8714
8708
|
}, {
|
|
8715
8709
|
default: Q(() => [
|
|
8716
8710
|
oA(
|
|
@@ -8746,11 +8740,11 @@ const B8 = (e) => {
|
|
|
8746
8740
|
ref_key: "$typeTree",
|
|
8747
8741
|
ref: i,
|
|
8748
8742
|
modelValue: V(c),
|
|
8749
|
-
"onUpdate:modelValue": $[
|
|
8743
|
+
"onUpdate:modelValue": $[5] || ($[5] = (vA) => ee(c) ? c.value = vA : null),
|
|
8750
8744
|
path: V(b),
|
|
8751
|
-
"onUpdate:path": $[
|
|
8745
|
+
"onUpdate:path": $[6] || ($[6] = (vA) => ee(b) ? b.value = vA : null),
|
|
8752
8746
|
"filter-value": V(X),
|
|
8753
|
-
"onUpdate:filterValue": $[
|
|
8747
|
+
"onUpdate:filterValue": $[7] || ($[7] = (vA) => ee(X) ? X.value = vA : null),
|
|
8754
8748
|
data: V(l),
|
|
8755
8749
|
"is-ellipsis": "",
|
|
8756
8750
|
"default-expanded-keys": ["-1"],
|
|
@@ -8763,10 +8757,10 @@ const B8 = (e) => {
|
|
|
8763
8757
|
_: 1
|
|
8764
8758
|
/* STABLE */
|
|
8765
8759
|
}, 8, ["modelValue", "title"]),
|
|
8766
|
-
|
|
8760
|
+
AA(" 非内置链接选择弹窗 "),
|
|
8767
8761
|
k(V(Je), {
|
|
8768
8762
|
modelValue: V(x),
|
|
8769
|
-
"onUpdate:modelValue": $[
|
|
8763
|
+
"onUpdate:modelValue": $[16] || ($[16] = (vA) => ee(x) ? x.value = vA : null),
|
|
8770
8764
|
"custom-class": "framework-portal-management-url-dialog",
|
|
8771
8765
|
"body-style": { padding: 0 },
|
|
8772
8766
|
title: V(B)("选择URL链接"),
|
|
@@ -8777,7 +8771,7 @@ const B8 = (e) => {
|
|
|
8777
8771
|
g("div", null, [
|
|
8778
8772
|
k(V(YA), {
|
|
8779
8773
|
size: "middle",
|
|
8780
|
-
onClick: $[
|
|
8774
|
+
onClick: $[15] || ($[15] = (vA) => x.value = !1)
|
|
8781
8775
|
}, {
|
|
8782
8776
|
default: Q(() => [
|
|
8783
8777
|
oA(
|
|
@@ -8821,7 +8815,7 @@ const B8 = (e) => {
|
|
|
8821
8815
|
),
|
|
8822
8816
|
k(V(F3), {
|
|
8823
8817
|
modelValue: V(D),
|
|
8824
|
-
"onUpdate:modelValue": $[
|
|
8818
|
+
"onUpdate:modelValue": $[10] || ($[10] = (vA) => ee(D) ? D.value = vA : null),
|
|
8825
8819
|
size: "small",
|
|
8826
8820
|
width: "200px",
|
|
8827
8821
|
options: V(o),
|
|
@@ -8831,7 +8825,7 @@ const B8 = (e) => {
|
|
|
8831
8825
|
g("div", K8, [
|
|
8832
8826
|
k(V(d7), {
|
|
8833
8827
|
modelValue: V(_),
|
|
8834
|
-
"onUpdate:modelValue": $[
|
|
8828
|
+
"onUpdate:modelValue": $[11] || ($[11] = (vA) => ee(_) ? _.value = vA : null),
|
|
8835
8829
|
clearable: "",
|
|
8836
8830
|
size: "small",
|
|
8837
8831
|
placeholder: V(B)("搜索名称"),
|
|
@@ -8845,13 +8839,13 @@ const B8 = (e) => {
|
|
|
8845
8839
|
k(V(v7), {
|
|
8846
8840
|
data: V(N),
|
|
8847
8841
|
currentRodioSelection: V(h),
|
|
8848
|
-
"onUpdate:currentRodioSelection": $[
|
|
8842
|
+
"onUpdate:currentRodioSelection": $[12] || ($[12] = (vA) => ee(h) ? h.value = vA : null),
|
|
8849
8843
|
"radio-selection": { selectable: () => !0 },
|
|
8850
8844
|
"max-height": "100%",
|
|
8851
8845
|
"current-page": V(y),
|
|
8852
|
-
"onUpdate:currentPage": $[
|
|
8846
|
+
"onUpdate:currentPage": $[13] || ($[13] = (vA) => ee(y) ? y.value = vA : null),
|
|
8853
8847
|
"page-size": V(Z),
|
|
8854
|
-
"onUpdate:pageSize": $[
|
|
8848
|
+
"onUpdate:pageSize": $[14] || ($[14] = (vA) => ee(Z) ? Z.value = vA : null),
|
|
8855
8849
|
total: V(F),
|
|
8856
8850
|
"pagination-props": { layout: "prev,next,sizes" },
|
|
8857
8851
|
onRadioChange: V(U),
|
|
@@ -8887,7 +8881,7 @@ const B8 = (e) => {
|
|
|
8887
8881
|
_: 1
|
|
8888
8882
|
/* STABLE */
|
|
8889
8883
|
}, 8, ["modelValue", "title"]),
|
|
8890
|
-
|
|
8884
|
+
AA(" 恢复项目初始设置 二次确认 "),
|
|
8891
8885
|
k(
|
|
8892
8886
|
h8,
|
|
8893
8887
|
{
|
|
@@ -8904,7 +8898,7 @@ const B8 = (e) => {
|
|
|
8904
8898
|
/* STABLE_FRAGMENT */
|
|
8905
8899
|
));
|
|
8906
8900
|
}
|
|
8907
|
-
}), $8 = /* @__PURE__ */ WA(_8, [["__scopeId", "data-v-
|
|
8901
|
+
}), $8 = /* @__PURE__ */ WA(_8, [["__scopeId", "data-v-acf77da9"]]), A1 = "v1", e1 = `/api/portal/user/${A1}`, f1 = hA(e1), n1 = Qt.post("/menu/personal-setting"), v1 = f1.put("/home"), r1 = { class: "preson-style-drawer" }, t1 = { class: "preson-style-footer" }, P1 = /* @__PURE__ */ sA({
|
|
8908
8902
|
__name: "index",
|
|
8909
8903
|
setup(e, { expose: A }) {
|
|
8910
8904
|
const f = j(!1), n = j(!1), r = j(null), v = j(null), P = j("theme"), d = j(""), u = fA(() => [
|
|
@@ -8938,7 +8932,7 @@ const B8 = (e) => {
|
|
|
8938
8932
|
openDialog: t
|
|
8939
8933
|
}), (p, a) => (G(), aA("div", r1, [
|
|
8940
8934
|
k(V(e7), {
|
|
8941
|
-
title: V(
|
|
8935
|
+
title: V(eA)("个性化设置").value,
|
|
8942
8936
|
modelValue: f.value,
|
|
8943
8937
|
"onUpdate:modelValue": a[3] || (a[3] = (i) => f.value = i),
|
|
8944
8938
|
"body-style": { padding: 0 },
|
|
@@ -8953,7 +8947,7 @@ const B8 = (e) => {
|
|
|
8953
8947
|
}, {
|
|
8954
8948
|
default: Q(() => [
|
|
8955
8949
|
oA(
|
|
8956
|
-
PA(V(
|
|
8950
|
+
PA(V(eA)("取消").value),
|
|
8957
8951
|
1
|
|
8958
8952
|
/* TEXT */
|
|
8959
8953
|
)
|
|
@@ -8969,7 +8963,7 @@ const B8 = (e) => {
|
|
|
8969
8963
|
}, {
|
|
8970
8964
|
default: Q(() => [
|
|
8971
8965
|
oA(
|
|
8972
|
-
PA(V(
|
|
8966
|
+
PA(V(eA)("确定").value),
|
|
8973
8967
|
1
|
|
8974
8968
|
/* TEXT */
|
|
8975
8969
|
)
|
|
@@ -9044,7 +9038,7 @@ const B8 = (e) => {
|
|
|
9044
9038
|
]),
|
|
9045
9039
|
_: 1
|
|
9046
9040
|
/* STABLE */
|
|
9047
|
-
}, 8, ["spinning"])) :
|
|
9041
|
+
}, 8, ["spinning"])) : AA("v-if", !0)
|
|
9048
9042
|
]));
|
|
9049
9043
|
}
|
|
9050
9044
|
}), X9 = /* @__PURE__ */ WA(X1, [["__scopeId", "data-v-ed99a1f3"]]), i1 = b9.get("/login/history"), c1 = () => {
|
|
@@ -9991,7 +9985,7 @@ const G1 = M1.post("data/device-auth"), U1 = /* @__PURE__ */ sA({
|
|
|
9991
9985
|
n("update:activeIndex", v);
|
|
9992
9986
|
};
|
|
9993
9987
|
return (v, P) => (G(), aA("div", J1, [
|
|
9994
|
-
|
|
9988
|
+
AA(' :active="index === activeIndex" '),
|
|
9995
9989
|
(G(!0), aA(
|
|
9996
9990
|
$A,
|
|
9997
9991
|
null,
|
|
@@ -10004,7 +9998,7 @@ const G1 = M1.post("data/device-auth"), U1 = /* @__PURE__ */ sA({
|
|
|
10004
9998
|
v.showFn(u) ? TA(v.$slots, "default", {
|
|
10005
9999
|
key: 0,
|
|
10006
10000
|
index: u
|
|
10007
|
-
}, void 0, !0) :
|
|
10001
|
+
}, void 0, !0) : AA("v-if", !0)
|
|
10008
10002
|
]),
|
|
10009
10003
|
_: 2
|
|
10010
10004
|
/* DYNAMIC */
|
|
@@ -10260,8 +10254,8 @@ const G1 = M1.post("data/device-auth"), U1 = /* @__PURE__ */ sA({
|
|
|
10260
10254
|
PA(V(B)("正在实时预览")),
|
|
10261
10255
|
1
|
|
10262
10256
|
/* TEXT */
|
|
10263
|
-
)) :
|
|
10264
|
-
|
|
10257
|
+
)) : AA("v-if", !0),
|
|
10258
|
+
AA(' <das-icon class="icon close-icon" icon="close" @click.stop="handleClose"></das-icon> ')
|
|
10265
10259
|
])
|
|
10266
10260
|
]),
|
|
10267
10261
|
f.videoUrl && z.value ? (G(), tA(V($t), {
|
|
@@ -10272,7 +10266,7 @@ const G1 = M1.post("data/device-auth"), U1 = /* @__PURE__ */ sA({
|
|
|
10272
10266
|
muted: r.value,
|
|
10273
10267
|
onLoaded: p,
|
|
10274
10268
|
src: f.videoUrl
|
|
10275
|
-
}, null, 8, ["muted", "src"])) :
|
|
10269
|
+
}, null, 8, ["muted", "src"])) : AA("v-if", !0),
|
|
10276
10270
|
g("div", va, [
|
|
10277
10271
|
m[3] || (m[3] = g(
|
|
10278
10272
|
"div",
|
|
@@ -10325,11 +10319,11 @@ const G1 = M1.post("data/device-auth"), U1 = /* @__PURE__ */ sA({
|
|
|
10325
10319
|
class: "icon icon-shrink",
|
|
10326
10320
|
icon: "shrink",
|
|
10327
10321
|
onClick: m[0] || (m[0] = jA((O) => l("zoomOut"), ["stop"]))
|
|
10328
|
-
})) :
|
|
10322
|
+
})) : AA("v-if", !0)
|
|
10329
10323
|
]),
|
|
10330
10324
|
_: 1
|
|
10331
10325
|
/* STABLE */
|
|
10332
|
-
}, 8, ["content"])) :
|
|
10326
|
+
}, 8, ["content"])) : AA("v-if", !0),
|
|
10333
10327
|
s("control") ? (G(), tA(V(EA), {
|
|
10334
10328
|
key: 1,
|
|
10335
10329
|
content: V(B)("聚焦+")
|
|
@@ -10340,11 +10334,11 @@ const G1 = M1.post("data/device-auth"), U1 = /* @__PURE__ */ sA({
|
|
|
10340
10334
|
class: "icon icon-enlarge",
|
|
10341
10335
|
icon: "enlarge",
|
|
10342
10336
|
onClick: m[1] || (m[1] = jA((O) => l("zoomIn"), ["stop"]))
|
|
10343
|
-
})) :
|
|
10337
|
+
})) : AA("v-if", !0)
|
|
10344
10338
|
]),
|
|
10345
10339
|
_: 1
|
|
10346
10340
|
/* STABLE */
|
|
10347
|
-
}, 8, ["content"])) :
|
|
10341
|
+
}, 8, ["content"])) : AA("v-if", !0),
|
|
10348
10342
|
s("control") ? (G(), tA(V(EA), {
|
|
10349
10343
|
key: 2,
|
|
10350
10344
|
content: V(B)("方向控制")
|
|
@@ -10355,11 +10349,11 @@ const G1 = M1.post("data/device-auth"), U1 = /* @__PURE__ */ sA({
|
|
|
10355
10349
|
class: "icon icon-direction-control",
|
|
10356
10350
|
icon: "direction-control",
|
|
10357
10351
|
onClick: jA(i, ["stop"])
|
|
10358
|
-
})) :
|
|
10352
|
+
})) : AA("v-if", !0)
|
|
10359
10353
|
]),
|
|
10360
10354
|
_: 1
|
|
10361
10355
|
/* STABLE */
|
|
10362
|
-
}, 8, ["content"])) :
|
|
10356
|
+
}, 8, ["content"])) : AA("v-if", !0)
|
|
10363
10357
|
],
|
|
10364
10358
|
32
|
|
10365
10359
|
/* NEED_HYDRATION */
|
|
@@ -10369,7 +10363,7 @@ const G1 = M1.post("data/device-auth"), U1 = /* @__PURE__ */ sA({
|
|
|
10369
10363
|
P.value ? (G(), tA(K1, {
|
|
10370
10364
|
key: 1,
|
|
10371
10365
|
onChange: X
|
|
10372
|
-
})) :
|
|
10366
|
+
})) : AA("v-if", !0)
|
|
10373
10367
|
]),
|
|
10374
10368
|
_: 1
|
|
10375
10369
|
/* STABLE */
|
|
@@ -10532,7 +10526,7 @@ const za = /* @__PURE__ */ sA({
|
|
|
10532
10526
|
}, 8, ["content"])
|
|
10533
10527
|
]),
|
|
10534
10528
|
default: Q(() => [
|
|
10535
|
-
f.value ? (G(), tA(V(n), { key: 0 })) :
|
|
10529
|
+
f.value ? (G(), tA(V(n), { key: 0 })) : AA("v-if", !0)
|
|
10536
10530
|
]),
|
|
10537
10531
|
_: 1
|
|
10538
10532
|
/* STABLE */
|
|
@@ -12525,10 +12519,10 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12525
12519
|
timeLimit: ""
|
|
12526
12520
|
// 处置时限
|
|
12527
12521
|
}), p = j(!1), a = j([]), i = j([]), c = j([
|
|
12528
|
-
{ id: 2, name:
|
|
12529
|
-
{ id: 1, name:
|
|
12530
|
-
{ id: 3, name:
|
|
12531
|
-
]), b = j([]), X = j(""), l = j(
|
|
12522
|
+
{ id: 2, name: eA("时").value },
|
|
12523
|
+
{ id: 1, name: eA("分").value },
|
|
12524
|
+
{ id: 3, name: eA("不限").value }
|
|
12525
|
+
]), b = j([]), X = j(""), l = j(eA("告警对象位置").value), s = j(""), q = j([]), m = j("");
|
|
12532
12526
|
j("[]");
|
|
12533
12527
|
const O = j(!0), H = j(!0), R = async (J) => {
|
|
12534
12528
|
const E = { name: "1" };
|
|
@@ -12548,13 +12542,13 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12548
12542
|
}), bA(
|
|
12549
12543
|
H,
|
|
12550
12544
|
(J) => {
|
|
12551
|
-
J ? (O.value = !0, t.value.customPath =
|
|
12545
|
+
J ? (O.value = !0, t.value.customPath = eA("选填").value) : (O.value = !1, t.value.customPath = "");
|
|
12552
12546
|
},
|
|
12553
12547
|
{ immediate: !0 }
|
|
12554
12548
|
), bA(
|
|
12555
12549
|
o,
|
|
12556
12550
|
(J) => {
|
|
12557
|
-
J ? (t.value.reportTheme =
|
|
12551
|
+
J ? (t.value.reportTheme = eA("告警对象").value, D.value = !0) : (s.value = eA("请输入").value, t.value.reportTheme = "", D.value = !1);
|
|
12558
12552
|
},
|
|
12559
12553
|
{ immediate: !0 }
|
|
12560
12554
|
);
|
|
@@ -12566,13 +12560,13 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12566
12560
|
}, _ = (J, E) => {
|
|
12567
12561
|
E.length > 0 && (X.value = E[0].path), t.value.reportPosition = J, m.value = "";
|
|
12568
12562
|
}, h = (J) => {
|
|
12569
|
-
J && (z.value.reportPosition = "", X.value = ""), J ? (t.value.reportPosition = null, X.value = "", l.value =
|
|
12563
|
+
J && (z.value.reportPosition = "", X.value = ""), J ? (t.value.reportPosition = null, X.value = "", l.value = eA("告警对象位置").value) : (t.value.reportPosition = null, X.value = "", l.value = eA("请选择").value);
|
|
12570
12564
|
}, K = (J) => {
|
|
12571
|
-
J && (z.value.reportTheme = ""), J ? (t.value.reportTheme = "", s.value =
|
|
12565
|
+
J && (z.value.reportTheme = ""), J ? (t.value.reportTheme = "", s.value = eA("告警对象").value) : (t.value.reportTheme = "", s.value = eA("请输入").value);
|
|
12572
12566
|
}, U = () => {
|
|
12573
12567
|
z.value.processTypeId = "", z.value.reason = "", z.value.treatmentPlan = "", z.value.reportPosition = "", z.value.reportTheme = "", z.value.workOrderRules = "", z.value.eventTypeId = "", z.value.eventLevelId = "", z.value.timeLimit = "";
|
|
12574
12568
|
}, Y = () => {
|
|
12575
|
-
t.value.processTypeId = "confirm", t.value.reason = "", t.value.treatmentPlan = "", t.value.remarks = "", t.value.reportPosition = "", t.value.reportTheme = "", t.value.workOrderRules = null, H.value = !0, o.value = !0, D.value = !0, t.value.reportTheme =
|
|
12569
|
+
t.value.processTypeId = "confirm", t.value.reason = "", t.value.treatmentPlan = "", t.value.remarks = "", t.value.reportPosition = "", t.value.reportTheme = "", t.value.workOrderRules = null, H.value = !0, o.value = !0, D.value = !0, t.value.reportTheme = eA("告警对象").value, X.value = "", l.value = eA("告警对象位置").value, s.value = eA("请输入").value, t.value.eventTypeId = "", t.value.eventLevelId = null, t.value.timeLimit = "", t.value.interval = 1, a.value = [], i.value = [];
|
|
12576
12570
|
}, nA = (J) => {
|
|
12577
12571
|
J == "eventTypeId" && (t.value.eventLevelId = null, W()), J == "eventLevelId" && w(), J == "interval" && (z.value.timeLimit = "", t.value.interval == 3 ? (p.value = !0, t.value.timeLimit = "") : p.value = !1);
|
|
12578
12572
|
}, T = async () => {
|
|
@@ -12584,7 +12578,7 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12584
12578
|
eventTypeId: t.value.eventTypeId
|
|
12585
12579
|
}, [E, M] = await cX(J).run();
|
|
12586
12580
|
if (E) return {};
|
|
12587
|
-
const IA = { 1:
|
|
12581
|
+
const IA = { 1: eA("一级").value, 2: eA("二级").value, 3: eA("三级").value, 4: eA("四级").value };
|
|
12588
12582
|
i.value = M.map((ue) => ({
|
|
12589
12583
|
id: `${ue}`,
|
|
12590
12584
|
name: IA[ue] ? IA[ue] : ue
|
|
@@ -12616,12 +12610,12 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12616
12610
|
}, iA = () => {
|
|
12617
12611
|
let J = !0;
|
|
12618
12612
|
if (t.value.processTypeId == "dealwith")
|
|
12619
|
-
t.value.reason.trim() || (J = !1, z.value.reason =
|
|
12613
|
+
t.value.reason.trim() || (J = !1, z.value.reason = eA("必填,最多50个字符/汉字").value), t.value.treatmentPlan.trim() || (J = !1, z.value.treatmentPlan = eA("必填,最多50个字符/汉字").value);
|
|
12620
12614
|
else if (t.value.processTypeId == "createorder")
|
|
12621
|
-
H.value ? z.value.reportPosition = "" : !t.value.reportPosition && !t.value.customPath ? (J = !1, z.value.reportPosition =
|
|
12615
|
+
H.value ? z.value.reportPosition = "" : !t.value.reportPosition && !t.value.customPath ? (J = !1, z.value.reportPosition = eA("必填").value) : z.value.reportPosition = "", o.value || t.value.reportTheme ? z.value.reportTheme = "" : (J = !1, z.value.reportTheme = eA("必填,最多20个汉字/字符").value), t.value.workOrderRules ? z.value.workOrderRules = "" : (J = !1, z.value.workOrderRules = eA("必填").value);
|
|
12622
12616
|
else if (t.value.processTypeId == "createcontingency") {
|
|
12623
12617
|
const E = /^[1-9][0-9]{0,2}$/;
|
|
12624
|
-
t.value.eventTypeId || (J = !1, z.value.eventTypeId =
|
|
12618
|
+
t.value.eventTypeId || (J = !1, z.value.eventTypeId = eA("必选").value), t.value.eventLevelId || (J = !1, z.value.eventLevelId = eA("必选").value), t.value.interval != 3 && !E.test(t.value.timeLimit) && (J = !1, z.value.timeLimit = eA("必填,请输入1~999之间的正整数").value);
|
|
12625
12619
|
}
|
|
12626
12620
|
return J;
|
|
12627
12621
|
}, DA = () => {
|
|
@@ -12672,7 +12666,7 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12672
12666
|
}, {
|
|
12673
12667
|
header: Q(() => [
|
|
12674
12668
|
oA(
|
|
12675
|
-
PA(V(
|
|
12669
|
+
PA(V(eA)("告警处理").value),
|
|
12676
12670
|
1
|
|
12677
12671
|
/* TEXT */
|
|
12678
12672
|
)
|
|
@@ -12685,7 +12679,7 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12685
12679
|
}, {
|
|
12686
12680
|
default: Q(() => [
|
|
12687
12681
|
oA(
|
|
12688
|
-
PA(V(
|
|
12682
|
+
PA(V(eA)("取消").value),
|
|
12689
12683
|
1
|
|
12690
12684
|
/* TEXT */
|
|
12691
12685
|
)
|
|
@@ -12700,7 +12694,7 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12700
12694
|
}, {
|
|
12701
12695
|
default: Q(() => [
|
|
12702
12696
|
oA(
|
|
12703
|
-
PA(V(
|
|
12697
|
+
PA(V(eA)("结束处理").value),
|
|
12704
12698
|
1
|
|
12705
12699
|
/* TEXT */
|
|
12706
12700
|
)
|
|
@@ -12716,7 +12710,7 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12716
12710
|
}, {
|
|
12717
12711
|
default: Q(() => [
|
|
12718
12712
|
oA(
|
|
12719
|
-
PA(V(
|
|
12713
|
+
PA(V(eA)("继续处理").value),
|
|
12720
12714
|
1
|
|
12721
12715
|
/* TEXT */
|
|
12722
12716
|
)
|
|
@@ -12744,7 +12738,7 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12744
12738
|
}, {
|
|
12745
12739
|
default: Q(() => [
|
|
12746
12740
|
k(V(QA), {
|
|
12747
|
-
label: V(
|
|
12741
|
+
label: V(eA)("处理类型").value,
|
|
12748
12742
|
required: "",
|
|
12749
12743
|
type: "select",
|
|
12750
12744
|
modelValue: t.value.processTypeId,
|
|
@@ -12760,7 +12754,7 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12760
12754
|
}, null, 8, ["label", "modelValue", "options"]),
|
|
12761
12755
|
t.value.processTypeId !== "createorder" && t.value.processTypeId !== "createcontingency" ? (G(), tA(V(QA), {
|
|
12762
12756
|
key: 0,
|
|
12763
|
-
label: V(
|
|
12757
|
+
label: V(eA)("告警原因").value,
|
|
12764
12758
|
required: t.value.processTypeId == "dealwith",
|
|
12765
12759
|
type: "input",
|
|
12766
12760
|
maxlength: "50",
|
|
@@ -12772,10 +12766,10 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12772
12766
|
"onUpdate:error": E[3] || (E[3] = (M) => z.value.reason = M),
|
|
12773
12767
|
marginBottom: "30px",
|
|
12774
12768
|
marginRight: "0"
|
|
12775
|
-
}, null, 8, ["label", "required", "modelValue", "error"])) :
|
|
12769
|
+
}, null, 8, ["label", "required", "modelValue", "error"])) : AA("v-if", !0),
|
|
12776
12770
|
t.value.processTypeId !== "createorder" && t.value.processTypeId !== "createcontingency" ? (G(), tA(V(QA), {
|
|
12777
12771
|
key: 1,
|
|
12778
|
-
label: V(
|
|
12772
|
+
label: V(eA)("处理方案").value,
|
|
12779
12773
|
required: t.value.processTypeId == "dealwith",
|
|
12780
12774
|
type: "input",
|
|
12781
12775
|
maxlength: "50",
|
|
@@ -12787,10 +12781,10 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12787
12781
|
"onUpdate:error": E[6] || (E[6] = (M) => z.value.treatmentPlan = M),
|
|
12788
12782
|
marginBottom: "30px",
|
|
12789
12783
|
marginRight: "0"
|
|
12790
|
-
}, null, 8, ["label", "required", "modelValue", "error"])) :
|
|
12784
|
+
}, null, 8, ["label", "required", "modelValue", "error"])) : AA("v-if", !0),
|
|
12791
12785
|
t.value.processTypeId !== "createorder" && t.value.processTypeId !== "createcontingency" ? (G(), tA(V(QA), {
|
|
12792
12786
|
key: 2,
|
|
12793
|
-
label: V(
|
|
12787
|
+
label: V(eA)("备注").value,
|
|
12794
12788
|
type: "textarea",
|
|
12795
12789
|
"show-word-limit": "",
|
|
12796
12790
|
autosize: "",
|
|
@@ -12800,10 +12794,10 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12800
12794
|
"onUpdate:modelValue": E[7] || (E[7] = (M) => t.value.remarks = M),
|
|
12801
12795
|
marginBottom: "30px",
|
|
12802
12796
|
marginRight: "0"
|
|
12803
|
-
}, null, 8, ["label", "modelValue"])) :
|
|
12797
|
+
}, null, 8, ["label", "modelValue"])) : AA("v-if", !0),
|
|
12804
12798
|
t.value.processTypeId == "createorder" ? (G(), tA(V(QA), {
|
|
12805
12799
|
key: 3,
|
|
12806
|
-
label: V(
|
|
12800
|
+
label: V(eA)("报事位置").value,
|
|
12807
12801
|
required: "",
|
|
12808
12802
|
type: "custom",
|
|
12809
12803
|
error: z.value.reportPosition,
|
|
@@ -12837,7 +12831,7 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12837
12831
|
ref: "testInput",
|
|
12838
12832
|
modelValue: t.value.customPath,
|
|
12839
12833
|
"onUpdate:modelValue": E[11] || (E[11] = (M) => t.value.customPath = M),
|
|
12840
|
-
placeholder: V(
|
|
12834
|
+
placeholder: V(eA)("选填").value,
|
|
12841
12835
|
disabled: O.value,
|
|
12842
12836
|
maxlength: "20"
|
|
12843
12837
|
}, null, 8, ["modelValue", "placeholder", "disabled"])
|
|
@@ -12851,7 +12845,7 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12851
12845
|
}, {
|
|
12852
12846
|
default: Q(() => [
|
|
12853
12847
|
oA(
|
|
12854
|
-
PA(V(
|
|
12848
|
+
PA(V(eA)("告警对象位置").value),
|
|
12855
12849
|
1
|
|
12856
12850
|
/* TEXT */
|
|
12857
12851
|
)
|
|
@@ -12863,10 +12857,10 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12863
12857
|
]),
|
|
12864
12858
|
_: 1
|
|
12865
12859
|
/* STABLE */
|
|
12866
|
-
}, 8, ["label", "error"])) :
|
|
12860
|
+
}, 8, ["label", "error"])) : AA("v-if", !0),
|
|
12867
12861
|
t.value.processTypeId == "createorder" ? (G(), tA(V(QA), {
|
|
12868
12862
|
key: 4,
|
|
12869
|
-
label: V(
|
|
12863
|
+
label: V(eA)("报事主题").value,
|
|
12870
12864
|
required: "",
|
|
12871
12865
|
type: "custom",
|
|
12872
12866
|
error: z.value.reportTheme,
|
|
@@ -12893,7 +12887,7 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12893
12887
|
}, {
|
|
12894
12888
|
default: Q(() => [
|
|
12895
12889
|
oA(
|
|
12896
|
-
PA(V(
|
|
12890
|
+
PA(V(eA)("告警对象").value),
|
|
12897
12891
|
1
|
|
12898
12892
|
/* TEXT */
|
|
12899
12893
|
)
|
|
@@ -12905,10 +12899,10 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12905
12899
|
]),
|
|
12906
12900
|
_: 1
|
|
12907
12901
|
/* STABLE */
|
|
12908
|
-
}, 8, ["label", "error"])) :
|
|
12902
|
+
}, 8, ["label", "error"])) : AA("v-if", !0),
|
|
12909
12903
|
t.value.processTypeId == "createorder" ? (G(), tA(V(QA), {
|
|
12910
12904
|
key: 5,
|
|
12911
|
-
label: V(
|
|
12905
|
+
label: V(eA)("工单规则").value,
|
|
12912
12906
|
required: "",
|
|
12913
12907
|
type: "select",
|
|
12914
12908
|
modelValue: t.value.workOrderRules,
|
|
@@ -12922,11 +12916,11 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12922
12916
|
"get-popup-container": y,
|
|
12923
12917
|
marginBottom: "0px",
|
|
12924
12918
|
marginRight: "0"
|
|
12925
|
-
}, null, 8, ["label", "modelValue", "error", "options"])) :
|
|
12926
|
-
|
|
12919
|
+
}, null, 8, ["label", "modelValue", "error", "options"])) : AA("v-if", !0),
|
|
12920
|
+
AA(" createcontingency 生成应急事件 "),
|
|
12927
12921
|
t.value.processTypeId == "createcontingency" ? (G(), tA(V(QA), {
|
|
12928
12922
|
key: 6,
|
|
12929
|
-
label: V(
|
|
12923
|
+
label: V(eA)("事件类型").value,
|
|
12930
12924
|
required: "",
|
|
12931
12925
|
type: "select",
|
|
12932
12926
|
modelValue: t.value.eventTypeId,
|
|
@@ -12941,10 +12935,10 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12941
12935
|
marginBottom: "30px",
|
|
12942
12936
|
marginRight: "0",
|
|
12943
12937
|
onChange: E[21] || (E[21] = (M) => nA("eventTypeId"))
|
|
12944
|
-
}, null, 8, ["label", "modelValue", "error", "options"])) :
|
|
12938
|
+
}, null, 8, ["label", "modelValue", "error", "options"])) : AA("v-if", !0),
|
|
12945
12939
|
t.value.processTypeId == "createcontingency" ? (G(), tA(V(QA), {
|
|
12946
12940
|
key: 7,
|
|
12947
|
-
label: V(
|
|
12941
|
+
label: V(eA)("事件等级").value,
|
|
12948
12942
|
required: "",
|
|
12949
12943
|
type: "select",
|
|
12950
12944
|
modelValue: t.value.eventLevelId,
|
|
@@ -12959,10 +12953,10 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12959
12953
|
marginBottom: "30px",
|
|
12960
12954
|
marginRight: "0",
|
|
12961
12955
|
onChange: E[24] || (E[24] = (M) => nA("eventLevelId"))
|
|
12962
|
-
}, null, 8, ["label", "modelValue", "error", "options"])) :
|
|
12956
|
+
}, null, 8, ["label", "modelValue", "error", "options"])) : AA("v-if", !0),
|
|
12963
12957
|
t.value.processTypeId == "createcontingency" ? (G(), tA(V(QA), {
|
|
12964
12958
|
key: 8,
|
|
12965
|
-
label: V(
|
|
12959
|
+
label: V(eA)("处置时限").value,
|
|
12966
12960
|
required: "",
|
|
12967
12961
|
type: "input",
|
|
12968
12962
|
maxlength: "3",
|
|
@@ -12991,13 +12985,13 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
12991
12985
|
size: "small",
|
|
12992
12986
|
"get-popup-container": y,
|
|
12993
12987
|
onChange: E[26] || (E[26] = (M) => nA("interval")),
|
|
12994
|
-
placeholder: V(
|
|
12988
|
+
placeholder: V(eA)("请选择").value
|
|
12995
12989
|
}, null, 8, ["modelValue", "options", "placeholder"])
|
|
12996
12990
|
])
|
|
12997
12991
|
]),
|
|
12998
12992
|
_: 1
|
|
12999
12993
|
/* STABLE */
|
|
13000
|
-
}, 8, ["label", "modelValue", "error", "disabled"])) :
|
|
12994
|
+
}, 8, ["label", "modelValue", "error", "disabled"])) : AA("v-if", !0)
|
|
13001
12995
|
]),
|
|
13002
12996
|
_: 1
|
|
13003
12997
|
/* STABLE */
|
|
@@ -13043,7 +13037,7 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
13043
13037
|
$A,
|
|
13044
13038
|
null,
|
|
13045
13039
|
[
|
|
13046
|
-
|
|
13040
|
+
AA(` <div class="alarm-msg" :style="{ 'border-color': msgItem.color }"> `),
|
|
13047
13041
|
g("div", RX, [
|
|
13048
13042
|
g("div", NX, [
|
|
13049
13043
|
g(
|
|
@@ -13054,13 +13048,13 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
13054
13048
|
},
|
|
13055
13049
|
[
|
|
13056
13050
|
g("div", DX, [
|
|
13057
|
-
|
|
13051
|
+
AA(` <div class="icon-box" :style="{ color: msgItem.color }">\r
|
|
13058
13052
|
!\r
|
|
13059
13053
|
</div> `),
|
|
13060
13054
|
g(
|
|
13061
13055
|
"div",
|
|
13062
13056
|
jX,
|
|
13063
|
-
PA(V(
|
|
13057
|
+
PA(V(eA)("新告警").value),
|
|
13064
13058
|
1
|
|
13065
13059
|
/* TEXT */
|
|
13066
13060
|
)
|
|
@@ -13081,7 +13075,7 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
13081
13075
|
g(
|
|
13082
13076
|
"div",
|
|
13083
13077
|
TX,
|
|
13084
|
-
PA(V(
|
|
13078
|
+
PA(V(eA)("告警等级:").value),
|
|
13085
13079
|
1
|
|
13086
13080
|
/* TEXT */
|
|
13087
13081
|
),
|
|
@@ -13100,7 +13094,7 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
13100
13094
|
g(
|
|
13101
13095
|
"div",
|
|
13102
13096
|
WX,
|
|
13103
|
-
PA(V(
|
|
13097
|
+
PA(V(eA)("告警对象:").value),
|
|
13104
13098
|
1
|
|
13105
13099
|
/* TEXT */
|
|
13106
13100
|
),
|
|
@@ -13116,7 +13110,7 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
13116
13110
|
g(
|
|
13117
13111
|
"div",
|
|
13118
13112
|
wX,
|
|
13119
|
-
PA(V(
|
|
13113
|
+
PA(V(eA)("告警内容:").value),
|
|
13120
13114
|
1
|
|
13121
13115
|
/* TEXT */
|
|
13122
13116
|
),
|
|
@@ -13138,14 +13132,14 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
13138
13132
|
}, {
|
|
13139
13133
|
default: Q(() => [
|
|
13140
13134
|
oA(
|
|
13141
|
-
PA(V(
|
|
13135
|
+
PA(V(eA)("设备详情").value),
|
|
13142
13136
|
1
|
|
13143
13137
|
/* TEXT */
|
|
13144
13138
|
)
|
|
13145
13139
|
]),
|
|
13146
13140
|
_: 1
|
|
13147
13141
|
/* STABLE */
|
|
13148
|
-
})) :
|
|
13142
|
+
})) : AA("v-if", !0),
|
|
13149
13143
|
P.alarmhandle ? (G(), tA(V(YA), {
|
|
13150
13144
|
key: 1,
|
|
13151
13145
|
block: "",
|
|
@@ -13155,14 +13149,14 @@ const eX = hA(`/api/tool/event-bus/${fn}/`), Kn = eX.post("/publish"), fX = s9.g
|
|
|
13155
13149
|
}, {
|
|
13156
13150
|
default: Q(() => [
|
|
13157
13151
|
oA(
|
|
13158
|
-
PA(V(
|
|
13152
|
+
PA(V(eA)("处理").value),
|
|
13159
13153
|
1
|
|
13160
13154
|
/* TEXT */
|
|
13161
13155
|
)
|
|
13162
13156
|
]),
|
|
13163
13157
|
_: 1
|
|
13164
13158
|
/* STABLE */
|
|
13165
|
-
})) :
|
|
13159
|
+
})) : AA("v-if", !0)
|
|
13166
13160
|
])
|
|
13167
13161
|
])
|
|
13168
13162
|
])
|
|
@@ -13223,7 +13217,7 @@ const GX = () => {
|
|
|
13223
13217
|
Bf.open({
|
|
13224
13218
|
key: D,
|
|
13225
13219
|
class: "alarm-notify",
|
|
13226
|
-
message:
|
|
13220
|
+
message: eA("新告警").value,
|
|
13227
13221
|
placement: "bottomRight",
|
|
13228
13222
|
description: NA(BX, {
|
|
13229
13223
|
msgItem: x,
|
|
@@ -13364,7 +13358,7 @@ const GX = () => {
|
|
|
13364
13358
|
_: 1
|
|
13365
13359
|
/* STABLE */
|
|
13366
13360
|
}, 8, ["platformInitNextTick"]),
|
|
13367
|
-
|
|
13361
|
+
AA(" 切换租户 "),
|
|
13368
13362
|
k(V(Zt), {
|
|
13369
13363
|
visible: V(i),
|
|
13370
13364
|
"onUpdate:visible": O[0] || (O[0] = (H) => ee(i) ? i.value = H : null),
|
|
@@ -13372,7 +13366,7 @@ const GX = () => {
|
|
|
13372
13366
|
tenantId: V(b),
|
|
13373
13367
|
onConfirm: V(X)
|
|
13374
13368
|
}, null, 8, ["visible", "userId", "tenantId", "onConfirm"]),
|
|
13375
|
-
|
|
13369
|
+
AA(" 修改密码 "),
|
|
13376
13370
|
k(
|
|
13377
13371
|
V(jt),
|
|
13378
13372
|
{
|
|
@@ -13383,7 +13377,7 @@ const GX = () => {
|
|
|
13383
13377
|
512
|
|
13384
13378
|
/* NEED_PATCH */
|
|
13385
13379
|
),
|
|
13386
|
-
|
|
13380
|
+
AA(" 个性化设置 "),
|
|
13387
13381
|
k(
|
|
13388
13382
|
V(d1),
|
|
13389
13383
|
{
|
|
@@ -13394,7 +13388,7 @@ const GX = () => {
|
|
|
13394
13388
|
512
|
|
13395
13389
|
/* NEED_PATCH */
|
|
13396
13390
|
),
|
|
13397
|
-
|
|
13391
|
+
AA(" 告警 "),
|
|
13398
13392
|
k(V(hX))
|
|
13399
13393
|
])
|
|
13400
13394
|
]),
|
|
@@ -13559,11 +13553,11 @@ j("@das-fed/web");
|
|
|
13559
13553
|
const KX = [
|
|
13560
13554
|
{
|
|
13561
13555
|
path: FA,
|
|
13562
|
-
component: () => import("./index-
|
|
13556
|
+
component: () => import("./index-Bjhe-VfY.js")
|
|
13563
13557
|
},
|
|
13564
13558
|
{
|
|
13565
13559
|
path: Ar,
|
|
13566
|
-
component: () => import("./index-
|
|
13560
|
+
component: () => import("./index-KoUHdwM-.js")
|
|
13567
13561
|
}
|
|
13568
13562
|
], si = {
|
|
13569
13563
|
routes: KX,
|