nxd-plugin 1.8.28 → 1.8.30

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 (41) hide show
  1. package/dist/chunks/YCServiceSummary-Dx2AlXiv.mjs +2 -0
  2. package/dist/chunks/{component-Forecast72h-cgr5tls3.mjs → component-Forecast72h-yd9t3176.mjs} +249 -196
  3. package/dist/chunks/{component-HdCameraList-NlgDGDxS.mjs → component-HdCameraList-nPxzUdmB.mjs} +1 -1
  4. package/dist/chunks/{component-HdFarmStation-CUXisRVE.mjs → component-HdFarmStation-BDN_u87-.mjs} +1 -1
  5. package/dist/chunks/{component-HdFarmStationDialog-BtPMLdBf.mjs → component-HdFarmStationDialog-CMKGe0YJ.mjs} +8 -8
  6. package/dist/chunks/{component-HdMajorActivity-nIv4HBSm.mjs → component-HdMajorActivity-CyAgx0og.mjs} +222 -225
  7. package/dist/chunks/{component-HdObservation-CJi_RXM_.mjs → component-HdObservation-CY8TNPK8.mjs} +2 -2
  8. package/dist/chunks/{component-HdPreSituation-D5rfQ4Tv.mjs → component-HdPreSituation-CLXeQ_lX.mjs} +2 -2
  9. package/dist/chunks/{component-HdRadarList-C51u7j2s.mjs → component-HdRadarList--85ldZa2.mjs} +1 -1
  10. package/dist/chunks/{component-HdRisk-C0WY-wCs.mjs → component-HdRisk-HKXfRnuQ.mjs} +1 -1
  11. package/dist/chunks/{component-HdServiceMarterial-DYQVcfuq.mjs → component-HdServiceMarterial-DJA-s67d.mjs} +1 -1
  12. package/dist/chunks/{component-HdServiceRequirements-DGn7h63L.mjs → component-HdServiceRequirements-lXtnq5r2.mjs} +1 -1
  13. package/dist/chunks/{component-HdSoil-BZ4yph45.mjs → component-HdSoil-BtIq7NXx.mjs} +1 -1
  14. package/dist/chunks/{component-HdStationTem-Cyk1fdpJ.mjs → component-HdStationTem-CRfJb0wr.mjs} +122 -99
  15. package/dist/chunks/{component-HdSuggestion-CBvCk-c5.mjs → component-HdSuggestion-2aFJRsau.mjs} +1 -1
  16. package/dist/chunks/{component-HdThreeWeatherTrend-CrxdQnj5.mjs → component-HdThreeWeatherTrend-BWeGlUnt.mjs} +2 -2
  17. package/dist/chunks/{component-HdWaveForcast-D_Y_AoL1.mjs → component-HdWaveForcast-DgcqZuG9.mjs} +1 -1
  18. package/dist/chunks/{component-HighQuality-B6JxEYfF.mjs → component-HighQuality-BNvi5OuR.mjs} +59 -54
  19. package/dist/chunks/{component-HighwayWeatherForecast-UCOCLt-l.mjs → component-HighwayWeatherForecast-BAHrZUA9.mjs} +69 -69
  20. package/dist/chunks/{component-PrecipitationRanking-cy6YEcr-.mjs → component-PrecipitationRanking-Cp8wK9V7.mjs} +265 -300
  21. package/dist/chunks/component-StationDialog-CnAIJZcL.mjs +772 -0
  22. package/dist/chunks/{component-StationList-rA77RHJb.mjs → component-StationList-DvHUcP8A.mjs} +2 -2
  23. package/dist/chunks/{component-TimeBasedForecast-CTLJVn2P.mjs → component-TimeBasedForecast-DP7ZYRQB.mjs} +34 -34
  24. package/dist/chunks/{component-WeatherForecast-BTzDg7Mi.mjs → component-WeatherForecast-BhGvmaMS.mjs} +34 -34
  25. package/dist/chunks/{component-YCDataService-oOkpc1PC.mjs → component-YCDataService-CwOGPL98.mjs} +1 -1
  26. package/dist/chunks/{component-YCHome-DcmieyM7.mjs → component-YCHome-DRIi7AIB.mjs} +1 -1
  27. package/dist/chunks/{component-YCServiceSummary-LZ-2GeV8.mjs → component-YCServiceSummary-Dab20ncm.mjs} +2 -1
  28. package/dist/components/HdStationTem/HdStationTem.vue.d.ts +3 -2
  29. package/dist/components/PrecipitationRanking/PrecipitationRanking.vue.d.ts +1 -0
  30. package/dist/nxd-plugin.mjs +26 -26
  31. package/dist/styles/component-Forecast72h.css +1 -1
  32. package/dist/styles/component-HdMajorActivity.css +1 -1
  33. package/dist/styles/component-HdStationTem.css +1 -1
  34. package/dist/styles/component-HighQuality.css +1 -1
  35. package/dist/styles/component-PrecipitationRanking.css +1 -1
  36. package/dist/styles/component-StationDialog.css +1 -1
  37. package/dist/styles/component-YCLoginNew.css +1 -1
  38. package/dist/styles/component-YCServiceSummary.css +1 -1
  39. package/package.json +1 -1
  40. package/dist/chunks/YCServiceSummary-CSklmCPP.mjs +0 -2
  41. package/dist/chunks/component-StationDialog-NQdthKaR.mjs +0 -737
