nxd-plugin 1.8.28 → 1.8.29

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 (37) hide show
  1. package/dist/chunks/{component-Forecast72h-cgr5tls3.mjs → component-Forecast72h-yd9t3176.mjs} +249 -196
  2. package/dist/chunks/{component-HdCameraList-NlgDGDxS.mjs → component-HdCameraList-nPxzUdmB.mjs} +1 -1
  3. package/dist/chunks/{component-HdFarmStation-CUXisRVE.mjs → component-HdFarmStation-BDN_u87-.mjs} +1 -1
  4. package/dist/chunks/{component-HdFarmStationDialog-BtPMLdBf.mjs → component-HdFarmStationDialog-CMKGe0YJ.mjs} +8 -8
  5. package/dist/chunks/{component-HdMajorActivity-nIv4HBSm.mjs → component-HdMajorActivity-CyAgx0og.mjs} +222 -225
  6. package/dist/chunks/{component-HdObservation-CJi_RXM_.mjs → component-HdObservation-CY8TNPK8.mjs} +2 -2
  7. package/dist/chunks/{component-HdPreSituation-D5rfQ4Tv.mjs → component-HdPreSituation-CLXeQ_lX.mjs} +2 -2
  8. package/dist/chunks/{component-HdRadarList-C51u7j2s.mjs → component-HdRadarList--85ldZa2.mjs} +1 -1
  9. package/dist/chunks/{component-HdRisk-C0WY-wCs.mjs → component-HdRisk-HKXfRnuQ.mjs} +1 -1
  10. package/dist/chunks/{component-HdServiceMarterial-DYQVcfuq.mjs → component-HdServiceMarterial-DJA-s67d.mjs} +1 -1
  11. package/dist/chunks/{component-HdServiceRequirements-DGn7h63L.mjs → component-HdServiceRequirements-lXtnq5r2.mjs} +1 -1
  12. package/dist/chunks/{component-HdSoil-BZ4yph45.mjs → component-HdSoil-BtIq7NXx.mjs} +1 -1
  13. package/dist/chunks/{component-HdStationTem-Cyk1fdpJ.mjs → component-HdStationTem-CRfJb0wr.mjs} +122 -99
  14. package/dist/chunks/{component-HdSuggestion-CBvCk-c5.mjs → component-HdSuggestion-2aFJRsau.mjs} +1 -1
  15. package/dist/chunks/{component-HdThreeWeatherTrend-CrxdQnj5.mjs → component-HdThreeWeatherTrend-BWeGlUnt.mjs} +2 -2
  16. package/dist/chunks/{component-HdWaveForcast-D_Y_AoL1.mjs → component-HdWaveForcast-DgcqZuG9.mjs} +1 -1
  17. package/dist/chunks/{component-HighQuality-B6JxEYfF.mjs → component-HighQuality-BNvi5OuR.mjs} +59 -54
  18. package/dist/chunks/{component-HighwayWeatherForecast-UCOCLt-l.mjs → component-HighwayWeatherForecast-BAHrZUA9.mjs} +69 -69
  19. package/dist/chunks/{component-PrecipitationRanking-cy6YEcr-.mjs → component-PrecipitationRanking-Cp8wK9V7.mjs} +265 -300
  20. package/dist/chunks/component-StationDialog-CnAIJZcL.mjs +772 -0
  21. package/dist/chunks/{component-StationList-rA77RHJb.mjs → component-StationList-DvHUcP8A.mjs} +2 -2
  22. package/dist/chunks/{component-TimeBasedForecast-CTLJVn2P.mjs → component-TimeBasedForecast-DP7ZYRQB.mjs} +34 -34
  23. package/dist/chunks/{component-WeatherForecast-BTzDg7Mi.mjs → component-WeatherForecast-BhGvmaMS.mjs} +34 -34
  24. package/dist/chunks/{component-YCDataService-oOkpc1PC.mjs → component-YCDataService-CwOGPL98.mjs} +1 -1
  25. package/dist/chunks/{component-YCHome-DcmieyM7.mjs → component-YCHome-DRIi7AIB.mjs} +1 -1
  26. package/dist/components/HdStationTem/HdStationTem.vue.d.ts +3 -2
  27. package/dist/components/PrecipitationRanking/PrecipitationRanking.vue.d.ts +1 -0
  28. package/dist/nxd-plugin.mjs +25 -25
  29. package/dist/styles/component-Forecast72h.css +1 -1
  30. package/dist/styles/component-HdMajorActivity.css +1 -1
  31. package/dist/styles/component-HdStationTem.css +1 -1
  32. package/dist/styles/component-HighQuality.css +1 -1
  33. package/dist/styles/component-PrecipitationRanking.css +1 -1
  34. package/dist/styles/component-StationDialog.css +1 -1
  35. package/dist/styles/component-YCLoginNew.css +1 -1
  36. package/package.json +1 -1
  37. package/dist/chunks/component-StationDialog-NQdthKaR.mjs +0 -737
