nxd-plugin 1.7.73 → 1.7.74
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/dist/assets/dataJson/HighQualityConfig.json.d.ts +337 -0
- package/dist/chunks/component-AiChat-CQMg5jup.mjs +47554 -0
- package/dist/chunks/{component-AqiMonitor-DbEiA-eq.mjs → component-AqiMonitor-Bnnw0FMj.mjs} +22 -18
- package/dist/chunks/{component-ChartCumulativePre-CqnTrs3A.mjs → component-ChartCumulativePre-C0GUFXEa.mjs} +6 -6
- package/dist/chunks/{component-ChartServiceMaterial-DN-uO_OP.mjs → component-ChartServiceMaterial-CNGZyHfu.mjs} +5 -5
- package/dist/chunks/{component-Duty-BJOz8pxV.mjs → component-Duty-8taqj71c.mjs} +5 -5
- package/dist/chunks/{component-EarlyWarningStatistic-DvAmY7Gh.mjs → component-EarlyWarningStatistic-CXzvMFSw.mjs} +5 -5
- package/dist/chunks/{component-GeologyLiveAlarm-CRRIUd2h.mjs → component-GeologyLiveAlarm-C6uBCDIM.mjs} +6 -6
- package/dist/chunks/component-HighQuality-CCKtA_xe.mjs +1087 -0
- package/dist/chunks/{component-HighWayEarlyWarningRed-DgNrFdzm.mjs → component-HighWayEarlyWarningRed-VCLYuCBe.mjs} +6 -6
- package/dist/chunks/{component-HighWayFreeze-DzBnVD2r.mjs → component-HighWayFreeze-B3F7d3lb.mjs} +7 -7
- package/dist/chunks/{component-HighwayLiveAlarm-DZM7_KsV.mjs → component-HighwayLiveAlarm-CJdM4vx6.mjs} +5 -5
- package/dist/chunks/{component-HighwayLiveAlarmNew-CPbcFfFw.mjs → component-HighwayLiveAlarmNew-F1sJV5h6.mjs} +9 -9
- package/dist/chunks/{component-HighwayStations-BQM5VnrX.mjs → component-HighwayStations-Bz6Zekf1.mjs} +5 -5
- package/dist/chunks/{component-HighwayWeatherForecast-jJgs1nWv.mjs → component-HighwayWeatherForecast-BvuVI9p6.mjs} +5 -5
- package/dist/chunks/{component-IframeWeb-2o0iO_zv.mjs → component-IframeWeb-CqORkYhs.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-BpL7GGVe.mjs → component-ImageGeneration-DxvSAg0-.mjs} +1 -1
- package/dist/chunks/component-IntroducePic-CW0bRPyF.mjs +58 -0
- package/dist/chunks/{component-LithiumBatteryMiningArea-Cu4xOUMT.mjs → component-LithiumBatteryMiningArea-DRuCBQHX.mjs} +11 -11
- package/dist/chunks/{component-MapPopup-BKpmRiRc.mjs → component-MapPopup-5ov9bufN.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-B9hPgmCc.mjs → component-MaterialPreview-BIrxdpHg.mjs} +5 -5
- package/dist/chunks/{component-PieLegend-oUHPJc3-.mjs → component-PieLegend-BrcbU4Hc.mjs} +1 -1
- package/dist/chunks/{component-RadarChart-Kv3AUHxN.mjs → component-RadarChart-BvRhuudc.mjs} +9 -9
- package/dist/chunks/{component-RadarLegend-CkBt4euh.mjs → component-RadarLegend-BQrNUHJu.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-sDd-YZK5.mjs → component-RadarShortTerm-DSqGlMQq.mjs} +12 -12
- package/dist/chunks/{component-RadarTime-B_8GIAtB.mjs → component-RadarTime-DeA11c09.mjs} +17 -17
- package/dist/chunks/{component-RenderMarkdown-DeNXJIM-.mjs → component-RenderMarkdown-BA6QDwis.mjs} +5 -5
- package/dist/chunks/{component-ReservoirLiveAlarm-BfYMEzip.mjs → component-ReservoirLiveAlarm-CwQGV2pX.mjs} +7 -7
- package/dist/chunks/{component-ServiceMaterial-oEiMoM8L.mjs → component-ServiceMaterial-D4na59x3.mjs} +8 -8
- package/dist/chunks/{component-ServiceMaterialsBtn-bkSh2Pec.mjs → component-ServiceMaterialsBtn-pvj67yYf.mjs} +1 -1
- package/dist/chunks/{component-TimeBasedForecast-B7joXIvV.mjs → component-TimeBasedForecast-JuvtROGA.mjs} +9 -9
- package/dist/chunks/{component-WarningLine-C3-1NPwv.mjs → component-WarningLine-Dcn_betl.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-Bj-bDMis.mjs → component-WarningSignal-q50D47rs.mjs} +16 -16
- package/dist/chunks/{component-WeatherForecast-Dyf8v_Fq.mjs → component-WeatherForecast-ByBdU74M.mjs} +11 -11
- package/dist/chunks/{component-YCDataMonitor-BW_Cmxsb.mjs → component-YCDataMonitor-DcWd4kcO.mjs} +16 -16
- package/dist/chunks/{component-YCDataService-Bp6uTbfE.mjs → component-YCDataService-mOrVZ4oo.mjs} +10 -10
- package/dist/chunks/{component-YCHome-CCSemcIf.mjs → component-YCHome-C-UM-oMR.mjs} +34 -34
- package/dist/chunks/{component-YCHomeLegend-CsgZ7ayU.mjs → component-YCHomeLegend-LI2zcDnx.mjs} +1 -1
- package/dist/chunks/{component-YCLoginNew-CAKG8hmF.mjs → component-YCLoginNew-DSeX5cyy.mjs} +18 -18
- package/dist/components/AiChat/AiChat.vue.d.ts +61 -0
- package/dist/components/AiChat/AiChatResponse.vue.d.ts +7 -0
- package/dist/components/AiChat/renderMarkdown.d.ts +1 -0
- package/dist/components/AiChat/types.d.ts +48 -0
- package/dist/components/HighQuality/HighQuality.vue.d.ts +65 -0
- package/dist/composables/useDraggable.d.ts +13 -0
- package/dist/index.d.ts +4 -1
- package/dist/nxd-plugin.mjs +40 -37
- package/dist/styles/component-AiChat.css +1 -0
- package/dist/styles/component-HighQuality.css +1 -0
- package/dist/styles/component-IntroducePic.css +1 -0
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +7 -2
|
@@ -5008,29 +5008,33 @@ var Qe = (e = {}) => {
|
|
|
5008
5008
|
templateParams: { code: t }
|
|
5009
5009
|
});
|
|
5010
5010
|
return a;
|
|
5011
|
-
}, at = async (e, t) => {
|
|
5011
|
+
}, at = async (e, t = !0) => {
|
|
5012
|
+
t && (e += `?t=${Date.now()}`);
|
|
5013
|
+
let { data: n } = await v.get(e);
|
|
5014
|
+
return n;
|
|
5015
|
+
}, ot = async (e, t) => {
|
|
5012
5016
|
let { data: n } = await v.post(e, t);
|
|
5013
5017
|
return n;
|
|
5014
|
-
},
|
|
5018
|
+
}, st = (e, t) => {
|
|
5015
5019
|
let n = e.__vccOpts || e;
|
|
5016
5020
|
for (let [e, r] of t) n[e] = r;
|
|
5017
5021
|
return n;
|
|
5018
|
-
},
|
|
5022
|
+
}, ct = {
|
|
5019
5023
|
class: "AqiMonitor",
|
|
5020
5024
|
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
5021
|
-
},
|
|
5025
|
+
}, lt = { class: "AqiMonitor__head" }, ut = { class: "AqiMonitor__head-top" }, dt = { class: "AqiMonitor__body" }, ft = { class: "control-group" }, pt = { class: "radio-group" }, mt = ["value"], ht = { class: "table-container" }, gt = { class: "table-scroll-body" }, _t = { class: "data-table" }, vt = ["title"], yt = { style: {
|
|
5022
5026
|
width: "80px",
|
|
5023
5027
|
"text-align": "center"
|
|
5024
|
-
} }, yt = { style: {
|
|
5025
|
-
width: "70px",
|
|
5026
|
-
"text-align": "center"
|
|
5027
5028
|
} }, bt = { style: {
|
|
5028
5029
|
width: "70px",
|
|
5029
5030
|
"text-align": "center"
|
|
5030
5031
|
} }, xt = { style: {
|
|
5032
|
+
width: "70px",
|
|
5033
|
+
"text-align": "center"
|
|
5034
|
+
} }, St = { style: {
|
|
5031
5035
|
width: "80px",
|
|
5032
5036
|
"text-align": "center"
|
|
5033
|
-
} },
|
|
5037
|
+
} }, Ct = { key: 0 }, wt = /* @__PURE__ */ st(/* @__PURE__ */ l({
|
|
5034
5038
|
__name: "AqiMonitor",
|
|
5035
5039
|
props: {
|
|
5036
5040
|
appKey: {
|
|
@@ -5107,7 +5111,7 @@ var Qe = (e = {}) => {
|
|
|
5107
5111
|
};
|
|
5108
5112
|
return (t, n) => {
|
|
5109
5113
|
let l = r;
|
|
5110
|
-
return _((f(), o("div",
|
|
5114
|
+
return _((f(), o("div", ct, [s("div", lt, [s("div", ut, [s("div", null, h(e.title), 1), s("div", {
|
|
5111
5115
|
class: "closeBtn",
|
|
5112
5116
|
onClick: T,
|
|
5113
5117
|
title: "关闭"
|
|
@@ -5115,14 +5119,14 @@ var Qe = (e = {}) => {
|
|
|
5115
5119
|
class: "AqiMonitor__head-line",
|
|
5116
5120
|
src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbsAAAASBAMAAAAwI22/AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAwUExURQAAAAem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/5bu5GYAAAAPdFJOUwAFwAwc2M8ULQYDn/hGXGnV2UoAAAGZSURBVEjH7ZM/S8NAGId/JYGmmeLspptThurk0CHWRXGo0Nk/S50y6CYSHMRF7Efo4uQXEIpbwUnM6OhnEIeChXjv5ZLLXdLtLCX68vDCe0eGJ7/3AJN1VcL+UImB/SruVJwYTqSAW5V3LLyaPR1c+IIdH12OPZiLcyTAjccZEdccZ0Nn4bXpC3KpCuFu5tkdziX3FJxBSBZZdFk9HempCduMk4xSitJTpOgJSSIPrx10YAUB0tYOwrQ1g12k7ZyODIYXZmQpppLV26rtbDFOXVhua2Fn7WTWwUEyAe5Zc2hiLWTTC3jjk8Hw+jrSM9/Z8raKOAtZVmyr9jbpee4lU9hvSUStw6YvOpqwiXlK9d8IL0Oq5tuqvc3KLMs7q9uyCC0y22aKvDVp4u2SjnJ1c+Wecg7h9gV4CFV8NHpEaw7yF2wVGcIa6OBx/Ax3PI6pRWx6Am98alBbpSODNVTxgAbQUpF3KeVv0s80xMUow8N//YVaqWEV9BJDdby2PBUZ1/te0uU0YzeLa623jjrrvaLOep/+str9ACyAtv25BhHcAAAAAElFTkSuQmCC",
|
|
5117
5121
|
alt: ""
|
|
5118
|
-
}, null, -1)]), s("div",
|
|
5122
|
+
}, null, -1)]), s("div", dt, [s("div", ft, [n[2] ||= s("label", { class: "control-label" }, "显示设置:", -1), s("div", pt, [(f(!0), o(i, null, m(S.value, (e) => (f(), o("label", {
|
|
5119
5123
|
class: "radio-item",
|
|
5120
5124
|
key: e.value
|
|
5121
5125
|
}, [_(s("input", {
|
|
5122
5126
|
type: "radio",
|
|
5123
5127
|
"onUpdate:modelValue": n[0] ||= (e) => x.value = e,
|
|
5124
5128
|
value: e.value
|
|
5125
|
-
}, null, 8,
|
|
5129
|
+
}, null, 8, mt), [[g, x.value]]), s("span", null, h(e.label), 1)]))), 128))])]), s("div", ht, [n[4] ||= c("<table class=\"data-table\" data-v-94aab511><thead data-v-94aab511><tr data-v-94aab511><th style=\"min-width:100px;text-align:center;\" data-v-94aab511>站名</th><th style=\"width:80px;text-align:center;\" data-v-94aab511>降水量</th><th style=\"width:70px;text-align:center;\" data-v-94aab511>最高温</th><th style=\"width:70px;text-align:center;\" data-v-94aab511>最低温</th><th style=\"width:80px;text-align:center;\" data-v-94aab511>极大风速</th></tr></thead></table>", 1), s("div", gt, [s("table", _t, [s("tbody", null, [(f(!0), o(i, null, m(b.value, (e, t) => (f(), o("tr", { key: t }, [
|
|
5126
5130
|
s("td", {
|
|
5127
5131
|
style: {
|
|
5128
5132
|
"min-width": "100px",
|
|
@@ -5131,12 +5135,12 @@ var Qe = (e = {}) => {
|
|
|
5131
5135
|
"white-space": "nowrap"
|
|
5132
5136
|
},
|
|
5133
5137
|
title: e.station_name
|
|
5134
|
-
}, h(e.station_name), 9,
|
|
5135
|
-
s("td",
|
|
5136
|
-
s("td",
|
|
5137
|
-
s("td",
|
|
5138
|
-
s("td",
|
|
5139
|
-
]))), 128)), !b.value || !b.value.length ? (f(), o("tr",
|
|
5138
|
+
}, h(e.station_name), 9, vt),
|
|
5139
|
+
s("td", yt, h(e.precipitation ?? "-"), 1),
|
|
5140
|
+
s("td", bt, h(e.max_temp ?? "-") + "℃", 1),
|
|
5141
|
+
s("td", xt, h(e.min_temp ?? "-") + "℃", 1),
|
|
5142
|
+
s("td", St, h(e.max_wind_speed ?? "-") + "m/s", 1)
|
|
5143
|
+
]))), 128)), !b.value || !b.value.length ? (f(), o("tr", Ct, [...n[3] ||= [s("td", {
|
|
5140
5144
|
colspan: "5",
|
|
5141
5145
|
class: "empty-state"
|
|
5142
5146
|
}, "暂无数据", -1)]])) : a("", !0)])])])])])])), [[l, y.value]]);
|
|
@@ -5144,4 +5148,4 @@ var Qe = (e = {}) => {
|
|
|
5144
5148
|
}
|
|
5145
5149
|
}), [["__scopeId", "data-v-94aab511"]]);
|
|
5146
5150
|
//#endregion
|
|
5147
|
-
export {
|
|
5151
|
+
export { ot as a, $e as i, st as n, it as o, at as r, y as s, wt as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as e, n as t } from "./component-AqiMonitor-Bnnw0FMj.mjs";
|
|
2
2
|
import { ElLoadingDirective as n, ElOption as r, ElSelect as i } from "element-plus/es";
|
|
3
3
|
import { Fragment as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, unref as _, withCtx as v, withDirectives as y } from "vue";
|
|
4
4
|
import * as b from "echarts";
|
|
@@ -9,7 +9,7 @@ import "element-plus/es/components/option/style/css";
|
|
|
9
9
|
var x = {
|
|
10
10
|
class: "ChartCumulativePre",
|
|
11
11
|
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
12
|
-
}, S = { class: "ChartCumulativePre-head" }, C = { class: "ChartCumulativePre-head-top" }, w = { class: "ChartCumulativePre-filters" }, T = { class: "filter-item" }, E = /* @__PURE__ */
|
|
12
|
+
}, S = { class: "ChartCumulativePre-head" }, C = { class: "ChartCumulativePre-head-top" }, w = { class: "ChartCumulativePre-filters" }, T = { class: "filter-item" }, E = /* @__PURE__ */ t(/* @__PURE__ */ u({
|
|
13
13
|
__name: "ChartCumulativePre",
|
|
14
14
|
props: {
|
|
15
15
|
appKey: {
|
|
@@ -29,8 +29,8 @@ var x = {
|
|
|
29
29
|
default: () => ({})
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
-
setup(
|
|
33
|
-
let E =
|
|
32
|
+
setup(t, { emit: u }) {
|
|
33
|
+
let E = t, D = u, O = m(!1), k = (/* @__PURE__ */ new Date()).getFullYear(), A = m(null), j = null, M = m(""), N = m([]), P = m(null), F = m(null), I = m([]);
|
|
34
34
|
f(() => {
|
|
35
35
|
L(), P.value = setInterval(() => {
|
|
36
36
|
L();
|
|
@@ -47,7 +47,7 @@ var x = {
|
|
|
47
47
|
}, 1e3 * 10);
|
|
48
48
|
}, R = async () => {
|
|
49
49
|
O.value = !0;
|
|
50
|
-
let
|
|
50
|
+
let t = await e({
|
|
51
51
|
appKey: E.appKey,
|
|
52
52
|
appSalt: E.appSalt,
|
|
53
53
|
id: E.ids.data.id,
|
|
@@ -57,7 +57,7 @@ var x = {
|
|
|
57
57
|
isFormData: E.ids.data.isFormData
|
|
58
58
|
});
|
|
59
59
|
O.value = !1;
|
|
60
|
-
let n =
|
|
60
|
+
let n = t.data.result || {};
|
|
61
61
|
I.value = n.stationData || [];
|
|
62
62
|
let r = n.stationSelect || [];
|
|
63
63
|
N.value = r, !M.value && r.length > 0 && (M.value = r[0].stationNumber);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as e, n as t } from "./component-AqiMonitor-Bnnw0FMj.mjs";
|
|
2
2
|
import { ElLoadingDirective as n, ElOption as r, ElSelect as i } from "element-plus/es";
|
|
3
3
|
import { Fragment as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, withCtx as _, withDirectives as v } from "vue";
|
|
4
4
|
import * as y from "echarts";
|
|
@@ -9,7 +9,7 @@ import "element-plus/es/components/option/style/css";
|
|
|
9
9
|
var b = {
|
|
10
10
|
class: "ChartServiceMaterial",
|
|
11
11
|
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
12
|
-
}, x = { class: "ChartServiceMaterial-head" }, S = { class: "ChartServiceMaterial-head-top" }, C = { class: "ChartServiceMaterial-filters" }, w = { class: "filter-item" }, T = /* @__PURE__ */
|
|
12
|
+
}, x = { class: "ChartServiceMaterial-head" }, S = { class: "ChartServiceMaterial-head-top" }, C = { class: "ChartServiceMaterial-filters" }, w = { class: "filter-item" }, T = /* @__PURE__ */ t(/* @__PURE__ */ u({
|
|
13
13
|
__name: "ChartServiceMaterial",
|
|
14
14
|
props: {
|
|
15
15
|
appKey: {
|
|
@@ -29,8 +29,8 @@ var b = {
|
|
|
29
29
|
default: () => ({})
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
-
setup(
|
|
33
|
-
let T =
|
|
32
|
+
setup(t, { emit: u }) {
|
|
33
|
+
let T = t, E = u, D = m(!1), O = m("服务种类"), k = m([{
|
|
34
34
|
value: "服务种类",
|
|
35
35
|
label: "服务种类"
|
|
36
36
|
}, {
|
|
@@ -45,7 +45,7 @@ var b = {
|
|
|
45
45
|
M.value && clearInterval(M.value), M.value = null, N.value && clearInterval(N.value), N.value = null, j &&= (j.dispose(), null);
|
|
46
46
|
});
|
|
47
47
|
let F = async () => {
|
|
48
|
-
N.value &&= (clearInterval(N.value), null), D.value = !0, P.value = (await
|
|
48
|
+
N.value &&= (clearInterval(N.value), null), D.value = !0, P.value = (await e({
|
|
49
49
|
appKey: T.appKey,
|
|
50
50
|
appSalt: T.appSalt,
|
|
51
51
|
id: T.ids.data.id,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as e, n as t } from "./component-AqiMonitor-Bnnw0FMj.mjs";
|
|
2
2
|
import { createCommentVNode as n, createElementBlock as r, createElementVNode as i, createStaticVNode as a, createTextVNode as o, defineComponent as s, onBeforeUnmount as c, onMounted as l, openBlock as u, ref as d, toDisplayString as f } from "vue";
|
|
3
3
|
//#region src/components/Duty/Duty.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var p = { class: "Duty" }, m = { class: "duty-section" }, h = {
|
|
@@ -19,7 +19,7 @@ var p = { class: "Duty" }, m = { class: "duty-section" }, h = {
|
|
|
19
19
|
}, T = { class: "main-shift-name" }, E = {
|
|
20
20
|
key: 5,
|
|
21
21
|
class: "duty-phone-row"
|
|
22
|
-
}, D = { class: "main-shift-name" }, O = /* @__PURE__ */
|
|
22
|
+
}, D = { class: "main-shift-name" }, O = /* @__PURE__ */ t(/* @__PURE__ */ s({
|
|
23
23
|
__name: "Duty",
|
|
24
24
|
props: {
|
|
25
25
|
appKey: {
|
|
@@ -40,8 +40,8 @@ var p = { class: "Duty" }, m = { class: "duty-section" }, h = {
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
emits: ["close"],
|
|
43
|
-
setup(
|
|
44
|
-
let O =
|
|
43
|
+
setup(t, { emit: s }) {
|
|
44
|
+
let O = t, k = s, A = d([]), j = d(null);
|
|
45
45
|
l(() => {
|
|
46
46
|
M(), j.value = setInterval(() => {
|
|
47
47
|
M();
|
|
@@ -52,7 +52,7 @@ var p = { class: "Duty" }, m = { class: "duty-section" }, h = {
|
|
|
52
52
|
let M = async () => {
|
|
53
53
|
await N();
|
|
54
54
|
}, N = async () => {
|
|
55
|
-
A.value = (await
|
|
55
|
+
A.value = (await e({
|
|
56
56
|
appKey: O.appKey,
|
|
57
57
|
appSalt: O.appSalt,
|
|
58
58
|
id: O.ids.duty.id,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as e, n as t } from "./component-AqiMonitor-Bnnw0FMj.mjs";
|
|
2
2
|
import { ElLoadingDirective as n, ElOption as r, ElSelect as i } from "element-plus/es";
|
|
3
3
|
import { Fragment as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, withCtx as _, withDirectives as v } from "vue";
|
|
4
4
|
import * as y from "echarts";
|
|
@@ -9,7 +9,7 @@ import "element-plus/es/components/option/style/css";
|
|
|
9
9
|
var b = {
|
|
10
10
|
class: "EarlyWarningStatistic",
|
|
11
11
|
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
12
|
-
}, x = { class: "EarlyWarningStatistic-head" }, S = { class: "EarlyWarningStatistic-head-top" }, C = { class: "EarlyWarningStatistic-filters" }, w = { class: "filter-item" }, T = /* @__PURE__ */
|
|
12
|
+
}, x = { class: "EarlyWarningStatistic-head" }, S = { class: "EarlyWarningStatistic-head-top" }, C = { class: "EarlyWarningStatistic-filters" }, w = { class: "filter-item" }, T = /* @__PURE__ */ t(/* @__PURE__ */ u({
|
|
13
13
|
__name: "EarlyWarningStatistic",
|
|
14
14
|
props: {
|
|
15
15
|
appKey: {
|
|
@@ -29,8 +29,8 @@ var b = {
|
|
|
29
29
|
default: () => ({})
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
-
setup(
|
|
33
|
-
let T =
|
|
32
|
+
setup(t, { emit: u }) {
|
|
33
|
+
let T = t, E = u, D = m(!1), O = m("预警等级"), k = m([{
|
|
34
34
|
value: "预警等级",
|
|
35
35
|
label: "预警等级"
|
|
36
36
|
}, {
|
|
@@ -45,7 +45,7 @@ var b = {
|
|
|
45
45
|
A.value &&= (clearInterval(A.value), null), j.value &&= (clearInterval(j.value), null), N &&= (N.dispose(), null);
|
|
46
46
|
});
|
|
47
47
|
let F = async () => {
|
|
48
|
-
j.value &&= (clearInterval(j.value), null), D.value = !0, P.value = (await
|
|
48
|
+
j.value &&= (clearInterval(j.value), null), D.value = !0, P.value = (await e({
|
|
49
49
|
appKey: T.appKey,
|
|
50
50
|
appSalt: T.appSalt,
|
|
51
51
|
id: T.ids.data.id,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as e, n as t } from "./component-AqiMonitor-Bnnw0FMj.mjs";
|
|
2
2
|
import { ElIcon as n, ElLoadingDirective as r, ElRadio as i, ElRadioGroup as a } from "element-plus/es";
|
|
3
3
|
import { Fragment as o, computed as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, nextTick as m, normalizeClass as h, normalizeStyle as ee, onBeforeUnmount as g, onMounted as te, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as x, vShow as S, withCtx as C, withDirectives as w } from "vue";
|
|
4
4
|
import { ArrowRight as T } from "@element-plus/icons-vue";
|
|
@@ -34,7 +34,7 @@ var E = "data:audio/mpeg;base64,SUQzBAAAAAAAfVRYWFgAAAAZAAADY29tbWVudAB3d3cuaWdv
|
|
|
34
34
|
}, Pe = { class: "detail-popup-head" }, Fe = { class: "detail-popup-title" }, Ie = { class: "detail-popup-row" }, Le = { class: "detail-popup-row" }, Re = { class: "detail-popup-row" }, ze = { class: "detail-popup-row" }, Be = { class: "detail-popup-row" }, Ve = { class: "detail-popup-row" }, He = { key: 0 }, Ue = {
|
|
35
35
|
key: 0,
|
|
36
36
|
style: { "margin-right": "10px" }
|
|
37
|
-
}, We = { key: 1 }, Ge = { key: 1 }, D = "当前暂无报警", O = /* @__PURE__ */
|
|
37
|
+
}, We = { key: 1 }, Ge = { key: 1 }, D = "当前暂无报警", O = /* @__PURE__ */ t(/* @__PURE__ */ p({
|
|
38
38
|
__name: "GeologyLiveAlarm",
|
|
39
39
|
props: {
|
|
40
40
|
appKey: {
|
|
@@ -62,8 +62,8 @@ var E = "data:audio/mpeg;base64,SUQzBAAAAAAAfVRYWFgAAAAZAAADY29tbWVudAB3d3cuaWdv
|
|
|
62
62
|
"removeDataTitle",
|
|
63
63
|
"toMapView"
|
|
64
64
|
],
|
|
65
|
-
setup(
|
|
66
|
-
let O =
|
|
65
|
+
setup(t, { emit: p }) {
|
|
66
|
+
let O = t, k = p, Ke = v([]), A = v(""), j = v(!1), M = v(null), N = v(null), P = v("table"), F = v("1h降水"), I = v(!1), L = v(!1), R = v({}), z = v("隐患点观测时间:--"), B = v([]), V = v({}), H = v({}), U = null, qe = s(() => A.value === D ? "#52c41a" : "#ff4d4f"), W = (e) => (e || []).filter((e) => Z(e)).length, G = () => U || (U = new Audio(E), U.preload = "auto", U), Je = () => new Promise((e) => {
|
|
67
67
|
let t = G();
|
|
68
68
|
t.volume = 0, t.currentTime = 0;
|
|
69
69
|
let n = t.play();
|
|
@@ -100,7 +100,7 @@ var E = "data:audio/mpeg;base64,SUQzBAAAAAAAfVRYWFgAAAAZAAADY29tbWVudAB3d3cuaWdv
|
|
|
100
100
|
});
|
|
101
101
|
let q = async () => {
|
|
102
102
|
j.value = !0;
|
|
103
|
-
let
|
|
103
|
+
let t = await e({
|
|
104
104
|
appKey: O.appKey,
|
|
105
105
|
appSalt: O.appSalt,
|
|
106
106
|
id: O.ids.data.id,
|
|
@@ -110,7 +110,7 @@ var E = "data:audio/mpeg;base64,SUQzBAAAAAAAfVRYWFgAAAAZAAADY29tbWVudAB3d3cuaWdv
|
|
|
110
110
|
isFormData: O.ids.data.isFormData
|
|
111
111
|
});
|
|
112
112
|
j.value = !1;
|
|
113
|
-
let n =
|
|
113
|
+
let n = t.data.result.ds;
|
|
114
114
|
console.log("得到数据", JSON.parse(JSON.stringify(n))), Ke.value = n;
|
|
115
115
|
let r = z.value, i = $e(n);
|
|
116
116
|
z.value = i, k("removeDataTitle", r), setTimeout(() => {
|