nxd-plugin 1.8.22 → 1.8.23
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/YCServiceSummary-D9qP6hLO.mjs +2 -0
- package/dist/chunks/{component-AiChat-AMGDZOnM.mjs → component-AiChat-BwP3zj0h.mjs} +637 -354
- package/dist/chunks/{component-AqiMonitor-CbRqtu9p.mjs → component-AqiMonitor-Cga2wb4h.mjs} +27 -31
- package/dist/chunks/{component-ChartCumulativePre-BTqI2llc.mjs → component-ChartCumulativePre-CkQrY-fM.mjs} +2 -2
- package/dist/chunks/{component-ChartServiceMaterial-B09CYvj1.mjs → component-ChartServiceMaterial-BSfXMgj4.mjs} +2 -2
- package/dist/chunks/{component-Duty-B_xLIwLc.mjs → component-Duty-DLMdCDNu.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic-CuEZKyRd.mjs → component-EarlyWarningStatistic-CHCmDM5w.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic2-CwxVVXDz.mjs → component-EarlyWarningStatistic2-D_Uc9rbm.mjs} +2 -2
- package/dist/chunks/{component-Forecast72h-DWuJmxhN.mjs → component-Forecast72h-CwDS2BCV.mjs} +91 -92
- package/dist/chunks/{component-GeologyLiveAlarm-D0Qp3NkC.mjs → component-GeologyLiveAlarm-TXjC0N1b.mjs} +2 -2
- package/dist/chunks/{component-GridForecastMsg-CACyyiD4.mjs → component-GridForecastMsg-J7V2m_bm.mjs} +1 -2
- package/dist/chunks/{component-HDSeaLegend-BKmNgyVy.mjs → component-HDSeaLegend-BbW1vk-L.mjs} +2 -1
- package/dist/chunks/{component-HdCameraList-CjERf58T.mjs → component-HdCameraList-ya7gQWsk.mjs} +84 -101
- package/dist/chunks/{component-HdFarmStation-B7LiZJNn.mjs → component-HdFarmStation-DbvF94Z6.mjs} +76 -81
- package/dist/chunks/{component-HdFarmStationDialog-DGaloDuc.mjs → component-HdFarmStationDialog-p3vjS1JB.mjs} +1 -2
- package/dist/chunks/{component-HdForecastProducts-Cqm11AZJ.mjs → component-HdForecastProducts-2ZXLMLdw.mjs} +1 -2
- package/dist/chunks/{component-HdHeatChart-DBrkJ7wc.mjs → component-HdHeatChart-CM4uhNsK.mjs} +1 -2
- package/dist/chunks/{component-HdHeatChartDialog-COXAQ7bQ.mjs → component-HdHeatChartDialog-CxIaxIg5.mjs} +2 -3
- package/dist/chunks/{component-HdHeatService-BytLjsOH.mjs → component-HdHeatService-BNRBwLEC.mjs} +1 -2
- package/dist/chunks/{component-HdInsectDetailList-Burje-lq.mjs → component-HdInsectDetailList-CNfJip9R.mjs} +1 -2
- package/dist/chunks/{component-HdInsectList-BmvZhDkG.mjs → component-HdInsectList-D0fRM6cx.mjs} +1 -2
- package/dist/chunks/component-HdMajorActivity-C95MgI5Y.mjs +704 -0
- package/dist/chunks/{component-HdObservation-CEBvwX20.mjs → component-HdObservation-DUMGmfJN.mjs} +3 -4
- package/dist/chunks/{component-HdPreSituation-C9k5S8xb.mjs → component-HdPreSituation-IILymZ3h.mjs} +3 -4
- package/dist/chunks/{component-HdQxServiceEffects-afWY5O0D.mjs → component-HdQxServiceEffects-B-C0VBH3.mjs} +1 -2
- package/dist/chunks/{component-HdRadarList-CcQfA_IK.mjs → component-HdRadarList-DSMrSb-T.mjs} +3 -3
- package/dist/chunks/{component-HdRadarTime-BinpFlES.mjs → component-HdRadarTime-FEhuGBEg.mjs} +1 -2
- package/dist/chunks/{component-HdRadarTimeLine-DsMjdctK.mjs → component-HdRadarTimeLine-UfzKKTgp.mjs} +1 -2
- package/dist/chunks/{component-HdRisk-CtU4tAFm.mjs → component-HdRisk-B3N71NoC.mjs} +2 -3
- package/dist/chunks/{component-HdSeaCase-BSUlsIx4.mjs → component-HdSeaCase-Cim-Y8hP.mjs} +1 -2
- package/dist/chunks/{component-HdServiceMarterial-BVRAV14z.mjs → component-HdServiceMarterial-BxifbLBR.mjs} +2 -3
- package/dist/chunks/{component-HdServiceRequirements-CuKHpG2x.mjs → component-HdServiceRequirements-BawMn0jA.mjs} +2 -3
- package/dist/chunks/{component-HdSoil-Cg5eJ24C.mjs → component-HdSoil-DaGj6RPD.mjs} +2 -3
- package/dist/chunks/{component-HdSoilDetailList-BXkegoW8.mjs → component-HdSoilDetailList-fBu8i74J.mjs} +1 -2
- package/dist/chunks/{component-HdStationTem-BDWsPUTr.mjs → component-HdStationTem-DgGFJ20c.mjs} +3 -4
- package/dist/chunks/{component-HdSuggestion-Z8vAFQcx.mjs → component-HdSuggestion-BnpgzKkp.mjs} +2 -3
- package/dist/chunks/{component-HdThreeWeatherTrend-D76c14hh.mjs → component-HdThreeWeatherTrend-Bmire4sm.mjs} +3 -4
- package/dist/chunks/{component-HdWaveForcast-BqdcmF-9.mjs → component-HdWaveForcast-Bc3sB9Fn.mjs} +2 -3
- package/dist/chunks/{component-HighQuality-CxiEeJ6T.mjs → component-HighQuality-DjDZKwMT.mjs} +1 -2
- package/dist/chunks/{component-HighWayEarlyWarningRed-CXddcWf3.mjs → component-HighWayEarlyWarningRed-CzBI_AJA.mjs} +2 -2
- package/dist/chunks/{component-HighWayFreeze-Ce2mS-fo.mjs → component-HighWayFreeze-sFMx0umE.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarm-cmXVG7kx.mjs → component-HighwayLiveAlarm-Ozq7Y8qF.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarmNew-DIh8-E-a.mjs → component-HighwayLiveAlarmNew-ByL2OYk0.mjs} +3 -3
- package/dist/chunks/{component-HighwayStations-DeOsPYJ4.mjs → component-HighwayStations-DXj5h1vg.mjs} +2 -2
- package/dist/chunks/{component-HighwayWeatherForecast-OTwm4aUB.mjs → component-HighwayWeatherForecast-6I714FL1.mjs} +69 -69
- package/dist/chunks/{component-IframeWeb-DJpLhA93.mjs → component-IframeWeb-DDYUNdVl.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-CPp8qG9P.mjs → component-ImageGeneration-C0K8D1lM.mjs} +2 -1
- package/dist/chunks/{component-IntroducePic-DMbanecs.mjs → component-IntroducePic-Bzsjmjql.mjs} +1 -2
- package/dist/chunks/{component-LithiumBatteryMiningArea-BHUIxPQA.mjs → component-LithiumBatteryMiningArea-ClvF3vsD.mjs} +2 -2
- package/dist/chunks/{component-MapPopup-CG1DlFH_.mjs → component-MapPopup-BnKmR10m.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-DFtr5Zsw.mjs → component-MaterialPreview-DG5VgGJp.mjs} +1 -2
- package/dist/chunks/{component-PieLegend-CUhuvyyt.mjs → component-PieLegend-Y_AZPS0g.mjs} +1 -1
- package/dist/chunks/{component-PrecipitationRanking-CvuHO8-L.mjs → component-PrecipitationRanking-71G9U_UP.mjs} +3 -4
- package/dist/chunks/{component-RadarChart-BtV2B9NQ.mjs → component-RadarChart-u6Xs1TTB.mjs} +2 -2
- package/dist/chunks/{component-RadarLegend-uI-vbK2B.mjs → component-RadarLegend-9ahVi99l.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-C3yIFfjc.mjs → component-RadarShortTerm-wwvpXBvp.mjs} +4 -4
- package/dist/chunks/{component-RadarTime-Cy5ezbus.mjs → component-RadarTime-BqkIprmh.mjs} +2 -2
- package/dist/chunks/{component-RenderMarkdown-Cf79iCPF.mjs → component-RenderMarkdown-Cip_f4e8.mjs} +2 -2
- package/dist/chunks/{component-ReservoirLiveAlarm-DvMi5KuT.mjs → component-ReservoirLiveAlarm-D6fDm2mR.mjs} +3 -3
- package/dist/chunks/{component-ServiceMaterial-tM5xlUk5.mjs → component-ServiceMaterial-DHdRLUhG.mjs} +2 -2
- package/dist/chunks/{component-ServiceMaterialsBtn-CkBLC8_V.mjs → component-ServiceMaterialsBtn-B6fjh9Bc.mjs} +2 -1
- package/dist/chunks/{component-StationDialog-ThXd8RYz.mjs → component-StationDialog-DP9cwrI_.mjs} +2 -3
- package/dist/chunks/{component-StationList-CTE-wJJe.mjs → component-StationList-Cfmz5c3d.mjs} +3 -4
- package/dist/chunks/{component-TimeBasedForecast-BH14WI1X.mjs → component-TimeBasedForecast-DIBNCv4O.mjs} +36 -36
- package/dist/chunks/{component-Typhoon-BAh6wD79.mjs → component-Typhoon-4Oj6wl91.mjs} +16 -16
- package/dist/chunks/{component-WarningLine-DXy9x9WQ.mjs → component-WarningLine-XjCN_f4w.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-omOhQ4Oe.mjs → component-WarningSignal-DPUOC73O.mjs} +3 -3
- package/dist/chunks/{component-WeatherForecast-CdccA6XY.mjs → component-WeatherForecast-Cl3G0gZG.mjs} +36 -36
- package/dist/chunks/{component-YCDataMonitor-b_yLhnlt.mjs → component-YCDataMonitor-Cmugq2Hc.mjs} +1 -2
- package/dist/chunks/{component-YCDataService-BuXN9Hbm.mjs → component-YCDataService-Veq9EEB6.mjs} +3 -4
- package/dist/chunks/{component-YCHighWaySummary-BJ5NCRVX.mjs → component-YCHighWaySummary-BfcLGdxr.mjs} +2 -2
- package/dist/chunks/{component-YCHome-KZ-r1BIn.mjs → component-YCHome-BgGFtVlS.mjs} +3 -4
- package/dist/chunks/{component-YCHomeLegend-CI9bN8C9.mjs → component-YCHomeLegend-jG8vwIka.mjs} +2 -1
- package/dist/chunks/{component-YCLoginNew-BwaX10Om.mjs → component-YCLoginNew-BKMD-5TL.mjs} +9 -10
- package/dist/chunks/component-YCServiceSummary-C2K81UiN.mjs +869 -0
- package/dist/components/AiChat/AiChat.vue.d.ts +18 -0
- package/dist/components/AiChat/AiChatResponse.vue.d.ts +2 -0
- package/dist/components/AiChat/AiChatThinking.vue.d.ts +4 -0
- package/dist/components/AiChat/types.d.ts +1 -0
- package/dist/components/HdCameraList/HdCameraList.vue.d.ts +0 -10
- package/dist/components/HdMajorActivity/HdMajorActivity.vue.d.ts +46 -2
- package/dist/components/YCServiceSummary/YCAIChatPanel.vue.d.ts +2 -0
- package/dist/components/YCServiceSummary/YCServiceSummary.vue.d.ts +2 -0
- package/dist/components/YCServiceSummary/YCServiceSummaryGeologyRefineAnalysis.vue.d.ts +24 -0
- package/dist/components/YCServiceSummary/YCServiceSummaryGeologyTrafficAnalysis.vue.d.ts +24 -0
- package/dist/components/YCServiceSummary/YCServiceSummaryReservoirRefineAnalysis.vue.d.ts +24 -0
- package/dist/components/YCServiceSummary/YCServiceSummaryReservoirTrafficAnalysis.vue.d.ts +24 -0
- package/dist/nxd-plugin.mjs +73 -73
- 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-HdFarmStation.css +1 -1
- package/dist/styles/component-HdInsectDetailList.css +1 -1
- package/dist/styles/component-HdMajorActivity.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/dist/styles/component-YCServiceSummary.css +1 -1
- package/dist/utils/request.d.ts +1 -0
- package/package.json +1 -1
- package/dist/chunks/YCServiceSummary-PPstZeY5.mjs +0 -2
- package/dist/chunks/component-HdMajorActivity-fd-kVYVY.mjs +0 -221
- package/dist/chunks/component-YCServiceSummary-DyWhK07a.mjs +0 -509
package/dist/chunks/{component-HdFarmStation-B7LiZJNn.mjs → component-HdFarmStation-DbvF94Z6.mjs}
RENAMED
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import "./component-Forecast72h-DWuJmxhN.mjs";
|
|
1
|
+
import { i as e, o as t } from "./component-AiChat-BwP3zj0h.mjs";
|
|
2
|
+
import "./component-Forecast72h-CwDS2BCV.mjs";
|
|
4
3
|
import { ElLoadingDirective as n, ElTable as r, ElTableColumn as i } from "element-plus/es";
|
|
5
|
-
import { computed as a,
|
|
4
|
+
import { computed as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, getCurrentInstance as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, toDisplayString as h, vModelCheckbox as g, watch as _, withCtx as v, withDirectives as y } from "vue";
|
|
6
5
|
import "element-plus/dist/index.css";
|
|
7
6
|
//#region src/assets/img/hd/农业站.png
|
|
8
|
-
var
|
|
7
|
+
var b = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAaVBMVEVHcEwSHQD///8SHQASHQASHQASHQD7/PsSHQASHQASHQASHQD///8SHQASHQASHQASHQD///9xd2YSHQD///9LUz3+/v4SHQD9/f3Dxb7Z29b////t///b//+///+Y/v9w/v9M/v8w/f/X4jOHAAAAG3RSTlMABgsOFCAqMDM+R1hoaXyJlZ6nt7m4xNXi4+86+u2YAAABcklEQVR42o3SbU/CMBiF4XNOV4saX4hKUP7/L1Q+EKWPdrRpRlvkDsmSca151hVzJMNml9u8bnfLNgE1ks5NSQ/bFCsQchQ9Qo64CcvkAwqHSLkJKAnnCb7+R9KpGhCGZcSqcAp0cu4SF4Lq6qLa1b8PJQAOd4UTJOlQOe38DQhfV4eSrunEbb/ff32WaQpPnphQo9lpRID5jtzsK6tlo3hbbyn6w3zt8s7wKww5E2fIla0ccciwKG/liLPlhL+a162c+vyApsOYd5a/MAyE3pkfcqJ75se8f+av50LQkBPW+VAjDrWc8EPOlgvhEq++nvkx727lkLM3/GrEoe7wGnGie+Yv8nYrEzcYfrq83UpO/vb+8fnlY3dFa9D51d3D0/Pb0m/f2+e3a5GinEQSeS4DQJDImVm0eIzR5vuO6SfMRSTOxeeO+NNmmYukCKIsj9kTdXkkjROHiKKTb4+BIWkYIBjiMQ2Xs3JZlHWO/1Ve/BcfbY/c93OAOwAAAABJRU5ErkJggg==", x = {
|
|
9
8
|
class: "HdFarmStation",
|
|
10
9
|
"element-loading-background": "rgba(0, 0, 0, 0.5)"
|
|
11
|
-
},
|
|
12
|
-
key: 0,
|
|
13
|
-
class: "HdFarmStation-dataTime"
|
|
14
|
-
}, E = { class: "HdFarmStation-toolbar" }, D = { class: "HdFarmStation-check" }, O = { class: "HdFarmStation-content" }, k = { class: "HdFarmStation-tableWrap" }, A = /* @__PURE__ */ e(/* @__PURE__ */ u({
|
|
10
|
+
}, S = { class: "HdFarmStation-header" }, C = { class: "HdFarmStation-headerContent" }, w = { class: "HdFarmStation-toolbar" }, T = { class: "HdFarmStation-check" }, E = { class: "HdFarmStation-content" }, D = { class: "HdFarmStation-tableWrap" }, O = /* @__PURE__ */ e(/* @__PURE__ */ l({
|
|
15
11
|
__name: "HdFarmStation",
|
|
16
12
|
props: {
|
|
17
13
|
mock: {
|
|
@@ -33,12 +29,12 @@ var x = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAAC
|
|
|
33
29
|
"markerClick",
|
|
34
30
|
"removeMarker"
|
|
35
31
|
],
|
|
36
|
-
setup(e, { emit:
|
|
37
|
-
let
|
|
38
|
-
|
|
39
|
-
},
|
|
40
|
-
if (!
|
|
41
|
-
|
|
32
|
+
setup(e, { emit: l }) {
|
|
33
|
+
let O = e, k = l, A = u()?.appContext.config.globalProperties.$bus, j = m(!1), M = m(O.dataTime || ""), N = m([]), P = m(!0), F = null, I = a(() => O.list.length ? O.list : N.value), L = () => {
|
|
34
|
+
k("close"), P.value = !1;
|
|
35
|
+
}, R = (e, t) => e == null || e === "" || Number(e) >= 9999 ? "--" : t ? `${e}${t}` : String(e), z = () => {
|
|
36
|
+
if (!P.value) {
|
|
37
|
+
k("addMarker", { removeMarker: "HdFarmStation" });
|
|
42
38
|
return;
|
|
43
39
|
}
|
|
44
40
|
let e = {
|
|
@@ -52,7 +48,7 @@ var x = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAAC
|
|
|
52
48
|
drawArrObj: [],
|
|
53
49
|
onlyLayerID: "hdFarmStation"
|
|
54
50
|
}, t = 0, n = 0;
|
|
55
|
-
|
|
51
|
+
I.value.forEach((r) => {
|
|
56
52
|
let i = Number(r.lon), a = Number(r.lat);
|
|
57
53
|
if (!i || !a || isNaN(i) || isNaN(a)) {
|
|
58
54
|
n++, console.warn("HdFarmStation 跳过无效经纬度:", r.stationName, "lon=", r.lon, "lat=", r.lat);
|
|
@@ -61,13 +57,13 @@ var x = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAAC
|
|
|
61
57
|
t++;
|
|
62
58
|
let o = r.msName || r.stationName, s = `
|
|
63
59
|
<div data-markerId="farm-${o}" class="farm-marker" style="display:flex;align-items:center;cursor:pointer;" title="${o}">
|
|
64
|
-
<img src="${
|
|
60
|
+
<img src="${b}" alt="" style="width:20px;height:20px;margin-right:4px;">
|
|
65
61
|
<div style="display:flex;flex-direction:column;">
|
|
66
62
|
<div style="color:#fff;font-size:12px;line-height:1.4;text-shadow:1px 0 #000,-1px 0 #000,0 1px #000,0 -1px #000,1px 1px #000,-1px -1px #000,1px -1px #000,-1px 1px #000">
|
|
67
63
|
${o}
|
|
68
64
|
</div>
|
|
69
65
|
<div style="color:#fff;font-size:12px;line-height:1.4;text-shadow:1px 0 #000,-1px 0 #000,0 1px #000,0 -1px #000,1px 1px #000,-1px -1px #000,1px -1px #000,-1px 1px #000">
|
|
70
|
-
${
|
|
66
|
+
${R(r.airTemperature, "℃")}
|
|
71
67
|
</div>
|
|
72
68
|
</div>
|
|
73
69
|
</div>
|
|
@@ -79,15 +75,15 @@ var x = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAAC
|
|
|
79
75
|
data: r,
|
|
80
76
|
otherData: { markId: "HdFarmStation" }
|
|
81
77
|
});
|
|
82
|
-
}), console.log(`HdFarmStation addMarker 总数=${
|
|
78
|
+
}), console.log(`HdFarmStation addMarker 总数=${I.value.length} 有效=${t} 跳过=${n}`, e), k("addMarker", {
|
|
83
79
|
mapMarker: e,
|
|
84
80
|
removeMarker: "HdFarmStation"
|
|
85
81
|
});
|
|
86
82
|
};
|
|
87
|
-
|
|
88
|
-
|
|
83
|
+
_(P, () => {
|
|
84
|
+
z();
|
|
89
85
|
});
|
|
90
|
-
let
|
|
86
|
+
let B = (e) => {
|
|
91
87
|
let t = e?.data?.result?.output;
|
|
92
88
|
if (typeof t == "string") try {
|
|
93
89
|
let e = JSON.parse(t);
|
|
@@ -96,7 +92,7 @@ var x = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAAC
|
|
|
96
92
|
return console.error("HdFarmStation output JSON 解析失败", t), [];
|
|
97
93
|
}
|
|
98
94
|
return Array.isArray(t) ? t : [];
|
|
99
|
-
},
|
|
95
|
+
}, V = (e) => Array.isArray(e) ? e.map((e) => ({
|
|
100
96
|
stationName: e.msName || e.stationName || e.cameranum || "",
|
|
101
97
|
msCode: e.msCode || e.monitoring_id || "",
|
|
102
98
|
msName: e.msName || e.stationName || e.cameranum || "",
|
|
@@ -106,68 +102,75 @@ var x = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAAC
|
|
|
106
102
|
monitorTime: e.monitorTime || e.dataTime || e.collectTime || "",
|
|
107
103
|
dataTime: e.dataTime || e.monitorTime || e.collectTime || "",
|
|
108
104
|
...e
|
|
109
|
-
})) : [],
|
|
105
|
+
})) : [], H = (e) => t({
|
|
110
106
|
id: e.id,
|
|
111
|
-
baseHttp:
|
|
107
|
+
baseHttp: O.baseHttp,
|
|
112
108
|
reqType: e.reqType,
|
|
113
109
|
variables: {},
|
|
114
110
|
isFormData: e.isFormData,
|
|
115
|
-
appKey:
|
|
116
|
-
appSalt:
|
|
117
|
-
}),
|
|
118
|
-
if (
|
|
119
|
-
let e =
|
|
111
|
+
appKey: O.appKey,
|
|
112
|
+
appSalt: O.appSalt
|
|
113
|
+
}), U = async () => {
|
|
114
|
+
if (O.mock) return;
|
|
115
|
+
let e = O.ids?.data;
|
|
120
116
|
if (!e?.id) {
|
|
121
117
|
console.warn("HdFarmStation 缺少数据工作流配置");
|
|
122
118
|
return;
|
|
123
119
|
}
|
|
124
|
-
|
|
120
|
+
j.value = !0;
|
|
125
121
|
try {
|
|
126
|
-
|
|
122
|
+
N.value = V(B(await H(e))), !M.value && N.value.length && (M.value = N.value[0].dataTime || ""), P.value = !0, z();
|
|
127
123
|
} catch (e) {
|
|
128
124
|
console.error("HdFarmStation 调用工作流接口失败", e);
|
|
129
125
|
} finally {
|
|
130
|
-
|
|
126
|
+
j.value = !1;
|
|
131
127
|
}
|
|
132
|
-
},
|
|
128
|
+
}, W = (e) => {
|
|
133
129
|
console.log(e, "row");
|
|
134
130
|
let t = e.msCode || "", n = e.msName || "";
|
|
135
|
-
|
|
131
|
+
A?.emit("toComponent", {
|
|
136
132
|
componentName: "HdFarmStationDialog",
|
|
137
133
|
msCode: t,
|
|
138
134
|
msName: n
|
|
139
135
|
});
|
|
140
|
-
},
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
},
|
|
144
|
-
},
|
|
145
|
-
|
|
146
|
-
},
|
|
147
|
-
|
|
136
|
+
}, G = () => {
|
|
137
|
+
K(), !(O.refreshInterval <= 0) && (F = setInterval(() => {
|
|
138
|
+
U();
|
|
139
|
+
}, O.refreshInterval));
|
|
140
|
+
}, K = () => {
|
|
141
|
+
F &&= (clearInterval(F), null);
|
|
142
|
+
}, q = !1, J = () => {
|
|
143
|
+
q ||= (document.addEventListener("click", (e) => {
|
|
148
144
|
let t = e.target.closest(".farm-marker");
|
|
149
145
|
if (!t) return;
|
|
150
146
|
e.stopPropagation();
|
|
151
147
|
let n = t.getAttribute("data-markerId")?.replace("farm-", "") || "";
|
|
152
148
|
console.log(n, "dataName");
|
|
153
|
-
let r =
|
|
154
|
-
r &&
|
|
149
|
+
let r = N.value.find((e) => e.stationName === n);
|
|
150
|
+
r && W(r);
|
|
155
151
|
}), !0);
|
|
156
152
|
};
|
|
157
|
-
return
|
|
158
|
-
|
|
159
|
-
e.componentName === "HdFarmStation" &&
|
|
160
|
-
}),
|
|
161
|
-
}),
|
|
162
|
-
|
|
153
|
+
return f(() => {
|
|
154
|
+
J(), A?.on("toComponent", (e) => {
|
|
155
|
+
e.componentName === "HdFarmStation" && U();
|
|
156
|
+
}), U(), G();
|
|
157
|
+
}), d(() => {
|
|
158
|
+
K(), k("addMarker", { removeMarker: "HdFarmStation" });
|
|
163
159
|
}), (t, a) => {
|
|
164
|
-
let
|
|
165
|
-
return
|
|
166
|
-
|
|
160
|
+
let l = i, u = r, d = n;
|
|
161
|
+
return y((p(), o("div", x, [
|
|
162
|
+
s("button", {
|
|
167
163
|
class: "HdFarmStation-close",
|
|
168
|
-
onClick:
|
|
169
|
-
}, [...a[1] ||= [
|
|
170
|
-
|
|
164
|
+
onClick: L
|
|
165
|
+
}, [...a[1] ||= [s("span", null, "✕", -1)]]),
|
|
166
|
+
s("div", S, [s("div", C, [a[4] ||= s("h3", { class: "HdFarmStation-title" }, "农业站列表", -1), s("div", w, [s("label", T, [
|
|
167
|
+
y(s("input", {
|
|
168
|
+
"onUpdate:modelValue": a[0] ||= (e) => P.value = e,
|
|
169
|
+
type: "checkbox"
|
|
170
|
+
}, null, 512), [[g, P.value]]),
|
|
171
|
+
a[2] ||= s("span", { class: "HdFarmStation-checkBox" }, null, -1),
|
|
172
|
+
a[3] ||= s("span", { class: "HdFarmStation-checkLabel" }, "地图标记", -1)
|
|
173
|
+
])])]), a[5] ||= s("img", {
|
|
171
174
|
style: {
|
|
172
175
|
width: "100%",
|
|
173
176
|
"object-fit": "contain",
|
|
@@ -176,57 +179,49 @@ var x = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAAC
|
|
|
176
179
|
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",
|
|
177
180
|
alt: ""
|
|
178
181
|
}, null, -1)]),
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
"onUpdate:modelValue": a[0] ||= (e) => I.value = e,
|
|
182
|
-
type: "checkbox"
|
|
183
|
-
}, null, 512), [[_, I.value]]),
|
|
184
|
-
a[4] ||= c("span", { class: "HdFarmStation-checkBox" }, null, -1),
|
|
185
|
-
a[5] ||= c("span", { class: "HdFarmStation-checkLabel" }, "地图标记", -1)
|
|
186
|
-
])]),
|
|
187
|
-
c("div", O, [c("div", k, [l(d, {
|
|
188
|
-
data: R.value,
|
|
182
|
+
s("div", E, [s("div", D, [c(u, {
|
|
183
|
+
data: I.value,
|
|
189
184
|
class: "HdFarmStation-table",
|
|
190
185
|
"max-height": e.tableHeight,
|
|
191
186
|
"empty-text": "暂无数据"
|
|
192
187
|
}, {
|
|
193
|
-
default:
|
|
194
|
-
l
|
|
188
|
+
default: v(() => [
|
|
189
|
+
c(l, {
|
|
195
190
|
label: "序号",
|
|
196
191
|
align: "center",
|
|
197
|
-
width: "
|
|
192
|
+
width: "50"
|
|
198
193
|
}, {
|
|
199
|
-
default:
|
|
194
|
+
default: v(({ $index: e }) => [s("span", null, h(e + 1), 1)]),
|
|
200
195
|
_: 1
|
|
201
196
|
}),
|
|
202
|
-
l
|
|
197
|
+
c(l, {
|
|
203
198
|
prop: "stationName",
|
|
204
199
|
label: "站点名称",
|
|
205
200
|
align: "left",
|
|
206
|
-
"min-width": "
|
|
201
|
+
"min-width": "100",
|
|
207
202
|
"show-overflow-tooltip": ""
|
|
208
203
|
}),
|
|
209
|
-
l
|
|
204
|
+
c(l, {
|
|
210
205
|
prop: "airTemperature",
|
|
211
206
|
label: "气温",
|
|
212
207
|
align: "center",
|
|
213
|
-
"min-width": "
|
|
208
|
+
"min-width": "70"
|
|
214
209
|
}, {
|
|
215
|
-
default:
|
|
210
|
+
default: v(({ row: e }) => [s("span", null, h(R(e.airTemperature, "℃")), 1)]),
|
|
216
211
|
_: 1
|
|
217
212
|
}),
|
|
218
|
-
l
|
|
213
|
+
c(l, {
|
|
219
214
|
prop: "monitorTime",
|
|
220
215
|
label: "监测时间",
|
|
221
216
|
align: "center",
|
|
222
|
-
"min-width": "
|
|
217
|
+
"min-width": "160"
|
|
223
218
|
})
|
|
224
219
|
]),
|
|
225
220
|
_: 1
|
|
226
221
|
}, 8, ["data", "max-height"])])])
|
|
227
|
-
])), [[
|
|
222
|
+
])), [[d, j.value]]);
|
|
228
223
|
};
|
|
229
224
|
}
|
|
230
|
-
}), [["__scopeId", "data-v-
|
|
225
|
+
}), [["__scopeId", "data-v-845eb6e7"]]);
|
|
231
226
|
//#endregion
|
|
232
|
-
export {
|
|
227
|
+
export { O as t };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { i as e, t } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import { n } from "./component-
|
|
3
|
-
import { a as r } from "./component-AiChat-AMGDZOnM.mjs";
|
|
2
|
+
import { i as n, o as r } from "./component-AiChat-BwP3zj0h.mjs";
|
|
4
3
|
import { ElConfigProvider as i, ElDatePicker as a, ElIcon as o, ElLoadingDirective as s, ElTable as c, ElTableColumn as l } from "element-plus/es";
|
|
5
4
|
import { Fragment as u, Teleport as d, createBlock as ee, createCommentVNode as te, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, getCurrentInstance as _, nextTick as v, normalizeClass as y, normalizeStyle as ne, onBeforeUnmount as b, onMounted as x, openBlock as S, ref as C, renderList as w, toDisplayString as T, unref as E, vShow as re, watch as ie, withCtx as D, withDirectives as O } from "vue";
|
|
6
5
|
import { Close as ae, Download as oe } from "@element-plus/icons-vue";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as t } from "./component-AiChat-AMGDZOnM.mjs";
|
|
1
|
+
import { i as e, o as t } from "./component-AiChat-BwP3zj0h.mjs";
|
|
3
2
|
import { ElIcon as n } from "element-plus/es";
|
|
4
3
|
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
4
|
import { ArrowLeft as C, ArrowRight as te, VideoPause as ne, VideoPlay as re } from "@element-plus/icons-vue";
|
package/dist/chunks/{component-HdHeatChart-DBrkJ7wc.mjs → component-HdHeatChart-CM4uhNsK.mjs}
RENAMED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as t } from "./component-AiChat-AMGDZOnM.mjs";
|
|
1
|
+
import { i as e, o as t } from "./component-AiChat-BwP3zj0h.mjs";
|
|
3
2
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
4
3
|
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
4
|
import * as m from "echarts";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import "./component-HdHeatChart-DBrkJ7wc.mjs";
|
|
1
|
+
import { i as e, o as t } from "./component-AiChat-BwP3zj0h.mjs";
|
|
2
|
+
import "./component-HdHeatChart-CM4uhNsK.mjs";
|
|
4
3
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
5
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, 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
5
|
import * as b from "echarts";
|
package/dist/chunks/{component-HdHeatService-BytLjsOH.mjs → component-HdHeatService-BNRBwLEC.mjs}
RENAMED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as t } from "./component-AiChat-AMGDZOnM.mjs";
|
|
1
|
+
import { i as e, o as t } from "./component-AiChat-BwP3zj0h.mjs";
|
|
3
2
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
4
3
|
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
4
|
import * as _ from "echarts";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as t } from "./component-AiChat-AMGDZOnM.mjs";
|
|
1
|
+
import { i as e, o as t } from "./component-AiChat-BwP3zj0h.mjs";
|
|
3
2
|
import { ElConfigProvider as n, ElDatePicker as r, ElLoadingDirective as i, ElTable as ee, ElTableColumn as te } from "element-plus/es";
|
|
4
3
|
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
4
|
import "element-plus/dist/index.css";
|
package/dist/chunks/{component-HdInsectList-BmvZhDkG.mjs → component-HdInsectList-D0fRM6cx.mjs}
RENAMED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as t } from "./component-AiChat-AMGDZOnM.mjs";
|
|
1
|
+
import { i as e, o as t } from "./component-AiChat-BwP3zj0h.mjs";
|
|
3
2
|
import { ElLoadingDirective as n, ElTable as r, ElTableColumn as i } from "element-plus/es";
|
|
4
3
|
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, onBeforeUnmount as _, onMounted as ee, openBlock as v, ref as y, renderList as te, toDisplayString as b, vModelCheckbox as ne, watch as x, withCtx as S, withDirectives as C } from "vue";
|
|
5
4
|
import "element-plus/dist/index.css";
|