@@ -1,28 +1,28 @@
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 { ElConfigProvider as i, ElDatePicker as a, ElIcon as o, ElLoadingDirective as s, ElTable as c, ElTableColumn as l } from "element-plus/es";
6
- import { Fragment as u, computed as d, createBlock as ee, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as te, createVNode as h, defineComponent as g, getCurrentInstance as _, nextTick as v, normalizeClass as y, onBeforeUnmount as b, onMounted as ne, openBlock as x, ref as S, renderList as C, toDisplayString as w, unref as T, withCtx as E, withDirectives as re, withModifiers as ie } from "vue";
7
- import { Download as ae, Refresh as oe } from "@element-plus/icons-vue";
8
- import * as D from "echarts";
9
- import { ElMessage as O } from "element-plus";
3
+ import "./component-Forecast72h-yd9t3176.mjs";
4
+ import { n as r } from "./component-HdFarmStationDialog-CMKGe0YJ.mjs";
5
+ import { ElConfigProvider as i, ElDatePicker as a, ElIcon as o, ElLoadingDirective as s, ElTable as c, ElTableColumn as ee } from "element-plus/es";
6
+ import { Fragment as l, computed as u, createBlock as te, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as ne, createVNode as m, defineComponent as h, getCurrentInstance as g, nextTick as _, normalizeClass as v, onBeforeUnmount as y, onMounted as re, openBlock as b, ref as x, renderList as ie, toDisplayString as S, unref as C, withCtx as w, withDirectives as ae, withModifiers as oe } from "vue";
7
+ import { Download as se, Refresh as ce } from "@element-plus/icons-vue";
8
+ import * as T from "echarts";
9
+ import { ElMessage as E } from "element-plus";
10
10
  import "element-plus/dist/index.css";
11
- import se from "element-plus/es/locale/lang/zh-cn.mjs";
11
+ import le from "element-plus/es/locale/lang/zh-cn.mjs";
12
12
  //#region src/components/PrecipitationRanking/PrecipitationRanking.vue?vue&type=script&setup=true&lang.ts