@@ -1,7 +1,7 @@
1
1
  import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
2
2
  import { i as t, o as n } from "./component-AiChat-COULZNRK.mjs";
3
- import "./component-Forecast72h-cgr5tls3.mjs";
4
- import { n as r } from "./component-HdFarmStationDialog-BtPMLdBf.mjs";
3
+ import "./component-Forecast72h-yd9t3176.mjs";
4
+ import { n as r } from "./component-HdFarmStationDialog-CMKGe0YJ.mjs";
5
5
  import { ElIcon as i, ElLoadingDirective as a, ElOption as o, ElSelect as s } from "element-plus/es";
6
6
  import { Fragment as c, computed as l, createBlock as ee, createCommentVNode as te, createElementBlock as u, createElementVNode as d, createStaticVNode as ne, createVNode as f, defineComponent as p, getCurrentInstance as re, nextTick as ie, normalizeClass as ae, normalizeStyle as oe, onBeforeUnmount as m, onMounted as se, openBlock as h, ref as g, renderList as _, toDisplayString as v, unref as ce, withCtx as y, withDirectives as le } from "vue";
7
7
  import { Download as ue } from "@element-plus/icons-vue";
@@ -1,7 +1,7 @@
1
1
  import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
2
2
  import { i as t, o as n } from "./component-AiChat-COULZNRK.mjs";
3
- import "./component-Forecast72h-cgr5tls3.mjs";
4
- import { n as r } from "./component-HdFarmStationDialog-BtPMLdBf.mjs";
3
+ import "./component-Forecast72h-yd9t3176.mjs";
4
+ import { n as r } from "./component-HdFarmStationDialog-CMKGe0YJ.mjs";
5
5
  import { ElConfigProvider as i, ElDatePicker as a, ElIcon as ee, ElLoadingDirective as te, ElOption as ne, ElSelect as re, ElTable as ie, ElTableColumn as ae } from "element-plus/es";
6
6
  import { Fragment as o, computed as s, createBlock as oe, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, getCurrentInstance as p, nextTick as m, normalizeClass as se, normalizeStyle as h, onBeforeUnmount as g, onMounted as _, openBlock as v, ref as y, renderList as b, toDisplayString as x, unref as S, watch as ce, withCtx as C, withDirectives as le } from "vue";
7
7
  import { Download as ue, TrendCharts as de } from "@element-plus/icons-vue";
@@ -1,5 +1,5 @@
1
1
  import { i as e } from "./component-AiChat-COULZNRK.mjs";
2
- import "./component-Forecast72h-cgr5tls3.mjs";
2
+ import "./component-Forecast72h-yd9t3176.mjs";
3
3
  import { ElIcon as t } from "element-plus/es";
4
4
  import { Fragment as n, computed as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, getCurrentInstance as c, normalizeClass as l, onMounted as u, openBlock as d, ref as f, renderList as p, toDisplayString as m, unref as h, watch as g, withCtx as _ } from "vue";
5
5
  import { EditPen as v } from "@element-plus/icons-vue";
@@ -1,5 +1,5 @@
1
1
  import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
2
- import "./component-Forecast72h-cgr5tls3.mjs";
2
+ import "./component-Forecast72h-yd9t3176.mjs";
3
3
  import { ElLoadingDirective as n } from "element-plus/es";
4
4
  import { Fragment as r, Teleport as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, getCurrentInstance as d, nextTick as f, normalizeClass as p, onMounted as m, onUnmounted as h, openBlock as g, ref as _, renderList as ee, toDisplayString as v, vShow as y, watch as te, withDirectives as b, withModifiers as x } from "vue";
5
5
  //#region src/components/HdRisk/HdRisk.vue?vue&type=script&setup=true&lang.ts
@@ -1,5 +1,5 @@
1
1
  import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
