nxd-plugin 1.8.37 → 1.8.39
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-CP4xYmeZ.mjs +2 -0
- package/dist/chunks/{component-Agent-DqXO06Ql.mjs → component-Agent-Cm2BEfcV.mjs} +2451 -2405
- package/dist/chunks/{component-AiChat-C8NFYtVc.mjs → component-AiChat-C0nCRTDL.mjs} +202 -202
- package/dist/chunks/{component-AqiMonitor-WvrknfI9.mjs → component-AqiMonitor-buvqeOgY.mjs} +9 -9
- package/dist/chunks/{component-ChartCumulativePre-B9Prk8Sx.mjs → component-ChartCumulativePre-C4PgcnVy.mjs} +7 -7
- package/dist/chunks/{component-ChartServiceMaterial-dSZ_Pec0.mjs → component-ChartServiceMaterial-C7a1Qqo_.mjs} +6 -6
- package/dist/chunks/{component-Duty-CcPTE385.mjs → component-Duty-DOs3Ug6k.mjs} +6 -6
- package/dist/chunks/{component-EarlyWarningStatistic-Ug-1jfiU.mjs → component-EarlyWarningStatistic-CXmSRC_Z.mjs} +6 -6
- package/dist/chunks/{component-EarlyWarningStatistic2-BnZqgK4P.mjs → component-EarlyWarningStatistic2-DBipE3hf.mjs} +15 -15
- package/dist/chunks/{component-Forecast72h-5DGIhVUd.mjs → component-Forecast72h-CU8p9veB.mjs} +16 -16
- package/dist/chunks/{component-GeologyLiveAlarm-Bg710d1g.mjs → component-GeologyLiveAlarm-Br4JKabm.mjs} +7 -7
- package/dist/chunks/{component-GridForecastMsg-D0jzurbN.mjs → component-GridForecastMsg-8ERFdIt7.mjs} +8 -8
- package/dist/chunks/{component-HDSeaLegend-D5FWHvmR.mjs → component-HDSeaLegend-DQXZYgpR.mjs} +2 -2
- package/dist/chunks/{component-HdCameraList-4ArboSf0.mjs → component-HdCameraList-CzJDCIUd.mjs} +151 -150
- package/dist/chunks/{component-HdFarmStation-D9qZ2csY.mjs → component-HdFarmStation-Bw9K6NJn.mjs} +11 -11
- package/dist/chunks/{component-HdFarmStationDialog-DHGlfkae.mjs → component-HdFarmStationDialog-jR-LBbQP.mjs} +33 -33
- package/dist/chunks/{component-HdForecastProducts-qj9Yzh7D.mjs → component-HdForecastProducts-TXRVg26S.mjs} +10 -10
- package/dist/chunks/{component-HdHeatChart-Br63YpFN.mjs → component-HdHeatChart-DZak9Ft6.mjs} +12 -12
- package/dist/chunks/{component-HdHeatChartDialog-DOkB8heB.mjs → component-HdHeatChartDialog-D1fXxl0L.mjs} +11 -11
- package/dist/chunks/{component-HdHeatService-BeUpAmBA.mjs → component-HdHeatService-B6jbZMfm.mjs} +34 -34
- package/dist/chunks/{component-HdInsectDetailList-C9tAtciq.mjs → component-HdInsectDetailList-B3sikKhM.mjs} +16 -16
- package/dist/chunks/{component-HdInsectList-pU1-mQ-C.mjs → component-HdInsectList-BhwtKWGc.mjs} +18 -18
- package/dist/chunks/{component-HdMajorActivity-DSPYsbdQ.mjs → component-HdMajorActivity-EC4Hvfqb.mjs} +23 -23
- package/dist/chunks/{component-HdObservation-osOGizJv.mjs → component-HdObservation-DZLNEWhN.mjs} +10 -10
- package/dist/chunks/{component-HdPreSituation-Ca_d4L11.mjs → component-HdPreSituation-DBGR2Ryu.mjs} +9 -9
- package/dist/chunks/{component-HdQxServiceEffects-CtlLJVdx.mjs → component-HdQxServiceEffects-dREiY6bN.mjs} +10 -10
- package/dist/chunks/{component-HdRadarList-CgWMdwBo.mjs → component-HdRadarList-BxHqX6lK.mjs} +3 -3
- package/dist/chunks/{component-HdRadarTime-Bp7D80GJ.mjs → component-HdRadarTime-BmXlFJFB.mjs} +12 -12
- package/dist/chunks/{component-HdRadarTimeLine-DfOce6fK.mjs → component-HdRadarTimeLine-DuKt7347.mjs} +13 -13
- package/dist/chunks/{component-HdRisk-Bd3if-1-.mjs → component-HdRisk-CAF1JxIu.mjs} +11 -11
- package/dist/chunks/{component-HdSeaCase-CbY3FsOy.mjs → component-HdSeaCase-DVhbtYSc.mjs} +26 -26
- package/dist/chunks/{component-HdServiceMarterial-B7FEviHO.mjs → component-HdServiceMarterial-CAXKIPOW.mjs} +17 -17
- package/dist/chunks/{component-HdServiceRequirements-DKJ8uQja.mjs → component-HdServiceRequirements-ByhUd4ey.mjs} +13 -13
- package/dist/chunks/{component-HdSoil-ztBxJspH.mjs → component-HdSoil-qNATYOOB.mjs} +11 -11
- package/dist/chunks/{component-HdSoilDetailList-1gMQt-uL.mjs → component-HdSoilDetailList-BbihIcJ9.mjs} +12 -12
- package/dist/chunks/{component-HdStationTem-DfJ0I_2S.mjs → component-HdStationTem-C7eTBEla.mjs} +17 -17
- package/dist/chunks/{component-HdSuggestion-FXvLu_OD.mjs → component-HdSuggestion-BGz6-uaw.mjs} +13 -13
- package/dist/chunks/{component-HdThreeWeatherTrend-DGLSVUb8.mjs → component-HdThreeWeatherTrend-CZTzNuEZ.mjs} +18 -18
- package/dist/chunks/{component-HdWaveForcast-dTEB0h8d.mjs → component-HdWaveForcast-CFfbmxOJ.mjs} +11 -11
- package/dist/chunks/{component-HighQuality-DZGJXvJC.mjs → component-HighQuality-qHBWb-O7.mjs} +16 -16
- package/dist/chunks/{component-HighWayEarlyWarningRed-F0q1FCTw.mjs → component-HighWayEarlyWarningRed-D5xK5D0V.mjs} +16 -16
- package/dist/chunks/{component-HighWayFreeze-d4Xwkwf1.mjs → component-HighWayFreeze-Bfzy5Py4.mjs} +8 -8
- package/dist/chunks/{component-HighwayLiveAlarm-ChAdlgNB.mjs → component-HighwayLiveAlarm-C0NVxNlc.mjs} +6 -6
- package/dist/chunks/{component-HighwayLiveAlarmNew-B-KnOey_.mjs → component-HighwayLiveAlarmNew-BkPc1uHT.mjs} +11 -11
- package/dist/chunks/{component-HighwayStations-CknEywO_.mjs → component-HighwayStations-gLCzqaFg.mjs} +6 -6
- package/dist/chunks/{component-HighwayWeatherForecast-B4szOq2G.mjs → component-HighwayWeatherForecast-Di4k_gXe.mjs} +9 -9
- package/dist/chunks/{component-IframeWeb-iDh9lrPn.mjs → component-IframeWeb-BI6ARPim.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-CsIZ2Kz2.mjs → component-ImageGeneration-HZcmty4a.mjs} +2 -2
- package/dist/chunks/{component-IntroducePic-BggfUWvz.mjs → component-IntroducePic-BzcpXcDu.mjs} +13 -13
- package/dist/chunks/{component-LithiumBatteryMiningArea-RpuBju1r.mjs → component-LithiumBatteryMiningArea-CWmowyvH.mjs} +12 -12
- package/dist/chunks/{component-MapPopup-LFWUnUl3.mjs → component-MapPopup-BMpK3HDv.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-DvNKoDNy.mjs → component-MaterialPreview-opXV5MsP.mjs} +5 -5
- package/dist/chunks/{component-PieLegend-B2Nor3pz.mjs → component-PieLegend-DbYkitpz.mjs} +1 -1
- package/dist/chunks/{component-PrecipitationRanking-ClwjH24B.mjs → component-PrecipitationRanking-DCkl4WcA.mjs} +27 -27
- package/dist/chunks/{component-RadarChart-BMoy8MXR.mjs → component-RadarChart-elpvJJcV.mjs} +10 -10
- package/dist/chunks/{component-RadarLegend-rXlAb8lF.mjs → component-RadarLegend-CooXza3E.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-4RS7HYWc.mjs → component-RadarShortTerm-CThl2lDU.mjs} +20 -20
- package/dist/chunks/{component-RadarTime-W1ZVEA9e.mjs → component-RadarTime-CvudM45Q.mjs} +18 -18
- package/dist/chunks/{component-RenderMarkdown-DO4bEFoj.mjs → component-RenderMarkdown-hrLIIwgE.mjs} +6 -6
- package/dist/chunks/{component-ReservoirLiveAlarm-ZD1RSFHm.mjs → component-ReservoirLiveAlarm-CzZpNTun.mjs} +8 -8
- package/dist/chunks/{component-ServiceMaterial-DrxeAmRt.mjs → component-ServiceMaterial-9oH_DZq1.mjs} +9 -9
- package/dist/chunks/{component-ServiceMaterialsBtn-CZFRzpDr.mjs → component-ServiceMaterialsBtn-ckhadvV7.mjs} +2 -2
- package/dist/chunks/{component-StationDialog-NhNr3lY1.mjs → component-StationDialog-XTeGI3qA.mjs} +9 -9
- package/dist/chunks/{component-StationList-CSU1nUgF.mjs → component-StationList-rrmZM7q1.mjs} +9 -9
- package/dist/chunks/{component-TimeBasedForecast-BObdyMNh.mjs → component-TimeBasedForecast-C8eEmt7r.mjs} +10 -10
- package/dist/chunks/{component-Typhoon-AxGQ8VuM.mjs → component-Typhoon-RsStDsjO.mjs} +16 -16
- package/dist/chunks/{component-WarningLine-Biz0NEC8.mjs → component-WarningLine-gmXFFeUv.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-D5ux6LCy.mjs → component-WarningSignal-CjQjyTr4.mjs} +17 -17
- package/dist/chunks/{component-WeatherForecast-DnvELAB8.mjs → component-WeatherForecast-CtNxOx9i.mjs} +16 -16
- package/dist/chunks/{component-YCDataMonitor-Dumu7_mw.mjs → component-YCDataMonitor-CI7XRJ83.mjs} +16 -16
- package/dist/chunks/{component-YCDataService-CibX3y21.mjs → component-YCDataService-DkIDLzWF.mjs} +10 -10
- package/dist/chunks/{component-YCHighWaySummary-B4rfNY9B.mjs → component-YCHighWaySummary-B3VElvls.mjs} +7 -7
- package/dist/chunks/{component-YCHome-BgH2uOoL.mjs → component-YCHome-CiN9AggT.mjs} +36 -36
- package/dist/chunks/{component-YCHomeLegend-BpForfu4.mjs → component-YCHomeLegend-DzDo8zz6.mjs} +2 -2
- package/dist/chunks/{component-YCLoginNew-BsQr4jFy.mjs → component-YCLoginNew-IfVsyv0t.mjs} +23 -23
- package/dist/chunks/{component-YCServiceSummary-CnnEfTaE.mjs → component-YCServiceSummary-Dy_GyJoy.mjs} +161 -161
- package/dist/nxd-plugin.mjs +73 -73
- package/dist/styles/component-Agent.css +1 -1
- package/dist/styles/component-RadarShortTerm.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/YCServiceSummary-tHEqhFHj.mjs +0 -2
package/dist/chunks/{component-HdInsectList-pU1-mQ-C.mjs → component-HdInsectList-BhwtKWGc.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as e, p as t } from "./component-Agent-Cm2BEfcV.mjs";
|
|
2
2
|
import { ElLoadingDirective as n, ElTable as r, ElTableColumn as i } from "element-plus/es";
|
|
3
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";
|
|
4
4
|
import "element-plus/dist/index.css";
|
|
@@ -18,7 +18,7 @@ var w = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALIAAACyCAMAAADRVGVaAAAAA
|
|
|
18
18
|
}, be = { class: "HdInsectList-section" }, xe = { class: "HdInsectList-feature" }, T = { class: "HdInsectList-featureImage" }, E = ["src"], D = { class: "HdInsectList-featureText" }, O = { class: "HdInsectList-section" }, k = { class: "HdInsectList-prevention" }, A = {
|
|
19
19
|
key: 0,
|
|
20
20
|
class: "HdInsectList-modal"
|
|
21
|
-
}, j = { class: "HdInsectList-panel HdInsectList-panel--detail" }, M = { class: "HdInsectList-detailHead" }, Se = { class: "HdInsectList-detailTime" }, Ce = { class: "HdInsectList-detailImage" }, we = ["src"], N = /* @__PURE__ */
|
|
21
|
+
}, j = { class: "HdInsectList-panel HdInsectList-panel--detail" }, M = { class: "HdInsectList-detailHead" }, Se = { class: "HdInsectList-detailTime" }, Ce = { class: "HdInsectList-detailImage" }, we = ["src"], N = /* @__PURE__ */ t(/* @__PURE__ */ m({
|
|
22
22
|
__name: "HdInsectList",
|
|
23
23
|
props: {
|
|
24
24
|
baseHttp: { default: "" },
|
|
@@ -38,8 +38,8 @@ var w = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALIAAACyCAMAAADRVGVaAAAAA
|
|
|
38
38
|
"markerClick",
|
|
39
39
|
"clearMarker"
|
|
40
40
|
],
|
|
41
|
-
setup(
|
|
42
|
-
let N = h()?.appContext.config.globalProperties.$bus, P =
|
|
41
|
+
setup(t, { expose: m, emit: w }) {
|
|
42
|
+
let N = h()?.appContext.config.globalProperties.$bus, P = t, F = y(!1), I = w, L = null, R = y(!1), z = y(!1), B = y(!1), V = y(0), H = y(null), U = y(!0), W = y([]), G = s(() => H.value?.guidance || []), K = s(() => G.value[V.value]), Te = () => {
|
|
43
43
|
R.value = !0, J();
|
|
44
44
|
}, Ee = () => {
|
|
45
45
|
R.value = !1;
|
|
@@ -65,28 +65,28 @@ var w = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALIAAACyCAMAAADRVGVaAAAAA
|
|
|
65
65
|
prevention: i?.nr || "暂无"
|
|
66
66
|
};
|
|
67
67
|
});
|
|
68
|
-
}, Oe = async (
|
|
68
|
+
}, Oe = async (t) => {
|
|
69
69
|
let n = P.ids?.guidence;
|
|
70
70
|
if (!n?.id) {
|
|
71
71
|
console.warn("HdInsectList 缺少指导意见工作流配置");
|
|
72
72
|
return;
|
|
73
73
|
}
|
|
74
74
|
try {
|
|
75
|
-
let r = q(await
|
|
75
|
+
let r = q(await e({
|
|
76
76
|
id: n.id,
|
|
77
77
|
baseHttp: P.baseHttp,
|
|
78
78
|
reqType: n.reqType,
|
|
79
|
-
variables: { msName:
|
|
79
|
+
variables: { msName: t.msName || t.stationName },
|
|
80
80
|
isFormData: n.isFormData,
|
|
81
81
|
appKey: P.appKey,
|
|
82
82
|
appSalt: P.appSalt
|
|
83
83
|
})), i = (Array.isArray(r) ? r : r?.data || [])[0] || {};
|
|
84
84
|
H.value = {
|
|
85
|
-
...
|
|
85
|
+
...t,
|
|
86
86
|
guidance: De(i)
|
|
87
87
|
};
|
|
88
|
-
} catch (
|
|
89
|
-
console.error("HdInsectList 指导意见加载失败",
|
|
88
|
+
} catch (e) {
|
|
89
|
+
console.error("HdInsectList 指导意见加载失败", e), H.value = t;
|
|
90
90
|
}
|
|
91
91
|
}, ke = async (e) => {
|
|
92
92
|
V.value = 0, z.value = !0, await Oe(e), I("openGuidance", e);
|
|
@@ -125,18 +125,18 @@ var w = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALIAAACyCAMAAADRVGVaAAAAA
|
|
|
125
125
|
};
|
|
126
126
|
async function J() {
|
|
127
127
|
F.value = !0;
|
|
128
|
-
let
|
|
129
|
-
if (!
|
|
128
|
+
let t = P.ids.data;
|
|
129
|
+
if (!t?.id) {
|
|
130
130
|
console.warn("HdInsectList 缺少数据工作流配置");
|
|
131
131
|
return;
|
|
132
132
|
}
|
|
133
133
|
try {
|
|
134
|
-
let n = await
|
|
135
|
-
id:
|
|
134
|
+
let n = await e({
|
|
135
|
+
id: t.id,
|
|
136
136
|
baseHttp: P.baseHttp,
|
|
137
|
-
reqType:
|
|
137
|
+
reqType: t.reqType,
|
|
138
138
|
variables: {},
|
|
139
|
-
isFormData:
|
|
139
|
+
isFormData: t.isFormData,
|
|
140
140
|
appKey: P.appKey,
|
|
141
141
|
appSalt: P.appSalt
|
|
142
142
|
});
|
|
@@ -233,7 +233,7 @@ var w = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALIAAACyCAMAAADRVGVaAAAAA
|
|
|
233
233
|
}, $ = () => {
|
|
234
234
|
L &&= (clearInterval(L), null);
|
|
235
235
|
};
|
|
236
|
-
return m({ clearMarkers: X }), (
|
|
236
|
+
return m({ clearMarkers: X }), (e, s) => {
|
|
237
237
|
let m = i, h = r, _ = n;
|
|
238
238
|
return v(), u("div", ae, [
|
|
239
239
|
d("div", {
|
|
@@ -241,7 +241,7 @@ var w = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALIAAACyCAMAAADRVGVaAAAAA
|
|
|
241
241
|
onClick: Te
|
|
242
242
|
}, [d("img", {
|
|
243
243
|
class: "HdInsectList-triggerImg",
|
|
244
|
-
src:
|
|
244
|
+
src: t.triggerImg,
|
|
245
245
|
alt: "虫情列表"
|
|
246
246
|
}, null, 8, oe)]),
|
|
247
247
|
(v(), c(o, { to: "body" }, [R.value ? (v(), u("div", se, [d("div", ce, [d("div", le, [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./component-Forecast72h-
|
|
1
|
+
import { g as e, p as t } from "./component-Agent-Cm2BEfcV.mjs";
|
|
2
|
+
import "./component-Forecast72h-CU8p9veB.mjs";
|
|
3
3
|
import { ElCarousel as n, ElCarouselItem as r, ElDatePicker as i, ElImageViewer as ee, ElLoadingDirective 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, createVNode as f, defineComponent as p, nextTick as m, normalizeClass as h, onMounted as ne, openBlock as g, ref as _, renderList as v, toDisplayString as y, vShow as b, watch as x, withCtx as re, withDirectives as S } from "vue";
|
|
5
5
|
import * as ie from "echarts";
|
|
@@ -41,7 +41,7 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
41
41
|
}, Re = { class: "HdMajorActivity-popupRealtimeItem" }, ze = { class: "HdMajorActivity-popupRealtimeValue" }, Be = { class: "HdMajorActivity-popupRealtimeItem" }, Ve = { class: "HdMajorActivity-popupRealtimeValue" }, He = { class: "HdMajorActivity-popupRealtimeItem" }, Ue = { class: "HdMajorActivity-popupRealtimeValue" }, We = { class: "HdMajorActivity-popupRealtimeItem" }, Ge = { class: "HdMajorActivity-popupRealtimeValue" }, Ke = { class: "HdMajorActivity-popupRealtimeItem" }, qe = { class: "HdMajorActivity-popupRealtimeValue" }, Je = { class: "HdMajorActivity-popupRealtimeItem" }, Ye = { class: "HdMajorActivity-popupRealtimeValue" }, Xe = { class: "HdMajorActivity-popupRealtimeItem" }, Ze = { class: "HdMajorActivity-popupRealtimeValue" }, Qe = { class: "HdMajorActivity-popupRealtimeItem" }, $e = { class: "HdMajorActivity-popupRealtimeValue" }, et = { class: "HdMajorActivity-popupSection" }, tt = { class: "HdMajorActivity-popupSectionHead" }, nt = { class: "HdMajorActivity-popupTabs" }, rt = { class: "HdMajorActivity-popupElementTabs" }, it = ["onClick"], at = {
|
|
42
42
|
key: 0,
|
|
43
43
|
class: "HdMajorActivity-popupLoading"
|
|
44
|
-
}, ot = { key: 1 }, st = { class: "HdMajorActivity-popupTableWrap" }, ct = { class: "HdMajorActivity-popupTable" }, lt = { key: 0 }, ut = /* @__PURE__ */
|
|
44
|
+
}, ot = { key: 1 }, st = { class: "HdMajorActivity-popupTableWrap" }, ct = { class: "HdMajorActivity-popupTable" }, lt = { key: 0 }, ut = /* @__PURE__ */ t(/* @__PURE__ */ p({
|
|
45
45
|
__name: "HdMajorActivity",
|
|
46
46
|
props: {
|
|
47
47
|
mock: {
|
|
@@ -70,8 +70,8 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
70
70
|
"removeLayer",
|
|
71
71
|
"mapView"
|
|
72
72
|
],
|
|
73
|
-
setup(
|
|
74
|
-
let dt = (/* @__PURE__ */ new Date()).getFullYear(), ft = dt - 20, pt = dt + 10, C =
|
|
73
|
+
setup(t, { expose: p, emit: ut }) {
|
|
74
|
+
let dt = (/* @__PURE__ */ new Date()).getFullYear(), ft = dt - 20, pt = dt + 10, C = t, w = ut, T = _(!1), E = _([]), D = _(null), O = _(0), k = _(!1), mt = _(0), A = _(!1), j = _(null), M = _(!1), N = _(!1), P = _({}), F = _([]), I = _([]), L = _("chart"), R = _("temperature"), z = _(null), B = null, V = [
|
|
75
75
|
{
|
|
76
76
|
key: "temperature",
|
|
77
77
|
label: "温度",
|
|
@@ -325,19 +325,19 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
325
325
|
if (!t || typeof t != "object") return [];
|
|
326
326
|
let n = Array.isArray(t.situationData) ? t.situationData : [], r = Array.isArray(t.forecastData) ? t.forecastData : [];
|
|
327
327
|
return [...n.map(Lt), ...r.map(Rt)].sort((e, t) => new Date(e.time).getTime() - new Date(t.time).getTime());
|
|
328
|
-
}, Bt = async (
|
|
328
|
+
}, Bt = async (t) => {
|
|
329
329
|
let n = Q("realTime");
|
|
330
|
-
if (!(!n || !
|
|
330
|
+
if (!(!n || !t.station_id)) {
|
|
331
331
|
M.value = !0;
|
|
332
332
|
try {
|
|
333
|
-
P.value = It($(await
|
|
333
|
+
P.value = It($(await e({
|
|
334
334
|
id: n.id,
|
|
335
335
|
baseHttp: C.baseHttp,
|
|
336
336
|
reqType: n.reqType,
|
|
337
337
|
variables: {
|
|
338
|
-
[C.stationField]:
|
|
339
|
-
[C.timeStartField]:
|
|
340
|
-
[C.timeEndField]:
|
|
338
|
+
[C.stationField]: t.station_id,
|
|
339
|
+
[C.timeStartField]: t.start_time,
|
|
340
|
+
[C.timeEndField]: t.end_time
|
|
341
341
|
},
|
|
342
342
|
isFormData: n.isFormData,
|
|
343
343
|
appKey: C.appKey,
|
|
@@ -348,19 +348,19 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
348
348
|
}
|
|
349
349
|
M.value = !1;
|
|
350
350
|
}
|
|
351
|
-
}, Vt = async (
|
|
351
|
+
}, Vt = async (t) => {
|
|
352
352
|
let n = Q("timeSeries");
|
|
353
|
-
if (!(!n || !
|
|
353
|
+
if (!(!n || !t.station_id)) {
|
|
354
354
|
N.value = !0;
|
|
355
355
|
try {
|
|
356
|
-
F.value = zt($(await
|
|
356
|
+
F.value = zt($(await e({
|
|
357
357
|
id: n.id,
|
|
358
358
|
baseHttp: C.baseHttp,
|
|
359
359
|
reqType: n.reqType,
|
|
360
360
|
variables: {
|
|
361
|
-
[C.stationField]:
|
|
362
|
-
[C.timeStartField]:
|
|
363
|
-
[C.timeEndField]:
|
|
361
|
+
[C.stationField]: t.station_id,
|
|
362
|
+
[C.timeStartField]: t.start_time,
|
|
363
|
+
[C.timeEndField]: t.end_time
|
|
364
364
|
},
|
|
365
365
|
isFormData: n.isFormData,
|
|
366
366
|
appKey: C.appKey,
|
|
@@ -504,18 +504,18 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
504
504
|
station_id: "54943"
|
|
505
505
|
}];
|
|
506
506
|
}, Kt = async () => {
|
|
507
|
-
let
|
|
508
|
-
if (!
|
|
507
|
+
let t = Q("data");
|
|
508
|
+
if (!t) {
|
|
509
509
|
console.warn("HdMajorActivity 缺少工作流配置");
|
|
510
510
|
return;
|
|
511
511
|
}
|
|
512
512
|
try {
|
|
513
|
-
let n = $(await
|
|
514
|
-
id:
|
|
513
|
+
let n = $(await e({
|
|
514
|
+
id: t.id,
|
|
515
515
|
baseHttp: C.baseHttp,
|
|
516
|
-
reqType:
|
|
516
|
+
reqType: t.reqType,
|
|
517
517
|
variables: Wt(),
|
|
518
|
-
isFormData:
|
|
518
|
+
isFormData: t.isFormData,
|
|
519
519
|
appKey: C.appKey,
|
|
520
520
|
appSalt: C.appSalt
|
|
521
521
|
}));
|
package/dist/chunks/{component-HdObservation-osOGizJv.mjs → component-HdObservation-DZLNEWhN.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import "./component-Forecast72h-
|
|
4
|
-
import { n as r } from "./component-HdFarmStationDialog-
|
|
2
|
+
import { g as t, p as n } from "./component-Agent-Cm2BEfcV.mjs";
|
|
3
|
+
import "./component-Forecast72h-CU8p9veB.mjs";
|
|
4
|
+
import { n as r } from "./component-HdFarmStationDialog-jR-LBbQP.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 ee, createCommentVNode as te, createElementBlock as u, createElementVNode as d, createStaticVNode as ne, createVNode as f, defineComponent as p, getCurrentInstance as re, nextTick as ie, normalizeClass as ae, normalizeStyle as oe, onBeforeUnmount as m, onMounted as se, openBlock as h, ref as g, renderList as _, toDisplayString as v, unref as ce, withCtx as y, withDirectives as le } from "vue";
|
|
7
7
|
import { Download as ue } from "@element-plus/icons-vue";
|
|
@@ -15,7 +15,7 @@ var fe = /* @__PURE__ */ e(r()), pe = {
|
|
|
15
15
|
}, me = { class: "HdObservation-header" }, he = { class: "HdObservation-headerContent" }, ge = {
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "HdObservation-dataTime"
|
|
18
|
-
}, _e = { class: "HdObservation-body" }, ve = { class: "HdObservation-tabs" }, ye = ["onClick"], be = { class: "HdObservation-elementBar" }, xe = { class: "HdObservation-stats" }, x = { class: "HdObservation-statCard HdObservation-statCard--max" }, S = { class: "HdObservation-statInfo" }, C = { class: "HdObservation-statValue" }, w = ["title"], T = { class: "HdObservation-statCard HdObservation-statCard--min" }, E = { class: "HdObservation-statInfo" }, D = { class: "HdObservation-statValue" }, O = ["title"], k = { class: "HdObservation-statCard HdObservation-statCard--avg" }, A = { class: "HdObservation-statInfo" }, j = { class: "HdObservation-statValue" }, M = { class: "HdObservation-chartSection" }, Se = { class: "HdObservation-chartHeader" }, Ce = { class: "HdObservation-chartTitle" }, we = { class: "HdObservation-chartUnit" }, N = 10, P = /* @__PURE__ */
|
|
18
|
+
}, _e = { class: "HdObservation-body" }, ve = { class: "HdObservation-tabs" }, ye = ["onClick"], be = { class: "HdObservation-elementBar" }, xe = { class: "HdObservation-stats" }, x = { class: "HdObservation-statCard HdObservation-statCard--max" }, S = { class: "HdObservation-statInfo" }, C = { class: "HdObservation-statValue" }, w = ["title"], T = { class: "HdObservation-statCard HdObservation-statCard--min" }, E = { class: "HdObservation-statInfo" }, D = { class: "HdObservation-statValue" }, O = ["title"], k = { class: "HdObservation-statCard HdObservation-statCard--avg" }, A = { class: "HdObservation-statInfo" }, j = { class: "HdObservation-statValue" }, M = { class: "HdObservation-chartSection" }, Se = { class: "HdObservation-chartHeader" }, Ce = { class: "HdObservation-chartTitle" }, we = { class: "HdObservation-chartUnit" }, N = 10, P = /* @__PURE__ */ n(/* @__PURE__ */ p({
|
|
19
19
|
__name: "HdObservation",
|
|
20
20
|
props: {
|
|
21
21
|
mock: {
|
|
@@ -51,9 +51,9 @@ var fe = /* @__PURE__ */ e(r()), pe = {
|
|
|
51
51
|
}) }
|
|
52
52
|
},
|
|
53
53
|
emits: ["close"],
|
|
54
|
-
setup(e, { emit:
|
|
54
|
+
setup(e, { emit: n }) {
|
|
55
55
|
re()?.appContext.config.globalProperties.$bus;
|
|
56
|
-
let r = e, p =
|
|
56
|
+
let r = e, p = n, P = [
|
|
57
57
|
{
|
|
58
58
|
label: "温度",
|
|
59
59
|
value: "温度",
|
|
@@ -248,13 +248,13 @@ var fe = /* @__PURE__ */ e(r()), pe = {
|
|
|
248
248
|
return;
|
|
249
249
|
}
|
|
250
250
|
try {
|
|
251
|
-
let
|
|
252
|
-
I.value === 1 ?
|
|
253
|
-
let i = await
|
|
251
|
+
let n = { realTime: I.value };
|
|
252
|
+
I.value === 1 ? n.elementType = L.value : n.dayElementType = L.value;
|
|
253
|
+
let i = await t({
|
|
254
254
|
id: e.id,
|
|
255
255
|
baseHttp: r.baseHttp,
|
|
256
256
|
reqType: e.reqType,
|
|
257
|
-
variables:
|
|
257
|
+
variables: n,
|
|
258
258
|
isFormData: e.isFormData,
|
|
259
259
|
appKey: r.appKey,
|
|
260
260
|
appSalt: r.appSalt
|
package/dist/chunks/{component-HdPreSituation-Ca_d4L11.mjs → component-HdPreSituation-DBGR2Ryu.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import "./component-Forecast72h-
|
|
4
|
-
import { n as r } from "./component-HdFarmStationDialog-
|
|
2
|
+
import { g as t, p as n } from "./component-Agent-Cm2BEfcV.mjs";
|
|
3
|
+
import "./component-Forecast72h-CU8p9veB.mjs";
|
|
4
|
+
import { n as r } from "./component-HdFarmStationDialog-jR-LBbQP.mjs";
|
|
5
5
|
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";
|
|
6
6
|
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";
|
|
7
7
|
import { Download as ue, TrendCharts as de } from "@element-plus/icons-vue";
|
|
@@ -19,7 +19,7 @@ var me = /* @__PURE__ */ e(r()), he = {
|
|
|
19
19
|
}, ye = { class: "HdPreSituation-body" }, be = { class: "HdPreSituation-timeRange" }, xe = { class: "HdPreSituation-timeItem" }, Se = { class: "HdPreSituation-timeItem" }, Ce = { class: "HdPreSituation-endTime" }, we = { class: "HdPreSituation-summary" }, Te = { class: "HdPreSituation-total" }, Ee = { class: "HdPreSituation-totalValue" }, De = { class: "HdPreSituation-splitBar" }, Oe = { class: "HdPreSituation-section" }, ke = { class: "HdPreSituation-levelList" }, Ae = { class: "HdPreSituation-levelRange" }, je = { class: "HdPreSituation-section HdPreSituation-section--table" }, Me = { class: "HdPreSituation-tableHeader" }, Ne = { class: "HdPreSituation-tableActions" }, Pe = { class: "HdPreSituation-tableWrap" }, Fe = {
|
|
20
20
|
key: 0,
|
|
21
21
|
class: "HdPreSituation-trendMask"
|
|
22
|
-
}, Ie = { class: "HdPreSituation-trendPopup" }, Le = { class: "HdPreSituation-trendHeader" }, Re = { class: "HdPreSituation-trendActions" }, ze = { class: "HdPreSituation-trendThreshold" }, T = /* @__PURE__ */
|
|
22
|
+
}, Ie = { class: "HdPreSituation-trendPopup" }, Le = { class: "HdPreSituation-trendHeader" }, Re = { class: "HdPreSituation-trendActions" }, ze = { class: "HdPreSituation-trendThreshold" }, T = /* @__PURE__ */ n(/* @__PURE__ */ f({
|
|
23
23
|
__name: "HdPreSituation",
|
|
24
24
|
props: {
|
|
25
25
|
mock: {
|
|
@@ -57,8 +57,8 @@ var me = /* @__PURE__ */ e(r()), he = {
|
|
|
57
57
|
}) }
|
|
58
58
|
},
|
|
59
59
|
emits: ["close", "locate"],
|
|
60
|
-
setup(e, { emit:
|
|
61
|
-
let r = p()?.appContext.config.globalProperties.$bus, f = e, T =
|
|
60
|
+
setup(e, { emit: n }) {
|
|
61
|
+
let r = p()?.appContext.config.globalProperties.$bus, f = e, T = n, E = y(!1), D = y(""), O = y(""), k = y([]), A = y([]), j = y(null), M = y(null), N = null, P = null, F = null, I = y(!1), L = y([]), R = [
|
|
62
62
|
{
|
|
63
63
|
key: "lightRain",
|
|
64
64
|
label: "小雨",
|
|
@@ -217,14 +217,14 @@ var me = /* @__PURE__ */ e(r()), he = {
|
|
|
217
217
|
return;
|
|
218
218
|
}
|
|
219
219
|
O.value || q();
|
|
220
|
-
let
|
|
220
|
+
let n = O.value, r = Be.value;
|
|
221
221
|
try {
|
|
222
|
-
let i = Qe(await
|
|
222
|
+
let i = Qe(await t({
|
|
223
223
|
id: e.id,
|
|
224
224
|
baseHttp: f.baseHttp,
|
|
225
225
|
reqType: e.reqType,
|
|
226
226
|
variables: {
|
|
227
|
-
startDate:
|
|
227
|
+
startDate: n || "",
|
|
228
228
|
endDate: r || ""
|
|
229
229
|
},
|
|
230
230
|
isFormData: e.isFormData,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as e, p as t } from "./component-Agent-Cm2BEfcV.mjs";
|
|
2
2
|
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";
|
|
3
3
|
import * as v from "echarts";
|
|
4
4
|
//#region src/components/HdQxServiceEffects/HdQxServiceEffects.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -8,7 +8,7 @@ var y = { class: "HdQxServiceEffects" }, b = { class: "HdQxServiceEffect" }, x =
|
|
|
8
8
|
}, w = { class: "HdQxServiceEffect-summaryLabel" }, T = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "HdQxServiceEffect-summaryUnit"
|
|
11
|
-
}, E = { class: "HdQxServiceEffect-chartTitle" }, D = /* @__PURE__ */
|
|
11
|
+
}, E = { class: "HdQxServiceEffect-chartTitle" }, D = /* @__PURE__ */ t(/* @__PURE__ */ s({
|
|
12
12
|
__name: "HdQxServiceEffects",
|
|
13
13
|
props: {
|
|
14
14
|
mock: {
|
|
@@ -85,8 +85,8 @@ var y = { class: "HdQxServiceEffects" }, b = { class: "HdQxServiceEffect" }, x =
|
|
|
85
85
|
}) }
|
|
86
86
|
},
|
|
87
87
|
emits: ["close"],
|
|
88
|
-
setup(
|
|
89
|
-
let D = c()?.appContext.config.globalProperties.$bus, O =
|
|
88
|
+
setup(t, { emit: s }) {
|
|
89
|
+
let D = c()?.appContext.config.globalProperties.$bus, O = t, k = s, A = m(""), j = m([]), M = m([]), N = m({}), P = m({}), F = r(() => O.title || A.value), I = r(() => O.summary.length ? O.summary : j.value), L = r(() => O.charts.length ? O.charts : M.value), R = r(() => ({ gridTemplateColumns: `repeat(${L.value.length || 1}, 1fr)` })), z = () => {
|
|
90
90
|
k("close", "HdQxServiceEffects");
|
|
91
91
|
}, B = (e, t) => {
|
|
92
92
|
e && (N.value[t] = e);
|
|
@@ -192,18 +192,18 @@ var y = { class: "HdQxServiceEffects" }, b = { class: "HdQxServiceEffect" }, x =
|
|
|
192
192
|
let e = O.mockData || {};
|
|
193
193
|
A.value = e.title || "", j.value = e.summary || [], M.value = e.charts || [];
|
|
194
194
|
}, K = async () => {
|
|
195
|
-
let
|
|
196
|
-
if (!
|
|
195
|
+
let t = O.ids.data;
|
|
196
|
+
if (!t?.id) {
|
|
197
197
|
console.warn("HdQxServiceEffects 缺少数据工作流配置");
|
|
198
198
|
return;
|
|
199
199
|
}
|
|
200
200
|
try {
|
|
201
|
-
let n = W(await
|
|
202
|
-
id:
|
|
201
|
+
let n = W(await e({
|
|
202
|
+
id: t.id,
|
|
203
203
|
baseHttp: O.baseHttp,
|
|
204
|
-
reqType:
|
|
204
|
+
reqType: t.reqType,
|
|
205
205
|
variables: {},
|
|
206
|
-
isFormData:
|
|
206
|
+
isFormData: t.isFormData,
|
|
207
207
|
appKey: O.appKey,
|
|
208
208
|
appSalt: O.appSalt
|
|
209
209
|
}));
|
package/dist/chunks/{component-HdRadarList-CgWMdwBo.mjs → component-HdRadarList-BxHqX6lK.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./component-Forecast72h-
|
|
1
|
+
import { p as e } from "./component-Agent-Cm2BEfcV.mjs";
|
|
2
|
+
import "./component-Forecast72h-CU8p9veB.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-Agent-
|
|
111
|
+
let { default: t } = await import("./component-Agent-Cm2BEfcV.mjs").then((e) => e.v), n = B(await t({
|
|
112
112
|
id: e.id,
|
|
113
113
|
baseHttp: A.baseHttp,
|
|
114
114
|
reqType: e.reqType,
|
package/dist/chunks/{component-HdRadarTime-Bp7D80GJ.mjs → component-HdRadarTime-BmXlFJFB.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as e, p as t } from "./component-Agent-Cm2BEfcV.mjs";
|
|
2
2
|
import { ElCheckbox as n, ElConfigProvider as r, ElDatePicker as i, ElLoadingDirective as a, ElOption as o, ElSelect as s } from "element-plus/es";
|
|
3
3
|
import { Fragment as c, computed as l, createBlock as ee, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as te, createVNode as p, defineComponent as m, getCurrentInstance as h, nextTick as ne, normalizeClass as g, normalizeStyle as _, onBeforeUnmount as v, onMounted as y, openBlock as b, ref as x, renderList as S, toDisplayString as C, unref as re, vShow as ie, watch as w, withCtx as T, withDirectives as E, withModifiers as ae } from "vue";
|
|
4
4
|
import "element-plus/dist/index.css";
|
|
@@ -21,7 +21,7 @@ var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" },
|
|
|
21
21
|
height: "16",
|
|
22
22
|
viewBox: "0 0 24 24",
|
|
23
23
|
fill: "#fff"
|
|
24
|
-
}, Te = { class: "HdRadarTime-trackBg" }, Ee = { class: "HdRadarTime-ticks" }, De = ["onClick"], Oe = 1e3, D = /* @__PURE__ */
|
|
24
|
+
}, Te = { class: "HdRadarTime-trackBg" }, Ee = { class: "HdRadarTime-ticks" }, De = ["onClick"], Oe = 1e3, D = /* @__PURE__ */ t(/* @__PURE__ */ m({
|
|
25
25
|
__name: "HdRadarTime",
|
|
26
26
|
props: {
|
|
27
27
|
mock: {
|
|
@@ -85,8 +85,8 @@ var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" },
|
|
|
85
85
|
"legendChange",
|
|
86
86
|
"gridChange"
|
|
87
87
|
],
|
|
88
|
-
setup(
|
|
89
|
-
let D = h()?.appContext.config.globalProperties.$bus, O =
|
|
88
|
+
setup(t, { emit: m }) {
|
|
89
|
+
let D = h()?.appContext.config.globalProperties.$bus, O = t, k = m, A = x(null), j = x(null), M = x(null), N = x(null), P = x(!1), F = x(!1), ke = x(!1), I = x(O.initialQueryTime || ""), L = x([]), R = x([]), z = x(0), B = x(0), V = x(!1), H = x(O.initialSpeed), U = x(!1), Ae = [
|
|
90
90
|
.5,
|
|
91
91
|
1,
|
|
92
92
|
1.5,
|
|
@@ -207,11 +207,11 @@ var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" },
|
|
|
207
207
|
}, Qe = (e) => e ? e.data === void 0 ? e.result === void 0 ? e : e.result : e.data?.result?.output === void 0 ? e.data?.result === void 0 ? e.data : e.data.result : e.data.result.output : null, $e = (e) => {
|
|
208
208
|
let t = O.ids[e];
|
|
209
209
|
return t?.id ? t : null;
|
|
210
|
-
}, Z = async (
|
|
211
|
-
let r = $e(
|
|
210
|
+
}, Z = async (t, n = {}) => {
|
|
211
|
+
let r = $e(t);
|
|
212
212
|
if (!r) return null;
|
|
213
213
|
try {
|
|
214
|
-
return Qe(await
|
|
214
|
+
return Qe(await e({
|
|
215
215
|
id: r.id,
|
|
216
216
|
baseHttp: O.baseHttp,
|
|
217
217
|
reqType: r.reqType,
|
|
@@ -220,8 +220,8 @@ var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" },
|
|
|
220
220
|
appKey: O.appKey,
|
|
221
221
|
appSalt: O.appSalt
|
|
222
222
|
}));
|
|
223
|
-
} catch (
|
|
224
|
-
return console.error(`[HdRadarTime] request ${
|
|
223
|
+
} catch (e) {
|
|
224
|
+
return console.error(`[HdRadarTime] request ${t} failed:`, e), null;
|
|
225
225
|
}
|
|
226
226
|
}, Q = async () => {
|
|
227
227
|
U.value = !0;
|
|
@@ -369,7 +369,7 @@ var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" },
|
|
|
369
369
|
}), Q();
|
|
370
370
|
}), v(() => {
|
|
371
371
|
document.removeEventListener("click", Ve), j.value?.removeEventListener("mousedown", Ye), X();
|
|
372
|
-
}), (
|
|
372
|
+
}), (e, l) => {
|
|
373
373
|
let m = i, h = r, ne = n, v = o, y = s, x = a;
|
|
374
374
|
return E((b(), d("div", {
|
|
375
375
|
class: "HdRadarTime",
|
|
@@ -420,7 +420,7 @@ var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" },
|
|
|
420
420
|
key: e,
|
|
421
421
|
style: _({ left: e / je.value * 100 + "%" })
|
|
422
422
|
}, C(e), 5))), 128))])])]),
|
|
423
|
-
f("div", be, [
|
|
423
|
+
f("div", be, [t.showGrid && Y.value ? (b(), ee(ne, {
|
|
424
424
|
key: 0,
|
|
425
425
|
modelValue: F.value,
|
|
426
426
|
"onUpdate:modelValue": l[2] ||= (e) => F.value = e,
|
|
@@ -478,7 +478,7 @@ var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" },
|
|
|
478
478
|
class: "HdRadarTime-indicator",
|
|
479
479
|
style: _({ left: Pe.value + "%" })
|
|
480
480
|
}, null, 4),
|
|
481
|
-
|
|
481
|
+
t.showCurrentTime && J.value ? (b(), d("div", {
|
|
482
482
|
key: 0,
|
|
483
483
|
class: "HdRadarTime-currentTime",
|
|
484
484
|
style: _({ left: Pe.value + "%" })
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as e, p as t } from "./component-Agent-Cm2BEfcV.mjs";
|
|
2
2
|
import { ElConfigProvider as n, ElDatePicker as r, ElOption as i, ElSelect as ee } from "element-plus/es";
|
|
3
3
|
import { Fragment as a, computed as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, nextTick as p, normalizeClass as m, normalizeStyle as h, onBeforeUnmount as g, onMounted as te, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as ne, vShow as re, watch as x, withCtx as S, withDirectives as ie, withModifiers as ae } from "vue";
|
|
4
4
|
import "element-plus/es/components/select/style/css";
|
|
@@ -27,7 +27,7 @@ var se = { class: "HdRadarTimeLine-main" }, ce = { class: "HdRadarTimeLine-contr
|
|
|
27
27
|
height: "16",
|
|
28
28
|
viewBox: "0 0 24 24",
|
|
29
29
|
fill: "#fff"
|
|
30
|
-
}, we = { class: "HdRadarTimeLine-ticks" }, Te = ["onClick"], Ee = 1e3, C = /* @__PURE__ */
|
|
30
|
+
}, we = { class: "HdRadarTimeLine-ticks" }, Te = ["onClick"], Ee = 1e3, C = /* @__PURE__ */ t(/* @__PURE__ */ d({
|
|
31
31
|
__name: "HdRadarTimeLine",
|
|
32
32
|
props: {
|
|
33
33
|
mock: {
|
|
@@ -51,8 +51,8 @@ var se = { class: "HdRadarTimeLine-main" }, ce = { class: "HdRadarTimeLine-contr
|
|
|
51
51
|
"addImage",
|
|
52
52
|
"clearImage"
|
|
53
53
|
],
|
|
54
|
-
setup(
|
|
55
|
-
let C = f()?.appContext.config.globalProperties.$bus, w =
|
|
54
|
+
setup(t, { emit: d }) {
|
|
55
|
+
let C = f()?.appContext.config.globalProperties.$bus, w = t, T = d, E = v(null), D = v(null), O = v(null), k = v(null), A = v(!1), j = v(w.initialTime || ""), M = v([]), N = v([]), P = v([]), F = v(""), I = v(0), L = v(!1), R = v(w.initialSpeed), z = v(!1), De = [
|
|
56
56
|
.5,
|
|
57
57
|
1,
|
|
58
58
|
1.5,
|
|
@@ -163,11 +163,11 @@ var se = { class: "HdRadarTimeLine-main" }, ce = { class: "HdRadarTimeLine-contr
|
|
|
163
163
|
}, qe = (e) => e ? e.data === void 0 ? e.result === void 0 ? e : e.result : e.data?.result?.output === void 0 ? e.data?.result === void 0 ? e.data : e.data.result : e.data.result.output : null, Je = (e) => {
|
|
164
164
|
let t = w.ids?.[e];
|
|
165
165
|
return t?.id ? t : null;
|
|
166
|
-
}, Z = async (
|
|
167
|
-
let r = Je(
|
|
166
|
+
}, Z = async (t, n = {}) => {
|
|
167
|
+
let r = Je(t);
|
|
168
168
|
if (!r) return null;
|
|
169
169
|
try {
|
|
170
|
-
return qe(await
|
|
170
|
+
return qe(await e({
|
|
171
171
|
id: r.id,
|
|
172
172
|
baseHttp: w.baseHttp,
|
|
173
173
|
reqType: r.reqType,
|
|
@@ -176,8 +176,8 @@ var se = { class: "HdRadarTimeLine-main" }, ce = { class: "HdRadarTimeLine-contr
|
|
|
176
176
|
appKey: w.appKey,
|
|
177
177
|
appSalt: w.appSalt
|
|
178
178
|
}));
|
|
179
|
-
} catch (
|
|
180
|
-
return console.error(`[HdRadarTimeLine] request ${
|
|
179
|
+
} catch (e) {
|
|
180
|
+
return console.error(`[HdRadarTimeLine] request ${t} failed:`, e), null;
|
|
181
181
|
}
|
|
182
182
|
}, Q = (e, t) => {
|
|
183
183
|
let n = e.image_paths;
|
|
@@ -233,7 +233,7 @@ var se = { class: "HdRadarTimeLine-main" }, ce = { class: "HdRadarTimeLine-contr
|
|
|
233
233
|
});
|
|
234
234
|
}), g(() => {
|
|
235
235
|
J(), Y(), document.removeEventListener("click", We), D.value?.removeEventListener("mousedown", Ge);
|
|
236
|
-
}), (
|
|
236
|
+
}), (e, o) => {
|
|
237
237
|
let d = r, f = n, p = i, g = ee;
|
|
238
238
|
return _(), c("div", {
|
|
239
239
|
class: "HdRadarTimeLine",
|
|
@@ -272,10 +272,10 @@ var se = { class: "HdRadarTimeLine-main" }, ce = { class: "HdRadarTimeLine-contr
|
|
|
272
272
|
onClick: je
|
|
273
273
|
}, [l("span", fe, b(Oe.value), 1), l("span", { class: m(["HdRadarTimeLine-dropdownArrow", {
|
|
274
274
|
"HdRadarTimeLine-dropdownArrow--open": A.value,
|
|
275
|
-
"HdRadarTimeLine-dropdownArrow--up":
|
|
275
|
+
"HdRadarTimeLine-dropdownArrow--up": t.dropdownDirection === "up"
|
|
276
276
|
}]) }, "▼", 2)]), ie(l("div", { class: m(["HdRadarTimeLine-dropdownPanel", {
|
|
277
|
-
"HdRadarTimeLine-dropdownPanel--up":
|
|
278
|
-
"HdRadarTimeLine-dropdownPanel--down":
|
|
277
|
+
"HdRadarTimeLine-dropdownPanel--up": t.dropdownDirection === "up",
|
|
278
|
+
"HdRadarTimeLine-dropdownPanel--down": t.dropdownDirection === "down"
|
|
279
279
|
}]) }, [l("div", pe, [P.value.length === 0 ? (_(), c("div", me, " 暂无数据 ")) : (_(!0), c(a, { key: 1 }, y(P.value, (e, t) => (_(), c("div", {
|
|
280
280
|
key: t,
|
|
281
281
|
class: m(["HdRadarTimeLine-dropdownItem", { "HdRadarTimeLine-dropdownItem--active": F.value === e.image_name }]),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./component-Forecast72h-
|
|
1
|
+
import { g as e, p as t } from "./component-Agent-Cm2BEfcV.mjs";
|
|
2
|
+
import "./component-Forecast72h-CU8p9veB.mjs";
|
|
3
3
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
4
4
|
import { Fragment as r, Teleport as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, getCurrentInstance as d, nextTick as f, normalizeClass as p, onMounted as m, onUnmounted as h, openBlock as g, ref as _, renderList as ee, toDisplayString as v, vShow as y, watch as te, withDirectives as b, withModifiers as x } from "vue";
|
|
5
5
|
//#region src/components/HdRisk/HdRisk.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -22,7 +22,7 @@ var ne = {
|
|
|
22
22
|
}, oe = { class: "HdRisk-dialogContent" }, se = { class: "HdRisk-dialogImageWrap" }, ce = ["src"], le = {
|
|
23
23
|
key: 2,
|
|
24
24
|
class: "HdRisk-dialogCounter"
|
|
25
|
-
}, A = /* @__PURE__ */
|
|
25
|
+
}, A = /* @__PURE__ */ t(/* @__PURE__ */ u({
|
|
26
26
|
__name: "HdRisk",
|
|
27
27
|
props: {
|
|
28
28
|
mock: {
|
|
@@ -48,8 +48,8 @@ var ne = {
|
|
|
48
48
|
"removeLayers",
|
|
49
49
|
"selectChange"
|
|
50
50
|
],
|
|
51
|
-
setup(
|
|
52
|
-
let j =
|
|
51
|
+
setup(t, { expose: u, emit: A }) {
|
|
52
|
+
let j = t, M = A, N = d()?.appContext.config.globalProperties.$bus, P = _({
|
|
53
53
|
title: "",
|
|
54
54
|
list: []
|
|
55
55
|
}), F = _(null), I = _(!1), L = _(null), R = _(!1), z = _(!1), B = _(!1), V = _([]), H = _(0), U = _("灾害风险区划"), W = a(() => j.list.length ? j.list : P.value.list), G = () => {
|
|
@@ -102,19 +102,19 @@ var ne = {
|
|
|
102
102
|
list: (j.mockData?.list || []).map(q)
|
|
103
103
|
}, f($);
|
|
104
104
|
}, J = async () => {
|
|
105
|
-
let
|
|
106
|
-
if (!
|
|
105
|
+
let t = j.ids?.data;
|
|
106
|
+
if (!t?.id) {
|
|
107
107
|
console.warn("HdRisk 缺少数据工作流配置");
|
|
108
108
|
return;
|
|
109
109
|
}
|
|
110
110
|
I.value = !0;
|
|
111
111
|
try {
|
|
112
|
-
let n = ye(await
|
|
113
|
-
id:
|
|
112
|
+
let n = ye(await e({
|
|
113
|
+
id: t.id,
|
|
114
114
|
baseHttp: j.baseHttp,
|
|
115
|
-
reqType:
|
|
115
|
+
reqType: t.reqType,
|
|
116
116
|
variables: {},
|
|
117
|
-
isFormData:
|
|
117
|
+
isFormData: t.isFormData,
|
|
118
118
|
appKey: j.appKey,
|
|
119
119
|
appSalt: j.appSalt
|
|
120
120
|
})), r = be(n).map(q);
|