13
- var ce = /* @__PURE__ */ e(r()), le = {
13
+ var ue = /* @__PURE__ */ e(r()), de = {
14
14
  class: "PrecipitationRanking",
15
15
  "element-loading-background": "rgba(0, 0, 0, 0.5)"
16
- }, ue = { class: "PrecipitationRanking-header" }, de = { class: "PrecipitationRanking-headerContent" }, fe = {
16
+ }, fe = { class: "PrecipitationRanking-header" }, pe = { class: "PrecipitationRanking-headerContent" }, me = {
17
17
  key: 0,
18
18
  class: "PrecipitationRanking-dataTime"
19
- }, pe = { class: "PrecipitationRanking-toolbar" }, me = { class: "PrecipitationRanking-actions" }, he = { class: "PrecipitationRanking-btnGroup" }, ge = { class: "PrecipitationRanking-timeWrap" }, _e = { class: "PrecipitationRanking-timeTags" }, ve = ["onClick"], ye = {
19
+ }, he = { class: "PrecipitationRanking-toolbar" }, ge = { class: "PrecipitationRanking-actions" }, _e = { class: "PrecipitationRanking-btnGroup" }, ve = { class: "PrecipitationRanking-timeWrap" }, ye = { class: "PrecipitationRanking-timeTags" }, be = ["onClick"], xe = {
20
20
  key: 0,
21
21
  class: "PrecipitationRanking-customPanel"
22
- }, be = { class: "PrecipitationRanking-content" }, xe = { class: "PrecipitationRanking-tableWrap" }, Se = ["onClick"], Ce = {
22
+ }, Se = { class: "PrecipitationRanking-content" }, Ce = { class: "PrecipitationRanking-tableWrap" }, we = ["onClick"], Te = {
23
23
  key: 1,
24
24
  class: "PrecipitationRanking-trendMask"
25
- }, we = { class: "PrecipitationRanking-trendPopup" }, Te = { class: "PrecipitationRanking-trendHeader" }, Ee = { class: "PrecipitationRanking-trendTitle" }, De = { class: "PrecipitationRanking-trendSubTitle" }, k = /* @__PURE__ */ t(/* @__PURE__ */ g({
25
+ }, Ee = { class: "PrecipitationRanking-trendPopup" }, De = { class: "PrecipitationRanking-trendHeader" }, Oe = { class: "PrecipitationRanking-trendTitle" }, ke = { class: "PrecipitationRanking-trendSubTitle" }, D = /* @__PURE__ */ t(/* @__PURE__ */ h({
26
26
  __name: "PrecipitationRanking",
27
27
  props: {
28
28
  mock: {
@@ -147,11 +147,11 @@ var ce = /* @__PURE__ */ e(r()), le = {
147
147
  "view"
148
148
  ],
149
149
  setup(e, { emit: t }) {
150
- let r = _()?.appContext.config.globalProperties.$bus, g = e, k = t, A = S(!1), Oe = S(!1), j = S([
150
+ let r = g()?.appContext.config.globalProperties.$bus, h = e, D = t, O = x(!1), k = x(!1), A = x([
151
151
  "30min",
152
152
  "1hour",
153
153
  "3hour"
154
- ]), M = S(!1), N = S(""), P = S([]), F = S([]), I = S([]), L = S(!1), R = S(null), z = S(null), B = null, V = null, H = [
154
+ ]), j = x(!1), M = x(""), N = x([]), P = x([]), F = x([]), I = x(!1), L = x(null), R = x(null), z = null, B = null, V = [
155
155
  {
156
156
  label: "30分钟",
157
157
  value: "30min",
@@ -177,33 +177,33 @@ var ce = /* @__PURE__ */ e(r()), le = {
177
177
  value: "12hour",
178
178
  field: "precipitation_12hour"
179
179
  }
180
- ], ke = {
180
+ ], Ae = {
181
181
  "30min": "precipitation_30min",
182
182
  "1hour": "precipitation_1hour",
183
183
  "3hour": "precipitation_3hour",
184
184
  "6hour": "precipitation_6hour",
185
185
  "12hour": "precipitation_12hour"
186
- }, U = (e, t) => {
186
+ }, H = (e, t) => {
187
187
  if (t === "custom") return e.customPrecipitation;
188
- let n = ke[t];
188
+ let n = Ae[t];
189
189
  return n ? e[n] : e.precipitation;
190
- }, W = d(() => {
191
- let e = H.filter((e) => j.value.includes(e.value));
192
- return M.value && e.push({
190
+ }, U = u(() => {
191
+ let e = V.filter((e) => A.value.includes(e.value));
192
+ return j.value && e.push({
193
193
  label: "自定义",
194
194
  value: "custom",
195
195
  field: "customPrecipitation"
196
196
  }), e;
197
- }), G = d(() => j.value.length ? j.value[0] : M.value ? "custom" : "30min"), Ae = d(() => {
198
- let e = j.value.length > 0, t = M.value && I.value.length === 2 && I.value[0] && I.value[1];
199
- return e && t ? je(P.value, F.value) : t ? F.value : P.value;
200
- }), K = d(() => {
201
- let e = [...Ae.value].sort((e, t) => {
202
- let n = Number(U(e, G.value)) || 0;
203
- return (Number(U(t, G.value)) || 0) - n;
197
+ }), W = u(() => A.value.length ? A.value[0] : j.value ? "custom" : "30min"), je = u(() => {
198
+ let e = A.value.length > 0, t = j.value && F.value.length === 2 && F.value[0] && F.value[1];
199
+ return e && t ? Me(N.value, P.value) : t ? P.value : N.value;
200
+ }), G = u(() => {
201
+ let e = [...je.value].sort((e, t) => {
202
+ let n = Number(H(e, W.value)) || 0;
203
+ return (Number(H(t, W.value)) || 0) - n;
204
204
  });
205
205
  return console.log(e, "sortedList"), e;
206
- }), q = (e) => e == null || e === "" || e === 9999, J = (e, t) => q(e) ? "--" : t ? `${e}${t}` : String(e), je = (e, t) => {
206
+ }), K = (e) => e == null || e === "" || e === 9999, q = (e, t) => K(e) ? "--" : t ? `${e}${t}` : String(e), Me = (e, t) => {
207
207
  let n = /* @__PURE__ */ new Map(), r = (e) => e.stationName || "";
208
208
  return e.forEach((e) => {
209
209
  n.set(r(e), { ...e });
@@ -211,7 +211,7 @@ var ce = /* @__PURE__ */ e(r()), le = {
211
211
  let t = r(e), i = n.get(t);
212
212
  i ? (i.customPrecipitation = e.customPrecipitation ?? e.precipitation, i.monitorTime = e.monitorTime || i.monitorTime) : n.set(t, { ...e });
213
213
  }), Array.from(n.values());
214
- }, Y = (e, t = !1) => {
214
+ }, J = (e, t = !1) => {
215
215
  if (console.log(e, "output"), e && Array.isArray(e.list)) return t ? e.list.map((e) => ({
216
216
  ...e,
217
217
  customPrecipitation: e.sumPre ?? e.precipitation
@@ -222,7 +222,7 @@ var ce = /* @__PURE__ */ e(r()), le = {
222
222
  let i = String(t || r), a = n.get(i);
223
223
  return a || (a = {
224
224
  stationName: r || "",
225
- stationCode: e.stationId || e.stationCode || ""
225
+ stationCode: e.stationId || e.stationCode || e.stationid || ""
226
226
  }, n.set(i, a)), a;
227
227
  }, i = (e, t = !1) => {
228
228
  if (!e || typeof e != "object") return;
@@ -232,20 +232,20 @@ var ce = /* @__PURE__ */ e(r()), le = {
232
232
  !e || typeof e != "object" || (Array.isArray(e) ? e.forEach((e) => a(e, t)) : e.stationName || e.stationId ? i(e, t) : Object.values(e).forEach((e) => a(e, t)));
233
233
  };
234
234
  return a(e, t), Array.from(n.values());
235
- }, Me = (e) => {
235
+ }, Ne = (e) => {
236
236
  let t = Number(e);
237
- return q(e) || isNaN(t) || t === 0 ? "无降水" : t < 10 ? "小雨" : t < 25 ? "中雨" : t < 50 ? "大雨" : t < 100 ? "暴雨" : t < 250 ? "大暴雨" : "特大暴雨";
238
- }, Ne = () => {
239
- k("close", "PrecipitationRanking");
240
- }, Pe = (e) => {
241
- k("rowClick", e);
237
+ return K(e) || isNaN(t) || t === 0 ? "无降水" : t < 10 ? "小雨" : t < 25 ? "中雨" : t < 50 ? "大雨" : t < 100 ? "暴雨" : t < 250 ? "大暴雨" : "特大暴雨";
238
+ }, Pe = () => {
239
+ D("close", "PrecipitationRanking");
242
240
  }, Fe = (e) => {
243
- R.value = e, L.value = !0, v(() => {
244
- Be();
241
+ D("rowClick", e);
242
+ }, Ie = (e) => {
243
+ L.value = e, I.value = !0, _(() => {
244
+ Ve();
245
245
  });
246
- }, Ie = () => {
247
- L.value = !1, B &&= (B.dispose(), null);
248
- }, Le = () => ({
246
+ }, Le = () => {
247
+ I.value = !1, z &&= (z.dispose(), null);
248
+ }, Re = () => ({
249
249
  times: [
250
250
  "02时",
251
251
  "03时",
@@ -303,60 +303,103 @@ var ce = /* @__PURE__ */ e(r()), le = {
303
303
  30,
304
304
  30
305
305
  ]
306
- }), Re = async () => {
307
- if (!R.value) return null;
308
- if (g.mock) return R.value.trendData || Le();
309
- let e = X("trend");
306
+ }), ze = async () => {
307
+ if (!L.value) return null;
308
+ if (h.mock) return L.value.trendData || Re();
309
+ let e = Y("trend");
310
310
  if (!e) return console.warn("PrecipitationRanking 缺少趋势图工作流配置"), null;
311
+ console.log(L.value, "currentRow.value12");
311
312
  try {
312
- return Z(await n({
313
+ let t = X(await n({
313
314
  id: e.id,
314
- baseHttp: g.baseHttp,
315
+ baseHttp: h.baseHttp,
315
316
  reqType: e.reqType,
316
- variables: {
317
- stationCode: R.value.stationCode,
318
- stationName: R.value.stationName
319
- },
317
+ variables: { stationIdC: L.value.stationCode || L.value.stationid || "" },
320
318
  isFormData: e.isFormData,
321
- appKey: g.appKey,
322
- appSalt: g.appSalt
323
- })) || null;
319
+ appKey: h.appKey,
320
+ appSalt: h.appSalt
321
+ }));
322
+ if (!t) return null;
323
+ let r = t.situationData || t.situation || [], i = t.forecastData || t.forecast || [], a = (e) => {
324
+ if (!e) return "--";
325
+ let t = e.split(" ");
326
+ return t.length > 1 ? `${t[0].slice(5)} ${t[1].slice(0, 2)}时` : e;
327
+ }, o = [], s = [], c = [];
328
+ return r.forEach((e) => {
329
+ let t = e.datetime_bj || e.data_time || e.time || "", n = Number(e.pre_1h ?? e.pre1h ?? e.precipitation ?? 0);
330
+ o.push(a(t)), s.push(isNaN(n) ? 0 : n);
331
+ }), i.forEach((e) => {
332
+ let t = e.f_time || e.forecast_time || e.data_time || "", n = Number(e.er01 ?? e.precipitation ?? 0);
333
+ o.push(a(t)), c.push(n);
334
+ }), {
335
+ times: o,
336
+ unit: "mm",
337
+ actual: s,
338
+ forecast: c,
339
+ threshold: []
340
+ };
324
341
  } catch (e) {
325
342
  return console.error("PrecipitationRanking 趋势图数据加载失败", e), null;
326
343
  }
327
- }, ze = (e) => {
344
+ }, Be = (e) => {
328
345
  let t = [];
329
346
  if (e.actual.forEach((e) => !isNaN(Number(e)) && t.push(Number(e))), e.forecast.forEach((e) => !isNaN(Number(e)) && t.push(Number(e))), e.threshold.forEach((e) => !isNaN(Number(e)) && t.push(Number(e))), !t.length) return;
330
347
  let n = Math.max(...t);
331
348
  return n <= 0 ? 10 : Math.ceil(n * 1.1);
332
- }, Be = async () => {
333
- if (!z.value) return;
334
- let e = await Re();
349
+ }, Ve = async () => {
350
+ if (!R.value) return;
351
+ let e = await ze();
335
352
  if (!e) return;
336
- B && B.dispose(), B = D.init(z.value);
337
- let t = e.actual.length, n = "#FADB14", r = (e) => {
338
- let t = e.replace(/(\d+)时$/, "$1:00:00").replace(/(\d+)时(\d+)分$/, "$1:$2:00"), n = new Date(t);
339
- return isNaN(n.getTime()) ? null : n;
340
- }, i = (() => {
341
- if (!e.times.length || !e.forecast.length) return [];
342
- let t = r(e.times[e.times.length - 1]), n = 36e5;
343
- if (e.times.length > 1) {
344
- let i = r(e.times[e.times.length - 2]);
345
- t && i && (n = t.getTime() - i.getTime());
353
+ z && z.dispose(), z = T.init(R.value);
354
+ let t = e.actual.length, n = new T.graphic.LinearGradient(0, 0, 0, 1, [{
355
+ offset: 0,
356
+ color: "rgba(64, 158, 255, 0.9)"
357
+ }, {
358
+ offset: 1,
359
+ color: "rgba(64, 158, 255, 0.2)"
360
+ }]), r = new T.graphic.LinearGradient(0, 0, 0, 1, [{
361
+ offset: 0,
362
+ color: "rgba(255, 255, 255, 0.9)"
363
+ }, {
364
+ offset: 1,
365
+ color: "rgba(255, 255, 255, 0.2)"
366
+ }]), i = [...e.actual.map((e) => ({
367
+ value: e,
368
+ itemStyle: {
369
+ color: n,
370
+ borderRadius: [
371
+ 4,
372
+ 4,
373
+ 0,
374
+ 0
375
+ ]
346
376
  }
347
- let i = [];
348
- for (let r = 0; r < e.forecast.length; r++) if (t) {
349
- let e = new Date(t.getTime() + n * (r + 1));
350
- i.push(`${String(e.getHours()).padStart(2, "0")}时`);
351
- } else {
352
- let t = e.times[e.times.length - 1].match(/(\d+)/), n = t ? parseInt(t[1]) : 0;
353
- n = (n + r + 1) % 24, i.push(`${String(n).padStart(2, "0")}时`);
377
+ })), ...e.forecast.map((e) => ({
378
+ value: e,
379
+ itemStyle: {
380
+ color: r,
381
+ borderRadius: [
382
+ 4,
383
+ 4,
384
+ 0,
385
+ 0
386
+ ]
354
387
  }
355
- return i;
356
- })(), a = [...e.times, ...i], o = [...e.actual, ...e.forecast.map(() => null)], s = [...e.actual.map(() => null), ...e.forecast], c = [...e.actual, ...e.forecast.map(() => null)], l = Array(a.length).fill(null);
357
- l[t - 1] = e.actual[t - 1];
358
- for (let n = 0; n < e.forecast.length; n++) l[t + n] = e.forecast[n];
359
- let u = {
388
+ }))], a = [{
389
+ name: "降水实况",
390
+ icon: "rect",
391
+ itemStyle: { color: "rgba(64, 158, 255, 0.8)" }
392
+ }, {
393
+ name: "预报数据",
394
+ icon: "rect",
395
+ itemStyle: { color: "rgba(255, 255, 255, 0.8)" }
396
+ }], o = e.threshold && e.threshold.length > 0;
397
+ o && a.push({
398
+ name: "阈值",
399
+ icon: "line",
400
+ itemStyle: { color: "#FF4D4F" }
401
+ });
402
+ let s = {
360
403
  backgroundColor: "transparent",
361
404
  grid: {
362
405
  top: 40,
@@ -365,11 +408,7 @@ var ce = /* @__PURE__ */ e(r()), le = {
365
408
  left: 48
366
409
  },
367
410
  legend: {
368
- data: [
369
- "阈值",
370
- "降水实况",
371
- "预测值"
372
- ],
411
+ data: a.map((e) => e.name),
373
412
  right: 0,
374
413
  top: 0,
375
414
  textStyle: {
@@ -385,27 +424,28 @@ var ce = /* @__PURE__ */ e(r()), le = {
385
424
  borderColor: "rgba(64, 158, 255, 0.4)",
386
425
  textStyle: { color: "#fff" },
387
426
  formatter: (n) => {
388
- let r = n[0]?.axisValue || "", i = /* @__PURE__ */ new Map();
389
- return n.forEach((e) => {
390
- if (e.seriesName === "预测值" && e.dataIndex === t - 1 || e.value === null || e.value === void 0 || isNaN(Number(e.value))) return;
391
- let n = `${e.seriesName}:${e.value}`;
392
- i.has(n) || i.set(n, e);
393
- }), `${r}<br/>${Array.from(i.values()).map((t) => `${t.marker} ${t.seriesName}: ${t.value}${e.unit}`).join("<br/>")}`;
427
+ let r = n[0]?.axisValue || "", i = [];
428
+ return n.forEach((n) => {
429
+ if (n.value === null || n.value === void 0 || isNaN(Number(n.value))) return;
430
+ let r = n.dataIndex < t ? "降水实况" : "预报数据";
431
+ i.push(`${n.marker} ${r}: ${n.value}${e.unit}`);
432
+ }), `${r}<br/>${i.join("<br/>")}`;
394
433
  }
395
434
  },
396
435
  xAxis: {
397
436
  type: "category",
398
- data: a,
437
+ data: e.times,
399
438
  axisLine: { lineStyle: { color: "rgba(255,255,255,0.3)" } },
400
439
  axisLabel: {
401
440
  color: "rgba(255,255,255,0.7)",
402
- fontSize: 11
441
+ fontSize: 10,
442
+ rotate: e.times.length > 12 ? 30 : 0
403
443
  },
404
444
  axisTick: { show: !1 }
405
445
  },
406
446
  yAxis: {
407
447
  type: "value",
408
- max: ze(e),
448
+ max: Be(e),
409
449
  name: `单位:${e.unit}`,
410
450
  nameTextStyle: {
411
451
  color: "rgba(255,255,255,0.7)",
@@ -424,208 +464,133 @@ var ce = /* @__PURE__ */ e(r()), le = {
424
464
  splitLine: { show: !1 },
425
465
  axisTick: { show: !1 }
426
466
  },
427
- series: [
428
- {
429
- name: "阈值",
430
- type: "line",
431
- data: a.map((t, n) => e.threshold[n] ?? e.threshold[e.threshold.length - 1] ?? 0),
432
- itemStyle: { color: "#FF4D4F" },
433
- lineStyle: {
434
- type: "dashed",
435
- width: 1
436
- },
437
- symbol: "none",
438
- markLine: {
439
- silent: !0,
440
- symbol: "none",
441
- lineStyle: {
442
- color: "#FF4D4F",
443
- type: "dashed",
444
- width: 1
445
- },
446
- label: { show: !1 },
447
- data: a.map((t, n) => ({
448
- xAxis: t,
449
- yAxis: e.threshold[n] ?? e.threshold[e.threshold.length - 1] ?? 0
450
- }))
451
- }
452
- },
453
- {
454
- name: "降水实况",
455
- type: "bar",
456
- data: o,
457
- barWidth: "40%",
458
- itemStyle: {
459
- color: new D.graphic.LinearGradient(0, 0, 0, 1, [{
460
- offset: 0,
461
- color: "rgba(5, 221, 250, 0.85)"
462
- }, {
463
- offset: 1,
464
- color: "rgba(5, 221, 250, 0.15)"
465
- }]),
466
- borderRadius: [
467
- 4,
468
- 4,
469
- 0,
470
- 0
471
- ]
472
- }
473
- },
474
- {
475
- name: "预测值",
476
- type: "bar",
477
- data: s,
478
- barWidth: "40%",
479
- itemStyle: {
480
- color: new D.graphic.LinearGradient(0, 0, 0, 1, [{
481
- offset: 0,
482
- color: "rgba(250, 219, 20, 0.85)"
483
- }, {
484
- offset: 1,
485
- color: "rgba(250, 219, 20, 0.15)"
486
- }]),
487
- borderRadius: [
488
- 4,
489
- 4,
490
- 0,
491
- 0
492
- ]
493
- }
494
- },
495
- {
496
- name: "降水实况",
497
- type: "line",
498
- data: c,
499
- smooth: !0,
500
- itemStyle: { color: "#05ddfa" },
501
- lineStyle: { width: 2 },
502
- symbol: "circle",
503
- symbolSize: 5,
504
- areaStyle: { color: new D.graphic.LinearGradient(0, 0, 0, 1, [{
505
- offset: 0,
506
- color: "rgba(5, 221, 250, 0.3)"
507
- }, {
508
- offset: 1,
509
- color: "rgba(5, 221, 250, 0.02)"
510
- }]) }
511
- },
512
- {
513
- name: "预测值",
514
- type: "line",
515
- data: l,
516
- smooth: !0,
517
- itemStyle: { color: n },
518
- lineStyle: {
519
- type: "dashed",
520
- width: 2,
521
- color: n
522
- },
523
- symbol: "circle",
524
- symbolSize: 5
467
+ series: [{
468
+ name: "降水趋势",
469
+ type: "bar",
470
+ data: i,
471
+ barWidth: "50%",
472
+ itemStyle: {
473
+ color: n,
474
+ borderRadius: [
475
+ 4,
476
+ 4,
477
+ 0,
478
+ 0
479
+ ]
525
480
  }
526
- ]
481
+ }]
527
482
  };
528
- B.setOption(u);
529
- }, Ve = ({ rowIndex: e }) => {
483
+ o && s.series.push({
484
+ name: "阈值",
485
+ type: "line",
486
+ data: e.times.map((t, n) => e.threshold[n] ?? e.threshold[e.threshold.length - 1] ?? 0),
487
+ itemStyle: { color: "#FF4D4F" },
488
+ lineStyle: {
489
+ type: "dashed",
490
+ width: 1
491
+ },
492
+ symbol: "none"
493
+ }), z.setOption(s);
494
+ }, He = ({ rowIndex: e }) => {
530
495
  if (e > 2) return "";
531
- let t = K.value[e];
496
+ let t = G.value[e];
532
497
  return !t || !Number(t.precipitation) ? "" : e === 0 ? "PrecipitationRanking-row--top1" : e === 1 ? "PrecipitationRanking-row--top2" : e === 2 ? "PrecipitationRanking-row--top3" : "";
533
- }, He = () => {
534
- j.value = ["30min"], M.value = !1, I.value = [], P.value = [], F.value = [];
535
- }, Ue = (e) => {
536
- let t = j.value.indexOf(e);
537
- if (t > -1) (j.value.length > 1 || M.value) && j.value.splice(t, 1);
498
+ }, Ue = () => {
499
+ A.value = ["30min"], j.value = !1, F.value = [], N.value = [], P.value = [];
500
+ }, We = (e) => {
501
+ let t = A.value.indexOf(e);
502
+ if (t > -1) (A.value.length > 1 || j.value) && A.value.splice(t, 1);
538
503
  else {
539
- if (j.value.length >= 3) {
540
- O.warning("最多同时选择3个时段");
504
+ if (A.value.length >= 3) {
505
+ E.warning("最多同时选择3个时段");
541
506
  return;
542
507
  }
543
- j.value.push(e);
508
+ A.value.push(e);
544
509
  }
545
510
  Q();
546
- }, We = () => {
547
- if (M.value) M.value = !1, I.value = [], F.value = [], j.value.length || (j.value = ["30min"], Q());
511
+ }, Ge = () => {
512
+ if (j.value) j.value = !1, F.value = [], P.value = [], A.value.length || (A.value = ["30min"], Q());
548
513
  else {
549
- if (j.value.length >= 3) {
550
- O.warning("最多同时选择3个时段");
514
+ if (A.value.length >= 3) {
515
+ E.warning("最多同时选择3个时段");
551
516
  return;
552
517
  }
553
- M.value = !0;
518
+ j.value = !0;
554
519
  }
555
- }, Ge = () => {
556
- I.value?.length === 2 && I.value[0] && I.value[1] ? $() : (F.value = [], j.value.length && Q());
557
- }, X = (e) => {
558
- let t = g.ids[e] || g.ids.data;
520
+ }, Ke = () => {
521
+ F.value?.length === 2 && F.value[0] && F.value[1] ? $() : (P.value = [], A.value.length && Q());
522
+ }, Y = (e) => {
523
+ let t = h.ids[e] || h.ids.data;
559
524
  return t?.id ? t : null;
560
- }, Z = (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, Ke = {
525
+ }, X = (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, qe = {
561
526
  "30min": 30,
562
527
  "1hour": 60,
563
528
  "3hour": 180,
564
529
  "6hour": 360,
565
530
  "12hour": 720
566
- }, qe = () => {
567
- let e = /* @__PURE__ */ new Date(), t = new Date(e), n = Math.max(...j.value.map((e) => Ke[e] || 30));
531
+ }, Je = () => {
532
+ let e = /* @__PURE__ */ new Date(), t = new Date(e), n = Math.max(...A.value.map((e) => qe[e] || 30));
568
533
  return t.setMinutes(e.getMinutes() - n), {
569
- startDate: Ye(t),
570
- endDate: Ye(e),
534
+ startDate: Z(t),
535
+ endDate: Z(e),
571
536
  isCustom: "0"
572
537
  };
573
- }, Je = () => ({
574
- startDate: I.value[0] ? `${I.value[0]}:00:00` : "",
575
- endDate: I.value[1] ? `${I.value[1]}:00:00` : "",
538
+ }, Ye = () => ({
539
+ startDate: F.value[0] ? `${F.value[0]}:00:00` : "",
540
+ endDate: F.value[1] ? `${F.value[1]}:00:00` : "",
576
541
  isCustom: "1"
577
- }), Ye = (e) => {
542
+ }), Z = (e) => {
578
543
  let t = (e) => String(e).padStart(2, "0");
579
544
  return `${e.getFullYear()}-${t(e.getMonth() + 1)}-${t(e.getDate())} ${t(e.getHours())}:${t(e.getMinutes())}:${t(e.getSeconds())}`;
580
545
  }, Xe = () => {
581
- let e = g.mockData;
582
- P.value = e.list || [], N.value = e.dataTime || "";
546
+ let e = h.mockData;
547
+ N.value = e.list || [], M.value = e.dataTime || "";
583
548
  }, Ze = async (e) => {
584
- let t = X("data");
549
+ let t = Y("data");
585
550
  if (!t) return console.warn("PrecipitationRanking 缺少工作流配置"), [];
586
- let r = Z(await n({
551
+ let r = X(await n({
587
552
  id: t.id,
588
- baseHttp: g.baseHttp,
553
+ baseHttp: h.baseHttp,
589
554
  reqType: t.reqType,
590
555
  variables: e.isCustom == "0" ? { isCustom: e.isCustom } : e.isCustom == "1" ? e : {},
591
556
  isFormData: t.isFormData,
592
- appKey: g.appKey,
593
- appSalt: g.appSalt
557
+ appKey: h.appKey,
558
+ appSalt: h.appSalt
594
559
  }));
595
- return r?.dataTime && (N.value = r.dataTime), console.log(Y(r, e.isCustom == "1"), "output1"), Y(r, e.isCustom == "1");
560
+ return r?.dataTime && (M.value = r.dataTime), console.log(J(r, e.isCustom == "1"), "output1"), J(r, e.isCustom == "1");
596
561
  }, Q = async () => {
597
- if (!(g.mock || j.value.length === 0) && X("data")) try {
598
- P.value = await Ze(qe());
562
+ if (!(h.mock || A.value.length === 0) && Y("data")) try {
563
+ N.value = await Ze(Je());
599
564
  } catch (e) {
600
- console.error("PrecipitationRanking 固定时段数据加载失败", e), P.value = [];
565
+ console.error("PrecipitationRanking 固定时段数据加载失败", e), N.value = [];
601
566
  }
602
567
  }, Qe = async () => {
603
- if (!(g.mock || I.value.length !== 2) && X("data")) try {
604
- F.value = await Ze(Je());
568
+ if (!(h.mock || F.value.length !== 2) && Y("data")) try {
569
+ P.value = await Ze(Ye());
605
570
  } catch (e) {
606
- console.error("PrecipitationRanking 自定义时段数据加载失败", e), F.value = [];
571
+ console.error("PrecipitationRanking 自定义时段数据加载失败", e), P.value = [];
607
572
  }
608
573
  }, $ = async () => {
609
- if (A.value = !0, g.mock) Xe();
574
+ if (O.value = !0, h.mock) Xe();
610
575
  else {
611
- let e = j.value.length > 0, t = M.value && I.value.length === 2 && I.value[0] && I.value[1];
576
+ let e = A.value.length > 0, t = j.value && F.value.length === 2 && F.value[0] && F.value[1];
612
577
  e && t ? await Promise.all([Q(), Qe()]) : t ? await Qe() : await Q();
613
578
  }
614
- A.value = !1;
579
+ O.value = !1;
615
580
  }, $e = async () => {
616
- Oe.value = !0, He(), await $(), setTimeout(() => {
617
- Oe.value = !1;
581
+ k.value = !0, Ue(), await $(), setTimeout(() => {
582
+ k.value = !1;
618
583
  }, 500);
619
584
  }, et = () => {
620
- let e = W.value.map((e) => e.label + "降水量(mm)"), t = K.value.map((e, t) => {
585
+ let e = U.value.map((e) => e.label + "降水量(mm)"), t = G.value.map((e, t) => {
621
586
  let n = {
622
587
  序号: t + 1,
623
588
  站名: e.stationName,
624
589
  行政区: e.district || "--"
625
590
  };
626
- return W.value.forEach((t) => {
627
- n[t.label + "降水量(mm)"] = J(U(e, t.value), "");
628
- }), n.降水等级 = Me(U(e, G.value)), n.数据时间 = e.monitorTime || N.value || "", n;
591
+ return U.value.forEach((t) => {
592
+ n[t.label + "降水量(mm)"] = q(H(e, t.value), "");
593
+ }), n.降水等级 = Ne(H(e, W.value)), n.数据时间 = e.monitorTime || M.value || "", n;
629
594
  }), n = [
630
595
  "序号",
631
596
  "站名",
@@ -637,11 +602,11 @@ var ce = /* @__PURE__ */ e(r()), le = {
637
602
  8,
638
603
  18,
639
604
  16,
640
- ...W.value.map(() => 18),
605
+ ...U.value.map(() => 18),
641
606
  14,
642
607
  20
643
608
  ];
644
- new ce.default({
609
+ new ue.default({
645
610
  fileName: `自动站降水排名_${(/* @__PURE__ */ new Date()).getTime()}`,
646
611
  datas: [{
647
612
  sheetData: t,
@@ -652,26 +617,26 @@ var ce = /* @__PURE__ */ e(r()), le = {
652
617
  }]
653
618
  }).saveExcel();
654
619
  }, tt = () => {
655
- nt(), !(g.refreshInterval <= 0) && (V = setInterval(() => {
620
+ nt(), !(h.refreshInterval <= 0) && (B = setInterval(() => {
656
621
  $();
657
- }, g.refreshInterval));
622
+ }, h.refreshInterval));
658
623
  }, nt = () => {
659
- V &&= (clearInterval(V), null);
624
+ B &&= (clearInterval(B), null);
660
625
  };
661
- return ne(() => {
626
+ return re(() => {
662
627
  r?.on("toComponent", (e) => {
663
628
  e.componentName === "PrecipitationRanking" && $();
664
629
  }), $(), tt();
665
- }), b(() => {
666
- nt(), B &&= (B.dispose(), null);
630
+ }), y(() => {
631
+ nt(), z &&= (z.dispose(), null);
667
632
  }), (t, n) => {
668
- let r = o, d = a, g = i, _ = l, v = c, b = s;
669
- return re((x(), p("div", le, [
670
- m("button", {
633
+ let r = o, u = a, h = i, g = ee, _ = c, y = s;
634
+ return ae((b(), f("div", de, [
635
+ p("button", {
671
636
  class: "PrecipitationRanking-close",
672
- onClick: Ne
673
- }, [...n[1] ||= [m("span", null, "✕", -1)]]),
674
- m("div", ue, [m("div", de, [n[2] ||= m("h3", { class: "PrecipitationRanking-title" }, "自动站降水排名", -1), N.value ? (x(), p("span", fe, "(数据时间:" + w(N.value) + ")", 1)) : f("", !0)]), n[3] ||= m("img", {
637
+ onClick: Pe
638
+ }, [...n[1] ||= [p("span", null, "✕", -1)]]),
639
+ p("div", fe, [p("div", pe, [n[2] ||= p("h3", { class: "PrecipitationRanking-title" }, "自动站降水排名", -1), M.value ? (b(), f("span", me, "(数据时间:" + S(M.value) + ")", 1)) : d("", !0)]), n[3] ||= p("img", {
675
640
  style: {
676
641
  width: "100%",
677
642
  "object-fit": "contain",
@@ -680,30 +645,30 @@ var ce = /* @__PURE__ */ e(r()), le = {
680
645
  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",
681
646
  alt: ""
682
647
  }, null, -1)]),
683
- m("div", pe, [m("div", me, [n[6] ||= m("span", { class: "PrecipitationRanking-toolbarLabel" }, "时间选择", -1), m("div", he, [m("button", {
648
+ p("div", he, [p("div", ge, [n[6] ||= p("span", { class: "PrecipitationRanking-toolbarLabel" }, "时间选择", -1), p("div", _e, [p("button", {
684
649
  class: "PrecipitationRanking-btn",
685
650
  onClick: et
686
- }, [h(r, { class: "PrecipitationRanking-icon" }, {
687
- default: E(() => [h(T(ae))]),
651
+ }, [m(r, { class: "PrecipitationRanking-icon" }, {
652
+ default: w(() => [m(C(se))]),
688
653
  _: 1
689
- }), n[4] ||= m("span", null, "导出", -1)]), m("button", {
654
+ }), n[4] ||= p("span", null, "导出", -1)]), p("button", {
690
655
  class: "PrecipitationRanking-btn",
691
656
  onClick: $e
692
- }, [h(r, { class: "PrecipitationRanking-icon" }, {
693
- default: E(() => [h(T(oe))]),
657
+ }, [m(r, { class: "PrecipitationRanking-icon" }, {
658
+ default: w(() => [m(C(ce))]),
694
659
  _: 1
695
- }), n[5] ||= m("span", null, "刷新", -1)])])]), m("div", ge, [m("div", _e, [(x(), p(u, null, C(H, (e) => m("button", {
660
+ }), n[5] ||= p("span", null, "刷新", -1)])])]), p("div", ve, [p("div", ye, [(b(), f(l, null, ie(V, (e) => p("button", {
696
661
  key: e.value,
697
- class: y(["PrecipitationRanking-timeTag", { "PrecipitationRanking-timeTag--active": j.value.includes(e.value) }]),
698
- onClick: (t) => Ue(e.value)
699
- }, w(e.label), 11, ve)), 64)), m("button", {
700
- class: y(["PrecipitationRanking-timeTag", { "PrecipitationRanking-timeTag--active": M.value }]),
701
- onClick: We
662
+ class: v(["PrecipitationRanking-timeTag", { "PrecipitationRanking-timeTag--active": A.value.includes(e.value) }]),
663
+ onClick: (t) => We(e.value)
664
+ }, S(e.label), 11, be)), 64)), p("button", {
665
+ class: v(["PrecipitationRanking-timeTag", { "PrecipitationRanking-timeTag--active": j.value }]),
666
+ onClick: Ge
702
667
  }, " 自定义 ", 2)])])]),
703
- M.value ? (x(), p("div", ye, [n[7] ||= m("span", { class: "PrecipitationRanking-customLabel" }, "时间范围", -1), h(g, { locale: T(se) }, {
704
- default: E(() => [h(d, {
705
- modelValue: I.value,
706
- "onUpdate:modelValue": n[0] ||= (e) => I.value = e,
668
+ j.value ? (b(), f("div", xe, [n[7] ||= p("span", { class: "PrecipitationRanking-customLabel" }, "时间范围", -1), m(h, { locale: C(le) }, {
669
+ default: w(() => [m(u, {
670
+ modelValue: F.value,
671
+ "onUpdate:modelValue": n[0] ||= (e) => F.value = e,
707
672
  type: "datetimerange",
708
673
  "range-separator": "至",
709
674
  "start-placeholder": "开始时间",
@@ -713,68 +678,68 @@ var ce = /* @__PURE__ */ e(r()), le = {
713
678
  clearable: "",
714
679
  class: "PrecipitationRanking-datePicker",
715
680
  "popper-class": "PrecipitationRanking-datePopper",
716
- onChange: Ge
681
+ onChange: Ke
717
682
  }, null, 8, ["modelValue"])]),
718
683
  _: 1
719
- }, 8, ["locale"])])) : f("", !0),
720
- m("div", be, [m("div", xe, [h(v, {
721
- data: K.value,
684
+ }, 8, ["locale"])])) : d("", !0),
685
+ p("div", Se, [p("div", Ce, [m(_, {
686
+ data: G.value,
722
687
  class: "PrecipitationRanking-table",
723
688
  height: e.tableHeight,
724
689
  "empty-text": "暂无数据",
725
- "row-class-name": Ve,
726
- onRowClick: Pe
690
+ "row-class-name": He,
691
+ onRowClick: Fe
727
692
  }, {
728
- default: E(() => [
729
- h(_, {
693
+ default: w(() => [
694
+ m(g, {
730
695
  label: "序号",
731
696
  align: "center",
732
697
  width: "70"
733
698
  }, {
734
- default: E(({ $index: e }) => [m("span", { class: y(["PrecipitationRanking-rank", `PrecipitationRanking-rank--${e + 1}`]) }, w(e + 1), 3)]),
699
+ default: w(({ $index: e }) => [p("span", { class: v(["PrecipitationRanking-rank", `PrecipitationRanking-rank--${e + 1}`]) }, S(e + 1), 3)]),
735
700
  _: 1
736
701
  }),
737
- h(_, {
702
+ m(g, {
738
703
  prop: "stationName",
739
704
  label: "站名",
740
705
  align: "left",
741
706
  "min-width": "80",
742
707
  "show-overflow-tooltip": ""
743
708
  }),
744
- (x(!0), p(u, null, C(W.value, (e) => (x(), ee(_, {
709
+ (b(!0), f(l, null, ie(U.value, (e) => (b(), te(g, {
745
710
  key: e.value,
746
711
  label: e.label + "(mm)",
747
712
  align: "center",
748
713
  "min-width": "100"
749
714
  }, {
750
- default: E(({ row: t }) => [te(w(J(U(t, e.value), "")), 1)]),
715
+ default: w(({ row: t }) => [ne(S(q(H(t, e.value), "")), 1)]),
751
716
  _: 2
752
717
  }, 1032, ["label"]))), 128)),
753
- h(_, {
718
+ m(g, {
754
719
  label: "趋势",
755
720
  align: "center",
756
721
  width: "70"
757
722
  }, {
758
- default: E(({ row: e }) => [m("span", {
723
+ default: w(({ row: e }) => [p("span", {
759
724
  class: "PrecipitationRanking-viewLink",
760
- onClick: ie((t) => Fe(e), ["stop"])
761
- }, "查看", 8, Se)]),
725
+ onClick: oe((t) => Ie(e), ["stop"])
726
+ }, "查看", 8, we)]),
762
727
  _: 1
763
728
  })
764
729
  ]),
765
730
  _: 1
766
731
  }, 8, ["data", "height"])])]),
767
- L.value ? (x(), p("div", Ce, [m("div", we, [m("div", Te, [m("div", Ee, [n[8] ||= m("span", null, "趋势图表", -1), m("span", De, w(R.value?.stationName), 1)]), m("button", {
732
+ I.value ? (b(), f("div", Te, [p("div", Ee, [p("div", De, [p("div", Oe, [n[8] ||= p("span", null, "趋势图表", -1), p("span", ke, S(L.value?.stationName), 1)]), p("button", {
768
733
  class: "PrecipitationRanking-trendClose",
769
- onClick: Ie
770
- }, "✕")]), m("div", {
734
+ onClick: Le
735
+ }, "✕")]), p("div", {
771
736
  ref_key: "trendChartRef",
772
- ref: z,
737
+ ref: R,
773
738
  class: "PrecipitationRanking-trendChart"
774
- }, null, 512)])])) : f("", !0)
775
- ])), [[b, A.value]]);
739
+ }, null, 512)])])) : d("", !0)
740
+ ])), [[y, O.value]]);
776
741
  };
777
742
  }
778
- }), [["__scopeId", "data-v-a8eab84d"]]);
743
+ }), [["__scopeId", "data-v-3b8e660b"]]);
779
744
  //#endregion
780
- export { k as t };
745
+ export { D as t };