nxd-plugin 1.7.82 → 1.7.84
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-AiChat-BU0rzEqA.mjs → component-AiChat-BXNBLM1G.mjs} +382 -342
- package/dist/chunks/{component-AqiMonitor-B0X5SmQB.mjs → component-AqiMonitor-C_V1Nuf_.mjs} +1 -1
- package/dist/chunks/{component-ChartCumulativePre-D50ZlxtD.mjs → component-ChartCumulativePre-Bo28Bgaa.mjs} +2 -2
- package/dist/chunks/{component-ChartServiceMaterial-D35UWUD8.mjs → component-ChartServiceMaterial-DELVCsKj.mjs} +2 -2
- package/dist/chunks/{component-Duty-CuVSfL6B.mjs → component-Duty-dyZZ4vHt.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic-DBLY754e.mjs → component-EarlyWarningStatistic-CBJfrRsV.mjs} +2 -2
- package/dist/chunks/component-Forecast72h-BkVZSGhE.mjs +427 -0
- package/dist/chunks/{component-GeologyLiveAlarm-BGqrl_n2.mjs → component-GeologyLiveAlarm-B9jBWXf0.mjs} +2 -2
- package/dist/chunks/component-HdForecastProducts-D4x_Y0OB.mjs +211 -0
- package/dist/chunks/component-HdHeatService-Bf9XH3DP.mjs +412 -0
- package/dist/chunks/component-HdObservation-CM6HUrQ3.mjs +606 -0
- package/dist/chunks/component-HdPreSituation-CJ8-wiRO.mjs +639 -0
- package/dist/chunks/component-HdRadarTime-C4ZArOUM.mjs +461 -0
- package/dist/chunks/component-HdSeaCase-3-YFxSuM.mjs +219 -0
- package/dist/chunks/component-HdServiceMarterial-pSFQUH2x.mjs +316 -0
- package/dist/chunks/component-HdServiceRequirements-BjuiyyC5.mjs +142 -0
- package/dist/chunks/component-HdStationTem-Dit7Y8lu.mjs +573 -0
- package/dist/chunks/component-HdSuggestion-B_abfzRO.mjs +161 -0
- package/dist/chunks/component-HdThreeWeatherTrend-B2qzvOzb.mjs +372 -0
- package/dist/chunks/component-HdWaveForcast-D8UZrHzF.mjs +269 -0
- package/dist/chunks/{component-HighQuality-B-DNdjF7.mjs → component-HighQuality-1iqLOQAF.mjs} +3 -3
- package/dist/chunks/{component-HighWayEarlyWarningRed-DM_NXOxS.mjs → component-HighWayEarlyWarningRed-DlgG9rTx.mjs} +907 -759
- package/dist/chunks/{component-HighWayFreeze-Dldul9ds.mjs → component-HighWayFreeze-CCp1Rxpz.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarm-7T0XNRUb.mjs → component-HighwayLiveAlarm-D7PKi5rG.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarmNew-ClsfDywn.mjs → component-HighwayLiveAlarmNew-rH59lsj8.mjs} +3 -3
- package/dist/chunks/{component-HighwayStations-u3R83AXH.mjs → component-HighwayStations-DGt6Gsr9.mjs} +2 -2
- package/dist/chunks/{component-HighwayWeatherForecast-CHJuEi1V.mjs → component-HighwayWeatherForecast-BQrNGF7m.mjs} +73 -130
- package/dist/chunks/{component-IframeWeb-B_RCXBBe.mjs → component-IframeWeb-vLIWvbJY.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-5zGtULQL.mjs → component-ImageGeneration-BtM7MHcE.mjs} +1 -1
- package/dist/chunks/{component-IntroducePic-DPf4yYOb.mjs → component-IntroducePic-D3FSEuKX.mjs} +1 -1
- package/dist/chunks/{component-LithiumBatteryMiningArea-D7EdisGO.mjs → component-LithiumBatteryMiningArea-B5aUe7T0.mjs} +2 -2
- package/dist/chunks/{component-MapPopup-pePSM1pe.mjs → component-MapPopup-UmWWAPBE.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-CvHyZKau.mjs → component-MaterialPreview-1Hyl4bjM.mjs} +2 -2
- package/dist/chunks/{component-PieLegend-C_KQgtb2.mjs → component-PieLegend-C0Acehix.mjs} +1 -1
- package/dist/chunks/component-PrecipitationRanking-C63n87WI.mjs +658 -0
- package/dist/chunks/{component-RadarChart-Dkkpc2ex.mjs → component-RadarChart-BXfMyPPi.mjs} +2 -2
- package/dist/chunks/{component-RadarLegend-Bmyx7Z82.mjs → component-RadarLegend-B2ajP_0M.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-DNpfS5yC.mjs → component-RadarShortTerm-BeGEjbHr.mjs} +4 -4
- package/dist/chunks/{component-RadarTime-CBk6AMiD.mjs → component-RadarTime-DGRztCiR.mjs} +2 -2
- package/dist/chunks/{component-RenderMarkdown-DFiXNere.mjs → component-RenderMarkdown-Dv-UVGrS.mjs} +2 -2
- package/dist/chunks/{component-ReservoirLiveAlarm-DCzzEJ4U.mjs → component-ReservoirLiveAlarm-CRgl_ztt.mjs} +3 -3
- package/dist/chunks/{component-ServiceMaterial-CXBQpfHK.mjs → component-ServiceMaterial-BTWYke8W.mjs} +2 -2
- package/dist/chunks/{component-ServiceMaterialsBtn-CPZzLZl_.mjs → component-ServiceMaterialsBtn-CTWGd-Is.mjs} +1 -1
- package/dist/chunks/component-StationDialog-Ck8zd52d.mjs +956 -0
- package/dist/chunks/component-StationList-BvoVJwAU.mjs +337 -0
- package/dist/chunks/{component-TimeBasedForecast-WVO8WY-h.mjs → component-TimeBasedForecast-BaPiit4s.mjs} +36 -36
- package/dist/chunks/{component-WarningLine-BCPm8Eve.mjs → component-WarningLine-CcFfVzar.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-C2RJ8N64.mjs → component-WarningSignal-C0CnTLVH.mjs} +3 -3
- package/dist/chunks/component-WeatherForecast-DWdNramU.mjs +229 -0
- package/dist/chunks/{component-YCDataMonitor-Dx7ASmGD.mjs → component-YCDataMonitor-DPMFqIFB.mjs} +108 -110
- package/dist/chunks/{component-YCDataService-mj2SUWBC.mjs → component-YCDataService-CD042ss7.mjs} +4 -4
- package/dist/chunks/{component-YCHome-CUcEZHuo.mjs → component-YCHome-DjpIzt-5.mjs} +4 -4
- package/dist/chunks/{component-YCHomeLegend-DK6WU8YQ.mjs → component-YCHomeLegend-B-nlePS2.mjs} +1 -1
- package/dist/chunks/{component-YCLoginNew-D2RInKrk.mjs → component-YCLoginNew-Bx2LoLJz.mjs} +3 -3
- package/dist/components/AiChat/AiChat.vue.d.ts +0 -2
- package/dist/components/Forecast72h/Forecast72h.vue.d.ts +50 -0
- package/dist/components/HdForecastProducts/HdForecastProducts.vue.d.ts +49 -0
- package/dist/components/HdHeatService/HdHeatService.vue.d.ts +56 -0
- package/dist/components/HdObservation/HdObservation.vue.d.ts +43 -0
- package/dist/components/HdPreSituation/HdPreSituation.vue.d.ts +61 -0
- package/dist/components/HdQxServiceEffects/HdQxServiceEffects.vue.d.ts +59 -0
- package/dist/components/HdRadarTime/HdRadarTime.vue.d.ts +71 -0
- package/dist/components/HdSeaCase/HdSeaCase.vue.d.ts +46 -0
- package/dist/components/HdServiceMarterial/HdServiceMarterial.vue.d.ts +54 -0
- package/dist/components/HdServiceRequirements/HdServiceRequirements.vue.d.ts +51 -0
- package/dist/components/HdStationTem/HdStationTem.vue.d.ts +69 -0
- package/dist/components/HdSuggestion/HdSuggestion.vue.d.ts +49 -0
- package/dist/components/HdThreeWeatherTrend/HdThreeWeatherTrend.vue.d.ts +71 -0
- package/dist/components/HdWaveForcast/HdWaveForcast.vue.d.ts +70 -0
- package/dist/components/HighWayEarlyWarningRed/Call.vue.d.ts +18 -0
- package/dist/components/HighWayEarlyWarningRed/HighWayEarlyWarningRed.vue.d.ts +5 -0
- package/dist/components/PrecipitationRanking/PrecipitationRanking.vue.d.ts +62 -0
- package/dist/components/StationDialog/StationDialog.vue.d.ts +90 -0
- package/dist/components/StationList/StationList.vue.d.ts +64 -0
- package/dist/components/WeatherForecast/WeatherForecast.vue.d.ts +9 -0
- package/dist/index.d.ts +18 -1
- package/dist/nxd-plugin.mjs +56 -40
- package/dist/styles/component-Forecast72h.css +1 -0
- package/dist/styles/component-HdForecastProducts.css +1 -0
- package/dist/styles/component-HdHeatService.css +1 -0
- package/dist/styles/component-HdObservation.css +1 -0
- package/dist/styles/component-HdPreSituation.css +1 -0
- package/dist/styles/component-HdRadarTime.css +1 -0
- package/dist/styles/component-HdSeaCase.css +1 -0
- package/dist/styles/component-HdServiceMarterial.css +1 -0
- package/dist/styles/component-HdServiceRequirements.css +1 -0
- package/dist/styles/component-HdStationTem.css +1 -0
- package/dist/styles/component-HdSuggestion.css +1 -0
- package/dist/styles/component-HdThreeWeatherTrend.css +1 -0
- package/dist/styles/component-HdWaveForcast.css +1 -0
- package/dist/styles/component-HighQuality.css +1 -1
- package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
- package/dist/styles/component-PrecipitationRanking.css +1 -0
- package/dist/styles/component-StationDialog.css +1 -0
- package/dist/styles/component-StationList.css +1 -0
- package/dist/styles/component-WeatherForecast.css +1 -1
- package/dist/styles/component-YCDataMonitor.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +2 -1
- package/dist/chunks/component-WeatherForecast-CaLYtE37.mjs +0 -210
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
import { r as e } from "./rolldown-runtime-Cz5NsrRf.mjs";
|
|
2
|
+
import { n as t } from "./component-AqiMonitor-C_V1Nuf_.mjs";
|
|
3
|
+
import { i as n } from "./component-AiChat-BXNBLM1G.mjs";
|
|
4
|
+
import "./component-Forecast72h-BkVZSGhE.mjs";
|
|
5
|
+
import { n as r } from "./component-HdObservation-CM6HUrQ3.mjs";
|
|
6
|
+
import { ElConfigProvider as i, ElDatePicker as a, ElIcon as o, ElLoadingDirective as s, ElTable as c, ElTableColumn as l } from "element-plus/es";
|
|
7
|
+
import { computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, getCurrentInstance as _, normalizeClass as v, onBeforeUnmount as y, onMounted as b, openBlock as x, ref as S, toDisplayString as C, unref as w, withCtx as T, withDirectives as ee } from "vue";
|
|
8
|
+
import { Download as E, RefreshRight as D } from "@element-plus/icons-vue";
|
|
9
|
+
import { ElMessage as O } from "element-plus";
|
|
10
|
+
import k from "element-plus/es/locale/lang/zh-cn.mjs";
|
|
11
|
+
import "element-plus/dist/index.css";
|
|
12
|
+
//#region src/components/StationList/StationList.vue?vue&type=script&setup=true&lang.ts
|
|
13
|
+
var te = /* @__PURE__ */ e(r()), ne = {
|
|
14
|
+
class: "StationList",
|
|
15
|
+
"element-loading-background": "rgba(0, 0, 0, 0.5)"
|
|
16
|
+
}, re = { class: "StationList-header" }, A = { class: "StationList-headerContent" }, j = { class: "StationList-title" }, M = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "StationList-dataTime"
|
|
19
|
+
}, N = { class: "StationList-toolbar" }, P = { class: "StationList-timeWrap" }, F = { class: "StationList-actions" }, I = { class: "StationList-content" }, L = { class: "StationList-tableWrap" }, R = /* @__PURE__ */ t(/* @__PURE__ */ g({
|
|
20
|
+
__name: "StationList",
|
|
21
|
+
props: {
|
|
22
|
+
mock: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: !1
|
|
25
|
+
},
|
|
26
|
+
title: { default: "观测数据" },
|
|
27
|
+
baseHttp: { default: "" },
|
|
28
|
+
tableHeight: { default: "40vh" },
|
|
29
|
+
appKey: { default: "" },
|
|
30
|
+
appSalt: { default: "" },
|
|
31
|
+
ids: { default: () => ({}) },
|
|
32
|
+
refreshInterval: { default: 300 * 1e3 },
|
|
33
|
+
thresholds: { default: () => ({
|
|
34
|
+
temperature: {
|
|
35
|
+
min: -40,
|
|
36
|
+
max: 50
|
|
37
|
+
},
|
|
38
|
+
precipitation: { max: 250 },
|
|
39
|
+
windSpeed: { max: 40 }
|
|
40
|
+
}) },
|
|
41
|
+
mockData: { default: () => ({
|
|
42
|
+
dataTime: "2026-04-12 16时",
|
|
43
|
+
list: [
|
|
44
|
+
{
|
|
45
|
+
stationName: "诸城",
|
|
46
|
+
temperature: 21,
|
|
47
|
+
precipitation: 0,
|
|
48
|
+
windSpeed: 5.1,
|
|
49
|
+
windDirectionText: "南风"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
stationName: "诸城气象局",
|
|
53
|
+
temperature: 21,
|
|
54
|
+
precipitation: 0,
|
|
55
|
+
windSpeed: 5.1,
|
|
56
|
+
windDirectionText: "南风"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
stationName: "五莲气象局",
|
|
60
|
+
temperature: 22.4,
|
|
61
|
+
precipitation: 0,
|
|
62
|
+
windSpeed: 3.8,
|
|
63
|
+
windDirectionText: "南风"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
stationName: "黄岛",
|
|
67
|
+
temperature: 14,
|
|
68
|
+
precipitation: 0,
|
|
69
|
+
windSpeed: 3,
|
|
70
|
+
windDirectionText: "东南风"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
stationName: "董家口",
|
|
74
|
+
temperature: 16.6,
|
|
75
|
+
precipitation: 0,
|
|
76
|
+
windSpeed: 1.7,
|
|
77
|
+
windDirectionText: "东南风"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
stationName: "金沙滩",
|
|
81
|
+
temperature: 13.1,
|
|
82
|
+
precipitation: 0,
|
|
83
|
+
windSpeed: 1.4,
|
|
84
|
+
windDirectionText: "南风"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
stationName: "琅琊",
|
|
88
|
+
temperature: 15.4,
|
|
89
|
+
precipitation: 0,
|
|
90
|
+
windSpeed: 2.2,
|
|
91
|
+
windDirectionText: "南风"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
stationName: "大场",
|
|
95
|
+
temperature: 18.6,
|
|
96
|
+
precipitation: 0,
|
|
97
|
+
windSpeed: 1.9,
|
|
98
|
+
windDirectionText: "南风"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
stationName: "大村",
|
|
102
|
+
temperature: 19.4,
|
|
103
|
+
precipitation: 0,
|
|
104
|
+
windSpeed: 1.8,
|
|
105
|
+
windDirectionText: "南风"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
stationName: "胶州营海",
|
|
109
|
+
temperature: 16.3,
|
|
110
|
+
precipitation: 0,
|
|
111
|
+
windSpeed: 2.4,
|
|
112
|
+
windDirectionText: "东南风"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
stationName: "大涧山",
|
|
116
|
+
temperature: 15.6,
|
|
117
|
+
precipitation: 0,
|
|
118
|
+
windSpeed: 3,
|
|
119
|
+
windDirectionText: "南风"
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
}) }
|
|
123
|
+
},
|
|
124
|
+
emits: ["close", "rowClick"],
|
|
125
|
+
setup(e, { emit: t }) {
|
|
126
|
+
let r = _()?.appContext.config.globalProperties.$bus, g = e, R = t, z = S(!1), B = S(!1), V = S(""), H = S(""), U = S(""), W = S([]), G = S(""), K = S("asc"), q = null, J = u(() => {
|
|
127
|
+
let e = [...W.value];
|
|
128
|
+
return G.value && e.sort((e, t) => {
|
|
129
|
+
let n = Number(e[G.value]) || 0, r = Number(t[G.value]) || 0;
|
|
130
|
+
return K.value === "asc" ? n - r : r - n;
|
|
131
|
+
}), e;
|
|
132
|
+
}), Y = (e) => e == null || e === "" || e === 9999, X = (e, t) => Y(e) ? "--" : t ? `${e}${t}` : String(e), ie = (e) => `${Y(e.windSpeed) ? "--" : `${e.windSpeed}m/s`} ${e.windDirectionText || "--"}`, Z = (e, t) => {
|
|
133
|
+
let n = Number(e[t]);
|
|
134
|
+
if (Y(n) || isNaN(n)) return !1;
|
|
135
|
+
let r = g.thresholds[t];
|
|
136
|
+
return r ? r.min !== void 0 && n < r.min || r.max !== void 0 && n > r.max : !1;
|
|
137
|
+
}, ae = () => {
|
|
138
|
+
R("close", "StationList");
|
|
139
|
+
}, oe = (e) => {
|
|
140
|
+
R("rowClick", e);
|
|
141
|
+
}, se = ({ prop: e, order: t }) => {
|
|
142
|
+
if (!e || !t) {
|
|
143
|
+
G.value = "";
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
G.value = e, K.value = t === "ascending" ? "asc" : "desc";
|
|
147
|
+
}, ce = (e) => {
|
|
148
|
+
let t = g.ids[e] || g.ids.data;
|
|
149
|
+
return t?.id ? t : null;
|
|
150
|
+
}, le = (e) => e ? e.data === void 0 ? e.result === void 0 ? e : e.result : e.data?.result?.output === void 0 ? e.data?.result === void 0 ? e.data : e.data.result : e.data.result.output : null, ue = () => {
|
|
151
|
+
let e = g.mockData;
|
|
152
|
+
console.log(e, "data"), W.value = e.list || [], U.value = e.dataTime || "";
|
|
153
|
+
}, de = async () => {
|
|
154
|
+
let e = ce("data");
|
|
155
|
+
if (!e) {
|
|
156
|
+
console.warn("StationList 缺少工作流配置");
|
|
157
|
+
return;
|
|
158
|
+
}
|
|
159
|
+
try {
|
|
160
|
+
let t = le(await n({
|
|
161
|
+
id: e.id,
|
|
162
|
+
baseHttp: g.baseHttp,
|
|
163
|
+
reqType: e.reqType,
|
|
164
|
+
variables: {
|
|
165
|
+
startTime: V.value,
|
|
166
|
+
endTime: H.value
|
|
167
|
+
},
|
|
168
|
+
isFormData: e.isFormData,
|
|
169
|
+
appKey: g.appKey,
|
|
170
|
+
appSalt: g.appSalt
|
|
171
|
+
}));
|
|
172
|
+
t && (W.value = Array.isArray(t.list) ? t.list : [], U.value = t.dataTime || "");
|
|
173
|
+
} catch (e) {
|
|
174
|
+
console.error("StationList 数据加载失败", e);
|
|
175
|
+
}
|
|
176
|
+
}, Q = async () => {
|
|
177
|
+
z.value = !0, g.mock ? ue() : await de(), z.value = !1;
|
|
178
|
+
}, fe = () => {
|
|
179
|
+
Q();
|
|
180
|
+
}, pe = async () => {
|
|
181
|
+
B.value = !0, await Q(), setTimeout(() => {
|
|
182
|
+
B.value = !1;
|
|
183
|
+
}, 500);
|
|
184
|
+
}, me = () => {
|
|
185
|
+
if (J.value.length == 0) {
|
|
186
|
+
O.warning("暂无数据可导出");
|
|
187
|
+
return;
|
|
188
|
+
}
|
|
189
|
+
let e = J.value.map((e) => ({
|
|
190
|
+
站名: e.stationName,
|
|
191
|
+
温度: X(e.temperature, "℃"),
|
|
192
|
+
降水量: X(e.precipitation, "mm"),
|
|
193
|
+
风速: X(e.windSpeed, "m/s"),
|
|
194
|
+
风向: e.windDirectionText || "--",
|
|
195
|
+
数据时间: e.monitorTime || U.value || ""
|
|
196
|
+
}));
|
|
197
|
+
new te.default({
|
|
198
|
+
fileName: `自动站观测数据_${(/* @__PURE__ */ new Date()).getTime()}`,
|
|
199
|
+
datas: [{
|
|
200
|
+
sheetData: e,
|
|
201
|
+
sheetName: "观测数据",
|
|
202
|
+
sheetFilter: [
|
|
203
|
+
"站名",
|
|
204
|
+
"温度",
|
|
205
|
+
"降水量",
|
|
206
|
+
"风速",
|
|
207
|
+
"风向",
|
|
208
|
+
"数据时间"
|
|
209
|
+
],
|
|
210
|
+
sheetHeader: [
|
|
211
|
+
"站名",
|
|
212
|
+
"温度",
|
|
213
|
+
"降水量",
|
|
214
|
+
"风速",
|
|
215
|
+
"风向",
|
|
216
|
+
"数据时间"
|
|
217
|
+
],
|
|
218
|
+
columnWidths: [
|
|
219
|
+
20,
|
|
220
|
+
12,
|
|
221
|
+
12,
|
|
222
|
+
12,
|
|
223
|
+
12,
|
|
224
|
+
20
|
|
225
|
+
]
|
|
226
|
+
}]
|
|
227
|
+
}).saveExcel();
|
|
228
|
+
}, he = () => {
|
|
229
|
+
$(), !(g.refreshInterval <= 0) && (q = setInterval(() => {
|
|
230
|
+
Q();
|
|
231
|
+
}, g.refreshInterval));
|
|
232
|
+
}, $ = () => {
|
|
233
|
+
q &&= (clearInterval(q), null);
|
|
234
|
+
};
|
|
235
|
+
return b(() => {
|
|
236
|
+
r?.on("toComponent", (e) => {
|
|
237
|
+
e.componentName === "StationList" && Q();
|
|
238
|
+
}), Q(), he();
|
|
239
|
+
}), y(() => {
|
|
240
|
+
$();
|
|
241
|
+
}), (t, n) => {
|
|
242
|
+
let r = a, u = i, g = o, _ = l, y = c, b = s;
|
|
243
|
+
return ee((x(), f("div", ne, [
|
|
244
|
+
p("button", {
|
|
245
|
+
class: "StationList-close",
|
|
246
|
+
onClick: ae
|
|
247
|
+
}, [...n[1] ||= [p("span", null, "✕", -1)]]),
|
|
248
|
+
p("div", re, [p("div", A, [p("h3", j, C(e.title), 1), U.value ? (x(), f("span", M, "(数据时间:" + C(U.value) + ")", 1)) : d("", !0)]), n[2] ||= p("img", {
|
|
249
|
+
style: {
|
|
250
|
+
width: "100%",
|
|
251
|
+
"object-fit": "contain",
|
|
252
|
+
"margin-top": "4px"
|
|
253
|
+
},
|
|
254
|
+
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",
|
|
255
|
+
alt: ""
|
|
256
|
+
}, null, -1)]),
|
|
257
|
+
p("div", N, [p("div", P, [n[3] ||= p("span", { class: "StationList-toolbarLabel" }, "时间选择", -1), h(u, { locale: w(k) }, {
|
|
258
|
+
default: T(() => [h(r, {
|
|
259
|
+
size: "small",
|
|
260
|
+
style: { "max-width": "150px" },
|
|
261
|
+
modelValue: V.value,
|
|
262
|
+
"onUpdate:modelValue": n[0] ||= (e) => V.value = e,
|
|
263
|
+
type: "datetime",
|
|
264
|
+
placeholder: "请选择时间",
|
|
265
|
+
"value-format": "YYYY-MM-DD HH:mm",
|
|
266
|
+
format: "YYYY-MM-DD HH:mm",
|
|
267
|
+
class: "StationList-datePicker",
|
|
268
|
+
"popper-class": "StationList-datePopper",
|
|
269
|
+
onChange: fe
|
|
270
|
+
}, null, 8, ["modelValue"])]),
|
|
271
|
+
_: 1
|
|
272
|
+
}, 8, ["locale"])]), p("div", F, [p("button", {
|
|
273
|
+
class: "StationList-btn",
|
|
274
|
+
onClick: me
|
|
275
|
+
}, [h(g, null, {
|
|
276
|
+
default: T(() => [h(w(E))]),
|
|
277
|
+
_: 1
|
|
278
|
+
}), n[4] ||= p("span", null, "导出", -1)]), p("button", {
|
|
279
|
+
class: "StationList-btn",
|
|
280
|
+
onClick: pe
|
|
281
|
+
}, [h(g, null, {
|
|
282
|
+
default: T(() => [h(w(D))]),
|
|
283
|
+
_: 1
|
|
284
|
+
}), n[5] ||= p("span", null, "刷新", -1)])])]),
|
|
285
|
+
p("div", I, [p("div", L, [h(y, {
|
|
286
|
+
data: J.value,
|
|
287
|
+
class: "StationList-table",
|
|
288
|
+
height: e.tableHeight,
|
|
289
|
+
"empty-text": "暂无数据",
|
|
290
|
+
onSortChange: se,
|
|
291
|
+
onRowClick: oe
|
|
292
|
+
}, {
|
|
293
|
+
default: T(() => [
|
|
294
|
+
h(_, {
|
|
295
|
+
prop: "stationName",
|
|
296
|
+
label: "站名",
|
|
297
|
+
align: "left",
|
|
298
|
+
"min-width": "90",
|
|
299
|
+
"show-overflow-tooltip": ""
|
|
300
|
+
}),
|
|
301
|
+
h(_, {
|
|
302
|
+
prop: "temperature",
|
|
303
|
+
label: "温度",
|
|
304
|
+
align: "center",
|
|
305
|
+
sortable: "custom",
|
|
306
|
+
"min-width": "80"
|
|
307
|
+
}, {
|
|
308
|
+
default: T(({ row: e }) => [p("span", { class: v({ "is-alarm": Z(e, "temperature") }) }, C(X(e.temperature, "℃")), 3)]),
|
|
309
|
+
_: 1
|
|
310
|
+
}),
|
|
311
|
+
h(_, {
|
|
312
|
+
prop: "precipitation",
|
|
313
|
+
label: "降水量",
|
|
314
|
+
align: "center",
|
|
315
|
+
sortable: "custom",
|
|
316
|
+
"min-width": "100"
|
|
317
|
+
}, {
|
|
318
|
+
default: T(({ row: e }) => [p("span", { class: v({ "is-alarm": Z(e, "precipitation") }) }, C(X(e.precipitation, "mm")), 3)]),
|
|
319
|
+
_: 1
|
|
320
|
+
}),
|
|
321
|
+
h(_, {
|
|
322
|
+
label: "风向风速",
|
|
323
|
+
align: "left",
|
|
324
|
+
"min-width": "100"
|
|
325
|
+
}, {
|
|
326
|
+
default: T(({ row: e }) => [m(C(ie(e)), 1)]),
|
|
327
|
+
_: 1
|
|
328
|
+
})
|
|
329
|
+
]),
|
|
330
|
+
_: 1
|
|
331
|
+
}, 8, ["data", "height"])])])
|
|
332
|
+
])), [[b, z.value]]);
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
}), [["__scopeId", "data-v-732d7326"]]);
|
|
336
|
+
//#endregion
|
|
337
|
+
export { R as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
3
|
-
import { A as n, C as r, D as i, E as ee,
|
|
4
|
-
import { n as v } from "./component-LithiumBatteryMiningArea-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-C_V1Nuf_.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-BXNBLM1G.mjs";
|
|
3
|
+
import { A as n, C as r, D as i, E as ee, M as a, N as o, O as s, P as c, S as l, T as u, _ as d, a as f, b as p, c as m, d as te, f as ne, g as re, h as ie, i as ae, j as oe, k as se, l as ce, m as le, n as ue, o as h, p as g, r as _, s as de, u as fe, v as pe, w as me, x as he, y as ge } from "./component-HighwayWeatherForecast-BQrNGF7m.mjs";
|
|
4
|
+
import { n as v } from "./component-LithiumBatteryMiningArea-B5aUe7T0.mjs";
|
|
5
5
|
import { ElLoadingDirective as y, ElOption as b, ElSelect as x } from "element-plus/es";
|
|
6
6
|
import { Fragment as S, createElementBlock as C, createElementVNode as w, createVNode as T, defineComponent as E, getCurrentInstance as D, nextTick as O, normalizeStyle as k, onBeforeUnmount as A, onMounted as j, openBlock as M, ref as N, renderList as P, toDisplayString as F, watch as I, withCtx as L, withDirectives as _e } from "vue";
|
|
7
7
|
import * as ve from "echarts";
|
|
@@ -89,39 +89,39 @@ var ye = {
|
|
|
89
89
|
_time: y,
|
|
90
90
|
_temp: Number.isFinite(b) ? b : 0,
|
|
91
91
|
_weatherIcon: new URL((/* @__PURE__ */ Object.assign({
|
|
92
|
-
"../../assets/img/weatherIcon/0.gif":
|
|
93
|
-
"../../assets/img/weatherIcon/1.gif":
|
|
94
|
-
"../../assets/img/weatherIcon/10.gif":
|
|
95
|
-
"../../assets/img/weatherIcon/11.gif":
|
|
96
|
-
"../../assets/img/weatherIcon/12.gif":
|
|
97
|
-
"../../assets/img/weatherIcon/13.gif":
|
|
98
|
-
"../../assets/img/weatherIcon/14.gif":
|
|
99
|
-
"../../assets/img/weatherIcon/15.gif":
|
|
100
|
-
"../../assets/img/weatherIcon/16.gif":
|
|
101
|
-
"../../assets/img/weatherIcon/17.gif":
|
|
102
|
-
"../../assets/img/weatherIcon/18.gif":
|
|
103
|
-
"../../assets/img/weatherIcon/19.gif":
|
|
104
|
-
"../../assets/img/weatherIcon/2.gif":
|
|
105
|
-
"../../assets/img/weatherIcon/20.gif":
|
|
106
|
-
"../../assets/img/weatherIcon/21.gif":
|
|
107
|
-
"../../assets/img/weatherIcon/22.gif":
|
|
108
|
-
"../../assets/img/weatherIcon/23.gif":
|
|
109
|
-
"../../assets/img/weatherIcon/24.gif":
|
|
110
|
-
"../../assets/img/weatherIcon/25.gif":
|
|
92
|
+
"../../assets/img/weatherIcon/0.gif": c,
|
|
93
|
+
"../../assets/img/weatherIcon/1.gif": o,
|
|
94
|
+
"../../assets/img/weatherIcon/10.gif": a,
|
|
95
|
+
"../../assets/img/weatherIcon/11.gif": oe,
|
|
96
|
+
"../../assets/img/weatherIcon/12.gif": n,
|
|
97
|
+
"../../assets/img/weatherIcon/13.gif": se,
|
|
98
|
+
"../../assets/img/weatherIcon/14.gif": s,
|
|
99
|
+
"../../assets/img/weatherIcon/15.gif": i,
|
|
100
|
+
"../../assets/img/weatherIcon/16.gif": ee,
|
|
101
|
+
"../../assets/img/weatherIcon/17.gif": u,
|
|
102
|
+
"../../assets/img/weatherIcon/18.gif": me,
|
|
103
|
+
"../../assets/img/weatherIcon/19.gif": r,
|
|
104
|
+
"../../assets/img/weatherIcon/2.gif": l,
|
|
105
|
+
"../../assets/img/weatherIcon/20.gif": he,
|
|
106
|
+
"../../assets/img/weatherIcon/21.gif": p,
|
|
107
|
+
"../../assets/img/weatherIcon/22.gif": ge,
|
|
108
|
+
"../../assets/img/weatherIcon/23.gif": pe,
|
|
109
|
+
"../../assets/img/weatherIcon/24.gif": d,
|
|
110
|
+
"../../assets/img/weatherIcon/25.gif": re,
|
|
111
111
|
"../../assets/img/weatherIcon/26.gif": ie,
|
|
112
|
-
"../../assets/img/weatherIcon/27.gif":
|
|
113
|
-
"../../assets/img/weatherIcon/28.gif":
|
|
114
|
-
"../../assets/img/weatherIcon/29.gif":
|
|
115
|
-
"../../assets/img/weatherIcon/3.gif":
|
|
116
|
-
"../../assets/img/weatherIcon/30.gif":
|
|
117
|
-
"../../assets/img/weatherIcon/31.gif":
|
|
118
|
-
"../../assets/img/weatherIcon/4.gif":
|
|
119
|
-
"../../assets/img/weatherIcon/5.gif":
|
|
120
|
-
"../../assets/img/weatherIcon/53.gif":
|
|
121
|
-
"../../assets/img/weatherIcon/6.gif":
|
|
122
|
-
"../../assets/img/weatherIcon/7.gif":
|
|
123
|
-
"../../assets/img/weatherIcon/8.gif":
|
|
124
|
-
"../../assets/img/weatherIcon/9.gif":
|
|
112
|
+
"../../assets/img/weatherIcon/27.gif": le,
|
|
113
|
+
"../../assets/img/weatherIcon/28.gif": g,
|
|
114
|
+
"../../assets/img/weatherIcon/29.gif": ne,
|
|
115
|
+
"../../assets/img/weatherIcon/3.gif": te,
|
|
116
|
+
"../../assets/img/weatherIcon/30.gif": fe,
|
|
117
|
+
"../../assets/img/weatherIcon/31.gif": ce,
|
|
118
|
+
"../../assets/img/weatherIcon/4.gif": m,
|
|
119
|
+
"../../assets/img/weatherIcon/5.gif": de,
|
|
120
|
+
"../../assets/img/weatherIcon/53.gif": h,
|
|
121
|
+
"../../assets/img/weatherIcon/6.gif": f,
|
|
122
|
+
"../../assets/img/weatherIcon/7.gif": ae,
|
|
123
|
+
"../../assets/img/weatherIcon/8.gif": _,
|
|
124
|
+
"../../assets/img/weatherIcon/9.gif": ue
|
|
125
125
|
}))[`../../assets/img/weatherIcon/${x}.gif`], import.meta.url).href,
|
|
126
126
|
_windSpeed: `${w}级`
|
|
127
127
|
};
|
package/dist/chunks/{component-WarningLine-BCPm8Eve.mjs → component-WarningLine-CcFfVzar.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e } from "./component-AiChat-
|
|
2
|
-
import { $ as t, A as n, B as r, C as ee, D as te, E as ne, F as re, G as ie, H as ae, I as oe, J as se, K as ce, L as le, M as ue, N as de, O as fe, P as pe, Q as me, R as he, S as ge, T as _e, U as ve, V as ye, W as be, X as xe, Y as Se, Z as Ce, _ as i, a, at as o, b as s, c, ct as l, d as u, dt as d, et as f, f as p, ft as m, g as h, h as g, i as _, it as v, j as y, k as b, l as x, lt as S, m as C, nt as w, o as T, ot as E, p as D, q as O, r as k, rt as A, s as we, st as Te, tt as Ee, u as De, ut as Oe, v as ke, w as Ae, x as je, y as Me, z as j } from "./component-HighWayEarlyWarningRed-
|
|
1
|
+
import { i as e } from "./component-AiChat-BXNBLM1G.mjs";
|
|
2
|
+
import { $ as t, A as n, B as r, C as ee, D as te, E as ne, F as re, G as ie, H as ae, I as oe, J as se, K as ce, L as le, M as ue, N as de, O as fe, P as pe, Q as me, R as he, S as ge, T as _e, U as ve, V as ye, W as be, X as xe, Y as Se, Z as Ce, _ as i, a, at as o, b as s, c, ct as l, d as u, dt as d, et as f, f as p, ft as m, g as h, h as g, i as _, it as v, j as y, k as b, l as x, lt as S, m as C, nt as w, o as T, ot as E, p as D, q as O, r as k, rt as A, s as we, st as Te, tt as Ee, u as De, ut as Oe, v as ke, w as Ae, x as je, y as Me, z as j } from "./component-HighWayEarlyWarningRed-DlgG9rTx.mjs";
|
|
3
3
|
import { Fragment as M, Transition as N, computed as P, createCommentVNode as F, createElementBlock as I, createElementVNode as L, createVNode as Ne, defineComponent as R, getCurrentInstance as Pe, normalizeStyle as Fe, onMounted as Ie, onUnmounted as Le, openBlock as z, ref as B, renderList as Re, toDisplayString as V, watch as ze, withCtx as Be } from "vue";
|
|
4
4
|
//#region src/components/WarningLine/WarningLine.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var Ve = { class: "WarningLine__content" }, He = { class: "WarningLine__scroll-container" }, Ue = ["src"], We = { class: "WarningLine__text" }, Ge = {
|
package/dist/chunks/{component-WarningSignal-C2RJ8N64.mjs → component-WarningSignal-C0CnTLVH.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
3
|
-
import { $ as n, A as r, B as i, C as a, D as o, E as s, F as c, G as l, H as u, I as d, J as f, K as p, L as m, M as h, N as ee, O as te, P as ne, Q as re, R as ie, S as ae, T as oe, U as se, V as ce, W as le, X as ue, Y as de, Z as fe, _ as pe, a as me, at as he, b as ge, c as _e, ct as ve, d as ye, dt as be, et as xe, f as Se, ft as Ce, g as we, h as Te, i as Ee, it as g, j as _, k as v, l as y, lt as b, m as x, n as S, nt as C, o as w, ot as T, p as E, q as D, r as De, rt as Oe, s as ke, st as Ae, tt as je, u as Me, ut as Ne, v as Pe, w as Fe, x as Ie, y as Le, z as Re } from "./component-HighWayEarlyWarningRed-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-C_V1Nuf_.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-BXNBLM1G.mjs";
|
|
3
|
+
import { $ as n, A as r, B as i, C as a, D as o, E as s, F as c, G as l, H as u, I as d, J as f, K as p, L as m, M as h, N as ee, O as te, P as ne, Q as re, R as ie, S as ae, T as oe, U as se, V as ce, W as le, X as ue, Y as de, Z as fe, _ as pe, a as me, at as he, b as ge, c as _e, ct as ve, d as ye, dt as be, et as xe, f as Se, ft as Ce, g as we, h as Te, i as Ee, it as g, j as _, k as v, l as y, lt as b, m as x, n as S, nt as C, o as w, ot as T, p as E, q as D, r as De, rt as Oe, s as ke, st as Ae, tt as je, u as Me, ut as Ne, v as Pe, w as Fe, x as Ie, y as Le, z as Re } from "./component-HighWayEarlyWarningRed-DlgG9rTx.mjs";
|
|
4
4
|
import { ElLoadingDirective as O } from "element-plus/es";
|
|
5
5
|
import { Fragment as k, computed as A, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createStaticVNode as ze, createVNode as Be, defineComponent as P, getCurrentInstance as Ve, normalizeStyle as F, onBeforeUnmount as I, onMounted as He, openBlock as L, ref as R, renderList as Ue, toDisplayString as z, unref as B, vShow as We, watch as V, withDirectives as H, withModifiers as U } from "vue";
|
|
6
6
|
import "element-plus/es/components/loading/style/css";
|