nxd-plugin 1.2.6 → 1.2.7
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-HighWayEarlyWarningRed-y3S7s_i8.mjs → component-HighWayEarlyWarningRed-CmmlD13f.mjs} +7 -11
- package/dist/chunks/{component-HighWayFreeze-CTMLtags.mjs → component-HighWayFreeze-fwE0zu5a.mjs} +328 -287
- package/dist/chunks/{component-HighwayLiveAlarm-TskT5f3P.mjs → component-HighwayLiveAlarm-eKR6YC57.mjs} +46 -46
- package/dist/chunks/{component-HighwayLiveAlarmNew-o1V5gOQU.mjs → component-HighwayLiveAlarmNew-CJQ38bxx.mjs} +354 -326
- package/dist/chunks/{component-HighwayStations-N9va_GPR.mjs → component-HighwayStations-CIR-nhyB.mjs} +3 -3
- package/dist/chunks/{component-HighwayWeatherForecast-BUa2AtS4.mjs → component-HighwayWeatherForecast-kKP0BVV-.mjs} +2 -2
- package/dist/chunks/component-RadarShortTerm-C9JxmL5C.mjs +447 -0
- package/dist/chunks/{component-ServiceMaterialsBtn-wUxlQ2_A.mjs → component-ServiceMaterialsBtn-BmsX0VQ7.mjs} +91 -91
- package/dist/chunks/{component-YCHome-Ccmyb6xg.mjs → component-YCHome-C3hQ-kl7.mjs} +198 -198
- package/dist/chunks/{component-YCLogin-Dfhl_Rc8.mjs → component-YCLogin-CFEfm-Xo.mjs} +4 -4
- package/dist/chunks/{component-YCLoginNew-47YLq1OS.mjs → component-YCLoginNew-CS5GpLDx.mjs} +4 -4
- package/dist/nxd-plugin.mjs +14 -13
- package/dist/src/index.d.ts +2 -1
- package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
- package/dist/styles/component-HighWayFreeze.css +1 -1
- package/dist/styles/component-HighwayLiveAlarmNew.css +1 -1
- package/dist/styles/component-RadarShortTerm.css +1 -0
- package/dist/styles/component-YCLogin.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,447 @@
|
|
|
1
|
+
import "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
+
import { D as e, E as t, f as n, y as r } from "./component-HighWayFreeze-fwE0zu5a.mjs";
|
|
3
|
+
import { n as i, r as a } from "./component-HighWayEarlyWarningRed-CmmlD13f.mjs";
|
|
4
|
+
import { i as o, r as s } from "./component-HighwayLiveAlarm-eKR6YC57.mjs";
|
|
5
|
+
import { n as c, r as l } from "./component-HighwayLiveAlarmNew-CJQ38bxx.mjs";
|
|
6
|
+
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as _, normalizeClass as v, onBeforeUnmount as y, onMounted as b, openBlock as x, ref as S, renderList as C, toDisplayString as w, unref as T, vShow as E, withCtx as D, withDirectives as O } from "vue";
|
|
7
|
+
var k = {
|
|
8
|
+
ds: [
|
|
9
|
+
{
|
|
10
|
+
id: 16549717,
|
|
11
|
+
radar_code: "JJSCR230",
|
|
12
|
+
file_name: "CR_9792_202604281006_transparent.png",
|
|
13
|
+
observation_time: "2026-04-28T18:06:00",
|
|
14
|
+
input_time: "2026-04-28T18:20:03"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
id: 16549715,
|
|
18
|
+
radar_code: "JJSCR230",
|
|
19
|
+
file_name: "CR_9792_202604281000_transparent.png",
|
|
20
|
+
observation_time: "2026-04-28T18:00:00",
|
|
21
|
+
input_time: "2026-04-28T18:15:03"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
id: 16549713,
|
|
25
|
+
radar_code: "JJSCR230",
|
|
26
|
+
file_name: "CR_9792_202604280948_transparent.png",
|
|
27
|
+
observation_time: "2026-04-28T17:48:00",
|
|
28
|
+
input_time: "2026-04-28T18:05:00"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
id: 16549710,
|
|
32
|
+
radar_code: "JJSCR230",
|
|
33
|
+
file_name: "CR_9792_202604280942_transparent.png",
|
|
34
|
+
observation_time: "2026-04-28T17:42:00",
|
|
35
|
+
input_time: "2026-04-28T17:55:04"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
id: 16549708,
|
|
39
|
+
radar_code: "JJSCR230",
|
|
40
|
+
file_name: "CR_9792_202604280936_transparent.png",
|
|
41
|
+
observation_time: "2026-04-28T17:36:00",
|
|
42
|
+
input_time: "2026-04-28T17:50:02"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: 16549705,
|
|
46
|
+
radar_code: "JJSCR230",
|
|
47
|
+
file_name: "CR_9792_202604280930_transparent.png",
|
|
48
|
+
observation_time: "2026-04-28T17:30:00",
|
|
49
|
+
input_time: "2026-04-28T17:40:04"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
id: 16549704,
|
|
53
|
+
radar_code: "JJSCR230",
|
|
54
|
+
file_name: "CR_9792_202604280924_transparent.png",
|
|
55
|
+
observation_time: "2026-04-28T17:24:00",
|
|
56
|
+
input_time: "2026-04-28T17:35:04"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
id: 16549702,
|
|
60
|
+
radar_code: "JJSCR230",
|
|
61
|
+
file_name: "CR_9792_202604280918_transparent.png",
|
|
62
|
+
observation_time: "2026-04-28T17:18:00",
|
|
63
|
+
input_time: "2026-04-28T17:30:03"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
id: 16549700,
|
|
67
|
+
radar_code: "JJSCR230",
|
|
68
|
+
file_name: "CR_9792_202604280912_transparent.png",
|
|
69
|
+
observation_time: "2026-04-28T17:12:00",
|
|
70
|
+
input_time: "2026-04-28T17:25:00"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
id: 16549698,
|
|
74
|
+
radar_code: "JJSCR230",
|
|
75
|
+
file_name: "CR_9792_202604280906_transparent.png",
|
|
76
|
+
observation_time: "2026-04-28T17:06:00",
|
|
77
|
+
input_time: "2026-04-28T17:20:00"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
id: 16549696,
|
|
81
|
+
radar_code: "JJSCR230",
|
|
82
|
+
file_name: "CR_9792_202604280900_transparent.png",
|
|
83
|
+
observation_time: "2026-04-28T17:00:00",
|
|
84
|
+
input_time: "2026-04-28T17:15:02"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
id: 16549694,
|
|
88
|
+
radar_code: "JJSCR230",
|
|
89
|
+
file_name: "CR_9792_202604280854_transparent.png",
|
|
90
|
+
observation_time: "2026-04-28T16:54:00",
|
|
91
|
+
input_time: "2026-04-28T17:05:00"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
id: 16549692,
|
|
95
|
+
radar_code: "JJSCR230",
|
|
96
|
+
file_name: "CR_9792_202604280848_transparent.png",
|
|
97
|
+
observation_time: "2026-04-28T16:48:00",
|
|
98
|
+
input_time: "2026-04-28T17:00:02"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
id: 16549690,
|
|
102
|
+
radar_code: "JJSCR230",
|
|
103
|
+
file_name: "CR_9792_202604280842_transparent.png",
|
|
104
|
+
observation_time: "2026-04-28T16:42:00",
|
|
105
|
+
input_time: "2026-04-28T16:55:02"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
id: 16549687,
|
|
109
|
+
radar_code: "JJSCR230",
|
|
110
|
+
file_name: "CR_9792_202604280836_transparent.png",
|
|
111
|
+
observation_time: "2026-04-28T16:36:00",
|
|
112
|
+
input_time: "2026-04-28T16:50:00"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
id: 16549685,
|
|
116
|
+
radar_code: "JJSCR230",
|
|
117
|
+
file_name: "CR_9792_202604280830_transparent.png",
|
|
118
|
+
observation_time: "2026-04-28T16:30:00",
|
|
119
|
+
input_time: "2026-04-28T16:45:00"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
id: 16549683,
|
|
123
|
+
radar_code: "JJSCR230",
|
|
124
|
+
file_name: "CR_9792_202604280824_transparent.png",
|
|
125
|
+
observation_time: "2026-04-28T16:24:00",
|
|
126
|
+
input_time: "2026-04-28T16:40:00"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
id: 16549682,
|
|
130
|
+
radar_code: "JJSCR230",
|
|
131
|
+
file_name: "CR_9792_202604280818_transparent.png",
|
|
132
|
+
observation_time: "2026-04-28T16:18:00",
|
|
133
|
+
input_time: "2026-04-28T16:35:00"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
id: 16549679,
|
|
137
|
+
radar_code: "JJSCR230",
|
|
138
|
+
file_name: "CR_9792_202604280812_transparent.png",
|
|
139
|
+
observation_time: "2026-04-28T16:12:00",
|
|
140
|
+
input_time: "2026-04-28T16:25:01"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
id: 16549677,
|
|
144
|
+
radar_code: "JJSCR230",
|
|
145
|
+
file_name: "CR_9792_202604280806_transparent.png",
|
|
146
|
+
observation_time: "2026-04-28T16:06:00",
|
|
147
|
+
input_time: "2026-04-28T16:20:02"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
latStart: 27.535278,
|
|
151
|
+
lngStart: 113.951944,
|
|
152
|
+
latEnd: 31.535278,
|
|
153
|
+
lngEnd: 117.951944,
|
|
154
|
+
httpurl: "http://182.106.183.101:9000/Radar/JJSCR230/"
|
|
155
|
+
}, A = { class: "RadarShortTerm" }, ee = { class: "RadarShortTerm-setting-panel" }, te = { class: "display-setting" }, ne = { class: "setting-row setting-row-pile" }, re = { class: "setting-pile-options" }, ie = { class: "setting-row" }, ae = { class: "RadarShortTerm-table" }, oe = { class: "table-body" }, se = ["onClick"], ce = { class: "name" }, le = ["onClick"], ue = {
|
|
156
|
+
key: 0,
|
|
157
|
+
style: { color: "red" }
|
|
158
|
+
}, de = { class: "pile-panel" }, fe = {
|
|
159
|
+
key: 0,
|
|
160
|
+
class: "pile-body"
|
|
161
|
+
}, pe = {
|
|
162
|
+
key: 1,
|
|
163
|
+
class: "pile-empty"
|
|
164
|
+
}, me = { class: "RadarShortTerm-timeline" }, he = { class: "timeline-title" }, ge = ["title"], _e = { class: "timeline-track" }, ve = ["onClick"], j = /* @__PURE__ */ i({
|
|
165
|
+
__name: "RadarShortTerm",
|
|
166
|
+
props: {
|
|
167
|
+
tokenInterface: {
|
|
168
|
+
type: String,
|
|
169
|
+
default: ""
|
|
170
|
+
},
|
|
171
|
+
tokenInterfaceParams: {
|
|
172
|
+
type: Object,
|
|
173
|
+
default: () => ({})
|
|
174
|
+
},
|
|
175
|
+
tokenInterfaceType: {
|
|
176
|
+
type: String,
|
|
177
|
+
default: "post"
|
|
178
|
+
},
|
|
179
|
+
tokenInterfaceIsFormData: {
|
|
180
|
+
type: Boolean,
|
|
181
|
+
default: !1
|
|
182
|
+
},
|
|
183
|
+
dataInterface: {
|
|
184
|
+
type: String,
|
|
185
|
+
default: ""
|
|
186
|
+
},
|
|
187
|
+
dataInterfaceParams: {
|
|
188
|
+
type: Object,
|
|
189
|
+
default: () => ({})
|
|
190
|
+
},
|
|
191
|
+
dataInterfaceType: {
|
|
192
|
+
type: String,
|
|
193
|
+
default: "post"
|
|
194
|
+
},
|
|
195
|
+
dataInterfaceIsFormData: {
|
|
196
|
+
type: Boolean,
|
|
197
|
+
default: !1
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
emits: ["close", "addImage"],
|
|
201
|
+
setup(i, { emit: j }) {
|
|
202
|
+
let M = i, N = j, P = S(!0), F = S("未来R1h"), I = S(!1), L = S(0), R = S(null), z = S([]), B = S({}), V = S({}), ye = S([
|
|
203
|
+
{
|
|
204
|
+
pileNo: "养护站901",
|
|
205
|
+
isWarn: !0,
|
|
206
|
+
warnValue: "温度"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
pileNo: "服务区停车区902",
|
|
210
|
+
isWarn: !0,
|
|
211
|
+
warnValue: "降水"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
pileNo: "收费站903",
|
|
215
|
+
isWarn: !0,
|
|
216
|
+
warnValue: "能见度"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
pileNo: "养护站904",
|
|
220
|
+
isWarn: !1,
|
|
221
|
+
warnValue: "温度"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
pileNo: "服务区停车区905",
|
|
225
|
+
isWarn: !1,
|
|
226
|
+
warnValue: "降水"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
pileNo: "收费站906",
|
|
230
|
+
isWarn: !1,
|
|
231
|
+
warnValue: "能见度"
|
|
232
|
+
}
|
|
233
|
+
]), H = d(() => Ee(z.value, (e) => q(e.tags))), U = d(() => (k?.ds || []).slice(0, 10).reverse()), W = d(() => U.value.map((e) => {
|
|
234
|
+
let t = new Date(e.observation_time);
|
|
235
|
+
return `${String(t.getHours()).padStart(2, "0")}:${String(t.getMinutes()).padStart(2, "0")}`;
|
|
236
|
+
})), G = d(() => ({
|
|
237
|
+
httpurl: k?.httpurl || "",
|
|
238
|
+
lngStart: k?.lngStart,
|
|
239
|
+
latStart: k?.latStart,
|
|
240
|
+
lngEnd: k?.lngEnd,
|
|
241
|
+
latEnd: k?.latEnd
|
|
242
|
+
}));
|
|
243
|
+
b(() => {
|
|
244
|
+
be();
|
|
245
|
+
}), y(() => {
|
|
246
|
+
Z();
|
|
247
|
+
});
|
|
248
|
+
let be = async () => {
|
|
249
|
+
z.value = (await xe()).map((e) => {
|
|
250
|
+
let t = Ce(e);
|
|
251
|
+
return {
|
|
252
|
+
name: e.name,
|
|
253
|
+
tags: we(t),
|
|
254
|
+
piles: ye.value
|
|
255
|
+
};
|
|
256
|
+
}), P.value && X(), Se();
|
|
257
|
+
}, xe = async () => M.dataInterface ? (await a({
|
|
258
|
+
url: M.dataInterface,
|
|
259
|
+
method: M.dataInterfaceType,
|
|
260
|
+
params: M.dataInterfaceParams,
|
|
261
|
+
isFormData: M.dataInterfaceIsFormData,
|
|
262
|
+
tokenInterface: M.tokenInterface,
|
|
263
|
+
tokenInterfaceParams: M.tokenInterfaceParams,
|
|
264
|
+
tokenInterfaceType: M.tokenInterfaceType,
|
|
265
|
+
tokenInterfaceIsFormData: M.tokenInterfaceIsFormData
|
|
266
|
+
}))?.ds || [] : c?.ds || [], Se = () => {
|
|
267
|
+
let e = H.value.find((e) => q(e.tags)), t = {}, n = {};
|
|
268
|
+
e && (t[e.name] = !0, n[e.name] = !0), B.value = t, V.value = n;
|
|
269
|
+
}, K = (e, t, n) => e.find((e) => e?.[t] === 1 && Te(e?.[n])) || e.find((e) => e?.[t] === 1), Ce = (e) => {
|
|
270
|
+
let t = e.zdzds || [], n = K(t, "iswarnrainfall_1h", "rainfall_1h"), r = K(t, "iswarntemp", "temperature"), i = K(t, "iswarnvis", "visibility");
|
|
271
|
+
return {
|
|
272
|
+
iswarnrainfall_1h: n ? 1 : 0,
|
|
273
|
+
iswarntemp: r ? 1 : 0,
|
|
274
|
+
iswarnvis: i ? 1 : 0
|
|
275
|
+
};
|
|
276
|
+
}, we = (e) => [
|
|
277
|
+
{
|
|
278
|
+
label: "降水",
|
|
279
|
+
warn: e.iswarnrainfall_1h === 1
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
label: "温度",
|
|
283
|
+
warn: e.iswarntemp === 1
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
label: "能见度",
|
|
287
|
+
warn: e.iswarnvis === 1
|
|
288
|
+
}
|
|
289
|
+
], Te = (e) => {
|
|
290
|
+
let t = Number(e);
|
|
291
|
+
return Number.isFinite(t) && t < 999999 && t > -999999;
|
|
292
|
+
}, q = (e) => e.some((e) => e.warn), Ee = (e, t) => [...e].sort((e, n) => Number(t(n)) - Number(t(e))), J = (e) => e.filter((e) => e.isWarn).length, De = (e) => {
|
|
293
|
+
if (!e) return null;
|
|
294
|
+
let t = String(e?.input_time || "").slice(0, 10).replaceAll("-", "");
|
|
295
|
+
return {
|
|
296
|
+
alt: "",
|
|
297
|
+
imgUrl: `${G.value.httpurl}${t}/${e.file_name}`,
|
|
298
|
+
lngStart: G.value.lngStart,
|
|
299
|
+
latStart: G.value.latStart,
|
|
300
|
+
lngEnd: G.value.lngEnd,
|
|
301
|
+
latEnd: G.value.latEnd,
|
|
302
|
+
opacity: 1,
|
|
303
|
+
otherData: { imgId: "radarMap" }
|
|
304
|
+
};
|
|
305
|
+
}, Y = (e) => {
|
|
306
|
+
let t = U.value[e], n = De(t);
|
|
307
|
+
console.log("data", n), N("addImage", {
|
|
308
|
+
isRemove: !0,
|
|
309
|
+
data: n
|
|
310
|
+
});
|
|
311
|
+
}, X = () => {
|
|
312
|
+
if (Q(), !U.value.length) return;
|
|
313
|
+
let e = L.value >= 0 && L.value < U.value.length ? L.value : 0;
|
|
314
|
+
L.value = e, Y(e);
|
|
315
|
+
}, Z = () => {
|
|
316
|
+
R.value &&= (clearInterval(R.value), null);
|
|
317
|
+
}, Q = () => {
|
|
318
|
+
I.value = !1, Z();
|
|
319
|
+
}, Oe = () => {
|
|
320
|
+
W.value.length <= 1 || (I.value = !0, Z(), R.value = setInterval(() => {
|
|
321
|
+
L.value = (L.value + 1) % W.value.length, Y(L.value);
|
|
322
|
+
}, 3e3));
|
|
323
|
+
}, ke = () => {
|
|
324
|
+
if (I.value) {
|
|
325
|
+
Q();
|
|
326
|
+
return;
|
|
327
|
+
}
|
|
328
|
+
Oe();
|
|
329
|
+
}, Ae = (e) => {
|
|
330
|
+
L.value = e, Y(e), Q();
|
|
331
|
+
}, $ = () => {
|
|
332
|
+
if (!P.value) {
|
|
333
|
+
Q();
|
|
334
|
+
return;
|
|
335
|
+
}
|
|
336
|
+
X();
|
|
337
|
+
}, je = () => {}, Me = (e) => {
|
|
338
|
+
let t = !!B.value[e];
|
|
339
|
+
B.value[e] = !t, t || (V.value[e] = !0);
|
|
340
|
+
}, Ne = (e) => {
|
|
341
|
+
V.value[e] = !V.value[e];
|
|
342
|
+
}, Pe = () => {
|
|
343
|
+
N("close", "RadarShortTerm");
|
|
344
|
+
};
|
|
345
|
+
return (i, a) => {
|
|
346
|
+
let c = l, d = s, y = o, b = n;
|
|
347
|
+
return x(), m("div", A, [
|
|
348
|
+
h("div", { class: "RadarShortTerm-head" }, [h("div", { class: "RadarShortTerm-head-top" }, [a[2] ||= h("div", null, "雷达短临预报", -1), h("div", { class: "head-actions" }, [h("div", {
|
|
349
|
+
class: "closeBtn",
|
|
350
|
+
onClick: Pe,
|
|
351
|
+
title: "关闭"
|
|
352
|
+
})])]), a[3] ||= h("img", {
|
|
353
|
+
class: "RadarShortTerm-head-line",
|
|
354
|
+
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",
|
|
355
|
+
alt: ""
|
|
356
|
+
}, null, -1)]),
|
|
357
|
+
h("div", ee, [h("div", te, [h("div", ne, [a[5] ||= h("span", { class: "setting-label" }, "雷达展示:", -1), h("div", re, [_(c, {
|
|
358
|
+
modelValue: P.value,
|
|
359
|
+
"onUpdate:modelValue": a[0] ||= (e) => P.value = e,
|
|
360
|
+
class: "pile-checkbox",
|
|
361
|
+
onChange: $
|
|
362
|
+
}, {
|
|
363
|
+
default: D(() => [...a[4] ||= [g(" 显示 ", -1)]]),
|
|
364
|
+
_: 1
|
|
365
|
+
}, 8, ["modelValue"])])]), h("div", ie, [a[9] ||= h("span", { class: "setting-label" }, "地图要素:", -1), _(y, {
|
|
366
|
+
modelValue: F.value,
|
|
367
|
+
"onUpdate:modelValue": a[1] ||= (e) => F.value = e,
|
|
368
|
+
class: "setting-radios",
|
|
369
|
+
onChange: je
|
|
370
|
+
}, {
|
|
371
|
+
default: D(() => [
|
|
372
|
+
_(d, { value: "未来R1h" }, {
|
|
373
|
+
default: D(() => [...a[6] ||= [g("未来R1h", -1)]]),
|
|
374
|
+
_: 1
|
|
375
|
+
}),
|
|
376
|
+
_(d, { value: "未来R2h" }, {
|
|
377
|
+
default: D(() => [...a[7] ||= [g("未来R2h", -1)]]),
|
|
378
|
+
_: 1
|
|
379
|
+
}),
|
|
380
|
+
_(d, { value: "未来R3h" }, {
|
|
381
|
+
default: D(() => [...a[8] ||= [g("未来R3h", -1)]]),
|
|
382
|
+
_: 1
|
|
383
|
+
})
|
|
384
|
+
]),
|
|
385
|
+
_: 1
|
|
386
|
+
}, 8, ["modelValue"])])])]),
|
|
387
|
+
h("div", ae, [a[12] ||= h("div", { class: "table-head" }, [
|
|
388
|
+
h("span", null, "高速名称"),
|
|
389
|
+
h("span", null, "状态要素"),
|
|
390
|
+
h("span", { class: "head-arrow" })
|
|
391
|
+
], -1), h("div", oe, [(x(!0), m(u, null, C(H.value, (e) => (x(), m("div", {
|
|
392
|
+
class: "table-row",
|
|
393
|
+
key: e.name
|
|
394
|
+
}, [
|
|
395
|
+
h("div", {
|
|
396
|
+
class: "table-row-main",
|
|
397
|
+
onClick: (t) => Me(e.name)
|
|
398
|
+
}, [
|
|
399
|
+
h("span", ce, w(e.name), 1),
|
|
400
|
+
h("div", { class: v(["status-tags", { "has-warn": q(e.tags) }]) }, [(x(!0), m(u, null, C(e.tags, (t) => (x(), m("span", {
|
|
401
|
+
class: v(["status-tag", { warn: t.warn }]),
|
|
402
|
+
key: `${e.name}-${t.label}`
|
|
403
|
+
}, [h("span", null, w(t.label), 1)], 2))), 128))], 2),
|
|
404
|
+
h("span", {
|
|
405
|
+
class: v(["expand-arrow", { expanded: B.value[e.name] }]),
|
|
406
|
+
"aria-hidden": "true"
|
|
407
|
+
}, [_(b, null, {
|
|
408
|
+
default: D(() => [_(T(r))]),
|
|
409
|
+
_: 1
|
|
410
|
+
})], 2)
|
|
411
|
+
], 8, se),
|
|
412
|
+
O(h("div", {
|
|
413
|
+
class: "pile-title",
|
|
414
|
+
onClick: (t) => Ne(e.name)
|
|
415
|
+
}, [h("span", null, [a[10] ||= g(" 桩号数据 ", -1), J(e.piles) > 0 ? (x(), m("span", ue, " (报警数量:" + w(J(e.piles)) + "个)", 1)) : p("", !0)]), h("span", { class: v(["panel-arrow", { expanded: V.value[e.name] }]) }, [_(b, null, {
|
|
416
|
+
default: D(() => [_(T(r))]),
|
|
417
|
+
_: 1
|
|
418
|
+
})], 2)], 8, le), [[E, B.value[e.name]]]),
|
|
419
|
+
O(h("div", de, [a[11] ||= h("div", { class: "pile-head" }, [h("span", null, "桩号"), h("span", null, "报警值")], -1), e.piles.length ? (x(), m("div", fe, [(x(!0), m(u, null, C(e.piles, (e) => (x(), m("div", {
|
|
420
|
+
class: v(["pile-row", { "is-warn": e.isWarn }]),
|
|
421
|
+
key: e.pileNo
|
|
422
|
+
}, [h("span", null, w(e.pileNo), 1), h("span", null, w(e.warnValue), 1)], 2))), 128))])) : (x(), m("div", pe, "暂无数据"))], 512), [[E, B.value[e.name] && V.value[e.name]]])
|
|
423
|
+
]))), 128))])]),
|
|
424
|
+
O(h("div", me, [
|
|
425
|
+
h("div", he, w(F.value), 1),
|
|
426
|
+
h("button", {
|
|
427
|
+
type: "button",
|
|
428
|
+
class: "timeline-play-btn",
|
|
429
|
+
title: I.value ? "暂停" : "播放",
|
|
430
|
+
onClick: ke
|
|
431
|
+
}, [_(b, null, {
|
|
432
|
+
default: D(() => [I.value ? (x(), f(T(t), { key: 0 })) : (x(), f(T(e), { key: 1 }))]),
|
|
433
|
+
_: 1
|
|
434
|
+
})], 8, ge),
|
|
435
|
+
h("div", _e, [(x(!0), m(u, null, C(W.value, (e, t) => (x(), m("button", {
|
|
436
|
+
key: e,
|
|
437
|
+
type: "button",
|
|
438
|
+
class: v(["timeline-item", { active: L.value === t }]),
|
|
439
|
+
onClick: (e) => Ae(t)
|
|
440
|
+
}, w(e), 11, ve))), 128))])
|
|
441
|
+
], 512), [[E, P.value]])
|
|
442
|
+
]);
|
|
443
|
+
};
|
|
444
|
+
}
|
|
445
|
+
}, [["__scopeId", "data-v-dddcf501"]]);
|
|
446
|
+
//#endregion
|
|
447
|
+
export { j as t };
|