nxd-plugin 1.8.35 → 1.8.37

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 (85) hide show
  1. package/dist/chunks/YCServiceSummary-tHEqhFHj.mjs +2 -0
  2. package/dist/chunks/{component-Agent-Cr-ntDoH.mjs → component-Agent-DqXO06Ql.mjs} +27610 -1518
  3. package/dist/chunks/{component-AiChat-DApn4-2y.mjs → component-AiChat-C8NFYtVc.mjs} +155 -151
  4. package/dist/chunks/{component-AqiMonitor-BUXDYKbQ.mjs → component-AqiMonitor-WvrknfI9.mjs} +9 -9
  5. package/dist/chunks/{component-ChartCumulativePre-BaHd1iUO.mjs → component-ChartCumulativePre-B9Prk8Sx.mjs} +7 -7
  6. package/dist/chunks/{component-ChartServiceMaterial-R-h4rGRH.mjs → component-ChartServiceMaterial-dSZ_Pec0.mjs} +6 -6
  7. package/dist/chunks/{component-Duty-D_8KvfNe.mjs → component-Duty-CcPTE385.mjs} +6 -6
  8. package/dist/chunks/{component-EarlyWarningStatistic-BCrTZD4q.mjs → component-EarlyWarningStatistic-Ug-1jfiU.mjs} +6 -6
  9. package/dist/chunks/{component-EarlyWarningStatistic2-BR0gmPUZ.mjs → component-EarlyWarningStatistic2-BnZqgK4P.mjs} +15 -15
  10. package/dist/chunks/{component-Forecast72h-B85PYYlt.mjs → component-Forecast72h-5DGIhVUd.mjs} +16 -16
  11. package/dist/chunks/{component-GeologyLiveAlarm-D-8PLp8C.mjs → component-GeologyLiveAlarm-Bg710d1g.mjs} +7 -7
  12. package/dist/chunks/{component-GridForecastMsg-DP0QB8OG.mjs → component-GridForecastMsg-D0jzurbN.mjs} +8 -8
  13. package/dist/chunks/{component-HDSeaLegend-Lx4CVdBe.mjs → component-HDSeaLegend-D5FWHvmR.mjs} +2 -2
  14. package/dist/chunks/component-HdCameraList-4ArboSf0.mjs +916 -0
  15. package/dist/chunks/{component-HdFarmStation-QWV3F5p7.mjs → component-HdFarmStation-D9qZ2csY.mjs} +11 -11
  16. package/dist/chunks/{component-HdFarmStationDialog-C42Kalh1.mjs → component-HdFarmStationDialog-DHGlfkae.mjs} +33 -33
  17. package/dist/chunks/{component-HdForecastProducts-BgjJEfkx.mjs → component-HdForecastProducts-qj9Yzh7D.mjs} +10 -10
  18. package/dist/chunks/{component-HdHeatChart-CCRZPuMc.mjs → component-HdHeatChart-Br63YpFN.mjs} +65 -63
  19. package/dist/chunks/{component-HdHeatChartDialog-DeoxDSyl.mjs → component-HdHeatChartDialog-DOkB8heB.mjs} +11 -11
  20. package/dist/chunks/{component-HdHeatService-CmbwlkaA.mjs → component-HdHeatService-BeUpAmBA.mjs} +34 -34
  21. package/dist/chunks/{component-HdInsectDetailList-By-U2peB.mjs → component-HdInsectDetailList-C9tAtciq.mjs} +16 -16
  22. package/dist/chunks/{component-HdInsectList-BlVzoIgO.mjs → component-HdInsectList-pU1-mQ-C.mjs} +18 -18
  23. package/dist/chunks/{component-HdMajorActivity-DNeXIzo9.mjs → component-HdMajorActivity-DSPYsbdQ.mjs} +23 -23
  24. package/dist/chunks/{component-HdObservation-CT3xn1ly.mjs → component-HdObservation-osOGizJv.mjs} +10 -10
  25. package/dist/chunks/{component-HdPreSituation-DDNcwiwp.mjs → component-HdPreSituation-Ca_d4L11.mjs} +9 -9
  26. package/dist/chunks/{component-HdQxServiceEffects-BBzdn4-G.mjs → component-HdQxServiceEffects-CtlLJVdx.mjs} +10 -10
  27. package/dist/chunks/{component-HdRadarList-BqobCRLG.mjs → component-HdRadarList-CgWMdwBo.mjs} +3 -3
  28. package/dist/chunks/{component-HdRadarTime-D_4TfBtL.mjs → component-HdRadarTime-Bp7D80GJ.mjs} +12 -12
  29. package/dist/chunks/{component-HdRadarTimeLine-1eC-qOqz.mjs → component-HdRadarTimeLine-DfOce6fK.mjs} +13 -13
  30. package/dist/chunks/{component-HdRisk-Dq273IqG.mjs → component-HdRisk-Bd3if-1-.mjs} +11 -11
  31. package/dist/chunks/{component-HdSeaCase-FmlzNkBj.mjs → component-HdSeaCase-CbY3FsOy.mjs} +26 -26
  32. package/dist/chunks/{component-HdServiceMarterial-C7D1ZwhV.mjs → component-HdServiceMarterial-B7FEviHO.mjs} +17 -17
  33. package/dist/chunks/{component-HdServiceRequirements-BTUKNojU.mjs → component-HdServiceRequirements-DKJ8uQja.mjs} +13 -13
  34. package/dist/chunks/{component-HdSoil-2_TlWGNW.mjs → component-HdSoil-ztBxJspH.mjs} +11 -11
  35. package/dist/chunks/{component-HdSoilDetailList-BwRGMjV9.mjs → component-HdSoilDetailList-1gMQt-uL.mjs} +12 -12
  36. package/dist/chunks/{component-HdStationTem-D0Dt3LHl.mjs → component-HdStationTem-DfJ0I_2S.mjs} +17 -17
  37. package/dist/chunks/{component-HdSuggestion-ofUMSp3s.mjs → component-HdSuggestion-FXvLu_OD.mjs} +13 -13
  38. package/dist/chunks/{component-HdThreeWeatherTrend-Kh64QzKx.mjs → component-HdThreeWeatherTrend-DGLSVUb8.mjs} +18 -18
  39. package/dist/chunks/{component-HdWaveForcast-DppP_HvM.mjs → component-HdWaveForcast-dTEB0h8d.mjs} +11 -11
  40. package/dist/chunks/{component-HighQuality-C7RXFw-E.mjs → component-HighQuality-DZGJXvJC.mjs} +16 -16
  41. package/dist/chunks/{component-HighWayEarlyWarningRed-Cv-Rh-cC.mjs → component-HighWayEarlyWarningRed-F0q1FCTw.mjs} +16 -16
  42. package/dist/chunks/{component-HighWayFreeze-DLqbbIG5.mjs → component-HighWayFreeze-d4Xwkwf1.mjs} +8 -8
  43. package/dist/chunks/{component-HighwayLiveAlarm-B7jI-RZI.mjs → component-HighwayLiveAlarm-ChAdlgNB.mjs} +6 -6
  44. package/dist/chunks/{component-HighwayLiveAlarmNew-B-jkZXom.mjs → component-HighwayLiveAlarmNew-B-KnOey_.mjs} +11 -11
  45. package/dist/chunks/{component-HighwayStations-C7bVg74m.mjs → component-HighwayStations-CknEywO_.mjs} +6 -6
  46. package/dist/chunks/{component-HighwayWeatherForecast-C0Z_0C3X.mjs → component-HighwayWeatherForecast-B4szOq2G.mjs} +9 -9
  47. package/dist/chunks/{component-IframeWeb-BM0dqiO9.mjs → component-IframeWeb-iDh9lrPn.mjs} +1 -1
  48. package/dist/chunks/{component-ImageGeneration-5Bdvbyfs.mjs → component-ImageGeneration-CsIZ2Kz2.mjs} +2 -2
  49. package/dist/chunks/{component-IntroducePic-_nigmGDe.mjs → component-IntroducePic-BggfUWvz.mjs} +13 -13
  50. package/dist/chunks/{component-LithiumBatteryMiningArea-B21dEJLE.mjs → component-LithiumBatteryMiningArea-RpuBju1r.mjs} +12 -12
  51. package/dist/chunks/{component-MapPopup-52oQnhOj.mjs → component-MapPopup-LFWUnUl3.mjs} +1 -1
  52. package/dist/chunks/{component-MaterialPreview-CrfvJxHz.mjs → component-MaterialPreview-DvNKoDNy.mjs} +5 -5
  53. package/dist/chunks/{component-PieLegend-CgHQfWD4.mjs → component-PieLegend-B2Nor3pz.mjs} +1 -1
  54. package/dist/chunks/{component-PrecipitationRanking-C0TROtSR.mjs → component-PrecipitationRanking-ClwjH24B.mjs} +27 -27
  55. package/dist/chunks/{component-RadarChart-COc4gmuU.mjs → component-RadarChart-BMoy8MXR.mjs} +10 -10
  56. package/dist/chunks/{component-RadarLegend-CjhaPfOW.mjs → component-RadarLegend-rXlAb8lF.mjs} +1 -1
  57. package/dist/chunks/{component-RadarShortTerm-DJgvtI9c.mjs → component-RadarShortTerm-4RS7HYWc.mjs} +13 -13
  58. package/dist/chunks/{component-RadarTime-Br0xVEuq.mjs → component-RadarTime-W1ZVEA9e.mjs} +18 -18
  59. package/dist/chunks/{component-RenderMarkdown-InDC2lO4.mjs → component-RenderMarkdown-DO4bEFoj.mjs} +6 -6
  60. package/dist/chunks/{component-ReservoirLiveAlarm-DP-lWjfx.mjs → component-ReservoirLiveAlarm-ZD1RSFHm.mjs} +8 -8
  61. package/dist/chunks/{component-ServiceMaterial-Cijz6IMh.mjs → component-ServiceMaterial-DrxeAmRt.mjs} +9 -9
  62. package/dist/chunks/{component-ServiceMaterialsBtn-BdnH5TSY.mjs → component-ServiceMaterialsBtn-CZFRzpDr.mjs} +2 -2
  63. package/dist/chunks/{component-StationDialog-CcpEWARd.mjs → component-StationDialog-NhNr3lY1.mjs} +9 -9
  64. package/dist/chunks/{component-StationList-DyspLaBT.mjs → component-StationList-CSU1nUgF.mjs} +9 -9
  65. package/dist/chunks/{component-TimeBasedForecast-DS12UnL3.mjs → component-TimeBasedForecast-BObdyMNh.mjs} +10 -10
  66. package/dist/chunks/{component-Typhoon-BLL7-FHD.mjs → component-Typhoon-AxGQ8VuM.mjs} +16 -16
  67. package/dist/chunks/{component-WarningLine-CjXljhuQ.mjs → component-WarningLine-Biz0NEC8.mjs} +2 -2
  68. package/dist/chunks/{component-WarningSignal-BUq7JNyw.mjs → component-WarningSignal-D5ux6LCy.mjs} +17 -17
  69. package/dist/chunks/{component-WeatherForecast-CBY40Y1j.mjs → component-WeatherForecast-DnvELAB8.mjs} +16 -16
  70. package/dist/chunks/{component-YCDataMonitor-Clu5RdqK.mjs → component-YCDataMonitor-Dumu7_mw.mjs} +16 -16
  71. package/dist/chunks/{component-YCDataService-BX8obEW9.mjs → component-YCDataService-CibX3y21.mjs} +10 -10
  72. package/dist/chunks/{component-YCHighWaySummary-DfDlTv13.mjs → component-YCHighWaySummary-B4rfNY9B.mjs} +7 -7
  73. package/dist/chunks/{component-YCHome-CoTwNCRI.mjs → component-YCHome-BgH2uOoL.mjs} +36 -36
  74. package/dist/chunks/{component-YCHomeLegend--xlIidkR.mjs → component-YCHomeLegend-BpForfu4.mjs} +2 -2
  75. package/dist/chunks/{component-YCLoginNew-CQ9V5l-b.mjs → component-YCLoginNew-BsQr4jFy.mjs} +17 -17
  76. package/dist/chunks/{component-YCServiceSummary-DeDBpyuC.mjs → component-YCServiceSummary-CnnEfTaE.mjs} +162 -162
  77. package/dist/components/Agent/Agent.vue.d.ts +1 -0
  78. package/dist/nxd-plugin.mjs +73 -73
  79. package/dist/styles/component-Agent.css +1 -1
  80. package/dist/styles/component-AiChat.css +1 -1
  81. package/dist/styles/component-HdHeatChart.css +1 -1
  82. package/dist/styles/component-YCLoginNew.css +1 -1
  83. package/package.json +1 -1
  84. package/dist/chunks/YCServiceSummary-D6Jrh3KH.mjs +0 -2
  85. package/dist/chunks/component-HdCameraList-BkpFsBPc.mjs +0 -26871
