nxd-plugin 1.8.30 → 1.8.32
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-DV3m13Hv.mjs +2 -0
- package/dist/chunks/component-Agent-Cm4CMOGO.mjs +383 -0
- package/dist/chunks/{component-AiChat-COULZNRK.mjs → component-AiChat-HpEVNeXU.mjs} +1082 -1105
- package/dist/chunks/{component-AqiMonitor-C9khnF2x.mjs → component-AqiMonitor-CQB7tv42.mjs} +10 -9
- package/dist/chunks/{component-ChartCumulativePre-CmcRqyrN.mjs → component-ChartCumulativePre-UGMGIaSD.mjs} +8 -7
- package/dist/chunks/{component-ChartServiceMaterial-FwkbU2Z-.mjs → component-ChartServiceMaterial-DYZnc6HE.mjs} +7 -6
- package/dist/chunks/{component-Duty-DhQkYGMU.mjs → component-Duty-CvJFScnU.mjs} +7 -6
- package/dist/chunks/{component-EarlyWarningStatistic-DUjk3de9.mjs → component-EarlyWarningStatistic-D2eRD1Y0.mjs} +7 -6
- package/dist/chunks/{component-EarlyWarningStatistic2-kHvwn4zP.mjs → component-EarlyWarningStatistic2-Duf6s5TU.mjs} +16 -15
- package/dist/chunks/{component-Forecast72h-yd9t3176.mjs → component-Forecast72h-D6kx3ogZ.mjs} +17 -16
- package/dist/chunks/{component-GeologyLiveAlarm-BIDfv4JR.mjs → component-GeologyLiveAlarm-D5rJ_DDm.mjs} +8 -7
- package/dist/chunks/{component-GridForecastMsg-D8dHHVHX.mjs → component-GridForecastMsg-DOx8B4aT.mjs} +9 -8
- package/dist/chunks/{component-HDSeaLegend-DkPk1gQ1.mjs → component-HDSeaLegend-DfaUIAY4.mjs} +2 -2
- package/dist/chunks/{component-HdCameraList-nPxzUdmB.mjs → component-HdCameraList-DFp_aEZB.mjs} +12 -11
- package/dist/chunks/{component-HdFarmStation-BDN_u87-.mjs → component-HdFarmStation-RMkcJKM_.mjs} +12 -11
- package/dist/chunks/{component-HdFarmStationDialog-CMKGe0YJ.mjs → component-HdFarmStationDialog-DXhVyrN-.mjs} +34 -33
- package/dist/chunks/{component-HdForecastProducts-C40qTOYa.mjs → component-HdForecastProducts-Cl7ciBRO.mjs} +11 -10
- package/dist/chunks/{component-HdHeatChart-Bw3VlWeE.mjs → component-HdHeatChart-EDjbIEIa.mjs} +13 -12
- package/dist/chunks/{component-HdHeatChartDialog-C0FfI8Zv.mjs → component-HdHeatChartDialog-CM5JN1_S.mjs} +12 -11
- package/dist/chunks/{component-HdHeatService-CIee1NwQ.mjs → component-HdHeatService-BcBoR9o7.mjs} +35 -34
- package/dist/chunks/{component-HdInsectDetailList-C_T57sID.mjs → component-HdInsectDetailList-BdEF2wR3.mjs} +17 -16
- package/dist/chunks/{component-HdInsectList-Bt48xM1M.mjs → component-HdInsectList-F_CWLwzX.mjs} +19 -18
- package/dist/chunks/{component-HdMajorActivity-CyAgx0og.mjs → component-HdMajorActivity-Cy2eP4St.mjs} +24 -23
- package/dist/chunks/{component-HdObservation-CY8TNPK8.mjs → component-HdObservation-CgjRJNKN.mjs} +11 -10
- package/dist/chunks/{component-HdPreSituation-CLXeQ_lX.mjs → component-HdPreSituation-DCBGp7j2.mjs} +10 -9
- package/dist/chunks/{component-HdQxServiceEffects-CzgyHOgp.mjs → component-HdQxServiceEffects-CbCofLaR.mjs} +11 -10
- package/dist/chunks/{component-HdRadarList--85ldZa2.mjs → component-HdRadarList-DP0CHxT-.mjs} +3 -3
- package/dist/chunks/{component-HdRadarTime-CJ--ljM9.mjs → component-HdRadarTime-KUc6alWx.mjs} +13 -12
- package/dist/chunks/{component-HdRadarTimeLine-jQxaaH8X.mjs → component-HdRadarTimeLine-B-gh24Ms.mjs} +14 -13
- package/dist/chunks/{component-HdRisk-HKXfRnuQ.mjs → component-HdRisk-BNMGDGIZ.mjs} +12 -11
- package/dist/chunks/{component-HdSeaCase-agNgpzcT.mjs → component-HdSeaCase-9zyw68M-.mjs} +27 -26
- package/dist/chunks/{component-HdServiceMarterial-DJA-s67d.mjs → component-HdServiceMarterial-QoHKI3Kn.mjs} +18 -17
- package/dist/chunks/{component-HdServiceRequirements-lXtnq5r2.mjs → component-HdServiceRequirements-BYe-G1Mh.mjs} +14 -13
- package/dist/chunks/{component-HdSoil-BtIq7NXx.mjs → component-HdSoil-B2WiCda3.mjs} +12 -11
- package/dist/chunks/{component-HdSoilDetailList-CxEzu-xk.mjs → component-HdSoilDetailList-Djriq1RD.mjs} +13 -12
- package/dist/chunks/{component-HdStationTem-CRfJb0wr.mjs → component-HdStationTem-Ct2beh9a.mjs} +18 -17
- package/dist/chunks/{component-HdSuggestion-2aFJRsau.mjs → component-HdSuggestion-SDIUMrXC.mjs} +14 -13
- package/dist/chunks/{component-HdThreeWeatherTrend-BWeGlUnt.mjs → component-HdThreeWeatherTrend-PcbYnx-q.mjs} +19 -18
- package/dist/chunks/{component-HdWaveForcast-DgcqZuG9.mjs → component-HdWaveForcast-Bw7vX1xw.mjs} +12 -11
- package/dist/chunks/{component-HighQuality-BNvi5OuR.mjs → component-HighQuality-ByrnjqiE.mjs} +17 -16
- package/dist/chunks/{component-HighWayEarlyWarningRed-DKqRexUr.mjs → component-HighWayEarlyWarningRed-BDgzUMlS.mjs} +17 -16
- package/dist/chunks/{component-HighWayFreeze-X9Lw4CtK.mjs → component-HighWayFreeze-szpetKFY.mjs} +9 -8
- package/dist/chunks/{component-HighwayLiveAlarm-BBXb3nQ-.mjs → component-HighwayLiveAlarm-CSdpFWFe.mjs} +7 -6
- package/dist/chunks/{component-HighwayLiveAlarmNew-DBZgrmS8.mjs → component-HighwayLiveAlarmNew-DbUPTPBH.mjs} +12 -11
- package/dist/chunks/{component-HighwayStations-k3ZCYTAH.mjs → component-HighwayStations-CNtSBBLD.mjs} +7 -6
- package/dist/chunks/{component-HighwayWeatherForecast-BAHrZUA9.mjs → component-HighwayWeatherForecast-oKik_1wG.mjs} +10 -9
- package/dist/chunks/{component-IframeWeb-DVfyMcAT.mjs → component-IframeWeb-KbZ-3_ry.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-QHD-5aqR.mjs → component-ImageGeneration-CZ3MhHFM.mjs} +2 -2
- package/dist/chunks/{component-IntroducePic-DYicnxvR.mjs → component-IntroducePic-unQNI8nA.mjs} +14 -13
- package/dist/chunks/{component-LithiumBatteryMiningArea-Cy9Rjgx5.mjs → component-LithiumBatteryMiningArea-baQ8LJ6A.mjs} +13 -12
- package/dist/chunks/{component-MapPopup-DRakngil.mjs → component-MapPopup-DbxxWkcS.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-C2AS-_sC.mjs → component-MaterialPreview-BopOLX9T.mjs} +6 -5
- package/dist/chunks/{component-PieLegend-DoIRy55w.mjs → component-PieLegend-CxXTe7ex.mjs} +1 -1
- package/dist/chunks/{component-PrecipitationRanking-Cp8wK9V7.mjs → component-PrecipitationRanking-BGDK_Sa9.mjs} +28 -27
- package/dist/chunks/{component-RadarChart-BR1qSBxo.mjs → component-RadarChart-BpISXowv.mjs} +11 -10
- package/dist/chunks/{component-RadarLegend-BOwHlnqR.mjs → component-RadarLegend-pRd2JniW.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-tP7CSL0g.mjs → component-RadarShortTerm-B69JfjsO.mjs} +14 -13
- package/dist/chunks/{component-RadarTime-Dv46BtEz.mjs → component-RadarTime-DAHQlSOH.mjs} +19 -18
- package/dist/chunks/{component-RenderMarkdown-CVp2KsJr.mjs → component-RenderMarkdown-D6YdNtD-.mjs} +7 -6
- package/dist/chunks/{component-ReservoirLiveAlarm-D6SaqJel.mjs → component-ReservoirLiveAlarm-B6lKQPpR.mjs} +9 -8
- package/dist/chunks/{component-ServiceMaterial-B-meX-St.mjs → component-ServiceMaterial-BrKn201l.mjs} +10 -9
- package/dist/chunks/{component-ServiceMaterialsBtn-DYzPuzq_.mjs → component-ServiceMaterialsBtn-BHd4-_Wn.mjs} +2 -2
- package/dist/chunks/{component-StationDialog-CnAIJZcL.mjs → component-StationDialog-BrhC-iYT.mjs} +10 -9
- package/dist/chunks/{component-StationList-DvHUcP8A.mjs → component-StationList-5XxBSNXb.mjs} +10 -9
- package/dist/chunks/{component-TimeBasedForecast-DP7ZYRQB.mjs → component-TimeBasedForecast-Cw3a4ZdW.mjs} +11 -10
- package/dist/chunks/{component-Typhoon-46xEbA06.mjs → component-Typhoon-D1YFBv4l.mjs} +3 -2
- package/dist/chunks/{component-WarningLine-BzedbVnZ.mjs → component-WarningLine-BtNfoWBe.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-CSF12lq7.mjs → component-WarningSignal-CXlDQXr1.mjs} +18 -17
- package/dist/chunks/{component-WeatherForecast-BhGvmaMS.mjs → component-WeatherForecast-Dw_jpaZR.mjs} +17 -16
- package/dist/chunks/{component-YCDataMonitor-sg_93erW.mjs → component-YCDataMonitor-cYVY91FD.mjs} +17 -16
- package/dist/chunks/{component-YCDataService-CwOGPL98.mjs → component-YCDataService-t-d9yqyl.mjs} +11 -10
- package/dist/chunks/{component-YCHighWaySummary-CvoowBjy.mjs → component-YCHighWaySummary-CjhQdaUL.mjs} +8 -7
- package/dist/chunks/{component-YCHome-DRIi7AIB.mjs → component-YCHome-BAIB6FD-.mjs} +63 -62
- package/dist/chunks/{component-YCHomeLegend-0aeWXs2n.mjs → component-YCHomeLegend-cK6bLLGC.mjs} +2 -2
- package/dist/chunks/{component-YCLoginNew-BEoGLgtQ.mjs → component-YCLoginNew-yMFBtscQ.mjs} +15 -14
- package/dist/chunks/{component-YCServiceSummary-Dab20ncm.mjs → component-YCServiceSummary-CBxoEh_S.mjs} +162 -161
- package/dist/components/Agent/Agent.vue.d.ts +12 -0
- package/dist/index.d.ts +2 -1
- package/dist/nxd-plugin.mjs +75 -75
- package/dist/styles/component-Agent.css +1 -0
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/YCServiceSummary-Dx2AlXiv.mjs +0 -2
package/dist/chunks/{component-HdInsectList-Bt48xM1M.mjs → component-HdInsectList-F_CWLwzX.mjs}
RENAMED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as e } from "./component-AiChat-HpEVNeXU.mjs";
|
|
2
|
+
import { c as t } from "./component-Agent-Cm4CMOGO.mjs";
|
|
2
3
|
import { ElLoadingDirective as n, ElTable as r, ElTableColumn as i } from "element-plus/es";
|
|
3
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, 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
5
|
import "element-plus/dist/index.css";
|
|
@@ -18,7 +19,7 @@ var w = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALIAAACyCAMAAADRVGVaAAAAA
|
|
|
18
19
|
}, 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
20
|
key: 0,
|
|
20
21
|
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__ */
|
|
22
|
+
}, 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
23
|
__name: "HdInsectList",
|
|
23
24
|
props: {
|
|
24
25
|
baseHttp: { default: "" },
|
|
@@ -38,8 +39,8 @@ var w = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALIAAACyCAMAAADRVGVaAAAAA
|
|
|
38
39
|
"markerClick",
|
|
39
40
|
"clearMarker"
|
|
40
41
|
],
|
|
41
|
-
setup(
|
|
42
|
-
let N = h()?.appContext.config.globalProperties.$bus, P =
|
|
42
|
+
setup(t, { expose: m, emit: w }) {
|
|
43
|
+
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
44
|
R.value = !0, J();
|
|
44
45
|
}, Ee = () => {
|
|
45
46
|
R.value = !1;
|
|
@@ -65,28 +66,28 @@ var w = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALIAAACyCAMAAADRVGVaAAAAA
|
|
|
65
66
|
prevention: i?.nr || "暂无"
|
|
66
67
|
};
|
|
67
68
|
});
|
|
68
|
-
}, Oe = async (
|
|
69
|
+
}, Oe = async (t) => {
|
|
69
70
|
let n = P.ids?.guidence;
|
|
70
71
|
if (!n?.id) {
|
|
71
72
|
console.warn("HdInsectList 缺少指导意见工作流配置");
|
|
72
73
|
return;
|
|
73
74
|
}
|
|
74
75
|
try {
|
|
75
|
-
let r = q(await
|
|
76
|
+
let r = q(await e({
|
|
76
77
|
id: n.id,
|
|
77
78
|
baseHttp: P.baseHttp,
|
|
78
79
|
reqType: n.reqType,
|
|
79
|
-
variables: { msName:
|
|
80
|
+
variables: { msName: t.msName || t.stationName },
|
|
80
81
|
isFormData: n.isFormData,
|
|
81
82
|
appKey: P.appKey,
|
|
82
83
|
appSalt: P.appSalt
|
|
83
84
|
})), i = (Array.isArray(r) ? r : r?.data || [])[0] || {};
|
|
84
85
|
H.value = {
|
|
85
|
-
...
|
|
86
|
+
...t,
|
|
86
87
|
guidance: De(i)
|
|
87
88
|
};
|
|
88
|
-
} catch (
|
|
89
|
-
console.error("HdInsectList 指导意见加载失败",
|
|
89
|
+
} catch (e) {
|
|
90
|
+
console.error("HdInsectList 指导意见加载失败", e), H.value = t;
|
|
90
91
|
}
|
|
91
92
|
}, ke = async (e) => {
|
|
92
93
|
V.value = 0, z.value = !0, await Oe(e), I("openGuidance", e);
|
|
@@ -125,18 +126,18 @@ var w = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALIAAACyCAMAAADRVGVaAAAAA
|
|
|
125
126
|
};
|
|
126
127
|
async function J() {
|
|
127
128
|
F.value = !0;
|
|
128
|
-
let
|
|
129
|
-
if (!
|
|
129
|
+
let t = P.ids.data;
|
|
130
|
+
if (!t?.id) {
|
|
130
131
|
console.warn("HdInsectList 缺少数据工作流配置");
|
|
131
132
|
return;
|
|
132
133
|
}
|
|
133
134
|
try {
|
|
134
|
-
let n = await
|
|
135
|
-
id:
|
|
135
|
+
let n = await e({
|
|
136
|
+
id: t.id,
|
|
136
137
|
baseHttp: P.baseHttp,
|
|
137
|
-
reqType:
|
|
138
|
+
reqType: t.reqType,
|
|
138
139
|
variables: {},
|
|
139
|
-
isFormData:
|
|
140
|
+
isFormData: t.isFormData,
|
|
140
141
|
appKey: P.appKey,
|
|
141
142
|
appSalt: P.appSalt
|
|
142
143
|
});
|
|
@@ -233,7 +234,7 @@ var w = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALIAAACyCAMAAADRVGVaAAAAA
|
|
|
233
234
|
}, $ = () => {
|
|
234
235
|
L &&= (clearInterval(L), null);
|
|
235
236
|
};
|
|
236
|
-
return m({ clearMarkers: X }), (
|
|
237
|
+
return m({ clearMarkers: X }), (e, s) => {
|
|
237
238
|
let m = i, h = r, _ = n;
|
|
238
239
|
return v(), u("div", ae, [
|
|
239
240
|
d("div", {
|
|
@@ -241,7 +242,7 @@ var w = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALIAAACyCAMAAADRVGVaAAAAA
|
|
|
241
242
|
onClick: Te
|
|
242
243
|
}, [d("img", {
|
|
243
244
|
class: "HdInsectList-triggerImg",
|
|
244
|
-
src:
|
|
245
|
+
src: t.triggerImg,
|
|
245
246
|
alt: "虫情列表"
|
|
246
247
|
}, null, 8, oe)]),
|
|
247
248
|
(v(), c(o, { to: "body" }, [R.value ? (v(), u("div", se, [d("div", ce, [d("div", le, [
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./component-
|
|
1
|
+
import { a as e } from "./component-AiChat-HpEVNeXU.mjs";
|
|
2
|
+
import { c as t } from "./component-Agent-Cm4CMOGO.mjs";
|
|
3
|
+
import "./component-Forecast72h-D6kx3ogZ.mjs";
|
|
3
4
|
import { ElCarousel as n, ElCarouselItem as r, ElDatePicker as i, ElImageViewer as ee, ElLoadingDirective as te } from "element-plus/es";
|
|
4
5
|
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
6
|
import * as ie from "echarts";
|
|
@@ -41,7 +42,7 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
41
42
|
}, 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
43
|
key: 0,
|
|
43
44
|
class: "HdMajorActivity-popupLoading"
|
|
44
|
-
}, ot = { key: 1 }, st = { class: "HdMajorActivity-popupTableWrap" }, ct = { class: "HdMajorActivity-popupTable" }, lt = { key: 0 }, ut = /* @__PURE__ */
|
|
45
|
+
}, ot = { key: 1 }, st = { class: "HdMajorActivity-popupTableWrap" }, ct = { class: "HdMajorActivity-popupTable" }, lt = { key: 0 }, ut = /* @__PURE__ */ t(/* @__PURE__ */ p({
|
|
45
46
|
__name: "HdMajorActivity",
|
|
46
47
|
props: {
|
|
47
48
|
mock: {
|
|
@@ -70,8 +71,8 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
70
71
|
"removeLayer",
|
|
71
72
|
"mapView"
|
|
72
73
|
],
|
|
73
|
-
setup(
|
|
74
|
-
let dt = (/* @__PURE__ */ new Date()).getFullYear(), ft = dt - 20, pt = dt + 10, C =
|
|
74
|
+
setup(t, { expose: p, emit: ut }) {
|
|
75
|
+
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
76
|
{
|
|
76
77
|
key: "temperature",
|
|
77
78
|
label: "温度",
|
|
@@ -325,19 +326,19 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
325
326
|
if (!t || typeof t != "object") return [];
|
|
326
327
|
let n = Array.isArray(t.situationData) ? t.situationData : [], r = Array.isArray(t.forecastData) ? t.forecastData : [];
|
|
327
328
|
return [...n.map(Lt), ...r.map(Rt)].sort((e, t) => new Date(e.time).getTime() - new Date(t.time).getTime());
|
|
328
|
-
}, Bt = async (
|
|
329
|
+
}, Bt = async (t) => {
|
|
329
330
|
let n = Q("realTime");
|
|
330
|
-
if (!(!n || !
|
|
331
|
+
if (!(!n || !t.station_id)) {
|
|
331
332
|
M.value = !0;
|
|
332
333
|
try {
|
|
333
|
-
P.value = It($(await
|
|
334
|
+
P.value = It($(await e({
|
|
334
335
|
id: n.id,
|
|
335
336
|
baseHttp: C.baseHttp,
|
|
336
337
|
reqType: n.reqType,
|
|
337
338
|
variables: {
|
|
338
|
-
[C.stationField]:
|
|
339
|
-
[C.timeStartField]:
|
|
340
|
-
[C.timeEndField]:
|
|
339
|
+
[C.stationField]: t.station_id,
|
|
340
|
+
[C.timeStartField]: t.start_time,
|
|
341
|
+
[C.timeEndField]: t.end_time
|
|
341
342
|
},
|
|
342
343
|
isFormData: n.isFormData,
|
|
343
344
|
appKey: C.appKey,
|
|
@@ -348,19 +349,19 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
348
349
|
}
|
|
349
350
|
M.value = !1;
|
|
350
351
|
}
|
|
351
|
-
}, Vt = async (
|
|
352
|
+
}, Vt = async (t) => {
|
|
352
353
|
let n = Q("timeSeries");
|
|
353
|
-
if (!(!n || !
|
|
354
|
+
if (!(!n || !t.station_id)) {
|
|
354
355
|
N.value = !0;
|
|
355
356
|
try {
|
|
356
|
-
F.value = zt($(await
|
|
357
|
+
F.value = zt($(await e({
|
|
357
358
|
id: n.id,
|
|
358
359
|
baseHttp: C.baseHttp,
|
|
359
360
|
reqType: n.reqType,
|
|
360
361
|
variables: {
|
|
361
|
-
[C.stationField]:
|
|
362
|
-
[C.timeStartField]:
|
|
363
|
-
[C.timeEndField]:
|
|
362
|
+
[C.stationField]: t.station_id,
|
|
363
|
+
[C.timeStartField]: t.start_time,
|
|
364
|
+
[C.timeEndField]: t.end_time
|
|
364
365
|
},
|
|
365
366
|
isFormData: n.isFormData,
|
|
366
367
|
appKey: C.appKey,
|
|
@@ -504,18 +505,18 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
504
505
|
station_id: "54943"
|
|
505
506
|
}];
|
|
506
507
|
}, Kt = async () => {
|
|
507
|
-
let
|
|
508
|
-
if (!
|
|
508
|
+
let t = Q("data");
|
|
509
|
+
if (!t) {
|
|
509
510
|
console.warn("HdMajorActivity 缺少工作流配置");
|
|
510
511
|
return;
|
|
511
512
|
}
|
|
512
513
|
try {
|
|
513
|
-
let n = $(await
|
|
514
|
-
id:
|
|
514
|
+
let n = $(await e({
|
|
515
|
+
id: t.id,
|
|
515
516
|
baseHttp: C.baseHttp,
|
|
516
|
-
reqType:
|
|
517
|
+
reqType: t.reqType,
|
|
517
518
|
variables: Wt(),
|
|
518
|
-
isFormData:
|
|
519
|
+
isFormData: t.isFormData,
|
|
519
520
|
appKey: C.appKey,
|
|
520
521
|
appSalt: C.appSalt
|
|
521
522
|
}));
|
package/dist/chunks/{component-HdObservation-CY8TNPK8.mjs → component-HdObservation-CgjRJNKN.mjs}
RENAMED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import "./component-
|
|
4
|
-
import
|
|
2
|
+
import { a as t } from "./component-AiChat-HpEVNeXU.mjs";
|
|
3
|
+
import { c as n } from "./component-Agent-Cm4CMOGO.mjs";
|
|
4
|
+
import "./component-Forecast72h-D6kx3ogZ.mjs";
|
|
5
|
+
import { n as r } from "./component-HdFarmStationDialog-DXhVyrN-.mjs";
|
|
5
6
|
import { ElIcon as i, ElLoadingDirective as a, ElOption as o, ElSelect as s } from "element-plus/es";
|
|
6
7
|
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
8
|
import { Download as ue } from "@element-plus/icons-vue";
|
|
@@ -15,7 +16,7 @@ var fe = /* @__PURE__ */ e(r()), pe = {
|
|
|
15
16
|
}, me = { class: "HdObservation-header" }, he = { class: "HdObservation-headerContent" }, ge = {
|
|
16
17
|
key: 0,
|
|
17
18
|
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__ */
|
|
19
|
+
}, _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
20
|
__name: "HdObservation",
|
|
20
21
|
props: {
|
|
21
22
|
mock: {
|
|
@@ -51,9 +52,9 @@ var fe = /* @__PURE__ */ e(r()), pe = {
|
|
|
51
52
|
}) }
|
|
52
53
|
},
|
|
53
54
|
emits: ["close"],
|
|
54
|
-
setup(e, { emit:
|
|
55
|
+
setup(e, { emit: n }) {
|
|
55
56
|
re()?.appContext.config.globalProperties.$bus;
|
|
56
|
-
let r = e, p =
|
|
57
|
+
let r = e, p = n, P = [
|
|
57
58
|
{
|
|
58
59
|
label: "温度",
|
|
59
60
|
value: "温度",
|
|
@@ -248,13 +249,13 @@ var fe = /* @__PURE__ */ e(r()), pe = {
|
|
|
248
249
|
return;
|
|
249
250
|
}
|
|
250
251
|
try {
|
|
251
|
-
let
|
|
252
|
-
I.value === 1 ?
|
|
253
|
-
let i = await
|
|
252
|
+
let n = { realTime: I.value };
|
|
253
|
+
I.value === 1 ? n.elementType = L.value : n.dayElementType = L.value;
|
|
254
|
+
let i = await t({
|
|
254
255
|
id: e.id,
|
|
255
256
|
baseHttp: r.baseHttp,
|
|
256
257
|
reqType: e.reqType,
|
|
257
|
-
variables:
|
|
258
|
+
variables: n,
|
|
258
259
|
isFormData: e.isFormData,
|
|
259
260
|
appKey: r.appKey,
|
|
260
261
|
appSalt: r.appSalt
|
package/dist/chunks/{component-HdPreSituation-CLXeQ_lX.mjs → component-HdPreSituation-DCBGp7j2.mjs}
RENAMED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import "./component-
|
|
4
|
-
import
|
|
2
|
+
import { a as t } from "./component-AiChat-HpEVNeXU.mjs";
|
|
3
|
+
import { c as n } from "./component-Agent-Cm4CMOGO.mjs";
|
|
4
|
+
import "./component-Forecast72h-D6kx3ogZ.mjs";
|
|
5
|
+
import { n as r } from "./component-HdFarmStationDialog-DXhVyrN-.mjs";
|
|
5
6
|
import { ElConfigProvider as i, ElDatePicker as a, ElIcon as ee, ElLoadingDirective as te, ElOption as ne, ElSelect as re, ElTable as ie, ElTableColumn as ae } from "element-plus/es";
|
|
6
7
|
import { Fragment as o, computed as s, createBlock as oe, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, getCurrentInstance as p, nextTick as m, normalizeClass as se, normalizeStyle as h, onBeforeUnmount as g, onMounted as _, openBlock as v, ref as y, renderList as b, toDisplayString as x, unref as S, watch as ce, withCtx as C, withDirectives as le } from "vue";
|
|
7
8
|
import { Download as ue, TrendCharts as de } from "@element-plus/icons-vue";
|
|
@@ -19,7 +20,7 @@ var me = /* @__PURE__ */ e(r()), he = {
|
|
|
19
20
|
}, 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
21
|
key: 0,
|
|
21
22
|
class: "HdPreSituation-trendMask"
|
|
22
|
-
}, Ie = { class: "HdPreSituation-trendPopup" }, Le = { class: "HdPreSituation-trendHeader" }, Re = { class: "HdPreSituation-trendActions" }, ze = { class: "HdPreSituation-trendThreshold" }, T = /* @__PURE__ */
|
|
23
|
+
}, Ie = { class: "HdPreSituation-trendPopup" }, Le = { class: "HdPreSituation-trendHeader" }, Re = { class: "HdPreSituation-trendActions" }, ze = { class: "HdPreSituation-trendThreshold" }, T = /* @__PURE__ */ n(/* @__PURE__ */ f({
|
|
23
24
|
__name: "HdPreSituation",
|
|
24
25
|
props: {
|
|
25
26
|
mock: {
|
|
@@ -57,8 +58,8 @@ var me = /* @__PURE__ */ e(r()), he = {
|
|
|
57
58
|
}) }
|
|
58
59
|
},
|
|
59
60
|
emits: ["close", "locate"],
|
|
60
|
-
setup(e, { emit:
|
|
61
|
-
let r = p()?.appContext.config.globalProperties.$bus, f = e, T =
|
|
61
|
+
setup(e, { emit: n }) {
|
|
62
|
+
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
63
|
{
|
|
63
64
|
key: "lightRain",
|
|
64
65
|
label: "小雨",
|
|
@@ -217,14 +218,14 @@ var me = /* @__PURE__ */ e(r()), he = {
|
|
|
217
218
|
return;
|
|
218
219
|
}
|
|
219
220
|
O.value || q();
|
|
220
|
-
let
|
|
221
|
+
let n = O.value, r = Be.value;
|
|
221
222
|
try {
|
|
222
|
-
let i = Qe(await
|
|
223
|
+
let i = Qe(await t({
|
|
223
224
|
id: e.id,
|
|
224
225
|
baseHttp: f.baseHttp,
|
|
225
226
|
reqType: e.reqType,
|
|
226
227
|
variables: {
|
|
227
|
-
startDate:
|
|
228
|
+
startDate: n || "",
|
|
228
229
|
endDate: r || ""
|
|
229
230
|
},
|
|
230
231
|
isFormData: e.isFormData,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as e } from "./component-AiChat-HpEVNeXU.mjs";
|
|
2
|
+
import { c as t } from "./component-Agent-Cm4CMOGO.mjs";
|
|
2
3
|
import { Fragment as n, computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, getCurrentInstance as c, nextTick as l, normalizeStyle as u, onMounted as d, onUnmounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, watch as _ } from "vue";
|
|
3
4
|
import * as v from "echarts";
|
|
4
5
|
//#region src/components/HdQxServiceEffects/HdQxServiceEffects.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -8,7 +9,7 @@ var y = { class: "HdQxServiceEffects" }, b = { class: "HdQxServiceEffect" }, x =
|
|
|
8
9
|
}, w = { class: "HdQxServiceEffect-summaryLabel" }, T = {
|
|
9
10
|
key: 0,
|
|
10
11
|
class: "HdQxServiceEffect-summaryUnit"
|
|
11
|
-
}, E = { class: "HdQxServiceEffect-chartTitle" }, D = /* @__PURE__ */
|
|
12
|
+
}, E = { class: "HdQxServiceEffect-chartTitle" }, D = /* @__PURE__ */ t(/* @__PURE__ */ s({
|
|
12
13
|
__name: "HdQxServiceEffects",
|
|
13
14
|
props: {
|
|
14
15
|
mock: {
|
|
@@ -85,8 +86,8 @@ var y = { class: "HdQxServiceEffects" }, b = { class: "HdQxServiceEffect" }, x =
|
|
|
85
86
|
}) }
|
|
86
87
|
},
|
|
87
88
|
emits: ["close"],
|
|
88
|
-
setup(
|
|
89
|
-
let D = c()?.appContext.config.globalProperties.$bus, O =
|
|
89
|
+
setup(t, { emit: s }) {
|
|
90
|
+
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
91
|
k("close", "HdQxServiceEffects");
|
|
91
92
|
}, B = (e, t) => {
|
|
92
93
|
e && (N.value[t] = e);
|
|
@@ -192,18 +193,18 @@ var y = { class: "HdQxServiceEffects" }, b = { class: "HdQxServiceEffect" }, x =
|
|
|
192
193
|
let e = O.mockData || {};
|
|
193
194
|
A.value = e.title || "", j.value = e.summary || [], M.value = e.charts || [];
|
|
194
195
|
}, K = async () => {
|
|
195
|
-
let
|
|
196
|
-
if (!
|
|
196
|
+
let t = O.ids.data;
|
|
197
|
+
if (!t?.id) {
|
|
197
198
|
console.warn("HdQxServiceEffects 缺少数据工作流配置");
|
|
198
199
|
return;
|
|
199
200
|
}
|
|
200
201
|
try {
|
|
201
|
-
let n = W(await
|
|
202
|
-
id:
|
|
202
|
+
let n = W(await e({
|
|
203
|
+
id: t.id,
|
|
203
204
|
baseHttp: O.baseHttp,
|
|
204
|
-
reqType:
|
|
205
|
+
reqType: t.reqType,
|
|
205
206
|
variables: {},
|
|
206
|
-
isFormData:
|
|
207
|
+
isFormData: t.isFormData,
|
|
207
208
|
appKey: O.appKey,
|
|
208
209
|
appSalt: O.appSalt
|
|
209
210
|
}));
|
package/dist/chunks/{component-HdRadarList--85ldZa2.mjs → component-HdRadarList-DP0CHxT-.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./component-Forecast72h-
|
|
1
|
+
import { c as e } from "./component-Agent-Cm4CMOGO.mjs";
|
|
2
|
+
import "./component-Forecast72h-D6kx3ogZ.mjs";
|
|
3
3
|
import { ElIcon as t } from "element-plus/es";
|
|
4
4
|
import { Fragment as n, computed as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, getCurrentInstance as c, normalizeClass as l, onMounted as u, openBlock as d, ref as f, renderList as p, toDisplayString as m, unref as h, watch as g, withCtx as _ } from "vue";
|
|
5
5
|
import { EditPen as v } from "@element-plus/icons-vue";
|
|
@@ -108,7 +108,7 @@ var x = { class: "HdRadarList" }, S = { class: "HdRadarList-header" }, C = { cla
|
|
|
108
108
|
return;
|
|
109
109
|
}
|
|
110
110
|
try {
|
|
111
|
-
let { default: t } = await import("./component-AiChat-
|
|
111
|
+
let { default: t } = await import("./component-AiChat-HpEVNeXU.mjs").then((e) => e.s), n = B(await t({
|
|
112
112
|
id: e.id,
|
|
113
113
|
baseHttp: A.baseHttp,
|
|
114
114
|
reqType: e.reqType,
|
package/dist/chunks/{component-HdRadarTime-CJ--ljM9.mjs → component-HdRadarTime-KUc6alWx.mjs}
RENAMED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as e } from "./component-AiChat-HpEVNeXU.mjs";
|
|
2
|
+
import { c as t } from "./component-Agent-Cm4CMOGO.mjs";
|
|
2
3
|
import { ElCheckbox as n, ElConfigProvider as r, ElDatePicker as i, ElLoadingDirective as a, ElOption as o, ElSelect as s } from "element-plus/es";
|
|
3
4
|
import { Fragment as c, computed as l, createBlock as ee, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as te, createVNode as p, defineComponent as m, getCurrentInstance as h, nextTick as ne, normalizeClass as g, normalizeStyle as _, onBeforeUnmount as v, onMounted as y, openBlock as b, ref as x, renderList as S, toDisplayString as C, unref as re, vShow as ie, watch as w, withCtx as T, withDirectives as E, withModifiers as ae } from "vue";
|
|
4
5
|
import "element-plus/dist/index.css";
|
|
@@ -21,7 +22,7 @@ var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" },
|
|
|
21
22
|
height: "16",
|
|
22
23
|
viewBox: "0 0 24 24",
|
|
23
24
|
fill: "#fff"
|
|
24
|
-
}, Te = { class: "HdRadarTime-trackBg" }, Ee = { class: "HdRadarTime-ticks" }, De = ["onClick"], Oe = 1e3, D = /* @__PURE__ */
|
|
25
|
+
}, Te = { class: "HdRadarTime-trackBg" }, Ee = { class: "HdRadarTime-ticks" }, De = ["onClick"], Oe = 1e3, D = /* @__PURE__ */ t(/* @__PURE__ */ m({
|
|
25
26
|
__name: "HdRadarTime",
|
|
26
27
|
props: {
|
|
27
28
|
mock: {
|
|
@@ -85,8 +86,8 @@ var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" },
|
|
|
85
86
|
"legendChange",
|
|
86
87
|
"gridChange"
|
|
87
88
|
],
|
|
88
|
-
setup(
|
|
89
|
-
let D = h()?.appContext.config.globalProperties.$bus, O =
|
|
89
|
+
setup(t, { emit: m }) {
|
|
90
|
+
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
91
|
.5,
|
|
91
92
|
1,
|
|
92
93
|
1.5,
|
|
@@ -207,11 +208,11 @@ var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" },
|
|
|
207
208
|
}, 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
209
|
let t = O.ids[e];
|
|
209
210
|
return t?.id ? t : null;
|
|
210
|
-
}, Z = async (
|
|
211
|
-
let r = $e(
|
|
211
|
+
}, Z = async (t, n = {}) => {
|
|
212
|
+
let r = $e(t);
|
|
212
213
|
if (!r) return null;
|
|
213
214
|
try {
|
|
214
|
-
return Qe(await
|
|
215
|
+
return Qe(await e({
|
|
215
216
|
id: r.id,
|
|
216
217
|
baseHttp: O.baseHttp,
|
|
217
218
|
reqType: r.reqType,
|
|
@@ -220,8 +221,8 @@ var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" },
|
|
|
220
221
|
appKey: O.appKey,
|
|
221
222
|
appSalt: O.appSalt
|
|
222
223
|
}));
|
|
223
|
-
} catch (
|
|
224
|
-
return console.error(`[HdRadarTime] request ${
|
|
224
|
+
} catch (e) {
|
|
225
|
+
return console.error(`[HdRadarTime] request ${t} failed:`, e), null;
|
|
225
226
|
}
|
|
226
227
|
}, Q = async () => {
|
|
227
228
|
U.value = !0;
|
|
@@ -369,7 +370,7 @@ var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" },
|
|
|
369
370
|
}), Q();
|
|
370
371
|
}), v(() => {
|
|
371
372
|
document.removeEventListener("click", Ve), j.value?.removeEventListener("mousedown", Ye), X();
|
|
372
|
-
}), (
|
|
373
|
+
}), (e, l) => {
|
|
373
374
|
let m = i, h = r, ne = n, v = o, y = s, x = a;
|
|
374
375
|
return E((b(), d("div", {
|
|
375
376
|
class: "HdRadarTime",
|
|
@@ -420,7 +421,7 @@ var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" },
|
|
|
420
421
|
key: e,
|
|
421
422
|
style: _({ left: e / je.value * 100 + "%" })
|
|
422
423
|
}, C(e), 5))), 128))])])]),
|
|
423
|
-
f("div", be, [
|
|
424
|
+
f("div", be, [t.showGrid && Y.value ? (b(), ee(ne, {
|
|
424
425
|
key: 0,
|
|
425
426
|
modelValue: F.value,
|
|
426
427
|
"onUpdate:modelValue": l[2] ||= (e) => F.value = e,
|
|
@@ -478,7 +479,7 @@ var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" },
|
|
|
478
479
|
class: "HdRadarTime-indicator",
|
|
479
480
|
style: _({ left: Pe.value + "%" })
|
|
480
481
|
}, null, 4),
|
|
481
|
-
|
|
482
|
+
t.showCurrentTime && J.value ? (b(), d("div", {
|
|
482
483
|
key: 0,
|
|
483
484
|
class: "HdRadarTime-currentTime",
|
|
484
485
|
style: _({ left: Pe.value + "%" })
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as e } from "./component-AiChat-HpEVNeXU.mjs";
|
|
2
|
+
import { c as t } from "./component-Agent-Cm4CMOGO.mjs";
|
|
2
3
|
import { ElConfigProvider as n, ElDatePicker as r, ElOption as i, ElSelect as ee } from "element-plus/es";
|
|
3
4
|
import { Fragment as a, computed as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, nextTick as p, normalizeClass as m, normalizeStyle as h, onBeforeUnmount as g, onMounted as te, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as ne, vShow as re, watch as x, withCtx as S, withDirectives as ie, withModifiers as ae } from "vue";
|
|
4
5
|
import "element-plus/es/components/select/style/css";
|
|
@@ -27,7 +28,7 @@ var se = { class: "HdRadarTimeLine-main" }, ce = { class: "HdRadarTimeLine-contr
|
|
|
27
28
|
height: "16",
|
|
28
29
|
viewBox: "0 0 24 24",
|
|
29
30
|
fill: "#fff"
|
|
30
|
-
}, we = { class: "HdRadarTimeLine-ticks" }, Te = ["onClick"], Ee = 1e3, C = /* @__PURE__ */
|
|
31
|
+
}, we = { class: "HdRadarTimeLine-ticks" }, Te = ["onClick"], Ee = 1e3, C = /* @__PURE__ */ t(/* @__PURE__ */ d({
|
|
31
32
|
__name: "HdRadarTimeLine",
|
|
32
33
|
props: {
|
|
33
34
|
mock: {
|
|
@@ -51,8 +52,8 @@ var se = { class: "HdRadarTimeLine-main" }, ce = { class: "HdRadarTimeLine-contr
|
|
|
51
52
|
"addImage",
|
|
52
53
|
"clearImage"
|
|
53
54
|
],
|
|
54
|
-
setup(
|
|
55
|
-
let C = f()?.appContext.config.globalProperties.$bus, w =
|
|
55
|
+
setup(t, { emit: d }) {
|
|
56
|
+
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
57
|
.5,
|
|
57
58
|
1,
|
|
58
59
|
1.5,
|
|
@@ -163,11 +164,11 @@ var se = { class: "HdRadarTimeLine-main" }, ce = { class: "HdRadarTimeLine-contr
|
|
|
163
164
|
}, 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
165
|
let t = w.ids?.[e];
|
|
165
166
|
return t?.id ? t : null;
|
|
166
|
-
}, Z = async (
|
|
167
|
-
let r = Je(
|
|
167
|
+
}, Z = async (t, n = {}) => {
|
|
168
|
+
let r = Je(t);
|
|
168
169
|
if (!r) return null;
|
|
169
170
|
try {
|
|
170
|
-
return qe(await
|
|
171
|
+
return qe(await e({
|
|
171
172
|
id: r.id,
|
|
172
173
|
baseHttp: w.baseHttp,
|
|
173
174
|
reqType: r.reqType,
|
|
@@ -176,8 +177,8 @@ var se = { class: "HdRadarTimeLine-main" }, ce = { class: "HdRadarTimeLine-contr
|
|
|
176
177
|
appKey: w.appKey,
|
|
177
178
|
appSalt: w.appSalt
|
|
178
179
|
}));
|
|
179
|
-
} catch (
|
|
180
|
-
return console.error(`[HdRadarTimeLine] request ${
|
|
180
|
+
} catch (e) {
|
|
181
|
+
return console.error(`[HdRadarTimeLine] request ${t} failed:`, e), null;
|
|
181
182
|
}
|
|
182
183
|
}, Q = (e, t) => {
|
|
183
184
|
let n = e.image_paths;
|
|
@@ -233,7 +234,7 @@ var se = { class: "HdRadarTimeLine-main" }, ce = { class: "HdRadarTimeLine-contr
|
|
|
233
234
|
});
|
|
234
235
|
}), g(() => {
|
|
235
236
|
J(), Y(), document.removeEventListener("click", We), D.value?.removeEventListener("mousedown", Ge);
|
|
236
|
-
}), (
|
|
237
|
+
}), (e, o) => {
|
|
237
238
|
let d = r, f = n, p = i, g = ee;
|
|
238
239
|
return _(), c("div", {
|
|
239
240
|
class: "HdRadarTimeLine",
|
|
@@ -272,10 +273,10 @@ var se = { class: "HdRadarTimeLine-main" }, ce = { class: "HdRadarTimeLine-contr
|
|
|
272
273
|
onClick: je
|
|
273
274
|
}, [l("span", fe, b(Oe.value), 1), l("span", { class: m(["HdRadarTimeLine-dropdownArrow", {
|
|
274
275
|
"HdRadarTimeLine-dropdownArrow--open": A.value,
|
|
275
|
-
"HdRadarTimeLine-dropdownArrow--up":
|
|
276
|
+
"HdRadarTimeLine-dropdownArrow--up": t.dropdownDirection === "up"
|
|
276
277
|
}]) }, "▼", 2)]), ie(l("div", { class: m(["HdRadarTimeLine-dropdownPanel", {
|
|
277
|
-
"HdRadarTimeLine-dropdownPanel--up":
|
|
278
|
-
"HdRadarTimeLine-dropdownPanel--down":
|
|
278
|
+
"HdRadarTimeLine-dropdownPanel--up": t.dropdownDirection === "up",
|
|
279
|
+
"HdRadarTimeLine-dropdownPanel--down": t.dropdownDirection === "down"
|
|
279
280
|
}]) }, [l("div", pe, [P.value.length === 0 ? (_(), c("div", me, " 暂无数据 ")) : (_(!0), c(a, { key: 1 }, y(P.value, (e, t) => (_(), c("div", {
|
|
280
281
|
key: t,
|
|
281
282
|
class: m(["HdRadarTimeLine-dropdownItem", { "HdRadarTimeLine-dropdownItem--active": F.value === e.image_name }]),
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./component-
|
|
1
|
+
import { a as e } from "./component-AiChat-HpEVNeXU.mjs";
|
|
2
|
+
import { c as t } from "./component-Agent-Cm4CMOGO.mjs";
|
|
3
|
+
import "./component-Forecast72h-D6kx3ogZ.mjs";
|
|
3
4
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
4
5
|
import { Fragment as r, Teleport as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, getCurrentInstance as d, 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
6
|
//#region src/components/HdRisk/HdRisk.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -22,7 +23,7 @@ var ne = {
|
|
|
22
23
|
}, oe = { class: "HdRisk-dialogContent" }, se = { class: "HdRisk-dialogImageWrap" }, ce = ["src"], le = {
|
|
23
24
|
key: 2,
|
|
24
25
|
class: "HdRisk-dialogCounter"
|
|
25
|
-
}, A = /* @__PURE__ */
|
|
26
|
+
}, A = /* @__PURE__ */ t(/* @__PURE__ */ u({
|
|
26
27
|
__name: "HdRisk",
|
|
27
28
|
props: {
|
|
28
29
|
mock: {
|
|
@@ -48,8 +49,8 @@ var ne = {
|
|
|
48
49
|
"removeLayers",
|
|
49
50
|
"selectChange"
|
|
50
51
|
],
|
|
51
|
-
setup(
|
|
52
|
-
let j =
|
|
52
|
+
setup(t, { expose: u, emit: A }) {
|
|
53
|
+
let j = t, M = A, N = d()?.appContext.config.globalProperties.$bus, P = _({
|
|
53
54
|
title: "",
|
|
54
55
|
list: []
|
|
55
56
|
}), 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 +103,19 @@ var ne = {
|
|
|
102
103
|
list: (j.mockData?.list || []).map(q)
|
|
103
104
|
}, f($);
|
|
104
105
|
}, J = async () => {
|
|
105
|
-
let
|
|
106
|
-
if (!
|
|
106
|
+
let t = j.ids?.data;
|
|
107
|
+
if (!t?.id) {
|
|
107
108
|
console.warn("HdRisk 缺少数据工作流配置");
|
|
108
109
|
return;
|
|
109
110
|
}
|
|
110
111
|
I.value = !0;
|
|
111
112
|
try {
|
|
112
|
-
let n = ye(await
|
|
113
|
-
id:
|
|
113
|
+
let n = ye(await e({
|
|
114
|
+
id: t.id,
|
|
114
115
|
baseHttp: j.baseHttp,
|
|
115
|
-
reqType:
|
|
116
|
+
reqType: t.reqType,
|
|
116
117
|
variables: {},
|
|
117
|
-
isFormData:
|
|
118
|
+
isFormData: t.isFormData,
|
|
118
119
|
appKey: j.appKey,
|
|
119
120
|
appSalt: j.appSalt
|
|
120
121
|
})), r = be(n).map(q);
|