nxd-plugin 1.7.97 → 1.7.99
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-CMbG8e28.mjs → component-AiChat-B2YoRfzz.mjs} +1 -1
- package/dist/chunks/{component-AqiMonitor-CVb99opd.mjs → component-AqiMonitor-DWhSDKFM.mjs} +1 -1
- package/dist/chunks/{component-ChartCumulativePre-DbbqXqZE.mjs → component-ChartCumulativePre-CYVahvTN.mjs} +2 -2
- package/dist/chunks/{component-ChartServiceMaterial-hU5a_G6w.mjs → component-ChartServiceMaterial-CbiB7503.mjs} +2 -2
- package/dist/chunks/{component-Duty-BCW6ohuO.mjs → component-Duty-CxH58EY9.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic-DSp82HGZ.mjs → component-EarlyWarningStatistic-BsgcJent.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic2-DmHCmtaq.mjs → component-EarlyWarningStatistic2-CEnr2SX2.mjs} +2 -2
- package/dist/chunks/component-Forecast72h-6g0PcT0B.mjs +539 -0
- package/dist/chunks/{component-GeologyLiveAlarm-0P99V7KX.mjs → component-GeologyLiveAlarm-CzEt43gy.mjs} +2 -2
- package/dist/chunks/component-GridForecastMsg-B1CCDv2Y.mjs +203 -0
- package/dist/chunks/{component-HDSeaLegend-BSGtGcnh.mjs → component-HDSeaLegend-B2xekirw.mjs} +1 -1
- package/dist/chunks/component-HdCameraList-CEOhupnQ.mjs +393 -0
- package/dist/chunks/{component-HdForecastProducts-_2ttNo-z.mjs → component-HdForecastProducts-DaeNeMiI.mjs} +2 -2
- package/dist/chunks/component-HdHeatChart-DiG-hplN.mjs +372 -0
- package/dist/chunks/component-HdHeatChartDialog-C1tPPcVw.mjs +590 -0
- package/dist/chunks/component-HdHeatService-UxyMUQp4.mjs +480 -0
- package/dist/chunks/component-HdInsectDetailList-BiVgf4Nc.mjs +266 -0
- package/dist/chunks/component-HdInsectList-CToVsJiF.mjs +328 -0
- package/dist/chunks/{component-HdObservation-DV1mfQsB.mjs → component-HdObservation-BV5jDCZt.mjs} +44 -45
- package/dist/chunks/{component-HdPreSituation-DY6gsT_y.mjs → component-HdPreSituation-DY4j43V7.mjs} +6 -6
- package/dist/chunks/component-HdQxServiceEffects-DM-KlAru.mjs +262 -0
- package/dist/chunks/{component-HdRadarList-BQ1MH8GG.mjs → component-HdRadarList-BdXRt42m.mjs} +3 -3
- package/dist/chunks/{component-HdRadarTime-D7ySMzpg.mjs → component-HdRadarTime-OAbsHPlS.mjs} +2 -2
- package/dist/chunks/component-HdRisk-tQq0onmA.mjs +236 -0
- package/dist/chunks/component-HdSeaCase-DoWAhrNy.mjs +239 -0
- package/dist/chunks/{component-HdServiceMarterial-BgIt-ELd.mjs → component-HdServiceMarterial-nCfTCfyI.mjs} +77 -77
- package/dist/chunks/{component-HdServiceRequirements-B83V-lQN.mjs → component-HdServiceRequirements-S9zSof01.mjs} +45 -45
- package/dist/chunks/component-HdSoil-tr6IWswf.mjs +350 -0
- package/dist/chunks/component-HdSoilDetailList-DG-TzCl0.mjs +402 -0
- package/dist/chunks/{component-HdStationTem-DdMSzVEC.mjs → component-HdStationTem-DrPBR7fV.mjs} +77 -78
- package/dist/chunks/{component-HdSuggestion-CrvAGw81.mjs → component-HdSuggestion-DQO0InyO.mjs} +3 -3
- package/dist/chunks/component-HdThreeWeatherTrend-CElSAKJs.mjs +333 -0
- package/dist/chunks/component-HdWaveForcast-D3Hm8Dg3.mjs +241 -0
- package/dist/chunks/{component-HighQuality-Bsqgp8R-.mjs → component-HighQuality-C_W_iOrU.mjs} +7 -7
- package/dist/chunks/{component-HighWayEarlyWarningRed-D0uKUK3B.mjs → component-HighWayEarlyWarningRed-D5iSGN5l.mjs} +2 -2
- package/dist/chunks/{component-HighWayFreeze-sGJddgnr.mjs → component-HighWayFreeze-B9v5Z9Yd.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarm-Wm2rCVBb.mjs → component-HighwayLiveAlarm-DjcOZUJv.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarmNew-YjS0FM1d.mjs → component-HighwayLiveAlarmNew-C35RKvL1.mjs} +3 -3
- package/dist/chunks/{component-HighwayStations-DRfDmHmK.mjs → component-HighwayStations-U_rU4hJi.mjs} +2 -2
- package/dist/chunks/{component-HighwayWeatherForecast-Cp50--Dj.mjs → component-HighwayWeatherForecast-BD547juJ.mjs} +4 -4
- package/dist/chunks/{component-IframeWeb-HpaTePnW.mjs → component-IframeWeb-DMn6K9zk.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-zj2WbvzB.mjs → component-ImageGeneration-BFSnXOdZ.mjs} +2 -2
- package/dist/chunks/{component-IntroducePic-BxDMkIyJ.mjs → component-IntroducePic-BmvED_mB.mjs} +2 -2
- package/dist/chunks/{component-LithiumBatteryMiningArea-BC05EqiO.mjs → component-LithiumBatteryMiningArea-BM_8uVPy.mjs} +2 -2
- package/dist/chunks/{component-MapPopup-DYsV0ICP.mjs → component-MapPopup-CRQjbIZT.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-DJhj0Gh9.mjs → component-MaterialPreview-Dmg4LG8h.mjs} +2 -2
- package/dist/chunks/{component-PieLegend-BsDM9oA_.mjs → component-PieLegend-B90e9FMW.mjs} +1 -1
- package/dist/chunks/{component-PrecipitationRanking-B7gEEuCe.mjs → component-PrecipitationRanking-BamBChop.mjs} +9 -9
- package/dist/chunks/{component-RadarChart-V_2K97Yw.mjs → component-RadarChart-DrQnSK2_.mjs} +2 -2
- package/dist/chunks/{component-RadarLegend-DwjhHZ-N.mjs → component-RadarLegend-UaQXwEdl.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-aF13_Zcy.mjs → component-RadarShortTerm-B6DiXwjj.mjs} +4 -4
- package/dist/chunks/{component-RadarTime-ZN7o47Mu.mjs → component-RadarTime-CrWj-oVD.mjs} +2 -2
- package/dist/chunks/{component-RenderMarkdown-BX-kHqL2.mjs → component-RenderMarkdown-CSoLEsFv.mjs} +2 -2
- package/dist/chunks/{component-ReservoirLiveAlarm-WVVwwKYZ.mjs → component-ReservoirLiveAlarm-CJUDC3QW.mjs} +3 -3
- package/dist/chunks/{component-ServiceMaterial-9imbipjj.mjs → component-ServiceMaterial-DR7imvMZ.mjs} +2 -2
- package/dist/chunks/{component-ServiceMaterialsBtn-693xq1p7.mjs → component-ServiceMaterialsBtn-BWxBKKWn.mjs} +1 -1
- package/dist/chunks/{component-StationDialog-C859f8A-.mjs → component-StationDialog-2KObsuJ8.mjs} +4 -4
- package/dist/chunks/{component-StationList-BQHnyqox.mjs → component-StationList-CJ7XHlZl.mjs} +10 -14
- package/dist/chunks/{component-TimeBasedForecast-DH-OHwXc.mjs → component-TimeBasedForecast-B2ewC_QX.mjs} +4 -4
- package/dist/chunks/{component-Typhoon-C6jT8EFX.mjs → component-Typhoon-BQQCoEbU.mjs} +2 -2
- package/dist/chunks/{component-WarningLine-D3aVWmUZ.mjs → component-WarningLine-9Y5OJRig.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-CEe242B5.mjs → component-WarningSignal-uXiAUGTl.mjs} +3 -3
- package/dist/chunks/{component-WeatherForecast-BfqfB6UO.mjs → component-WeatherForecast-BIeLjzMw.mjs} +4 -4
- package/dist/chunks/{component-YCDataMonitor-DROgvkZ-.mjs → component-YCDataMonitor-D8jFTVaA.mjs} +2 -2
- package/dist/chunks/{component-YCDataService-BM5kQwax.mjs → component-YCDataService--R26h5UL.mjs} +4 -4
- package/dist/chunks/{component-YCHighWaySummary-Bh0IXiDd.mjs → component-YCHighWaySummary-CeYp4g4j.mjs} +2 -2
- package/dist/chunks/{component-YCHome-DwYK1Re4.mjs → component-YCHome-DQSDzxCG.mjs} +4 -4
- package/dist/chunks/{component-YCHomeLegend-BadxwkzL.mjs → component-YCHomeLegend-DiFftuY3.mjs} +1 -1
- package/dist/chunks/{component-YCLoginNew-D5u2lDWS.mjs → component-YCLoginNew-CFJSyKfV.mjs} +3 -3
- package/dist/components/Forecast72h/Forecast72h.vue.d.ts +2 -23
- package/dist/components/GridForecastMsg/GridForecastMsg.vue.d.ts +24 -0
- package/dist/components/HdCameraList/HdCameraList.vue.d.ts +6 -0
- package/dist/components/HdHeatChart/HdHeatChart.vue.d.ts +44 -0
- package/dist/components/HdHeatChart/mockData.d.ts +12 -0
- package/dist/components/HdHeatChartDialog/HdHeatChartDialog.vue.d.ts +52 -0
- package/dist/components/HdHeatChartDialog/mockData.d.ts +23 -0
- package/dist/components/HdHeatService/HdHeatService.vue.d.ts +8 -20
- package/dist/components/HdInsectDetailList/HdInsectDetailList.vue.d.ts +22 -0
- package/dist/components/HdInsectList/HdInsectList.vue.d.ts +57 -0
- package/dist/components/HdRisk/HdRisk.vue.d.ts +61 -0
- package/dist/components/HdSeaCase/HdSeaCase.vue.d.ts +4 -24
- package/dist/components/HdSoil/HdSoil.vue.d.ts +55 -0
- package/dist/components/HdSoilDetailList/HdSoilDetailList.vue.d.ts +30 -0
- package/dist/components/HdThreeWeatherTrend/HdThreeWeatherTrend.vue.d.ts +2 -20
- package/dist/components/HdWaveForcast/HdWaveForcast.vue.d.ts +4 -20
- package/dist/components/StationList/StationList.vue.d.ts +2 -2
- package/dist/index.d.ts +9 -1
- package/dist/nxd-plugin.mjs +70 -61
- package/dist/styles/component-Forecast72h.css +1 -1
- package/dist/styles/component-GridForecastMsg.css +1 -0
- package/dist/styles/component-HDSeaLegend.css +1 -1
- package/dist/styles/component-HdCameraList.css +1 -1
- package/dist/styles/component-HdForecastProducts.css +1 -1
- package/dist/styles/component-HdHeatChart.css +1 -0
- package/dist/styles/component-HdHeatChartDialog.css +1 -0
- package/dist/styles/component-HdHeatService.css +1 -1
- package/dist/styles/component-HdInsectDetailList.css +1 -0
- package/dist/styles/component-HdInsectList.css +1 -0
- package/dist/styles/component-HdObservation.css +1 -1
- package/dist/styles/component-HdPreSituation.css +1 -1
- package/dist/styles/component-HdQxServiceEffects.css +1 -0
- package/dist/styles/component-HdRadarList.css +1 -1
- package/dist/styles/component-HdRisk.css +1 -0
- package/dist/styles/component-HdSeaCase.css +1 -1
- package/dist/styles/component-HdServiceMarterial.css +1 -1
- package/dist/styles/component-HdServiceRequirements.css +1 -1
- package/dist/styles/component-HdSoil.css +1 -0
- package/dist/styles/component-HdSoilDetailList.css +1 -0
- package/dist/styles/component-HdStationTem.css +1 -1
- package/dist/styles/component-HdSuggestion.css +1 -1
- package/dist/styles/component-HdThreeWeatherTrend.css +1 -1
- package/dist/styles/component-HdWaveForcast.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-YCLoginNew.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/component-Forecast72h-hi7bHW_J.mjs +0 -543
- package/dist/chunks/component-HdCameraList-Cz1OYJEN.mjs +0 -332
- package/dist/chunks/component-HdHeatService-BKK-w3Xc.mjs +0 -412
- package/dist/chunks/component-HdSeaCase-wnGV704s.mjs +0 -219
- package/dist/chunks/component-HdThreeWeatherTrend-Deliswz6.mjs +0 -394
- package/dist/chunks/component-HdWaveForcast-CL4Ghg7T.mjs +0 -271
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-DWhSDKFM.mjs";
|
|
2
|
+
import { r as t } from "./component-AiChat-B2YoRfzz.mjs";
|
|
3
|
+
import { ElConfigProvider as n, ElDatePicker as r, ElLoadingDirective as i, ElTable as ee, ElTableColumn as te } from "element-plus/es";
|
|
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
|
+
import "element-plus/dist/index.css";
|
|
6
|
+
import oe from "element-plus/es/locale/lang/zh-cn.mjs";
|
|
7
|
+
//#region src/components/HdInsectDetailList/HdInsectDetailList.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
+
var se = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "HdInsectDetailList"
|
|
11
|
+
}, ce = { class: "HdInsectDetailList-panel" }, le = { class: "HdInsectDetailList-header" }, ue = { class: "HdInsectDetailList-title" }, de = { class: "HdInsectDetailList-filter" }, fe = {
|
|
12
|
+
"element-loading-background": "rgba(0, 0, 0, 0.6)",
|
|
13
|
+
class: "HdInsectDetailList-body"
|
|
14
|
+
}, pe = ["onClick"], me = { key: 1 }, he = ["onClick"], ge = {
|
|
15
|
+
key: 0,
|
|
16
|
+
class: "HdInsectDetailList-modal"
|
|
17
|
+
}, _e = { class: "HdInsectDetailList-subPanel HdInsectDetailList-subPanel--guidance" }, ve = {
|
|
18
|
+
key: 0,
|
|
19
|
+
class: "HdInsectDetailList-tabs"
|
|
20
|
+
}, S = ["onClick"], C = {
|
|
21
|
+
key: 1,
|
|
22
|
+
class: "HdInsectDetailList-guidanceBody"
|
|
23
|
+
}, w = { class: "HdInsectDetailList-section" }, T = { class: "HdInsectDetailList-feature" }, E = { class: "HdInsectDetailList-featureImage" }, D = ["src"], O = { class: "HdInsectDetailList-featureText" }, k = { class: "HdInsectDetailList-section" }, A = { class: "HdInsectDetailList-prevention" }, j = {
|
|
24
|
+
key: 0,
|
|
25
|
+
class: "HdInsectDetailList-modal"
|
|
26
|
+
}, M = { class: "HdInsectDetailList-subPanel HdInsectDetailList-subPanel--detail" }, N = { class: "HdInsectDetailList-detailHead" }, P = { class: "HdInsectDetailList-detailTime" }, F = { class: "HdInsectDetailList-detailImage" }, ye = ["src"], I = /* @__PURE__ */ e(/* @__PURE__ */ m({
|
|
27
|
+
__name: "HdInsectDetailList",
|
|
28
|
+
props: {
|
|
29
|
+
baseHttp: { default: "" },
|
|
30
|
+
appKey: { default: "" },
|
|
31
|
+
appSalt: { default: "" },
|
|
32
|
+
ids: { default: () => ({ data: {
|
|
33
|
+
id: "449796398069526528",
|
|
34
|
+
reqType: "post",
|
|
35
|
+
isFormData: !1
|
|
36
|
+
} }) }
|
|
37
|
+
},
|
|
38
|
+
emits: ["close"],
|
|
39
|
+
setup(e, { emit: m }) {
|
|
40
|
+
let I = e, be = m, xe = h()?.appContext.config.globalProperties.$bus, L = y(!1), R = y(!1), z = y(""), B = y([]), V = y(!1), H = y(!1), U = y(0), W = y(null), G = s(() => W.value?.guidance || []), K = s(() => G.value[U.value]), q = /* @__PURE__ */ new Date(), Se = /* @__PURE__ */ new Date(q.getTime() - 10080 * 60 * 1e3), J = (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")}`, Y = y([J(new Date(Se.setHours(0, 0, 0, 0))), J(new Date(q.setHours(23, 59, 59, 0)))]), Ce = s(() => Y.value?.[0] || ""), we = s(() => Y.value?.[1] || ""), X = y("虫情监测详情"), Te = (e) => {
|
|
41
|
+
if (!e) return null;
|
|
42
|
+
let t = null;
|
|
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 {
|
|
44
|
+
t = JSON.parse(t);
|
|
45
|
+
} catch (e) {
|
|
46
|
+
console.warn("HdInsectDetailList 接口返回非 JSON 字符串", e);
|
|
47
|
+
}
|
|
48
|
+
return t;
|
|
49
|
+
}, Ee = (e) => {
|
|
50
|
+
if (!e) return [];
|
|
51
|
+
if (Array.isArray(e)) return e;
|
|
52
|
+
try {
|
|
53
|
+
return JSON.parse(e);
|
|
54
|
+
} catch {
|
|
55
|
+
return [];
|
|
56
|
+
}
|
|
57
|
+
}, De = (e) => Array.isArray(e) ? e.map((e) => {
|
|
58
|
+
let t = Ee(e.pestsList), n = t.length > 0, r = t.map((e) => e.name || "").filter(Boolean), i = t.filter((e) => e.feature || e.preventionControl).map((e) => ({
|
|
59
|
+
name: e.name || "",
|
|
60
|
+
image: e.images || "",
|
|
61
|
+
feature: e.feature || e.remarks || "",
|
|
62
|
+
prevention: e.preventionControl || ""
|
|
63
|
+
}));
|
|
64
|
+
return {
|
|
65
|
+
id: e.id || e.msCode || "",
|
|
66
|
+
stationName: e.msName || "",
|
|
67
|
+
monitorTime: e.dateTime || e.pictureTime || "",
|
|
68
|
+
warningStatus: n ? "有" : "无",
|
|
69
|
+
warningValue: r.join(",") || "无",
|
|
70
|
+
impactLevel: "-",
|
|
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;
|
|
79
|
+
try {
|
|
80
|
+
let n = Te(await t({
|
|
81
|
+
id: e.id,
|
|
82
|
+
baseHttp: I.baseHttp,
|
|
83
|
+
reqType: e.reqType,
|
|
84
|
+
variables: {
|
|
85
|
+
msCode: z.value,
|
|
86
|
+
startTime: Ce.value,
|
|
87
|
+
endTime: we.value
|
|
88
|
+
},
|
|
89
|
+
isFormData: e.isFormData,
|
|
90
|
+
appKey: I.appKey,
|
|
91
|
+
appSalt: I.appSalt
|
|
92
|
+
}));
|
|
93
|
+
B.value = De(Array.isArray(n) ? n : n?.data || []), console.log("HdInsectDetailList 加载成功", B.value);
|
|
94
|
+
} catch (e) {
|
|
95
|
+
console.error("HdInsectDetailList 加载失败", e), B.value = [];
|
|
96
|
+
} finally {
|
|
97
|
+
R.value = !1;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}, Oe = () => {
|
|
101
|
+
Z();
|
|
102
|
+
}, Q = () => {
|
|
103
|
+
L.value = !1, be("close");
|
|
104
|
+
}, ke = (e) => {
|
|
105
|
+
W.value = e, U.value = 0, V.value = !0;
|
|
106
|
+
}, Ae = () => {
|
|
107
|
+
V.value = !1, W.value = null;
|
|
108
|
+
}, $ = (e) => {
|
|
109
|
+
W.value = e, H.value = !0;
|
|
110
|
+
}, je = () => {
|
|
111
|
+
H.value = !1, W.value = null;
|
|
112
|
+
}, Me = () => {
|
|
113
|
+
let e = /* @__PURE__ */ new Date(), t = /* @__PURE__ */ new Date(e.getTime() - 10080 * 60 * 1e3);
|
|
114
|
+
Y.value = [J(new Date(t.setHours(0, 0, 0, 0))), J(new Date(e.setHours(23, 59, 59, 0)))];
|
|
115
|
+
}, Ne = (e) => {
|
|
116
|
+
e?.componentName === "HdInsectDetailList" && (z.value = e?.msCode || "", X.value = e?.msName || "虫情监测详情", Me(), L.value = !0, Z());
|
|
117
|
+
};
|
|
118
|
+
return _(() => {
|
|
119
|
+
xe?.on("toComponent", Ne);
|
|
120
|
+
}), (e, t) => {
|
|
121
|
+
let s = r, m = n, h = te, _ = ee, y = i;
|
|
122
|
+
return v(), u(a, null, [
|
|
123
|
+
(v(), c(o, { to: "body" }, [L.value ? (v(), u("div", se, [d("div", {
|
|
124
|
+
class: "HdInsectDetailList-mask",
|
|
125
|
+
onClick: ae(Q, ["self"])
|
|
126
|
+
}, [d("div", ce, [
|
|
127
|
+
d("div", le, [d("span", ue, b(X.value), 1), d("button", {
|
|
128
|
+
class: "HdInsectDetailList-close",
|
|
129
|
+
onClick: Q
|
|
130
|
+
}, [...t[1] ||= [d("span", null, "✕", -1)]])]),
|
|
131
|
+
d("div", de, [
|
|
132
|
+
t[2] ||= d("span", { class: "HdInsectDetailList-filterLabel" }, "时间选择", -1),
|
|
133
|
+
p(m, { locale: re(oe) }, {
|
|
134
|
+
default: x(() => [p(s, {
|
|
135
|
+
style: { width: "280px" },
|
|
136
|
+
modelValue: Y.value,
|
|
137
|
+
"onUpdate:modelValue": t[0] ||= (e) => Y.value = e,
|
|
138
|
+
type: "datetimerange",
|
|
139
|
+
clearable: !1,
|
|
140
|
+
"range-separator": "至",
|
|
141
|
+
"start-placeholder": "开始时间",
|
|
142
|
+
"end-placeholder": "结束时间",
|
|
143
|
+
"value-format": "YYYY-MM-DD HH:mm:ss",
|
|
144
|
+
format: "YYYY-MM-DD HH:mm:ss",
|
|
145
|
+
"default-time": [new Date(2e3, 0, 1, 0, 0, 0), new Date(2e3, 0, 1, 23, 59, 59)],
|
|
146
|
+
"popper-class": "HdInsectDetailList-datePopper",
|
|
147
|
+
class: "HdInsectDetailList-datePicker"
|
|
148
|
+
}, null, 8, ["modelValue", "default-time"])]),
|
|
149
|
+
_: 1
|
|
150
|
+
}, 8, ["locale"]),
|
|
151
|
+
d("button", {
|
|
152
|
+
class: "HdInsectDetailList-queryBtn",
|
|
153
|
+
onClick: Oe
|
|
154
|
+
}, "查询")
|
|
155
|
+
]),
|
|
156
|
+
ie((v(), u("div", fe, [p(_, {
|
|
157
|
+
data: B.value,
|
|
158
|
+
class: "HdInsectDetailList-table",
|
|
159
|
+
size: "small",
|
|
160
|
+
border: !1,
|
|
161
|
+
"max-height": "60vh",
|
|
162
|
+
style: { width: "100%" }
|
|
163
|
+
}, {
|
|
164
|
+
default: x(() => [
|
|
165
|
+
p(h, {
|
|
166
|
+
type: "index",
|
|
167
|
+
label: "序号",
|
|
168
|
+
width: "56",
|
|
169
|
+
align: "center"
|
|
170
|
+
}),
|
|
171
|
+
p(h, {
|
|
172
|
+
prop: "monitorTime",
|
|
173
|
+
label: "监测时间",
|
|
174
|
+
width: "150",
|
|
175
|
+
align: "center"
|
|
176
|
+
}),
|
|
177
|
+
p(h, {
|
|
178
|
+
label: "预警情况",
|
|
179
|
+
width: "80",
|
|
180
|
+
align: "center"
|
|
181
|
+
}, {
|
|
182
|
+
default: x(({ row: e }) => [d("span", { class: g({ "HdInsectDetailList-warning": e.warningStatus === "有" }) }, b(e.warningStatus), 3)]),
|
|
183
|
+
_: 1
|
|
184
|
+
}),
|
|
185
|
+
p(h, {
|
|
186
|
+
prop: "warningValue",
|
|
187
|
+
label: "预警值",
|
|
188
|
+
"min-width": "120",
|
|
189
|
+
align: "center",
|
|
190
|
+
"show-overflow-tooltip": ""
|
|
191
|
+
}, {
|
|
192
|
+
default: x(({ row: e }) => [d("span", { class: g({ "HdInsectDetailList-warning": e.warningStatus === "有" }) }, b(e.warningValue), 3)]),
|
|
193
|
+
_: 1
|
|
194
|
+
}),
|
|
195
|
+
p(h, {
|
|
196
|
+
prop: "impactLevel",
|
|
197
|
+
label: "影响程度",
|
|
198
|
+
width: "80",
|
|
199
|
+
align: "center"
|
|
200
|
+
}),
|
|
201
|
+
p(h, {
|
|
202
|
+
prop: "impactRange",
|
|
203
|
+
label: "影响范围",
|
|
204
|
+
"min-width": "120",
|
|
205
|
+
align: "center",
|
|
206
|
+
"show-overflow-tooltip": ""
|
|
207
|
+
}),
|
|
208
|
+
p(h, {
|
|
209
|
+
label: "指导意见",
|
|
210
|
+
width: "80",
|
|
211
|
+
align: "center"
|
|
212
|
+
}, {
|
|
213
|
+
default: x(({ row: e }) => [e.guidance && e.guidance.length ? (v(), u("span", {
|
|
214
|
+
key: 0,
|
|
215
|
+
class: "HdInsectDetailList-link",
|
|
216
|
+
onClick: (t) => ke(e)
|
|
217
|
+
}, "指导意见", 8, pe)) : (v(), u("span", me, "-"))]),
|
|
218
|
+
_: 1
|
|
219
|
+
}),
|
|
220
|
+
p(h, {
|
|
221
|
+
label: "监测结果",
|
|
222
|
+
width: "80",
|
|
223
|
+
align: "center"
|
|
224
|
+
}, {
|
|
225
|
+
default: x(({ row: e }) => [d("span", {
|
|
226
|
+
class: "HdInsectDetailList-link",
|
|
227
|
+
onClick: (t) => $(e)
|
|
228
|
+
}, "查看详情", 8, he)]),
|
|
229
|
+
_: 1
|
|
230
|
+
})
|
|
231
|
+
]),
|
|
232
|
+
_: 1
|
|
233
|
+
}, 8, ["data"])])), [[y, R.value]])
|
|
234
|
+
])])])) : l("", !0)])),
|
|
235
|
+
(v(), c(o, { to: "body" }, [V.value ? (v(), u("div", ge, [d("div", _e, [
|
|
236
|
+
d("div", { class: "HdInsectDetailList-header" }, [t[4] ||= d("span", { class: "HdInsectDetailList-title" }, "指导意见", -1), d("button", {
|
|
237
|
+
class: "HdInsectDetailList-close",
|
|
238
|
+
onClick: Ae
|
|
239
|
+
}, [...t[3] ||= [d("span", null, "✕", -1)]])]),
|
|
240
|
+
G.value.length > 1 ? (v(), u("div", ve, [(v(!0), u(a, null, ne(G.value, (e, t) => (v(), u("button", {
|
|
241
|
+
key: t,
|
|
242
|
+
class: g(["HdInsectDetailList-tab", { "HdInsectDetailList-tab--active": U.value === t }]),
|
|
243
|
+
onClick: (e) => U.value = t
|
|
244
|
+
}, b(e.name), 11, S))), 128))])) : l("", !0),
|
|
245
|
+
K.value ? (v(), u("div", C, [d("div", w, [t[5] ||= d("div", { class: "HdInsectDetailList-sectionTitle" }, [d("i", { class: "HdInsectDetailList-sectionIcon" }), f(" 形态特征 ")], -1), d("div", T, [d("div", E, [d("img", {
|
|
246
|
+
src: K.value.image,
|
|
247
|
+
alt: ""
|
|
248
|
+
}, null, 8, D)]), d("div", O, b(K.value.feature), 1)])]), d("div", k, [t[6] ||= d("div", { class: "HdInsectDetailList-sectionTitle" }, [d("i", { class: "HdInsectDetailList-sectionIcon" }), f(" 防治方法 ")], -1), d("div", A, b(K.value.prevention), 1)])])) : l("", !0)
|
|
249
|
+
])])) : l("", !0)])),
|
|
250
|
+
(v(), c(o, { to: "body" }, [H.value ? (v(), u("div", j, [d("div", M, [
|
|
251
|
+
d("div", { class: "HdInsectDetailList-header" }, [t[8] ||= d("span", { class: "HdInsectDetailList-title" }, "监测结果详情", -1), d("button", {
|
|
252
|
+
class: "HdInsectDetailList-close",
|
|
253
|
+
onClick: je
|
|
254
|
+
}, [...t[7] ||= [d("span", null, "✕", -1)]])]),
|
|
255
|
+
d("div", N, [d("span", { class: g(["HdInsectDetailList-detailTag", { "HdInsectDetailList-detailTag--warning": W.value?.warningStatus === "有" }]) }, b(W.value?.warningStatus === "有" ? "有预警" : "无预警"), 3), d("span", P, b(W.value?.monitorTime), 1)]),
|
|
256
|
+
d("div", F, [d("img", {
|
|
257
|
+
src: W.value?.monitorResult,
|
|
258
|
+
alt: "监测结果"
|
|
259
|
+
}, null, 8, ye)])
|
|
260
|
+
])])) : l("", !0)]))
|
|
261
|
+
], 64);
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
}), [["__scopeId", "data-v-4907945d"]]);
|
|
265
|
+
//#endregion
|
|
266
|
+
export { I as t };
|