nxd-plugin 1.8.30 → 1.8.32

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 (83) hide show
  1. package/dist/chunks/YCServiceSummary-DV3m13Hv.mjs +2 -0
  2. package/dist/chunks/component-Agent-Cm4CMOGO.mjs +383 -0
  3. package/dist/chunks/{component-AiChat-COULZNRK.mjs → component-AiChat-HpEVNeXU.mjs} +1082 -1105
  4. package/dist/chunks/{component-AqiMonitor-C9khnF2x.mjs → component-AqiMonitor-CQB7tv42.mjs} +10 -9
  5. package/dist/chunks/{component-ChartCumulativePre-CmcRqyrN.mjs → component-ChartCumulativePre-UGMGIaSD.mjs} +8 -7
  6. package/dist/chunks/{component-ChartServiceMaterial-FwkbU2Z-.mjs → component-ChartServiceMaterial-DYZnc6HE.mjs} +7 -6
  7. package/dist/chunks/{component-Duty-DhQkYGMU.mjs → component-Duty-CvJFScnU.mjs} +7 -6
  8. package/dist/chunks/{component-EarlyWarningStatistic-DUjk3de9.mjs → component-EarlyWarningStatistic-D2eRD1Y0.mjs} +7 -6
  9. package/dist/chunks/{component-EarlyWarningStatistic2-kHvwn4zP.mjs → component-EarlyWarningStatistic2-Duf6s5TU.mjs} +16 -15
  10. package/dist/chunks/{component-Forecast72h-yd9t3176.mjs → component-Forecast72h-D6kx3ogZ.mjs} +17 -16
  11. package/dist/chunks/{component-GeologyLiveAlarm-BIDfv4JR.mjs → component-GeologyLiveAlarm-D5rJ_DDm.mjs} +8 -7
  12. package/dist/chunks/{component-GridForecastMsg-D8dHHVHX.mjs → component-GridForecastMsg-DOx8B4aT.mjs} +9 -8
  13. package/dist/chunks/{component-HDSeaLegend-DkPk1gQ1.mjs → component-HDSeaLegend-DfaUIAY4.mjs} +2 -2
  14. package/dist/chunks/{component-HdCameraList-nPxzUdmB.mjs → component-HdCameraList-DFp_aEZB.mjs} +12 -11
  15. package/dist/chunks/{component-HdFarmStation-BDN_u87-.mjs → component-HdFarmStation-RMkcJKM_.mjs} +12 -11
  16. package/dist/chunks/{component-HdFarmStationDialog-CMKGe0YJ.mjs → component-HdFarmStationDialog-DXhVyrN-.mjs} +34 -33
  17. package/dist/chunks/{component-HdForecastProducts-C40qTOYa.mjs → component-HdForecastProducts-Cl7ciBRO.mjs} +11 -10
  18. package/dist/chunks/{component-HdHeatChart-Bw3VlWeE.mjs → component-HdHeatChart-EDjbIEIa.mjs} +13 -12
  19. package/dist/chunks/{component-HdHeatChartDialog-C0FfI8Zv.mjs → component-HdHeatChartDialog-CM5JN1_S.mjs} +12 -11
  20. package/dist/chunks/{component-HdHeatService-CIee1NwQ.mjs → component-HdHeatService-BcBoR9o7.mjs} +35 -34
  21. package/dist/chunks/{component-HdInsectDetailList-C_T57sID.mjs → component-HdInsectDetailList-BdEF2wR3.mjs} +17 -16
  22. package/dist/chunks/{component-HdInsectList-Bt48xM1M.mjs → component-HdInsectList-F_CWLwzX.mjs} +19 -18
  23. package/dist/chunks/{component-HdMajorActivity-CyAgx0og.mjs → component-HdMajorActivity-Cy2eP4St.mjs} +24 -23
  24. package/dist/chunks/{component-HdObservation-CY8TNPK8.mjs → component-HdObservation-CgjRJNKN.mjs} +11 -10
  25. package/dist/chunks/{component-HdPreSituation-CLXeQ_lX.mjs → component-HdPreSituation-DCBGp7j2.mjs} +10 -9
  26. package/dist/chunks/{component-HdQxServiceEffects-CzgyHOgp.mjs → component-HdQxServiceEffects-CbCofLaR.mjs} +11 -10
  27. package/dist/chunks/{component-HdRadarList--85ldZa2.mjs → component-HdRadarList-DP0CHxT-.mjs} +3 -3
  28. package/dist/chunks/{component-HdRadarTime-CJ--ljM9.mjs → component-HdRadarTime-KUc6alWx.mjs} +13 -12
  29. package/dist/chunks/{component-HdRadarTimeLine-jQxaaH8X.mjs → component-HdRadarTimeLine-B-gh24Ms.mjs} +14 -13
  30. package/dist/chunks/{component-HdRisk-HKXfRnuQ.mjs → component-HdRisk-BNMGDGIZ.mjs} +12 -11
  31. package/dist/chunks/{component-HdSeaCase-agNgpzcT.mjs → component-HdSeaCase-9zyw68M-.mjs} +27 -26
  32. package/dist/chunks/{component-HdServiceMarterial-DJA-s67d.mjs → component-HdServiceMarterial-QoHKI3Kn.mjs} +18 -17
  33. package/dist/chunks/{component-HdServiceRequirements-lXtnq5r2.mjs → component-HdServiceRequirements-BYe-G1Mh.mjs} +14 -13
  34. package/dist/chunks/{component-HdSoil-BtIq7NXx.mjs → component-HdSoil-B2WiCda3.mjs} +12 -11
  35. package/dist/chunks/{component-HdSoilDetailList-CxEzu-xk.mjs → component-HdSoilDetailList-Djriq1RD.mjs} +13 -12
  36. package/dist/chunks/{component-HdStationTem-CRfJb0wr.mjs → component-HdStationTem-Ct2beh9a.mjs} +18 -17
  37. package/dist/chunks/{component-HdSuggestion-2aFJRsau.mjs → component-HdSuggestion-SDIUMrXC.mjs} +14 -13
  38. package/dist/chunks/{component-HdThreeWeatherTrend-BWeGlUnt.mjs → component-HdThreeWeatherTrend-PcbYnx-q.mjs} +19 -18
  39. package/dist/chunks/{component-HdWaveForcast-DgcqZuG9.mjs → component-HdWaveForcast-Bw7vX1xw.mjs} +12 -11
  40. package/dist/chunks/{component-HighQuality-BNvi5OuR.mjs → component-HighQuality-ByrnjqiE.mjs} +17 -16
  41. package/dist/chunks/{component-HighWayEarlyWarningRed-DKqRexUr.mjs → component-HighWayEarlyWarningRed-BDgzUMlS.mjs} +17 -16
  42. package/dist/chunks/{component-HighWayFreeze-X9Lw4CtK.mjs → component-HighWayFreeze-szpetKFY.mjs} +9 -8
  43. package/dist/chunks/{component-HighwayLiveAlarm-BBXb3nQ-.mjs → component-HighwayLiveAlarm-CSdpFWFe.mjs} +7 -6
  44. package/dist/chunks/{component-HighwayLiveAlarmNew-DBZgrmS8.mjs → component-HighwayLiveAlarmNew-DbUPTPBH.mjs} +12 -11
  45. package/dist/chunks/{component-HighwayStations-k3ZCYTAH.mjs → component-HighwayStations-CNtSBBLD.mjs} +7 -6
  46. package/dist/chunks/{component-HighwayWeatherForecast-BAHrZUA9.mjs → component-HighwayWeatherForecast-oKik_1wG.mjs} +10 -9
  47. package/dist/chunks/{component-IframeWeb-DVfyMcAT.mjs → component-IframeWeb-KbZ-3_ry.mjs} +1 -1
  48. package/dist/chunks/{component-ImageGeneration-QHD-5aqR.mjs → component-ImageGeneration-CZ3MhHFM.mjs} +2 -2
  49. package/dist/chunks/{component-IntroducePic-DYicnxvR.mjs → component-IntroducePic-unQNI8nA.mjs} +14 -13
  50. package/dist/chunks/{component-LithiumBatteryMiningArea-Cy9Rjgx5.mjs → component-LithiumBatteryMiningArea-baQ8LJ6A.mjs} +13 -12
  51. package/dist/chunks/{component-MapPopup-DRakngil.mjs → component-MapPopup-DbxxWkcS.mjs} +1 -1
  52. package/dist/chunks/{component-MaterialPreview-C2AS-_sC.mjs → component-MaterialPreview-BopOLX9T.mjs} +6 -5
  53. package/dist/chunks/{component-PieLegend-DoIRy55w.mjs → component-PieLegend-CxXTe7ex.mjs} +1 -1
  54. package/dist/chunks/{component-PrecipitationRanking-Cp8wK9V7.mjs → component-PrecipitationRanking-BGDK_Sa9.mjs} +28 -27
  55. package/dist/chunks/{component-RadarChart-BR1qSBxo.mjs → component-RadarChart-BpISXowv.mjs} +11 -10
  56. package/dist/chunks/{component-RadarLegend-BOwHlnqR.mjs → component-RadarLegend-pRd2JniW.mjs} +1 -1
  57. package/dist/chunks/{component-RadarShortTerm-tP7CSL0g.mjs → component-RadarShortTerm-B69JfjsO.mjs} +14 -13
  58. package/dist/chunks/{component-RadarTime-Dv46BtEz.mjs → component-RadarTime-DAHQlSOH.mjs} +19 -18
  59. package/dist/chunks/{component-RenderMarkdown-CVp2KsJr.mjs → component-RenderMarkdown-D6YdNtD-.mjs} +7 -6
  60. package/dist/chunks/{component-ReservoirLiveAlarm-D6SaqJel.mjs → component-ReservoirLiveAlarm-B6lKQPpR.mjs} +9 -8
  61. package/dist/chunks/{component-ServiceMaterial-B-meX-St.mjs → component-ServiceMaterial-BrKn201l.mjs} +10 -9
  62. package/dist/chunks/{component-ServiceMaterialsBtn-DYzPuzq_.mjs → component-ServiceMaterialsBtn-BHd4-_Wn.mjs} +2 -2
  63. package/dist/chunks/{component-StationDialog-CnAIJZcL.mjs → component-StationDialog-BrhC-iYT.mjs} +10 -9
  64. package/dist/chunks/{component-StationList-DvHUcP8A.mjs → component-StationList-5XxBSNXb.mjs} +10 -9
  65. package/dist/chunks/{component-TimeBasedForecast-DP7ZYRQB.mjs → component-TimeBasedForecast-Cw3a4ZdW.mjs} +11 -10
  66. package/dist/chunks/{component-Typhoon-46xEbA06.mjs → component-Typhoon-D1YFBv4l.mjs} +3 -2
  67. package/dist/chunks/{component-WarningLine-BzedbVnZ.mjs → component-WarningLine-BtNfoWBe.mjs} +2 -2
  68. package/dist/chunks/{component-WarningSignal-CSF12lq7.mjs → component-WarningSignal-CXlDQXr1.mjs} +18 -17
  69. package/dist/chunks/{component-WeatherForecast-BhGvmaMS.mjs → component-WeatherForecast-Dw_jpaZR.mjs} +17 -16
  70. package/dist/chunks/{component-YCDataMonitor-sg_93erW.mjs → component-YCDataMonitor-cYVY91FD.mjs} +17 -16
  71. package/dist/chunks/{component-YCDataService-CwOGPL98.mjs → component-YCDataService-t-d9yqyl.mjs} +11 -10
  72. package/dist/chunks/{component-YCHighWaySummary-CvoowBjy.mjs → component-YCHighWaySummary-CjhQdaUL.mjs} +8 -7
  73. package/dist/chunks/{component-YCHome-DRIi7AIB.mjs → component-YCHome-BAIB6FD-.mjs} +63 -62
  74. package/dist/chunks/{component-YCHomeLegend-0aeWXs2n.mjs → component-YCHomeLegend-cK6bLLGC.mjs} +2 -2
  75. package/dist/chunks/{component-YCLoginNew-BEoGLgtQ.mjs → component-YCLoginNew-yMFBtscQ.mjs} +15 -14
  76. package/dist/chunks/{component-YCServiceSummary-Dab20ncm.mjs → component-YCServiceSummary-CBxoEh_S.mjs} +162 -161
  77. package/dist/components/Agent/Agent.vue.d.ts +12 -0
  78. package/dist/index.d.ts +2 -1
  79. package/dist/nxd-plugin.mjs +75 -75
  80. package/dist/styles/component-Agent.css +1 -0
  81. package/dist/styles/component-YCLoginNew.css +1 -1
  82. package/package.json +1 -1
  83. package/dist/chunks/YCServiceSummary-Dx2AlXiv.mjs +0 -2
