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
|
@@ -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 { ElIcon as n } from "element-plus/es";
|
|
4
4
|
import { Fragment as r, Teleport as i, computed as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as ee, normalizeClass as d, onMounted as f, onUnmounted as p, openBlock as m, ref as h, renderList as g, toDisplayString as _, unref as v, vModelText as y, watch as b, withCtx as x, withDirectives as S } from "vue";
|
|
5
5
|
import { ArrowLeft as C, ArrowRight as te, VideoPause as ne, VideoPlay as re } from "@element-plus/icons-vue";
|
package/dist/chunks/{component-HdHeatChart-DB8CBvzq.mjs → component-HdHeatChart-h79JOPxQ.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 { ElLoadingDirective as n } from "element-plus/es";
|
|
4
4
|
import { computed as r, createElementBlock as i, createElementVNode as a, defineComponent as o, onBeforeUnmount as s, onMounted as c, openBlock as l, ref as u, toDisplayString as d, watch as f, withDirectives as p } from "vue";
|
|
5
5
|
import * as m from "echarts";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
3
|
-
import "./component-HdHeatChart-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-CQTn29-8.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGMpz5Q.mjs";
|
|
3
|
+
import "./component-HdHeatChart-h79JOPxQ.mjs";
|
|
4
4
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
5
5
|
import { Fragment as r, Teleport as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, getCurrentInstance as d, normalizeClass as f, normalizeStyle as p, onBeforeUnmount as m, onMounted as ee, openBlock as h, ref as g, renderList as _, toDisplayString as v, vShow as te, withDirectives as ne, withModifiers as y } from "vue";
|
|
6
6
|
import * as b from "echarts";
|
package/dist/chunks/{component-HdHeatService-BbKGdSZ1.mjs → component-HdHeatService-CY_6j4jf.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 { ElLoadingDirective as n } from "element-plus/es";
|
|
4
4
|
import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, defineComponent as l, getCurrentInstance as ee, nextTick as u, normalizeStyle as d, onMounted as te, onUnmounted as ne, openBlock as f, ref as p, renderList as m, toDisplayString as h, watch as g, withDirectives as re } from "vue";
|
|
5
5
|
import * as _ from "echarts";
|
|
@@ -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, ElLoadingDirective as i, ElTable as ee, ElTableColumn as te } from "element-plus/es";
|
|
4
4
|
import { Fragment as a, Teleport as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, getCurrentInstance as h, normalizeClass as g, onMounted as _, openBlock as v, ref as y, renderList as ne, toDisplayString as b, unref as re, withCtx as x, withDirectives as ie, withModifiers as ae } from "vue";
|
|
5
5
|
import "element-plus/dist/index.css";
|
|
@@ -17,13 +17,13 @@ var se = {
|
|
|
17
17
|
}, _e = { class: "HdInsectDetailList-subPanel HdInsectDetailList-subPanel--guidance" }, ve = {
|
|
18
18
|
key: 0,
|
|
19
19
|
class: "HdInsectDetailList-tabs"
|
|
20
|
-
},
|
|
20
|
+
}, ye = ["onClick"], S = {
|
|
21
21
|
key: 1,
|
|
22
22
|
class: "HdInsectDetailList-guidanceBody"
|
|
23
|
-
},
|
|
23
|
+
}, C = { class: "HdInsectDetailList-section" }, w = { class: "HdInsectDetailList-feature" }, T = { class: "HdInsectDetailList-featureImage" }, E = ["src"], D = { class: "HdInsectDetailList-featureText" }, O = { class: "HdInsectDetailList-section" }, k = { class: "HdInsectDetailList-prevention" }, A = {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "HdInsectDetailList-modal"
|
|
26
|
-
},
|
|
26
|
+
}, j = { class: "HdInsectDetailList-subPanel HdInsectDetailList-subPanel--detail" }, M = { class: "HdInsectDetailList-detailHead" }, N = { class: "HdInsectDetailList-detailTime" }, P = { class: "HdInsectDetailList-detailImage" }, be = ["src"], F = /* @__PURE__ */ e(/* @__PURE__ */ m({
|
|
27
27
|
__name: "HdInsectDetailList",
|
|
28
28
|
props: {
|
|
29
29
|
baseHttp: { default: "" },
|
|
@@ -37,7 +37,7 @@ var se = {
|
|
|
37
37
|
},
|
|
38
38
|
emits: ["close"],
|
|
39
39
|
setup(e, { emit: m }) {
|
|
40
|
-
let
|
|
40
|
+
let F = e, xe = m, Se = h()?.appContext.config.globalProperties.$bus, I = y(!1), L = y(!1), R = y(""), z = y([]), B = y(!1), V = y(!1), H = y(0), U = y(null), W = s(() => U.value?.guidance || []), G = s(() => W.value[H.value]), K = /* @__PURE__ */ new Date(), Ce = /* @__PURE__ */ new Date(K.getTime() - 10080 * 60 * 1e3), q = (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")}`, J = y([q(new Date(Ce.setHours(0, 0, 0, 0))), q(new Date(K.setHours(23, 59, 59, 0)))]), we = s(() => J.value?.[0] || ""), Te = s(() => J.value?.[1] || ""), Y = y("虫情监测详情"), X = (e) => {
|
|
41
41
|
if (!e) return null;
|
|
42
42
|
let t = null;
|
|
43
43
|
if (t = e.data === void 0 ? e.result === void 0 ? e : e.result : e.data?.result?.output === void 0 ? e.data?.result === void 0 ? e.data : e.data.result : e.data.result.output, typeof t == "string") try {
|
|
@@ -46,95 +46,123 @@ var se = {
|
|
|
46
46
|
console.warn("HdInsectDetailList 接口返回非 JSON 字符串", e);
|
|
47
47
|
}
|
|
48
48
|
return t;
|
|
49
|
-
}, Ee = (e) => {
|
|
49
|
+
}, Ee = (e) => Array.isArray(e) ? e.map((e) => {
|
|
50
|
+
let t = e.msName || "";
|
|
51
|
+
return {
|
|
52
|
+
id: String(e.id || e.msCode || ""),
|
|
53
|
+
stationName: t,
|
|
54
|
+
monitorTime: e.pictureTime || e.collectTime || "",
|
|
55
|
+
warningStatus: e.warningStatus || "无",
|
|
56
|
+
warningValue: e.pestNames || "无",
|
|
57
|
+
impactLevel: e.clcqpj || "-",
|
|
58
|
+
impactRange: e.influence || "-",
|
|
59
|
+
msName: t,
|
|
60
|
+
monitorResult: e.picturePath || e.image || ""
|
|
61
|
+
};
|
|
62
|
+
}) : [], De = (e) => {
|
|
50
63
|
if (!e) return [];
|
|
51
|
-
|
|
52
|
-
try {
|
|
53
|
-
|
|
64
|
+
let t = e.picturePath || "", n = [];
|
|
65
|
+
if (typeof e.pestList == "string") try {
|
|
66
|
+
n = JSON.parse(e.pestList);
|
|
54
67
|
} catch {
|
|
55
68
|
return [];
|
|
56
69
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
impactRange: "-",
|
|
72
|
-
guidance: i.length ? i : void 0,
|
|
73
|
-
monitorResult: e.picturePath || ""
|
|
74
|
-
};
|
|
75
|
-
}) : [], Z = async () => {
|
|
76
|
-
let e = I.ids?.data;
|
|
77
|
-
if (!(!e?.id || !z.value)) {
|
|
78
|
-
R.value = !0;
|
|
70
|
+
else Array.isArray(e.pestList) && (n = e.pestList);
|
|
71
|
+
return n.map((e) => {
|
|
72
|
+
let n = Array.isArray(e.chyfList) ? e.chyfList : [], r = n.find((e) => e.bt === "形态特征"), i = n.find((e) => e.bt === "防治方法");
|
|
73
|
+
return {
|
|
74
|
+
name: e.pestName || "害虫",
|
|
75
|
+
image: e.picturePath || t || "",
|
|
76
|
+
feature: r?.nr || "暂无",
|
|
77
|
+
prevention: i?.nr || "暂无"
|
|
78
|
+
};
|
|
79
|
+
});
|
|
80
|
+
}, Z = async () => {
|
|
81
|
+
let e = F.ids?.data;
|
|
82
|
+
if (!(!e?.id || !R.value)) {
|
|
83
|
+
L.value = !0;
|
|
79
84
|
try {
|
|
80
|
-
let n =
|
|
85
|
+
let n = X(await t({
|
|
81
86
|
id: e.id,
|
|
82
|
-
baseHttp:
|
|
87
|
+
baseHttp: F.baseHttp,
|
|
83
88
|
reqType: e.reqType,
|
|
84
89
|
variables: {
|
|
85
|
-
|
|
86
|
-
startTime:
|
|
87
|
-
endTime:
|
|
90
|
+
msName: R.value,
|
|
91
|
+
startTime: we.value,
|
|
92
|
+
endTime: Te.value
|
|
88
93
|
},
|
|
89
94
|
isFormData: e.isFormData,
|
|
90
|
-
appKey:
|
|
91
|
-
appSalt:
|
|
95
|
+
appKey: F.appKey,
|
|
96
|
+
appSalt: F.appSalt
|
|
92
97
|
}));
|
|
93
|
-
|
|
98
|
+
z.value = Ee(Array.isArray(n) ? n : n?.data || []), console.log("HdInsectDetailList 加载成功", z.value);
|
|
94
99
|
} catch (e) {
|
|
95
|
-
console.error("HdInsectDetailList 加载失败", e),
|
|
100
|
+
console.error("HdInsectDetailList 加载失败", e), z.value = [];
|
|
96
101
|
} finally {
|
|
97
|
-
|
|
102
|
+
L.value = !1;
|
|
98
103
|
}
|
|
99
104
|
}
|
|
100
|
-
}, Oe = () => {
|
|
105
|
+
}, Oe = async (e) => {
|
|
106
|
+
let n = F.ids?.guidence;
|
|
107
|
+
if (!n?.id) {
|
|
108
|
+
console.warn("HdInsectDetailList 缺少指导意见工作流配置");
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
try {
|
|
112
|
+
let r = X(await t({
|
|
113
|
+
id: n.id,
|
|
114
|
+
baseHttp: F.baseHttp,
|
|
115
|
+
reqType: n.reqType,
|
|
116
|
+
variables: { msName: e.msName || e.stationName },
|
|
117
|
+
isFormData: n.isFormData,
|
|
118
|
+
appKey: F.appKey,
|
|
119
|
+
appSalt: F.appSalt
|
|
120
|
+
})), i = (Array.isArray(r) ? r : r?.data || [])[0] || {};
|
|
121
|
+
U.value = {
|
|
122
|
+
...e,
|
|
123
|
+
guidance: De(i)
|
|
124
|
+
};
|
|
125
|
+
} catch (t) {
|
|
126
|
+
console.error("HdInsectDetailList 指导意见加载失败", t), U.value = e;
|
|
127
|
+
}
|
|
128
|
+
}, Q = async (e) => {
|
|
129
|
+
H.value = 0, B.value = !0, await Oe(e);
|
|
130
|
+
}, ke = () => {
|
|
101
131
|
Z();
|
|
102
|
-
},
|
|
103
|
-
|
|
104
|
-
}, ke = (e) => {
|
|
105
|
-
W.value = e, U.value = 0, V.value = !0;
|
|
132
|
+
}, $ = () => {
|
|
133
|
+
I.value = !1, xe("close");
|
|
106
134
|
}, Ae = () => {
|
|
107
|
-
|
|
108
|
-
},
|
|
109
|
-
|
|
110
|
-
}, je = () => {
|
|
111
|
-
H.value = !1, W.value = null;
|
|
135
|
+
B.value = !1, U.value = null;
|
|
136
|
+
}, je = (e) => {
|
|
137
|
+
U.value = e, V.value = !0;
|
|
112
138
|
}, Me = () => {
|
|
139
|
+
V.value = !1, U.value = null;
|
|
140
|
+
}, Ne = () => {
|
|
113
141
|
let e = /* @__PURE__ */ new Date(), t = /* @__PURE__ */ new Date(e.getTime() - 10080 * 60 * 1e3);
|
|
114
|
-
|
|
115
|
-
},
|
|
116
|
-
e?.componentName === "HdInsectDetailList" && (
|
|
142
|
+
J.value = [q(new Date(t.setHours(0, 0, 0, 0))), q(new Date(e.setHours(23, 59, 59, 0)))];
|
|
143
|
+
}, Pe = (e) => {
|
|
144
|
+
e?.componentName === "HdInsectDetailList" && (R.value = e?.msName || e?.stationName || "", Y.value = e?.msName || "虫情监测详情", Ne(), I.value = !0, Z());
|
|
117
145
|
};
|
|
118
146
|
return _(() => {
|
|
119
|
-
|
|
147
|
+
Se?.on("toComponent", Pe);
|
|
120
148
|
}), (e, t) => {
|
|
121
149
|
let s = r, m = n, h = te, _ = ee, y = i;
|
|
122
150
|
return v(), u(a, null, [
|
|
123
|
-
(v(), c(o, { to: "body" }, [
|
|
151
|
+
(v(), c(o, { to: "body" }, [I.value ? (v(), u("div", se, [d("div", {
|
|
124
152
|
class: "HdInsectDetailList-mask",
|
|
125
|
-
onClick: ae(
|
|
153
|
+
onClick: ae($, ["self"])
|
|
126
154
|
}, [d("div", ce, [
|
|
127
|
-
d("div", le, [d("span", ue, b(
|
|
155
|
+
d("div", le, [d("span", ue, b(Y.value), 1), d("button", {
|
|
128
156
|
class: "HdInsectDetailList-close",
|
|
129
|
-
onClick:
|
|
157
|
+
onClick: $
|
|
130
158
|
}, [...t[1] ||= [d("span", null, "✕", -1)]])]),
|
|
131
159
|
d("div", de, [
|
|
132
160
|
t[2] ||= d("span", { class: "HdInsectDetailList-filterLabel" }, "时间选择", -1),
|
|
133
161
|
p(m, { locale: re(oe) }, {
|
|
134
162
|
default: x(() => [p(s, {
|
|
135
163
|
style: { width: "280px" },
|
|
136
|
-
modelValue:
|
|
137
|
-
"onUpdate:modelValue": t[0] ||= (e) =>
|
|
164
|
+
modelValue: J.value,
|
|
165
|
+
"onUpdate:modelValue": t[0] ||= (e) => J.value = e,
|
|
138
166
|
type: "datetimerange",
|
|
139
167
|
clearable: !1,
|
|
140
168
|
"range-separator": "至",
|
|
@@ -150,11 +178,11 @@ var se = {
|
|
|
150
178
|
}, 8, ["locale"]),
|
|
151
179
|
d("button", {
|
|
152
180
|
class: "HdInsectDetailList-queryBtn",
|
|
153
|
-
onClick:
|
|
181
|
+
onClick: ke
|
|
154
182
|
}, "查询")
|
|
155
183
|
]),
|
|
156
184
|
ie((v(), u("div", fe, [p(_, {
|
|
157
|
-
data:
|
|
185
|
+
data: z.value,
|
|
158
186
|
class: "HdInsectDetailList-table",
|
|
159
187
|
size: "small",
|
|
160
188
|
border: !1,
|
|
@@ -211,10 +239,10 @@ var se = {
|
|
|
211
239
|
width: "80",
|
|
212
240
|
align: "center"
|
|
213
241
|
}, {
|
|
214
|
-
default: x(({ row: e }) => [e.
|
|
242
|
+
default: x(({ row: e }) => [e.warningStatus === "有" ? (v(), u("span", {
|
|
215
243
|
key: 0,
|
|
216
244
|
class: "HdInsectDetailList-link",
|
|
217
|
-
onClick: (t) =>
|
|
245
|
+
onClick: (t) => Q(e)
|
|
218
246
|
}, "指导意见", 8, pe)) : (v(), u("span", me, "-"))]),
|
|
219
247
|
_: 1
|
|
220
248
|
}),
|
|
@@ -225,43 +253,43 @@ var se = {
|
|
|
225
253
|
}, {
|
|
226
254
|
default: x(({ row: e }) => [d("span", {
|
|
227
255
|
class: "HdInsectDetailList-link",
|
|
228
|
-
onClick: (t) =>
|
|
256
|
+
onClick: (t) => je(e)
|
|
229
257
|
}, "查看详情", 8, he)]),
|
|
230
258
|
_: 1
|
|
231
259
|
})
|
|
232
260
|
]),
|
|
233
261
|
_: 1
|
|
234
|
-
}, 8, ["data"])])), [[y,
|
|
262
|
+
}, 8, ["data"])])), [[y, L.value]])
|
|
235
263
|
])])])) : l("", !0)])),
|
|
236
|
-
(v(), c(o, { to: "body" }, [
|
|
264
|
+
(v(), c(o, { to: "body" }, [B.value ? (v(), u("div", ge, [d("div", _e, [
|
|
237
265
|
d("div", { class: "HdInsectDetailList-header" }, [t[4] ||= d("span", { class: "HdInsectDetailList-title" }, "指导意见", -1), d("button", {
|
|
238
266
|
class: "HdInsectDetailList-close",
|
|
239
267
|
onClick: Ae
|
|
240
268
|
}, [...t[3] ||= [d("span", null, "✕", -1)]])]),
|
|
241
|
-
|
|
269
|
+
W.value.length > 1 ? (v(), u("div", ve, [(v(!0), u(a, null, ne(W.value, (e, t) => (v(), u("button", {
|
|
242
270
|
key: t,
|
|
243
|
-
class: g(["HdInsectDetailList-tab", { "HdInsectDetailList-tab--active":
|
|
244
|
-
onClick: (e) =>
|
|
245
|
-
}, b(e.name), 11,
|
|
246
|
-
|
|
247
|
-
src:
|
|
271
|
+
class: g(["HdInsectDetailList-tab", { "HdInsectDetailList-tab--active": H.value === t }]),
|
|
272
|
+
onClick: (e) => H.value = t
|
|
273
|
+
}, b(e.name), 11, ye))), 128))])) : l("", !0),
|
|
274
|
+
G.value ? (v(), u("div", S, [d("div", C, [t[5] ||= d("div", { class: "HdInsectDetailList-sectionTitle" }, [d("i", { class: "HdInsectDetailList-sectionIcon" }), f(" 形态特征 ")], -1), d("div", w, [d("div", T, [d("img", {
|
|
275
|
+
src: G.value.image,
|
|
248
276
|
alt: ""
|
|
249
|
-
}, null, 8,
|
|
277
|
+
}, null, 8, E)]), d("div", D, b(G.value.feature), 1)])]), d("div", O, [t[6] ||= d("div", { class: "HdInsectDetailList-sectionTitle" }, [d("i", { class: "HdInsectDetailList-sectionIcon" }), f(" 防治方法 ")], -1), d("div", k, b(G.value.prevention), 1)])])) : l("", !0)
|
|
250
278
|
])])) : l("", !0)])),
|
|
251
|
-
(v(), c(o, { to: "body" }, [
|
|
279
|
+
(v(), c(o, { to: "body" }, [V.value ? (v(), u("div", A, [d("div", j, [
|
|
252
280
|
d("div", { class: "HdInsectDetailList-header" }, [t[8] ||= d("span", { class: "HdInsectDetailList-title" }, "监测结果详情", -1), d("button", {
|
|
253
281
|
class: "HdInsectDetailList-close",
|
|
254
|
-
onClick:
|
|
282
|
+
onClick: Me
|
|
255
283
|
}, [...t[7] ||= [d("span", null, "✕", -1)]])]),
|
|
256
|
-
d("div",
|
|
257
|
-
d("div",
|
|
258
|
-
src:
|
|
284
|
+
d("div", M, [d("span", { class: g(["HdInsectDetailList-detailTag", { "HdInsectDetailList-detailTag--warning": U.value?.warningStatus === "有" }]) }, b(U.value?.warningStatus === "有" ? "有预警" : "无预警"), 3), d("span", N, b(U.value?.monitorTime), 1)]),
|
|
285
|
+
d("div", P, [d("img", {
|
|
286
|
+
src: U.value?.monitorResult,
|
|
259
287
|
alt: "监测结果"
|
|
260
|
-
}, null, 8,
|
|
288
|
+
}, null, 8, be)])
|
|
261
289
|
])])) : l("", !0)]))
|
|
262
290
|
], 64);
|
|
263
291
|
};
|
|
264
292
|
}
|
|
265
|
-
}), [["__scopeId", "data-v-
|
|
293
|
+
}), [["__scopeId", "data-v-52facb10"]]);
|
|
266
294
|
//#endregion
|
|
267
|
-
export {
|
|
295
|
+
export { F as t };
|