nxd-plugin 1.8.16 → 1.8.18
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.
- package/dist/chunks/{component-AiChat-DFy6J98c.mjs → component-AiChat-DyGMpz5Q.mjs} +923 -851
- package/dist/chunks/{component-AqiMonitor-D2QE6MU-.mjs → component-AqiMonitor-CQTn29-8.mjs} +1 -1
- package/dist/chunks/{component-ChartCumulativePre-zU1npxQl.mjs → component-ChartCumulativePre-BO1v1Bjk.mjs} +2 -2
- package/dist/chunks/{component-ChartServiceMaterial-BPqx2802.mjs → component-ChartServiceMaterial-DpStK0Jb.mjs} +2 -2
- package/dist/chunks/{component-Duty-x3KKGcg6.mjs → component-Duty-CJGLzr-m.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic-B3o8f8t7.mjs → component-EarlyWarningStatistic-ChIhpUsj.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic2-EpGTlF8p.mjs → component-EarlyWarningStatistic2-Ntabj0O3.mjs} +2 -2
- package/dist/chunks/component-Forecast72h-s8yBgKV2.mjs +565 -0
- package/dist/chunks/{component-GeologyLiveAlarm-BDY3TvRH.mjs → component-GeologyLiveAlarm-DMPdaI5F.mjs} +2 -2
- package/dist/chunks/{component-GridForecastMsg-Clh9_Ots.mjs → component-GridForecastMsg-HLMnuEAT.mjs} +2 -2
- package/dist/chunks/{component-HDSeaLegend-DKZMx3bM.mjs → component-HDSeaLegend-C3H_-Fta.mjs} +1 -1
- package/dist/chunks/component-HdCameraList-ZTUmiEP7.mjs +26875 -0
- package/dist/chunks/{component-HdForecastProducts-YoKAM0J8.mjs → component-HdForecastProducts-BgaAZUiu.mjs} +2 -2
- package/dist/chunks/{component-HdHeatChart-DB8CBvzq.mjs → component-HdHeatChart-h79JOPxQ.mjs} +2 -2
- package/dist/chunks/{component-HdHeatChartDialog-D8EynXKT.mjs → component-HdHeatChartDialog-DMPAE8Xw.mjs} +3 -3
- package/dist/chunks/{component-HdHeatService-BbKGdSZ1.mjs → component-HdHeatService-CY_6j4jf.mjs} +2 -2
- package/dist/chunks/{component-HdInsectDetailList-CUSYNsd3.mjs → component-HdInsectDetailList-B77361lS.mjs} +112 -84
- package/dist/chunks/{component-HdInsectList-Dr708v6n.mjs → component-HdInsectList-DJWq8LX7.mjs} +150 -138
- package/dist/chunks/{component-HdObservation-BkDoGTEl.mjs → component-HdObservation-ZDPieMjX.mjs} +3 -3
- package/dist/chunks/{component-HdPreSituation-TXDv9Msg.mjs → component-HdPreSituation-dtj-phF9.mjs} +4 -4
- package/dist/chunks/{component-HdQxServiceEffects-BQ-7_R1k.mjs → component-HdQxServiceEffects-ByE3W9-C.mjs} +2 -2
- package/dist/chunks/{component-HdRadarList-glsnOM5S.mjs → component-HdRadarList-BhYlNWNn.mjs} +3 -3
- package/dist/chunks/{component-HdRadarTime-kEdSlp-y.mjs → component-HdRadarTime-BPFQFQY1.mjs} +2 -2
- package/dist/chunks/{component-HdRadarTimeLine-DOYZgNmZ.mjs → component-HdRadarTimeLine-CAuqo3zA.mjs} +2 -2
- package/dist/chunks/{component-HdRisk-BLLuEpPF.mjs → component-HdRisk-BsYZCgLI.mjs} +3 -3
- package/dist/chunks/{component-HdSeaCase-BQk9I8eV.mjs → component-HdSeaCase-SLplcTIQ.mjs} +2 -2
- package/dist/chunks/{component-HdServiceMarterial-3VeLx6L4.mjs → component-HdServiceMarterial-Pyv1Hgyg.mjs} +3 -3
- package/dist/chunks/{component-HdServiceRequirements-DWhzG8s8.mjs → component-HdServiceRequirements-C1TomMII.mjs} +5 -5
- package/dist/chunks/{component-HdSoil-CT-eJ4Vl.mjs → component-HdSoil-DAwTp9q5.mjs} +121 -193
- package/dist/chunks/{component-HdSoilDetailList-BSzrM1YR.mjs → component-HdSoilDetailList-BAOBs-r6.mjs} +14 -14
- package/dist/chunks/{component-HdStationTem-DhHka7zc.mjs → component-HdStationTem-Bt8gMR3v.mjs} +6 -6
- package/dist/chunks/{component-HdSuggestion-DdxhYTqa.mjs → component-HdSuggestion-C6ziTTKZ.mjs} +3 -3
- package/dist/chunks/component-HdThreeWeatherTrend-CJMs1P9m.mjs +363 -0
- package/dist/chunks/{component-HdWaveForcast-DOMZXc9O.mjs → component-HdWaveForcast-BAgLIJ5o.mjs} +3 -3
- package/dist/chunks/{component-HighQuality-CFcPPooM.mjs → component-HighQuality-B9BN2klR.mjs} +44 -46
- package/dist/chunks/{component-HighWayEarlyWarningRed-DIY3t4d7.mjs → component-HighWayEarlyWarningRed-BKACtnT9.mjs} +2 -2
- package/dist/chunks/{component-HighWayFreeze-CboeaAXJ.mjs → component-HighWayFreeze-hvUY4ZTE.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarm-CdcXtr5I.mjs → component-HighwayLiveAlarm-aRC9FTYG.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarmNew-BxiNyNea.mjs → component-HighwayLiveAlarmNew-BKGQST-V.mjs} +3 -3
- package/dist/chunks/{component-HighwayStations-BNzurANo.mjs → component-HighwayStations-AMR6QPFN.mjs} +2 -2
- package/dist/chunks/{component-HighwayWeatherForecast-D8NQdiPs.mjs → component-HighwayWeatherForecast-CzJqDupd.mjs} +4 -4
- package/dist/chunks/{component-IframeWeb-BgDL_RW6.mjs → component-IframeWeb-BS6VJ8f1.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-QMyKVLbe.mjs → component-ImageGeneration-B3gc74Sv.mjs} +1 -1
- package/dist/chunks/{component-IntroducePic-bkSFwwjh.mjs → component-IntroducePic-biCcYGK2.mjs} +2 -2
- package/dist/chunks/{component-LithiumBatteryMiningArea-C_ck8mg5.mjs → component-LithiumBatteryMiningArea-qREysEH3.mjs} +2 -2
- package/dist/chunks/{component-MapPopup-B3AsEpLm.mjs → component-MapPopup-i-zUuhws.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-B0sOIoWm.mjs → component-MaterialPreview-BLUOsXhG.mjs} +2 -2
- package/dist/chunks/{component-PieLegend-CLT6GVNf.mjs → component-PieLegend-NhO_f7iC.mjs} +1 -1
- package/dist/chunks/{component-PrecipitationRanking-DG-_1K6Z.mjs → component-PrecipitationRanking-cxmtPL79.mjs} +120 -120
- package/dist/chunks/{component-RadarChart-DpmugIfU.mjs → component-RadarChart-BCsX0Qfv.mjs} +2 -2
- package/dist/chunks/{component-RadarLegend-xDDp82a-.mjs → component-RadarLegend-D8ZGTpku.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-De5AGYpr.mjs → component-RadarShortTerm-CrHV53oG.mjs} +4 -4
- package/dist/chunks/{component-RadarTime-DD7MYKAd.mjs → component-RadarTime-CLfv4ONE.mjs} +2 -2
- package/dist/chunks/{component-RenderMarkdown-Bms3SV1Z.mjs → component-RenderMarkdown-DXjI2Dt3.mjs} +2 -2
- package/dist/chunks/{component-ReservoirLiveAlarm-Cdr7QnkA.mjs → component-ReservoirLiveAlarm-DqwE8pqm.mjs} +3 -3
- package/dist/chunks/{component-ServiceMaterial-BezMK8bi.mjs → component-ServiceMaterial-uYRmU0z5.mjs} +2 -2
- package/dist/chunks/{component-ServiceMaterialsBtn-BnoA6xvj.mjs → component-ServiceMaterialsBtn-BVYUgjET.mjs} +1 -1
- package/dist/chunks/{component-StationDialog-CDy6jy2m.mjs → component-StationDialog-DgnfPEdU.mjs} +4 -4
- package/dist/chunks/{component-StationList-CtVDA1QG.mjs → component-StationList-Clj57lo5.mjs} +7 -7
- package/dist/chunks/{component-TimeBasedForecast-DDmGgQ2w.mjs → component-TimeBasedForecast-CKftV77z.mjs} +4 -4
- package/dist/chunks/{component-Typhoon-COxsOx0R.mjs → component-Typhoon-Cfx0pQmJ.mjs} +2 -2
- package/dist/chunks/{component-WarningLine-cE9HfV9k.mjs → component-WarningLine-DSCnNisF.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-DQGfTFUW.mjs → component-WarningSignal-BBmcWZym.mjs} +3 -3
- package/dist/chunks/{component-WeatherForecast-BFjvaemE.mjs → component-WeatherForecast-id_hUWFm.mjs} +37 -30
- package/dist/chunks/{component-YCDataMonitor-BpMS4fBl.mjs → component-YCDataMonitor-COyI5fxU.mjs} +2 -2
- package/dist/chunks/{component-YCDataService-D61WRUos.mjs → component-YCDataService-Bcjvc6_l.mjs} +4 -4
- package/dist/chunks/{component-YCHighWaySummary-GKJ81vG-.mjs → component-YCHighWaySummary-BMnak3MG.mjs} +2 -2
- package/dist/chunks/{component-YCHome-zQ5pZSt4.mjs → component-YCHome-BIZpF0zw.mjs} +4 -4
- package/dist/chunks/{component-YCHomeLegend-CoVTH6wn.mjs → component-YCHomeLegend-BZO9QXdN.mjs} +1 -1
- package/dist/chunks/{component-YCLoginNew-CPhx7ktm.mjs → component-YCLoginNew-D3zPZcAM.mjs} +3 -3
- package/dist/components/AiChat/AiChat.vue.d.ts +2 -0
- package/dist/components/AiChat/types.d.ts +0 -17
- package/dist/components/HdCameraList/HdCameraList.vue.d.ts +16 -0
- package/dist/components/HdInsectList/HdInsectList.vue.d.ts +5 -0
- package/dist/components/HdSoil/HdSoil.vue.d.ts +3 -12
- package/dist/components/HdThreeWeatherTrend/HdThreeWeatherTrend.vue.d.ts +2 -0
- package/dist/nxd-plugin.mjs +69 -69
- package/dist/styles/component-AiChat.css +1 -1
- package/dist/styles/component-Forecast72h.css +1 -1
- package/dist/styles/component-HdCameraList.css +1 -1
- package/dist/styles/component-HdInsectDetailList.css +1 -1
- package/dist/styles/component-HdInsectList.css +1 -1
- package/dist/styles/component-HdServiceRequirements.css +1 -1
- package/dist/styles/component-HdSoil.css +1 -1
- package/dist/styles/component-HdSoilDetailList.css +1 -1
- package/dist/styles/component-HdStationTem.css +1 -1
- package/dist/styles/component-HdThreeWeatherTrend.css +1 -1
- package/dist/styles/component-HighQuality.css +1 -1
- package/dist/styles/component-PrecipitationRanking.css +1 -1
- package/dist/styles/component-StationList.css +1 -1
- package/dist/styles/component-WeatherForecast.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/dist/utils/methods.d.ts +2 -0
- package/dist/utils/weatherMethods.d.ts +17 -0
- package/package.json +4 -1
- package/dist/chunks/component-Forecast72h-BzzRo969.mjs +0 -539
- package/dist/chunks/component-HdCameraList-CSdmN17a.mjs +0 -394
- package/dist/chunks/component-HdThreeWeatherTrend-Dd7Azq9s.mjs +0 -333
- package/dist/components/AiChat/sseClient.d.ts +0 -21
package/dist/chunks/{component-HdObservation-BkDoGTEl.mjs → component-HdObservation-ZDPieMjX.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as e, t } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import { n } from "./component-AqiMonitor-
|
|
3
|
-
import { i as r } from "./component-AiChat-
|
|
4
|
-
import "./component-Forecast72h-
|
|
2
|
+
import { n } from "./component-AqiMonitor-CQTn29-8.mjs";
|
|
3
|
+
import { i as r } from "./component-AiChat-DyGMpz5Q.mjs";
|
|
4
|
+
import "./component-Forecast72h-s8yBgKV2.mjs";
|
|
5
5
|
import { ElIcon as i, ElLoadingDirective as a, ElOption as o, ElSelect as s } from "element-plus/es";
|
|
6
6
|
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createStaticVNode as ee, createVNode as m, defineComponent as h, getCurrentInstance as te, nextTick as ne, normalizeClass as re, normalizeStyle as ie, onBeforeUnmount as ae, onMounted as oe, openBlock as g, ref as _, renderList as v, toDisplayString as y, unref as se, withCtx as b, withDirectives as ce } from "vue";
|
|
7
7
|
import { Download as le } from "@element-plus/icons-vue";
|
package/dist/chunks/{component-HdPreSituation-TXDv9Msg.mjs → component-HdPreSituation-dtj-phF9.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import { n as t } from "./component-AqiMonitor-
|
|
3
|
-
import { i as n } from "./component-AiChat-
|
|
4
|
-
import "./component-Forecast72h-
|
|
5
|
-
import { n as r } from "./component-HdObservation-
|
|
2
|
+
import { n as t } from "./component-AqiMonitor-CQTn29-8.mjs";
|
|
3
|
+
import { i as n } from "./component-AiChat-DyGMpz5Q.mjs";
|
|
4
|
+
import "./component-Forecast72h-s8yBgKV2.mjs";
|
|
5
|
+
import { n as r } from "./component-HdObservation-ZDPieMjX.mjs";
|
|
6
6
|
import { ElConfigProvider as i, ElDatePicker as a, ElIcon as ee, ElLoadingDirective as te, ElOption as ne, ElSelect as re, ElTable as ie, ElTableColumn as ae } from "element-plus/es";
|
|
7
7
|
import { Fragment as o, computed as s, createBlock as oe, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, getCurrentInstance as p, nextTick as m, normalizeClass as se, normalizeStyle as h, onBeforeUnmount as g, onMounted as _, openBlock as v, ref as y, renderList as b, toDisplayString as x, unref as S, watch as ce, withCtx as C, withDirectives as le } from "vue";
|
|
8
8
|
import { Download as ue, TrendCharts as de } from "@element-plus/icons-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-CQTn29-8.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGMpz5Q.mjs";
|
|
3
3
|
import { Fragment as n, computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, getCurrentInstance as c, nextTick as l, normalizeStyle as u, onMounted as d, onUnmounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, watch as _ } from "vue";
|
|
4
4
|
import * as v from "echarts";
|
|
5
5
|
//#region src/components/HdQxServiceEffects/HdQxServiceEffects.vue?vue&type=script&setup=true&lang.ts
|
package/dist/chunks/{component-HdRadarList-glsnOM5S.mjs → component-HdRadarList-BhYlNWNn.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import "./component-Forecast72h-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-CQTn29-8.mjs";
|
|
2
|
+
import "./component-Forecast72h-s8yBgKV2.mjs";
|
|
3
3
|
import { ElIcon as t } from "element-plus/es";
|
|
4
4
|
import { Fragment as n, computed as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, getCurrentInstance as c, normalizeClass as l, onMounted as u, openBlock as d, ref as f, renderList as p, toDisplayString as m, unref as h, watch as g, withCtx as _ } from "vue";
|
|
5
5
|
import { EditPen as v } from "@element-plus/icons-vue";
|
|
@@ -108,7 +108,7 @@ var x = { class: "HdRadarList" }, S = { class: "HdRadarList-header" }, C = { cla
|
|
|
108
108
|
return;
|
|
109
109
|
}
|
|
110
110
|
try {
|
|
111
|
-
let { default: t } = await import("./component-AiChat-
|
|
111
|
+
let { default: t } = await import("./component-AiChat-DyGMpz5Q.mjs").then((e) => e.o), n = B(await t({
|
|
112
112
|
id: e.id,
|
|
113
113
|
baseHttp: A.baseHttp,
|
|
114
114
|
reqType: e.reqType,
|
package/dist/chunks/{component-HdRadarTime-kEdSlp-y.mjs → component-HdRadarTime-BPFQFQY1.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-CQTn29-8.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGMpz5Q.mjs";
|
|
3
3
|
import { ElCheckbox as n, ElConfigProvider as r, ElDatePicker as i, ElLoadingDirective as a, ElOption as o, ElSelect as s } from "element-plus/es";
|
|
4
4
|
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";
|
|
5
5
|
import "element-plus/dist/index.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-CQTn29-8.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGMpz5Q.mjs";
|
|
3
3
|
import { ElConfigProvider as n, ElDatePicker as r, ElOption as i, ElSelect as ee } from "element-plus/es";
|
|
4
4
|
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";
|
|
5
5
|
import "element-plus/es/components/select/style/css";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
3
|
-
import "./component-Forecast72h-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-CQTn29-8.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGMpz5Q.mjs";
|
|
3
|
+
import "./component-Forecast72h-s8yBgKV2.mjs";
|
|
4
4
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
5
5
|
import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, getCurrentInstance as l, nextTick as u, normalizeClass as d, onMounted as f, onUnmounted as p, openBlock as m, ref as h, renderList as g, toDisplayString as _, vShow as v, watch as ee, withDirectives as y } from "vue";
|
|
6
6
|
//#region src/components/HdRisk/HdRisk.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-CQTn29-8.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGMpz5Q.mjs";
|
|
3
3
|
import { ElOption as n, ElSelect as r } from "element-plus/es";
|
|
4
4
|
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";
|
|
5
5
|
//#region src/components/HdSeaCase/HdSeaCase.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
3
|
-
import "./component-Forecast72h-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-CQTn29-8.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGMpz5Q.mjs";
|
|
3
|
+
import "./component-Forecast72h-s8yBgKV2.mjs";
|
|
4
4
|
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";
|
|
5
5
|
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";
|
|
6
6
|
import { Search as ne } from "@element-plus/icons-vue";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
3
|
-
import "./component-Forecast72h-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-CQTn29-8.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGMpz5Q.mjs";
|
|
3
|
+
import "./component-Forecast72h-s8yBgKV2.mjs";
|
|
4
4
|
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";
|
|
5
5
|
//#region src/components/HdServiceRequirements/HdServiceRequirements.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var g = { class: "HdServiceRequirements" }, _ = { class: "HdServiceRequirements-header" }, v = { class: "HdServiceRequirements-headerContent" }, y = { class: "HdServiceRequirements-title" }, b = {
|
|
@@ -170,7 +170,7 @@ var g = { class: "HdServiceRequirements" }, _ = { class: "HdServiceRequirements-
|
|
|
170
170
|
key: 0,
|
|
171
171
|
class: "HdServiceRequirements-previewBtn",
|
|
172
172
|
onClick: Y
|
|
173
|
-
}, [...i[4] ||= [c("span", null, "
|
|
173
|
+
}, [...i[4] ||= [c("span", null, "···", -1)]])) : o("", !0),
|
|
174
174
|
c("button", {
|
|
175
175
|
class: "HdServiceRequirements-popupClose",
|
|
176
176
|
onClick: J
|
|
@@ -224,6 +224,6 @@ var g = { class: "HdServiceRequirements" }, _ = { class: "HdServiceRequirements-
|
|
|
224
224
|
])])) : o("", !0)]))
|
|
225
225
|
]));
|
|
226
226
|
}
|
|
227
|
-
}), [["__scopeId", "data-v-
|
|
227
|
+
}), [["__scopeId", "data-v-23477818"]]);
|
|
228
228
|
//#endregion
|
|
229
229
|
export { P as t };
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
3
|
-
import "./component-Forecast72h-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-CQTn29-8.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGMpz5Q.mjs";
|
|
3
|
+
import "./component-Forecast72h-s8yBgKV2.mjs";
|
|
4
4
|
import { ElLoadingDirective as n, ElTable as r, ElTableColumn as i } from "element-plus/es";
|
|
5
5
|
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";
|
|
6
|
+
import "element-plus/dist/index.css";
|
|
6
7
|
//#region src/assets/img/hd/humidity.png
|
|
7
8
|
var E = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAABACAYAAABLAmSPAAAAAXNSR0IArs4c6QAAFhdJREFUaEPtW3l4VNXdfs+5M5OZ7BAIhE022bcKooLWlVqxraLQR7t8j23V2kJmgnXXapW6dRUo2lakIIpFqyyChVpAVtnXBFAJkH3PTGbf7jlff2fmjpMhhCTy19fvPM99ksnce+55z29/fycM/yWD/ZfgxP8D/b8m6YsuUYfD8XXB8AAgr5ES+8DZ9j/9cf4fu7px9iL7vRLyGga2fcErCxZ3dZ6LCjQGUm5NXYxk7MGugI2BxOuJ+SQ2LJy/4JaugL1oQB0OxzjB5BFaRMWN01Az5WpkVZRh5NIlal1C4I5FCxasASBTFpr6WX1dOLfwWkj2Cf3++V3fx4B/bYC1uQmQ0rFw/sKFSXO0+XzqZlwUoA6HY4BgeB+Qk2qmXo1Td8xKvKffJ1sw6MPV6nMoHL35r6++uiUOlhZoXPR1YsFz5szpAxNfz4AJFTd9A2dvuRU9Dx/CiOVL1TxRXU57beFCmif5OeP5NoFfFKBzHPb1jGG6p/8AHC76xTmadcnGfyqJSMgjzfVN969YsaIYgE6Cjl+tQBcWFa4B2HfcAwfiSOHcxHzGPELKXYvmL7wxaaNonuQ5zgH7lYHai+wvS+CRSEYG9j3xNHSrtU0TmrDgj8gqOwtdiD3r13w4o6yszEfCiV8GaGmfa/+mlPgnTfLpvBcRTU9vNd9lv3sZGTXViESiS/686J0HASc9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A0ntBqMr1ml17QrQZOkb4YIWT9K1IF23QIg0CGGFNKcBIg0SFpioS03SNBnhhbRWgDEdUZIqi8Q6YjwEFol1xQJaCDCHAafRNEo9jt5hde0q0LbslgDEAWebkKGbIYQFMg5QgTTHwovhdSkvBKlvmKQaBWMR1RHzU0fMFAGcxvHz1GPjHXY8be1ER1U39VnjOcN2DcAa0E0DdA0QGjIkHc7gkKrhbDwjwZgA5zq8BFjTAVdb5+JT/4uiS5K8UMLQmUkNEMbP5EzIkGTqhhoO5Xw/6f1fSYLnk0xngJ3v3mQwyRJsS2tS/0el3f9ZuRiL+19TWe3X/2fP5QAAAABJRU5ErkJggg==", ee = {
|
|
8
9
|
class: "HdSoil",
|
|
9
10
|
"element-loading-background": "rgba(0, 0, 0, 0.5)"
|
|
10
|
-
},
|
|
11
|
+
}, te = { class: "HdSoil-header" }, D = { class: "HdSoil-headerContent" }, O = {
|
|
11
12
|
key: 0,
|
|
12
13
|
class: "HdSoil-dataTime"
|
|
13
|
-
},
|
|
14
|
+
}, k = { class: "HdSoil-checkContainer" }, A = { class: "HdSoil-check" }, j = ["value"], M = { class: "HdSoil-toolbar" }, N = { class: "HdSoil-tags" }, P = ["onClick"], F = { class: "HdSoil-content" }, I = { class: "HdSoil-tableWrap" }, L = /* @__PURE__ */ e(/* @__PURE__ */ f({
|
|
14
15
|
__name: "HdSoil",
|
|
15
16
|
props: {
|
|
16
17
|
mock: {
|
|
@@ -18,7 +19,7 @@ var E = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAABACAYAAABLAmSPAAAAA
|
|
|
18
19
|
default: !1
|
|
19
20
|
},
|
|
20
21
|
baseHttp: { default: "" },
|
|
21
|
-
tableHeight: { default: "
|
|
22
|
+
tableHeight: { default: "300px" },
|
|
22
23
|
appKey: { default: "" },
|
|
23
24
|
appSalt: { default: "" },
|
|
24
25
|
ids: { default: () => ({}) },
|
|
@@ -32,121 +33,30 @@ var E = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAABACAYAAABLAmSPAAAAA
|
|
|
32
33
|
"markerClick"
|
|
33
34
|
],
|
|
34
35
|
setup(e, { emit: f }) {
|
|
35
|
-
let
|
|
36
|
-
"10cm",
|
|
37
|
-
"ph",
|
|
38
|
-
"ec"
|
|
39
|
-
]), H = v("10cm"), U = v(!0), W = [
|
|
40
|
-
{
|
|
41
|
-
label: "10CM",
|
|
42
|
-
value: "10cm"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
label: "20CM",
|
|
46
|
-
value: "20cm"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
label: "30CM",
|
|
50
|
-
value: "30cm"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
label: "40CM",
|
|
54
|
-
value: "40cm"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
label: "50CM",
|
|
58
|
-
value: "50cm"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
label: "PH值",
|
|
62
|
-
value: "ph"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
label: "EC值",
|
|
66
|
-
value: "ec"
|
|
67
|
-
}
|
|
68
|
-
], G = {
|
|
69
|
-
"10cm": [{
|
|
70
|
-
label: "10cm(%RH)",
|
|
71
|
-
prop: "soilHumidity1"
|
|
72
|
-
}, {
|
|
73
|
-
label: "10cm(℃)",
|
|
74
|
-
prop: "soilTemperature1"
|
|
75
|
-
}],
|
|
76
|
-
"20cm": [{
|
|
77
|
-
label: "20cm(%RH)",
|
|
78
|
-
prop: "soilHumidity2"
|
|
79
|
-
}, {
|
|
80
|
-
label: "20cm(℃)",
|
|
81
|
-
prop: "soilTemperature2"
|
|
82
|
-
}],
|
|
83
|
-
"30cm": [{
|
|
84
|
-
label: "30cm(%RH)",
|
|
85
|
-
prop: "soilHumidity3"
|
|
86
|
-
}, {
|
|
87
|
-
label: "30cm(℃)",
|
|
88
|
-
prop: "soilTemperature3"
|
|
89
|
-
}],
|
|
90
|
-
"40cm": [{
|
|
91
|
-
label: "40cm(%RH)",
|
|
92
|
-
prop: "soilHumidity4"
|
|
93
|
-
}, {
|
|
94
|
-
label: "40cm(℃)",
|
|
95
|
-
prop: "soilTemperature4"
|
|
96
|
-
}],
|
|
97
|
-
"50cm": [{
|
|
98
|
-
label: "50cm(%RH)",
|
|
99
|
-
prop: "soilHumidity5"
|
|
100
|
-
}, {
|
|
101
|
-
label: "50cm(℃)",
|
|
102
|
-
prop: "soilTemperature5"
|
|
103
|
-
}],
|
|
104
|
-
ph: [{
|
|
105
|
-
label: "PH值(ph)",
|
|
106
|
-
prop: "soilPh"
|
|
107
|
-
}],
|
|
108
|
-
ec: [{
|
|
109
|
-
label: "EC值(S/cm)",
|
|
110
|
-
prop: "soilEc"
|
|
111
|
-
}]
|
|
112
|
-
}, K = o(() => {
|
|
36
|
+
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(() => {
|
|
113
37
|
let e = [];
|
|
114
|
-
return
|
|
115
|
-
let n =
|
|
116
|
-
n && e.push(...n
|
|
117
|
-
label: e.label,
|
|
118
|
-
prop: e.prop
|
|
119
|
-
})));
|
|
38
|
+
return U.value.forEach((t) => {
|
|
39
|
+
let n = q.value[t];
|
|
40
|
+
n && e.push(...n);
|
|
120
41
|
}), e;
|
|
121
|
-
}),
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
"40cm",
|
|
128
|
-
"50cm",
|
|
129
|
-
"ph",
|
|
130
|
-
"ec"
|
|
131
|
-
];
|
|
132
|
-
return n.indexOf(e) - n.indexOf(t);
|
|
133
|
-
}));
|
|
134
|
-
}, Y = () => {
|
|
135
|
-
I("close");
|
|
136
|
-
}, ie = (e, t) => {
|
|
137
|
-
let n = G[t];
|
|
42
|
+
}), Y = o(() => K.value.map((e) => e.value)), X = o(() => L.list.length ? L.list : H.value), Z = (e) => {
|
|
43
|
+
U.value.includes(e) ? U.value.length > 1 && (U.value = U.value.filter((t) => t !== e)) : (U.value.push(e), U.value.sort((e, t) => Y.value.indexOf(e) - Y.value.indexOf(t)));
|
|
44
|
+
}, ne = () => {
|
|
45
|
+
R("close");
|
|
46
|
+
}, re = (e, t) => {
|
|
47
|
+
let n = q.value[t];
|
|
138
48
|
return n ? n.map((t) => {
|
|
139
49
|
let n = e[t.prop];
|
|
140
|
-
return t.prop.startsWith("
|
|
50
|
+
return t.prop.startsWith("humidity") ? `${n}%` : t.prop.startsWith("temperature") ? `${n}℃` : t.prop === "soilPh" ? `${n}ph` : t.prop === "soilEc" ? `${n}S/cm` : n;
|
|
141
51
|
}).join(" ") : "";
|
|
142
|
-
},
|
|
143
|
-
if (!
|
|
144
|
-
|
|
52
|
+
}, Q = () => {
|
|
53
|
+
if (!G.value) {
|
|
54
|
+
R("addMarker", { removeMarker: "hdSoil" });
|
|
145
55
|
return;
|
|
146
56
|
}
|
|
147
|
-
let e =
|
|
57
|
+
let e = W.value;
|
|
148
58
|
if (!e) {
|
|
149
|
-
|
|
59
|
+
R("addMarker", { removeMarker: "hdSoil" });
|
|
150
60
|
return;
|
|
151
61
|
}
|
|
152
62
|
let t = {
|
|
@@ -154,12 +64,13 @@ var E = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAABACAYAAABLAmSPAAAAA
|
|
|
154
64
|
spotObject: [{
|
|
155
65
|
offsetX: -13,
|
|
156
66
|
offsetY: -13,
|
|
157
|
-
spotArrone: []
|
|
67
|
+
spotArrone: [],
|
|
68
|
+
minZoom: 6
|
|
158
69
|
}],
|
|
159
70
|
drawArrObj: [],
|
|
160
71
|
onlyLayerID: "hdSoil"
|
|
161
72
|
}, n = 0, r = 0;
|
|
162
|
-
|
|
73
|
+
X.value.forEach((i) => {
|
|
163
74
|
let a = Number(i.lon), o = Number(i.lat);
|
|
164
75
|
if (!a || !o || isNaN(a) || isNaN(o)) {
|
|
165
76
|
r++, console.warn("HdSoil 跳过无效经纬度:", i.stationName, "lon=", i.lon, "lat=", i.lat);
|
|
@@ -167,11 +78,11 @@ var E = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAABACAYAAABLAmSPAAAAA
|
|
|
167
78
|
}
|
|
168
79
|
n++;
|
|
169
80
|
let s = `
|
|
170
|
-
<div class="hd-soil-marker" style="position:relative;display:inline-block;width:24px;height:24px;">
|
|
81
|
+
<div class="hd-soil-marker" style="position:relative;display:inline-block;width:24px;height:24px;cursor:pointer;">
|
|
171
82
|
<img src="${E}" alt="土壤墒情" style="width:24px;height:24px;display:block;" />
|
|
172
83
|
<div class="hd-soil-marker-content" style="position:absolute;top:0;left:100%;margin-left:4px;white-space:nowrap;">
|
|
173
84
|
<div class="hd-soil-marker-title" style="color:black;font-weight:bold;font-size:12px;line-height:1.4;text-shadow:0 1px white, 1px 0 white, -1px 0 white, 0 -1px white;">${i.stationName}</div>
|
|
174
|
-
<div class="hd-soil-marker-value" style="color:black;font-size:12px;line-height:1.4;text-shadow:0 1px white, 1px 0 white, -1px 0 white, 0 -1px white;">${
|
|
85
|
+
<div class="hd-soil-marker-value" style="color:black;font-size:12px;line-height:1.4;text-shadow:0 1px white, 1px 0 white, -1px 0 white, 0 -1px white;">${re(i, e)}</div>
|
|
175
86
|
</div>
|
|
176
87
|
</div>
|
|
177
88
|
`;
|
|
@@ -182,15 +93,15 @@ var E = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAABACAYAAABLAmSPAAAAA
|
|
|
182
93
|
data: i,
|
|
183
94
|
otherData: { markId: "hdSoil" }
|
|
184
95
|
});
|
|
185
|
-
}), console.log(`HdSoil addMarker 总数=${
|
|
96
|
+
}), console.log(`HdSoil addMarker 总数=${X.value.length} 有效=${n} 跳过=${r}`, t), R("addMarker", {
|
|
186
97
|
mapMarker: t,
|
|
187
98
|
removeMarker: "hdSoil"
|
|
188
99
|
});
|
|
189
100
|
};
|
|
190
|
-
C([
|
|
191
|
-
|
|
101
|
+
C([G, W], () => {
|
|
102
|
+
Q();
|
|
192
103
|
});
|
|
193
|
-
let
|
|
104
|
+
let ie = (e) => {
|
|
194
105
|
let t = e?.data?.result?.output;
|
|
195
106
|
if (console.log(t, "output"), typeof t == "string") try {
|
|
196
107
|
let e = JSON.parse(t);
|
|
@@ -199,89 +110,106 @@ var E = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAABACAYAAABLAmSPAAAAA
|
|
|
199
110
|
return console.error("HdSoil output JSON 解析失败", t), [];
|
|
200
111
|
}
|
|
201
112
|
return Array.isArray(t) ? t : [];
|
|
202
|
-
}, ae = (e
|
|
203
|
-
let
|
|
204
|
-
(
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
msCode: t
|
|
113
|
+
}, ae = (e) => {
|
|
114
|
+
let t = {};
|
|
115
|
+
return Object.keys(e).forEach((n) => {
|
|
116
|
+
if (/^(humidity|temperature)\d+cm$/.test(n)) {
|
|
117
|
+
let r = e[n];
|
|
118
|
+
t[n] = r == null || r === "" ? "-" : r;
|
|
119
|
+
}
|
|
120
|
+
}), t;
|
|
121
|
+
}, oe = (e) => {
|
|
122
|
+
let t = /* @__PURE__ */ new Set();
|
|
123
|
+
e.forEach((e) => {
|
|
124
|
+
Object.keys(e).forEach((e) => {
|
|
125
|
+
let n = e.match(/^humidity(\d+)cm$/), r = e.match(/^temperature(\d+)cm$/);
|
|
126
|
+
n && t.add(Number(n[1])), r && t.add(Number(r[1]));
|
|
217
127
|
});
|
|
218
|
-
})
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
128
|
+
});
|
|
129
|
+
let n = Array.from(t).sort((e, t) => e - t), r = n.map((e) => ({
|
|
130
|
+
label: `${e}CM`,
|
|
131
|
+
value: `${e}cm`
|
|
132
|
+
})), i = e.some((e) => e.soilPh !== void 0 && e.soilPh !== null && e.soilPh !== ""), a = e.some((e) => e.soilEc !== void 0 && e.soilEc !== null && e.soilEc !== "");
|
|
133
|
+
i && r.push({
|
|
134
|
+
label: "PH值",
|
|
135
|
+
value: "ph"
|
|
136
|
+
}), a && r.push({
|
|
137
|
+
label: "EC值",
|
|
138
|
+
value: "ec"
|
|
139
|
+
});
|
|
140
|
+
let o = {};
|
|
141
|
+
if (n.forEach((t) => {
|
|
142
|
+
let n = [];
|
|
143
|
+
e.some((e) => `humidity${t}cm` in e) && n.push({
|
|
144
|
+
label: `${t}cm(%RH)`,
|
|
145
|
+
prop: `humidity${t}cm`
|
|
146
|
+
}), e.some((e) => `temperature${t}cm` in e) && n.push({
|
|
147
|
+
label: `${t}cm(℃)`,
|
|
148
|
+
prop: `temperature${t}cm`
|
|
149
|
+
}), o[`${t}cm`] = n;
|
|
150
|
+
}), i && (o.ph = [{
|
|
151
|
+
label: "PH值(ph)",
|
|
152
|
+
prop: "soilPh"
|
|
153
|
+
}]), a && (o.ec = [{
|
|
154
|
+
label: "EC值(S/cm)",
|
|
155
|
+
prop: "soilEc"
|
|
156
|
+
}]), K.value = r, q.value = o, r.length && !U.value.length) {
|
|
157
|
+
let e = [];
|
|
158
|
+
r.some((e) => e.value === "10cm") && e.push("10cm"), r.some((e) => e.value === "ph") && e.push("ph"), r.some((e) => e.value === "ec") && e.push("ec"), U.value = e.length ? e : r.slice(0, 3).map((e) => e.value);
|
|
159
|
+
}
|
|
160
|
+
r.length && !W.value && (W.value = r[0].value);
|
|
161
|
+
}, se = (e) => Array.isArray(e) ? e.map((e) => ({
|
|
162
|
+
stationName: e.msName || e.stationName || "",
|
|
224
163
|
msCode: e.msCode || "",
|
|
225
|
-
address: e.
|
|
226
|
-
lon: e.
|
|
227
|
-
lat: e.
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
soilHumidity4: e.soilHumidity4 ?? "-",
|
|
232
|
-
soilHumidity5: e.soilHumidity5 ?? "-",
|
|
233
|
-
soilTemperature1: e.soilTemperature1 ?? "-",
|
|
234
|
-
soilTemperature2: e.soilTemperature2 ?? "-",
|
|
235
|
-
soilTemperature3: e.soilTemperature3 ?? "-",
|
|
236
|
-
soilTemperature4: e.soilTemperature4 ?? "-",
|
|
237
|
-
soilTemperature5: e.soilTemperature5 ?? "-",
|
|
164
|
+
address: e.subregionName || e.address || "",
|
|
165
|
+
lon: e.longitude ?? e.lon ?? e.lng ?? "",
|
|
166
|
+
lat: e.latitude ?? e.lat ?? "",
|
|
167
|
+
dataTime: e.dataTime || e.collectTime || "",
|
|
168
|
+
devStatus: String(e.devStatus ?? ""),
|
|
169
|
+
devStatusDataName: e.devStatusDataName || "",
|
|
238
170
|
soilPh: e.soilPh ?? "-",
|
|
239
171
|
soilEc: e.soilEc ?? "-",
|
|
240
|
-
|
|
241
|
-
})) : [],
|
|
172
|
+
...ae(e)
|
|
173
|
+
})) : [], ce = (e) => t({
|
|
242
174
|
id: e.id,
|
|
243
|
-
baseHttp:
|
|
175
|
+
baseHttp: L.baseHttp,
|
|
244
176
|
reqType: e.reqType,
|
|
245
177
|
variables: {},
|
|
246
178
|
isFormData: e.isFormData,
|
|
247
|
-
appKey:
|
|
248
|
-
appSalt:
|
|
249
|
-
}),
|
|
250
|
-
if (
|
|
251
|
-
let e =
|
|
179
|
+
appKey: L.appKey,
|
|
180
|
+
appSalt: L.appSalt
|
|
181
|
+
}), le = async () => {
|
|
182
|
+
if (L.mock) return;
|
|
183
|
+
let e = L.ids?.data;
|
|
252
184
|
if (!e?.id) {
|
|
253
185
|
console.warn("HdSoil 缺少数据工作流配置");
|
|
254
186
|
return;
|
|
255
187
|
}
|
|
256
|
-
|
|
188
|
+
B.value = !0;
|
|
257
189
|
try {
|
|
258
|
-
let
|
|
259
|
-
t
|
|
260
|
-
let [r, i] = await Promise.all(n), a = Z(r);
|
|
261
|
-
console.log(a, "dataList");
|
|
262
|
-
let o = ae(a, i ? Z(i) : []);
|
|
263
|
-
console.log(r, i, "mergedSoilData"), console.log(o, "merged"), B.value = oe(o), console.log(B.value, "soilList.value"), !z.value && B.value.length && (z.value = B.value[0].dataTime), X();
|
|
190
|
+
let t = ie(await ce(e));
|
|
191
|
+
console.log(t, "dataList"), oe(t), H.value = se(t), console.log(H.value, "soilList.value"), !V.value && H.value.length && (V.value = H.value[0].dataTime), Q();
|
|
264
192
|
} catch (e) {
|
|
265
193
|
console.error("HdSoil 调用工作流接口失败", e);
|
|
266
194
|
} finally {
|
|
267
|
-
|
|
195
|
+
B.value = !1;
|
|
268
196
|
}
|
|
269
197
|
}, $ = (e) => {
|
|
270
198
|
let t = e?.data?.ds;
|
|
271
|
-
t?.otherData?.markId === "hdSoil" && t?.data &&
|
|
199
|
+
t?.otherData?.markId === "hdSoil" && t?.data && R("markerClick", t.data);
|
|
272
200
|
};
|
|
273
201
|
return g(() => {
|
|
274
|
-
|
|
202
|
+
z?.on("mapOut", $), le();
|
|
275
203
|
}), h(() => {
|
|
276
|
-
|
|
204
|
+
z?.off("mapOut", $);
|
|
277
205
|
}), (t, o) => {
|
|
278
206
|
let f = i, p = r, h = n;
|
|
279
207
|
return T((_(), l("div", ee, [
|
|
280
208
|
u("button", {
|
|
281
209
|
class: "HdSoil-close",
|
|
282
|
-
onClick:
|
|
210
|
+
onClick: ne
|
|
283
211
|
}, [...o[2] ||= [u("span", null, "✕", -1)]]),
|
|
284
|
-
u("div",
|
|
212
|
+
u("div", te, [u("div", D, [o[3] ||= u("h3", { class: "HdSoil-title" }, "土壤墒情列表", -1), V.value ? (_(), l("span", O, "(数据时间:" + b(V.value) + ")", 1)) : c("", !0)]), o[4] ||= u("img", {
|
|
285
213
|
style: {
|
|
286
214
|
width: "100%",
|
|
287
215
|
"object-fit": "contain",
|
|
@@ -290,28 +218,28 @@ var E = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAABACAYAAABLAmSPAAAAA
|
|
|
290
218
|
src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbsAAAASBAMAAAAwI22/AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAwUExURQAAAAem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/5bu5GYAAAAPdFJOUwAFwAwc2M8ULQYDn/hGXGnV2UoAAAGZSURBVEjH7ZM/S8NAGId/JYGmmeLspptThurk0CHWRXGo0Nk/S50y6CYSHMRF7Efo4uQXEIpbwUnM6OhnEIeChXjv5ZLLXdLtLCX68vDCe0eGJ7/3AJN1VcL+UImB/SruVJwYTqSAW5V3LLyaPR1c+IIdH12OPZiLcyTAjccZEdccZ0Nn4bXpC3KpCuFu5tkdziX3FJxBSBZZdFk9HempCduMk4xSitJTpOgJSSIPrx10YAUB0tYOwrQ1g12k7ZyODIYXZmQpppLV26rtbDFOXVhua2Fn7WTWwUEyAe5Zc2hiLWTTC3jjk8Hw+jrSM9/Z8raKOAtZVmyr9jbpee4lU9hvSUStw6YvOpqwiXlK9d8IL0Oq5tuqvc3KLMs7q9uyCC0y22aKvDVp4u2SjnJ1c+Wecg7h9gV4CFV8NHpEaw7yF2wVGcIa6OBx/Ax3PI6pRWx6Am98alBbpSODNVTxgAbQUpF3KeVv0s80xMUow8N//YVaqWEV9BJDdby2PBUZ1/te0uU0YzeLa623jjrrvaLOep/+str9ACyAtv25BhHcAAAAAElFTkSuQmCC",
|
|
291
219
|
alt: ""
|
|
292
220
|
}, null, -1)]),
|
|
293
|
-
u("div",
|
|
221
|
+
u("div", k, [u("label", A, [
|
|
294
222
|
T(u("input", {
|
|
295
|
-
"onUpdate:modelValue": o[0] ||= (e) =>
|
|
223
|
+
"onUpdate:modelValue": o[0] ||= (e) => G.value = e,
|
|
296
224
|
type: "checkbox"
|
|
297
|
-
}, null, 512), [[x,
|
|
225
|
+
}, null, 512), [[x, G.value]]),
|
|
298
226
|
o[5] ||= u("span", { class: "HdSoil-checkBox" }, null, -1),
|
|
299
227
|
o[6] ||= u("span", { class: "HdSoil-checkLabel" }, "地图标记", -1)
|
|
300
228
|
]), u("div", null, [T(u("select", {
|
|
301
|
-
"onUpdate:modelValue": o[1] ||= (e) =>
|
|
229
|
+
"onUpdate:modelValue": o[1] ||= (e) => W.value = e,
|
|
302
230
|
class: "HdSoil-markerSelect",
|
|
303
|
-
onChange:
|
|
304
|
-
}, [(_(), l(a, null, y(
|
|
231
|
+
onChange: Q
|
|
232
|
+
}, [(_(!0), l(a, null, y(K.value, (e) => (_(), l("option", {
|
|
305
233
|
key: e.value,
|
|
306
234
|
value: e.value
|
|
307
|
-
}, b(e.label), 9,
|
|
308
|
-
u("div",
|
|
235
|
+
}, b(e.label), 9, j))), 128))], 544), [[S, W.value]])])]),
|
|
236
|
+
u("div", M, [o[7] ||= u("span", { class: "HdSoil-toolbarLabel" }, "要素", -1), u("div", N, [(_(!0), l(a, null, y(K.value, (e) => (_(), l("button", {
|
|
309
237
|
key: e.value,
|
|
310
|
-
class: m(["HdSoil-tag", { "HdSoil-tag--active":
|
|
311
|
-
onClick: (t) =>
|
|
312
|
-
}, b(e.label), 11,
|
|
313
|
-
u("div",
|
|
314
|
-
data:
|
|
238
|
+
class: m(["HdSoil-tag", { "HdSoil-tag--active": U.value.includes(e.value) }]),
|
|
239
|
+
onClick: (t) => Z(e.value)
|
|
240
|
+
}, b(e.label), 11, P))), 128))])]),
|
|
241
|
+
u("div", F, [u("div", I, [d(p, {
|
|
242
|
+
data: X.value,
|
|
315
243
|
class: "HdSoil-table",
|
|
316
244
|
"max-height": e.tableHeight,
|
|
317
245
|
"empty-text": "暂无数据"
|
|
@@ -332,7 +260,7 @@ var E = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAABACAYAAABLAmSPAAAAA
|
|
|
332
260
|
"min-width": "120",
|
|
333
261
|
"show-overflow-tooltip": ""
|
|
334
262
|
}),
|
|
335
|
-
(_(!0), l(a, null, y(
|
|
263
|
+
(_(!0), l(a, null, y(J.value, (e) => (_(), s(f, {
|
|
336
264
|
key: e.prop,
|
|
337
265
|
prop: e.prop,
|
|
338
266
|
label: e.label,
|
|
@@ -342,9 +270,9 @@ var E = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAABACAYAAABLAmSPAAAAA
|
|
|
342
270
|
]),
|
|
343
271
|
_: 1
|
|
344
272
|
}, 8, ["data", "max-height"])])])
|
|
345
|
-
])), [[h,
|
|
273
|
+
])), [[h, B.value]]);
|
|
346
274
|
};
|
|
347
275
|
}
|
|
348
|
-
}), [["__scopeId", "data-v-
|
|
276
|
+
}), [["__scopeId", "data-v-714bf121"]]);
|
|
349
277
|
//#endregion
|
|
350
|
-
export {
|
|
278
|
+
export { L as t };
|