nxd-plugin 1.7.83 → 1.7.85

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.
Files changed (87) hide show
  1. package/dist/chunks/{component-AiChat-C1xBPkS5.mjs → component-AiChat-BXNBLM1G.mjs} +92 -93
  2. package/dist/chunks/{component-AqiMonitor-DoAVs1Jf.mjs → component-AqiMonitor-C_V1Nuf_.mjs} +1 -1
  3. package/dist/chunks/{component-ChartCumulativePre-BOIMPYxl.mjs → component-ChartCumulativePre-Bo28Bgaa.mjs} +2 -2
  4. package/dist/chunks/{component-ChartServiceMaterial-CmR3bmG_.mjs → component-ChartServiceMaterial-DELVCsKj.mjs} +2 -2
  5. package/dist/chunks/{component-Duty-gmt7ZcSc.mjs → component-Duty-dyZZ4vHt.mjs} +2 -2
  6. package/dist/chunks/{component-EarlyWarningStatistic-BWYWrz65.mjs → component-EarlyWarningStatistic-CBJfrRsV.mjs} +2 -2
  7. package/dist/chunks/component-Forecast72h-TFBSlUgI.mjs +543 -0
  8. package/dist/chunks/{component-GeologyLiveAlarm-CNpQPmGs.mjs → component-GeologyLiveAlarm-B9jBWXf0.mjs} +2 -2
  9. package/dist/chunks/component-HdForecastProducts-D4x_Y0OB.mjs +211 -0
  10. package/dist/chunks/{component-HdHeatService-ok6q8UuG.mjs → component-HdHeatService-Bf9XH3DP.mjs} +2 -2
  11. package/dist/chunks/{component-HdObservation-BmQdGJV6.mjs → component-HdObservation-rcQFHEfW.mjs} +51 -45
  12. package/dist/chunks/{component-HdPreSituation-LBpO58bE.mjs → component-HdPreSituation-CnRwuRGg.mjs} +168 -133
  13. package/dist/chunks/{component-HdRadarTime-D7hOn_ph.mjs → component-HdRadarTime-Gcn9dJky.mjs} +179 -148
  14. package/dist/chunks/{component-HdSeaCase-DYPQ7CdN.mjs → component-HdSeaCase-3-YFxSuM.mjs} +2 -2
  15. package/dist/chunks/component-HdServiceMarterial-ehquoNg2.mjs +317 -0
  16. package/dist/chunks/{component-HdServiceRequirements-DcXrcIIV.mjs → component-HdServiceRequirements-Bd4HJrpn.mjs} +38 -39
  17. package/dist/chunks/{component-HdStationTem-US6IRwbQ.mjs → component-HdStationTem-CbJkt6Ww.mjs} +100 -100
  18. package/dist/chunks/component-HdSuggestion-_JNJhwSK.mjs +161 -0
  19. package/dist/chunks/component-HdThreeWeatherTrend-HlRMLWm8.mjs +372 -0
  20. package/dist/chunks/component-HdWaveForcast-jNK-H1b1.mjs +269 -0
  21. package/dist/chunks/{component-HighQuality-B0OgPi3T.mjs → component-HighQuality-1iqLOQAF.mjs} +2 -2
  22. package/dist/chunks/{component-HighWayEarlyWarningRed-BTl2WWZ-.mjs → component-HighWayEarlyWarningRed-DlgG9rTx.mjs} +3 -3
  23. package/dist/chunks/{component-HighWayFreeze-B1aMHQWU.mjs → component-HighWayFreeze-CCp1Rxpz.mjs} +2 -2
  24. package/dist/chunks/{component-HighwayLiveAlarm-8u45ZdnN.mjs → component-HighwayLiveAlarm-D7PKi5rG.mjs} +2 -2
  25. package/dist/chunks/{component-HighwayLiveAlarmNew-DK827eVk.mjs → component-HighwayLiveAlarmNew-rH59lsj8.mjs} +3 -3
  26. package/dist/chunks/{component-HighwayStations-BzrbWP50.mjs → component-HighwayStations-DGt6Gsr9.mjs} +2 -2
  27. package/dist/chunks/component-HighwayWeatherForecast-CDLKFRNB.mjs +32194 -0
  28. package/dist/chunks/{component-IframeWeb-DuBssYPk.mjs → component-IframeWeb-vLIWvbJY.mjs} +1 -1
  29. package/dist/chunks/{component-ImageGeneration-3G3j7utC.mjs → component-ImageGeneration-BtM7MHcE.mjs} +1 -1
  30. package/dist/chunks/{component-IntroducePic-L8VH8Yq8.mjs → component-IntroducePic-D3FSEuKX.mjs} +1 -1
  31. package/dist/chunks/{component-LithiumBatteryMiningArea-DSFTVepN.mjs → component-LithiumBatteryMiningArea-B5aUe7T0.mjs} +2 -2
  32. package/dist/chunks/{component-MapPopup-BNc18syw.mjs → component-MapPopup-UmWWAPBE.mjs} +1 -1
  33. package/dist/chunks/{component-MaterialPreview-DhLUbjcT.mjs → component-MaterialPreview-1Hyl4bjM.mjs} +2 -2
  34. package/dist/chunks/{component-PieLegend-Haojhtet.mjs → component-PieLegend-C0Acehix.mjs} +1 -1
  35. package/dist/chunks/component-PrecipitationRanking-BOm_vb1L.mjs +740 -0
  36. package/dist/chunks/{component-RadarChart-BYMbkI3K.mjs → component-RadarChart-BXfMyPPi.mjs} +2 -2
  37. package/dist/chunks/{component-RadarLegend-CiGsla7a.mjs → component-RadarLegend-B2ajP_0M.mjs} +1 -1
  38. package/dist/chunks/{component-RadarShortTerm-yPc2UWpz.mjs → component-RadarShortTerm-BeGEjbHr.mjs} +4 -4
  39. package/dist/chunks/{component-RadarTime-CkqIaTJh.mjs → component-RadarTime-DGRztCiR.mjs} +2 -2
  40. package/dist/chunks/{component-RenderMarkdown-D590sXEf.mjs → component-RenderMarkdown-Dv-UVGrS.mjs} +2 -2
  41. package/dist/chunks/{component-ReservoirLiveAlarm-DTtKdDQS.mjs → component-ReservoirLiveAlarm-CRgl_ztt.mjs} +3 -3
  42. package/dist/chunks/{component-ServiceMaterial-BKbVQbKm.mjs → component-ServiceMaterial-BTWYke8W.mjs} +2 -2
  43. package/dist/chunks/{component-ServiceMaterialsBtn-CskK-Qiz.mjs → component-ServiceMaterialsBtn-C9m-epfv.mjs} +1 -1
  44. package/dist/chunks/{component-StationDialog-Bn7Fbk24.mjs → component-StationDialog-CnJuYTfB.mjs} +246 -177
  45. package/dist/chunks/{component-StationList-DRABlFdc.mjs → component-StationList-BcnqOIZY.mjs} +101 -85
  46. package/dist/chunks/{component-TimeBasedForecast-D1fJ4rGJ.mjs → component-TimeBasedForecast-C1yk1Iu-.mjs} +4 -4
  47. package/dist/chunks/{component-WarningLine-jN8sg45u.mjs → component-WarningLine-CcFfVzar.mjs} +2 -2
  48. package/dist/chunks/{component-WarningSignal-BkIKqyJB.mjs → component-WarningSignal-C0CnTLVH.mjs} +3 -3
  49. package/dist/chunks/{component-WeatherForecast-CYsbJhYt.mjs → component-WeatherForecast-BRml38Ik.mjs} +80 -76
  50. package/dist/chunks/{component-YCDataMonitor-vVlnkSzT.mjs → component-YCDataMonitor-DPMFqIFB.mjs} +108 -110
  51. package/dist/chunks/{component-YCDataService-okkY1-iU.mjs → component-YCDataService-B4PPV3Dp.mjs} +4 -4
  52. package/dist/chunks/{component-YCHome-BfpbxDIg.mjs → component-YCHome-C-_Hf_oA.mjs} +4 -4
  53. package/dist/chunks/{component-YCHomeLegend-CuT-BwNJ.mjs → component-YCHomeLegend-B-nlePS2.mjs} +1 -1
  54. package/dist/chunks/{component-YCLoginNew-KZoyW1EV.mjs → component-YCLoginNew-Bx2LoLJz.mjs} +3 -3
  55. package/dist/components/HdForecastProducts/HdForecastProducts.vue.d.ts +49 -0
  56. package/dist/components/HdPreSituation/HdPreSituation.vue.d.ts +0 -1
  57. package/dist/components/HdRadarTime/HdRadarTime.vue.d.ts +4 -2
  58. package/dist/components/HdServiceMarterial/HdServiceMarterial.vue.d.ts +54 -0
  59. package/dist/components/HdSuggestion/HdSuggestion.vue.d.ts +49 -0
  60. package/dist/components/HdThreeWeatherTrend/HdThreeWeatherTrend.vue.d.ts +71 -0
  61. package/dist/components/HdWaveForcast/HdWaveForcast.vue.d.ts +70 -0
  62. package/dist/components/PrecipitationRanking/PrecipitationRanking.vue.d.ts +5 -0
  63. package/dist/components/WeatherForecast/WeatherForecast.vue.d.ts +9 -0
  64. package/dist/index.d.ts +6 -1
  65. package/dist/nxd-plugin.mjs +56 -51
  66. package/dist/styles/component-Forecast72h.css +1 -1
  67. package/dist/styles/component-HdForecastProducts.css +1 -0
  68. package/dist/styles/component-HdObservation.css +1 -1
  69. package/dist/styles/component-HdPreSituation.css +1 -1
  70. package/dist/styles/component-HdRadarTime.css +1 -1
  71. package/dist/styles/component-HdServiceMarterial.css +1 -0
  72. package/dist/styles/component-HdServiceRequirements.css +1 -1
  73. package/dist/styles/component-HdStationTem.css +1 -1
  74. package/dist/styles/component-HdSuggestion.css +1 -0
  75. package/dist/styles/component-HdThreeWeatherTrend.css +1 -0
  76. package/dist/styles/component-HdWaveForcast.css +1 -0
  77. package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
  78. package/dist/styles/component-PrecipitationRanking.css +1 -1
  79. package/dist/styles/component-StationDialog.css +1 -1
  80. package/dist/styles/component-StationList.css +1 -1
  81. package/dist/styles/component-WeatherForecast.css +1 -1
  82. package/dist/styles/component-YCDataMonitor.css +1 -1
  83. package/dist/styles/component-YCLoginNew.css +1 -1
  84. package/package.json +1 -1
  85. package/dist/chunks/component-Forecast72h-BZ1kB2TJ.mjs +0 -427
  86. package/dist/chunks/component-HighwayWeatherForecast-DER5XGc3.mjs +0 -32251
  87. package/dist/chunks/component-PrecipitationRanking-BanKrD3J.mjs +0 -608
