nxd-plugin 1.7.42 → 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-DoGm_NCt.mjs → component-AqiMonitor-n1rMcUkd.mjs} +323 -1912
- package/dist/chunks/{component-HighWayEarlyWarningRed-D89gFa50.mjs → component-HighWayEarlyWarningRed-BnJyShce.mjs} +18 -16
- package/dist/chunks/component-HighWayFreeze-ByxdEM06.mjs +181 -0
- package/dist/chunks/{component-HighwayLiveAlarm-DMdnrD3c.mjs → component-HighwayLiveAlarm-D_lIKhkC.mjs} +10150 -10667
- package/dist/chunks/{component-HighwayLiveAlarmNew-W2DKwrPk.mjs → component-HighwayLiveAlarmNew-DbEuUJW6.mjs} +243 -649
- package/dist/chunks/component-HighwayStations-Cmjb6MHu.mjs +218 -0
- package/dist/chunks/{component-HighwayWeatherForecast-Dn6tjaR-.mjs → component-HighwayWeatherForecast-ByPDymqX.mjs} +159 -158
- package/dist/chunks/{component-ImageGeneration-9XdsjkaE.mjs → component-ImageGeneration-SPM2CN6K.mjs} +5010 -7558
- package/dist/chunks/{component-LithiumBatteryMiningArea-Dj1DMKuU.mjs → component-LithiumBatteryMiningArea-C1KfrHaF.mjs} +51 -48
- package/dist/chunks/{component-MapPopup-0uM1uyql.mjs → component-MapPopup-B2f0tnVu.mjs} +1 -1
- package/dist/chunks/{component-PieLegend-JVqrszxO.mjs → component-PieLegend-w1YvpVaB.mjs} +1 -1
- package/dist/chunks/{component-RadarChart-Dz5sm2q5.mjs → component-RadarChart-Dnjp4cbb.mjs} +11 -11
- package/dist/chunks/{component-RadarLegend-BKm_34Tm.mjs → component-RadarLegend-Coihcxje.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-CyMCE9wz.mjs → component-RadarShortTerm-BlI00kHC.mjs} +86 -85
- package/dist/chunks/{component-RadarTime--DUvLJh2.mjs → component-RadarTime-BnWNJDq1.mjs} +14 -14
- package/dist/chunks/{component-ServiceMaterial-D9i1nsOr.mjs → component-ServiceMaterial-trvjXwHN.mjs} +1 -1
- package/dist/chunks/{component-ServiceMaterialsBtn-DjUo4Hsx.mjs → component-ServiceMaterialsBtn-C1ud7xtc.mjs} +34 -556
- package/dist/chunks/{component-TimeBasedForecast-Bc4EOR8R.mjs → component-TimeBasedForecast-DR7FkXAn.mjs} +69 -68
- package/dist/chunks/{component-WarningLine-C5AGlCZR.mjs → component-WarningLine-CWqiXdhZ.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-BaKdzl4i.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-DWhvv-rf.mjs → component-YCLogin-DtjB2mai.mjs} +52 -47
- package/dist/chunks/component-YCLoginNew-DDPai-9U.mjs +183 -0
- 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 +3 -3
- package/dist/chunks/component-HighWayFreeze-C_Y5P0wN.mjs +0 -4730
- package/dist/chunks/component-HighwayStations-CNs3P4Vw.mjs +0 -32157
- package/dist/chunks/component-WeatherForecast-BzF3E06F.mjs +0 -209
- package/dist/chunks/component-YCHome-B2wOG1EV.mjs +0 -1768
- package/dist/chunks/component-YCLoginNew-CPPSTPXH.mjs +0 -178
- 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-BKm_34Tm.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-CyMCE9wz.mjs → component-RadarShortTerm-BlI00kHC.mjs}
RENAMED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
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";
|
|
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";
|
|
9
10
|
//#region src/components/RadarShortTerm/RadarShortTerm.vue?vue&type=script&setup=true&lang.ts
|
|
10
11
|
var oe = {
|
|
11
12
|
class: "RadarShortTerm",
|
|
@@ -19,7 +20,7 @@ var oe = {
|
|
|
19
20
|
}, ye = ["onClick"], be = {
|
|
20
21
|
key: 1,
|
|
21
22
|
class: "pile-empty"
|
|
22
|
-
}, 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({
|
|
23
24
|
__name: "RadarShortTerm",
|
|
24
25
|
props: {
|
|
25
26
|
appKey: {
|
|
@@ -50,25 +51,25 @@ var oe = {
|
|
|
50
51
|
"setImgAniShowByIndex",
|
|
51
52
|
"changeLoading"
|
|
52
53
|
],
|
|
53
|
-
setup(
|
|
54
|
-
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({
|
|
55
56
|
httpurl: "",
|
|
56
57
|
lngStart: void 0,
|
|
57
58
|
latStart: void 0,
|
|
58
59
|
lngEnd: void 0,
|
|
59
60
|
latEnd: void 0
|
|
60
|
-
}), W =
|
|
61
|
+
}), W = v({
|
|
61
62
|
httpurl: "",
|
|
62
63
|
lngStart: void 0,
|
|
63
64
|
latStart: void 0,
|
|
64
65
|
lngEnd: void 0,
|
|
65
66
|
latEnd: void 0
|
|
66
67
|
});
|
|
67
|
-
|
|
68
|
+
re(() => {
|
|
68
69
|
G(), B.value = setInterval(() => {
|
|
69
70
|
G();
|
|
70
71
|
}, 1e3 * 60 * 10);
|
|
71
|
-
}),
|
|
72
|
+
}), ne(() => {
|
|
72
73
|
Q(), clearInterval(B.value), B.value = null;
|
|
73
74
|
});
|
|
74
75
|
let G = async () => {
|
|
@@ -82,7 +83,7 @@ var oe = {
|
|
|
82
83
|
}), Ae(), z.value = !1;
|
|
83
84
|
}, K = async () => {
|
|
84
85
|
z.value = !0;
|
|
85
|
-
let e = await
|
|
86
|
+
let e = await t({
|
|
86
87
|
appKey: D.appKey,
|
|
87
88
|
appSalt: D.appSalt,
|
|
88
89
|
id: D.ids.radar.id,
|
|
@@ -92,7 +93,7 @@ var oe = {
|
|
|
92
93
|
isFormData: D.ids.radar.isFormData
|
|
93
94
|
});
|
|
94
95
|
console.log("雷达", e.data.result);
|
|
95
|
-
let
|
|
96
|
+
let n = await t({
|
|
96
97
|
appKey: D.appKey,
|
|
97
98
|
appSalt: D.appSalt,
|
|
98
99
|
id: D.ids.historyRadar.id,
|
|
@@ -101,31 +102,31 @@ var oe = {
|
|
|
101
102
|
reqType: D.ids.historyRadar.reqType,
|
|
102
103
|
isFormData: D.ids.historyRadar.isFormData
|
|
103
104
|
});
|
|
104
|
-
console.log("历史雷达",
|
|
105
|
-
let
|
|
105
|
+
console.log("历史雷达", n.data.result), z.value = !1;
|
|
106
|
+
let r = q(e.data.result), i = q(n.data.result);
|
|
106
107
|
U.value = {
|
|
107
|
-
httpurl: n.httpurl,
|
|
108
|
-
...n.extent
|
|
109
|
-
}, W.value = {
|
|
110
108
|
httpurl: r.httpurl,
|
|
111
109
|
...r.extent
|
|
110
|
+
}, W.value = {
|
|
111
|
+
httpurl: i.httpurl,
|
|
112
|
+
...i.extent
|
|
112
113
|
};
|
|
113
|
-
let
|
|
114
|
+
let a = i.frames.slice(-3).map((e, t) => ({
|
|
114
115
|
...e,
|
|
115
116
|
focarcast_time: e.observation_time,
|
|
116
117
|
_isHistory: !0,
|
|
117
118
|
_label: t === 0 ? "-2" : t === 1 ? "-1" : "现在",
|
|
118
|
-
_httpurl: (
|
|
119
|
-
})),
|
|
119
|
+
_httpurl: (i.httpurl || "") + (e.observation_time || "").slice(0, 10).replaceAll("-", "") + "/"
|
|
120
|
+
})), o = r.frames.map((e, t) => ({
|
|
120
121
|
...e,
|
|
121
122
|
_isHistory: !1,
|
|
122
123
|
_label: `+${t + 1}`,
|
|
123
|
-
_httpurl:
|
|
124
|
-
})), s = [...
|
|
124
|
+
_httpurl: r.httpurl || ""
|
|
125
|
+
})), s = [...a, ...o];
|
|
125
126
|
I.value = {
|
|
126
127
|
ds: s,
|
|
127
|
-
httpurl:
|
|
128
|
-
...
|
|
128
|
+
httpurl: r.httpurl,
|
|
129
|
+
...i.extent
|
|
129
130
|
}, j.value = 2, k.value && (O("clearImgAniArr"), s.forEach((e) => {
|
|
130
131
|
let t = Ie(e);
|
|
131
132
|
t && O("addImageAniArr", { data: { imgArr: [t] } });
|
|
@@ -135,7 +136,7 @@ var oe = {
|
|
|
135
136
|
Le(e), O("showRadarLegend", !0);
|
|
136
137
|
}, 1e3));
|
|
137
138
|
}, Oe = async () => {
|
|
138
|
-
let e = await
|
|
139
|
+
let e = await t({
|
|
139
140
|
appKey: D.appKey,
|
|
140
141
|
appSalt: D.appSalt,
|
|
141
142
|
id: D.ids.shortTerm.id,
|
|
@@ -162,7 +163,7 @@ var oe = {
|
|
|
162
163
|
httpurl: i,
|
|
163
164
|
extent: r
|
|
164
165
|
};
|
|
165
|
-
}, J =
|
|
166
|
+
}, J = c(() => Pe(N.value, (e) => Z(e.tags))), Y = c(() => I.value?.ds || []), X = c(() => Y.value.map((e) => {
|
|
166
167
|
let t = new Date(e.focarcast_time);
|
|
167
168
|
return `${String(t.getHours()).padStart(2, "0")}:${String(t.getMinutes()).padStart(2, "0")}`;
|
|
168
169
|
})), Ae = () => {
|
|
@@ -211,7 +212,7 @@ var oe = {
|
|
|
211
212
|
otherData: { imgId: "radar_RadarShortTerm" }
|
|
212
213
|
};
|
|
213
214
|
}, Le = (e) => {
|
|
214
|
-
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);
|
|
215
216
|
}, Re = (e) => {
|
|
216
217
|
O("setImgAniShowByIndex", { index: e });
|
|
217
218
|
let t = Y.value[e];
|
|
@@ -231,10 +232,10 @@ var oe = {
|
|
|
231
232
|
}
|
|
232
233
|
ze();
|
|
233
234
|
};
|
|
234
|
-
|
|
235
|
+
C(j, (e) => {
|
|
235
236
|
Re(e), V.value && H.value !== null && e === H.value && (V.value = !1, H.value = null, O("changeLoading", !1));
|
|
236
|
-
}),
|
|
237
|
-
|
|
237
|
+
}), C(j, () => {
|
|
238
|
+
h(() => {
|
|
238
239
|
let e = R.value;
|
|
239
240
|
if (!e) return;
|
|
240
241
|
let t = e.querySelectorAll(".radarAxis-li")[j.value];
|
|
@@ -267,107 +268,107 @@ var oe = {
|
|
|
267
268
|
zoom: 11
|
|
268
269
|
});
|
|
269
270
|
};
|
|
270
|
-
return (
|
|
271
|
-
let
|
|
272
|
-
return
|
|
273
|
-
|
|
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", {
|
|
274
275
|
class: "closeBtn",
|
|
275
276
|
onClick: Ge,
|
|
276
277
|
title: "关闭"
|
|
277
|
-
})])]),
|
|
278
|
+
})])]), t[2] ||= d("img", {
|
|
278
279
|
class: "RadarShortTerm-head-line",
|
|
279
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",
|
|
280
281
|
alt: ""
|
|
281
282
|
}, null, -1)]),
|
|
282
|
-
|
|
283
|
+
d("div", se, [d("div", ce, [d("div", le, [t[4] ||= d("span", { class: "setting-label" }, "雷达展示:", -1), d("div", ue, [p(n, {
|
|
283
284
|
modelValue: k.value,
|
|
284
|
-
"onUpdate:modelValue":
|
|
285
|
+
"onUpdate:modelValue": t[0] ||= (e) => k.value = e,
|
|
285
286
|
class: "pile-checkbox",
|
|
286
287
|
onChange: He
|
|
287
288
|
}, {
|
|
288
|
-
default:
|
|
289
|
+
default: w(() => [...t[3] ||= [f(" 显示 ", -1)]]),
|
|
289
290
|
_: 1
|
|
290
291
|
}, 8, ["modelValue"])])])])]),
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
], -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", {
|
|
296
297
|
class: "table-row",
|
|
297
298
|
key: e.name
|
|
298
299
|
}, [
|
|
299
|
-
|
|
300
|
+
d("div", {
|
|
300
301
|
class: "table-row-main",
|
|
301
302
|
onClick: (t) => Ue(e.name)
|
|
302
303
|
}, [
|
|
303
|
-
|
|
304
|
-
|
|
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", {
|
|
305
306
|
class: g(["status-tag", { warn: t.warn }]),
|
|
306
307
|
key: `${e.name}-${t.label}`
|
|
307
|
-
}, [
|
|
308
|
-
|
|
308
|
+
}, [d("span", null, b(t.label), 1)], 2))), 128))], 2),
|
|
309
|
+
d("span", {
|
|
309
310
|
class: g(["expand-arrow", { expanded: P.value[e.name] }]),
|
|
310
311
|
"aria-hidden": "true"
|
|
311
|
-
}, [
|
|
312
|
-
default:
|
|
312
|
+
}, [p(c, null, {
|
|
313
|
+
default: w(() => [p(x(E))]),
|
|
313
314
|
_: 1
|
|
314
315
|
})], 2)
|
|
315
316
|
], 8, pe),
|
|
316
|
-
|
|
317
|
+
T(d("div", {
|
|
317
318
|
class: "pile-title",
|
|
318
319
|
onClick: (t) => We(e.name)
|
|
319
|
-
}, [
|
|
320
|
-
default:
|
|
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))]),
|
|
321
322
|
_: 1
|
|
322
|
-
})], 2)], 8, he), [[
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
], -1), e.piles.length ? (
|
|
323
|
+
})], 2)], 8, he), [[S, P.value[e.name]]]),
|
|
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", {
|
|
329
330
|
class: g(["pile-row", { "is-warn": e.isWarn }]),
|
|
330
331
|
key: e.pileNo,
|
|
331
332
|
onClick: (t) => Ke(e)
|
|
332
333
|
}, [
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
], 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]]])
|
|
338
339
|
]))), 128))])]),
|
|
339
|
-
|
|
340
|
+
T(p(m, {
|
|
340
341
|
show: !0,
|
|
341
342
|
isVertical: !1,
|
|
342
343
|
class: "RadarShortTerm-legend"
|
|
343
|
-
}, null, 512), [[
|
|
344
|
-
|
|
344
|
+
}, null, 512), [[S, k.value]]),
|
|
345
|
+
T(d("div", xe, [d("button", {
|
|
345
346
|
type: "button",
|
|
346
347
|
class: "timeline-play-btn",
|
|
347
348
|
title: A.value ? "暂停" : "播放",
|
|
348
349
|
onClick: Be
|
|
349
|
-
}, [
|
|
350
|
-
default:
|
|
350
|
+
}, [p(c, null, {
|
|
351
|
+
default: w(() => [A.value ? (_(), l(x(ie), { key: 0 })) : (_(), l(x(ae), { key: 1 }))]),
|
|
351
352
|
_: 1
|
|
352
|
-
})], 8, Se),
|
|
353
|
+
})], 8, Se), d("div", Ce, [d("span", we, b(X.value[j.value] || ""), 1), d("div", {
|
|
353
354
|
class: "radarAxis",
|
|
354
355
|
ref_key: "ref_radarAxis",
|
|
355
356
|
ref: R
|
|
356
|
-
}, [(
|
|
357
|
+
}, [(_(!0), u(s, null, y(Y.value, (e, n) => (_(), u("div", Te, [d("div", {
|
|
357
358
|
class: "radarAxis-li-node",
|
|
358
|
-
onClick: (e) => (j.value = Number(
|
|
359
|
+
onClick: (e) => (j.value = Number(n), Ve())
|
|
359
360
|
}, [
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
], 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", {
|
|
364
365
|
class: "radarAxis-li-point",
|
|
365
|
-
key:
|
|
366
|
-
style:
|
|
367
|
-
}, null, 4), [[
|
|
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]])
|
|
368
369
|
])), [[h, z.value]]);
|
|
369
370
|
};
|
|
370
371
|
}
|
|
371
|
-
}), [["__scopeId", "data-v-
|
|
372
|
+
}), [["__scopeId", "data-v-2cd49a0d"]]);
|
|
372
373
|
//#endregion
|
|
373
374
|
export { D as t };
|
|
@@ -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 = {
|