@@ -1,5 +1,5 @@
1
- import { f as e, l as t } from "./component-Agent-Cr-ntDoH.mjs";
2
- import "./component-Forecast72h-B85PYYlt.mjs";
1
+ import { d as e, m as t } from "./component-Agent-DqXO06Ql.mjs";
2
+ import "./component-Forecast72h-5DGIhVUd.mjs";
3
3
  import { ElLoadingDirective as n, ElTable as r, ElTableColumn as i } from "element-plus/es";
4
4
  import { computed as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, getCurrentInstance as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, toDisplayString as h, vModelCheckbox as g, watch as _, withCtx as v, withDirectives as y } from "vue";
5
5
  import "element-plus/dist/index.css";
@@ -7,7 +7,7 @@ import "element-plus/dist/index.css";
7
7
  var b = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAaVBMVEVHcEwSHQD///8SHQASHQASHQASHQD7/PsSHQASHQASHQASHQD///8SHQASHQASHQASHQD///9xd2YSHQD///9LUz3+/v4SHQD9/f3Dxb7Z29b////t///b//+///+Y/v9w/v9M/v8w/f/X4jOHAAAAG3RSTlMABgsOFCAqMDM+R1hoaXyJlZ6nt7m4xNXi4+86+u2YAAABcklEQVR42o3SbU/CMBiF4XNOV4saX4hKUP7/L1Q+EKWPdrRpRlvkDsmSca151hVzJMNml9u8bnfLNgE1ks5NSQ/bFCsQchQ9Qo64CcvkAwqHSLkJKAnnCb7+R9KpGhCGZcSqcAp0cu4SF4Lq6qLa1b8PJQAOd4UTJOlQOe38DQhfV4eSrunEbb/ff32WaQpPnphQo9lpRID5jtzsK6tlo3hbbyn6w3zt8s7wKww5E2fIla0ccciwKG/liLPlhL+a162c+vyApsOYd5a/MAyE3pkfcqJ75se8f+av50LQkBPW+VAjDrWc8EPOlgvhEq++nvkx727lkLM3/GrEoe7wGnGie+Yv8nYrEzcYfrq83UpO/vb+8fnlY3dFa9D51d3D0/Pb0m/f2+e3a5GinEQSeS4DQJDImVm0eIzR5vuO6SfMRSTOxeeO+NNmmYukCKIsj9kTdXkkjROHiKKTb4+BIWkYIBjiMQ2Xs3JZlHWO/1Ve/BcfbY/c93OAOwAAAABJRU5ErkJggg==", x = {
