nxd-plugin 1.7.41 → 1.7.43
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-TeQstcwX.mjs} +20 -20
- package/dist/chunks/{component-HighWayEarlyWarningRed-D89gFa50.mjs → component-HighWayEarlyWarningRed-DUSkc5Gq.mjs} +1 -1
- package/dist/chunks/{component-HighWayFreeze-C_Y5P0wN.mjs → component-HighWayFreeze-BmXHovFq.mjs} +1242 -1483
- package/dist/chunks/{component-HighwayLiveAlarm-DMdnrD3c.mjs → component-HighwayLiveAlarm-niFJdKW9.mjs} +238 -237
- package/dist/chunks/{component-HighwayLiveAlarmNew-W2DKwrPk.mjs → component-HighwayLiveAlarmNew-B-434mfg.mjs} +250 -249
- package/dist/chunks/{component-HighwayStations-CNs3P4Vw.mjs → component-HighwayStations-Ds0mS1Tc.mjs} +4 -4
- package/dist/chunks/{component-HighwayWeatherForecast-Dn6tjaR-.mjs → component-HighwayWeatherForecast-81Gh4M5v.mjs} +3 -3
- package/dist/chunks/{component-ImageGeneration-9XdsjkaE.mjs → component-ImageGeneration-DiYbqjwN.mjs} +1191 -1190
- package/dist/chunks/{component-LithiumBatteryMiningArea-Dj1DMKuU.mjs → component-LithiumBatteryMiningArea-BD-Yp6C8.mjs} +4 -4
- package/dist/chunks/{component-MapPopup-0uM1uyql.mjs → component-MapPopup-FAIPuiTd.mjs} +1 -1
- package/dist/chunks/{component-PieLegend-JVqrszxO.mjs → component-PieLegend-DMyswbHi.mjs} +1 -1
- package/dist/chunks/{component-RadarChart-Dz5sm2q5.mjs → component-RadarChart-BQiq16nx.mjs} +1 -1
- package/dist/chunks/{component-RadarLegend-DQp5wjbz.mjs → component-RadarLegend-CFR9njq7.mjs} +1 -1
- package/dist/chunks/component-RadarShortTerm-BVj7Jx05.mjs +374 -0
- package/dist/chunks/{component-RadarTime--DUvLJh2.mjs → component-RadarTime-Xnv8piO_.mjs} +1 -1
- package/dist/chunks/{component-ServiceMaterial-D9i1nsOr.mjs → component-ServiceMaterial-NQJP1tCA.mjs} +1 -1
- package/dist/chunks/{component-ServiceMaterialsBtn-DjUo4Hsx.mjs → component-ServiceMaterialsBtn-959d5IJI.mjs} +217 -217
- package/dist/chunks/{component-TimeBasedForecast-Bc4EOR8R.mjs → component-TimeBasedForecast-BZ9YrmMt.mjs} +5 -5
- package/dist/chunks/{component-WarningLine-C5AGlCZR.mjs → component-WarningLine-DzD4jX2_.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-BaKdzl4i.mjs → component-WarningSignal-DfRZj6R5.mjs} +2 -2
- package/dist/chunks/{component-WeatherForecast-BzF3E06F.mjs → component-WeatherForecast-ChQEdik7.mjs} +3 -3
- package/dist/chunks/component-YCHome-CY61OonH.mjs +1430 -0
- package/dist/chunks/{component-YCLogin-DWhvv-rf.mjs → component-YCLogin-D0BOD7Uj.mjs} +48 -46
- package/dist/chunks/{component-YCLoginNew-CPPSTPXH.mjs → component-YCLoginNew-BIC_obt4.mjs} +52 -50
- package/dist/nxd-plugin.mjs +24 -24
- package/dist/styles/component-RadarShortTerm.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-RadarShortTerm-CZEP_KxT.mjs +0 -373
- package/dist/chunks/component-YCHome-B2wOG1EV.mjs +0 -1768
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import { a as e, n as t, r as n } from "./component-AqiMonitor-
|
|
2
|
+
import { a as e, n as t, r as n } from "./component-AqiMonitor-TeQstcwX.mjs";
|
|
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 = {
|
package/dist/chunks/{component-RadarLegend-DQp5wjbz.mjs → component-RadarLegend-CFR9njq7.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-TeQstcwX.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({
|
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
import "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
+
import { m as e } from "./component-HighWayFreeze-BmXHovFq.mjs";
|
|
3
|
+
import { a as t, n, r } from "./component-AqiMonitor-TeQstcwX.mjs";
|
|
4
|
+
import "./component-ImageGeneration-DiYbqjwN.mjs";
|
|
5
|
+
import { n as i } from "./component-HighwayLiveAlarmNew-B-434mfg.mjs";
|
|
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";
|
|
9
|
+
import { ArrowRight as E, VideoPause as ie, VideoPlay as ae } from "@element-plus/icons-vue";
|
|
10
|
+
//#region src/components/RadarShortTerm/RadarShortTerm.vue?vue&type=script&setup=true&lang.ts
|
|
11
|
+
var oe = {
|
|
12
|
+
class: "RadarShortTerm",
|
|
13
|
+
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
14
|
+
}, se = { class: "RadarShortTerm-setting-panel" }, ce = { class: "display-setting" }, le = { class: "setting-row setting-row-pile" }, ue = { class: "setting-pile-options" }, de = { class: "RadarShortTerm-table" }, fe = { class: "table-body" }, pe = ["onClick"], me = { class: "name" }, he = ["onClick"], ge = {
|
|
15
|
+
key: 0,
|
|
16
|
+
style: { color: "red" }
|
|
17
|
+
}, _e = { class: "pile-panel" }, ve = {
|
|
18
|
+
key: 0,
|
|
19
|
+
class: "pile-body"
|
|
20
|
+
}, ye = ["onClick"], be = {
|
|
21
|
+
key: 1,
|
|
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__ */ n(/* @__PURE__ */ p({
|
|
24
|
+
__name: "RadarShortTerm",
|
|
25
|
+
props: {
|
|
26
|
+
appKey: {
|
|
27
|
+
type: String,
|
|
28
|
+
default: ""
|
|
29
|
+
},
|
|
30
|
+
appSalt: {
|
|
31
|
+
type: String,
|
|
32
|
+
default: ""
|
|
33
|
+
},
|
|
34
|
+
baseHttp: {
|
|
35
|
+
type: String,
|
|
36
|
+
default: ""
|
|
37
|
+
},
|
|
38
|
+
ids: {
|
|
39
|
+
type: Object,
|
|
40
|
+
default: () => ({})
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
emits: [
|
|
44
|
+
"close",
|
|
45
|
+
"addDataTitle",
|
|
46
|
+
"removeDataTitle",
|
|
47
|
+
"showRadarLegend",
|
|
48
|
+
"toMapView",
|
|
49
|
+
"addImageAniArr",
|
|
50
|
+
"clearImgAniArr",
|
|
51
|
+
"setImgAniShowByIndex",
|
|
52
|
+
"changeLoading"
|
|
53
|
+
],
|
|
54
|
+
setup(n, { emit: p }) {
|
|
55
|
+
let D = n, O = p, 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
|
+
httpurl: "",
|
|
57
|
+
lngStart: void 0,
|
|
58
|
+
latStart: void 0,
|
|
59
|
+
lngEnd: void 0,
|
|
60
|
+
latEnd: void 0
|
|
61
|
+
}), W = v({
|
|
62
|
+
httpurl: "",
|
|
63
|
+
lngStart: void 0,
|
|
64
|
+
latStart: void 0,
|
|
65
|
+
lngEnd: void 0,
|
|
66
|
+
latEnd: void 0
|
|
67
|
+
});
|
|
68
|
+
re(() => {
|
|
69
|
+
G(), B.value = setInterval(() => {
|
|
70
|
+
G();
|
|
71
|
+
}, 1e3 * 60 * 10);
|
|
72
|
+
}), ne(() => {
|
|
73
|
+
Q(), clearInterval(B.value), B.value = null;
|
|
74
|
+
});
|
|
75
|
+
let G = async () => {
|
|
76
|
+
z.value = !0, await K(), N.value = (await Oe()).map((e) => {
|
|
77
|
+
let t = je(e), n = Me(e.zhflds || []);
|
|
78
|
+
return {
|
|
79
|
+
name: e.name,
|
|
80
|
+
tags: Ne(t),
|
|
81
|
+
piles: n
|
|
82
|
+
};
|
|
83
|
+
}), Ae(), z.value = !1;
|
|
84
|
+
}, K = async () => {
|
|
85
|
+
z.value = !0;
|
|
86
|
+
let e = await r({
|
|
87
|
+
appKey: D.appKey,
|
|
88
|
+
appSalt: D.appSalt,
|
|
89
|
+
id: D.ids.radar.id,
|
|
90
|
+
variables: {},
|
|
91
|
+
baseHttp: D.baseHttp,
|
|
92
|
+
reqType: D.ids.radar.reqType,
|
|
93
|
+
isFormData: D.ids.radar.isFormData
|
|
94
|
+
});
|
|
95
|
+
console.log("雷达", e.data.result);
|
|
96
|
+
let t = await r({
|
|
97
|
+
appKey: D.appKey,
|
|
98
|
+
appSalt: D.appSalt,
|
|
99
|
+
id: D.ids.historyRadar.id,
|
|
100
|
+
variables: {},
|
|
101
|
+
baseHttp: D.baseHttp,
|
|
102
|
+
reqType: D.ids.historyRadar.reqType,
|
|
103
|
+
isFormData: D.ids.historyRadar.isFormData
|
|
104
|
+
});
|
|
105
|
+
console.log("历史雷达", t.data.result), z.value = !1;
|
|
106
|
+
let n = q(e.data.result), i = q(t.data.result);
|
|
107
|
+
U.value = {
|
|
108
|
+
httpurl: n.httpurl,
|
|
109
|
+
...n.extent
|
|
110
|
+
}, W.value = {
|
|
111
|
+
httpurl: i.httpurl,
|
|
112
|
+
...i.extent
|
|
113
|
+
};
|
|
114
|
+
let a = i.frames.slice(-3).map((e, t) => ({
|
|
115
|
+
...e,
|
|
116
|
+
focarcast_time: e.observation_time,
|
|
117
|
+
_isHistory: !0,
|
|
118
|
+
_label: t === 0 ? "-2" : t === 1 ? "-1" : "现在",
|
|
119
|
+
_httpurl: (i.httpurl || "") + (e.observation_time || "").slice(0, 10).replaceAll("-", "") + "/"
|
|
120
|
+
})), o = n.frames.map((e, t) => ({
|
|
121
|
+
...e,
|
|
122
|
+
_isHistory: !1,
|
|
123
|
+
_label: `+${t + 1}`,
|
|
124
|
+
_httpurl: n.httpurl || ""
|
|
125
|
+
})), s = [...a, ...o];
|
|
126
|
+
I.value = {
|
|
127
|
+
ds: s,
|
|
128
|
+
httpurl: n.httpurl,
|
|
129
|
+
...i.extent
|
|
130
|
+
}, j.value = 2, k.value && (O("clearImgAniArr"), s.forEach((e) => {
|
|
131
|
+
let t = Ie(e);
|
|
132
|
+
t && O("addImageAniArr", { data: { imgArr: [t] } });
|
|
133
|
+
}), setTimeout(() => {
|
|
134
|
+
O("setImgAniShowByIndex", { index: j.value });
|
|
135
|
+
let e = s[j.value];
|
|
136
|
+
Le(e), O("showRadarLegend", !0);
|
|
137
|
+
}, 1e3));
|
|
138
|
+
}, Oe = async () => {
|
|
139
|
+
let e = await r({
|
|
140
|
+
appKey: D.appKey,
|
|
141
|
+
appSalt: D.appSalt,
|
|
142
|
+
id: D.ids.shortTerm.id,
|
|
143
|
+
variables: {},
|
|
144
|
+
baseHttp: D.baseHttp,
|
|
145
|
+
reqType: D.ids.shortTerm.reqType,
|
|
146
|
+
isFormData: D.ids.shortTerm.isFormData
|
|
147
|
+
});
|
|
148
|
+
return console.log("短时预报", e.data.result.ds), e.data.result.ds || [];
|
|
149
|
+
}, ke = (e) => {
|
|
150
|
+
let t = String(e || "").split(",").map((e) => Number(e.trim()));
|
|
151
|
+
return {
|
|
152
|
+
latStart: t[0],
|
|
153
|
+
latEnd: t[1],
|
|
154
|
+
lngStart: t[2],
|
|
155
|
+
lngEnd: t[3]
|
|
156
|
+
};
|
|
157
|
+
}, q = (e) => {
|
|
158
|
+
let t = Array.isArray(e?.ds) ? e : e?.ds, n = Array.isArray(t?.ds) ? t.ds : [];
|
|
159
|
+
n = [...n].reverse();
|
|
160
|
+
let r = ke(n[0]?.extendstr || ""), i = t?.httpUrl || t?.httpurl || "";
|
|
161
|
+
return {
|
|
162
|
+
frames: n,
|
|
163
|
+
httpurl: i,
|
|
164
|
+
extent: r
|
|
165
|
+
};
|
|
166
|
+
}, J = c(() => Pe(N.value, (e) => Z(e.tags))), Y = c(() => I.value?.ds || []), X = c(() => Y.value.map((e) => {
|
|
167
|
+
let t = new Date(e.focarcast_time);
|
|
168
|
+
return `${String(t.getHours()).padStart(2, "0")}:${String(t.getMinutes()).padStart(2, "0")}`;
|
|
169
|
+
})), Ae = () => {
|
|
170
|
+
let e = J.value.find((e) => Z(e.tags)), t = {}, n = {};
|
|
171
|
+
e && (t[e.name] = !0, n[e.name] = !0), P.value = t, F.value = n;
|
|
172
|
+
}, je = (e) => {
|
|
173
|
+
let t = e.zhflds || [];
|
|
174
|
+
return {
|
|
175
|
+
iswarnpre1h: t.some((e) => e?.iswarnpre1h === 1) ? 1 : 0,
|
|
176
|
+
iswarnpre2h: t.some((e) => e?.iswarnpre2h === 1) ? 1 : 0,
|
|
177
|
+
iswarnpre3h: t.some((e) => e?.iswarnpre3h === 1) ? 1 : 0
|
|
178
|
+
};
|
|
179
|
+
}, Me = (e) => Pe((e || []).map((e) => ({
|
|
180
|
+
pileNo: `${e.type || ""}${e.Name || ""}`,
|
|
181
|
+
isWarn: e?.iswarnpre1h === 1 || e?.iswarnpre2h === 1 || e?.iswarnpre3h === 1,
|
|
182
|
+
rain1h: e?.rain_1h ?? "-",
|
|
183
|
+
rain2h: e?.rain_2h ?? "-",
|
|
184
|
+
rain3h: e?.rain_3h ?? "-",
|
|
185
|
+
x: e.x,
|
|
186
|
+
y: e.y
|
|
187
|
+
})), (e) => e.isWarn), Ne = (e) => [
|
|
188
|
+
{
|
|
189
|
+
label: "未来R1h",
|
|
190
|
+
warn: e.iswarnpre1h === 1
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
label: "未来R2h",
|
|
194
|
+
warn: e.iswarnpre2h === 1
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
label: "未来R3h",
|
|
198
|
+
warn: e.iswarnpre3h === 1
|
|
199
|
+
}
|
|
200
|
+
], Z = (e) => e.some((e) => e.warn), Pe = (e, t) => [...e].sort((e, n) => Number(t(n)) - Number(t(e))), Fe = (e) => e.filter((e) => e.isWarn).length, Ie = (e) => {
|
|
201
|
+
if (!e) return null;
|
|
202
|
+
let t = e._isHistory ? W.value : U.value, n = String(e?._httpurl || t.httpurl || ""), r = String(e?.file_name || "");
|
|
203
|
+
return {
|
|
204
|
+
alt: "",
|
|
205
|
+
imgUrl: r.startsWith("http") ? r : `${n}${r.replace(/^\/+/, "")}`,
|
|
206
|
+
lngStart: t.lngStart,
|
|
207
|
+
latStart: t.latStart,
|
|
208
|
+
lngEnd: t.lngEnd,
|
|
209
|
+
latEnd: t.latEnd,
|
|
210
|
+
opacity: 1,
|
|
211
|
+
zIndex: 1e3,
|
|
212
|
+
otherData: { imgId: "radar_RadarShortTerm" }
|
|
213
|
+
};
|
|
214
|
+
}, Le = (e) => {
|
|
215
|
+
L.value && O("removeDataTitle", L.value), L.value = "雷达观测时间:" + a(e.focarcast_time).format("YYYY-MM-DD HH:mm "), O("addDataTitle", L.value);
|
|
216
|
+
}, Re = (e) => {
|
|
217
|
+
O("setImgAniShowByIndex", { index: e });
|
|
218
|
+
let t = Y.value[e];
|
|
219
|
+
Le(t);
|
|
220
|
+
}, Q = () => {
|
|
221
|
+
M.value &&= (clearInterval(M.value), null);
|
|
222
|
+
}, $ = () => {
|
|
223
|
+
A.value = !1, Q();
|
|
224
|
+
}, ze = () => {
|
|
225
|
+
X.value.length <= 1 || (A.value = !0, Q(), V.value && (H.value = j.value, O("changeLoading", !0)), M.value = setInterval(() => {
|
|
226
|
+
j.value = (j.value + 1) % X.value.length;
|
|
227
|
+
}, 1e3));
|
|
228
|
+
}, Be = () => {
|
|
229
|
+
if (A.value) {
|
|
230
|
+
$();
|
|
231
|
+
return;
|
|
232
|
+
}
|
|
233
|
+
ze();
|
|
234
|
+
};
|
|
235
|
+
C(j, (e) => {
|
|
236
|
+
Re(e), V.value && H.value !== null && e === H.value && (V.value = !1, H.value = null, O("changeLoading", !1));
|
|
237
|
+
}), C(j, () => {
|
|
238
|
+
m(() => {
|
|
239
|
+
let e = R.value;
|
|
240
|
+
if (!e) return;
|
|
241
|
+
let t = e.querySelectorAll(".radarAxis-li")[j.value];
|
|
242
|
+
t && t.scrollIntoView({
|
|
243
|
+
behavior: "smooth",
|
|
244
|
+
inline: "center",
|
|
245
|
+
block: "nearest"
|
|
246
|
+
});
|
|
247
|
+
});
|
|
248
|
+
});
|
|
249
|
+
let Ve = () => {
|
|
250
|
+
$();
|
|
251
|
+
}, He = async () => {
|
|
252
|
+
if (!k.value) {
|
|
253
|
+
O("clearImgAniArr"), O("removeDataTitle", L.value), O("showRadarLegend", !1), $();
|
|
254
|
+
return;
|
|
255
|
+
}
|
|
256
|
+
z.value = !0, await K(), z.value = !1;
|
|
257
|
+
}, Ue = (e) => {
|
|
258
|
+
let t = !!P.value[e];
|
|
259
|
+
P.value[e] = !t, t || (F.value[e] = !0);
|
|
260
|
+
}, We = (e) => {
|
|
261
|
+
F.value[e] = !F.value[e];
|
|
262
|
+
}, Ge = () => {
|
|
263
|
+
O("close", "RadarShortTerm");
|
|
264
|
+
}, Ke = (e) => {
|
|
265
|
+
O("toMapView", {
|
|
266
|
+
lng: Number(e.x),
|
|
267
|
+
lat: Number(e.y),
|
|
268
|
+
zoom: 11
|
|
269
|
+
});
|
|
270
|
+
};
|
|
271
|
+
return (n, r) => {
|
|
272
|
+
let a = i, c = e, p = o, m = t;
|
|
273
|
+
return T((_(), l("div", oe, [
|
|
274
|
+
u("div", { class: "RadarShortTerm-head" }, [u("div", { class: "RadarShortTerm-head-top" }, [r[1] ||= u("div", null, "雷达短临预报", -1), u("div", { class: "head-actions" }, [u("div", {
|
|
275
|
+
class: "closeBtn",
|
|
276
|
+
onClick: Ge,
|
|
277
|
+
title: "关闭"
|
|
278
|
+
})])]), r[2] ||= u("img", {
|
|
279
|
+
class: "RadarShortTerm-head-line",
|
|
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
|
+
alt: ""
|
|
282
|
+
}, null, -1)]),
|
|
283
|
+
u("div", se, [u("div", ce, [u("div", le, [r[4] ||= u("span", { class: "setting-label" }, "雷达展示:", -1), u("div", ue, [f(a, {
|
|
284
|
+
modelValue: k.value,
|
|
285
|
+
"onUpdate:modelValue": r[0] ||= (e) => k.value = e,
|
|
286
|
+
class: "pile-checkbox",
|
|
287
|
+
onChange: He
|
|
288
|
+
}, {
|
|
289
|
+
default: w(() => [...r[3] ||= [d(" 显示 ", -1)]]),
|
|
290
|
+
_: 1
|
|
291
|
+
}, 8, ["modelValue"])])])])]),
|
|
292
|
+
u("div", de, [r[7] ||= u("div", { class: "table-head" }, [
|
|
293
|
+
u("span", null, "高速名称"),
|
|
294
|
+
u("span", null, "状态要素"),
|
|
295
|
+
u("span", { class: "head-arrow" })
|
|
296
|
+
], -1), u("div", fe, [(_(!0), l(s, null, y(J.value, (e) => (_(), l("div", {
|
|
297
|
+
class: "table-row",
|
|
298
|
+
key: e.name
|
|
299
|
+
}, [
|
|
300
|
+
u("div", {
|
|
301
|
+
class: "table-row-main",
|
|
302
|
+
onClick: (t) => Ue(e.name)
|
|
303
|
+
}, [
|
|
304
|
+
u("span", me, b(e.name), 1),
|
|
305
|
+
u("div", { class: h(["status-tags", { "has-warn": Z(e.tags) }]) }, [(_(!0), l(s, null, y(e.tags, (t) => (_(), l("span", {
|
|
306
|
+
class: h(["status-tag", { warn: t.warn }]),
|
|
307
|
+
key: `${e.name}-${t.label}`
|
|
308
|
+
}, [u("span", null, b(t.label), 1)], 2))), 128))], 2),
|
|
309
|
+
u("span", {
|
|
310
|
+
class: h(["expand-arrow", { expanded: P.value[e.name] }]),
|
|
311
|
+
"aria-hidden": "true"
|
|
312
|
+
}, [f(c, null, {
|
|
313
|
+
default: w(() => [f(x(E))]),
|
|
314
|
+
_: 1
|
|
315
|
+
})], 2)
|
|
316
|
+
], 8, pe),
|
|
317
|
+
T(u("div", {
|
|
318
|
+
class: "pile-title",
|
|
319
|
+
onClick: (t) => We(e.name)
|
|
320
|
+
}, [u("span", null, [r[5] ||= d(" 桩号数据 ", -1), Fe(e.piles) > 0 ? (_(), l("span", ge, " (报警数量:" + b(Fe(e.piles)) + "个)", 1)) : te("", !0)]), u("span", { class: h(["panel-arrow", { expanded: F.value[e.name] }]) }, [f(c, null, {
|
|
321
|
+
default: w(() => [f(x(E))]),
|
|
322
|
+
_: 1
|
|
323
|
+
})], 2)], 8, he), [[S, P.value[e.name]]]),
|
|
324
|
+
T(u("div", _e, [r[6] ||= u("div", { class: "pile-head" }, [
|
|
325
|
+
u("span", null, "桩号"),
|
|
326
|
+
u("span", null, "未来R1h"),
|
|
327
|
+
u("span", null, "未来R2h"),
|
|
328
|
+
u("span", null, "未来R3h")
|
|
329
|
+
], -1), e.piles.length ? (_(), l("div", ve, [(_(!0), l(s, null, y(e.piles, (e) => (_(), l("div", {
|
|
330
|
+
class: h(["pile-row", { "is-warn": e.isWarn }]),
|
|
331
|
+
key: e.pileNo,
|
|
332
|
+
onClick: (t) => Ke(e)
|
|
333
|
+
}, [
|
|
334
|
+
u("span", null, b(e.pileNo), 1),
|
|
335
|
+
u("span", null, b(e.rain1h), 1),
|
|
336
|
+
u("span", null, b(e.rain2h), 1),
|
|
337
|
+
u("span", null, b(e.rain3h), 1)
|
|
338
|
+
], 10, ye))), 128))])) : (_(), l("div", be, "暂无数据"))], 512), [[S, P.value[e.name] && F.value[e.name]]])
|
|
339
|
+
]))), 128))])]),
|
|
340
|
+
T(f(p, {
|
|
341
|
+
show: !0,
|
|
342
|
+
isVertical: !1,
|
|
343
|
+
class: "RadarShortTerm-legend"
|
|
344
|
+
}, null, 512), [[S, k.value]]),
|
|
345
|
+
T(u("div", xe, [u("button", {
|
|
346
|
+
type: "button",
|
|
347
|
+
class: "timeline-play-btn",
|
|
348
|
+
title: A.value ? "暂停" : "播放",
|
|
349
|
+
onClick: Be
|
|
350
|
+
}, [f(c, null, {
|
|
351
|
+
default: w(() => [A.value ? (_(), ee(x(ie), { key: 0 })) : (_(), ee(x(ae), { key: 1 }))]),
|
|
352
|
+
_: 1
|
|
353
|
+
})], 8, Se), u("div", Ce, [u("span", we, b(X.value[j.value] || ""), 1), u("div", {
|
|
354
|
+
class: "radarAxis",
|
|
355
|
+
ref_key: "ref_radarAxis",
|
|
356
|
+
ref: R
|
|
357
|
+
}, [(_(!0), l(s, null, y(Y.value, (e, t) => (_(), l("div", Te, [u("div", {
|
|
358
|
+
class: "radarAxis-li-node",
|
|
359
|
+
onClick: (e) => (j.value = Number(t), Ve())
|
|
360
|
+
}, [
|
|
361
|
+
u("i", { style: g({ backgroundColor: e._isHistory ? "" : "#ca9e64" }) }, null, 4),
|
|
362
|
+
T(u("span", null, [...r[8] ||= [u("i", null, null, -1)]], 512), [[S, t === j.value]]),
|
|
363
|
+
u("div", De, [u("b", null, b(e._label), 1)])
|
|
364
|
+
], 8, Ee), (_(), l(s, null, y(4, (n) => T(u("div", {
|
|
365
|
+
class: "radarAxis-li-point",
|
|
366
|
+
key: n,
|
|
367
|
+
style: g({ backgroundColor: e._isHistory ? "" : "#ca9e64" })
|
|
368
|
+
}, null, 4), [[S, t !== Y.value.length - 1]])), 64))]))), 256))], 512)])], 512), [[S, k.value]])
|
|
369
|
+
])), [[m, z.value]]);
|
|
370
|
+
};
|
|
371
|
+
}
|
|
372
|
+
}), [["__scopeId", "data-v-2cd49a0d"]]);
|
|
373
|
+
//#endregion
|
|
374
|
+
export { D as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import { a as e, n as t, r as n } from "./component-AqiMonitor-
|
|
2
|
+
import { a as e, n as t, r as n } from "./component-AqiMonitor-TeQstcwX.mjs";
|
|
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 = {
|
|
@@ -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-TeQstcwX.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 = {
|