nxd-plugin 1.7.43 → 1.7.45
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/chunks/{component-AqiMonitor-TeQstcwX.mjs → component-AqiMonitor-n1rMcUkd.mjs} +322 -1911
- package/dist/chunks/{component-HighWayEarlyWarningRed-DUSkc5Gq.mjs → component-HighWayEarlyWarningRed-BnJyShce.mjs} +18 -16
- package/dist/chunks/component-HighWayFreeze-ByxdEM06.mjs +181 -0
- package/dist/chunks/{component-HighwayLiveAlarm-niFJdKW9.mjs → component-HighwayLiveAlarm-D_lIKhkC.mjs} +10150 -10668
- package/dist/chunks/{component-HighwayLiveAlarmNew-B-434mfg.mjs → component-HighwayLiveAlarmNew-DbEuUJW6.mjs} +243 -650
- package/dist/chunks/component-HighwayStations-Cmjb6MHu.mjs +218 -0
- package/dist/chunks/{component-HighwayWeatherForecast-81Gh4M5v.mjs → component-HighwayWeatherForecast-ByPDymqX.mjs} +159 -158
- package/dist/chunks/{component-ImageGeneration-DiYbqjwN.mjs → component-ImageGeneration-SPM2CN6K.mjs} +5071 -7620
- package/dist/chunks/{component-LithiumBatteryMiningArea-BD-Yp6C8.mjs → component-LithiumBatteryMiningArea-C1KfrHaF.mjs} +51 -48
- package/dist/chunks/{component-MapPopup-FAIPuiTd.mjs → component-MapPopup-B2f0tnVu.mjs} +1 -1
- package/dist/chunks/{component-PieLegend-DMyswbHi.mjs → component-PieLegend-w1YvpVaB.mjs} +1 -1
- package/dist/chunks/{component-RadarChart-BQiq16nx.mjs → component-RadarChart-Dnjp4cbb.mjs} +11 -11
- package/dist/chunks/{component-RadarLegend-CFR9njq7.mjs → component-RadarLegend-Coihcxje.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-BVj7Jx05.mjs → component-RadarShortTerm-BlI00kHC.mjs} +75 -75
- package/dist/chunks/{component-RadarTime-Xnv8piO_.mjs → component-RadarTime-BnWNJDq1.mjs} +14 -14
- package/dist/chunks/{component-ServiceMaterial-NQJP1tCA.mjs → component-ServiceMaterial-trvjXwHN.mjs} +1 -1
- package/dist/chunks/{component-ServiceMaterialsBtn-959d5IJI.mjs → component-ServiceMaterialsBtn-C1ud7xtc.mjs} +34 -556
- package/dist/chunks/{component-TimeBasedForecast-BZ9YrmMt.mjs → component-TimeBasedForecast-DR7FkXAn.mjs} +69 -68
- package/dist/chunks/{component-WarningLine-DzD4jX2_.mjs → component-WarningLine-CWqiXdhZ.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-DfRZj6R5.mjs → component-WarningSignal-CtyCcjNo.mjs} +75 -74
- package/dist/chunks/component-WeatherForecast-DTGpJVhm.mjs +209 -0
- package/dist/chunks/component-YCHome-DeLwwN9F.mjs +426 -0
- package/dist/chunks/{component-YCLogin-D0BOD7Uj.mjs → component-YCLogin-DtjB2mai.mjs} +12 -9
- package/dist/chunks/{component-YCLoginNew-BIC_obt4.mjs → component-YCLoginNew-DDPai-9U.mjs} +35 -32
- package/dist/nxd-plugin.mjs +26 -26
- package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
- package/dist/styles/component-HighWayFreeze.css +1 -1
- package/dist/styles/component-HighwayLiveAlarm.css +1 -1
- package/dist/styles/component-HighwayLiveAlarmNew.css +1 -1
- package/dist/styles/component-HighwayStations.css +1 -1
- package/dist/styles/component-ImageGeneration.css +1 -1
- package/dist/styles/component-RadarShortTerm.css +1 -1
- package/dist/styles/component-ServiceMaterialsBtn.css +1 -1
- package/dist/styles/component-YCHome.css +1 -1
- package/dist/styles/component-YCLogin.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/component-HighWayFreeze-BmXHovFq.mjs +0 -4489
- package/dist/chunks/component-HighwayStations-Ds0mS1Tc.mjs +0 -32157
- package/dist/chunks/component-WeatherForecast-ChQEdik7.mjs +0 -209
- package/dist/chunks/component-YCHome-CY61OonH.mjs +0 -1430
- package/dist/components/HighwayStations/default.json.d.ts +0 -31945
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import {
|
|
1
|
+
import { n as e, r as t } from "./component-AqiMonitor-n1rMcUkd.mjs";
|
|
2
|
+
import { ElLoadingDirective as n } from "element-plus/es";
|
|
3
3
|
import { Fragment as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, getCurrentInstance as c, onMounted as l, openBlock as u, ref as d, renderList as f, toDisplayString as p, vModelCheckbox as m, withDirectives as h } from "vue";
|
|
4
4
|
//#region src/components/RadarChart/RadarChart.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var g = {
|
|
@@ -11,7 +11,7 @@ var g = {
|
|
|
11
11
|
} }, O = { style: {
|
|
12
12
|
width: "80px",
|
|
13
13
|
"text-align": "center"
|
|
14
|
-
} }, k = { key: 0 }, A = /* @__PURE__ */
|
|
14
|
+
} }, k = { key: 0 }, A = /* @__PURE__ */ e(/* @__PURE__ */ s({
|
|
15
15
|
__name: "RadarChart",
|
|
16
16
|
props: {
|
|
17
17
|
appKey: {
|
|
@@ -36,8 +36,8 @@ var g = {
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
emits: ["close"],
|
|
39
|
-
setup(
|
|
40
|
-
let A = c()?.appContext.config.globalProperties.$bus, j =
|
|
39
|
+
setup(e, { emit: s }) {
|
|
40
|
+
let A = c()?.appContext.config.globalProperties.$bus, j = e, M = s, N = d(!1), P = d([]), F = d(!0), I = d(0);
|
|
41
41
|
l(() => {
|
|
42
42
|
A?.on("toComponent", (e) => {
|
|
43
43
|
e.componentName === "RadarChart" && L();
|
|
@@ -47,7 +47,7 @@ var g = {
|
|
|
47
47
|
await R();
|
|
48
48
|
}, R = async () => {
|
|
49
49
|
N.value = !0;
|
|
50
|
-
let e = await
|
|
50
|
+
let e = await t({
|
|
51
51
|
appKey: j.appKey,
|
|
52
52
|
appSalt: j.appSalt,
|
|
53
53
|
id: j.ids.data.id,
|
|
@@ -57,8 +57,8 @@ var g = {
|
|
|
57
57
|
isFormData: j.ids.data.isFormData
|
|
58
58
|
});
|
|
59
59
|
N.value = !1, console.log(e, "雷达数据");
|
|
60
|
-
let
|
|
61
|
-
|
|
60
|
+
let n = e.data?.result?.output || [];
|
|
61
|
+
n && n.length > 0 && (P.value = n.map((e) => ({
|
|
62
62
|
...e,
|
|
63
63
|
areaName: e.area_name || e.areaName || "",
|
|
64
64
|
alarmTime: e.alarm_time || e.alarmTime || "",
|
|
@@ -67,9 +67,9 @@ var g = {
|
|
|
67
67
|
}, z = () => {
|
|
68
68
|
M("close", "RadarChart");
|
|
69
69
|
};
|
|
70
|
-
return (
|
|
71
|
-
let c =
|
|
72
|
-
return h((u(), a("div", g, [o("div", _, [o("div", v, [o("div", null, p(
|
|
70
|
+
return (t, s) => {
|
|
71
|
+
let c = n;
|
|
72
|
+
return h((u(), a("div", g, [o("div", _, [o("div", v, [o("div", null, p(e.title), 1), o("div", {
|
|
73
73
|
class: "closeBtn",
|
|
74
74
|
onClick: z,
|
|
75
75
|
title: "关闭"
|
package/dist/chunks/{component-RadarLegend-CFR9njq7.mjs → component-RadarLegend-Coihcxje.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-n1rMcUkd.mjs";
|
|
2
2
|
import { Fragment as t, createElementBlock as n, createElementVNode as r, defineComponent as i, getCurrentInstance as a, normalizeClass as o, normalizeStyle as s, onMounted as c, openBlock as l, ref as u, renderList as d, toDisplayString as f, vShow as p, withDirectives as m } from "vue";
|
|
3
3
|
//#region src/components/RadarLegend/RadarLegend.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var h = { class: "RadarLegend-colorList" }, g = { class: "valueText" }, _ = /* @__PURE__ */ e(/* @__PURE__ */ i({
|
package/dist/chunks/{component-RadarShortTerm-BVj7Jx05.mjs → component-RadarShortTerm-BlI00kHC.mjs}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "
|
|
5
|
-
import {
|
|
6
|
-
import { n as a } from "./component-HighWayEarlyWarningRed-DUSkc5Gq.mjs";
|
|
7
|
-
import { t as o } from "./component-RadarLegend-CFR9njq7.mjs";
|
|
8
|
-
import { Fragment as s, computed as c, createBlock as ee, createCommentVNode as te, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, nextTick as m, normalizeClass as h, normalizeStyle as g, onBeforeUnmount as ne, onMounted as re, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as x, vShow as S, watch as C, withCtx as w, withDirectives as T } from "vue";
|
|
1
|
+
import { n as e, r as t } from "./component-AqiMonitor-n1rMcUkd.mjs";
|
|
2
|
+
import { n } from "./component-HighWayEarlyWarningRed-BnJyShce.mjs";
|
|
3
|
+
import { t as r } from "./component-RadarLegend-Coihcxje.mjs";
|
|
4
|
+
import { ElCheckbox as i, ElIcon as a, ElLoadingDirective as o } from "element-plus/es";
|
|
5
|
+
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as ee, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, nextTick as h, normalizeClass as g, normalizeStyle as te, onBeforeUnmount as ne, onMounted as re, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as x, vShow as S, watch as C, withCtx as w, withDirectives as T } from "vue";
|
|
9
6
|
import { ArrowRight as E, VideoPause as ie, VideoPlay as ae } from "@element-plus/icons-vue";
|
|
7
|
+
import "element-plus/es/components/loading/style/css";
|
|
8
|
+
import "element-plus/es/components/checkbox/style/css";
|
|
9
|
+
import "element-plus/es/components/slider/style/css";
|
|
10
10
|
//#region src/components/RadarShortTerm/RadarShortTerm.vue?vue&type=script&setup=true&lang.ts
|
|
11
11
|
var oe = {
|
|
12
12
|
class: "RadarShortTerm",
|
|
@@ -20,7 +20,7 @@ var oe = {
|
|
|
20
20
|
}, ye = ["onClick"], be = {
|
|
21
21
|
key: 1,
|
|
22
22
|
class: "pile-empty"
|
|
23
|
-
}, xe = { class: "RadarShortTerm-timeline" }, Se = ["title"], Ce = { class: "timeline-slider-wrap" }, we = { class: "timeline-time-label" }, Te = { class: "radarAxis-li" }, Ee = ["onClick"], De = { class: "radarAxis-li-node-text" }, D = /* @__PURE__ */
|
|
23
|
+
}, xe = { class: "RadarShortTerm-timeline" }, Se = ["title"], Ce = { class: "timeline-slider-wrap" }, we = { class: "timeline-time-label" }, Te = { class: "radarAxis-li" }, Ee = ["onClick"], De = { class: "radarAxis-li-node-text" }, D = /* @__PURE__ */ e(/* @__PURE__ */ m({
|
|
24
24
|
__name: "RadarShortTerm",
|
|
25
25
|
props: {
|
|
26
26
|
appKey: {
|
|
@@ -51,8 +51,8 @@ var oe = {
|
|
|
51
51
|
"setImgAniShowByIndex",
|
|
52
52
|
"changeLoading"
|
|
53
53
|
],
|
|
54
|
-
setup(
|
|
55
|
-
let D =
|
|
54
|
+
setup(e, { emit: m }) {
|
|
55
|
+
let D = e, O = m, k = v(!0), A = v(!1), j = v(0), M = v(null), N = v([]), P = v({}), F = v({}), I = v({}), L = v(""), R = v(null), z = v(!0), B = v(null), V = v(!0), H = v(null), U = v({
|
|
56
56
|
httpurl: "",
|
|
57
57
|
lngStart: void 0,
|
|
58
58
|
latStart: void 0,
|
|
@@ -83,7 +83,7 @@ var oe = {
|
|
|
83
83
|
}), Ae(), z.value = !1;
|
|
84
84
|
}, K = async () => {
|
|
85
85
|
z.value = !0;
|
|
86
|
-
let e = await
|
|
86
|
+
let e = await t({
|
|
87
87
|
appKey: D.appKey,
|
|
88
88
|
appSalt: D.appSalt,
|
|
89
89
|
id: D.ids.radar.id,
|
|
@@ -93,7 +93,7 @@ var oe = {
|
|
|
93
93
|
isFormData: D.ids.radar.isFormData
|
|
94
94
|
});
|
|
95
95
|
console.log("雷达", e.data.result);
|
|
96
|
-
let
|
|
96
|
+
let n = await t({
|
|
97
97
|
appKey: D.appKey,
|
|
98
98
|
appSalt: D.appSalt,
|
|
99
99
|
id: D.ids.historyRadar.id,
|
|
@@ -102,11 +102,11 @@ var oe = {
|
|
|
102
102
|
reqType: D.ids.historyRadar.reqType,
|
|
103
103
|
isFormData: D.ids.historyRadar.isFormData
|
|
104
104
|
});
|
|
105
|
-
console.log("历史雷达",
|
|
106
|
-
let
|
|
105
|
+
console.log("历史雷达", n.data.result), z.value = !1;
|
|
106
|
+
let r = q(e.data.result), i = q(n.data.result);
|
|
107
107
|
U.value = {
|
|
108
|
-
httpurl:
|
|
109
|
-
...
|
|
108
|
+
httpurl: r.httpurl,
|
|
109
|
+
...r.extent
|
|
110
110
|
}, W.value = {
|
|
111
111
|
httpurl: i.httpurl,
|
|
112
112
|
...i.extent
|
|
@@ -117,15 +117,15 @@ var oe = {
|
|
|
117
117
|
_isHistory: !0,
|
|
118
118
|
_label: t === 0 ? "-2" : t === 1 ? "-1" : "现在",
|
|
119
119
|
_httpurl: (i.httpurl || "") + (e.observation_time || "").slice(0, 10).replaceAll("-", "") + "/"
|
|
120
|
-
})), o =
|
|
120
|
+
})), o = r.frames.map((e, t) => ({
|
|
121
121
|
...e,
|
|
122
122
|
_isHistory: !1,
|
|
123
123
|
_label: `+${t + 1}`,
|
|
124
|
-
_httpurl:
|
|
124
|
+
_httpurl: r.httpurl || ""
|
|
125
125
|
})), s = [...a, ...o];
|
|
126
126
|
I.value = {
|
|
127
127
|
ds: s,
|
|
128
|
-
httpurl:
|
|
128
|
+
httpurl: r.httpurl,
|
|
129
129
|
...i.extent
|
|
130
130
|
}, j.value = 2, k.value && (O("clearImgAniArr"), s.forEach((e) => {
|
|
131
131
|
let t = Ie(e);
|
|
@@ -136,7 +136,7 @@ var oe = {
|
|
|
136
136
|
Le(e), O("showRadarLegend", !0);
|
|
137
137
|
}, 1e3));
|
|
138
138
|
}, Oe = async () => {
|
|
139
|
-
let e = await
|
|
139
|
+
let e = await t({
|
|
140
140
|
appKey: D.appKey,
|
|
141
141
|
appSalt: D.appSalt,
|
|
142
142
|
id: D.ids.shortTerm.id,
|
|
@@ -212,7 +212,7 @@ var oe = {
|
|
|
212
212
|
otherData: { imgId: "radar_RadarShortTerm" }
|
|
213
213
|
};
|
|
214
214
|
}, Le = (e) => {
|
|
215
|
-
L.value && O("removeDataTitle", L.value), L.value = "雷达观测时间:" +
|
|
215
|
+
L.value && O("removeDataTitle", L.value), L.value = "雷达观测时间:" + n(e.focarcast_time).format("YYYY-MM-DD HH:mm "), O("addDataTitle", L.value);
|
|
216
216
|
}, Re = (e) => {
|
|
217
217
|
O("setImgAniShowByIndex", { index: e });
|
|
218
218
|
let t = Y.value[e];
|
|
@@ -235,7 +235,7 @@ var oe = {
|
|
|
235
235
|
C(j, (e) => {
|
|
236
236
|
Re(e), V.value && H.value !== null && e === H.value && (V.value = !1, H.value = null, O("changeLoading", !1));
|
|
237
237
|
}), C(j, () => {
|
|
238
|
-
|
|
238
|
+
h(() => {
|
|
239
239
|
let e = R.value;
|
|
240
240
|
if (!e) return;
|
|
241
241
|
let t = e.querySelectorAll(".radarAxis-li")[j.value];
|
|
@@ -268,105 +268,105 @@ var oe = {
|
|
|
268
268
|
zoom: 11
|
|
269
269
|
});
|
|
270
270
|
};
|
|
271
|
-
return (
|
|
272
|
-
let
|
|
273
|
-
return T((_(),
|
|
274
|
-
|
|
271
|
+
return (e, t) => {
|
|
272
|
+
let n = i, c = a, m = r, h = o;
|
|
273
|
+
return T((_(), u("div", oe, [
|
|
274
|
+
d("div", { class: "RadarShortTerm-head" }, [d("div", { class: "RadarShortTerm-head-top" }, [t[1] ||= d("div", null, "雷达短临预报", -1), d("div", { class: "head-actions" }, [d("div", {
|
|
275
275
|
class: "closeBtn",
|
|
276
276
|
onClick: Ge,
|
|
277
277
|
title: "关闭"
|
|
278
|
-
})])]),
|
|
278
|
+
})])]), t[2] ||= d("img", {
|
|
279
279
|
class: "RadarShortTerm-head-line",
|
|
280
280
|
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",
|
|
281
281
|
alt: ""
|
|
282
282
|
}, null, -1)]),
|
|
283
|
-
|
|
283
|
+
d("div", se, [d("div", ce, [d("div", le, [t[4] ||= d("span", { class: "setting-label" }, "雷达展示:", -1), d("div", ue, [p(n, {
|
|
284
284
|
modelValue: k.value,
|
|
285
|
-
"onUpdate:modelValue":
|
|
285
|
+
"onUpdate:modelValue": t[0] ||= (e) => k.value = e,
|
|
286
286
|
class: "pile-checkbox",
|
|
287
287
|
onChange: He
|
|
288
288
|
}, {
|
|
289
|
-
default: w(() => [...
|
|
289
|
+
default: w(() => [...t[3] ||= [f(" 显示 ", -1)]]),
|
|
290
290
|
_: 1
|
|
291
291
|
}, 8, ["modelValue"])])])])]),
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
], -1),
|
|
292
|
+
d("div", de, [t[7] ||= d("div", { class: "table-head" }, [
|
|
293
|
+
d("span", null, "高速名称"),
|
|
294
|
+
d("span", null, "状态要素"),
|
|
295
|
+
d("span", { class: "head-arrow" })
|
|
296
|
+
], -1), d("div", fe, [(_(!0), u(s, null, y(J.value, (e) => (_(), u("div", {
|
|
297
297
|
class: "table-row",
|
|
298
298
|
key: e.name
|
|
299
299
|
}, [
|
|
300
|
-
|
|
300
|
+
d("div", {
|
|
301
301
|
class: "table-row-main",
|
|
302
302
|
onClick: (t) => Ue(e.name)
|
|
303
303
|
}, [
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
class:
|
|
304
|
+
d("span", me, b(e.name), 1),
|
|
305
|
+
d("div", { class: g(["status-tags", { "has-warn": Z(e.tags) }]) }, [(_(!0), u(s, null, y(e.tags, (t) => (_(), u("span", {
|
|
306
|
+
class: g(["status-tag", { warn: t.warn }]),
|
|
307
307
|
key: `${e.name}-${t.label}`
|
|
308
|
-
}, [
|
|
309
|
-
|
|
310
|
-
class:
|
|
308
|
+
}, [d("span", null, b(t.label), 1)], 2))), 128))], 2),
|
|
309
|
+
d("span", {
|
|
310
|
+
class: g(["expand-arrow", { expanded: P.value[e.name] }]),
|
|
311
311
|
"aria-hidden": "true"
|
|
312
|
-
}, [
|
|
313
|
-
default: w(() => [
|
|
312
|
+
}, [p(c, null, {
|
|
313
|
+
default: w(() => [p(x(E))]),
|
|
314
314
|
_: 1
|
|
315
315
|
})], 2)
|
|
316
316
|
], 8, pe),
|
|
317
|
-
T(
|
|
317
|
+
T(d("div", {
|
|
318
318
|
class: "pile-title",
|
|
319
319
|
onClick: (t) => We(e.name)
|
|
320
|
-
}, [
|
|
321
|
-
default: w(() => [
|
|
320
|
+
}, [d("span", null, [t[5] ||= f(" 桩号数据 ", -1), Fe(e.piles) > 0 ? (_(), u("span", ge, " (报警数量:" + b(Fe(e.piles)) + "个)", 1)) : ee("", !0)]), d("span", { class: g(["panel-arrow", { expanded: F.value[e.name] }]) }, [p(c, null, {
|
|
321
|
+
default: w(() => [p(x(E))]),
|
|
322
322
|
_: 1
|
|
323
323
|
})], 2)], 8, he), [[S, P.value[e.name]]]),
|
|
324
|
-
T(
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
], -1), e.piles.length ? (_(),
|
|
330
|
-
class:
|
|
324
|
+
T(d("div", _e, [t[6] ||= d("div", { class: "pile-head" }, [
|
|
325
|
+
d("span", null, "桩号"),
|
|
326
|
+
d("span", null, "未来R1h"),
|
|
327
|
+
d("span", null, "未来R2h"),
|
|
328
|
+
d("span", null, "未来R3h")
|
|
329
|
+
], -1), e.piles.length ? (_(), u("div", ve, [(_(!0), u(s, null, y(e.piles, (e) => (_(), u("div", {
|
|
330
|
+
class: g(["pile-row", { "is-warn": e.isWarn }]),
|
|
331
331
|
key: e.pileNo,
|
|
332
332
|
onClick: (t) => Ke(e)
|
|
333
333
|
}, [
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
], 10, ye))), 128))])) : (_(),
|
|
334
|
+
d("span", null, b(e.pileNo), 1),
|
|
335
|
+
d("span", null, b(e.rain1h), 1),
|
|
336
|
+
d("span", null, b(e.rain2h), 1),
|
|
337
|
+
d("span", null, b(e.rain3h), 1)
|
|
338
|
+
], 10, ye))), 128))])) : (_(), u("div", be, "暂无数据"))], 512), [[S, P.value[e.name] && F.value[e.name]]])
|
|
339
339
|
]))), 128))])]),
|
|
340
|
-
T(
|
|
340
|
+
T(p(m, {
|
|
341
341
|
show: !0,
|
|
342
342
|
isVertical: !1,
|
|
343
343
|
class: "RadarShortTerm-legend"
|
|
344
344
|
}, null, 512), [[S, k.value]]),
|
|
345
|
-
T(
|
|
345
|
+
T(d("div", xe, [d("button", {
|
|
346
346
|
type: "button",
|
|
347
347
|
class: "timeline-play-btn",
|
|
348
348
|
title: A.value ? "暂停" : "播放",
|
|
349
349
|
onClick: Be
|
|
350
|
-
}, [
|
|
351
|
-
default: w(() => [A.value ? (_(),
|
|
350
|
+
}, [p(c, null, {
|
|
351
|
+
default: w(() => [A.value ? (_(), l(x(ie), { key: 0 })) : (_(), l(x(ae), { key: 1 }))]),
|
|
352
352
|
_: 1
|
|
353
|
-
})], 8, Se),
|
|
353
|
+
})], 8, Se), d("div", Ce, [d("span", we, b(X.value[j.value] || ""), 1), d("div", {
|
|
354
354
|
class: "radarAxis",
|
|
355
355
|
ref_key: "ref_radarAxis",
|
|
356
356
|
ref: R
|
|
357
|
-
}, [(_(!0),
|
|
357
|
+
}, [(_(!0), u(s, null, y(Y.value, (e, n) => (_(), u("div", Te, [d("div", {
|
|
358
358
|
class: "radarAxis-li-node",
|
|
359
|
-
onClick: (e) => (j.value = Number(
|
|
359
|
+
onClick: (e) => (j.value = Number(n), Ve())
|
|
360
360
|
}, [
|
|
361
|
-
|
|
362
|
-
T(
|
|
363
|
-
|
|
364
|
-
], 8, Ee), (_(),
|
|
361
|
+
d("i", { style: te({ backgroundColor: e._isHistory ? "" : "#ca9e64" }) }, null, 4),
|
|
362
|
+
T(d("span", null, [...t[8] ||= [d("i", null, null, -1)]], 512), [[S, n === j.value]]),
|
|
363
|
+
d("div", De, [d("b", null, b(e._label), 1)])
|
|
364
|
+
], 8, Ee), (_(), u(s, null, y(4, (t) => T(d("div", {
|
|
365
365
|
class: "radarAxis-li-point",
|
|
366
|
-
key:
|
|
367
|
-
style:
|
|
368
|
-
}, null, 4), [[S,
|
|
369
|
-
])), [[
|
|
366
|
+
key: t,
|
|
367
|
+
style: te({ backgroundColor: e._isHistory ? "" : "#ca9e64" })
|
|
368
|
+
}, null, 4), [[S, n !== Y.value.length - 1]])), 64))]))), 256))], 512)])], 512), [[S, k.value]])
|
|
369
|
+
])), [[h, z.value]]);
|
|
370
370
|
};
|
|
371
371
|
}
|
|
372
372
|
}), [["__scopeId", "data-v-2cd49a0d"]]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import {
|
|
1
|
+
import { n as e, r as t } from "./component-AqiMonitor-n1rMcUkd.mjs";
|
|
2
|
+
import { ElLoadingDirective as n } from "element-plus/es";
|
|
3
3
|
import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, getCurrentInstance as l, normalizeClass as u, normalizeStyle as d, onMounted as f, onUnmounted as ee, openBlock as p, ref as m, renderList as h, toDisplayString as g, vShow as _, watch as te, withDirectives as v, withModifiers as y } from "vue";
|
|
4
4
|
//#region src/components/RadarTime/RadarTime.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class: "RadarTime__head-top" }, ie = { class: "RadarTime__body" }, ae = { class: "RadarTime__toolbar" }, oe = { class: "RadarTime__display" }, se = { class: "RadarTime__panel" }, ce = { class: "RadarTime__time-list" }, le = ["onClick"], ue = {
|
|
@@ -22,7 +22,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
22
22
|
height: "20",
|
|
23
23
|
viewBox: "0 0 24 24",
|
|
24
24
|
fill: "#fff"
|
|
25
|
-
}, Se = { class: "RadarTime__track-bg" }, Ce = { class: "RadarTime__track-content" }, we = ["onClick"], S = /* @__PURE__ */
|
|
25
|
+
}, Se = { class: "RadarTime__track-bg" }, Ce = { class: "RadarTime__track-content" }, we = ["onClick"], S = /* @__PURE__ */ e(/* @__PURE__ */ c({
|
|
26
26
|
__name: "RadarTime",
|
|
27
27
|
props: {
|
|
28
28
|
appKey: {
|
|
@@ -118,8 +118,8 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
118
118
|
"addPolygon",
|
|
119
119
|
"addMarker"
|
|
120
120
|
],
|
|
121
|
-
setup(
|
|
122
|
-
let S = l()?.appContext.config.globalProperties.$bus, C =
|
|
121
|
+
setup(e, { emit: c }) {
|
|
122
|
+
let S = l()?.appContext.config.globalProperties.$bus, C = e, w = c, T = m(!1), E = m(!1), D = m([]), O = m([]), k = m([]), A = m(0), j = m([]), M = m(null), N = m(!1), P = m(null), F = m(!1), I = m(null), L = m(0), R = i(() => O.value.map((e) => ({
|
|
123
123
|
time: e.radar_time,
|
|
124
124
|
displayTime: e.radar_time?.substring(11, 16) || "",
|
|
125
125
|
selectedTime: e.radar_time?.substring(0, 16) || ""
|
|
@@ -236,7 +236,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
236
236
|
isFormData: C.ids.data.isFormData
|
|
237
237
|
};
|
|
238
238
|
try {
|
|
239
|
-
let
|
|
239
|
+
let n = (await t(e)).data?.result?.output || "", r = JSON.parse(n)?.data || [];
|
|
240
240
|
console.log(r, "雷达实况数据(标准版)"), r && r.length > 0 && (r = r.reverse(), O.value = r.map((e) => {
|
|
241
241
|
let t = "";
|
|
242
242
|
if (e.imagePath) {
|
|
@@ -257,7 +257,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
257
257
|
T.value = !1;
|
|
258
258
|
}
|
|
259
259
|
}, $ = async (e) => {
|
|
260
|
-
let
|
|
260
|
+
let n = {
|
|
261
261
|
appKey: C.appKey,
|
|
262
262
|
appSalt: C.appSalt,
|
|
263
263
|
id: C.ids.data.forecastId,
|
|
@@ -267,7 +267,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
267
267
|
isFormData: C.ids.data.isFormData
|
|
268
268
|
};
|
|
269
269
|
try {
|
|
270
|
-
let e = await n
|
|
270
|
+
let e = await t(n);
|
|
271
271
|
console.log(e, "雷达外推数据");
|
|
272
272
|
let r = e.data?.result?.output || "", i = {};
|
|
273
273
|
try {
|
|
@@ -302,7 +302,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
302
302
|
}), console.log(k.value, "forecastList 外推数据");
|
|
303
303
|
}, Le = async () => {
|
|
304
304
|
try {
|
|
305
|
-
let e = (await
|
|
305
|
+
let e = (await t({
|
|
306
306
|
appKey: C.appKey,
|
|
307
307
|
appSalt: C.appSalt,
|
|
308
308
|
id: C.ids.data.radarListId,
|
|
@@ -445,9 +445,9 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
445
445
|
}, Ve = () => {
|
|
446
446
|
Y(), w("clearImg", "radarLayer"), w("close", "RadarTime");
|
|
447
447
|
};
|
|
448
|
-
return (
|
|
449
|
-
let c =
|
|
450
|
-
return v((p(), o("div", b, [s("div", ne, [s("div", re, [
|
|
448
|
+
return (t, i) => {
|
|
449
|
+
let c = n;
|
|
450
|
+
return v((p(), o("div", b, [s("div", ne, [s("div", re, [e.showCloseBtn ? (p(), o("div", {
|
|
451
451
|
key: 0,
|
|
452
452
|
class: "closeBtn",
|
|
453
453
|
onClick: Ve,
|
|
@@ -471,11 +471,11 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
471
471
|
onClick: (e) => Oe(t)
|
|
472
472
|
}, g(e.time), 11, le))), 128))])], 512), [[_, F.value]])], 512),
|
|
473
473
|
D.value.length > 0 && A.value >= 0 ? (p(), o("div", ue, [i[2] ||= s("span", { class: "RadarTime__node-label" }, "当前:", -1), s("span", de, g(D.value[A.value]?.time || "--:--"), 1)])) : a("", !0),
|
|
474
|
-
s("div", fe, [i[3] ||= s("span", { class: "RadarTime__legend-title" }, "图例", -1), s("div", pe, [(p(!0), o(r, null, h(
|
|
474
|
+
s("div", fe, [i[3] ||= s("span", { class: "RadarTime__legend-title" }, "图例", -1), s("div", pe, [(p(!0), o(r, null, h(e.legendData, (e, t) => (p(), o("div", {
|
|
475
475
|
key: t,
|
|
476
476
|
class: "RadarTime__legend-segment",
|
|
477
477
|
style: d({ backgroundColor: e.color })
|
|
478
|
-
}, null, 4))), 128)), s("div", x, [(p(!0), o(r, null, h(
|
|
478
|
+
}, null, 4))), 128)), s("div", x, [(p(!0), o(r, null, h(e.legendData, (e, t) => (p(), o("span", { key: t }, g(e.value), 1))), 128))])])])
|
|
479
479
|
]),
|
|
480
480
|
j.value.length > 0 ? (p(), o("div", me, [s("div", {
|
|
481
481
|
class: "RadarTime__station-dropdown",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e, r as t } from "./component-AqiMonitor-
|
|
1
|
+
import { n as e, r as t } from "./component-AqiMonitor-n1rMcUkd.mjs";
|
|
2
2
|
import { Fragment as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, getCurrentInstance as s, onMounted as c, openBlock as l, ref as u, renderList as d, toDisplayString as f, withModifiers as p } from "vue";
|
|
3
3
|
//#region src/components/ServiceMaterial/ServiceMaterial.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g = { class: "ServiceMaterial__head-top" }, _ = { class: "ServiceMaterial__body" }, v = { class: "ServiceMaterial__list" }, y = { class: "ServiceMaterial__list-container" }, b = { class: "ServiceMaterial__list-content" }, x = { class: "ServiceMaterial__list-col ServiceMaterial__list-col--name" }, S = ["title"], C = { class: "ServiceMaterial__list-col ServiceMaterial__list-col--time" }, w = { class: "ServiceMaterial__list-col ServiceMaterial__list-col--action" }, T = ["onClick"], E = ["onClick"], D = {
|