nxd-plugin 1.7.97 → 1.7.99
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-CMbG8e28.mjs → component-AiChat-B2YoRfzz.mjs} +1 -1
- package/dist/chunks/{component-AqiMonitor-CVb99opd.mjs → component-AqiMonitor-DWhSDKFM.mjs} +1 -1
- package/dist/chunks/{component-ChartCumulativePre-DbbqXqZE.mjs → component-ChartCumulativePre-CYVahvTN.mjs} +2 -2
- package/dist/chunks/{component-ChartServiceMaterial-hU5a_G6w.mjs → component-ChartServiceMaterial-CbiB7503.mjs} +2 -2
- package/dist/chunks/{component-Duty-BCW6ohuO.mjs → component-Duty-CxH58EY9.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic-DSp82HGZ.mjs → component-EarlyWarningStatistic-BsgcJent.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic2-DmHCmtaq.mjs → component-EarlyWarningStatistic2-CEnr2SX2.mjs} +2 -2
- package/dist/chunks/component-Forecast72h-6g0PcT0B.mjs +539 -0
- package/dist/chunks/{component-GeologyLiveAlarm-0P99V7KX.mjs → component-GeologyLiveAlarm-CzEt43gy.mjs} +2 -2
- package/dist/chunks/component-GridForecastMsg-B1CCDv2Y.mjs +203 -0
- package/dist/chunks/{component-HDSeaLegend-BSGtGcnh.mjs → component-HDSeaLegend-B2xekirw.mjs} +1 -1
- package/dist/chunks/component-HdCameraList-CEOhupnQ.mjs +393 -0
- package/dist/chunks/{component-HdForecastProducts-_2ttNo-z.mjs → component-HdForecastProducts-DaeNeMiI.mjs} +2 -2
- package/dist/chunks/component-HdHeatChart-DiG-hplN.mjs +372 -0
- package/dist/chunks/component-HdHeatChartDialog-C1tPPcVw.mjs +590 -0
- package/dist/chunks/component-HdHeatService-UxyMUQp4.mjs +480 -0
- package/dist/chunks/component-HdInsectDetailList-BiVgf4Nc.mjs +266 -0
- package/dist/chunks/component-HdInsectList-CToVsJiF.mjs +328 -0
- package/dist/chunks/{component-HdObservation-DV1mfQsB.mjs → component-HdObservation-BV5jDCZt.mjs} +44 -45
- package/dist/chunks/{component-HdPreSituation-DY6gsT_y.mjs → component-HdPreSituation-DY4j43V7.mjs} +6 -6
- package/dist/chunks/component-HdQxServiceEffects-DM-KlAru.mjs +262 -0
- package/dist/chunks/{component-HdRadarList-BQ1MH8GG.mjs → component-HdRadarList-BdXRt42m.mjs} +3 -3
- package/dist/chunks/{component-HdRadarTime-D7ySMzpg.mjs → component-HdRadarTime-OAbsHPlS.mjs} +2 -2
- package/dist/chunks/component-HdRisk-tQq0onmA.mjs +236 -0
- package/dist/chunks/component-HdSeaCase-DoWAhrNy.mjs +239 -0
- package/dist/chunks/{component-HdServiceMarterial-BgIt-ELd.mjs → component-HdServiceMarterial-nCfTCfyI.mjs} +77 -77
- package/dist/chunks/{component-HdServiceRequirements-B83V-lQN.mjs → component-HdServiceRequirements-S9zSof01.mjs} +45 -45
- package/dist/chunks/component-HdSoil-tr6IWswf.mjs +350 -0
- package/dist/chunks/component-HdSoilDetailList-DG-TzCl0.mjs +402 -0
- package/dist/chunks/{component-HdStationTem-DdMSzVEC.mjs → component-HdStationTem-DrPBR7fV.mjs} +77 -78
- package/dist/chunks/{component-HdSuggestion-CrvAGw81.mjs → component-HdSuggestion-DQO0InyO.mjs} +3 -3
- package/dist/chunks/component-HdThreeWeatherTrend-CElSAKJs.mjs +333 -0
- package/dist/chunks/component-HdWaveForcast-D3Hm8Dg3.mjs +241 -0
- package/dist/chunks/{component-HighQuality-Bsqgp8R-.mjs → component-HighQuality-C_W_iOrU.mjs} +7 -7
- package/dist/chunks/{component-HighWayEarlyWarningRed-D0uKUK3B.mjs → component-HighWayEarlyWarningRed-D5iSGN5l.mjs} +2 -2
- package/dist/chunks/{component-HighWayFreeze-sGJddgnr.mjs → component-HighWayFreeze-B9v5Z9Yd.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarm-Wm2rCVBb.mjs → component-HighwayLiveAlarm-DjcOZUJv.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarmNew-YjS0FM1d.mjs → component-HighwayLiveAlarmNew-C35RKvL1.mjs} +3 -3
- package/dist/chunks/{component-HighwayStations-DRfDmHmK.mjs → component-HighwayStations-U_rU4hJi.mjs} +2 -2
- package/dist/chunks/{component-HighwayWeatherForecast-Cp50--Dj.mjs → component-HighwayWeatherForecast-BD547juJ.mjs} +4 -4
- package/dist/chunks/{component-IframeWeb-HpaTePnW.mjs → component-IframeWeb-DMn6K9zk.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-zj2WbvzB.mjs → component-ImageGeneration-BFSnXOdZ.mjs} +2 -2
- package/dist/chunks/{component-IntroducePic-BxDMkIyJ.mjs → component-IntroducePic-BmvED_mB.mjs} +2 -2
- package/dist/chunks/{component-LithiumBatteryMiningArea-BC05EqiO.mjs → component-LithiumBatteryMiningArea-BM_8uVPy.mjs} +2 -2
- package/dist/chunks/{component-MapPopup-DYsV0ICP.mjs → component-MapPopup-CRQjbIZT.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-DJhj0Gh9.mjs → component-MaterialPreview-Dmg4LG8h.mjs} +2 -2
- package/dist/chunks/{component-PieLegend-BsDM9oA_.mjs → component-PieLegend-B90e9FMW.mjs} +1 -1
- package/dist/chunks/{component-PrecipitationRanking-B7gEEuCe.mjs → component-PrecipitationRanking-BamBChop.mjs} +9 -9
- package/dist/chunks/{component-RadarChart-V_2K97Yw.mjs → component-RadarChart-DrQnSK2_.mjs} +2 -2
- package/dist/chunks/{component-RadarLegend-DwjhHZ-N.mjs → component-RadarLegend-UaQXwEdl.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-aF13_Zcy.mjs → component-RadarShortTerm-B6DiXwjj.mjs} +4 -4
- package/dist/chunks/{component-RadarTime-ZN7o47Mu.mjs → component-RadarTime-CrWj-oVD.mjs} +2 -2
- package/dist/chunks/{component-RenderMarkdown-BX-kHqL2.mjs → component-RenderMarkdown-CSoLEsFv.mjs} +2 -2
- package/dist/chunks/{component-ReservoirLiveAlarm-WVVwwKYZ.mjs → component-ReservoirLiveAlarm-CJUDC3QW.mjs} +3 -3
- package/dist/chunks/{component-ServiceMaterial-9imbipjj.mjs → component-ServiceMaterial-DR7imvMZ.mjs} +2 -2
- package/dist/chunks/{component-ServiceMaterialsBtn-693xq1p7.mjs → component-ServiceMaterialsBtn-BWxBKKWn.mjs} +1 -1
- package/dist/chunks/{component-StationDialog-C859f8A-.mjs → component-StationDialog-2KObsuJ8.mjs} +4 -4
- package/dist/chunks/{component-StationList-BQHnyqox.mjs → component-StationList-CJ7XHlZl.mjs} +10 -14
- package/dist/chunks/{component-TimeBasedForecast-DH-OHwXc.mjs → component-TimeBasedForecast-B2ewC_QX.mjs} +4 -4
- package/dist/chunks/{component-Typhoon-C6jT8EFX.mjs → component-Typhoon-BQQCoEbU.mjs} +2 -2
- package/dist/chunks/{component-WarningLine-D3aVWmUZ.mjs → component-WarningLine-9Y5OJRig.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-CEe242B5.mjs → component-WarningSignal-uXiAUGTl.mjs} +3 -3
- package/dist/chunks/{component-WeatherForecast-BfqfB6UO.mjs → component-WeatherForecast-BIeLjzMw.mjs} +4 -4
- package/dist/chunks/{component-YCDataMonitor-DROgvkZ-.mjs → component-YCDataMonitor-D8jFTVaA.mjs} +2 -2
- package/dist/chunks/{component-YCDataService-BM5kQwax.mjs → component-YCDataService--R26h5UL.mjs} +4 -4
- package/dist/chunks/{component-YCHighWaySummary-Bh0IXiDd.mjs → component-YCHighWaySummary-CeYp4g4j.mjs} +2 -2
- package/dist/chunks/{component-YCHome-DwYK1Re4.mjs → component-YCHome-DQSDzxCG.mjs} +4 -4
- package/dist/chunks/{component-YCHomeLegend-BadxwkzL.mjs → component-YCHomeLegend-DiFftuY3.mjs} +1 -1
- package/dist/chunks/{component-YCLoginNew-D5u2lDWS.mjs → component-YCLoginNew-CFJSyKfV.mjs} +3 -3
- package/dist/components/Forecast72h/Forecast72h.vue.d.ts +2 -23
- package/dist/components/GridForecastMsg/GridForecastMsg.vue.d.ts +24 -0
- package/dist/components/HdCameraList/HdCameraList.vue.d.ts +6 -0
- package/dist/components/HdHeatChart/HdHeatChart.vue.d.ts +44 -0
- package/dist/components/HdHeatChart/mockData.d.ts +12 -0
- package/dist/components/HdHeatChartDialog/HdHeatChartDialog.vue.d.ts +52 -0
- package/dist/components/HdHeatChartDialog/mockData.d.ts +23 -0
- package/dist/components/HdHeatService/HdHeatService.vue.d.ts +8 -20
- package/dist/components/HdInsectDetailList/HdInsectDetailList.vue.d.ts +22 -0
- package/dist/components/HdInsectList/HdInsectList.vue.d.ts +57 -0
- package/dist/components/HdRisk/HdRisk.vue.d.ts +61 -0
- package/dist/components/HdSeaCase/HdSeaCase.vue.d.ts +4 -24
- package/dist/components/HdSoil/HdSoil.vue.d.ts +55 -0
- package/dist/components/HdSoilDetailList/HdSoilDetailList.vue.d.ts +30 -0
- package/dist/components/HdThreeWeatherTrend/HdThreeWeatherTrend.vue.d.ts +2 -20
- package/dist/components/HdWaveForcast/HdWaveForcast.vue.d.ts +4 -20
- package/dist/components/StationList/StationList.vue.d.ts +2 -2
- package/dist/index.d.ts +9 -1
- package/dist/nxd-plugin.mjs +70 -61
- package/dist/styles/component-Forecast72h.css +1 -1
- package/dist/styles/component-GridForecastMsg.css +1 -0
- package/dist/styles/component-HDSeaLegend.css +1 -1
- package/dist/styles/component-HdCameraList.css +1 -1
- package/dist/styles/component-HdForecastProducts.css +1 -1
- package/dist/styles/component-HdHeatChart.css +1 -0
- package/dist/styles/component-HdHeatChartDialog.css +1 -0
- package/dist/styles/component-HdHeatService.css +1 -1
- package/dist/styles/component-HdInsectDetailList.css +1 -0
- package/dist/styles/component-HdInsectList.css +1 -0
- package/dist/styles/component-HdObservation.css +1 -1
- package/dist/styles/component-HdPreSituation.css +1 -1
- package/dist/styles/component-HdQxServiceEffects.css +1 -0
- package/dist/styles/component-HdRadarList.css +1 -1
- package/dist/styles/component-HdRisk.css +1 -0
- package/dist/styles/component-HdSeaCase.css +1 -1
- package/dist/styles/component-HdServiceMarterial.css +1 -1
- package/dist/styles/component-HdServiceRequirements.css +1 -1
- package/dist/styles/component-HdSoil.css +1 -0
- package/dist/styles/component-HdSoilDetailList.css +1 -0
- package/dist/styles/component-HdStationTem.css +1 -1
- package/dist/styles/component-HdSuggestion.css +1 -1
- package/dist/styles/component-HdThreeWeatherTrend.css +1 -1
- package/dist/styles/component-HdWaveForcast.css +1 -1
- package/dist/styles/component-HighQuality.css +1 -1
- package/dist/styles/component-PrecipitationRanking.css +1 -1
- package/dist/styles/component-StationList.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/component-Forecast72h-hi7bHW_J.mjs +0 -543
- package/dist/chunks/component-HdCameraList-Cz1OYJEN.mjs +0 -332
- package/dist/chunks/component-HdHeatService-BKK-w3Xc.mjs +0 -412
- package/dist/chunks/component-HdSeaCase-wnGV704s.mjs +0 -219
- package/dist/chunks/component-HdThreeWeatherTrend-Deliswz6.mjs +0 -394
- package/dist/chunks/component-HdWaveForcast-CL4Ghg7T.mjs +0 -271
package/dist/chunks/{component-HdStationTem-DdMSzVEC.mjs → component-HdStationTem-DrPBR7fV.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import { n as t } from "./component-AqiMonitor-
|
|
3
|
-
import { r as n } from "./component-AiChat-
|
|
4
|
-
import "./component-Forecast72h-
|
|
5
|
-
import { n as r } from "./component-HdObservation-
|
|
2
|
+
import { n as t } from "./component-AqiMonitor-DWhSDKFM.mjs";
|
|
3
|
+
import { r as n } from "./component-AiChat-B2YoRfzz.mjs";
|
|
4
|
+
import "./component-Forecast72h-6g0PcT0B.mjs";
|
|
5
|
+
import { n as r } from "./component-HdObservation-BV5jDCZt.mjs";
|
|
6
6
|
import { ElCheckbox as i, ElIcon as ee, ElLoadingDirective as te, ElTable as ne, ElTableColumn as re } from "element-plus/es";
|
|
7
7
|
import { Fragment as ie, computed as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as ae, createVNode as l, defineComponent as u, getCurrentInstance as d, nextTick as f, normalizeClass as p, normalizeStyle as oe, onBeforeUnmount as se, onMounted as ce, openBlock as m, ref as h, renderList as le, toDisplayString as g, unref as ue, watch as de, withCtx as _, withDirectives as fe, withModifiers as pe } from "vue";
|
|
8
8
|
import { Download as me } from "@element-plus/icons-vue";
|
|
@@ -15,10 +15,10 @@ var he = /* @__PURE__ */ e(r()), ge = {
|
|
|
15
15
|
}, _e = { class: "HdStationTem-header" }, ve = { class: "HdStationTem-headerContent" }, ye = { class: "HdStationTem-title" }, be = {
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "HdStationTem-dataTime"
|
|
18
|
-
}, xe = { class: "HdStationTem-toolbar" },
|
|
18
|
+
}, xe = { class: "HdStationTem-toolbar" }, y = { class: "HdStationTem-actions" }, b = { class: "HdStationTem-checkboxWrap" }, x = { class: "HdStationTem-typeWrap" }, S = { class: "HdStationTem-typeTabs" }, C = ["onClick"], w = { class: "HdStationTem-content" }, T = { class: "HdStationTem-tableWrap" }, E = ["onClick"], D = {
|
|
19
19
|
key: 0,
|
|
20
20
|
class: "HdStationTem-trendMask"
|
|
21
|
-
},
|
|
21
|
+
}, O = { class: "HdStationTem-trendPopup" }, k = { class: "HdStationTem-trendHeader" }, A = { class: "HdStationTem-trendTitle" }, j = { class: "HdStationTem-trendSubTitle" }, M = "maxTem08", N = /* @__PURE__ */ t(/* @__PURE__ */ u({
|
|
22
22
|
__name: "HdStationTem",
|
|
23
23
|
props: {
|
|
24
24
|
title: { default: "自动站温度统计" },
|
|
@@ -48,7 +48,8 @@ var he = /* @__PURE__ */ e(r()), ge = {
|
|
|
48
48
|
"clearImage"
|
|
49
49
|
],
|
|
50
50
|
setup(e, { emit: t }) {
|
|
51
|
-
|
|
51
|
+
d()?.appContext.config.globalProperties.$bus;
|
|
52
|
+
let r = e, u = t, N = h(!1), P = h(M), F = h(!1), I = h(""), L = h([]), R = h({}), z = h(!1), B = h(null), V = h(null), H = null, U = null, W = [
|
|
52
53
|
{
|
|
53
54
|
label: "最高温08",
|
|
54
55
|
value: "maxTem08"
|
|
@@ -73,22 +74,22 @@ var he = /* @__PURE__ */ e(r()), ge = {
|
|
|
73
74
|
return t ? `${e}${t}` : String(e);
|
|
74
75
|
}
|
|
75
76
|
return t ? `${e}${t}` : String(e);
|
|
76
|
-
},
|
|
77
|
+
}, Se = (e) => {
|
|
77
78
|
let t = Number(e);
|
|
78
|
-
return K(e) || isNaN(t) ? "rgba(255,255,255,0.6)" : t >=
|
|
79
|
-
},
|
|
80
|
-
|
|
79
|
+
return K(e) || isNaN(t) ? "rgba(255,255,255,0.6)" : t >= r.highThreshold ? "#FF4D4F" : t <= r.lowThreshold ? "#165DFF" : "#fff";
|
|
80
|
+
}, Ce = () => {
|
|
81
|
+
u("close", "HdStationTem");
|
|
82
|
+
}, we = (e) => {
|
|
83
|
+
u("rowClick", e);
|
|
81
84
|
}, Te = (e) => {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
B.value = e, z.value = !0, M("view", e), f(() => {
|
|
85
|
-
Me();
|
|
85
|
+
B.value = e, z.value = !0, u("view", e), f(() => {
|
|
86
|
+
je();
|
|
86
87
|
});
|
|
87
|
-
},
|
|
88
|
+
}, Ee = () => {
|
|
88
89
|
z.value = !1, H &&= (H.dispose(), null);
|
|
89
|
-
},
|
|
90
|
+
}, De = (e) => {
|
|
90
91
|
P.value = e;
|
|
91
|
-
},
|
|
92
|
+
}, Oe = () => ({
|
|
92
93
|
times: [
|
|
93
94
|
"08时",
|
|
94
95
|
"09时",
|
|
@@ -132,17 +133,17 @@ var he = /* @__PURE__ */ e(r()), ge = {
|
|
|
132
133
|
19,
|
|
133
134
|
18
|
|
134
135
|
],
|
|
135
|
-
highThreshold:
|
|
136
|
-
lowThreshold:
|
|
137
|
-
}),
|
|
136
|
+
highThreshold: r.highThreshold,
|
|
137
|
+
lowThreshold: r.lowThreshold
|
|
138
|
+
}), ke = async () => {
|
|
138
139
|
if (!B.value) return null;
|
|
139
|
-
if (
|
|
140
|
-
let e =
|
|
140
|
+
if (r.mock) return B.value.trendData || Oe();
|
|
141
|
+
let e = J("trend");
|
|
141
142
|
if (!e) return console.warn("HdStationTem 缺少趋势图工作流配置"), null;
|
|
142
143
|
try {
|
|
143
|
-
return
|
|
144
|
+
return Y(await n({
|
|
144
145
|
id: e.id,
|
|
145
|
-
baseHttp:
|
|
146
|
+
baseHttp: r.baseHttp,
|
|
146
147
|
reqType: e.reqType,
|
|
147
148
|
variables: {
|
|
148
149
|
stationCode: B.value.stationCode,
|
|
@@ -150,13 +151,13 @@ var he = /* @__PURE__ */ e(r()), ge = {
|
|
|
150
151
|
type: P.value
|
|
151
152
|
},
|
|
152
153
|
isFormData: e.isFormData,
|
|
153
|
-
appKey:
|
|
154
|
-
appSalt:
|
|
154
|
+
appKey: r.appKey,
|
|
155
|
+
appSalt: r.appSalt
|
|
155
156
|
})) || null;
|
|
156
157
|
} catch (e) {
|
|
157
158
|
return console.error("HdStationTem 趋势图数据加载失败", e), null;
|
|
158
159
|
}
|
|
159
|
-
},
|
|
160
|
+
}, Ae = (e) => {
|
|
160
161
|
let t = [];
|
|
161
162
|
e.maxTemp.forEach((e) => !isNaN(Number(e)) && t.push(Number(e))), e.minTemp.forEach((e) => !isNaN(Number(e)) && t.push(Number(e))), isNaN(Number(e.highThreshold)) || t.push(Number(e.highThreshold)), isNaN(Number(e.lowThreshold)) || t.push(Number(e.lowThreshold));
|
|
162
163
|
let n = t.length ? Math.min(...t) : 0, r = t.length ? Math.max(...t) : 40;
|
|
@@ -166,12 +167,12 @@ var he = /* @__PURE__ */ e(r()), ge = {
|
|
|
166
167
|
min: Math.floor(n - i),
|
|
167
168
|
max: Math.ceil(r + i)
|
|
168
169
|
};
|
|
169
|
-
},
|
|
170
|
+
}, je = async () => {
|
|
170
171
|
if (!V.value) return;
|
|
171
|
-
let e = await
|
|
172
|
+
let e = await ke();
|
|
172
173
|
if (!e) return;
|
|
173
174
|
H && H.dispose(), H = v.init(V.value);
|
|
174
|
-
let t =
|
|
175
|
+
let t = Ae(e), n = {
|
|
175
176
|
backgroundColor: "transparent",
|
|
176
177
|
grid: {
|
|
177
178
|
top: 40,
|
|
@@ -292,24 +293,24 @@ var he = /* @__PURE__ */ e(r()), ge = {
|
|
|
292
293
|
]
|
|
293
294
|
};
|
|
294
295
|
H.setOption(n);
|
|
295
|
-
},
|
|
296
|
+
}, Me = ({ rowIndex: e }) => {
|
|
296
297
|
if (e > 2) return "";
|
|
297
298
|
let t = G.value[e];
|
|
298
299
|
return !t || K(t.tem) ? "" : e === 0 ? "HdStationTem-row--top1" : e === 1 ? "HdStationTem-row--top2" : e === 2 ? "HdStationTem-row--top3" : "";
|
|
299
|
-
},
|
|
300
|
-
let t =
|
|
300
|
+
}, J = (e) => {
|
|
301
|
+
let t = r.ids[e] || r.ids.data;
|
|
301
302
|
return t?.id ? t : null;
|
|
302
|
-
},
|
|
303
|
-
let e =
|
|
303
|
+
}, Y = (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, Ne = () => {
|
|
304
|
+
let e = r.mockData, t = (e.list || []).map((e) => ({
|
|
304
305
|
...e,
|
|
305
|
-
tem:
|
|
306
|
+
tem: X(e.tem)
|
|
306
307
|
}));
|
|
307
308
|
R.value = { [P.value]: t }, L.value = t, I.value = e.dataTime || "";
|
|
308
|
-
},
|
|
309
|
+
}, X = (e) => {
|
|
309
310
|
let t = Number(e) || 25, n = P.value;
|
|
310
311
|
return n === "maxTem08" ? t : n === "maxTem20" ? t + Math.random() * 3 : n === "minTem08" ? t - Math.random() * 5 - 3 : n === "minTem20" ? t - Math.random() * 3 : t;
|
|
311
|
-
},
|
|
312
|
-
if (
|
|
312
|
+
}, Pe = async () => {
|
|
313
|
+
if (r.mock) return { imgArr: [{
|
|
313
314
|
imgUrl: "https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=A%20semi-transparent%20weather%20temperature%20heatmap%20overlay%20in%20blue%20and%20red%20gradient%20colors%2C%20suitable%20for%20map%20overlay%2C%20with%20soft%20edges&image_size=landscape_4_3",
|
|
314
315
|
lngStart: 113.5,
|
|
315
316
|
latStart: 27.5,
|
|
@@ -318,45 +319,45 @@ var he = /* @__PURE__ */ e(r()), ge = {
|
|
|
318
319
|
opacity: .6,
|
|
319
320
|
zIndex: 10
|
|
320
321
|
}] };
|
|
321
|
-
let e =
|
|
322
|
+
let e = J("colorMap");
|
|
322
323
|
if (!e) return console.warn("HdStationTem 缺少色斑图工作流配置"), null;
|
|
323
324
|
try {
|
|
324
|
-
return
|
|
325
|
+
return Y(await n({
|
|
325
326
|
id: e.id,
|
|
326
|
-
baseHttp:
|
|
327
|
+
baseHttp: r.baseHttp,
|
|
327
328
|
reqType: e.reqType,
|
|
328
329
|
variables: { type: P.value },
|
|
329
330
|
isFormData: e.isFormData,
|
|
330
|
-
appKey:
|
|
331
|
-
appSalt:
|
|
331
|
+
appKey: r.appKey,
|
|
332
|
+
appSalt: r.appSalt
|
|
332
333
|
})) || null;
|
|
333
334
|
} catch (e) {
|
|
334
335
|
return console.error("HdStationTem 色斑图数据加载失败", e), null;
|
|
335
336
|
}
|
|
336
337
|
}, Z = async (e) => {
|
|
337
338
|
if (e) {
|
|
338
|
-
let e = await
|
|
339
|
-
e &&
|
|
340
|
-
} else
|
|
339
|
+
let e = await Pe();
|
|
340
|
+
e && u("addImage", e);
|
|
341
|
+
} else u("clearImage");
|
|
341
342
|
};
|
|
342
343
|
de(P, () => {
|
|
343
344
|
F.value && Z(!0);
|
|
344
345
|
});
|
|
345
|
-
let
|
|
346
|
-
let e =
|
|
346
|
+
let Fe = async () => {
|
|
347
|
+
let e = J("data");
|
|
347
348
|
if (!e) {
|
|
348
349
|
console.warn("HdStationTem 缺少工作流配置");
|
|
349
350
|
return;
|
|
350
351
|
}
|
|
351
352
|
try {
|
|
352
|
-
let t =
|
|
353
|
+
let t = Y(await n({
|
|
353
354
|
id: e.id,
|
|
354
|
-
baseHttp:
|
|
355
|
+
baseHttp: r.baseHttp,
|
|
355
356
|
reqType: e.reqType,
|
|
356
357
|
variables: {},
|
|
357
358
|
isFormData: e.isFormData,
|
|
358
|
-
appKey:
|
|
359
|
-
appSalt:
|
|
359
|
+
appKey: r.appKey,
|
|
360
|
+
appSalt: r.appSalt
|
|
360
361
|
}));
|
|
361
362
|
t && (R.value = {
|
|
362
363
|
maxTem08: Array.isArray(t.maxTem08) ? t.maxTem08 : [],
|
|
@@ -368,8 +369,8 @@ var he = /* @__PURE__ */ e(r()), ge = {
|
|
|
368
369
|
console.error("HdStationTem 数据加载失败", e);
|
|
369
370
|
}
|
|
370
371
|
}, Q = async () => {
|
|
371
|
-
N.value = !0,
|
|
372
|
-
},
|
|
372
|
+
N.value = !0, r.mock ? Ne() : await Fe(), N.value = !1;
|
|
373
|
+
}, Ie = () => {
|
|
373
374
|
let e = W.find((e) => e.value === P.value)?.label || P.value, t = G.value.map((t, n) => ({
|
|
374
375
|
序号: n + 1,
|
|
375
376
|
站名: t.stationName,
|
|
@@ -409,17 +410,15 @@ var he = /* @__PURE__ */ e(r()), ge = {
|
|
|
409
410
|
]
|
|
410
411
|
}]
|
|
411
412
|
}).saveExcel();
|
|
412
|
-
},
|
|
413
|
-
$(), !(
|
|
413
|
+
}, Le = () => {
|
|
414
|
+
$(), !(r.refreshInterval <= 0) && (U = setInterval(() => {
|
|
414
415
|
Q();
|
|
415
|
-
},
|
|
416
|
+
}, r.refreshInterval));
|
|
416
417
|
}, $ = () => {
|
|
417
418
|
U &&= (clearInterval(U), null);
|
|
418
419
|
};
|
|
419
420
|
return ce(() => {
|
|
420
|
-
|
|
421
|
-
e.componentName === "HdStationTem" && Q();
|
|
422
|
-
}), Q(), Re();
|
|
421
|
+
Q(), Le();
|
|
423
422
|
}), se(() => {
|
|
424
423
|
$(), H &&= (H.dispose(), null);
|
|
425
424
|
}), (t, n) => {
|
|
@@ -427,7 +426,7 @@ var he = /* @__PURE__ */ e(r()), ge = {
|
|
|
427
426
|
return fe((m(), s("div", ge, [
|
|
428
427
|
c("button", {
|
|
429
428
|
class: "HdStationTem-close",
|
|
430
|
-
onClick:
|
|
429
|
+
onClick: Ce
|
|
431
430
|
}, [...n[1] ||= [c("span", null, "✕", -1)]]),
|
|
432
431
|
c("div", _e, [c("div", ve, [c("h3", ye, g(e.title), 1), I.value ? (m(), s("span", be, "(数据时间:" + g(I.value) + ")", 1)) : o("", !0)]), n[2] ||= c("img", {
|
|
433
432
|
style: {
|
|
@@ -438,7 +437,7 @@ var he = /* @__PURE__ */ e(r()), ge = {
|
|
|
438
437
|
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",
|
|
439
438
|
alt: ""
|
|
440
439
|
}, null, -1)]),
|
|
441
|
-
c("div", xe, [c("div",
|
|
440
|
+
c("div", xe, [c("div", y, [n[5] ||= c("span", { class: "HdStationTem-toolbarLabel" }, "日温度统计", -1), c("div", b, [l(r, {
|
|
442
441
|
modelValue: F.value,
|
|
443
442
|
"onUpdate:modelValue": n[0] ||= (e) => F.value = e,
|
|
444
443
|
class: "HdStationTem-checkbox",
|
|
@@ -448,22 +447,22 @@ var he = /* @__PURE__ */ e(r()), ge = {
|
|
|
448
447
|
_: 1
|
|
449
448
|
}, 8, ["modelValue"]), c("button", {
|
|
450
449
|
class: "HdStationTem-btn",
|
|
451
|
-
onClick:
|
|
450
|
+
onClick: Ie
|
|
452
451
|
}, [l(a, null, {
|
|
453
452
|
default: _(() => [l(ue(me))]),
|
|
454
453
|
_: 1
|
|
455
|
-
}), n[4] ||= c("span", { class: "HdStationTem-btnText" }, "导出", -1)])])]), c("div",
|
|
454
|
+
}), n[4] ||= c("span", { class: "HdStationTem-btnText" }, "导出", -1)])])]), c("div", x, [c("div", S, [(m(), s(ie, null, le(W, (e) => c("button", {
|
|
456
455
|
key: e.value,
|
|
457
456
|
class: p(["HdStationTem-typeTab", { "HdStationTem-typeTab--active": P.value === e.value }]),
|
|
458
|
-
onClick: (t) =>
|
|
459
|
-
}, g(e.label), 11,
|
|
460
|
-
c("div",
|
|
457
|
+
onClick: (t) => De(e.value)
|
|
458
|
+
}, g(e.label), 11, C)), 64))])])]),
|
|
459
|
+
c("div", w, [c("div", T, [l(d, {
|
|
461
460
|
data: G.value,
|
|
462
461
|
class: "HdStationTem-table",
|
|
463
462
|
height: e.tableHeight,
|
|
464
463
|
"empty-text": "暂无数据",
|
|
465
|
-
"row-class-name":
|
|
466
|
-
onRowClick:
|
|
464
|
+
"row-class-name": Me,
|
|
465
|
+
onRowClick: we
|
|
467
466
|
}, {
|
|
468
467
|
default: _(() => [
|
|
469
468
|
l(u, {
|
|
@@ -492,7 +491,7 @@ var he = /* @__PURE__ */ e(r()), ge = {
|
|
|
492
491
|
align: "center",
|
|
493
492
|
width: "90"
|
|
494
493
|
}, {
|
|
495
|
-
default: _(({ row: e }) => [c("span", { style: oe({ color:
|
|
494
|
+
default: _(({ row: e }) => [c("span", { style: oe({ color: Se(e.tem) }) }, g(q(e.tem, "")), 5)]),
|
|
496
495
|
_: 1
|
|
497
496
|
}),
|
|
498
497
|
l(u, {
|
|
@@ -502,16 +501,16 @@ var he = /* @__PURE__ */ e(r()), ge = {
|
|
|
502
501
|
}, {
|
|
503
502
|
default: _(({ row: e }) => [c("span", {
|
|
504
503
|
class: "HdStationTem-viewLink",
|
|
505
|
-
onClick: pe((t) =>
|
|
506
|
-
}, "查看", 8,
|
|
504
|
+
onClick: pe((t) => Te(e), ["stop"])
|
|
505
|
+
}, "查看", 8, E)]),
|
|
507
506
|
_: 1
|
|
508
507
|
})
|
|
509
508
|
]),
|
|
510
509
|
_: 1
|
|
511
510
|
}, 8, ["data", "height"])])]),
|
|
512
|
-
z.value ? (m(), s("div",
|
|
511
|
+
z.value ? (m(), s("div", D, [c("div", O, [c("div", k, [c("div", A, [n[6] ||= c("span", null, "温度趋势", -1), c("span", j, g(B.value?.stationName) + " " + g(B.value?.stationCode), 1)]), c("button", {
|
|
513
512
|
class: "HdStationTem-trendClose",
|
|
514
|
-
onClick:
|
|
513
|
+
onClick: Ee
|
|
515
514
|
}, "✕")]), c("div", {
|
|
516
515
|
ref_key: "trendChartRef",
|
|
517
516
|
ref: V,
|
|
@@ -520,6 +519,6 @@ var he = /* @__PURE__ */ e(r()), ge = {
|
|
|
520
519
|
])), [[f, N.value]]);
|
|
521
520
|
};
|
|
522
521
|
}
|
|
523
|
-
}), [["__scopeId", "data-v-
|
|
522
|
+
}), [["__scopeId", "data-v-675ad83b"]]);
|
|
524
523
|
//#endregion
|
|
525
|
-
export {
|
|
524
|
+
export { N as t };
|
package/dist/chunks/{component-HdSuggestion-CrvAGw81.mjs → component-HdSuggestion-DQO0InyO.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { r as t } from "./component-AiChat-
|
|
3
|
-
import "./component-Forecast72h-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-DWhSDKFM.mjs";
|
|
2
|
+
import { r as t } from "./component-AiChat-B2YoRfzz.mjs";
|
|
3
|
+
import "./component-Forecast72h-6g0PcT0B.mjs";
|
|
4
4
|
import { ElIcon as n } from "element-plus/es";
|
|
5
5
|
import { Fragment as r, Teleport as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, onMounted as p, openBlock as m, ref as h, toDisplayString as g, unref as _, withCtx as v, withModifiers as y } from "vue";
|
|
6
6
|
import { ArrowLeft as ee, ArrowRight as te } from "@element-plus/icons-vue";
|