2
- import "./component-Forecast72h-cgr5tls3.mjs";
2
+ import "./component-Forecast72h-yd9t3176.mjs";
3
3
  import { ElIcon as n, ElInput as r, ElLoadingDirective as i, ElOption as a, ElSelect as o, ElTable as s, ElTableColumn as ee } from "element-plus/es";
4
4
  import { Fragment as c, Teleport as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineComponent as g, getCurrentInstance as _, onMounted as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, withCtx as w, withDirectives as T, withKeys as E, withModifiers as te } from "vue";
5
5
  import { Search as ne } from "@element-plus/icons-vue";
@@ -1,5 +1,5 @@
1
1
  import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
2
- import "./component-Forecast72h-cgr5tls3.mjs";
2
+ import "./component-Forecast72h-yd9t3176.mjs";
3
3
  import { Fragment as n, Teleport as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, defineComponent as l, getCurrentInstance as u, onMounted as d, openBlock as f, ref as p, renderList as ee, toDisplayString as m, withModifiers as h } from "vue";
4
4
  //#region src/components/HdServiceRequirements/HdServiceRequirements.vue?vue&type=script&setup=true&lang.ts
5
5
  var g = { class: "HdServiceRequirements" }, _ = { class: "HdServiceRequirements-header" }, v = { class: "HdServiceRequirements-headerContent" }, y = { class: "HdServiceRequirements-title" }, b = {
@@ -1,5 +1,5 @@
1
1
  import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
2
- import "./component-Forecast72h-cgr5tls3.mjs";
2
+ import "./component-Forecast72h-yd9t3176.mjs";
3
3
  import { ElLoadingDirective as n, ElTable as r, ElTableColumn as i } from "element-plus/es";
4
4
  import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, getCurrentInstance as p, normalizeClass as m, onBeforeUnmount as h, onMounted as g, openBlock as _, ref as v, renderList as y, toDisplayString as b, vModelCheckbox as x, vModelSelect as S, watch as C, withCtx as w, withDirectives as T } from "vue";
5
5
  import "element-plus/dist/index.css";
@@ -1,23 +1,23 @@
1
1
  import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
2
2
  import { i as t, o as n } from "./component-AiChat-COULZNRK.mjs";
3
- import "./component-Forecast72h-cgr5tls3.mjs";
4
- import { n as r } from "./component-HdFarmStationDialog-BtPMLdBf.mjs";
5
- import { ElCheckbox as i, ElIcon as ee, ElLoadingDirective as te, ElTable as ne, ElTableColumn as re } from "element-plus/es";
6
- 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";
7
- import { Download as me } from "@element-plus/icons-vue";
8
- import * as v from "echarts";
3
+ import "./component-Forecast72h-yd9t3176.mjs";
4
+ import { n as r } from "./component-HdFarmStationDialog-CMKGe0YJ.mjs";
5
+ import { ElCheckbox as i, ElIcon as a, ElLoadingDirective as o, ElTable as s, ElTableColumn as c } from "element-plus/es";
6
+ import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as ee, createVNode as m, defineComponent as h, getCurrentInstance as g, nextTick as _, normalizeClass as v, normalizeStyle as te, onBeforeUnmount as ne, onMounted as re, openBlock as y, ref as b, renderList as ie, toDisplayString as x, unref as ae, watch as oe, withCtx as S, withDirectives as se, withModifiers as ce } from "vue";
7
+ import { Download as le } from "@element-plus/icons-vue";
8
+ import * as C from "echarts";
9
9
  import "element-plus/dist/index.css";
10
10
  //#region src/components/HdStationTem/HdStationTem.vue?vue&type=script&setup=true&lang.ts