@@ -1,31 +1,44 @@
1
1
  import { r as e } from "./rolldown-runtime-Cz5NsrRf.mjs";
2
- import { n as t } from "./component-AqiMonitor-DoAVs1Jf.mjs";
3
- import { i as n } from "./component-AiChat-C1xBPkS5.mjs";
4
- import { n as r } from "./component-HdObservation-BmQdGJV6.mjs";
5
- import { ElIcon as i } from "element-plus/es";
6
- import { Fragment as a, Teleport as ee, createBlock as te, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as ne, nextTick as f, normalizeClass as p, normalizeStyle as re, onBeforeUnmount as ie, onMounted as ae, openBlock as m, ref as h, renderList as g, toDisplayString as _, unref as v, vShow as oe, watch as y, withCtx as b, withDirectives as se } from "vue";
7
- import { Close as ce, Download as le, Histogram as ue } from "@element-plus/icons-vue";
8
- import * as x from "echarts";
2
+ import { n as t } from "./component-AqiMonitor-C_V1Nuf_.mjs";
3
+ import { i as n } from "./component-AiChat-BXNBLM1G.mjs";
4
+ import { n as r } from "./component-HdObservation-rcQFHEfW.mjs";
5
+ import { ElIcon as i, ElLoadingDirective as a, ElTable as ee, ElTableColumn as te } from "element-plus/es";
6
+ import { Fragment as o, Teleport as ne, createBlock as re, createCommentVNode as ie, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, nextTick as p, normalizeClass as m, normalizeStyle as ae, onBeforeUnmount as h, onMounted as oe, openBlock as g, ref as _, renderList as v, toDisplayString as y, unref as b, vShow as se, watch as x, withCtx as S, withDirectives as ce } from "vue";
7
+ import { Close as le, Download as ue, Histogram as de } from "@element-plus/icons-vue";
8
+ import * as C from "echarts";
9
+ import "element-plus/es/components/table/style/css";
10
+ import "element-plus/es/components/table-column/style/css";
9
11
  //#region src/components/StationDialog/StationDialog.vue?vue&type=script&setup=true&lang.ts
