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,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 { ElCheckbox as n, ElConfigProvider as r, ElDatePicker as i, ElLoadingDirective as a, ElOption as o, ElSelect as s } from "element-plus/es";
3
3
  import { Fragment as c, computed as l, createBlock as ee, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as te, createVNode as p, defineComponent as m, getCurrentInstance as h, nextTick as ne, normalizeClass as g, normalizeStyle as _, onBeforeUnmount as v, onMounted as y, openBlock as b, ref as x, renderList as S, toDisplayString as C, unref as re, vShow as ie, watch as w, withCtx as T, withDirectives as E, withModifiers as ae } from "vue";
4
4
  import "element-plus/dist/index.css";
@@ -21,7 +21,7 @@ var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" },
21
21
  height: "16",
22
22
  viewBox: "0 0 24 24",
23
23
  fill: "#fff"
24
- }, Te = { class: "HdRadarTime-trackBg" }, Ee = { class: "HdRadarTime-ticks" }, De = ["onClick"], Oe = 1e3, D = /* @__PURE__ */ t(/* @__PURE__ */ m({
24
+ }, Te = { class: "HdRadarTime-trackBg" }, Ee = { class: "HdRadarTime-ticks" }, De = ["onClick"], Oe = 1e3, D = /* @__PURE__ */ e(/* @__PURE__ */ m({
25
25
  __name: "HdRadarTime",
26
26
  props: {
27
27
  mock: {
@@ -85,8 +85,8 @@ var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" },
85
85
  "legendChange",
86
86
  "gridChange"
87
87
  ],
88
- setup(t, { emit: m }) {
89
- let D = h()?.appContext.config.globalProperties.$bus, O = t, k = m, A = x(null), j = x(null), M = x(null), N = x(null), P = x(!1), F = x(!1), ke = x(!1), I = x(O.initialQueryTime || ""), L = x([]), R = x([]), z = x(0), B = x(0), V = x(!1), H = x(O.initialSpeed), U = x(!1), Ae = [
88
+ setup(e, { emit: m }) {
89
+ let D = h()?.appContext.config.globalProperties.$bus, O = e, k = m, A = x(null), j = x(null), M = x(null), N = x(null), P = x(!1), F = x(!1), ke = x(!1), I = x(O.initialQueryTime || ""), L = x([]), R = x([]), z = x(0), B = x(0), V = x(!1), H = x(O.initialSpeed), U = x(!1), Ae = [
90
90
  .5,
91
91
  1,
92
92
  1.5,
@@ -207,11 +207,11 @@ var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" },
207
207
  }, Qe = (e) => e ? e.data === void 0 ? e.result === void 0 ? e : e.result : e.data?.result?.output === void 0 ? e.data?.result === void 0 ? e.data : e.data.result : e.data.result.output : null, $e = (e) => {
208
208
  let t = O.ids[e];
209
209
  return t?.id ? t : null;
210
- }, Z = async (t, n = {}) => {
211
- let r = $e(t);
210
+ }, Z = async (e, n = {}) => {
211
+ let r = $e(e);
212
212
  if (!r) return null;
213
213
  try {
214
- return Qe(await e({
214
+ return Qe(await t({
215
215
  id: r.id,
216
216
  baseHttp: O.baseHttp,
217
217
  reqType: r.reqType,
@@ -220,8 +220,8 @@ var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" },
220
220
  appKey: O.appKey,
221
221
  appSalt: O.appSalt
222
222
  }));
223
- } catch (e) {
224
- return console.error(`[HdRadarTime] request ${t} failed:`, e), null;
223
+ } catch (t) {
224
+ return console.error(`[HdRadarTime] request ${e} failed:`, t), null;
225
225
  }
226
226
  }, Q = async () => {
227
227
  U.value = !0;
@@ -369,7 +369,7 @@ var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" },
369
369
  }), Q();
370
370
  }), v(() => {
371
371
  document.removeEventListener("click", Ve), j.value?.removeEventListener("mousedown", Ye), X();
372
- }), (e, l) => {
372
+ }), (t, l) => {
373
373
  let m = i, h = r, ne = n, v = o, y = s, x = a;
374
374
  return E((b(), d("div", {
375
375
  class: "HdRadarTime",
@@ -420,7 +420,7 @@ var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" },
420
420
  key: e,
421
421
  style: _({ left: e / je.value * 100 + "%" })
422
422
  }, C(e), 5))), 128))])])]),
423
- f("div", be, [t.showGrid && Y.value ? (b(), ee(ne, {
423
+ f("div", be, [e.showGrid && Y.value ? (b(), ee(ne, {
424
424
  key: 0,
425
425
  modelValue: F.value,
426
426
  "onUpdate:modelValue": l[2] ||= (e) => F.value = e,
@@ -478,7 +478,7 @@ var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" },
478
478
  class: "HdRadarTime-indicator",
479
479
  style: _({ left: Pe.value + "%" })
480
480
  }, null, 4),
481
- t.showCurrentTime && J.value ? (b(), d("div", {
481
+ e.showCurrentTime && J.value ? (b(), d("div", {
482
482
  key: 0,
483
483
  class: "HdRadarTime-currentTime",
484
484
  style: _({ left: Pe.value + "%" })
@@ -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 { ElConfigProvider as n, ElDatePicker as r, ElOption as i, ElSelect as ee } from "element-plus/es";
3
3
  import { Fragment as a, computed as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, nextTick as p, normalizeClass as m, normalizeStyle as h, onBeforeUnmount as g, onMounted as te, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as ne, vShow as re, watch as x, withCtx as S, withDirectives as ie, withModifiers as ae } from "vue";
4
4
  import "element-plus/es/components/select/style/css";
@@ -27,7 +27,7 @@ var se = { class: "HdRadarTimeLine-main" }, ce = { class: "HdRadarTimeLine-contr
27
27
  height: "16",
28
28
  viewBox: "0 0 24 24",
29
29
  fill: "#fff"
30
- }, we = { class: "HdRadarTimeLine-ticks" }, Te = ["onClick"], Ee = 1e3, C = /* @__PURE__ */ t(/* @__PURE__ */ d({
30
+ }, we = { class: "HdRadarTimeLine-ticks" }, Te = ["onClick"], Ee = 1e3, C = /* @__PURE__ */ e(/* @__PURE__ */ d({
31
31
  __name: "HdRadarTimeLine",
32
32
  props: {
33
33
  mock: {
@@ -51,8 +51,8 @@ var se = { class: "HdRadarTimeLine-main" }, ce = { class: "HdRadarTimeLine-contr
51
51
  "addImage",
52
52
  "clearImage"
53
53
  ],
54
- setup(t, { emit: d }) {
55
- let C = f()?.appContext.config.globalProperties.$bus, w = t, T = d, E = v(null), D = v(null), O = v(null), k = v(null), A = v(!1), j = v(w.initialTime || ""), M = v([]), N = v([]), P = v([]), F = v(""), I = v(0), L = v(!1), R = v(w.initialSpeed), z = v(!1), De = [
54
+ setup(e, { emit: d }) {
55
+ let C = f()?.appContext.config.globalProperties.$bus, w = e, T = d, E = v(null), D = v(null), O = v(null), k = v(null), A = v(!1), j = v(w.initialTime || ""), M = v([]), N = v([]), P = v([]), F = v(""), I = v(0), L = v(!1), R = v(w.initialSpeed), z = v(!1), De = [
56
56
  .5,
57
57
  1,
58
58
  1.5,
@@ -163,11 +163,11 @@ var se = { class: "HdRadarTimeLine-main" }, ce = { class: "HdRadarTimeLine-contr
163
163
  }, qe = (e) => e ? e.data === void 0 ? e.result === void 0 ? e : e.result : e.data?.result?.output === void 0 ? e.data?.result === void 0 ? e.data : e.data.result : e.data.result.output : null, Je = (e) => {
164
164
  let t = w.ids?.[e];
165
165
  return t?.id ? t : null;
166
- }, Z = async (t, n = {}) => {
167
- let r = Je(t);
166
+ }, Z = async (e, n = {}) => {
167
+ let r = Je(e);
168
168
  if (!r) return null;
169
169
  try {
170
- return qe(await e({
170
+ return qe(await t({
171
171
  id: r.id,
172
172
  baseHttp: w.baseHttp,
173
173
  reqType: r.reqType,
@@ -176,8 +176,8 @@ var se = { class: "HdRadarTimeLine-main" }, ce = { class: "HdRadarTimeLine-contr
176
176
  appKey: w.appKey,
177
177
  appSalt: w.appSalt
178
178
  }));
179
- } catch (e) {
180
- return console.error(`[HdRadarTimeLine] request ${t} failed:`, e), null;
179
+ } catch (t) {
180
+ return console.error(`[HdRadarTimeLine] request ${e} failed:`, t), null;
181
181
  }
182
182
  }, Q = (e, t) => {
183
183
  let n = e.image_paths;
@@ -233,7 +233,7 @@ var se = { class: "HdRadarTimeLine-main" }, ce = { class: "HdRadarTimeLine-contr
233
233
  });
234
234
  }), g(() => {
235
235
  J(), Y(), document.removeEventListener("click", We), D.value?.removeEventListener("mousedown", Ge);
236
- }), (e, o) => {
236
+ }), (t, o) => {
237
237
  let d = r, f = n, p = i, g = ee;
238
238
  return _(), c("div", {
239
239
  class: "HdRadarTimeLine",
@@ -272,10 +272,10 @@ var se = { class: "HdRadarTimeLine-main" }, ce = { class: "HdRadarTimeLine-contr
272
272
  onClick: je
273
273
  }, [l("span", fe, b(Oe.value), 1), l("span", { class: m(["HdRadarTimeLine-dropdownArrow", {
274
274
  "HdRadarTimeLine-dropdownArrow--open": A.value,
275
- "HdRadarTimeLine-dropdownArrow--up": t.dropdownDirection === "up"
275
+ "HdRadarTimeLine-dropdownArrow--up": e.dropdownDirection === "up"
276
276
  }]) }, "▼", 2)]), ie(l("div", { class: m(["HdRadarTimeLine-dropdownPanel", {
277
- "HdRadarTimeLine-dropdownPanel--up": t.dropdownDirection === "up",
278
- "HdRadarTimeLine-dropdownPanel--down": t.dropdownDirection === "down"
277
+ "HdRadarTimeLine-dropdownPanel--up": e.dropdownDirection === "up",
278
+ "HdRadarTimeLine-dropdownPanel--down": e.dropdownDirection === "down"
279
279
  }]) }, [l("div", pe, [P.value.length === 0 ? (_(), c("div", me, " 暂无数据 ")) : (_(!0), c(a, { key: 1 }, y(P.value, (e, t) => (_(), c("div", {
280
280
  key: t,
281
281
  class: m(["HdRadarTimeLine-dropdownItem", { "HdRadarTimeLine-dropdownItem--active": F.value === e.image_name }]),
@@ -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 } from "element-plus/es";
4
4
  import { Fragment as r, Teleport as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, getCurrentInstance as d, nextTick as f, normalizeClass as p, onMounted as m, onUnmounted as h, openBlock as g, ref as _, renderList as ee, toDisplayString as v, vShow as y, watch as te, withDirectives as b, withModifiers as x } from "vue";
5
5
  //#region src/components/HdRisk/HdRisk.vue?vue&type=script&setup=true&lang.ts
@@ -22,7 +22,7 @@ var ne = {
22
22
  }, oe = { class: "HdRisk-dialogContent" }, se = { class: "HdRisk-dialogImageWrap" }, ce = ["src"], le = {
23
23
  key: 2,
24
24
  class: "HdRisk-dialogCounter"
25
- }, A = /* @__PURE__ */ t(/* @__PURE__ */ u({
25
+ }, A = /* @__PURE__ */ e(/* @__PURE__ */ u({
26
26
  __name: "HdRisk",
27
27
  props: {
28
28
  mock: {
@@ -48,8 +48,8 @@ var ne = {
48
48
  "removeLayers",
49
49
  "selectChange"
50
50
  ],
51
- setup(t, { expose: u, emit: A }) {
52
- let j = t, M = A, N = d()?.appContext.config.globalProperties.$bus, P = _({
51
+ setup(e, { expose: u, emit: A }) {
52
+ let j = e, M = A, N = d()?.appContext.config.globalProperties.$bus, P = _({
53
53
  title: "",
54
54
  list: []
55
55
  }), F = _(null), I = _(!1), L = _(null), R = _(!1), z = _(!1), B = _(!1), V = _([]), H = _(0), U = _("灾害风险区划"), W = a(() => j.list.length ? j.list : P.value.list), G = () => {
@@ -102,19 +102,19 @@ var ne = {
102
102
  list: (j.mockData?.list || []).map(q)
103
103
  }, f($);
104
104
  }, J = async () => {
105
- let t = j.ids?.data;
106
- if (!t?.id) {
105
+ let e = j.ids?.data;
106
+ if (!e?.id) {
107
107
  console.warn("HdRisk 缺少数据工作流配置");
108
108
  return;
109
109
  }
110
110
  I.value = !0;
111
111
  try {
112
- let n = ye(await e({
113
- id: t.id,
112
+ let n = ye(await t({
113
+ id: e.id,
114
114
  baseHttp: j.baseHttp,
115
- reqType: t.reqType,
115
+ reqType: e.reqType,
116
116
  variables: {},
117
- isFormData: t.isFormData,
117
+ isFormData: e.isFormData,
118
118
  appKey: j.appKey,
119
119
  appSalt: j.appSalt
120
120
  })), r = be(n).map(q);
@@ -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 { ElOption as n, ElSelect as r } from "element-plus/es";
3
3
  import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, normalizeClass as p, normalizeStyle as m, onMounted as h, openBlock as g, ref as _, renderList as v, toDisplayString as y, watch as b, withCtx as x } from "vue";
4
4
  //#region src/components/HdSeaCase/HdSeaCase.vue?vue&type=script&setup=true&lang.ts
@@ -17,7 +17,7 @@ var ee = { class: "HdSeaCase" }, te = { class: "HdSeaCase-panel" }, ne = { class
17
17
  }, O = {
18
18
  key: 0,
19
19
  class: "HdSeaCase-detailGallery"
20
- }, k = { class: "HdSeaCase-galleryList" }, A = ["src"], j = { class: "HdSeaCase-detailTitleList" }, M = ["onClick"], N = 200, P = 16, F = 8, I = /* @__PURE__ */ t(/* @__PURE__ */ d({
20
+ }, k = { class: "HdSeaCase-galleryList" }, A = ["src"], j = { class: "HdSeaCase-detailTitleList" }, M = ["onClick"], N = 200, P = 16, F = 8, I = /* @__PURE__ */ e(/* @__PURE__ */ d({
21
21
  __name: "HdSeaCase",
22
22
  props: {
23
23
  baseHttp: { default: "" },
@@ -28,8 +28,8 @@ var ee = { class: "HdSeaCase" }, te = { class: "HdSeaCase-panel" }, ne = { class
28
28
  ids: { default: () => ({}) }
29
29
  },
30
30
  emits: ["close"],
31
- setup(t, { emit: d }) {
32
- let I = f()?.appContext.config.globalProperties.$bus, L = t, R = d, z = _([]), B = _([]), V = _(""), H = _(0), U = _(!1), W = _(null), G = _(0), K = _(!1), fe = a(() => z.value.find((e) => e.id === V.value)?.title || ""), q = a(() => W.value?.items?.length ? W.value.items[G.value] || W.value.items[0] : null), pe = () => {
31
+ setup(e, { emit: d }) {
32
+ let I = f()?.appContext.config.globalProperties.$bus, L = e, R = d, z = _([]), B = _([]), V = _(""), H = _(0), U = _(!1), W = _(null), G = _(0), K = _(!1), fe = a(() => z.value.find((e) => e.id === V.value)?.title || ""), q = a(() => W.value?.items?.length ? W.value.items[G.value] || W.value.items[0] : null), pe = () => {
33
33
  R("close", "HdSeaCase");
34
34
  }, me = (e) => `${F + N / 2 + e * (N + P)}px`, he = (e) => /^https?:\/\//i.test(e), ge = (e) => {
35
35
  if (!e) return "";
@@ -70,18 +70,18 @@ var ee = { class: "HdSeaCase" }, te = { class: "HdSeaCase-panel" }, ne = { class
70
70
  content: e.description ?? e.content ?? ""
71
71
  };
72
72
  }, ye = async () => {
73
- let t = L.ids?.select;
74
- if (!t?.id) {
73
+ let e = L.ids?.select;
74
+ if (!e?.id) {
75
75
  console.warn("HdSeaCase 缺少下拉框工作流配置");
76
76
  return;
77
77
  }
78
78
  try {
79
- if (z.value = Y(J(await e({
80
- id: t.id,
79
+ if (z.value = Y(J(await t({
80
+ id: e.id,
81
81
  baseHttp: L.baseHttp,
82
- reqType: t.reqType,
82
+ reqType: e.reqType,
83
83
  variables: { categoryType: L.categoryType },
84
- isFormData: t.isFormData,
84
+ isFormData: e.isFormData,
85
85
  appKey: L.appKey,
86
86
  appSalt: L.appSalt
87
87
  }))).map(X), !z.value.length) {
@@ -93,54 +93,54 @@ var ee = { class: "HdSeaCase" }, te = { class: "HdSeaCase-panel" }, ne = { class
93
93
  console.error("HdSeaCase 下拉框数据加载失败", e);
94
94
  }
95
95
  }, Z = async () => {
96
- let t = L.ids?.data;
97
- if (!t?.id || !V.value) {
96
+ let e = L.ids?.data;
97
+ if (!e?.id || !V.value) {
98
98
  B.value = [];
99
99
  return;
100
100
  }
101
101
  try {
102
- B.value = Y(J(await e({
103
- id: t.id,
102
+ B.value = Y(J(await t({
103
+ id: e.id,
104
104
  baseHttp: L.baseHttp,
105
- reqType: t.reqType,
105
+ reqType: e.reqType,
106
106
  variables: { caseId: V.value },
107
- isFormData: t.isFormData,
107
+ isFormData: e.isFormData,
108
108
  appKey: L.appKey,
109
109
  appSalt: L.appSalt
110
110
  }))).map(_e), H.value = 0;
111
111
  } catch (e) {
112
112
  console.error("HdSeaCase 节点数据加载失败", e), B.value = [];
113
113
  }
114
- }, be = async (t) => {
114
+ }, be = async (e) => {
115
115
  let n = L.ids?.img;
116
- if (!n?.id || !t.caseId || !t.id) {
116
+ if (!n?.id || !e.caseId || !e.id) {
117
117
  W.value = {
118
- ...t,
118
+ ...e,
119
119
  items: []
120
120
  };
121
121
  return;
122
122
  }
123
123
  K.value = !0;
124
124
  try {
125
- let r = Y(J(await e({
125
+ let r = Y(J(await t({
126
126
  id: n.id,
127
127
  baseHttp: L.baseHttp,
128
128
  reqType: n.reqType,
129
129
  variables: {
130
- caseId: t.caseId,
131
- categoryId: t.id
130
+ caseId: e.caseId,
131
+ categoryId: e.id
132
132
  },
133
133
  isFormData: n.isFormData,
134
134
  appKey: L.appKey,
135
135
  appSalt: L.appSalt
136
136
  }))).map(ve);
137
137
  W.value = {
138
- ...t,
138
+ ...e,
139
139
  items: r
140
140
  };
141
- } catch (e) {
142
- console.error("HdSeaCase 弹窗数据加载失败", e), W.value = {
143
- ...t,
141
+ } catch (t) {
142
+ console.error("HdSeaCase 弹窗数据加载失败", t), W.value = {
143
+ ...e,
144
144
  items: []
145
145
  };
146
146
  } finally {
@@ -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 { ElIcon as n, ElInput as r, ElLoadingDirective as i, ElOption as a, ElSelect as o, ElTable as s, ElTableColumn as ee } from "element-plus/es";
4
4
  import { Fragment as c, Teleport as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineComponent as g, getCurrentInstance as _, onMounted as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, withCtx as w, withDirectives as T, withKeys as E, withModifiers as te } from "vue";
5
5
  import { Search as ne } from "@element-plus/icons-vue";
@@ -17,7 +17,7 @@ var re = {
17
17
  }, ie = { class: "HdServiceMarterial-header" }, ae = { class: "HdServiceMarterial-headerContent" }, oe = { class: "HdServiceMarterial-title" }, se = {
18
18
  key: 0,
19
19
  class: "HdServiceMarterial-dataTime"
20
- }, ce = { class: "HdServiceMarterial-toolbar" }, le = { class: "HdServiceMarterial-tableWrap" }, ue = { class: "HdServiceMarterial-name" }, de = { class: "HdServiceMarterial-actions" }, fe = ["onClick"], D = ["onClick"], pe = { class: "HdServiceMarterial-preview" }, me = { class: "HdServiceMarterial-previewHead" }, O = { class: "HdServiceMarterial-previewHeadTitle" }, k = { class: "HdServiceMarterial-previewBody" }, A = ["src"], j = /* @__PURE__ */ t(/* @__PURE__ */ g({
20
+ }, ce = { class: "HdServiceMarterial-toolbar" }, le = { class: "HdServiceMarterial-tableWrap" }, ue = { class: "HdServiceMarterial-name" }, de = { class: "HdServiceMarterial-actions" }, fe = ["onClick"], D = ["onClick"], pe = { class: "HdServiceMarterial-preview" }, me = { class: "HdServiceMarterial-previewHead" }, O = { class: "HdServiceMarterial-previewHeadTitle" }, k = { class: "HdServiceMarterial-previewBody" }, A = ["src"], j = /* @__PURE__ */ e(/* @__PURE__ */ g({
21
21
  __name: "HdServiceMarterial",
22
22
  props: {
23
23
  baseHttp: { default: "" },
@@ -29,8 +29,8 @@ var re = {
29
29
  dataTime: { default: "" }
30
30
  },
31
31
  emits: ["close", "change"],
32
- setup(t, { emit: g }) {
33
- let j = _()?.appContext.config.globalProperties.$bus, M = t, N = g, P = b([]), F = b(!1), I = (/* @__PURE__ */ new Date()).getFullYear(), L = Array.from({ length: 20 }, (e, t) => I - t), R = b(""), z = b(I), B = b(""), V = b([]), H = b(!1), U = b(""), W = b([]), G = b({
32
+ setup(e, { emit: g }) {
33
+ let j = _()?.appContext.config.globalProperties.$bus, M = e, N = g, P = b([]), F = b(!1), I = (/* @__PURE__ */ new Date()).getFullYear(), L = Array.from({ length: 20 }, (e, t) => I - t), R = b(""), z = b(I), B = b(""), V = b([]), H = b(!1), U = b(""), W = b([]), G = b({
34
34
  title: "",
35
35
  dataTime: ""
36
36
  }), he = u(() => M.title || G.value.title || "服务材料"), K = u(() => M.dataTime || G.value.dataTime || ""), q = () => {
@@ -53,24 +53,24 @@ var re = {
53
53
  N("close", "HdServiceMarterial");
54
54
  }, Z = (e) => e ? e.data === void 0 ? e.result === void 0 ? e : e.result : e.data?.result?.output === void 0 ? e.data?.result === void 0 ? e.data : e.data.result : e.data.result.output : null, Q = async () => {
55
55
  F.value = !0;
56
- let t = M.ids.data;
57
- if (!t?.id) {
56
+ let e = M.ids.data;
57
+ if (!e?.id) {
58
58
  console.warn("HdServiceMarterial 缺少搜索工作流配置"), F.value = !1;
59
59
  return;
60
60
  }
61
61
  let n = "";
62
62
  P.value.length && (n = P.value.find((e) => e.id === B.value)?.category_name || "");
63
63
  try {
64
- let r = Z(await e({
65
- id: t.id,
64
+ let r = Z(await t({
65
+ id: e.id,
66
66
  baseHttp: M.baseHttp,
67
- reqType: t.reqType,
67
+ reqType: e.reqType,
68
68
  variables: {
69
69
  title: R.value,
70
70
  year: z.value,
71
71
  materialType: n
72
72
  },
73
- isFormData: t.isFormData,
73
+ isFormData: e.isFormData,
74
74
  appKey: M.appKey,
75
75
  appSalt: M.appSalt
76
76
  }));
@@ -86,18 +86,18 @@ var re = {
86
86
  await Se(), await xe();
87
87
  }, Se = async () => {
88
88
  F.value = !0;
89
- let t = M.ids.type;
90
- if (!t?.id) {
89
+ let e = M.ids.type;
90
+ if (!e?.id) {
91
91
  console.warn("HdServiceMarterial 缺少搜索工作流配置"), F.value = !1;
92
92
  return;
93
93
  }
94
94
  try {
95
- let n = Z(await e({
96
- id: t.id,
95
+ let n = Z(await t({
96
+ id: e.id,
97
97
  baseHttp: M.baseHttp,
98
- reqType: t.reqType,
98
+ reqType: e.reqType,
99
99
  variables: {},
100
- isFormData: t.isFormData,
100
+ isFormData: e.isFormData,
101
101
  appKey: M.appKey,
102
102
  appSalt: M.appSalt
103
103
  }));
@@ -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 { Fragment as n, Teleport as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, defineComponent as l, getCurrentInstance as u, onMounted as d, openBlock as f, ref as p, renderList as ee, toDisplayString as m, withModifiers as h } from "vue";
4
4
  //#region src/components/HdServiceRequirements/HdServiceRequirements.vue?vue&type=script&setup=true&lang.ts
5
5
  var g = { class: "HdServiceRequirements" }, _ = { class: "HdServiceRequirements-header" }, v = { class: "HdServiceRequirements-headerContent" }, y = { class: "HdServiceRequirements-title" }, b = {
@@ -20,7 +20,7 @@ var g = { class: "HdServiceRequirements" }, _ = { class: "HdServiceRequirements-
20
20
  }, j = { class: "HdServiceRequirements-imageMain" }, M = ["src"], N = {
21
21
  key: 2,
22
22
  class: "HdServiceRequirements-imageCounter"
23
- }, P = /* @__PURE__ */ t(/* @__PURE__ */ l({
23
+ }, P = /* @__PURE__ */ e(/* @__PURE__ */ l({
24
24
  __name: "HdServiceRequirements",
25
25
  props: {
26
26
  mock: {
@@ -69,8 +69,8 @@ var g = { class: "HdServiceRequirements" }, _ = { class: "HdServiceRequirements-
69
69
  }) }
70
70
  },
71
71
  emits: ["close"],
72
- setup(t, { emit: l }) {
73
- let P = u()?.appContext.config.globalProperties.$bus, F = t, I = l, L = p(!1), R = p(!1), z = p(0), B = p({
72
+ setup(e, { emit: l }) {
73
+ let P = u()?.appContext.config.globalProperties.$bus, F = e, I = l, L = p(!1), R = p(!1), z = p(0), B = p({
74
74
  title: "",
75
75
  dataTime: "",
76
76
  serviceType: "",
@@ -103,18 +103,18 @@ var g = { class: "HdServiceRequirements" }, _ = { class: "HdServiceRequirements-
103
103
  list: e.list || []
104
104
  };
105
105
  }, se = async () => {
106
- let t = F.ids.data;
107
- if (!t?.id) {
106
+ let e = F.ids.data;
107
+ if (!e?.id) {
108
108
  console.warn("HdServiceRequirements 缺少数据工作流配置");
109
109
  return;
110
110
  }
111
111
  try {
112
- let n = ae(await e({
113
- id: t.id,
112
+ let n = ae(await t({
113
+ id: e.id,
114
114
  baseHttp: F.baseHttp,
115
- reqType: t.reqType,
115
+ reqType: e.reqType,
116
116
  variables: { serviceType: F.serviceType },
117
- isFormData: t.isFormData,
117
+ isFormData: e.isFormData,
118
118
  appKey: F.appKey,
119
119
  appSalt: F.appSalt
120
120
  }));
@@ -147,8 +147,8 @@ var g = { class: "HdServiceRequirements" }, _ = { class: "HdServiceRequirements-
147
147
  P?.on("toComponent", (e) => {
148
148
  e.componentName === "HdServiceRequirements" && $();
149
149
  }), $();
150
- }), (e, i) => (f(), s("div", g, [
151
- t.showClose ? (f(), s("button", {
150
+ }), (t, i) => (f(), s("div", g, [
151
+ e.showClose ? (f(), s("button", {
152
152
  key: 0,
153
153
  class: "HdServiceRequirements-close",
154
154
  onClick: ie
@@ -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 { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, getCurrentInstance as p, normalizeClass as m, onBeforeUnmount as h, onMounted as g, openBlock as _, ref as v, renderList as y, toDisplayString as b, vModelCheckbox as x, vModelSelect as S, watch as C, withCtx as w, withDirectives as T } from "vue";
5
5
  import "element-plus/dist/index.css";
@@ -10,7 +10,7 @@ var E = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAABACAMAAAB83JS9AAAAA
10
10
  }, O = { class: "HdSoil-header" }, k = { class: "HdSoil-headerContent" }, A = {
11
11
  key: 0,
12
12
  class: "HdSoil-dataTime"
13
- }, j = { class: "HdSoil-checkContainer" }, M = { class: "HdSoil-check" }, ee = ["value"], te = { class: "HdSoil-toolbar" }, N = { class: "HdSoil-tags" }, P = ["onClick"], F = { class: "HdSoil-content" }, I = { class: "HdSoil-tableWrap" }, L = /* @__PURE__ */ t(/* @__PURE__ */ f({
13
+ }, j = { class: "HdSoil-checkContainer" }, M = { class: "HdSoil-check" }, ee = ["value"], te = { class: "HdSoil-toolbar" }, N = { class: "HdSoil-tags" }, P = ["onClick"], F = { class: "HdSoil-content" }, I = { class: "HdSoil-tableWrap" }, L = /* @__PURE__ */ e(/* @__PURE__ */ f({
14
14
  __name: "HdSoil",
15
15
  props: {
16
16
  mock: {
@@ -31,8 +31,8 @@ var E = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAABACAMAAAB83JS9AAAAA
31
31
  "addMarker",
32
32
  "markerClick"
33
33
  ],
34
- setup(t, { emit: f }) {
35
- let L = t, R = f, z = p()?.appContext.config.globalProperties.$bus, B = v(!1), V = v(L.dataTime || ""), H = v([]), U = v([]), W = v(""), G = v(!0), K = v([]), q = v({}), J = o(() => {
34
+ setup(e, { emit: f }) {
35
+ let L = e, R = f, z = p()?.appContext.config.globalProperties.$bus, B = v(!1), V = v(L.dataTime || ""), H = v([]), U = v([]), W = v(""), G = v(!0), K = v([]), q = v({}), J = o(() => {
36
36
  let e = [];
37
37
  return U.value.forEach((t) => {
38
38
  let n = q.value[t];
@@ -177,12 +177,12 @@ var E = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAABACAMAAAB83JS9AAAAA
177
177
  soilPh: e.soilPh ?? "-",
178
178
  soilEc: e.soilEc ?? "-",
179
179
  ...se(e)
180
- })) : [], $ = (t) => e({
181
- id: t.id,
180
+ })) : [], $ = (e) => t({
181
+ id: e.id,
182
182
  baseHttp: L.baseHttp,
183
- reqType: t.reqType,
183
+ reqType: e.reqType,
184
184
  variables: {},
185
- isFormData: t.isFormData,
185
+ isFormData: e.isFormData,
186
186
  appKey: L.appKey,
187
187
  appSalt: L.appSalt
188
188
  }), ue = async () => {
@@ -213,7 +213,7 @@ var E = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAABACAMAAAB83JS9AAAAA
213
213
  };
214
214
  return g(() => {
215
215
  ae(), ue();
216
- }), h(() => {}), (e, o) => {
216
+ }), h(() => {}), (t, o) => {
217
217
  let f = i, p = r, h = n;
218
218
  return T((_(), l("div", D, [
219
219
  u("button", {
@@ -252,7 +252,7 @@ var E = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAABACAMAAAB83JS9AAAAA
252
252
  u("div", F, [u("div", I, [d(p, {
253
253
  data: X.value,
254
254
  class: "HdSoil-table",
255
- "max-height": t.tableHeight,
255
+ "max-height": e.tableHeight,
256
256
  "empty-text": "暂无数据"
257
257
  }, {
258
258
  default: w(() => [
@@ -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 { ElConfigProvider as n, ElDatePicker as r, ElLoadingDirective as i, ElTable as a, ElTableColumn as ee } from "element-plus/es";
3
3
  import { Fragment as o, Teleport as te, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createVNode as f, defineComponent as p, getCurrentInstance as m, nextTick as h, normalizeClass as g, onBeforeUnmount as _, onMounted as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as ne, watch as C, withCtx as w, withDirectives as T } from "vue";
4
4
  import * as re from "echarts";
@@ -11,7 +11,7 @@ var D = {
11
11
  }, O = { class: "HdSoilDetailList-panel" }, k = { class: "HdSoilDetailList-header" }, A = { class: "HdSoilDetailList-title" }, j = { class: "HdSoilDetailList-filter" }, ae = {
12
12
  key: 0,
13
13
  class: "HdSoilDetailList-elementWrap"
14
- }, oe = { class: "HdSoilDetailList-elementTabs" }, se = ["onClick"], ce = { class: "HdSoilDetailList-modeWrap" }, le = { class: "HdSoilDetailList-body" }, ue = "#f53f3f", M = /* @__PURE__ */ t(/* @__PURE__ */ p({
14
+ }, oe = { class: "HdSoilDetailList-elementTabs" }, se = ["onClick"], ce = { class: "HdSoilDetailList-modeWrap" }, le = { class: "HdSoilDetailList-body" }, ue = "#f53f3f", M = /* @__PURE__ */ e(/* @__PURE__ */ p({
15
15
  __name: "HdSoilDetailList",
16
16
  props: {
17
17
  mock: {
@@ -26,8 +26,8 @@ var D = {
26
26
  refreshInterval: { default: 0 }
27
27
  },
28
28
  emits: ["close"],
29
- setup(t, { emit: p }) {
30
- let M = t, de = p, N = m()?.appContext.config.globalProperties.$bus, P = b(!1), F = b(!1), I = b(""), L = b(""), R = b([]), z = b("table"), B = b(null), V = null, H = /* @__PURE__ */ new Date(), fe = /* @__PURE__ */ new Date(H.getTime() - 10080 * 60 * 1e3), U = (e) => `${e.getFullYear()}-${String(e.getMonth() + 1).padStart(2, "0")}-${String(e.getDate()).padStart(2, "0")} ${String(e.getHours()).padStart(2, "0")}:${String(e.getMinutes()).padStart(2, "0")}:${String(e.getSeconds()).padStart(2, "0")}`, W = b([U(new Date(fe.setHours(0, 0, 0, 0))), U(new Date(H.setHours(23, 59, 59, 0)))]), pe = s(() => W.value?.[0] || ""), me = s(() => W.value?.[1] || ""), G = [
29
+ setup(e, { emit: p }) {
30
+ let M = e, de = p, N = m()?.appContext.config.globalProperties.$bus, P = b(!1), F = b(!1), I = b(""), L = b(""), R = b([]), z = b("table"), B = b(null), V = null, H = /* @__PURE__ */ new Date(), fe = /* @__PURE__ */ new Date(H.getTime() - 10080 * 60 * 1e3), U = (e) => `${e.getFullYear()}-${String(e.getMonth() + 1).padStart(2, "0")}-${String(e.getDate()).padStart(2, "0")} ${String(e.getHours()).padStart(2, "0")}:${String(e.getMinutes()).padStart(2, "0")}:${String(e.getSeconds()).padStart(2, "0")}`, W = b([U(new Date(fe.setHours(0, 0, 0, 0))), U(new Date(H.setHours(23, 59, 59, 0)))]), pe = s(() => W.value?.[0] || ""), me = s(() => W.value?.[1] || ""), G = [
31
31
  {
32
32
  label: "10cm(%RH)",
33
33
  prop: "soilHumidity1"
@@ -123,23 +123,23 @@ var D = {
123
123
  soilEc: e.soilEc ?? e.soil_ec ?? e.ec ?? "-"
124
124
  })) : [], X = async () => {
125
125
  if (M.mock) return;
126
- let t = M.ids?.data;
127
- if (!t?.id) {
126
+ let e = M.ids?.data;
127
+ if (!e?.id) {
128
128
  console.warn("HdSoilDetailList 缺少数据工作流配置");
129
129
  return;
130
130
  }
131
131
  F.value = !0;
132
132
  try {
133
- R.value = ve(Y(await e({
134
- id: t.id,
133
+ R.value = ve(Y(await t({
134
+ id: e.id,
135
135
  baseHttp: M.baseHttp,
136
- reqType: t.reqType,
136
+ reqType: e.reqType,
137
137
  variables: {
138
138
  msName: L.value,
139
139
  startTime: pe.value,
140
140
  endTime: me.value
141
141
  },
142
- isFormData: t.isFormData,
142
+ isFormData: e.isFormData,
143
143
  appKey: M.appKey,
144
144
  appSalt: M.appSalt
145
145
  }))), z.value === "chart" && h(() => Q());
@@ -279,7 +279,7 @@ var D = {
279
279
  N?.on("toComponent", $);
280
280
  }), _(() => {
281
281
  N?.off("toComponent", $), V?.dispose(), V = null;
282
- }), (e, s) => {
282
+ }), (t, s) => {
283
283
  let p = r, m = n, h = ee, _ = a, v = i;
284
284
  return y(), c(te, { to: "body" }, [P.value ? (y(), u("div", D, [d("div", O, [
285
285
  d("div", k, [d("span", A, S(L.value), 1), d("button", {
@@ -331,7 +331,7 @@ var D = {
331
331
  "element-loading-background": "rgba(0, 0, 0, 0.5)",
332
332
  data: R.value,
333
333
  class: "HdSoilDetailList-table",
334
- "max-height": t.tableHeight,
334
+ "max-height": e.tableHeight,
335
335
  "empty-text": "暂无数据"
336
336
  }, {
337
337
  default: w(() => [