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,9 +1,9 @@
1
1
  import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
2
- import { f as t, l as n } from "./component-Agent-Cr-ntDoH.mjs";
3
- import "./component-Forecast72h-B85PYYlt.mjs";
4
- import { n as r } from "./component-HdFarmStationDialog-C42Kalh1.mjs";
2
+ import { d as t, m as n } from "./component-Agent-DqXO06Ql.mjs";
3
+ import "./component-Forecast72h-5DGIhVUd.mjs";
4
+ import { n as r } from "./component-HdFarmStationDialog-DHGlfkae.mjs";
5
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 re, onMounted as ie, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, withCtx as w, withDirectives as ae, withModifiers as oe } from "vue";
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
7
  import { Download as se, Refresh as ce } from "@element-plus/icons-vue";
8
8
  import * as T from "echarts";
9
9
  import { ElMessage as E } from "element-plus";
@@ -22,7 +22,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
22
22
  }, Se = { class: "PrecipitationRanking-content" }, Ce = { class: "PrecipitationRanking-tableWrap" }, we = ["onClick"], Te = {
23
23
  key: 1,
24
24
  class: "PrecipitationRanking-trendMask"
25
- }, Ee = { class: "PrecipitationRanking-trendPopup" }, De = { class: "PrecipitationRanking-trendHeader" }, Oe = { class: "PrecipitationRanking-trendTitle" }, ke = { class: "PrecipitationRanking-trendSubTitle" }, D = /* @__PURE__ */ n(/* @__PURE__ */ h({
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: {
@@ -146,12 +146,12 @@ var ue = /* @__PURE__ */ e(r()), de = {
146
146
  "rowClick",
147
147
  "view"
148
148
  ],
149
- setup(e, { emit: n }) {
150
- let r = g()?.appContext.config.globalProperties.$bus, h = e, D = n, O = b(!1), k = b(!1), A = b([
149
+ setup(e, { emit: t }) {
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
- ]), j = b(!1), M = b(""), N = b([]), P = b([]), F = b([]), I = b(!1), L = b(null), R = b(null), z = null, B = null, V = [
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",
@@ -310,7 +310,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
310
310
  if (!e) return console.warn("PrecipitationRanking 缺少趋势图工作流配置"), null;
311
311
  console.log(L.value, "currentRow.value12");
312
312
  try {
313
- let n = X(await t({
313
+ let t = X(await n({
314
314
  id: e.id,
315
315
  baseHttp: h.baseHttp,
316
316
  reqType: e.reqType,
@@ -319,8 +319,8 @@ var ue = /* @__PURE__ */ e(r()), de = {
319
319
  appKey: h.appKey,
320
320
  appSalt: h.appSalt
321
321
  }));
322
- if (!n) return null;
323
- let r = n.situationData || n.situation || [], i = n.forecastData || n.forecast || [], a = (e) => {
322
+ if (!t) return null;
323
+ let r = t.situationData || t.situation || [], i = t.forecastData || t.forecast || [], a = (e) => {
324
324
  if (!e) return "--";
325
325
  let t = e.split(" ");
326
326
  return t.length > 1 ? `${t[0].slice(5)} ${t[1].slice(0, 2)}时` : e;
@@ -546,14 +546,14 @@ var ue = /* @__PURE__ */ e(r()), de = {
546
546
  let e = h.mockData;
547
547
  N.value = e.list || [], M.value = e.dataTime || "";
548
548
  }, Ze = async (e) => {
549
- let n = Y("data");
550
- if (!n) return console.warn("PrecipitationRanking 缺少工作流配置"), [];
551
- let r = X(await t({
552
- id: n.id,
549
+ let t = Y("data");
550
+ if (!t) return console.warn("PrecipitationRanking 缺少工作流配置"), [];
551
+ let r = X(await n({
552
+ id: t.id,
553
553
  baseHttp: h.baseHttp,
554
- reqType: n.reqType,
554
+ reqType: t.reqType,
555
555
  variables: e.isCustom == "0" ? { isCustom: e.isCustom } : e.isCustom == "1" ? e : {},
556
- isFormData: n.isFormData,
556
+ isFormData: t.isFormData,
557
557
  appKey: h.appKey,
558
558
  appSalt: h.appSalt
559
559
  }));
@@ -623,20 +623,20 @@ var ue = /* @__PURE__ */ e(r()), de = {
623
623
  }, nt = () => {
624
624
  B &&= (clearInterval(B), null);
625
625
  };
626
- return ie(() => {
626
+ return re(() => {
627
627
  r?.on("toComponent", (e) => {
628
628
  e.componentName === "PrecipitationRanking" && $();
629
629
  }), $(), tt();
630
- }), re(() => {
630
+ }), y(() => {
631
631
  nt(), z &&= (z.dispose(), null);
632
632
  }), (t, n) => {
633
- let r = o, u = a, h = i, g = ee, _ = c, re = s;
634
- return ae((y(), f("div", de, [
633
+ let r = o, u = a, h = i, g = ee, _ = c, y = s;
634
+ return ae((b(), f("div", de, [
635
635
  p("button", {
636
636
  class: "PrecipitationRanking-close",
637
637
  onClick: Pe
638
638
  }, [...n[1] ||= [p("span", null, "✕", -1)]]),
639
- p("div", fe, [p("div", pe, [n[2] ||= p("h3", { class: "PrecipitationRanking-title" }, "自动站降水排名", -1), M.value ? (y(), f("span", me, "(数据时间:" + S(M.value) + ")", 1)) : d("", !0)]), n[3] ||= p("img", {
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", {
640
640
  style: {
641
641
  width: "100%",
642
642
  "object-fit": "contain",
@@ -657,7 +657,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
657
657
  }, [m(r, { class: "PrecipitationRanking-icon" }, {
658
658
  default: w(() => [m(C(ce))]),
659
659
  _: 1
660
- }), n[5] ||= p("span", null, "刷新", -1)])])]), p("div", ve, [p("div", ye, [(y(), f(l, null, x(V, (e) => p("button", {
660
+ }), n[5] ||= p("span", null, "刷新", -1)])])]), p("div", ve, [p("div", ye, [(b(), f(l, null, ie(V, (e) => p("button", {
661
661
  key: e.value,
662
662
  class: v(["PrecipitationRanking-timeTag", { "PrecipitationRanking-timeTag--active": A.value.includes(e.value) }]),
663
663
  onClick: (t) => We(e.value)
@@ -665,7 +665,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
665
665
  class: v(["PrecipitationRanking-timeTag", { "PrecipitationRanking-timeTag--active": j.value }]),
666
666
  onClick: Ge
667
667
  }, " 自定义 ", 2)])])]),
668
- j.value ? (y(), f("div", xe, [n[7] ||= p("span", { class: "PrecipitationRanking-customLabel" }, "时间范围", -1), m(h, { locale: C(le) }, {
668
+ j.value ? (b(), f("div", xe, [n[7] ||= p("span", { class: "PrecipitationRanking-customLabel" }, "时间范围", -1), m(h, { locale: C(le) }, {
669
669
  default: w(() => [m(u, {
670
670
  modelValue: F.value,
671
671
  "onUpdate:modelValue": n[0] ||= (e) => F.value = e,
@@ -706,7 +706,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
706
706
  "min-width": "80",
707
707
  "show-overflow-tooltip": ""
708
708
  }),
709
- (y(!0), f(l, null, x(U.value, (e) => (y(), te(g, {
709
+ (b(!0), f(l, null, ie(U.value, (e) => (b(), te(g, {
710
710
  key: e.value,
711
711
  label: e.label + "(mm)",
712
712
  align: "center",
@@ -729,7 +729,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
729
729
  ]),
730
730
  _: 1
731
731
  }, 8, ["data", "height"])])]),
732
- I.value ? (y(), 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", {
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", {
733
733
  class: "PrecipitationRanking-trendClose",
734
734
  onClick: Le
735
735
  }, "✕")]), p("div", {
@@ -737,7 +737,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
737
737
  ref: R,
738
738
  class: "PrecipitationRanking-trendChart"
739
739
  }, null, 512)])])) : d("", !0)
740
- ])), [[re, O.value]]);
740
+ ])), [[y, O.value]]);
741
741
  };
742
742
  }
743
743
  }), [["__scopeId", "data-v-3b8e660b"]]);
@@ -1,5 +1,5 @@
1
- import "./component-AqiMonitor-BUXDYKbQ.mjs";
2
- import { f as e, l as t } from "./component-Agent-Cr-ntDoH.mjs";
1
+ import "./component-AqiMonitor-WvrknfI9.mjs";
2
+ import { d as e, m as t } from "./component-Agent-DqXO06Ql.mjs";
3
3
  import { ElLoadingDirective as n } from "element-plus/es";
4
4
  import { Fragment as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, getCurrentInstance as c, onMounted as l, openBlock as u, ref as d, renderList as f, toDisplayString as p, vModelCheckbox as m, withDirectives as h } from "vue";
5
5
  //#region src/components/RadarChart/RadarChart.vue?vue&type=script&setup=true&lang.ts
@@ -12,7 +12,7 @@ var g = {
12
12
  } }, O = { style: {
13
13
  width: "80px",
14
14
  "text-align": "center"
15
- } }, k = { key: 0 }, A = /* @__PURE__ */ t(/* @__PURE__ */ s({
15
+ } }, k = { key: 0 }, A = /* @__PURE__ */ e(/* @__PURE__ */ s({
16
16
  __name: "RadarChart",
17
17
  props: {
18
18
  appKey: {
@@ -37,8 +37,8 @@ var g = {
37
37
  }
38
38
  },
39
39
  emits: ["close"],
40
- setup(t, { emit: s }) {
41
- let A = c()?.appContext.config.globalProperties.$bus, j = t, M = s, N = d(!1), P = d([]), F = d(!0), I = d(0);
40
+ setup(e, { emit: s }) {
41
+ let A = c()?.appContext.config.globalProperties.$bus, j = e, M = s, N = d(!1), P = d([]), F = d(!0), I = d(0);
42
42
  l(() => {
43
43
  A?.on("toComponent", (e) => {
44
44
  e.componentName === "RadarChart" && L();
@@ -48,7 +48,7 @@ var g = {
48
48
  await R();
49
49
  }, R = async () => {
50
50
  N.value = !0;
51
- let t = await e({
51
+ let e = await t({
52
52
  appKey: j.appKey,
53
53
  appSalt: j.appSalt,
54
54
  id: j.ids.data.id,
@@ -57,8 +57,8 @@ var g = {
57
57
  reqType: j.ids.data.reqType,
58
58
  isFormData: j.ids.data.isFormData
59
59
  });
60
- N.value = !1, console.log(t, "雷达数据");
61
- let n = t.data?.result?.output || [];
60
+ N.value = !1, console.log(e, "雷达数据");
61
+ let n = e.data?.result?.output || [];
62
62
  n && n.length > 0 && (P.value = n.map((e) => ({
63
63
  ...e,
64
64
  areaName: e.area_name || e.areaName || "",
@@ -68,9 +68,9 @@ var g = {
68
68
  }, z = () => {
69
69
  M("close", "RadarChart");
70
70
  };
71
- return (e, s) => {
71
+ return (t, s) => {
72
72
  let c = n;
73
- return h((u(), a("div", g, [o("div", _, [o("div", v, [o("div", null, p(t.title), 1), o("div", {
73
+ return h((u(), a("div", g, [o("div", _, [o("div", v, [o("div", null, p(e.title), 1), o("div", {
74
74
  class: "closeBtn",
75
75
  onClick: z,
76
76
  title: "关闭"
@@ -1,4 +1,4 @@
1
- import { l as e } from "./component-Agent-Cr-ntDoH.mjs";
1
+ import { d as e } from "./component-Agent-DqXO06Ql.mjs";
2
2
  import { Fragment as t, createElementBlock as n, createElementVNode as r, defineComponent as i, getCurrentInstance as a, normalizeClass as o, normalizeStyle as s, onMounted as c, openBlock as l, ref as u, renderList as d, toDisplayString as f, vShow as p, withDirectives as m } from "vue";
3
3
  //#region src/components/RadarLegend/RadarLegend.vue?vue&type=script&setup=true&lang.ts
4
4
  var h = { class: "RadarLegend-colorList" }, g = { class: "valueText" }, _ = /* @__PURE__ */ e(/* @__PURE__ */ i({
@@ -1,7 +1,7 @@
1
- import "./component-AqiMonitor-BUXDYKbQ.mjs";
2
- import { f as e, l as t } from "./component-Agent-Cr-ntDoH.mjs";
3
- import { n } from "./component-HighWayEarlyWarningRed-Cv-Rh-cC.mjs";
4
- import { t as r } from "./component-RadarLegend-CjhaPfOW.mjs";
1
+ import "./component-AqiMonitor-WvrknfI9.mjs";
2
+ import { d as e, m as t } from "./component-Agent-DqXO06Ql.mjs";
3
+ import { n } from "./component-HighWayEarlyWarningRed-F0q1FCTw.mjs";
4
+ import { t as r } from "./component-RadarLegend-rXlAb8lF.mjs";
5
5
  import { ElCheckbox as i, ElIcon as a, ElLoadingDirective as o } from "element-plus/es";
6
6
  import { Fragment as s, computed as c, createBlock as l, createCommentVNode as ee, createElementBlock as u, createElementVNode as d, createTextVNode as te, createVNode as f, defineComponent as p, nextTick as m, normalizeClass as h, normalizeStyle as g, onBeforeUnmount as ne, onMounted as re, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as x, vShow as S, watch as ie, withCtx as C, withDirectives as w } from "vue";
7
7
  import { ArrowRight as T, VideoPause as ae, VideoPlay as oe } from "@element-plus/icons-vue";
@@ -22,7 +22,7 @@ var ce = {
22
22
  }, Oe = ["onClick"], ke = {
23
23
  key: 1,
24
24
  class: "pile-empty"
25
- }, Ae = { class: "RadarShortTerm-timeline" }, je = ["title"], Me = { class: "timeline-slider-wrap" }, Ne = { class: "timeline-time-label" }, Pe = { class: "radarAxis-li" }, Fe = ["onClick"], Ie = { class: "radarAxis-li-node-text" }, E = /* @__PURE__ */ t(/* @__PURE__ */ p({
25
+ }, Ae = { class: "RadarShortTerm-timeline" }, je = ["title"], Me = { class: "timeline-slider-wrap" }, Ne = { class: "timeline-time-label" }, Pe = { class: "radarAxis-li" }, Fe = ["onClick"], Ie = { class: "radarAxis-li-node-text" }, E = /* @__PURE__ */ e(/* @__PURE__ */ p({
26
26
  __name: "RadarShortTerm",
27
27
  props: {
28
28
  appKey: {
@@ -57,8 +57,8 @@ var ce = {
57
57
  "setImgAniShowByIndex",
58
58
  "changeLoading"
59
59
  ],
60
- setup(t, { emit: p }) {
61
- let E = t, D = p, O = v(!0), k = v(!1), A = v(0), j = v(null), M = v([]), N = v({}), P = v({}), F = v({}), I = v(""), L = v(null), R = v(!0), z = v(null), B = v(null), V = v("chart"), H = v(!0), U = v(null), W = v({
60
+ setup(e, { emit: p }) {
61
+ let E = e, D = p, O = v(!0), k = v(!1), A = v(0), j = v(null), M = v([]), N = v({}), P = v({}), F = v({}), I = v(""), L = v(null), R = v(!0), z = v(null), B = v(null), V = v("chart"), H = v(!0), U = v(null), W = v({
62
62
  httpurl: "",
63
63
  lngStart: void 0,
64
64
  latStart: void 0,
@@ -136,7 +136,7 @@ var ce = {
136
136
  V.value = e, e === "chart" && (await m(), B.value?.resize());
137
137
  }, J = async () => {
138
138
  R.value = !0;
139
- let t = await e({
139
+ let e = await t({
140
140
  appKey: E.appKey,
141
141
  appSalt: E.appSalt,
142
142
  id: E.ids.radar.id,
@@ -145,8 +145,8 @@ var ce = {
145
145
  reqType: E.ids.radar.reqType,
146
146
  isFormData: E.ids.radar.isFormData
147
147
  });
148
- console.log("雷达", t.data.result);
149
- let n = await e({
148
+ console.log("雷达", e.data.result);
149
+ let n = await t({
150
150
  appKey: E.appKey,
151
151
  appSalt: E.appSalt,
152
152
  id: E.ids.historyRadar.id,
@@ -156,7 +156,7 @@ var ce = {
156
156
  isFormData: E.ids.historyRadar.isFormData
157
157
  });
158
158
  console.log("历史雷达", n.data.result), R.value = !1;
159
- let r = Be(t.data.result), i = Be(n.data.result);
159
+ let r = Be(e.data.result), i = Be(n.data.result);
160
160
  W.value = {
161
161
  httpurl: r.httpurl,
162
162
  ...r.extent
@@ -189,7 +189,7 @@ var ce = {
189
189
  Ye(e), D("showRadarLegend", !0);
190
190
  }, 1e3));
191
191
  }, Re = async () => {
192
- let t = await e({
192
+ let e = await t({
193
193
  appKey: E.appKey,
194
194
  appSalt: E.appSalt,
195
195
  id: E.ids.shortTerm.id,
@@ -198,7 +198,7 @@ var ce = {
198
198
  reqType: E.ids.shortTerm.reqType,
199
199
  isFormData: E.ids.shortTerm.isFormData
200
200
  });
201
- return console.log("短时预报", t.data.result.ds), t.data.result.ds || [];
201
+ return console.log("短时预报", e.data.result.ds), e.data.result.ds || [];
202
202
  }, ze = (e) => {
203
203
  let t = String(e || "").split(",").map((e) => Number(e.trim()));
204
204
  return {
@@ -1,5 +1,5 @@
1
- import "./component-AqiMonitor-BUXDYKbQ.mjs";
2
- import { f as e, l as t } from "./component-Agent-Cr-ntDoH.mjs";
1
+ import "./component-AqiMonitor-WvrknfI9.mjs";
2
+ import { d as e, m as t } from "./component-Agent-DqXO06Ql.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, normalizeStyle as d, onMounted as f, onUnmounted as ee, openBlock as p, ref as m, renderList as h, toDisplayString as g, vShow as _, watch as te, withDirectives as v, withModifiers as y } from "vue";
5
5
  //#region src/components/RadarTime/RadarTime.vue?vue&type=script&setup=true&lang.ts
@@ -23,7 +23,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
23
23
  height: "20",
24
24
  viewBox: "0 0 24 24",
25
25
  fill: "#fff"
26
- }, Se = { class: "RadarTime__track-bg" }, Ce = { class: "RadarTime__track-content" }, we = ["onClick"], S = /* @__PURE__ */ t(/* @__PURE__ */ c({
26
+ }, Se = { class: "RadarTime__track-bg" }, Ce = { class: "RadarTime__track-content" }, we = ["onClick"], S = /* @__PURE__ */ e(/* @__PURE__ */ c({
27
27
  __name: "RadarTime",
28
28
  props: {
29
29
  appKey: {
@@ -119,8 +119,8 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
119
119
  "addPolygon",
120
120
  "addMarker"
121
121
  ],
122
- setup(t, { emit: c }) {
123
- let S = l()?.appContext.config.globalProperties.$bus, C = t, w = c, T = m(!1), E = m(!1), D = m([]), O = m([]), k = m([]), A = m(0), j = m([]), M = m(null), N = m(!1), P = m(null), F = m(!1), I = m(null), L = m(0), R = i(() => O.value.map((e) => ({
122
+ setup(e, { emit: c }) {
123
+ let S = l()?.appContext.config.globalProperties.$bus, C = e, w = c, T = m(!1), E = m(!1), D = m([]), O = m([]), k = m([]), A = m(0), j = m([]), M = m(null), N = m(!1), P = m(null), F = m(!1), I = m(null), L = m(0), R = i(() => O.value.map((e) => ({
124
124
  time: e.radar_time,
125
125
  displayTime: e.radar_time?.substring(11, 16) || "",
126
126
  selectedTime: e.radar_time?.substring(0, 16) || ""
@@ -219,7 +219,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
219
219
  }, 0);
220
220
  }, Q = async () => {
221
221
  T.value = !0;
222
- let t = {
222
+ let e = {
223
223
  appKey: C.appKey,
224
224
  appSalt: C.appSalt,
225
225
  id: C.ids.data.id2,
@@ -237,7 +237,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
237
237
  isFormData: C.ids.data.isFormData
238
238
  };
239
239
  try {
240
- let n = (await e(t)).data?.result?.output || "", r = JSON.parse(n)?.data || [];
240
+ let n = (await t(e)).data?.result?.output || "", r = JSON.parse(n)?.data || [];
241
241
  console.log(r, "雷达实况数据(标准版)"), r && r.length > 0 && (r = r.reverse(), O.value = r.map((e) => {
242
242
  let t = "";
243
243
  if (e.imagePath) {
@@ -257,20 +257,20 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
257
257
  } finally {
258
258
  T.value = !1;
259
259
  }
260
- }, $ = async (t) => {
260
+ }, $ = async (e) => {
261
261
  let n = {
262
262
  appKey: C.appKey,
263
263
  appSalt: C.appSalt,
264
264
  id: C.ids.data.forecastId,
265
- variables: { dateTime: t || O.value[O.value.length - 1]?.date_time || "" },
265
+ variables: { dateTime: e || O.value[O.value.length - 1]?.date_time || "" },
266
266
  baseHttp: C.baseHttp,
267
267
  reqType: C.ids.data.reqType,
268
268
  isFormData: C.ids.data.isFormData
269
269
  };
270
270
  try {
271
- let t = await e(n);
272
- console.log(t, "雷达外推数据");
273
- let r = t.data?.result?.output || "", i = {};
271
+ let e = await t(n);
272
+ console.log(e, "雷达外推数据");
273
+ let r = e.data?.result?.output || "", i = {};
274
274
  try {
275
275
  i = typeof r == "string" ? JSON.parse(r) : r;
276
276
  } catch (e) {
@@ -303,7 +303,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
303
303
  }), console.log(k.value, "forecastList 外推数据");
304
304
  }, Le = async () => {
305
305
  try {
306
- let t = (await e({
306
+ let e = (await t({
307
307
  appKey: C.appKey,
308
308
  appSalt: C.appSalt,
309
309
  id: C.ids.data.radarListId,
@@ -312,7 +312,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
312
312
  reqType: C.ids.data.reqType,
313
313
  isFormData: C.ids.data.isFormData
314
314
  })).data?.result?.output || [];
315
- t && t.length > 0 && (j.value = t, M.value = t[0], console.log(t, "雷达列表数据"));
315
+ e && e.length > 0 && (j.value = e, M.value = e[0], console.log(e, "雷达列表数据"));
316
316
  } catch (e) {
317
317
  console.error("获取雷达列表失败:", e);
318
318
  }
@@ -446,9 +446,9 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
446
446
  }, Ve = () => {
447
447
  Y(), w("clearImg", "radarLayer"), w("close", "RadarTime");
448
448
  };
449
- return (e, i) => {
449
+ return (t, i) => {
450
450
  let c = n;
451
- return v((p(), o("div", b, [s("div", ne, [s("div", re, [t.showCloseBtn ? (p(), o("div", {
451
+ return v((p(), o("div", b, [s("div", ne, [s("div", re, [e.showCloseBtn ? (p(), o("div", {
452
452
  key: 0,
453
453
  class: "closeBtn",
454
454
  onClick: Ve,
@@ -472,11 +472,11 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
472
472
  onClick: (e) => Oe(t)
473
473
  }, g(e.time), 11, le))), 128))])], 512), [[_, F.value]])], 512),
474
474
  D.value.length > 0 && A.value >= 0 ? (p(), o("div", ue, [i[2] ||= s("span", { class: "RadarTime__node-label" }, "当前:", -1), s("span", de, g(D.value[A.value]?.time || "--:--"), 1)])) : a("", !0),
475
- s("div", fe, [i[3] ||= s("span", { class: "RadarTime__legend-title" }, "图例", -1), s("div", pe, [(p(!0), o(r, null, h(t.legendData, (e, t) => (p(), o("div", {
475
+ s("div", fe, [i[3] ||= s("span", { class: "RadarTime__legend-title" }, "图例", -1), s("div", pe, [(p(!0), o(r, null, h(e.legendData, (e, t) => (p(), o("div", {
476
476
  key: t,
477
477
  class: "RadarTime__legend-segment",
478
478
  style: d({ backgroundColor: e.color })
479
- }, null, 4))), 128)), s("div", x, [(p(!0), o(r, null, h(t.legendData, (e, t) => (p(), o("span", { key: t }, g(e.value), 1))), 128))])])])
479
+ }, null, 4))), 128)), s("div", x, [(p(!0), o(r, null, h(e.legendData, (e, t) => (p(), o("span", { key: t }, g(e.value), 1))), 128))])])])
480
480
  ]),
481
481
  j.value.length > 0 ? (p(), o("div", me, [s("div", {
482
482
  class: "RadarTime__station-dropdown",
@@ -1,11 +1,11 @@
1
- import "./component-AqiMonitor-BUXDYKbQ.mjs";
2
- import { f as e, l as t } from "./component-Agent-Cr-ntDoH.mjs";
1
+ import "./component-AqiMonitor-WvrknfI9.mjs";
2
+ import { d as e, m as t } from "./component-Agent-DqXO06Ql.mjs";
3
3
  import { createCommentVNode as n, createElementBlock as r, createElementVNode as i, defineComponent as a, onBeforeUnmount as o, onMounted as s, openBlock as c, ref as l, toDisplayString as u } from "vue";
4
4
  //#region src/components/RenderMarkdown/RenderMarkdown.vue?vue&type=script&setup=true&lang.ts
5
5
  var d = {
6
6
  key: 0,
7
7
  class: "RenderMarkdown"
8
- }, f = { class: "RenderMarkdown-head" }, p = { class: "RenderMarkdown-head-top" }, m = { class: "duty-section" }, h = ["innerHTML"], g = /* @__PURE__ */ t(/* @__PURE__ */ a({
8
+ }, f = { class: "RenderMarkdown-head" }, p = { class: "RenderMarkdown-head-top" }, m = { class: "duty-section" }, h = ["innerHTML"], g = /* @__PURE__ */ e(/* @__PURE__ */ a({
9
9
  __name: "RenderMarkdown",
10
10
  props: {
11
11
  appKey: {
@@ -30,8 +30,8 @@ var d = {
30
30
  }
31
31
  },
32
32
  emits: ["close"],
33
- setup(t, { emit: a }) {
34
- let g = t, _ = a, v = l({}), y = l(null), b = async () => {
33
+ setup(e, { emit: a }) {
34
+ let g = e, _ = a, v = l({}), y = l(null), b = async () => {
35
35
  await x();
36
36
  };
37
37
  s(() => {
@@ -42,7 +42,7 @@ var d = {
42
42
  y.value &&= (clearInterval(y.value), null);
43
43
  });
44
44
  let x = async () => {
45
- v.value = (await e({
45
+ v.value = (await t({
46
46
  appKey: g.appKey,
47
47
  appSalt: g.appSalt,
48
48
  id: g.ids.data.id,
@@ -1,6 +1,6 @@
1
- import "./component-AqiMonitor-BUXDYKbQ.mjs";
2
- import { f as e, l as t } from "./component-Agent-Cr-ntDoH.mjs";
3
- import { n } from "./component-GeologyLiveAlarm-D-8PLp8C.mjs";
1
+ import "./component-AqiMonitor-WvrknfI9.mjs";
2
+ import { d as e, m as t } from "./component-Agent-DqXO06Ql.mjs";
3
+ import { n } from "./component-GeologyLiveAlarm-Bg710d1g.mjs";
4
4
  import { ElIcon as r, ElLoadingDirective as i, ElRadio as a, ElRadioGroup as o } from "element-plus/es";
5
5
  import { Fragment as s, computed as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, mergeProps as ee, nextTick as h, normalizeClass as g, normalizeStyle as te, onBeforeUnmount as ne, onMounted as re, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as x, vShow as S, withCtx as C, withDirectives as w } from "vue";
6
6
  import { ArrowRight as T } from "@element-plus/icons-vue";
@@ -33,7 +33,7 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAA
33
33
  }, Fe = { class: "detail-popup-head" }, Ie = { class: "detail-popup-title" }, Le = { class: "detail-popup-row" }, Re = { class: "detail-popup-row" }, ze = { class: "detail-popup-row" }, Be = { class: "detail-popup-row" }, Ve = { class: "detail-popup-row" }, He = { class: "detail-popup-row" }, Ue = { key: 0 }, We = {
34
34
  key: 0,
35
35
  style: { "margin-right": "10px" }
36
- }, Ge = { key: 1 }, Ke = { key: 1 }, E = "当前暂无报警", D = /* @__PURE__ */ t(/* @__PURE__ */ m({
36
+ }, Ge = { key: 1 }, Ke = { key: 1 }, E = "当前暂无报警", D = /* @__PURE__ */ e(/* @__PURE__ */ m({
37
37
  inheritAttrs: !1,
38
38
  __name: "ReservoirLiveAlarm",
39
39
  props: {
@@ -62,8 +62,8 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAA
62
62
  "removeDataTitle",
63
63
  "toMapView"
64
64
  ],
65
- setup(t, { emit: m }) {
66
- let D = t, O = m, qe = v([]), k = v(""), A = v(!1), j = v(null), M = v(null), N = v("table"), P = v("1h降水"), F = v(!1), I = v(!1), L = v({}), R = v("水库点观测时间:--"), z = v([]), B = v({}), V = v({}), H = null, Je = c(() => k.value === E ? "#52c41a" : "#ff4d4f"), U = (e) => (e || []).filter((e) => X(e)).length, W = () => H || (H = new Audio(n), H.preload = "auto", H), Ye = () => new Promise((e) => {
65
+ setup(e, { emit: m }) {
66
+ let D = e, O = m, qe = v([]), k = v(""), A = v(!1), j = v(null), M = v(null), N = v("table"), P = v("1h降水"), F = v(!1), I = v(!1), L = v({}), R = v("水库点观测时间:--"), z = v([]), B = v({}), V = v({}), H = null, Je = c(() => k.value === E ? "#52c41a" : "#ff4d4f"), U = (e) => (e || []).filter((e) => X(e)).length, W = () => H || (H = new Audio(n), H.preload = "auto", H), Ye = () => new Promise((e) => {
67
67
  let t = W();
68
68
  t.volume = 0, t.currentTime = 0;
69
69
  let n = t.play();
@@ -100,7 +100,7 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAA
100
100
  });
101
101
  let K = async () => {
102
102
  A.value = !0;
103
- let t = await e({
103
+ let e = await t({
104
104
  appKey: D.appKey,
105
105
  appSalt: D.appSalt,
106
106
  id: D.ids.data.id,
@@ -110,7 +110,7 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAA
110
110
  isFormData: D.ids.data.isFormData
111
111
  });
112
112
  A.value = !1;
113
- let n = t.data.result.ds;
113
+ let n = e.data.result.ds;
114
114
  console.log("得到数据", JSON.parse(JSON.stringify(n))), qe.value = n;
115
115
  let r = R.value, i = $e(n);
116
116
  R.value = i, O("removeDataTitle", r), setTimeout(() => {
@@ -1,11 +1,11 @@
1
- import "./component-AqiMonitor-BUXDYKbQ.mjs";
2
- import { f as e, l as t } from "./component-Agent-Cr-ntDoH.mjs";
1
+ import "./component-AqiMonitor-WvrknfI9.mjs";
2
+ import { d as e, m as t } from "./component-Agent-DqXO06Ql.mjs";
3
3
  import { Fragment as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, getCurrentInstance as s, onMounted as c, openBlock as l, ref as u, renderList as d, toDisplayString as f, withModifiers as p } from "vue";
4
4
  //#region src/components/ServiceMaterial/ServiceMaterial.vue?vue&type=script&setup=true&lang.ts
5
5
  var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g = { class: "ServiceMaterial__head-top" }, _ = { class: "ServiceMaterial__body" }, v = { class: "ServiceMaterial__list" }, y = { class: "ServiceMaterial__list-container" }, b = { class: "ServiceMaterial__list-content" }, x = { class: "ServiceMaterial__list-col ServiceMaterial__list-col--name" }, S = ["title"], C = { class: "ServiceMaterial__list-col ServiceMaterial__list-col--time" }, w = { class: "ServiceMaterial__list-col ServiceMaterial__list-col--action" }, T = ["onClick"], E = ["onClick"], D = {
6
6
  key: 0,
7
7
  class: "ServiceMaterial__empty"
8
- }, O = { class: "ServiceMaterial__list-footer" }, k = { class: "ServiceMaterial__total" }, A = /* @__PURE__ */ t(/* @__PURE__ */ o({
8
+ }, O = { class: "ServiceMaterial__list-footer" }, k = { class: "ServiceMaterial__total" }, A = /* @__PURE__ */ e(/* @__PURE__ */ o({
9
9
  __name: "ServiceMaterial",
10
10
  props: {
11
11
  appKey: {
@@ -34,8 +34,8 @@ var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g
34
34
  "preview",
35
35
  "download"
36
36
  ],
37
- setup(t, { emit: o }) {
38
- let A = s()?.appContext.config.globalProperties.$bus, j = t, M = o, N = u(!1), P = u([]);
37
+ setup(e, { emit: o }) {
38
+ let A = s()?.appContext.config.globalProperties.$bus, j = e, M = o, N = u(!1), P = u([]);
39
39
  c(() => {
40
40
  A?.on("toComponent", (e) => {
41
41
  e.componentName === "ServiceMaterial" && F();
@@ -47,7 +47,7 @@ var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g
47
47
  if (j.ids.data?.id) {
48
48
  N.value = !0;
49
49
  try {
50
- let t = await e({
50
+ let e = await t({
51
51
  appKey: j.appKey,
52
52
  appSalt: j.appSalt,
53
53
  id: j.ids.data.id,
@@ -56,8 +56,8 @@ var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g
56
56
  reqType: j.ids.data.reqType,
57
57
  isFormData: j.ids.data.isFormData
58
58
  });
59
- console.log(t, "服务材料数据");
60
- let n = t.data?.result?.output || [];
59
+ console.log(e, "服务材料数据");
60
+ let n = e.data?.result?.output || [];
61
61
  Array.isArray(n) && n.length > 0 && (P.value = n.map((e) => ({
62
62
  id: e.id || e.file_id,
63
63
  name: e.name || e.file_name || e.title || "",
@@ -80,7 +80,7 @@ var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g
80
80
  }, B = () => {
81
81
  M("close", "ServiceMaterial");
82
82
  };
83
- return (e, o) => (l(), i("div", m, [a("div", h, [a("div", g, [a("div", null, f(t.title), 1), a("div", {
83
+ return (t, o) => (l(), i("div", m, [a("div", h, [a("div", g, [a("div", null, f(e.title), 1), a("div", {
84
84
  class: "closeBtn",
85
85
  onClick: B,
86
86
  title: "关闭"
@@ -1,5 +1,5 @@
1
- import "./component-AqiMonitor-BUXDYKbQ.mjs";
2
- import { l as e } from "./component-Agent-Cr-ntDoH.mjs";
1
+ import "./component-AqiMonitor-WvrknfI9.mjs";
2
+ import { d as e } from "./component-Agent-DqXO06Ql.mjs";
3
3
  import { ElButton as t, ElDialog as n } from "element-plus/es";
4
4
  import { Fragment as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, defineComponent as c, isRef as l, onBeforeUnmount as u, onMounted as d, openBlock as f, ref as p, unref as m, withCtx as h } from "vue";
5
5
  import "element-plus/es/components/dialog/style/css";
@@ -1,7 +1,7 @@
1
1
  import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
2
- import { f as t, l as n } from "./component-Agent-Cr-ntDoH.mjs";
3
- import { _ as r, a as i, c as a, d as o, f as s, g as c, h as ee, i as te, l as ne, m as re, n as ie, o as ae, p as oe, r as se, s as ce, u as le, v as ue, y as de } from "./component-Forecast72h-B85PYYlt.mjs";
4
- import { i as l, n as u } from "./component-HdFarmStationDialog-C42Kalh1.mjs";
2
+ import { d as t, m as n } from "./component-Agent-DqXO06Ql.mjs";
3
+ import { _ as r, a as i, c as a, d as o, f as s, g as c, h as ee, i as te, l as ne, m as re, n as ie, o as ae, p as oe, r as se, s as ce, u as le, v as ue, y as de } from "./component-Forecast72h-5DGIhVUd.mjs";
4
+ import { i as l, n as u } from "./component-HdFarmStationDialog-DHGlfkae.mjs";
5
5
  import { ElConfigProvider as fe, ElDatePicker as pe, ElIcon as me, ElLoadingDirective as he, ElTable as ge, ElTableColumn as _e } from "element-plus/es";
6
6
  import { Fragment as d, Teleport as ve, createBlock as ye, createCommentVNode as be, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, getCurrentInstance as xe, nextTick as _, normalizeClass as v, normalizeStyle as Se, onBeforeUnmount as Ce, onMounted as we, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, vShow as Te, watch as Ee, withCtx as w, withDirectives as De } from "vue";
7
7
  import { Close as Oe, Download as ke, Histogram as Ae } from "@element-plus/icons-vue";
@@ -34,7 +34,7 @@ var Me = /* @__PURE__ */ e(u()), Ne = {
34
34
  }, At = { class: "StationPop-historyPopup" }, jt = { class: "StationPop-historyHeader" }, Mt = { class: "StationPop-historyTitle" }, Nt = { class: "StationPop-historySubTitle" }, Pt = {
35
35
  class: "StationPop-historyTabs",
36
36
  style: { position: "relative" }
37
- }, Ft = ["onClick"], It = { class: "StationPop-historyActions" }, Lt = { class: "StationPop-historyTableWrap" }, E = /* @__PURE__ */ n(/* @__PURE__ */ g({
37
+ }, Ft = ["onClick"], It = { class: "StationPop-historyActions" }, Lt = { class: "StationPop-historyTableWrap" }, E = /* @__PURE__ */ t(/* @__PURE__ */ g({
38
38
  __name: "StationDialog",
39
39
  props: {
40
40
  componentStyle: { default: () => ({}) },
@@ -51,7 +51,7 @@ var Me = /* @__PURE__ */ e(u()), Ne = {
51
51
  mockData: { default: () => ({}) }
52
52
  },
53
53
  setup(e) {
54
- let n = /* @__PURE__ */ Object.assign({
54
+ let t = /* @__PURE__ */ Object.assign({
55
55
  "../../assets/img/hd/wind/wind-0.png": de,
56
56
  "../../assets/img/hd/wind/wind-1.png": ue,
57
57
  "../../assets/img/hd/wind/wind-10.png": r,
@@ -70,7 +70,7 @@ var Me = /* @__PURE__ */ e(u()), Ne = {
70
70
  "../../assets/img/hd/wind/wind-7.png": te,
71
71
  "../../assets/img/hd/wind/wind-8.png": se,
72
72
  "../../assets/img/hd/wind/wind-9.png": ie
73
- }), u = (e) => n[`../../assets/img/hd/wind/wind-${Math.max(0, Math.min(17, e))}.png`] || "", g = (e) => {
73
+ }), u = (e) => t[`../../assets/img/hd/wind/wind-${Math.max(0, Math.min(17, e))}.png`] || "", g = (e) => {
74
74
  let t = [
75
75
  .3,
76
76
  1.6,
@@ -139,17 +139,17 @@ var Me = /* @__PURE__ */ e(u()), Ne = {
139
139
  }, K = (e) => {
140
140
  let t = O.ids[e] || O.ids.data;
141
141
  return t?.id ? t : null;
142
- }, q = async (e, n = {}) => {
142
+ }, q = async (e, t = {}) => {
143
143
  let r = K(e);
144
144
  if (!r) throw Error(`缺少 ${e} 对应的工作流配置`);
145
- return await t({
145
+ return await n({
146
146
  id: r.id,
147
147
  baseHttp: O.baseHttp,
148
148
  reqType: r.reqType,
149
149
  variables: {
150
150
  stationCode: O.stationCode,
151
151
  stationIdC: k.value,
152
- ...n
152
+ ...t
153
153
  },
154
154
  isFormData: r.isFormData,
155
155
  appKey: O.appKey,