8
8
  class: "HdFarmStation",
9
9
  "element-loading-background": "rgba(0, 0, 0, 0.5)"
10
- }, S = { class: "HdFarmStation-header" }, C = { class: "HdFarmStation-headerContent" }, w = { class: "HdFarmStation-toolbar" }, T = { class: "HdFarmStation-check" }, E = { class: "HdFarmStation-content" }, D = { class: "HdFarmStation-tableWrap" }, O = /* @__PURE__ */ t(/* @__PURE__ */ l({
10
+ }, S = { class: "HdFarmStation-header" }, C = { class: "HdFarmStation-headerContent" }, w = { class: "HdFarmStation-toolbar" }, T = { class: "HdFarmStation-check" }, E = { class: "HdFarmStation-content" }, D = { class: "HdFarmStation-tableWrap" }, O = /* @__PURE__ */ e(/* @__PURE__ */ l({
11
11
  __name: "HdFarmStation",
12
12
  props: {
13
13
  mock: {
@@ -29,8 +29,8 @@ var b = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAAC
29
29
  "markerClick",
30
30
  "removeMarker"
31
31
  ],
32
- setup(t, { emit: l }) {
33
- let O = t, k = l, A = u()?.appContext.config.globalProperties.$bus, j = m(!1), M = m(O.dataTime || ""), N = m([]), P = m(!0), F = null, I = a(() => O.list.length ? O.list : N.value), L = () => {
32
+ setup(e, { emit: l }) {
33
+ let O = e, k = l, A = u()?.appContext.config.globalProperties.$bus, j = m(!1), M = m(O.dataTime || ""), N = m([]), P = m(!0), F = null, I = a(() => O.list.length ? O.list : N.value), L = () => {
34
34
  k("close"), P.value = !1;
35
35
  }, R = (e, t) => e == null || e === "" || Number(e) >= 9999 ? "--" : t ? `${e}${t}` : String(e), z = () => {
36
36
  if (!P.value) {
@@ -102,12 +102,12 @@ var b = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAAC
102
102
  monitorTime: e.monitorTime || e.dataTime || e.collectTime || "",
103
103
  dataTime: e.dataTime || e.monitorTime || e.collectTime || "",
104
104
  ...e
105
- })) : [], H = (t) => e({
106
- id: t.id,
105
+ })) : [], H = (e) => t({
106
+ id: e.id,
107
107
  baseHttp: O.baseHttp,
108
- reqType: t.reqType,
108
+ reqType: e.reqType,
109
109
  variables: {},
110
- isFormData: t.isFormData,
110
+ isFormData: e.isFormData,
111
111
  appKey: O.appKey,
112
112
  appSalt: O.appSalt
113
113
  }), U = async () => {
@@ -156,7 +156,7 @@ var b = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAAC
156
156
  }), U(), G();
157
157
  }), d(() => {
158
158
  K(), k("addMarker", { removeMarker: "HdFarmStation" });
159
- }), (e, a) => {
159
+ }), (t, a) => {
160
160
  let l = i, u = r, d = n;
161
161
  return y((p(), o("div", x, [
162
162
  s("button", {
@@ -182,7 +182,7 @@ var b = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAAC
182
182
  s("div", E, [s("div", D, [c(u, {
183
183
  data: I.value,
184
184
  class: "HdFarmStation-table",
185
- "max-height": t.tableHeight,
185
+ "max-height": e.tableHeight,
186
186
  "empty-text": "暂无数据"
187
187
  }, {
188
188
  default: v(() => [
@@ -1,5 +1,5 @@
1
1
  import { i as e, t } from "./rolldown-runtime-Dd0fQ6-X.mjs";
2
- import { f as n, l as r } from "./component-Agent-Cr-ntDoH.mjs";
2
+ import { d as n, m as r } from "./component-Agent-DqXO06Ql.mjs";
3
3
  import { ElConfigProvider as i, ElDatePicker as a, ElIcon as o, ElLoadingDirective as s, ElTable as c, ElTableColumn as l } from "element-plus/es";
4
4
  import { Fragment as u, Teleport as d, createBlock as ee, createCommentVNode as te, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, getCurrentInstance as _, nextTick as v, normalizeClass as y, normalizeStyle as ne, onBeforeUnmount as b, onMounted as x, openBlock as S, ref as C, renderList as w, toDisplayString as T, unref as E, vShow as re, watch as ie, withCtx as D, withDirectives as O } from "vue";
5
5
  import { Close as ae, Download as oe } from "@element-plus/icons-vue";
@@ -268,7 +268,7 @@ var k = (e) => {
268
268
  }, it = { class: "StationPop-historyPopup" }, at = { class: "StationPop-historyHeader" }, ot = { class: "StationPop-historyTitle" }, st = { class: "StationPop-historySubTitle" }, ct = {
269
269
  class: "StationPop-historyTabs",
270
270
  style: { position: "relative" }
271
- }, lt = ["onClick"], ut = { class: "StationPop-historyActions" }, dt = { class: "StationPop-historyTableWrap" }, P = /* @__PURE__ */ r(/* @__PURE__ */ g({
271
+ }, lt = ["onClick"], ut = { class: "StationPop-historyActions" }, dt = { class: "StationPop-historyTableWrap" }, P = /* @__PURE__ */ n(/* @__PURE__ */ g({
272
272
  __name: "HdFarmStationDialog",
273
273
  props: {
274
274
  componentStyle: { default: () => ({}) },
@@ -280,7 +280,7 @@ var k = (e) => {
280
280
  ids: { default: () => ({}) }
281
281
  },
282
282
  setup(e) {
283
- let t = _()?.appContext.config.globalProperties.$bus, r = C(!1), g = e, k = C(null), A = C({
283
+ let t = _()?.appContext.config.globalProperties.$bus, n = C(!1), g = e, k = C(null), A = C({
284
284
  stationName: "",
285
285
  stationCode: "",
286
286
  address: "",
@@ -324,18 +324,18 @@ var k = (e) => {
324
324
  let t = g.ids[e] || g.ids.data;
325
325
  return t?.id ? t : null;
326
326
  }, J = async (e, t = {}) => {
327
- let r = q(e);
328
- if (!r) throw Error(`缺少 ${e} 对应的工作流配置`);
329
- return await n({
330
- id: r.id,
327
+ let n = q(e);
328
+ if (!n) throw Error(`缺少 ${e} 对应的工作流配置`);
329
+ return await r({
330
+ id: n.id,
331
331
  baseHttp: g.baseHttp,
332
- reqType: r.reqType,
332
+ reqType: n.reqType,
333
333
  variables: {
334
334
  stationCode: g.stationCode,
335
335
  stationIdC: k.value,
336
336
  ...t
337
337
  },
338
- isFormData: r.isFormData,
338
+ isFormData: n.isFormData,
339
339
  appKey: g.appKey,
340
340
  appSalt: g.appSalt
341
341
  });
@@ -794,8 +794,8 @@ var k = (e) => {
794
794
  });
795
795
  });
796
796
  function Pt() {
797
- M.value = !0, r.value = !0, gt().finally(() => {
798
- r.value = !1;
797
+ M.value = !0, n.value = !0, gt().finally(() => {
798
+ n.value = !1;
799
799
  });
800
800
  }
801
801
  return x(() => {
@@ -804,7 +804,7 @@ var k = (e) => {
804
804
  });
805
805
  }), b(() => {
806
806
  window.removeEventListener("resize", wt), L &&= (L.dispose(), null);
807
- }), (t, n) => {
807
+ }), (t, r) => {
808
808
  let g = o, _ = a, v = i, b = l, x = c, C = s;
809
809
  return S(), ee(d, { to: "body" }, [O(p("div", ue, [O((S(), f("div", {
810
810
  class: "StationPop",
@@ -821,25 +821,25 @@ var k = (e) => {
821
821
  })]),
822
822
  p("div", de, T(A.value.stationName), 1),
823
823
  p("div", fe, [A.value.dataTime ? (S(), f("span", pe, "数据时间:" + T(A.value.dataTime), 1)) : (S(), f("span", me, "数据时间:--"))]),
824
- p("div", he, [p("div", ge, [p("div", _e, [n[1] ||= p("span", { class: "StationPop-infoLabel" }, "站  号:", -1), p("span", ve, T(A.value.stationCode || "--"), 1)]), p("div", ye, [n[2] ||= p("span", { class: "StationPop-infoLabel" }, "位  置:", -1), p("span", be, T(A.value.address || "--"), 1)])])]),
824
+ p("div", he, [p("div", ge, [p("div", _e, [r[1] ||= p("span", { class: "StationPop-infoLabel" }, "站  号:", -1), p("span", ve, T(A.value.stationCode || "--"), 1)]), p("div", ye, [r[2] ||= p("span", { class: "StationPop-infoLabel" }, "位  置:", -1), p("span", be, T(A.value.address || "--"), 1)])])]),
825
825
  p("div", xe, [
826
- p("div", Se, [n[11] ||= p("div", { class: "StationPop-sectionTitle" }, [p("span", { class: "StationPop-sectionBar" }), m(" 实时监测 ")], -1), p("div", Ce, [
827
- p("div", we, [n[3] ||= p("span", { class: "StationPop-realtimeLabel" }, "温度:", -1), p("span", Te, T(K(P.value.temperature, "℃")), 1)]),
828
- p("div", Ee, [n[4] ||= p("span", { class: "StationPop-realtimeLabel" }, "湿度:", -1), p("span", De, T(K(P.value.humidity, "%")), 1)]),
829
- p("div", Oe, [n[5] ||= p("span", { class: "StationPop-realtimeLabel" }, "风速风向:", -1), p("span", ke, T(ht(P.value)), 1)]),
830
- p("div", Ae, [n[6] ||= p("span", { class: "StationPop-realtimeLabel" }, "降水量:", -1), p("span", je, T(K(P.value.hourPrecipitation, "mm")), 1)]),
831
- p("div", Me, [n[7] ||= p("span", { class: "StationPop-realtimeLabel" }, "气压:", -1), p("span", Ne, T(K(P.value.pressure, "hPa")), 1)]),
832
- p("div", Pe, [n[8] ||= p("span", { class: "StationPop-realtimeLabel" }, "蒸发:", -1), p("span", Fe, T(K(P.value.evaporation, "mm")), 1)]),
833
- p("div", Ie, [n[9] ||= p("span", { class: "StationPop-realtimeLabel" }, "光照强度:", -1), p("span", Le, T(K(P.value.lightIntensity, "lux")), 1)]),
834
- p("div", Re, [n[10] ||= p("span", { class: "StationPop-realtimeLabel" }, "光合有效辐射:", -1), p("span", ze, T(K(P.value.par, "μmol/m²/s")), 1)])
826
+ p("div", Se, [r[11] ||= p("div", { class: "StationPop-sectionTitle" }, [p("span", { class: "StationPop-sectionBar" }), m(" 实时监测 ")], -1), p("div", Ce, [
827
+ p("div", we, [r[3] ||= p("span", { class: "StationPop-realtimeLabel" }, "温度:", -1), p("span", Te, T(K(P.value.temperature, "℃")), 1)]),
828
+ p("div", Ee, [r[4] ||= p("span", { class: "StationPop-realtimeLabel" }, "湿度:", -1), p("span", De, T(K(P.value.humidity, "%")), 1)]),
829
+ p("div", Oe, [r[5] ||= p("span", { class: "StationPop-realtimeLabel" }, "风速风向:", -1), p("span", ke, T(ht(P.value)), 1)]),
830
+ p("div", Ae, [r[6] ||= p("span", { class: "StationPop-realtimeLabel" }, "降水量:", -1), p("span", je, T(K(P.value.hourPrecipitation, "mm")), 1)]),
831
+ p("div", Me, [r[7] ||= p("span", { class: "StationPop-realtimeLabel" }, "气压:", -1), p("span", Ne, T(K(P.value.pressure, "hPa")), 1)]),
832
+ p("div", Pe, [r[8] ||= p("span", { class: "StationPop-realtimeLabel" }, "蒸发:", -1), p("span", Fe, T(K(P.value.evaporation, "mm")), 1)]),
833
+ p("div", Ie, [r[9] ||= p("span", { class: "StationPop-realtimeLabel" }, "光照强度:", -1), p("span", Le, T(K(P.value.lightIntensity, "lux")), 1)]),
834
+ p("div", Re, [r[10] ||= p("span", { class: "StationPop-realtimeLabel" }, "光合有效辐射:", -1), p("span", ze, T(K(P.value.par, "μmol/m²/s")), 1)])
835
835
  ])]),
836
- p("div", Be, [n[18] ||= p("div", { class: "StationPop-sectionTitle" }, [p("span", { class: "StationPop-sectionBar" }), m(" 统计信息 ")], -1), p("div", Ve, [
837
- p("div", He, [n[12] ||= p("span", { class: "StationPop-statisticsLabel" }, "日最低温度:", -1), p("span", Ue, T(K(F.value.dailyMinTemp, "℃")), 1)]),
838
- p("div", We, [n[13] ||= p("span", { class: "StationPop-statisticsLabel" }, "日最高温度:", -1), p("span", Ge, T(K(F.value.dailyMaxTemp, "℃")), 1)]),
839
- p("div", Ke, [n[14] ||= p("span", { class: "StationPop-statisticsLabel" }, "日累计降水:", -1), p("span", qe, T(K(F.value.dailyPrecipitation, "mm")), 1)]),
840
- p("div", Je, [n[15] ||= p("span", { class: "StationPop-statisticsLabel" }, "历史最低温:", -1), p("span", Ye, T(K(F.value.historyMinTemp, "℃")), 1)]),
841
- p("div", Xe, [n[16] ||= p("span", { class: "StationPop-statisticsLabel" }, "历史最高温:", -1), p("span", Ze, T(K(F.value.historyMaxTemp, "℃")), 1)]),
842
- p("div", Qe, [n[17] ||= p("span", { class: "StationPop-statisticsLabel" }, "历史最大累积降水:", -1), p("span", $e, T(K(F.value.historyMaxPrecipitation, "mm")), 1)])
836
+ p("div", Be, [r[18] ||= p("div", { class: "StationPop-sectionTitle" }, [p("span", { class: "StationPop-sectionBar" }), m(" 统计信息 ")], -1), p("div", Ve, [
837
+ p("div", He, [r[12] ||= p("span", { class: "StationPop-statisticsLabel" }, "日最低温度:", -1), p("span", Ue, T(K(F.value.dailyMinTemp, "℃")), 1)]),
838
+ p("div", We, [r[13] ||= p("span", { class: "StationPop-statisticsLabel" }, "日最高温度:", -1), p("span", Ge, T(K(F.value.dailyMaxTemp, "℃")), 1)]),
839
+ p("div", Ke, [r[14] ||= p("span", { class: "StationPop-statisticsLabel" }, "日累计降水:", -1), p("span", qe, T(K(F.value.dailyPrecipitation, "mm")), 1)]),
840
+ p("div", Je, [r[15] ||= p("span", { class: "StationPop-statisticsLabel" }, "历史最低温:", -1), p("span", Ye, T(K(F.value.historyMinTemp, "℃")), 1)]),
841
+ p("div", Xe, [r[16] ||= p("span", { class: "StationPop-statisticsLabel" }, "历史最高温:", -1), p("span", Ze, T(K(F.value.historyMaxTemp, "℃")), 1)]),
842
+ p("div", Qe, [r[17] ||= p("span", { class: "StationPop-statisticsLabel" }, "历史最大累积降水:", -1), p("span", $e, T(K(F.value.historyMaxPrecipitation, "mm")), 1)])
843
843
  ])]),
844
844
  p("div", et, [p("div", tt, [(S(), f(u, null, w(ft, (e) => p("div", {
845
845
  key: e.value,
@@ -851,8 +851,8 @@ var k = (e) => {
851
851
  class: "StationPop-chart"
852
852
  }, null, 512)])
853
853
  ])
854
- ], 4)), [[C, r.value]]), V.value ? (S(), f("div", rt, [p("div", it, [
855
- p("div", at, [p("div", ot, [n[19] ||= p("span", null, "历史数据", -1), p("span", st, T(A.value.stationName || e.stationName), 1)]), p("button", {
854
+ ], 4)), [[C, n.value]]), V.value ? (S(), f("div", rt, [p("div", it, [
855
+ p("div", at, [p("div", ot, [r[19] ||= p("span", null, "历史数据", -1), p("span", st, T(A.value.stationName || e.stationName), 1)]), p("button", {
856
856
  class: "StationPop-historyClose",
857
857
  onClick: Tt
858
858
  }, "✕")]),
@@ -863,7 +863,7 @@ var k = (e) => {
863
863
  }, T(e.label), 11, lt)), 64)), p("div", ut, [h(v, { locale: E(ce) }, {
864
864
  default: D(() => [h(_, {
865
865
  modelValue: W.value,
866
- "onUpdate:modelValue": n[0] ||= (e) => W.value = e,
866
+ "onUpdate:modelValue": r[0] ||= (e) => W.value = e,
867
867
  clearable: !1,
868
868
  class: "StationPop-historyDatePicker",
869
869
  "popper-class": "StationPop-historyDatePickerPopper",
@@ -887,7 +887,7 @@ var k = (e) => {
887
887
  }, [h(g, null, {
888
888
  default: D(() => [h(E(oe))]),
889
889
  _: 1
890
- }), n[20] ||= m(" 导出 ", -1)])])]),
890
+ }), r[20] ||= m(" 导出 ", -1)])])]),
891
891
  p("div", dt, [h(x, {
892
892
  data: U.value,
893
893
  class: "StationPop-historyTable",
@@ -1,4 +1,4 @@
1
- import { f as e, l as t } from "./component-Agent-Cr-ntDoH.mjs";
1
+ import { d as e, m as t } from "./component-Agent-DqXO06Ql.mjs";
2
2
  import { ElIcon as n } from "element-plus/es";
3
3
  import { Fragment as r, Teleport as i, computed as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as ee, normalizeClass as d, onMounted as f, onUnmounted as p, openBlock as m, ref as h, renderList as g, toDisplayString as _, unref as v, vModelText as y, watch as b, withCtx as x, withDirectives as S } from "vue";
4
4
  import { ArrowLeft as C, ArrowRight as te, VideoPause as ne, VideoPlay as re } from "@element-plus/icons-vue";
@@ -6,7 +6,7 @@ import { ArrowLeft as C, ArrowRight as te, VideoPause as ne, VideoPlay as re } f
6
6
  var ie = { class: "HdForecastProducts" }, ae = { class: "HdForecastProducts-popup" }, oe = { class: "HdForecastProducts-header" }, w = { class: "HdForecastProducts-title" }, T = { class: "HdForecastProducts-toolbar" }, E = { class: "HdForecastProducts-speed" }, D = { class: "HdForecastProducts-speedValue" }, O = { class: "HdForecastProducts-main" }, k = { class: "HdForecastProducts-viewer" }, A = ["src"], j = {
7
7
  key: 1,
8
8
  class: "HdForecastProducts-noImage"
9
- }, M = { class: "HdForecastProducts-side" }, N = { class: "HdForecastProducts-list" }, P = ["onClick"], F = { class: "HdForecastProducts-itemHour" }, I = /* @__PURE__ */ t(/* @__PURE__ */ u({
9
+ }, M = { class: "HdForecastProducts-side" }, N = { class: "HdForecastProducts-list" }, P = ["onClick"], F = { class: "HdForecastProducts-itemHour" }, I = /* @__PURE__ */ e(/* @__PURE__ */ u({
10
10
  __name: "HdForecastProducts",
11
11
  props: {
12
12
  mock: {
@@ -67,8 +67,8 @@ var ie = { class: "HdForecastProducts" }, ae = { class: "HdForecastProducts-popu
67
67
  }) }
68
68
  },
69
69
  emits: ["close", "change"],
70
- setup(t, { emit: u }) {
71
- let I = ee()?.appContext.config.globalProperties.$bus, L = t, R = u, z = h(0), B = h(!1), V = h(1), H = h(null), U = h({
70
+ setup(e, { emit: u }) {
71
+ let I = ee()?.appContext.config.globalProperties.$bus, L = e, R = u, z = h(0), B = h(!1), V = h(1), H = h(null), U = h({
72
72
  title: "",
73
73
  dataTime: "",
74
74
  list: []
@@ -107,18 +107,18 @@ var ie = { class: "HdForecastProducts" }, ae = { class: "HdForecastProducts-popu
107
107
  list: e.list || []
108
108
  };
109
109
  }, fe = async () => {
110
- let t = L.ids.data;
111
- if (!t?.id) {
110
+ let e = L.ids.data;
111
+ if (!e?.id) {
112
112
  console.warn("HdForecastProducts 缺少数据工作流配置");
113
113
  return;
114
114
  }
115
115
  try {
116
- let n = ue(await e({
117
- id: t.id,
116
+ let n = ue(await t({
117
+ id: e.id,
118
118
  baseHttp: L.baseHttp,
119
- reqType: t.reqType,
119
+ reqType: e.reqType,
120
120
  variables: {},
121
- isFormData: t.isFormData,
121
+ isFormData: e.isFormData,
122
122
  appKey: L.appKey,
123
123
  appSalt: L.appSalt
124
124
  }));
@@ -1,13 +1,13 @@
1
- import { f as e, l as t } from "./component-Agent-Cr-ntDoH.mjs";
1
+ import { d as e, m as t } from "./component-Agent-DqXO06Ql.mjs";
2
2
  import { ElLoadingDirective as n } from "element-plus/es";
3
- import { computed as r, createElementBlock as i, createElementVNode as a, defineComponent as o, onBeforeUnmount as s, onMounted as c, openBlock as l, ref as u, toDisplayString as d, watch as f, withDirectives as p } from "vue";
4
- import * as m from "echarts";
3
+ import { computed as r, createElementBlock as i, createElementVNode as a, defineComponent as o, getCurrentInstance as s, onBeforeUnmount as c, onMounted as l, openBlock as u, ref as d, toDisplayString as f, watch as p, withDirectives as m } from "vue";
4
+ import * as h from "echarts";
5
5
  import "element-plus/es/components/loading/style/css";
6
6
  //#region src/assets/img/hd/up.png
7
- var h = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAG1BMVEVHcEz/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AACeYvHRAAAACHRSTlMAI0Bbga7B52OltfYAAACeSURBVHja7ddRCgMhDIThxCQ69z9xQXYhWyqts09L8x1gxB9flPKNRqjcEUDIDQ4ALjTD1ISkA9NQ4XQcgg5wci5AYrKtIRvKBqAzBN44FSAzIgCdQTs+CCIAmcGxYERAIoMOLAUVIHMqQGYbAbgMjom/ROsnXPSDy698cXAN1EAN1EANPHLAcGGyTVui8gDEFYiI//aQBpJh9QVeewHkyhriyc1QkgAAAABJRU5ErkJggg==", g = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAG1BMVEVHcEwHOPgEOPcGOfgGOPgFOfgFOfkFOfgGOfgoU2zHAAAACHRSTlMAI0BbgJe75ct9/NwAAACfSURBVHja7dfBCgMhDIThaGIy7//EBcGy0trW8bQ033EPs/jjRUnfFG9FTjjgcsAAwISm6CodINBFoQN0dIaGJ6MDDCrbKgYyg2PiZAA6g+KFEgH4DIE3nAhAZjAsKBGQyFACHZ3B8YHRAQbdCMBlMHT8IaoPmIyvTX5lix/nQA7kQA7kwC0HFBOVbaVeFLmf8yMYJvqXFylwEZpP4LUHZqAa7WC9H9YAAAAASUVORK5CYII=", _ = {
7
+ var g = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAG1BMVEVHcEz/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AACeYvHRAAAACHRSTlMAI0Bbga7B52OltfYAAACeSURBVHja7ddRCgMhDIThxCQ69z9xQXYhWyqts09L8x1gxB9flPKNRqjcEUDIDQ4ALjTD1ISkA9NQ4XQcgg5wci5AYrKtIRvKBqAzBN44FSAzIgCdQTs+CCIAmcGxYERAIoMOLAUVIHMqQGYbAbgMjom/ROsnXPSDy698cXAN1EAN1EANPHLAcGGyTVui8gDEFYiI//aQBpJh9QVeewHkyhriyc1QkgAAAABJRU5ErkJggg==", _ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAG1BMVEVHcEwHOPgEOPcGOfgGOPgFOfgFOfkFOfgGOfgoU2zHAAAACHRSTlMAI0BbgJe75ct9/NwAAACfSURBVHja7dfBCgMhDIThaGIy7//EBcGy0trW8bQ033EPs/jjRUnfFG9FTjjgcsAAwISm6CodINBFoQN0dIaGJ6MDDCrbKgYyg2PiZAA6g+KFEgH4DIE3nAhAZjAsKBGQyFACHZ3B8YHRAQbdCMBlMHT8IaoPmIyvTX5lix/nQA7kQA7kwC0HFBOVbaVeFLmf8yMYJvqXFylwEZpP4LUHZqAa7WC9H9YAAAAASUVORK5CYII=", v = {
8
8
  class: "HdHeatChart",
9
9
  "element-loading-background": "rgba(0, 0, 0, 0.5)"
10
- }, v = { class: "HdHeatChart-header" }, y = { class: "HdHeatChart-headerContent" }, b = { class: "HdHeatChart-title" }, x = { class: "HdHeatChart-subTitle" }, S = /* @__PURE__ */ t(/* @__PURE__ */ o({
10
+ }, y = { class: "HdHeatChart-header" }, b = { class: "HdHeatChart-headerContent" }, x = { class: "HdHeatChart-title" }, S = { class: "HdHeatChart-subTitle" }, C = /* @__PURE__ */ e(/* @__PURE__ */ o({
11
11
  __name: "HdHeatChart",
12
12
  props: {
13
13
  title: { default: "预报温度与供热预测" },
@@ -27,16 +27,16 @@ var h = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAG
27
27
  }) }
28
28
  },
29
29
  emits: ["close"],
30
- setup(t, { emit: o }) {
31
- let S = t, C = o, w = u(!1), T = u(null), E = null, D = null, O = u({
30
+ setup(e, { emit: o }) {
31
+ let C = s()?.appContext.config.globalProperties.$bus, w = e, T = o, E = d(!1), D = d(null), O = null, k = null, A = d({
32
32
  dataTime: "",
33
33
  list: []
34
- }), k = r(() => O.value.list || []), A = () => {
35
- C("close", "HdHeatChart");
36
- }, j = (e) => {
37
- let t = S.ids[e] || S.ids.data;
34
+ }), j = r(() => A.value.list || []), M = () => {
35
+ T("close", "HdHeatChart");
36
+ }, N = (e) => {
37
+ let t = w.ids[e] || w.ids.data;
38
38
  return t?.id ? t : null;
39
- }, M = (e) => {
39
+ }, P = (e) => {
40
40
  if (!e) return null;
41
41
  let t = null;
42
42
  if (t = 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, typeof t == "string") try {
@@ -45,9 +45,9 @@ var h = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAG
45
45
  console.warn("HdHeatChart output 不是 JSON 字符串", t);
46
46
  }
47
47
  return t && Array.isArray(t.data) ? t.data : t;
48
- }, N = () => ({
49
- dataTime: S.mockData?.dataTime || "2024-04-10 08时",
50
- list: S.mockData?.list?.length ? S.mockData.list : [
48
+ }, F = () => ({
49
+ dataTime: w.mockData?.dataTime || "2024-04-10 08时",
50
+ list: w.mockData?.list?.length ? w.mockData.list : [
51
51
  {
52
52
  date: "04-10",
53
53
  temp: 26,
@@ -108,8 +108,8 @@ var h = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAG
108
108
  predictLoad: 484.49,
109
109
  change: "down"
110
110
  }
111
- ].slice(0, S.days)
112
- }), P = (e) => {
111
+ ].slice(0, w.days)
112
+ }), I = (e) => {
113
113
  if (!Array.isArray(e)) return [];
114
114
  let t = e.map((e) => ({
115
115
  date: e.day || e.date || "",
@@ -122,35 +122,35 @@ var h = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAG
122
122
  let r = t[n - 1];
123
123
  return e.predictLoad > r.predictLoad ? e.change = "up" : e.predictLoad < r.predictLoad && (e.change = "down"), e;
124
124
  });
125
- }, F = async () => {
126
- let t = j("data");
127
- if (!t) {
125
+ }, L = async () => {
126
+ let e = N("data");
127
+ if (!e) {
128
128
  console.warn("HdHeatChart 缺少工作流配置");
129
129
  return;
130
130
  }
131
131
  try {
132
- let n = M(await e({
133
- id: t.id,
134
- baseHttp: S.baseHttp,
135
- reqType: t.reqType,
136
- variables: { days: S.days },
137
- isFormData: t.isFormData,
138
- appKey: S.appKey,
139
- appSalt: S.appSalt
132
+ let n = P(await t({
133
+ id: e.id,
134
+ baseHttp: w.baseHttp,
135
+ reqType: e.reqType,
136
+ variables: { days: w.days },
137
+ isFormData: e.isFormData,
138
+ appKey: w.appKey,
139
+ appSalt: w.appSalt
140
140
  }));
141
- n && (O.value = {
141
+ n && (A.value = {
142
142
  dataTime: n.dataTime || "",
143
- list: P(n)
143
+ list: I(n)
144
144
  });
145
145
  } catch (e) {
146
146
  console.error("HdHeatChart 数据加载失败", e);
147
147
  }
148
- }, I = async () => {
149
- w.value = !0, S.mock ? O.value = N() : await F(), w.value = !1, z();
150
- }, L = (e) => e === "up" ? `image://${h}` : e === "down" ? `image://${g}` : "", R = (e) => e === "down" ? 180 : 0, z = () => {
151
- if (!T.value || !k.value.length) return;
152
- E && E.dispose(), E = m.init(T.value);
153
- let e = k.value, t = e.map((e) => e.date), n = e.map((e) => e.temp), r = e.map((e) => e.predictLoad), i = Math.max(...r), a = Math.min(...r), o = (i - a) * .2 || i * .1, s = Math.max(...n), c = Math.min(...n), l = (s - c) * .5 || 5, u = {
148
+ }, R = async () => {
149
+ E.value = !0, w.mock ? A.value = F() : await L(), E.value = !1, V();
150
+ }, z = (e) => e === "up" ? `image://${g}` : e === "down" ? `image://${_}` : "", B = (e) => e === "down" ? 180 : 0, V = () => {
151
+ if (!D.value || !j.value.length) return;
152
+ O && O.dispose(), O = h.init(D.value);
153
+ let e = j.value, t = e.map((e) => e.date), n = e.map((e) => e.temp), r = e.map((e) => e.predictLoad), i = Math.max(...r), a = Math.min(...r), o = (i - a) * .2 || i * .1, s = Math.max(...n), c = Math.min(...n), l = (s - c) * .5 || 5, u = {
154
154
  backgroundColor: "transparent",
155
155
  grid: {
156
156
  top: 48,
@@ -275,7 +275,7 @@ var h = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAG
275
275
  formatter: "{c}"
276
276
  },
277
277
  itemStyle: {
278
- color: new m.graphic.LinearGradient(0, 0, 0, 1, [{
278
+ color: new h.graphic.LinearGradient(0, 0, 0, 1, [{
279
279
  offset: 0,
280
280
  color: "#FF7D00"
281
281
  }, {
@@ -296,8 +296,8 @@ var h = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAG
296
296
  data: e.map((e, t) => ({
297
297
  coord: [t, e.predictLoad],
298
298
  value: "",
299
- symbol: L(e.change),
300
- symbolRotate: R(e.change)
299
+ symbol: z(e.change),
300
+ symbolRotate: B(e.change)
301
301
  })).filter((e) => e.symbol !== "")
302
302
  }
303
303
  },
@@ -319,7 +319,7 @@ var h = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAG
319
319
  name: "预测负荷较上一日上升",
320
320
  type: "scatter",
321
321
  data: [],
322
- symbol: `image://${h}`,
322
+ symbol: `image://${g}`,
323
323
  symbolSize: [10, 12],
324
324
  itemStyle: { color: "#F53F3F" }
325
325
  },
@@ -327,45 +327,47 @@ var h = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAG
327
327
  name: "预测负荷较上一日下降",
328
328
  type: "scatter",
329
329
  data: [],
330
- symbol: `image://${g}`,
330
+ symbol: `image://${_}`,
331
331
  symbolRotate: 180,
332
332
  symbolSize: [10, 12],
333
333
  itemStyle: { color: "#165DFF" }
334
334
  }
335
335
  ]
336
336
  };
337
- E.setOption(u);
338
- }, B = () => {
339
- V(), !(S.refreshInterval <= 0) && (D = setInterval(() => {
340
- I();
341
- }, S.refreshInterval));
342
- }, V = () => {
343
- D &&= (clearInterval(D), null);
337
+ O.setOption(u);
344
338
  }, H = () => {
345
- E?.resize();
339
+ U(), !(w.refreshInterval <= 0) && (k = setInterval(() => {
340
+ R();
341
+ }, w.refreshInterval));
342
+ }, U = () => {
343
+ k &&= (clearInterval(k), null);
344
+ }, W = () => {
345
+ O?.resize();
346
346
  };
347
- return f(() => S.mockData, () => {
348
- S.mock && I();
349
- }, { deep: !0 }), c(() => {
350
- I(), B(), window.addEventListener("resize", H);
351
- }), s(() => {
352
- V(), window.removeEventListener("resize", H), E &&= (E.dispose(), null);
353
- }), (e, r) => {
347
+ return p(() => w.mockData, () => {
348
+ w.mock && R();
349
+ }, { deep: !0 }), l(() => {
350
+ C?.on("toComponent", (e) => {
351
+ e.componentName == "HdHeatChart" && (R(), H(), window.addEventListener("resize", W));
352
+ }), R(), H(), window.addEventListener("resize", W);
353
+ }), c(() => {
354
+ U(), window.removeEventListener("resize", W), O &&= (O.dispose(), null);
355
+ }), (t, r) => {
354
356
  let o = n;
355
- return p((l(), i("div", _, [
357
+ return m((u(), i("div", v, [
356
358
  a("button", {
357
359
  class: "HdHeatChart-close",
358
- onClick: A
360
+ onClick: M
359
361
  }, [...r[0] ||= [a("span", null, "✕", -1)]]),
360
- a("div", v, [a("div", y, [a("h3", b, d(t.title), 1), a("span", x, "(" + d(t.days) + "天)", 1)])]),
362
+ a("div", y, [a("div", b, [a("h3", x, f(e.title), 1), a("span", S, "(" + f(e.days) + "天)", 1)])]),
361
363
  a("div", {
362
364
  ref_key: "chartRef",
363
- ref: T,
365
+ ref: D,
364
366
  class: "HdHeatChart-chart"
365
367
  }, null, 512)
366
- ])), [[o, w.value]]);
368
+ ])), [[o, E.value]]);
367
369
  };
368
370
  }
369
- }), [["__scopeId", "data-v-248c6687"]]);
371
+ }), [["__scopeId", "data-v-65b720f6"]]);
370
372
  //#endregion
371
- export { g as n, h as r, S as t };
373
+ export { _ as n, g as r, C as t };
@@ -1,11 +1,11 @@
1
- import { f as e, l as t } from "./component-Agent-Cr-ntDoH.mjs";
2
- import "./component-HdHeatChart-CCRZPuMc.mjs";
1
+ import { d as e, m as t } from "./component-Agent-DqXO06Ql.mjs";
2
+ import "./component-HdHeatChart-Br63YpFN.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, normalizeClass as f, normalizeStyle as p, onBeforeUnmount as m, onMounted as ee, openBlock as h, ref as g, renderList as _, toDisplayString as v, vShow as te, withDirectives as ne, withModifiers as y } from "vue";
5
5
  import * as b from "echarts";
6
6
  import "element-plus/es/components/loading/style/css";
7
7
  //#region src/components/HdHeatChartDialog/HdHeatChartDialog.vue?vue&type=script&setup=true&lang.ts
8
- var re = { class: "HdHeatChartDialog-head-title" }, ie = { class: "HdHeatChartDialog-head-actions" }, ae = { class: "HdHeatChartDialog-info" }, oe = { class: "HdHeatChartDialog-info-daily" }, se = { class: "HdHeatChartDialog-info-dailyRow" }, ce = { class: "HdHeatChartDialog-info-dailyLabel" }, le = { class: "HdHeatChartDialog-info-dailyValue" }, ue = { class: "HdHeatChartDialog-info-dailyTime" }, de = { class: "HdHeatChartDialog-info-dailyTime" }, fe = { class: "HdHeatChartDialog-info-dailyValue" }, pe = { class: "HdHeatChartDialog-info-dailyRow" }, me = { class: "HdHeatChartDialog-info-dailyLabel" }, he = { class: "HdHeatChartDialog-info-dailyValue" }, ge = { class: "HdHeatChartDialog-info-dailyTime" }, _e = { class: "HdHeatChartDialog-info-dailyTime" }, ve = { class: "HdHeatChartDialog-info-dailyValue" }, ye = { class: "HdHeatChartDialog-summaryBox" }, x = { class: "HdHeatChartDialog-summaryHead" }, S = { class: "HdHeatChartDialog-summaryBody" }, C = { class: "HdHeatChartDialog-summaryRow" }, w = { class: "HdHeatChartDialog-summaryValue" }, T = { class: "HdHeatChartDialog-summaryTime" }, E = { class: "HdHeatChartDialog-summaryRow" }, D = { class: "HdHeatChartDialog-summaryValue" }, O = { class: "HdHeatChartDialog-summaryTime" }, k = { class: "HdHeatChartDialog-summaryRow" }, A = { class: "HdHeatChartDialog-summaryValue" }, j = { class: "HdHeatChartDialog-summaryRow" }, M = { class: "HdHeatChartDialog-summaryValue" }, N = { class: "HdHeatChartDialog-summaryTime" }, P = { class: "HdHeatChartDialog-chartWrap" }, be = { class: "HdHeatChartDialog-levels" }, xe = { class: "HdHeatChartDialog-levels-label" }, F = /* @__PURE__ */ t(/* @__PURE__ */ u({
8
+ var re = { class: "HdHeatChartDialog-head-title" }, ie = { class: "HdHeatChartDialog-head-actions" }, ae = { class: "HdHeatChartDialog-info" }, oe = { class: "HdHeatChartDialog-info-daily" }, se = { class: "HdHeatChartDialog-info-dailyRow" }, ce = { class: "HdHeatChartDialog-info-dailyLabel" }, le = { class: "HdHeatChartDialog-info-dailyValue" }, ue = { class: "HdHeatChartDialog-info-dailyTime" }, de = { class: "HdHeatChartDialog-info-dailyTime" }, fe = { class: "HdHeatChartDialog-info-dailyValue" }, pe = { class: "HdHeatChartDialog-info-dailyRow" }, me = { class: "HdHeatChartDialog-info-dailyLabel" }, he = { class: "HdHeatChartDialog-info-dailyValue" }, ge = { class: "HdHeatChartDialog-info-dailyTime" }, _e = { class: "HdHeatChartDialog-info-dailyTime" }, ve = { class: "HdHeatChartDialog-info-dailyValue" }, ye = { class: "HdHeatChartDialog-summaryBox" }, x = { class: "HdHeatChartDialog-summaryHead" }, S = { class: "HdHeatChartDialog-summaryBody" }, C = { class: "HdHeatChartDialog-summaryRow" }, w = { class: "HdHeatChartDialog-summaryValue" }, T = { class: "HdHeatChartDialog-summaryTime" }, E = { class: "HdHeatChartDialog-summaryRow" }, D = { class: "HdHeatChartDialog-summaryValue" }, O = { class: "HdHeatChartDialog-summaryTime" }, k = { class: "HdHeatChartDialog-summaryRow" }, A = { class: "HdHeatChartDialog-summaryValue" }, j = { class: "HdHeatChartDialog-summaryRow" }, M = { class: "HdHeatChartDialog-summaryValue" }, N = { class: "HdHeatChartDialog-summaryTime" }, P = { class: "HdHeatChartDialog-chartWrap" }, be = { class: "HdHeatChartDialog-levels" }, xe = { class: "HdHeatChartDialog-levels-label" }, F = /* @__PURE__ */ e(/* @__PURE__ */ u({
9
9
  __name: "HdHeatChartDialog",
10
10
  props: {
11
11
  baseHttp: { default: "" },
@@ -15,8 +15,8 @@ var re = { class: "HdHeatChartDialog-head-title" }, ie = { class: "HdHeatChartDi
15
15
  refreshInterval: { default: 1e3 * 60 * 10 }
16
16
  },
17
17
  emits: ["close"],
18
- setup(t, { emit: u }) {
19
- let F = d()?.appContext.config.globalProperties.$bus, I = t, Se = u, L = g(!1), R = g(""), z = g(!1), Ce = g(null), B = g(null), V = null, H = g({
18
+ setup(e, { emit: u }) {
19
+ let F = d()?.appContext.config.globalProperties.$bus, I = e, Se = u, L = g(!1), R = g(""), z = g(!1), Ce = g(null), B = g(null), V = null, H = g({
20
20
  title: "网格72小时逐三小时温度图",
21
21
  initTime: "20时",
22
22
  maxTemp: {
@@ -174,18 +174,18 @@ var re = { class: "HdHeatChartDialog-head-title" }, ie = { class: "HdHeatChartDi
174
174
  list: o
175
175
  };
176
176
  }, Ne = async () => {
177
- let t = je("data");
178
- if (!t) {
177
+ let e = je("data");
178
+ if (!e) {
179
179
  console.warn("HdHeatChartDialog 缺少工作流配置");
180
180
  return;
181
181
  }
182
182
  try {
183
- let n = Y(await e({
184
- id: t.id,
183
+ let n = Y(await t({
184
+ id: e.id,
185
185
  baseHttp: I.baseHttp,
186
- reqType: t.reqType,
186
+ reqType: e.reqType,
187
187
  variables: { gridIndex: R.value },
188
- isFormData: t.isFormData,
188
+ isFormData: e.isFormData,
189
189
  appKey: I.appKey,
190
190
  appSalt: I.appSalt
191
191
  }));