10
- var de = /* @__PURE__ */ e(r()), fe = { class: "StationDialog-mask StationDialog" }, pe = { class: "StationPop-title" }, me = { class: "StationPop-subtitle" }, he = {
12
+ var fe = /* @__PURE__ */ e(r()), pe = {
13
+ class: "StationDialog-mask StationDialog",
14
+ "element-loading-text": "加载中...",
15
+ "element-loading-background": "rgba(0, 0, 0, 0.7)"
16
+ }, me = { class: "StationPop-title" }, he = { class: "StationPop-subtitle" }, ge = {
11
17
  key: 0,
12
18
  class: "StationPop-dataTime"
13
- }, ge = {
19
+ }, _e = {
14
20
  key: 1,
15
21
  class: "StationPop-dataTime"
16
- }, _e = { class: "StationPop-info" }, ve = {
17
- class: "StationPop-infoItem",
18
- style: { "grid-column": "span 2" }
19
- }, ye = { class: "StationPop-infoValue" }, be = { class: "StationPop-infoItem" }, xe = { class: "StationPop-infoValue" }, Se = { class: "StationPop-infoItem" }, Ce = { class: "StationPop-infoValue" }, we = {
20
- class: "StationPop-infoItem",
21
- style: { "grid-column": "span 2" }
22
- }, S = { class: "StationPop-infoValue" }, C = {
23
- class: "StationPop-infoItem",
24
- style: { "grid-column": "span 2" }
25
- }, w = { class: "StationPop-infoValue" }, T = { class: "StationPop-sections" }, E = { class: "StationPop-section" }, D = { class: "StationPop-realtime" }, O = { class: "StationPop-realtimeItem" }, k = { class: "StationPop-realtimeValue" }, Te = { class: "StationPop-realtimeItem" }, Ee = { class: "StationPop-realtimeValue" }, De = { class: "StationPop-realtimeItem" }, Oe = { class: "StationPop-realtimeValue" }, ke = { class: "StationPop-realtimeItem" }, Ae = { class: "StationPop-realtimeValue" }, je = { class: "StationPop-realtimeItem" }, Me = { class: "StationPop-realtimeValue" }, Ne = { class: "StationPop-realtimeItem" }, Pe = { class: "StationPop-realtimeValue" }, Fe = { class: "StationPop-realtimeItem" }, Ie = { class: "StationPop-realtimeValue" }, Le = { class: "StationPop-realtimeItem" }, Re = { class: "StationPop-realtimeValue" }, ze = { class: "StationPop-realtimeItem" }, Be = { class: "StationPop-realtimeValue" }, Ve = { class: "StationPop-section" }, He = { class: "StationPop-statistics" }, Ue = { class: "StationPop-statisticsItem" }, We = { class: "StationPop-statisticsValue" }, Ge = { class: "StationPop-statisticsItem" }, Ke = { class: "StationPop-statisticsValue" }, qe = { class: "StationPop-statisticsItem" }, Je = { class: "StationPop-statisticsValue" }, Ye = { class: "StationPop-statisticsItem" }, Xe = { class: "StationPop-statisticsValue" }, Ze = { class: "StationPop-statisticsItem" }, Qe = { class: "StationPop-statisticsValue" }, $e = { class: "StationPop-statisticsItem" }, et = { class: "StationPop-statisticsValue" }, tt = { class: "StationPop-tabs" }, nt = ["onClick"], rt = {
22
+ }, ve = { class: "StationPop-info" }, ye = { style: {
23
+ display: "grid",
24
+ "grid-template-columns": "repeat(3, 1fr)"
25
+ } }, be = { class: "StationPop-infoItem" }, xe = { class: "StationPop-infoValue" }, Se = { class: "StationPop-infoItem" }, Ce = { class: "StationPop-infoValue" }, we = { class: "StationPop-infoItem" }, Te = { class: "StationPop-infoValue" }, w = { style: {
26
+ display: "grid",
27
+ "grid-template-columns": "repeat(4, 1fr)"
28
+ } }, T = { class: "StationPop-infoItem StationPop-infoItem--wide" }, E = { class: "StationPop-infoValue" }, D = { class: "StationPop-infoItem StationPop-infoItem--wide" }, O = { class: "StationPop-infoValue" }, Ee = { class: "StationPop-main" }, De = { class: "StationPop-section StationPop-section--realtime" }, Oe = { class: "StationPop-realtime" }, ke = { class: "StationPop-realtimeItem" }, Ae = { class: "StationPop-realtimeValue" }, je = { class: "StationPop-realtimeItem" }, Me = { class: "StationPop-realtimeValue" }, Ne = { class: "StationPop-realtimeItem" }, Pe = { class: "StationPop-realtimeValue" }, Fe = { class: "StationPop-realtimeItem" }, Ie = { class: "StationPop-realtimeValue" }, Le = { class: "StationPop-realtimeItem" }, Re = { class: "StationPop-realtimeValue" }, ze = { class: "StationPop-realtimeItem" }, Be = { class: "StationPop-realtimeValue" }, Ve = { class: "StationPop-realtimeItem" }, He = { class: "StationPop-realtimeValue" }, Ue = { class: "StationPop-realtimeItem" }, We = { class: "StationPop-realtimeValue" }, Ge = { class: "StationPop-realtimeItem" }, Ke = { class: "StationPop-realtimeValue" }, qe = { class: "StationPop-section StationPop-section--statistics" }, Je = { class: "StationPop-statistics" }, Ye = { class: "StationPop-statisticsItem" }, Xe = { class: "StationPop-statisticsValue" }, Ze = { class: "StationPop-statisticsItem" }, Qe = { class: "StationPop-statisticsValue" }, $e = { class: "StationPop-statisticsItem" }, et = { class: "StationPop-statisticsValue" }, tt = { class: "StationPop-statisticsItem" }, nt = { class: "StationPop-statisticsValue" }, rt = { class: "StationPop-statisticsItem" }, it = { class: "StationPop-statisticsValue" }, at = { class: "StationPop-statisticsItem" }, ot = { class: "StationPop-statisticsValue" }, st = { class: "StationPop-section StationPop-section--chart" }, ct = { class: "StationPop-tabs" }, lt = ["onClick"], ut = {
26
29
  key: 0,
27
30
  class: "StationPop-historyMask"
28
- }, it = { class: "StationPop-historyPopup" }, at = { class: "StationPop-historyHeader" }, ot = { class: "StationPop-historyTitle" }, st = { class: "StationPop-historySubTitle" }, ct = { class: "StationPop-historyTabs" }, lt = ["onClick"], ut = { class: "StationPop-historyActions" }, dt = { class: "StationPop-historyTableWrap" }, ft = { class: "StationPop-historyTable" }, pt = { class: "StationPop-historyTd--center" }, mt = { class: "StationPop-historyTd--left" }, ht = { class: "StationPop-historyTd--right" }, gt = { class: "StationPop-historyTd--right" }, _t = { class: "StationPop-historyTd--right" }, vt = { class: "StationPop-historyTd--left" }, yt = { class: "StationPop-historyTd--right" }, bt = { key: 0 }, A = /* @__PURE__ */ t(/* @__PURE__ */ d({
31
+ }, dt = { class: "StationPop-historyPopup" }, ft = { class: "StationPop-historyHeader" }, pt = { class: "StationPop-historyTitle" }, mt = { class: "StationPop-historySubTitle" }, ht = {
32
+ class: "StationPop-historyTabs",
33
+ style: { position: "relative" }
34
+ }, gt = ["onClick"], _t = {
35
+ class: "StationPop-historyActions",
36
+ style: {
37
+ position: "absolute",
38
+ top: "0",
39
+ right: "0"
40
+ }
41
+ }, vt = { class: "StationPop-historyTableWrap" }, k = /* @__PURE__ */ t(/* @__PURE__ */ d({
29
42
  __name: "StationDialog",
30
43
  props: {
31
44
  componentStyle: { default: () => ({}) },
@@ -442,14 +455,14 @@ var de = /* @__PURE__ */ e(r()), fe = { class: "StationDialog-mask StationDialog
442
455
  }) }
443
456
  },
444
457
  setup(e) {
445
- let t = ne()?.appContext.config.globalProperties.$bus, r = e, d = h({
458
+ let t = f()?.appContext.config.globalProperties.$bus, r = _(!1), d = e, k = _({
446
459
  stationName: "",
447
460
  stationCode: "",
448
461
  address: "",
449
462
  stationStatus: "",
450
463
  monitorElement: "",
451
464
  serviceType: ""
452
- }), A = h(!1), j = h(""), M = h({}), N = h({}), P = h(null), F = null, I = h("temperature"), L = [
465
+ }), A = _(!1), j = _(""), M = _({}), N = _({}), P = _(null), F = null, I = _("temperature"), L = [
453
466
  {
454
467
  label: "温度",
455
468
  value: "temperature"
@@ -470,42 +483,42 @@ var de = /* @__PURE__ */ e(r()), fe = { class: "StationDialog-mask StationDialog
470
483
  label: "气压",
471
484
  value: "pressure"
472
485
  }
473
- ], R = h({}), z = h(!1), B = h("day"), V = h([]), xt = [{
486
+ ], R = _({}), z = _(!1), B = _("day"), V = _([]), yt = [{
474
487
  label: "日统计",
475
488
  value: "day"
476
489
  }, {
477
490
  label: "月统计",
478
491
  value: "month"
479
- }], St = () => {
492
+ }], bt = () => {
480
493
  A.value = !1, z.value = !1;
481
- }, H = (e) => e == null || e === "" || e === 9999, U = (e, t) => H(e) ? "--" : t ? `${e}${t}` : String(e), Ct = (e) => `${H(e.windSpeed) ? "--" : `${e.windSpeed}m/s`} ${e.windDirectionText || "--"}`, W = (e) => {
482
- let t = r.ids[e] || r.ids.data;
494
+ }, H = (e) => e == null || e === "" || e === 9999, U = (e, t) => H(e) ? "--" : t ? `${e}${t}` : String(e), xt = (e) => `${H(e.windSpeed) ? "--" : `${e.windSpeed}m/s`} ${e.windDirectionText || "--"}`, W = (e) => {
495
+ let t = d.ids[e] || d.ids.data;
483
496
  return t?.id ? t : null;
484
497
  }, G = async (e, t = {}) => {
485
- let i = W(e);
486
- if (!i) throw Error(`缺少 ${e} 对应的工作流配置`);
498
+ let r = W(e);
499
+ if (!r) throw Error(`缺少 ${e} 对应的工作流配置`);
487
500
  return await n({
488
- id: i.id,
489
- baseHttp: r.baseHttp,
490
- reqType: i.reqType,
501
+ id: r.id,
502
+ baseHttp: d.baseHttp,
503
+ reqType: r.reqType,
491
504
  variables: {
492
- stationCode: r.stationCode,
505
+ stationCode: d.stationCode,
493
506
  ...t
494
507
  },
495
- isFormData: i.isFormData,
496
- appKey: r.appKey,
497
- appSalt: r.appSalt
508
+ isFormData: r.isFormData,
509
+ appKey: d.appKey,
510
+ appSalt: d.appSalt
498
511
  });
499
512
  }, K = (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, q = async () => {
500
- r.mock ? wt() : await Tt();
501
- }, wt = () => {
502
- let e = r.mockData;
503
- e.baseInfo && (d.value = { ...e.baseInfo }), e.realTimeInfo && (M.value = { ...e.realTimeInfo }), e.statisticsInfo && (N.value = { ...e.statisticsInfo }), e.chartData && (R.value = { ...e.chartData }), j.value = e.dataTime || "", f(Y);
504
- }, Tt = async () => {
513
+ d.mock ? St() : await Ct();
514
+ }, St = () => {
515
+ let e = d.mockData;
516
+ e.baseInfo && (k.value = { ...e.baseInfo }), e.realTimeInfo && (M.value = { ...e.realTimeInfo }), e.statisticsInfo && (N.value = { ...e.statisticsInfo }), e.chartData && (R.value = { ...e.chartData }), j.value = e.dataTime || "", p(X);
517
+ }, Ct = async () => {
505
518
  try {
506
519
  let e = K(await G("baseInfo"));
507
- e && (d.value = {
508
- ...d.value,
520
+ e && (k.value = {
521
+ ...k.value,
509
522
  ...e
510
523
  });
511
524
  } catch (e) {
@@ -527,7 +540,7 @@ var de = /* @__PURE__ */ e(r()), fe = { class: "StationDialog-mask StationDialog
527
540
  if (W("chart")) {
528
541
  let e = K(await G("chart"));
529
542
  e && typeof e == "object" && (R.value = J(e));
530
- } else if (r.ids.data?.id) {
543
+ } else if (d.ids.data?.id) {
531
544
  let e = {};
532
545
  for (let t of L) try {
533
546
  let n = K(await G("data", { type: t.value }));
@@ -543,7 +556,7 @@ var de = /* @__PURE__ */ e(r()), fe = { class: "StationDialog-mask StationDialog
543
556
  } catch (e) {
544
557
  console.warn("图表数据接口失败", e);
545
558
  }
546
- f(Y);
559
+ p(X);
547
560
  }, J = (e) => {
548
561
  let t = {};
549
562
  return [
@@ -567,11 +580,11 @@ var de = /* @__PURE__ */ e(r()), fe = { class: "StationDialog-mask StationDialog
567
580
  })) : []
568
581
  });
569
582
  }), t;
570
- }, Et = (e) => {
571
- I.value = e, f(Y);
572
- }, Y = () => {
583
+ }, Y = (e) => {
584
+ I.value = e, p(X);
585
+ }, X = () => {
573
586
  if (!P.value) return;
574
- F ||= x.init(P.value);
587
+ F ||= C.init(P.value);
575
588
  let e = R.value[I.value];
576
589
  if (!e || !e.times.length) {
577
590
  F.clear();
@@ -588,37 +601,44 @@ var de = /* @__PURE__ */ e(r()), fe = { class: "StationDialog-mask StationDialog
588
601
  itemStyle: { color: r.color || "#00D9FF" },
589
602
  lineStyle: { width: 2 }
590
603
  };
591
- return r.type === "bar" && (i.barWidth = 12, i.itemStyle.borderRadius = [
604
+ if (r.type === "bar" && (i.barWidth = 12, i.itemStyle.borderRadius = [
592
605
  4,
593
606
  4,
594
607
  0,
595
608
  0
596
- ], delete i.smooth, delete i.symbol, delete i.symbolSize), !n && !t && (i.areaStyle = { color: new x.graphic.LinearGradient(0, 0, 0, 1, [{
609
+ ], delete i.smooth, delete i.symbol, delete i.symbolSize), !n && !t && (i.areaStyle = { color: new C.graphic.LinearGradient(0, 0, 0, 1, [{
597
610
  offset: 0,
598
- color: X(r.color || "#00D9FF", .3)
611
+ color: Z(r.color || "#00D9FF", .3)
599
612
  }, {
600
613
  offset: 1,
601
- color: X(r.color || "#00D9FF", .01)
602
- }]) }), t && r.directions && r.directions.length === e.times.length && (i.symbolRotate = (e, t) => (r.directions?.[t.dataIndex] ?? 0) + 180), r.threshold && r.threshold.length === e.times.length && (i.markLine = {
603
- silent: !0,
604
- symbol: "none",
605
- lineStyle: {
606
- color: "#FF4D4F",
607
- type: "dashed",
608
- width: 1
609
- },
610
- label: {
611
- show: !0,
612
- position: "end",
613
- formatter: `${e.unit ? `阈值 ${r.threshold[0]}${e.unit}` : `阈值 ${r.threshold[0]}`}`,
614
- color: "#FF4D4F",
615
- fontSize: 11
616
- },
617
- data: r.threshold.map((t, n) => ({
618
- xAxis: e.times[n],
619
- yAxis: t
620
- }))
621
- }), i;
614
+ color: Z(r.color || "#00D9FF", .01)
615
+ }]) }), t && r.directions && r.directions.length === e.times.length && (i.symbolRotate = (e, t) => (r.directions?.[t.dataIndex] ?? 0) + 180), r.threshold && r.threshold.length === e.times.length) {
616
+ let t = r.threshold[0];
617
+ i.markLine = {
618
+ silent: !0,
619
+ symbol: "none",
620
+ lineStyle: {
621
+ color: "#FF4D4F",
622
+ type: "dashed",
623
+ width: 1
624
+ },
625
+ label: {
626
+ show: !0,
627
+ position: "insideEndTop",
628
+ formatter: `${e.unit ? `${t}${e.unit}` : `${t}`}`,
629
+ color: "#FF4D4F",
630
+ fontSize: 11,
631
+ distance: 8,
632
+ padding: [2, 4],
633
+ borderRadius: 2
634
+ },
635
+ data: r.threshold.map((t, n) => ({
636
+ xAxis: e.times[n],
637
+ yAxis: t
638
+ }))
639
+ };
640
+ }
641
+ return i;
622
642
  });
623
643
  e.series.some((e) => e.name === "阈值") || r.push({
624
644
  name: "阈值",
@@ -679,7 +699,8 @@ var de = /* @__PURE__ */ e(r()), fe = { class: "StationDialog-mask StationDialog
679
699
  axisLine: { lineStyle: { color: "rgba(255,255,255,0.3)" } },
680
700
  axisLabel: {
681
701
  color: "rgba(255,255,255,0.7)",
682
- fontSize: 11
702
+ fontSize: 11,
703
+ interval: 0
683
704
  },
684
705
  axisTick: { show: !1 },
685
706
  splitLine: { show: !1 }
@@ -708,17 +729,17 @@ var de = /* @__PURE__ */ e(r()), fe = { class: "StationDialog-mask StationDialog
708
729
  series: r
709
730
  };
710
731
  F.setOption(a, !0), F.resize();
711
- }, X = (e, t) => `rgba(${parseInt(e.slice(1, 3), 16)}, ${parseInt(e.slice(3, 5), 16)}, ${parseInt(e.slice(5, 7), 16)}, ${t})`, Z = () => {
732
+ }, Z = (e, t) => `rgba(${parseInt(e.slice(1, 3), 16)}, ${parseInt(e.slice(3, 5), 16)}, ${parseInt(e.slice(5, 7), 16)}, ${t})`, Q = () => {
712
733
  F?.resize();
713
- }, Q = () => {
734
+ }, wt = () => {
714
735
  z.value = !0, $();
715
- }, Dt = () => {
736
+ }, Tt = () => {
716
737
  z.value = !1;
717
- }, Ot = (e) => {
738
+ }, Et = (e) => {
718
739
  B.value = e, $();
719
740
  }, $ = async () => {
720
- if (r.mock) {
721
- V.value = r.mockData.historyData?.[B.value] || [];
741
+ if (d.mock) {
742
+ V.value = d.mockData.historyData?.[B.value] || [];
722
743
  return;
723
744
  }
724
745
  if (!W("history")) {
@@ -731,7 +752,7 @@ var de = /* @__PURE__ */ e(r()), fe = { class: "StationDialog-mask StationDialog
731
752
  } catch (e) {
732
753
  console.error("历史数据加载失败", e), V.value = [];
733
754
  }
734
- }, kt = () => {
755
+ }, Dt = () => {
735
756
  let e = V.value.map((e, t) => ({
736
757
  序号: t + 1,
737
758
  日期: e.date || "",
@@ -742,8 +763,8 @@ var de = /* @__PURE__ */ e(r()), fe = { class: "StationDialog-mask StationDialog
742
763
  风向: e.windDirectionText || "--",
743
764
  气压: U(e.pressure, "hPa")
744
765
  })), t = B.value === "day" ? "日统计" : "月统计";
745
- new de.default({
746
- fileName: `${d.value.stationName || r.stationName}_历史数据_${t}_${(/* @__PURE__ */ new Date()).getTime()}`,
766
+ new fe.default({
767
+ fileName: `${k.value.stationName || d.stationName}_历史数据_${t}_${(/* @__PURE__ */ new Date()).getTime()}`,
747
768
  datas: [{
748
769
  sheetData: e,
749
770
  sheetName: t,
@@ -780,118 +801,166 @@ var de = /* @__PURE__ */ e(r()), fe = { class: "StationDialog-mask StationDialog
780
801
  }]
781
802
  }).saveExcel();
782
803
  };
783
- y(() => r.stationCode, () => {
804
+ x(() => d.stationCode, () => {
784
805
  q();
785
- }, { immediate: !0 }), y(A, (e) => {
786
- e && f(() => {
787
- !F && P.value ? Y() : F?.resize();
806
+ }, { immediate: !0 }), x(A, (e) => {
807
+ e && p(() => {
808
+ !F && P.value ? X() : F?.resize();
788
809
  });
789
810
  });
790
- function At() {
791
- A.value = !0, q();
811
+ function Ot() {
812
+ A.value = !0, r.value = !0, q().finally(() => {
813
+ r.value = !1;
814
+ });
792
815
  }
793
- return ae(() => {
794
- window.addEventListener("resize", Z), t?.on("toComponent", (e) => {
795
- e.componentName === "StationDialog" && At();
816
+ return oe(() => {
817
+ window.addEventListener("resize", Q), t?.on("toComponent", (e) => {
818
+ e.componentName === "StationDialog" && Ot();
796
819
  });
797
- }), ie(() => {
798
- window.removeEventListener("resize", Z), F &&= (F.dispose(), null);
820
+ }), h(() => {
821
+ window.removeEventListener("resize", Q), F &&= (F.dispose(), null);
799
822
  }), (t, n) => {
800
- let r = i;
801
- return m(), te(ee, { to: "body" }, [se(c("div", fe, [c("div", {
823
+ let d = i, f = te, p = ee, h = a;
824
+ return g(), re(ne, { to: "body" }, [ce((g(), s("div", pe, [c("div", {
802
825
  class: "StationPop",
803
- style: re(e.componentStyle)
826
+ style: ae(e.componentStyle)
804
827
  }, [
805
828
  c("div", {
806
829
  class: "StationPop-close",
807
- onClick: St
808
- }, [u(r, { class: "StationPop-close-icon" }, {
809
- default: b(() => [u(v(ce))]),
830
+ onClick: bt
831
+ }, [u(d, { class: "StationPop-close-icon" }, {
832
+ default: S(() => [u(b(le))]),
810
833
  _: 1
811
834
  })]),
812
- c("div", pe, _(d.value.stationName || e.stationName), 1),
813
- c("div", me, [j.value ? (m(), s("span", he, "数据时间:" + _(j.value), 1)) : (m(), s("span", ge, "数据时间:--")), c("button", {
814
- class: "StationPop-historyBtn",
815
- onClick: Q
816
- }, [u(r, null, {
817
- default: b(() => [u(v(ue))]),
818
- _: 1
819
- }), n[0] ||= l(" 历史数据 ", -1)])]),
820
- c("div", _e, [
821
- c("div", ve, [n[1] ||= c("span", { class: "StationPop-infoLabel" }, "站  号:", -1), c("span", ye, _(d.value.stationCode || "--"), 1)]),
822
- c("div", be, [n[2] ||= c("span", { class: "StationPop-infoLabel" }, "位  置:", -1), c("span", xe, _(d.value.address || "--"), 1)]),
823
- c("div", Se, [n[3] ||= c("span", { class: "StationPop-infoLabel" }, "运行状况:", -1), c("span", Ce, _(d.value.stationStatus || "--"), 1)]),
824
- c("div", we, [n[4] ||= c("span", { class: "StationPop-infoLabel" }, "监测要素:", -1), c("span", S, _(d.value.monitorElement || "--"), 1)]),
825
- c("div", C, [n[5] ||= c("span", { class: "StationPop-infoLabel" }, "服务类别:", -1), c("span", w, _(d.value.serviceType || "--"), 1)])
826
- ]),
827
- c("div", T, [c("div", E, [n[15] ||= c("div", { class: "StationPop-sectionTitle" }, [c("span", { class: "StationPop-sectionBar" }), l(" 实时监测(时) ")], -1), c("div", D, [
828
- c("div", O, [n[6] ||= c("span", { class: "StationPop-realtimeLabel" }, "温度:", -1), c("span", k, _(U(M.value.temperature, "")), 1)]),
829
- c("div", Te, [n[7] ||= c("span", { class: "StationPop-realtimeLabel" }, "湿度:", -1), c("span", Ee, _(U(M.value.humidity, "%")), 1)]),
830
- c("div", De, [n[8] ||= c("span", { class: "StationPop-realtimeLabel" }, "风速风向:", -1), c("span", Oe, _(U(M.value.windSpeed, "m/s")), 1)]),
831
- c("div", ke, [n[9] ||= c("span", { class: "StationPop-realtimeLabel" }, "1小时累积降水:", -1), c("span", Ae, _(U(M.value.hourPrecipitation, "mm")), 1)]),
832
- c("div", je, [n[10] ||= c("span", { class: "StationPop-realtimeLabel" }, "气压:", -1), c("span", Me, _(U(M.value.pressure, "hPa")), 1)]),
833
- c("div", Ne, [n[11] ||= c("span", { class: "StationPop-realtimeLabel" }, "能见度:", -1), c("span", Pe, _(U(M.value.visibility, "m")), 1)]),
834
- c("div", Fe, [n[12] ||= c("span", { class: "StationPop-realtimeLabel" }, "蒸发:", -1), c("span", Ie, _(U(M.value.evaporation, "mm")), 1)]),
835
- c("div", Le, [n[13] ||= c("span", { class: "StationPop-realtimeLabel" }, "光照强度:", -1), c("span", Re, _(U(M.value.lightIntensity, "lux")), 1)]),
836
- c("div", ze, [n[14] ||= c("span", { class: "StationPop-realtimeLabel" }, "光合有效辐射:", -1), c("span", Be, _(U(M.value.par, "μmol/m²/s")), 1)])
837
- ])]), c("div", Ve, [n[22] ||= c("div", { class: "StationPop-sectionTitle" }, [c("span", { class: "StationPop-sectionBar" }), l(" 统计信息 ")], -1), c("div", He, [
838
- c("div", Ue, [n[16] ||= c("span", { class: "StationPop-statisticsLabel" }, "日最低温度:", -1), c("span", We, _(U(N.value.dailyMinTemp, "℃")), 1)]),
839
- c("div", Ge, [n[17] ||= c("span", { class: "StationPop-statisticsLabel" }, "日最高温度:", -1), c("span", Ke, _(U(N.value.dailyMaxTemp, "")), 1)]),
840
- c("div", qe, [n[18] ||= c("span", { class: "StationPop-statisticsLabel" }, "日累计降水:", -1), c("span", Je, _(U(N.value.dailyPrecipitation, "mm")), 1)]),
841
- c("div", Ye, [n[19] ||= c("span", { class: "StationPop-statisticsLabel" }, "历史最低温:", -1), c("span", Xe, _(U(N.value.historyMinTemp, "")), 1)]),
842
- c("div", Ze, [n[20] ||= c("span", { class: "StationPop-statisticsLabel" }, "历史最高温:", -1), c("span", Qe, _(U(N.value.historyMaxTemp, "")), 1)]),
843
- c("div", $e, [n[21] ||= c("span", { class: "StationPop-statisticsLabel" }, "历史最大累积降水:", -1), c("span", et, _(U(N.value.historyMaxPrecipitation, "")), 1)])
844
- ])])]),
845
- c("div", tt, [(m(), s(a, null, g(L, (e) => c("div", {
846
- key: e.value,
847
- class: p(["StationPop-tab", { "StationPop-tab--active": I.value === e.value }]),
848
- onClick: (t) => Et(e.value)
849
- }, _(e.label), 11, nt)), 64))]),
850
- c("div", {
851
- ref_key: "chartRef",
852
- ref: P,
853
- class: "StationPop-chart"
854
- }, null, 512)
855
- ], 4), z.value ? (m(), s("div", rt, [c("div", it, [
856
- c("div", at, [c("div", ot, [n[23] ||= c("span", null, "历史数据", -1), c("span", st, _(d.value.stationName || e.stationName), 1)]), c("button", {
835
+ c("div", me, y(k.value.stationName || e.stationName), 1),
836
+ c("div", he, [j.value ? (g(), s("span", ge, "数据时间:" + y(j.value), 1)) : (g(), s("span", _e, "数据时间:--"))]),
837
+ c("div", ve, [c("div", ye, [
838
+ c("div", be, [n[0] ||= c("span", { class: "StationPop-infoLabel" }, "站  号:", -1), c("span", xe, y(k.value.stationCode || "--"), 1)]),
839
+ c("div", Se, [n[1] ||= c("span", { class: "StationPop-infoLabel" }, "位  置:", -1), c("span", Ce, y(k.value.address || "--"), 1)]),
840
+ c("div", we, [n[2] ||= c("span", { class: "StationPop-infoLabel" }, "运行状况:", -1), c("span", Te, y(k.value.stationStatus || "--"), 1)])
841
+ ]), c("div", w, [c("div", T, [n[3] ||= c("span", { class: "StationPop-infoLabel" }, "监测要素:", -1), c("span", E, y(k.value.monitorElement || "--"), 1)]), c("div", D, [n[4] ||= c("span", { class: "StationPop-infoLabel" }, "服务类别:", -1), c("span", O, y(k.value.serviceType || "--"), 1)])])]),
842
+ c("div", Ee, [
843
+ c("div", De, [n[14] ||= c("div", { class: "StationPop-sectionTitle" }, [c("span", { class: "StationPop-sectionBar" }), l(" 实时监测(时) ")], -1), c("div", Oe, [
844
+ c("div", ke, [n[5] ||= c("span", { class: "StationPop-realtimeLabel" }, "温度:", -1), c("span", Ae, y(U(M.value.temperature, "")), 1)]),
845
+ c("div", je, [n[6] ||= c("span", { class: "StationPop-realtimeLabel" }, "湿度:", -1), c("span", Me, y(U(M.value.humidity, "%")), 1)]),
846
+ c("div", Ne, [n[7] ||= c("span", { class: "StationPop-realtimeLabel" }, "风速风向:", -1), c("span", Pe, y(U(M.value.windSpeed, "m/s")), 1)]),
847
+ c("div", Fe, [n[8] ||= c("span", { class: "StationPop-realtimeLabel" }, "1小时累积降水:", -1), c("span", Ie, y(U(M.value.hourPrecipitation, "mm")), 1)]),
848
+ c("div", Le, [n[9] ||= c("span", { class: "StationPop-realtimeLabel" }, "气压:", -1), c("span", Re, y(U(M.value.pressure, "hPa")), 1)]),
849
+ c("div", ze, [n[10] ||= c("span", { class: "StationPop-realtimeLabel" }, "能见度:", -1), c("span", Be, y(U(M.value.visibility, "m")), 1)]),
850
+ c("div", Ve, [n[11] ||= c("span", { class: "StationPop-realtimeLabel" }, "蒸发:", -1), c("span", He, y(U(M.value.evaporation, "mm")), 1)]),
851
+ c("div", Ue, [n[12] ||= c("span", { class: "StationPop-realtimeLabel" }, "光照强度:", -1), c("span", We, y(U(M.value.lightIntensity, "lux")), 1)]),
852
+ c("div", Ge, [n[13] ||= c("span", { class: "StationPop-realtimeLabel" }, "光合有效辐射:", -1), c("span", Ke, y(U(M.value.par, "μmol/m²/s")), 1)])
853
+ ])]),
854
+ c("div", qe, [
855
+ n[22] ||= c("div", { class: "StationPop-sectionTitle" }, [c("span", { class: "StationPop-sectionBar" }), l(" 统计信息 ")], -1),
856
+ c("div", Je, [
857
+ c("div", Ye, [n[15] ||= c("span", { class: "StationPop-statisticsLabel" }, "日最低温度:", -1), c("span", Xe, y(U(N.value.dailyMinTemp, "")), 1)]),
858
+ c("div", Ze, [n[16] ||= c("span", { class: "StationPop-statisticsLabel" }, "日最高温度:", -1), c("span", Qe, y(U(N.value.dailyMaxTemp, "")), 1)]),
859
+ c("div", $e, [n[17] ||= c("span", { class: "StationPop-statisticsLabel" }, "日累计降水:", -1), c("span", et, y(U(N.value.dailyPrecipitation, "mm")), 1)]),
860
+ c("div", tt, [n[18] ||= c("span", { class: "StationPop-statisticsLabel" }, "历史最低温:", -1), c("span", nt, y(U(N.value.historyMinTemp, "")), 1)]),
861
+ c("div", rt, [n[19] ||= c("span", { class: "StationPop-statisticsLabel" }, "历史最高温:", -1), c("span", it, y(U(N.value.historyMaxTemp, "℃")), 1)]),
862
+ c("div", at, [n[20] ||= c("span", { class: "StationPop-statisticsLabel" }, "历史最大累积降水:", -1), c("span", ot, y(U(N.value.historyMaxPrecipitation, "mm")), 1)])
863
+ ]),
864
+ c("button", {
865
+ class: "StationPop-historyBtn",
866
+ onClick: wt
867
+ }, [u(d, null, {
868
+ default: S(() => [u(b(de))]),
869
+ _: 1
870
+ }), n[21] ||= l(" 历史数据 ", -1)])
871
+ ]),
872
+ c("div", st, [c("div", ct, [(g(), s(o, null, v(L, (e) => c("div", {
873
+ key: e.value,
874
+ class: m(["StationPop-tab", { "StationPop-tab--active": I.value === e.value }]),
875
+ onClick: (t) => Y(e.value)
876
+ }, y(e.label), 11, lt)), 64))]), c("div", {
877
+ ref_key: "chartRef",
878
+ ref: P,
879
+ class: "StationPop-chart"
880
+ }, null, 512)])
881
+ ])
882
+ ], 4), z.value ? (g(), s("div", ut, [c("div", dt, [
883
+ c("div", ft, [c("div", pt, [n[23] ||= c("span", null, "历史数据", -1), c("span", mt, y(k.value.stationName || e.stationName), 1)]), c("button", {
857
884
  class: "StationPop-historyClose",
858
- onClick: Dt
885
+ onClick: Tt
859
886
  }, "✕")]),
860
- c("div", ct, [(m(), s(a, null, g(xt, (e) => c("button", {
887
+ c("div", ht, [(g(), s(o, null, v(yt, (e) => c("button", {
861
888
  key: e.value,
862
- class: p(["StationPop-historyTab", { "StationPop-historyTab--active": B.value === e.value }]),
863
- onClick: (t) => Ot(e.value)
864
- }, _(e.label), 11, lt)), 64))]),
865
- c("div", ut, [c("button", {
889
+ class: m(["StationPop-historyTab", { "StationPop-historyTab--active": B.value === e.value }]),
890
+ onClick: (t) => Et(e.value)
891
+ }, y(e.label), 11, gt)), 64)), c("div", _t, [c("button", {
866
892
  class: "StationPop-historyExport",
867
- onClick: kt
868
- }, [u(r, null, {
869
- default: b(() => [u(v(le))]),
893
+ onClick: Dt
894
+ }, [u(d, null, {
895
+ default: S(() => [u(b(ue))]),
896
+ _: 1
897
+ }), n[24] ||= l(" 导出 ", -1)])])]),
898
+ c("div", vt, [u(p, {
899
+ data: V.value,
900
+ class: "StationPop-historyTable",
901
+ style: { width: "100%" }
902
+ }, {
903
+ default: S(() => [
904
+ u(f, {
905
+ type: "index",
906
+ label: "序号",
907
+ width: "60",
908
+ align: "center"
909
+ }),
910
+ u(f, {
911
+ label: B.value === "day" ? "日期" : "月份",
912
+ "min-width": "100",
913
+ align: "left"
914
+ }, {
915
+ default: S(({ row: e }) => [c("span", null, y(e.date || "--"), 1)]),
916
+ _: 1
917
+ }, 8, ["label"]),
918
+ u(f, {
919
+ label: "降水",
920
+ "min-width": "80",
921
+ align: "right"
922
+ }, {
923
+ default: S(({ row: e }) => [c("span", null, y(U(e.precipitation, "mm")), 1)]),
924
+ _: 1
925
+ }),
926
+ u(f, {
927
+ label: "温度",
928
+ "min-width": "80",
929
+ align: "right"
930
+ }, {
931
+ default: S(({ row: e }) => [c("span", null, y(U(e.temperature, "℃")), 1)]),
932
+ _: 1
933
+ }),
934
+ u(f, {
935
+ label: "湿度",
936
+ "min-width": "80",
937
+ align: "right"
938
+ }, {
939
+ default: S(({ row: e }) => [c("span", null, y(U(e.humidity, "%")), 1)]),
940
+ _: 1
941
+ }),
942
+ u(f, {
943
+ label: "风力风向",
944
+ "min-width": "120",
945
+ align: "left"
946
+ }, {
947
+ default: S(({ row: e }) => [c("span", null, y(xt(e)), 1)]),
948
+ _: 1
949
+ }),
950
+ u(f, {
951
+ label: "气压",
952
+ "min-width": "90",
953
+ align: "right"
954
+ }, {
955
+ default: S(({ row: e }) => [c("span", null, y(U(e.pressure, "hPa")), 1)]),
956
+ _: 1
957
+ })
958
+ ]),
870
959
  _: 1
871
- }), n[24] ||= l(" 导出 ", -1)])]),
872
- c("div", dt, [c("table", ft, [c("thead", null, [c("tr", null, [
873
- n[25] ||= c("th", null, "序号", -1),
874
- c("th", null, _(B.value === "day" ? "日期" : "月份"), 1),
875
- n[26] ||= c("th", null, "降水", -1),
876
- n[27] ||= c("th", null, "温度", -1),
877
- n[28] ||= c("th", null, "湿度", -1),
878
- n[29] ||= c("th", null, "风力风向", -1),
879
- n[30] ||= c("th", null, "气压", -1)
880
- ])]), c("tbody", null, [(m(!0), s(a, null, g(V.value, (e, t) => (m(), s("tr", { key: t }, [
881
- c("td", pt, _(t + 1), 1),
882
- c("td", mt, _(e.date || "--"), 1),
883
- c("td", ht, _(U(e.precipitation, "mm")), 1),
884
- c("td", gt, _(U(e.temperature, "℃")), 1),
885
- c("td", _t, _(U(e.humidity, "%")), 1),
886
- c("td", vt, _(Ct(e)), 1),
887
- c("td", yt, _(U(e.pressure, "hPa")), 1)
888
- ]))), 128)), V.value.length ? o("", !0) : (m(), s("tr", bt, [...n[31] ||= [c("td", {
889
- colspan: "7",
890
- class: "StationPop-historyEmpty"
891
- }, "暂无历史数据", -1)]]))])])])
892
- ])])) : o("", !0)], 512), [[oe, A.value]])]);
960
+ }, 8, ["data"])])
961
+ ])])) : ie("", !0)])), [[se, A.value], [h, r.value]])]);
893
962
  };
894
963
  }
895
- }), [["__scopeId", "data-v-ffd81bd2"]]);
964
+ }), [["__scopeId", "data-v-c1c0c7f7"]]);
896
965
  //#endregion
897
- export { A as t };
966
+ export { k as t };