@@ -1,9 +1,10 @@
1
1
  import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
2
- import { i as t, o as n } from "./component-AiChat-COULZNRK.mjs";
3
- import "./component-Forecast72h-yd9t3176.mjs";
4
- import { n as r } from "./component-HdFarmStationDialog-CMKGe0YJ.mjs";
2
+ import { a as t } from "./component-AiChat-HpEVNeXU.mjs";
3
+ import { c as n } from "./component-Agent-Cm4CMOGO.mjs";
4
+ import "./component-Forecast72h-D6kx3ogZ.mjs";
5
+ import { n as r } from "./component-HdFarmStationDialog-DXhVyrN-.mjs";
5
6
  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 { 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";
7
8
  import { Download as se, Refresh as ce } from "@element-plus/icons-vue";
8
9
  import * as T from "echarts";
9
10
  import { ElMessage as E } from "element-plus";
@@ -22,7 +23,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
22
23
  }, Se = { class: "PrecipitationRanking-content" }, Ce = { class: "PrecipitationRanking-tableWrap" }, we = ["onClick"], Te = {
23
24
  key: 1,
24
25
  class: "PrecipitationRanking-trendMask"
25
- }, Ee = { class: "PrecipitationRanking-trendPopup" }, De = { class: "PrecipitationRanking-trendHeader" }, Oe = { class: "PrecipitationRanking-trendTitle" }, ke = { class: "PrecipitationRanking-trendSubTitle" }, D = /* @__PURE__ */ t(/* @__PURE__ */ h({
26
+ }, Ee = { class: "PrecipitationRanking-trendPopup" }, De = { class: "PrecipitationRanking-trendHeader" }, Oe = { class: "PrecipitationRanking-trendTitle" }, ke = { class: "PrecipitationRanking-trendSubTitle" }, D = /* @__PURE__ */ n(/* @__PURE__ */ h({
26
27
  __name: "PrecipitationRanking",
27
28
  props: {
28
29
  mock: {
@@ -146,12 +147,12 @@ var ue = /* @__PURE__ */ e(r()), de = {
146
147
  "rowClick",
147
148
  "view"
148
149
  ],
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([
150
+ setup(e, { emit: n }) {
151
+ let r = g()?.appContext.config.globalProperties.$bus, h = e, D = n, O = b(!1), k = b(!1), A = b([
151
152
  "30min",
152
153
  "1hour",
153
154
  "3hour"
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
+ ]), 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 = [
155
156
  {
156
157
  label: "30分钟",
157
158
  value: "30min",
@@ -310,7 +311,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
310
311
  if (!e) return console.warn("PrecipitationRanking 缺少趋势图工作流配置"), null;
311
312
  console.log(L.value, "currentRow.value12");
312
313
  try {
313
- let t = X(await n({
314
+ let n = X(await t({
314
315
  id: e.id,
315
316
  baseHttp: h.baseHttp,
316
317
  reqType: e.reqType,
@@ -319,8 +320,8 @@ var ue = /* @__PURE__ */ e(r()), de = {
319
320
  appKey: h.appKey,
320
321
  appSalt: h.appSalt
321
322
  }));
322
- if (!t) return null;
323
- let r = t.situationData || t.situation || [], i = t.forecastData || t.forecast || [], a = (e) => {
323
+ if (!n) return null;
324
+ let r = n.situationData || n.situation || [], i = n.forecastData || n.forecast || [], a = (e) => {
324
325
  if (!e) return "--";
325
326
  let t = e.split(" ");
326
327
  return t.length > 1 ? `${t[0].slice(5)} ${t[1].slice(0, 2)}时` : e;
@@ -546,14 +547,14 @@ var ue = /* @__PURE__ */ e(r()), de = {
546
547
  let e = h.mockData;
547
548
  N.value = e.list || [], M.value = e.dataTime || "";
548
549
  }, Ze = async (e) => {
549
- let t = Y("data");
550
- if (!t) return console.warn("PrecipitationRanking 缺少工作流配置"), [];
551
- let r = X(await n({
552
- id: t.id,
550
+ let n = Y("data");
551
+ if (!n) return console.warn("PrecipitationRanking 缺少工作流配置"), [];
552
+ let r = X(await t({
553
+ id: n.id,
553
554
  baseHttp: h.baseHttp,
554
- reqType: t.reqType,
555
+ reqType: n.reqType,
555
556
  variables: e.isCustom == "0" ? { isCustom: e.isCustom } : e.isCustom == "1" ? e : {},
556
- isFormData: t.isFormData,
557
+ isFormData: n.isFormData,
557
558
  appKey: h.appKey,
558
559
  appSalt: h.appSalt
559
560
  }));
@@ -623,20 +624,20 @@ var ue = /* @__PURE__ */ e(r()), de = {
623
624
  }, nt = () => {
624
625
  B &&= (clearInterval(B), null);
625
626
  };
626
- return re(() => {
627
+ return ie(() => {
627
628
  r?.on("toComponent", (e) => {
628
629
  e.componentName === "PrecipitationRanking" && $();
629
630
  }), $(), tt();
630
- }), y(() => {
631
+ }), re(() => {
631
632
  nt(), z &&= (z.dispose(), null);
632
633
  }), (t, n) => {
633
- let r = o, u = a, h = i, g = ee, _ = c, y = s;
634
- return ae((b(), f("div", de, [
634
+ let r = o, u = a, h = i, g = ee, _ = c, re = s;
635
+ return ae((y(), f("div", de, [
635
636
  p("button", {
636
637
  class: "PrecipitationRanking-close",
637
638
  onClick: Pe
638
639
  }, [...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", {
640
+ 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", {
640
641
  style: {
641
642
  width: "100%",
642
643
  "object-fit": "contain",
@@ -657,7 +658,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
657
658
  }, [m(r, { class: "PrecipitationRanking-icon" }, {
658
659
  default: w(() => [m(C(ce))]),
659
660
  _: 1
660
- }), n[5] ||= p("span", null, "刷新", -1)])])]), p("div", ve, [p("div", ye, [(b(), f(l, null, ie(V, (e) => p("button", {
661
+ }), n[5] ||= p("span", null, "刷新", -1)])])]), p("div", ve, [p("div", ye, [(y(), f(l, null, x(V, (e) => p("button", {
661
662
  key: e.value,
662
663
  class: v(["PrecipitationRanking-timeTag", { "PrecipitationRanking-timeTag--active": A.value.includes(e.value) }]),
663
664
  onClick: (t) => We(e.value)
@@ -665,7 +666,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
665
666
  class: v(["PrecipitationRanking-timeTag", { "PrecipitationRanking-timeTag--active": j.value }]),
666
667
  onClick: Ge
667
668
  }, " 自定义 ", 2)])])]),
668
- j.value ? (b(), f("div", xe, [n[7] ||= p("span", { class: "PrecipitationRanking-customLabel" }, "时间范围", -1), m(h, { locale: C(le) }, {
669
+ j.value ? (y(), f("div", xe, [n[7] ||= p("span", { class: "PrecipitationRanking-customLabel" }, "时间范围", -1), m(h, { locale: C(le) }, {
669
670
  default: w(() => [m(u, {
670
671
  modelValue: F.value,
671
672
  "onUpdate:modelValue": n[0] ||= (e) => F.value = e,
@@ -706,7 +707,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
706
707
  "min-width": "80",
707
708
  "show-overflow-tooltip": ""
708
709
  }),
709
- (b(!0), f(l, null, ie(U.value, (e) => (b(), te(g, {
710
+ (y(!0), f(l, null, x(U.value, (e) => (y(), te(g, {
710
711
  key: e.value,
711
712
  label: e.label + "(mm)",
712
713
  align: "center",
@@ -729,7 +730,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
729
730
  ]),
730
731
  _: 1
731
732
  }, 8, ["data", "height"])])]),
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
+ 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", {
733
734
  class: "PrecipitationRanking-trendClose",
734
735
  onClick: Le
735
736
  }, "✕")]), p("div", {
@@ -737,7 +738,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
737
738
  ref: R,
738
739
  class: "PrecipitationRanking-trendChart"
739
740
  }, null, 512)])])) : d("", !0)
740
- ])), [[y, O.value]]);
741
+ ])), [[re, O.value]]);
741
742
  };
742
743
  }
743
744
  }), [["__scopeId", "data-v-3b8e660b"]]);
@@ -1,5 +1,6 @@
1
- import "./component-AqiMonitor-C9khnF2x.mjs";
2
- import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
1
+ import "./component-AqiMonitor-CQB7tv42.mjs";
2
+ import { a as e } from "./component-AiChat-HpEVNeXU.mjs";
3
+ import { c as t } from "./component-Agent-Cm4CMOGO.mjs";
3
4
  import { ElLoadingDirective as n } from "element-plus/es";
4
5
  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
6
  //#region src/components/RadarChart/RadarChart.vue?vue&type=script&setup=true&lang.ts
@@ -12,7 +13,7 @@ var g = {
12
13
  } }, O = { style: {
13
14
  width: "80px",
14
15
  "text-align": "center"
15
- } }, k = { key: 0 }, A = /* @__PURE__ */ e(/* @__PURE__ */ s({
16
+ } }, k = { key: 0 }, A = /* @__PURE__ */ t(/* @__PURE__ */ s({
16
17
  __name: "RadarChart",
17
18
  props: {
18
19
  appKey: {
@@ -37,8 +38,8 @@ var g = {
37
38
  }
38
39
  },
39
40
  emits: ["close"],
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);
41
+ setup(t, { emit: s }) {
42
+ let A = c()?.appContext.config.globalProperties.$bus, j = t, M = s, N = d(!1), P = d([]), F = d(!0), I = d(0);
42
43
  l(() => {
43
44
  A?.on("toComponent", (e) => {
44
45
  e.componentName === "RadarChart" && L();
@@ -48,7 +49,7 @@ var g = {
48
49
  await R();
49
50
  }, R = async () => {
50
51
  N.value = !0;
51
- let e = await t({
52
+ let t = await e({
52
53
  appKey: j.appKey,
53
54
  appSalt: j.appSalt,
54
55
  id: j.ids.data.id,
@@ -57,8 +58,8 @@ var g = {
57
58
  reqType: j.ids.data.reqType,
58
59
  isFormData: j.ids.data.isFormData
59
60
  });
60
- N.value = !1, console.log(e, "雷达数据");
61
- let n = e.data?.result?.output || [];
61
+ N.value = !1, console.log(t, "雷达数据");
62
+ let n = t.data?.result?.output || [];
62
63
  n && n.length > 0 && (P.value = n.map((e) => ({
63
64
  ...e,
64
65
  areaName: e.area_name || e.areaName || "",
@@ -68,9 +69,9 @@ var g = {
68
69
  }, z = () => {
69
70
  M("close", "RadarChart");
70
71
  };
71
- return (t, s) => {
72
+ return (e, s) => {
72
73
  let c = n;
73
- return h((u(), a("div", g, [o("div", _, [o("div", v, [o("div", null, p(e.title), 1), o("div", {
74
+ return h((u(), a("div", g, [o("div", _, [o("div", v, [o("div", null, p(t.title), 1), o("div", {
74
75
  class: "closeBtn",
75
76
  onClick: z,
76
77
  title: "关闭"
@@ -1,4 +1,4 @@
1
- import { i as e } from "./component-AiChat-COULZNRK.mjs";
1
+ import { c as e } from "./component-Agent-Cm4CMOGO.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,8 @@
1
- import "./component-AqiMonitor-C9khnF2x.mjs";
2
- import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
3
- import { n } from "./component-HighWayEarlyWarningRed-DKqRexUr.mjs";
4
- import { t as r } from "./component-RadarLegend-BOwHlnqR.mjs";
1
+ import "./component-AqiMonitor-CQB7tv42.mjs";
2
+ import { a as e } from "./component-AiChat-HpEVNeXU.mjs";
3
+ import { c as t } from "./component-Agent-Cm4CMOGO.mjs";
4
+ import { n } from "./component-HighWayEarlyWarningRed-BDgzUMlS.mjs";
5
+ import { t as r } from "./component-RadarLegend-pRd2JniW.mjs";
5
6
  import { ElCheckbox as i, ElIcon as a, ElLoadingDirective as o } from "element-plus/es";
6
7
  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
8
  import { ArrowRight as T, VideoPause as ae, VideoPlay as oe } from "@element-plus/icons-vue";
@@ -22,7 +23,7 @@ var ce = {
22
23
  }, Oe = ["onClick"], ke = {
23
24
  key: 1,
24
25
  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__ */ e(/* @__PURE__ */ p({
26
+ }, 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({
26
27
  __name: "RadarShortTerm",
27
28
  props: {
28
29
  appKey: {
@@ -57,8 +58,8 @@ var ce = {
57
58
  "setImgAniShowByIndex",
58
59
  "changeLoading"
59
60
  ],
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({
61
+ setup(t, { emit: p }) {
62
+ 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({
62
63
  httpurl: "",
63
64
  lngStart: void 0,
64
65
  latStart: void 0,
@@ -136,7 +137,7 @@ var ce = {
136
137
  V.value = e, e === "chart" && (await m(), B.value?.resize());
137
138
  }, J = async () => {
138
139
  R.value = !0;
139
- let e = await t({
140
+ let t = await e({
140
141
  appKey: E.appKey,
141
142
  appSalt: E.appSalt,
142
143
  id: E.ids.radar.id,
@@ -145,8 +146,8 @@ var ce = {
145
146
  reqType: E.ids.radar.reqType,
146
147
  isFormData: E.ids.radar.isFormData
147
148
  });
148
- console.log("雷达", e.data.result);
149
- let n = await t({
149
+ console.log("雷达", t.data.result);
150
+ let n = await e({
150
151
  appKey: E.appKey,
151
152
  appSalt: E.appSalt,
152
153
  id: E.ids.historyRadar.id,
@@ -156,7 +157,7 @@ var ce = {
156
157
  isFormData: E.ids.historyRadar.isFormData
157
158
  });
158
159
  console.log("历史雷达", n.data.result), R.value = !1;
159
- let r = Be(e.data.result), i = Be(n.data.result);
160
+ let r = Be(t.data.result), i = Be(n.data.result);
160
161
  W.value = {
161
162
  httpurl: r.httpurl,
162
163
  ...r.extent
@@ -189,7 +190,7 @@ var ce = {
189
190
  Ye(e), D("showRadarLegend", !0);
190
191
  }, 1e3));
191
192
  }, Re = async () => {
192
- let e = await t({
193
+ let t = await e({
193
194
  appKey: E.appKey,
194
195
  appSalt: E.appSalt,
195
196
  id: E.ids.shortTerm.id,
@@ -198,7 +199,7 @@ var ce = {
198
199
  reqType: E.ids.shortTerm.reqType,
199
200
  isFormData: E.ids.shortTerm.isFormData
200
201
  });
201
- return console.log("短时预报", e.data.result.ds), e.data.result.ds || [];
202
+ return console.log("短时预报", t.data.result.ds), t.data.result.ds || [];
202
203
  }, ze = (e) => {
203
204
  let t = String(e || "").split(",").map((e) => Number(e.trim()));
204
205
  return {
@@ -1,5 +1,6 @@
1
- import "./component-AqiMonitor-C9khnF2x.mjs";
2
- import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
1
+ import "./component-AqiMonitor-CQB7tv42.mjs";
2
+ import { a as e } from "./component-AiChat-HpEVNeXU.mjs";
3
+ import { c as t } from "./component-Agent-Cm4CMOGO.mjs";
3
4
  import { ElLoadingDirective as n } from "element-plus/es";
4
5
  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
6
  //#region src/components/RadarTime/RadarTime.vue?vue&type=script&setup=true&lang.ts
@@ -23,7 +24,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
23
24
  height: "20",
24
25
  viewBox: "0 0 24 24",
25
26
  fill: "#fff"
26
- }, Se = { class: "RadarTime__track-bg" }, Ce = { class: "RadarTime__track-content" }, we = ["onClick"], S = /* @__PURE__ */ e(/* @__PURE__ */ c({
27
+ }, Se = { class: "RadarTime__track-bg" }, Ce = { class: "RadarTime__track-content" }, we = ["onClick"], S = /* @__PURE__ */ t(/* @__PURE__ */ c({
27
28
  __name: "RadarTime",
28
29
  props: {
29
30
  appKey: {
@@ -119,8 +120,8 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
119
120
  "addPolygon",
120
121
  "addMarker"
121
122
  ],
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) => ({
123
+ setup(t, { emit: c }) {
124
+ 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) => ({
124
125
  time: e.radar_time,
125
126
  displayTime: e.radar_time?.substring(11, 16) || "",
126
127
  selectedTime: e.radar_time?.substring(0, 16) || ""
@@ -219,7 +220,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
219
220
  }, 0);
220
221
  }, Q = async () => {
221
222
  T.value = !0;
222
- let e = {
223
+ let t = {
223
224
  appKey: C.appKey,
224
225
  appSalt: C.appSalt,
225
226
  id: C.ids.data.id2,
@@ -237,7 +238,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
237
238
  isFormData: C.ids.data.isFormData
238
239
  };
239
240
  try {
240
- let n = (await t(e)).data?.result?.output || "", r = JSON.parse(n)?.data || [];
241
+ let n = (await e(t)).data?.result?.output || "", r = JSON.parse(n)?.data || [];
241
242
  console.log(r, "雷达实况数据(标准版)"), r && r.length > 0 && (r = r.reverse(), O.value = r.map((e) => {
242
243
  let t = "";
243
244
  if (e.imagePath) {
@@ -257,20 +258,20 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
257
258
  } finally {
258
259
  T.value = !1;
259
260
  }
260
- }, $ = async (e) => {
261
+ }, $ = async (t) => {
261
262
  let n = {
262
263
  appKey: C.appKey,
263
264
  appSalt: C.appSalt,
264
265
  id: C.ids.data.forecastId,
265
- variables: { dateTime: e || O.value[O.value.length - 1]?.date_time || "" },
266
+ variables: { dateTime: t || O.value[O.value.length - 1]?.date_time || "" },
266
267
  baseHttp: C.baseHttp,
267
268
  reqType: C.ids.data.reqType,
268
269
  isFormData: C.ids.data.isFormData
269
270
  };
270
271
  try {
271
- let e = await t(n);
272
- console.log(e, "雷达外推数据");
273
- let r = e.data?.result?.output || "", i = {};
272
+ let t = await e(n);
273
+ console.log(t, "雷达外推数据");
274
+ let r = t.data?.result?.output || "", i = {};
274
275
  try {
275
276
  i = typeof r == "string" ? JSON.parse(r) : r;
276
277
  } catch (e) {
@@ -303,7 +304,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
303
304
  }), console.log(k.value, "forecastList 外推数据");
304
305
  }, Le = async () => {
305
306
  try {
306
- let e = (await t({
307
+ let t = (await e({
307
308
  appKey: C.appKey,
308
309
  appSalt: C.appSalt,
309
310
  id: C.ids.data.radarListId,
@@ -312,7 +313,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
312
313
  reqType: C.ids.data.reqType,
313
314
  isFormData: C.ids.data.isFormData
314
315
  })).data?.result?.output || [];
315
- e && e.length > 0 && (j.value = e, M.value = e[0], console.log(e, "雷达列表数据"));
316
+ t && t.length > 0 && (j.value = t, M.value = t[0], console.log(t, "雷达列表数据"));
316
317
  } catch (e) {
317
318
  console.error("获取雷达列表失败:", e);
318
319
  }
@@ -446,9 +447,9 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
446
447
  }, Ve = () => {
447
448
  Y(), w("clearImg", "radarLayer"), w("close", "RadarTime");
448
449
  };
449
- return (t, i) => {
450
+ return (e, i) => {
450
451
  let c = n;
451
- return v((p(), o("div", b, [s("div", ne, [s("div", re, [e.showCloseBtn ? (p(), o("div", {
452
+ return v((p(), o("div", b, [s("div", ne, [s("div", re, [t.showCloseBtn ? (p(), o("div", {
452
453
  key: 0,
453
454
  class: "closeBtn",
454
455
  onClick: Ve,
@@ -472,11 +473,11 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
472
473
  onClick: (e) => Oe(t)
473
474
  }, g(e.time), 11, le))), 128))])], 512), [[_, F.value]])], 512),
474
475
  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(e.legendData, (e, t) => (p(), o("div", {
476
+ 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", {
476
477
  key: t,
477
478
  class: "RadarTime__legend-segment",
478
479
  style: d({ backgroundColor: e.color })
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
+ }, 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))])])])
480
481
  ]),
481
482
  j.value.length > 0 ? (p(), o("div", me, [s("div", {
482
483
  class: "RadarTime__station-dropdown",
@@ -1,11 +1,12 @@
1
- import "./component-AqiMonitor-C9khnF2x.mjs";
2
- import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
1
+ import "./component-AqiMonitor-CQB7tv42.mjs";
2
+ import { a as e } from "./component-AiChat-HpEVNeXU.mjs";
3
+ import { c as t } from "./component-Agent-Cm4CMOGO.mjs";
3
4
  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
5
  //#region src/components/RenderMarkdown/RenderMarkdown.vue?vue&type=script&setup=true&lang.ts
5
6
  var d = {
6
7
  key: 0,
7
8
  class: "RenderMarkdown"
8
- }, f = { class: "RenderMarkdown-head" }, p = { class: "RenderMarkdown-head-top" }, m = { class: "duty-section" }, h = ["innerHTML"], g = /* @__PURE__ */ e(/* @__PURE__ */ a({
9
+ }, f = { class: "RenderMarkdown-head" }, p = { class: "RenderMarkdown-head-top" }, m = { class: "duty-section" }, h = ["innerHTML"], g = /* @__PURE__ */ t(/* @__PURE__ */ a({
9
10
  __name: "RenderMarkdown",
10
11
  props: {
11
12
  appKey: {
@@ -30,8 +31,8 @@ var d = {
30
31
  }
31
32
  },
32
33
  emits: ["close"],
33
- setup(e, { emit: a }) {
34
- let g = e, _ = a, v = l({}), y = l(null), b = async () => {
34
+ setup(t, { emit: a }) {
35
+ let g = t, _ = a, v = l({}), y = l(null), b = async () => {
35
36
  await x();
36
37
  };
37
38
  s(() => {
@@ -42,7 +43,7 @@ var d = {
42
43
  y.value &&= (clearInterval(y.value), null);
43
44
  });
44
45
  let x = async () => {
45
- v.value = (await t({
46
+ v.value = (await e({
46
47
  appKey: g.appKey,
47
48
  appSalt: g.appSalt,
48
49
  id: g.ids.data.id,
@@ -1,6 +1,7 @@
1
- import "./component-AqiMonitor-C9khnF2x.mjs";
2
- import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
3
- import { n } from "./component-GeologyLiveAlarm-BIDfv4JR.mjs";
1
+ import "./component-AqiMonitor-CQB7tv42.mjs";
2
+ import { a as e } from "./component-AiChat-HpEVNeXU.mjs";
3
+ import { c as t } from "./component-Agent-Cm4CMOGO.mjs";
4
+ import { n } from "./component-GeologyLiveAlarm-D5rJ_DDm.mjs";
4
5
  import { ElIcon as r, ElLoadingDirective as i, ElRadio as a, ElRadioGroup as o } from "element-plus/es";
5
6
  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
7
  import { ArrowRight as T } from "@element-plus/icons-vue";
@@ -33,7 +34,7 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAA
33
34
  }, 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
35
  key: 0,
35
36
  style: { "margin-right": "10px" }
36
- }, Ge = { key: 1 }, Ke = { key: 1 }, E = "当前暂无报警", D = /* @__PURE__ */ e(/* @__PURE__ */ m({
37
+ }, Ge = { key: 1 }, Ke = { key: 1 }, E = "当前暂无报警", D = /* @__PURE__ */ t(/* @__PURE__ */ m({
37
38
  inheritAttrs: !1,
38
39
  __name: "ReservoirLiveAlarm",
39
40
  props: {
@@ -62,8 +63,8 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAA
62
63
  "removeDataTitle",
63
64
  "toMapView"
64
65
  ],
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) => {
66
+ setup(t, { emit: m }) {
67
+ 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) => {
67
68
  let t = W();
68
69
  t.volume = 0, t.currentTime = 0;
69
70
  let n = t.play();
@@ -100,7 +101,7 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAA
100
101
  });
101
102
  let K = async () => {
102
103
  A.value = !0;
103
- let e = await t({
104
+ let t = await e({
104
105
  appKey: D.appKey,
105
106
  appSalt: D.appSalt,
106
107
  id: D.ids.data.id,
@@ -110,7 +111,7 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAA
110
111
  isFormData: D.ids.data.isFormData
111
112
  });
112
113
  A.value = !1;
113
- let n = e.data.result.ds;
114
+ let n = t.data.result.ds;
114
115
  console.log("得到数据", JSON.parse(JSON.stringify(n))), qe.value = n;
115
116
  let r = R.value, i = $e(n);
116
117
  R.value = i, O("removeDataTitle", r), setTimeout(() => {
@@ -1,11 +1,12 @@
1
- import "./component-AqiMonitor-C9khnF2x.mjs";
2
- import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
1
+ import "./component-AqiMonitor-CQB7tv42.mjs";
2
+ import { a as e } from "./component-AiChat-HpEVNeXU.mjs";
3
+ import { c as t } from "./component-Agent-Cm4CMOGO.mjs";
3
4
  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
5
  //#region src/components/ServiceMaterial/ServiceMaterial.vue?vue&type=script&setup=true&lang.ts
5
6
  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
7
  key: 0,
7
8
  class: "ServiceMaterial__empty"
8
- }, O = { class: "ServiceMaterial__list-footer" }, k = { class: "ServiceMaterial__total" }, A = /* @__PURE__ */ e(/* @__PURE__ */ o({
9
+ }, O = { class: "ServiceMaterial__list-footer" }, k = { class: "ServiceMaterial__total" }, A = /* @__PURE__ */ t(/* @__PURE__ */ o({
9
10
  __name: "ServiceMaterial",
10
11
  props: {
11
12
  appKey: {
@@ -34,8 +35,8 @@ var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g
34
35
  "preview",
35
36
  "download"
36
37
  ],
37
- setup(e, { emit: o }) {
38
- let A = s()?.appContext.config.globalProperties.$bus, j = e, M = o, N = u(!1), P = u([]);
38
+ setup(t, { emit: o }) {
39
+ let A = s()?.appContext.config.globalProperties.$bus, j = t, M = o, N = u(!1), P = u([]);
39
40
  c(() => {
40
41
  A?.on("toComponent", (e) => {
41
42
  e.componentName === "ServiceMaterial" && F();
@@ -47,7 +48,7 @@ var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g
47
48
  if (j.ids.data?.id) {
48
49
  N.value = !0;
49
50
  try {
50
- let e = await t({
51
+ let t = await e({
51
52
  appKey: j.appKey,
52
53
  appSalt: j.appSalt,
53
54
  id: j.ids.data.id,
@@ -56,8 +57,8 @@ var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g
56
57
  reqType: j.ids.data.reqType,
57
58
  isFormData: j.ids.data.isFormData
58
59
  });
59
- console.log(e, "服务材料数据");
60
- let n = e.data?.result?.output || [];
60
+ console.log(t, "服务材料数据");
61
+ let n = t.data?.result?.output || [];
61
62
  Array.isArray(n) && n.length > 0 && (P.value = n.map((e) => ({
62
63
  id: e.id || e.file_id,
63
64
  name: e.name || e.file_name || e.title || "",
@@ -80,7 +81,7 @@ var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g
80
81
  }, B = () => {
81
82
  M("close", "ServiceMaterial");
82
83
  };
83
- return (t, o) => (l(), i("div", m, [a("div", h, [a("div", g, [a("div", null, f(e.title), 1), a("div", {
84
+ return (e, o) => (l(), i("div", m, [a("div", h, [a("div", g, [a("div", null, f(t.title), 1), a("div", {
84
85
  class: "closeBtn",
85
86
  onClick: B,
86
87
  title: "关闭"
@@ -1,5 +1,5 @@
1
- import "./component-AqiMonitor-C9khnF2x.mjs";
2
- import { i as e } from "./component-AiChat-COULZNRK.mjs";
1
+ import "./component-AqiMonitor-CQB7tv42.mjs";
2
+ import { c as e } from "./component-Agent-Cm4CMOGO.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,8 @@
1
1
  import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
2
- import { i as t, o as n } from "./component-AiChat-COULZNRK.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-yd9t3176.mjs";
4
- import { i as l, n as u } from "./component-HdFarmStationDialog-CMKGe0YJ.mjs";
2
+ import { a as t } from "./component-AiChat-HpEVNeXU.mjs";
3
+ import { c as n } from "./component-Agent-Cm4CMOGO.mjs";
4
+ 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-D6kx3ogZ.mjs";
5
+ import { i as l, n as u } from "./component-HdFarmStationDialog-DXhVyrN-.mjs";
5
6
  import { ElConfigProvider as fe, ElDatePicker as pe, ElIcon as me, ElLoadingDirective as he, ElTable as ge, ElTableColumn as _e } from "element-plus/es";
6
7
  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
8
  import { Close as Oe, Download as ke, Histogram as Ae } from "@element-plus/icons-vue";
@@ -34,7 +35,7 @@ var Me = /* @__PURE__ */ e(u()), Ne = {
34
35
  }, At = { class: "StationPop-historyPopup" }, jt = { class: "StationPop-historyHeader" }, Mt = { class: "StationPop-historyTitle" }, Nt = { class: "StationPop-historySubTitle" }, Pt = {
35
36
  class: "StationPop-historyTabs",
36
37
  style: { position: "relative" }
37
- }, Ft = ["onClick"], It = { class: "StationPop-historyActions" }, Lt = { class: "StationPop-historyTableWrap" }, E = /* @__PURE__ */ t(/* @__PURE__ */ g({
38
+ }, Ft = ["onClick"], It = { class: "StationPop-historyActions" }, Lt = { class: "StationPop-historyTableWrap" }, E = /* @__PURE__ */ n(/* @__PURE__ */ g({
38
39
  __name: "StationDialog",
39
40
  props: {
40
41
  componentStyle: { default: () => ({}) },
@@ -51,7 +52,7 @@ var Me = /* @__PURE__ */ e(u()), Ne = {
51
52
  mockData: { default: () => ({}) }
52
53
  },
53
54
  setup(e) {
54
- let t = /* @__PURE__ */ Object.assign({
55
+ let n = /* @__PURE__ */ Object.assign({
55
56
  "../../assets/img/hd/wind/wind-0.png": de,
56
57
  "../../assets/img/hd/wind/wind-1.png": ue,
57
58
  "../../assets/img/hd/wind/wind-10.png": r,
@@ -70,7 +71,7 @@ var Me = /* @__PURE__ */ e(u()), Ne = {
70
71
  "../../assets/img/hd/wind/wind-7.png": te,
71
72
  "../../assets/img/hd/wind/wind-8.png": se,
72
73
  "../../assets/img/hd/wind/wind-9.png": ie
73
- }), u = (e) => t[`../../assets/img/hd/wind/wind-${Math.max(0, Math.min(17, e))}.png`] || "", g = (e) => {
74
+ }), u = (e) => n[`../../assets/img/hd/wind/wind-${Math.max(0, Math.min(17, e))}.png`] || "", g = (e) => {
74
75
  let t = [
75
76
  .3,
76
77
  1.6,
@@ -139,17 +140,17 @@ var Me = /* @__PURE__ */ e(u()), Ne = {
139
140
  }, K = (e) => {
140
141
  let t = O.ids[e] || O.ids.data;
141
142
  return t?.id ? t : null;
142
- }, q = async (e, t = {}) => {
143
+ }, q = async (e, n = {}) => {
143
144
  let r = K(e);
144
145
  if (!r) throw Error(`缺少 ${e} 对应的工作流配置`);
145
- return await n({
146
+ return await t({
146
147
  id: r.id,
147
148
  baseHttp: O.baseHttp,
148
149
  reqType: r.reqType,
149
150
  variables: {
150
151
  stationCode: O.stationCode,
151
152
  stationIdC: k.value,
152
- ...t
153
+ ...n
153
154
  },
154
155
  isFormData: r.isFormData,
155
156
  appKey: O.appKey,