11
- var he = /* @__PURE__ */ e(r()), ge = {
11
+ var ue = /* @__PURE__ */ e(r()), de = {
12
12
  class: "HdStationTem",
13
13
  "element-loading-background": "rgba(0, 0, 0, 0.5)"
14
- }, _e = { class: "HdStationTem-header" }, ve = { class: "HdStationTem-headerContent" }, ye = { class: "HdStationTem-title" }, be = {
14
+ }, fe = { class: "HdStationTem-header" }, pe = { class: "HdStationTem-headerContent" }, me = { class: "HdStationTem-title" }, he = {
15
15
  key: 0,
16
16
  class: "HdStationTem-dataTime"
17
- }, 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 = {
17
+ }, ge = { class: "HdStationTem-toolbar" }, _e = { class: "HdStationTem-actions" }, ve = { class: "HdStationTem-checkboxWrap" }, ye = { class: "HdStationTem-typeWrap" }, be = { class: "HdStationTem-typeTabs" }, xe = ["onClick"], w = { class: "HdStationTem-content" }, T = { class: "HdStationTem-tableWrap" }, E = ["onClick"], D = {
18
18
  key: 0,
19
19
  class: "HdStationTem-trendMask"
20
- }, O = { class: "HdStationTem-trendPopup" }, k = { class: "HdStationTem-trendHeader" }, A = { class: "HdStationTem-trendTitle" }, j = { class: "HdStationTem-trendSubTitle" }, M = "maxTem08", N = /* @__PURE__ */ t(/* @__PURE__ */ u({
20
+ }, O = { class: "HdStationTem-trendPopup" }, k = { class: "HdStationTem-trendHeader" }, A = { class: "HdStationTem-trendTitle" }, j = { class: "HdStationTem-trendSubTitle" }, M = "maxTem08", N = /* @__PURE__ */ t(/* @__PURE__ */ h({
21
21
  __name: "HdStationTem",
22
22
  props: {
23
23
  title: { default: "自动站温度统计" },
@@ -47,8 +47,8 @@ var he = /* @__PURE__ */ e(r()), ge = {
47
47
  "clearImage"
48
48
  ],
49
49
  setup(e, { emit: t }) {
50
- d()?.appContext.config.globalProperties.$bus;
51
- 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 = [
50
+ g()?.appContext.config.globalProperties.$bus;
51
+ let r = e, h = t, N = b(!1), P = b(M), F = b(!1), I = b(""), L = b([]), R = b({}), z = b(!1), B = b(null), V = b(null), H = null, U = null, W = [
52
52
  {
53
53
  label: "最高温08",
54
54
  value: "maxTem08"
@@ -65,7 +65,7 @@ var he = /* @__PURE__ */ e(r()), ge = {
65
65
  label: "最低温20",
66
66
  value: "minTem20"
67
67
  }
68
- ], G = a(() => R.value[P.value] || L.value), K = (e) => e == null || e === "" || e === 9999, q = (e, t) => {
68
+ ], G = u(() => R.value[P.value] || L.value), K = (e) => e == null || e === "" || e === 9999, q = (e, t) => {
69
69
  if (K(e)) return "--";
70
70
  let n = Number(e);
71
71
  if (!isNaN(n)) {
@@ -77,11 +77,11 @@ var he = /* @__PURE__ */ e(r()), ge = {
77
77
  let t = Number(e);
78
78
  return K(e) || isNaN(t) ? "rgba(255,255,255,0.6)" : t >= r.highThreshold ? "#FF4D4F" : t <= r.lowThreshold ? "#165DFF" : "#fff";
79
79
  }, Ce = () => {
80
- u("close", "HdStationTem");
80
+ h("close", "HdStationTem");
81
81
  }, we = (e) => {
82
- u("rowClick", e);
82
+ h("rowClick", e);
83
83
  }, Te = (e) => {
84
- B.value = e, z.value = !0, u("view", e), f(() => {
84
+ B.value = e, z.value = !0, h("view", e), _(() => {
85
85
  je();
86
86
  });
87
87
  }, Ee = () => {
@@ -101,10 +101,13 @@ var he = /* @__PURE__ */ e(r()), ge = {
101
101
  "16时",
102
102
  "17时",
103
103
  "18时",
104
- "19时"
104
+ "19时",
105
+ "20时",
106
+ "21时",
107
+ "22时"
105
108
  ],
106
109
  unit: "℃",
107
- maxTemp: [
110
+ actual: [
108
111
  22,
109
112
  24,
110
113
  26,
@@ -114,21 +117,13 @@ var he = /* @__PURE__ */ e(r()), ge = {
114
117
  33,
115
118
  32,
116
119
  30,
117
- 28,
118
- 26,
119
- 24
120
+ 28
120
121
  ],
121
- minTemp: [
122
- 16,
123
- 17,
124
- 18,
125
- 19,
126
- 20,
127
- 21,
128
- 22,
122
+ forecast: [
123
+ 26,
124
+ 24,
129
125
  22,
130
126
  21,
131
- 20,
132
127
  19,
133
128
  18
134
129
  ],
@@ -139,26 +134,43 @@ var he = /* @__PURE__ */ e(r()), ge = {
139
134
  if (r.mock) return B.value.trendData || Oe();
140
135
  let e = J("trend");
141
136
  if (!e) return console.warn("HdStationTem 缺少趋势图工作流配置"), null;
137
+ console.log(B.value, "currentRow.value");
142
138
  try {
143
- return Y(await n({
139
+ let t = Y(await n({
144
140
  id: e.id,
145
141
  baseHttp: r.baseHttp,
146
142
  reqType: e.reqType,
147
- variables: {
148
- stationCode: B.value.stationCode,
149
- stationName: B.value.stationName,
150
- type: P.value
151
- },
143
+ variables: { stationIdC: B.value.stationId },
152
144
  isFormData: e.isFormData,
153
145
  appKey: r.appKey,
154
146
  appSalt: r.appSalt
155
- })) || null;
147
+ }));
148
+ if (!t) return null;
149
+ let i = t.situationData || t.situation || [], a = t.forecastData || t.forecast || [], o = (e) => {
150
+ if (!e) return "--";
151
+ let t = e.split(" ");
152
+ return t.length > 1 ? `${t[0].slice(5)} ${t[1].slice(0, 2)}时` : e;
153
+ }, s = [], c = [], l = [];
154
+ return i.forEach((e) => {
155
+ let t = e.datetime_bj || e.data_time || e.time || "", n = Number(e.tem ?? e.temperature ?? 0);
156
+ s.push(o(t)), c.push(isNaN(n) ? 0 : n);
157
+ }), a.forEach((e) => {
158
+ let t = e.f_time || e.forecast_time || e.data_time || "", n = Number(e.tmp ?? e.temperature ?? 0);
159
+ s.push(o(t)), l.push(isNaN(n) ? 0 : n);
160
+ }), {
161
+ times: s,
162
+ unit: "℃",
163
+ actual: c,
164
+ forecast: l,
165
+ highThreshold: r.highThreshold,
166
+ lowThreshold: r.lowThreshold
167
+ };
156
168
  } catch (e) {
157
169
  return console.error("HdStationTem 趋势图数据加载失败", e), null;
158
170
  }
159
171
  }, Ae = (e) => {
160
172
  let t = [];
161
- 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));
173
+ e.actual.forEach((e) => !isNaN(Number(e)) && t.push(Number(e))), e.forecast.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
174
  let n = t.length ? Math.min(...t) : 0, r = t.length ? Math.max(...t) : 40;
163
175
  n === r && (n -= 5, r += 5);
164
176
  let i = (r - n) * .1;
@@ -170,8 +182,11 @@ var he = /* @__PURE__ */ e(r()), ge = {
170
182
  if (!V.value) return;
171
183
  let e = await ke();
172
184
  if (!e) return;
173
- H && H.dispose(), H = v.init(V.value);
174
- let t = Ae(e), n = {
185
+ H && H.dispose(), H = C.init(V.value);
186
+ let t = Ae(e), n = e.actual.length, r = [...e.actual, ...e.forecast.map(() => null)], i = Array(e.times.length).fill(null);
187
+ n > 0 && (i[n - 1] = e.actual[n - 1]);
188
+ for (let t = 0; t < e.forecast.length; t++) i[n + t] = e.forecast[t];
189
+ let a = {
175
190
  backgroundColor: "transparent",
176
191
  grid: {
177
192
  top: 40,
@@ -181,8 +196,8 @@ var he = /* @__PURE__ */ e(r()), ge = {
181
196
  },
182
197
  legend: {
183
198
  data: [
184
- "最高温",
185
- "最低温",
199
+ "温度实况",
200
+ "预报数据",
186
201
  "高温阈值",
187
202
  "低温阈值"
188
203
  ],
@@ -200,7 +215,12 @@ var he = /* @__PURE__ */ e(r()), ge = {
200
215
  backgroundColor: "rgba(6, 32, 56, 0.95)",
201
216
  borderColor: "rgba(64, 158, 255, 0.4)",
202
217
  textStyle: { color: "#fff" },
203
- formatter: (t) => `${t[0]?.axisValue || ""}<br/>${t.map((t) => `${t.marker} ${t.seriesName}: ${t.value}${e.unit}`).join("<br/>")}`
218
+ formatter: (t) => {
219
+ let r = t[0]?.axisValue || "", i = [];
220
+ return t.forEach((t) => {
221
+ t.value === null || t.value === void 0 || isNaN(Number(t.value)) || t.seriesName === "预报数据" && t.dataIndex === n - 1 || i.push(`${t.marker} ${t.seriesName}: ${t.value}${e.unit}`);
222
+ }), `${r}<br/>${i.join("<br/>")}`;
223
+ }
204
224
  },
205
225
  xAxis: {
206
226
  type: "category",
@@ -208,7 +228,8 @@ var he = /* @__PURE__ */ e(r()), ge = {
208
228
  axisLine: { lineStyle: { color: "rgba(255,255,255,0.3)" } },
209
229
  axisLabel: {
210
230
  color: "rgba(255,255,255,0.7)",
211
- fontSize: 11
231
+ fontSize: 10,
232
+ rotate: e.times.length > 12 ? 30 : 0
212
233
  },
213
234
  axisTick: { show: !1 }
214
235
  },
@@ -258,40 +279,42 @@ var he = /* @__PURE__ */ e(r()), ge = {
258
279
  symbol: "none"
259
280
  },
260
281
  {
261
- name: "最高温",
282
+ name: "温度实况",
262
283
  type: "line",
263
- data: e.maxTemp,
264
- itemStyle: { color: "#FF7D00" },
265
- lineStyle: { width: 2 },
284
+ data: r,
285
+ smooth: !0,
286
+ itemStyle: { color: "#409EFF" },
287
+ lineStyle: {
288
+ width: 2,
289
+ color: "#409EFF"
290
+ },
266
291
  symbol: "circle",
267
292
  symbolSize: 5,
268
- areaStyle: { color: new v.graphic.LinearGradient(0, 0, 0, 1, [{
293
+ areaStyle: { color: new C.graphic.LinearGradient(0, 0, 0, 1, [{
269
294
  offset: 0,
270
- color: "rgba(255, 125, 0, 0.3)"
295
+ color: "rgba(64, 158, 255, 0.3)"
271
296
  }, {
272
297
  offset: 1,
273
- color: "rgba(255, 125, 0, 0.02)"
298
+ color: "rgba(64, 158, 255, 0.02)"
274
299
  }]) }
275
300
  },
276
301
  {
277
- name: "最低温",
302
+ name: "预报数据",
278
303
  type: "line",
279
- data: e.minTemp,
280
- itemStyle: { color: "#05ddfa" },
281
- lineStyle: { width: 2 },
304
+ data: i,
305
+ smooth: !0,
306
+ itemStyle: { color: "#ffffff" },
307
+ lineStyle: {
308
+ type: "dashed",
309
+ width: 2,
310
+ color: "#ffffff"
311
+ },
282
312
  symbol: "circle",
283
- symbolSize: 5,
284
- areaStyle: { color: new v.graphic.LinearGradient(0, 0, 0, 1, [{
285
- offset: 0,
286
- color: "rgba(5, 221, 250, 0.3)"
287
- }, {
288
- offset: 1,
289
- color: "rgba(5, 221, 250, 0.02)"
290
- }]) }
313
+ symbolSize: 5
291
314
  }
292
315
  ]
293
316
  };
294
- H.setOption(n);
317
+ H.setOption(a);
295
318
  }, Me = ({ rowIndex: e }) => {
296
319
  if (e > 2) return "";
297
320
  let t = G.value[e];
@@ -336,10 +359,10 @@ var he = /* @__PURE__ */ e(r()), ge = {
336
359
  }, Z = async (e) => {
337
360
  if (e) {
338
361
  let e = await Pe();
339
- e && u("addImage", e);
340
- } else u("clearImage");
362
+ e && h("addImage", e);
363
+ } else h("clearImage");
341
364
  };
342
- de(P, () => {
365
+ oe(P, () => {
343
366
  F.value && Z(!0);
344
367
  });
345
368
  let Fe = async () => {
@@ -378,7 +401,7 @@ var he = /* @__PURE__ */ e(r()), ge = {
378
401
  类型: e,
379
402
  数据时间: t.monitorTime || I.value || ""
380
403
  }));
381
- new he.default({
404
+ new ue.default({
382
405
  fileName: `自动站温度统计_${e}_${(/* @__PURE__ */ new Date()).getTime()}`,
383
406
  datas: [{
384
407
  sheetData: t,
@@ -416,18 +439,18 @@ var he = /* @__PURE__ */ e(r()), ge = {
416
439
  }, $ = () => {
417
440
  U &&= (clearInterval(U), null);
418
441
  };
419
- return ce(() => {
442
+ return re(() => {
420
443
  Q(), Le();
421
- }), se(() => {
444
+ }), ne(() => {
422
445
  $(), H &&= (H.dispose(), null);
423
446
  }), (t, n) => {
424
- let r = i, a = ee, u = re, d = ne, f = te;
425
- return fe((m(), s("div", ge, [
426
- c("button", {
447
+ let r = i, u = a, h = c, g = s, _ = o;
448
+ return se((y(), f("div", de, [
449
+ p("button", {
427
450
  class: "HdStationTem-close",
428
451
  onClick: Ce
429
- }, [...n[1] ||= [c("span", null, "✕", -1)]]),
430
- 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", {
452
+ }, [...n[1] ||= [p("span", null, "✕", -1)]]),
453
+ p("div", fe, [p("div", pe, [p("h3", me, x(e.title), 1), I.value ? (y(), f("span", he, "(数据时间:" + x(I.value) + ")", 1)) : d("", !0)]), n[2] ||= p("img", {
431
454
  style: {
432
455
  width: "100%",
433
456
  "object-fit": "contain",
@@ -436,26 +459,26 @@ var he = /* @__PURE__ */ e(r()), ge = {
436
459
  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",
437
460
  alt: ""
438
461
  }, null, -1)]),
439
- c("div", xe, [c("div", y, [n[5] ||= c("span", { class: "HdStationTem-toolbarLabel" }, "日温度统计", -1), c("div", b, [l(r, {
462
+ p("div", ge, [p("div", _e, [n[5] ||= p("span", { class: "HdStationTem-toolbarLabel" }, "日温度统计", -1), p("div", ve, [m(r, {
440
463
  modelValue: F.value,
441
464
  "onUpdate:modelValue": n[0] ||= (e) => F.value = e,
442
465
  class: "HdStationTem-checkbox",
443
466
  onChange: Z
444
467
  }, {
445
- default: _(() => [...n[3] ||= [ae(" 色斑图 ", -1)]]),
468
+ default: S(() => [...n[3] ||= [ee(" 色斑图 ", -1)]]),
446
469
  _: 1
447
- }, 8, ["modelValue"]), c("button", {
470
+ }, 8, ["modelValue"]), p("button", {
448
471
  class: "HdStationTem-btn",
449
472
  onClick: Ie
450
- }, [l(a, null, {
451
- default: _(() => [l(ue(me))]),
473
+ }, [m(u, null, {
474
+ default: S(() => [m(ae(le))]),
452
475
  _: 1
453
- }), n[4] ||= c("span", { class: "HdStationTem-btnText" }, "导出", -1)])])]), c("div", x, [c("div", S, [(m(), s(ie, null, le(W, (e) => c("button", {
476
+ }), n[4] ||= p("span", { class: "HdStationTem-btnText" }, "导出", -1)])])]), p("div", ye, [p("div", be, [(y(), f(l, null, ie(W, (e) => p("button", {
454
477
  key: e.value,
455
- class: p(["HdStationTem-typeTab", { "HdStationTem-typeTab--active": P.value === e.value }]),
478
+ class: v(["HdStationTem-typeTab", { "HdStationTem-typeTab--active": P.value === e.value }]),
456
479
  onClick: (t) => De(e.value)
457
- }, g(e.label), 11, C)), 64))])])]),
458
- c("div", w, [c("div", T, [l(d, {
480
+ }, x(e.label), 11, xe)), 64))])])]),
481
+ p("div", w, [p("div", T, [m(g, {
459
482
  data: G.value,
460
483
  class: "HdStationTem-table",
461
484
  height: e.tableHeight,
@@ -463,61 +486,61 @@ var he = /* @__PURE__ */ e(r()), ge = {
463
486
  "row-class-name": Me,
464
487
  onRowClick: we
465
488
  }, {
466
- default: _(() => [
467
- l(u, {
489
+ default: S(() => [
490
+ m(h, {
468
491
  label: "序号",
469
492
  align: "center",
470
493
  width: "60"
471
494
  }, {
472
- default: _(({ $index: e }) => [c("span", { class: p(["HdStationTem-rank", `HdStationTem-rank--${e + 1}`]) }, g(e + 1), 3)]),
495
+ default: S(({ $index: e }) => [p("span", { class: v(["HdStationTem-rank", `HdStationTem-rank--${e + 1}`]) }, x(e + 1), 3)]),
473
496
  _: 1
474
497
  }),
475
- l(u, {
498
+ m(h, {
476
499
  prop: "stationName",
477
500
  label: "站名",
478
501
  align: "left",
479
502
  "show-overflow-tooltip": "",
480
503
  "min-width": "80"
481
504
  }),
482
- l(u, {
505
+ m(h, {
483
506
  prop: "stationId",
484
507
  label: "站号",
485
508
  align: "center",
486
509
  width: "80"
487
510
  }),
488
- l(u, {
511
+ m(h, {
489
512
  label: "温度(℃)",
490
513
  align: "center",
491
514
  width: "90"
492
515
  }, {
493
- default: _(({ row: e }) => [c("span", { style: oe({ color: Se(e.tem) }) }, g(q(e.tem, "")), 5)]),
516
+ default: S(({ row: e }) => [p("span", { style: te({ color: Se(e.tem) }) }, x(q(e.tem, "")), 5)]),
494
517
  _: 1
495
518
  }),
496
- l(u, {
519
+ m(h, {
497
520
  label: "趋势",
498
521
  align: "center",
499
522
  width: "60"
500
523
  }, {
501
- default: _(({ row: e }) => [c("span", {
524
+ default: S(({ row: e }) => [p("span", {
502
525
  class: "HdStationTem-viewLink",
503
- onClick: pe((t) => Te(e), ["stop"])
526
+ onClick: ce((t) => Te(e), ["stop"])
504
527
  }, "查看", 8, E)]),
505
528
  _: 1
506
529
  })
507
530
  ]),
508
531
  _: 1
509
532
  }, 8, ["data", "height"])])]),
510
- 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", {
533
+ z.value ? (y(), f("div", D, [p("div", O, [p("div", k, [p("div", A, [n[6] ||= p("span", null, "温度趋势", -1), p("span", j, x(B.value?.stationName) + " " + x(B.value?.stationCode), 1)]), p("button", {
511
534
  class: "HdStationTem-trendClose",
512
535
  onClick: Ee
513
- }, "✕")]), c("div", {
536
+ }, "✕")]), p("div", {
514
537
  ref_key: "trendChartRef",
515
538
  ref: V,
516
539
  class: "HdStationTem-trendChart"
517
- }, null, 512)])])) : o("", !0)
518
- ])), [[f, N.value]]);
540
+ }, null, 512)])])) : d("", !0)
541
+ ])), [[_, N.value]]);
519
542
  };
520
543
  }
521
- }), [["__scopeId", "data-v-aba7858d"]]);
544
+ }), [["__scopeId", "data-v-14ed752b"]]);
522
545
  //#endregion
523
546
  export { N as t };
@@ -1,5 +1,5 @@
1
1
  import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
2
- import "./component-Forecast72h-cgr5tls3.mjs";
2
+ import "./component-Forecast72h-yd9t3176.mjs";
3
3
  import { ElIcon as n } from "element-plus/es";
4
4
  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";
5
5
  import { ArrowLeft as ee, ArrowRight as te } from "@element-plus/icons-vue";
@@ -1,6 +1,6 @@
1
1
  import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
2
- import "./component-Forecast72h-cgr5tls3.mjs";
3
- import { i as n, o as r, r as i } from "./component-HdFarmStationDialog-BtPMLdBf.mjs";
2
+ import "./component-Forecast72h-yd9t3176.mjs";
3
+ import { i as n, o as r, r as i } from "./component-HdFarmStationDialog-CMKGe0YJ.mjs";
4
4
  import { ElLoadingDirective as a, ElOption as o, ElSelect as s } from "element-plus/es";
5
5
  import { Fragment as c, computed as l, createBlock as ee, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as te, getCurrentInstance as ne, normalizeClass as re, onMounted as ie, onUnmounted as ae, openBlock as m, ref as h, renderList as g, toDisplayString as _, withCtx as oe, withDirectives as se } from "vue";
6
6
  import "element-plus/es/components/select/style/css";
@@ -1,5 +1,5 @@
1
1
  import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
2
- import "./component-Forecast72h-cgr5tls3.mjs";
2
+ import "./component-Forecast72h-yd9t3176.mjs";
3
3
  import { ElLoadingDirective as n } from "element-plus/es";
4
4
  import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, getCurrentInstance as l, normalizeClass as u, onMounted as d, onUnmounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, withDirectives as _ } from "vue";
5
5
  import "element-plus/es/components/select/style/css";