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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as e, p as t } from "./component-Agent-Cm2BEfcV.mjs";
|
|
2
2
|
import { ElOption as n, ElSelect as r } from "element-plus/es";
|
|
3
3
|
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, normalizeClass as p, normalizeStyle as m, onMounted as h, openBlock as g, ref as _, renderList as v, toDisplayString as y, watch as b, withCtx as x } from "vue";
|
|
4
4
|
//#region src/components/HdSeaCase/HdSeaCase.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -17,7 +17,7 @@ var ee = { class: "HdSeaCase" }, te = { class: "HdSeaCase-panel" }, ne = { class
|
|
|
17
17
|
}, O = {
|
|
18
18
|
key: 0,
|
|
19
19
|
class: "HdSeaCase-detailGallery"
|
|
20
|
-
}, k = { class: "HdSeaCase-galleryList" }, A = ["src"], j = { class: "HdSeaCase-detailTitleList" }, M = ["onClick"], N = 200, P = 16, F = 8, I = /* @__PURE__ */
|
|
20
|
+
}, k = { class: "HdSeaCase-galleryList" }, A = ["src"], j = { class: "HdSeaCase-detailTitleList" }, M = ["onClick"], N = 200, P = 16, F = 8, I = /* @__PURE__ */ t(/* @__PURE__ */ d({
|
|
21
21
|
__name: "HdSeaCase",
|
|
22
22
|
props: {
|
|
23
23
|
baseHttp: { default: "" },
|
|
@@ -28,8 +28,8 @@ var ee = { class: "HdSeaCase" }, te = { class: "HdSeaCase-panel" }, ne = { class
|
|
|
28
28
|
ids: { default: () => ({}) }
|
|
29
29
|
},
|
|
30
30
|
emits: ["close"],
|
|
31
|
-
setup(
|
|
32
|
-
let I = f()?.appContext.config.globalProperties.$bus, L =
|
|
31
|
+
setup(t, { emit: d }) {
|
|
32
|
+
let I = f()?.appContext.config.globalProperties.$bus, L = t, R = d, z = _([]), B = _([]), V = _(""), H = _(0), U = _(!1), W = _(null), G = _(0), K = _(!1), fe = a(() => z.value.find((e) => e.id === V.value)?.title || ""), q = a(() => W.value?.items?.length ? W.value.items[G.value] || W.value.items[0] : null), pe = () => {
|
|
33
33
|
R("close", "HdSeaCase");
|
|
34
34
|
}, me = (e) => `${F + N / 2 + e * (N + P)}px`, he = (e) => /^https?:\/\//i.test(e), ge = (e) => {
|
|
35
35
|
if (!e) return "";
|
|
@@ -70,18 +70,18 @@ var ee = { class: "HdSeaCase" }, te = { class: "HdSeaCase-panel" }, ne = { class
|
|
|
70
70
|
content: e.description ?? e.content ?? ""
|
|
71
71
|
};
|
|
72
72
|
}, ye = async () => {
|
|
73
|
-
let
|
|
74
|
-
if (!
|
|
73
|
+
let t = L.ids?.select;
|
|
74
|
+
if (!t?.id) {
|
|
75
75
|
console.warn("HdSeaCase 缺少下拉框工作流配置");
|
|
76
76
|
return;
|
|
77
77
|
}
|
|
78
78
|
try {
|
|
79
|
-
if (z.value = Y(J(await
|
|
80
|
-
id:
|
|
79
|
+
if (z.value = Y(J(await e({
|
|
80
|
+
id: t.id,
|
|
81
81
|
baseHttp: L.baseHttp,
|
|
82
|
-
reqType:
|
|
82
|
+
reqType: t.reqType,
|
|
83
83
|
variables: { categoryType: L.categoryType },
|
|
84
|
-
isFormData:
|
|
84
|
+
isFormData: t.isFormData,
|
|
85
85
|
appKey: L.appKey,
|
|
86
86
|
appSalt: L.appSalt
|
|
87
87
|
}))).map(X), !z.value.length) {
|
|
@@ -93,54 +93,54 @@ var ee = { class: "HdSeaCase" }, te = { class: "HdSeaCase-panel" }, ne = { class
|
|
|
93
93
|
console.error("HdSeaCase 下拉框数据加载失败", e);
|
|
94
94
|
}
|
|
95
95
|
}, Z = async () => {
|
|
96
|
-
let
|
|
97
|
-
if (!
|
|
96
|
+
let t = L.ids?.data;
|
|
97
|
+
if (!t?.id || !V.value) {
|
|
98
98
|
B.value = [];
|
|
99
99
|
return;
|
|
100
100
|
}
|
|
101
101
|
try {
|
|
102
|
-
B.value = Y(J(await
|
|
103
|
-
id:
|
|
102
|
+
B.value = Y(J(await e({
|
|
103
|
+
id: t.id,
|
|
104
104
|
baseHttp: L.baseHttp,
|
|
105
|
-
reqType:
|
|
105
|
+
reqType: t.reqType,
|
|
106
106
|
variables: { caseId: V.value },
|
|
107
|
-
isFormData:
|
|
107
|
+
isFormData: t.isFormData,
|
|
108
108
|
appKey: L.appKey,
|
|
109
109
|
appSalt: L.appSalt
|
|
110
110
|
}))).map(_e), H.value = 0;
|
|
111
111
|
} catch (e) {
|
|
112
112
|
console.error("HdSeaCase 节点数据加载失败", e), B.value = [];
|
|
113
113
|
}
|
|
114
|
-
}, be = async (
|
|
114
|
+
}, be = async (t) => {
|
|
115
115
|
let n = L.ids?.img;
|
|
116
|
-
if (!n?.id || !
|
|
116
|
+
if (!n?.id || !t.caseId || !t.id) {
|
|
117
117
|
W.value = {
|
|
118
|
-
...
|
|
118
|
+
...t,
|
|
119
119
|
items: []
|
|
120
120
|
};
|
|
121
121
|
return;
|
|
122
122
|
}
|
|
123
123
|
K.value = !0;
|
|
124
124
|
try {
|
|
125
|
-
let r = Y(J(await
|
|
125
|
+
let r = Y(J(await e({
|
|
126
126
|
id: n.id,
|
|
127
127
|
baseHttp: L.baseHttp,
|
|
128
128
|
reqType: n.reqType,
|
|
129
129
|
variables: {
|
|
130
|
-
caseId:
|
|
131
|
-
categoryId:
|
|
130
|
+
caseId: t.caseId,
|
|
131
|
+
categoryId: t.id
|
|
132
132
|
},
|
|
133
133
|
isFormData: n.isFormData,
|
|
134
134
|
appKey: L.appKey,
|
|
135
135
|
appSalt: L.appSalt
|
|
136
136
|
}))).map(ve);
|
|
137
137
|
W.value = {
|
|
138
|
-
...
|
|
138
|
+
...t,
|
|
139
139
|
items: r
|
|
140
140
|
};
|
|
141
|
-
} catch (
|
|
142
|
-
console.error("HdSeaCase 弹窗数据加载失败",
|
|
143
|
-
...
|
|
141
|
+
} catch (e) {
|
|
142
|
+
console.error("HdSeaCase 弹窗数据加载失败", e), W.value = {
|
|
143
|
+
...t,
|
|
144
144
|
items: []
|
|
145
145
|
};
|
|
146
146
|
} finally {
|
|
@@ -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 { ElIcon as n, ElInput as r, ElLoadingDirective as i, ElOption as a, ElSelect as o, ElTable as s, ElTableColumn as ee } from "element-plus/es";
|
|
4
4
|
import { Fragment as c, Teleport as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineComponent as g, getCurrentInstance as _, onMounted as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, withCtx as w, withDirectives as T, withKeys as E, withModifiers as te } from "vue";
|
|
5
5
|
import { Search as ne } from "@element-plus/icons-vue";
|
|
@@ -17,7 +17,7 @@ var re = {
|
|
|
17
17
|
}, ie = { class: "HdServiceMarterial-header" }, ae = { class: "HdServiceMarterial-headerContent" }, oe = { class: "HdServiceMarterial-title" }, se = {
|
|
18
18
|
key: 0,
|
|
19
19
|
class: "HdServiceMarterial-dataTime"
|
|
20
|
-
}, ce = { class: "HdServiceMarterial-toolbar" }, le = { class: "HdServiceMarterial-tableWrap" }, ue = { class: "HdServiceMarterial-name" }, de = { class: "HdServiceMarterial-actions" }, fe = ["onClick"], D = ["onClick"], pe = { class: "HdServiceMarterial-preview" }, me = { class: "HdServiceMarterial-previewHead" }, O = { class: "HdServiceMarterial-previewHeadTitle" }, k = { class: "HdServiceMarterial-previewBody" }, A = ["src"], j = /* @__PURE__ */
|
|
20
|
+
}, ce = { class: "HdServiceMarterial-toolbar" }, le = { class: "HdServiceMarterial-tableWrap" }, ue = { class: "HdServiceMarterial-name" }, de = { class: "HdServiceMarterial-actions" }, fe = ["onClick"], D = ["onClick"], pe = { class: "HdServiceMarterial-preview" }, me = { class: "HdServiceMarterial-previewHead" }, O = { class: "HdServiceMarterial-previewHeadTitle" }, k = { class: "HdServiceMarterial-previewBody" }, A = ["src"], j = /* @__PURE__ */ t(/* @__PURE__ */ g({
|
|
21
21
|
__name: "HdServiceMarterial",
|
|
22
22
|
props: {
|
|
23
23
|
baseHttp: { default: "" },
|
|
@@ -29,8 +29,8 @@ var re = {
|
|
|
29
29
|
dataTime: { default: "" }
|
|
30
30
|
},
|
|
31
31
|
emits: ["close", "change"],
|
|
32
|
-
setup(
|
|
33
|
-
let j = _()?.appContext.config.globalProperties.$bus, M =
|
|
32
|
+
setup(t, { emit: g }) {
|
|
33
|
+
let j = _()?.appContext.config.globalProperties.$bus, M = t, N = g, P = b([]), F = b(!1), I = (/* @__PURE__ */ new Date()).getFullYear(), L = Array.from({ length: 20 }, (e, t) => I - t), R = b(""), z = b(I), B = b(""), V = b([]), H = b(!1), U = b(""), W = b([]), G = b({
|
|
34
34
|
title: "",
|
|
35
35
|
dataTime: ""
|
|
36
36
|
}), he = u(() => M.title || G.value.title || "服务材料"), K = u(() => M.dataTime || G.value.dataTime || ""), q = () => {
|
|
@@ -53,24 +53,24 @@ var re = {
|
|
|
53
53
|
N("close", "HdServiceMarterial");
|
|
54
54
|
}, Z = (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, Q = async () => {
|
|
55
55
|
F.value = !0;
|
|
56
|
-
let
|
|
57
|
-
if (!
|
|
56
|
+
let t = M.ids.data;
|
|
57
|
+
if (!t?.id) {
|
|
58
58
|
console.warn("HdServiceMarterial 缺少搜索工作流配置"), F.value = !1;
|
|
59
59
|
return;
|
|
60
60
|
}
|
|
61
61
|
let n = "";
|
|
62
62
|
P.value.length && (n = P.value.find((e) => e.id === B.value)?.category_name || "");
|
|
63
63
|
try {
|
|
64
|
-
let r = Z(await
|
|
65
|
-
id:
|
|
64
|
+
let r = Z(await e({
|
|
65
|
+
id: t.id,
|
|
66
66
|
baseHttp: M.baseHttp,
|
|
67
|
-
reqType:
|
|
67
|
+
reqType: t.reqType,
|
|
68
68
|
variables: {
|
|
69
69
|
title: R.value,
|
|
70
70
|
year: z.value,
|
|
71
71
|
materialType: n
|
|
72
72
|
},
|
|
73
|
-
isFormData:
|
|
73
|
+
isFormData: t.isFormData,
|
|
74
74
|
appKey: M.appKey,
|
|
75
75
|
appSalt: M.appSalt
|
|
76
76
|
}));
|
|
@@ -86,18 +86,18 @@ var re = {
|
|
|
86
86
|
await Se(), await xe();
|
|
87
87
|
}, Se = async () => {
|
|
88
88
|
F.value = !0;
|
|
89
|
-
let
|
|
90
|
-
if (!
|
|
89
|
+
let t = M.ids.type;
|
|
90
|
+
if (!t?.id) {
|
|
91
91
|
console.warn("HdServiceMarterial 缺少搜索工作流配置"), F.value = !1;
|
|
92
92
|
return;
|
|
93
93
|
}
|
|
94
94
|
try {
|
|
95
|
-
let n = Z(await
|
|
96
|
-
id:
|
|
95
|
+
let n = Z(await e({
|
|
96
|
+
id: t.id,
|
|
97
97
|
baseHttp: M.baseHttp,
|
|
98
|
-
reqType:
|
|
98
|
+
reqType: t.reqType,
|
|
99
99
|
variables: {},
|
|
100
|
-
isFormData:
|
|
100
|
+
isFormData: t.isFormData,
|
|
101
101
|
appKey: M.appKey,
|
|
102
102
|
appSalt: M.appSalt
|
|
103
103
|
}));
|
|
@@ -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 { Fragment as n, Teleport as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, defineComponent as l, getCurrentInstance as u, onMounted as d, openBlock as f, ref as p, renderList as ee, toDisplayString as m, withModifiers as h } from "vue";
|
|
4
4
|
//#region src/components/HdServiceRequirements/HdServiceRequirements.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var g = { class: "HdServiceRequirements" }, _ = { class: "HdServiceRequirements-header" }, v = { class: "HdServiceRequirements-headerContent" }, y = { class: "HdServiceRequirements-title" }, b = {
|
|
@@ -20,7 +20,7 @@ var g = { class: "HdServiceRequirements" }, _ = { class: "HdServiceRequirements-
|
|
|
20
20
|
}, j = { class: "HdServiceRequirements-imageMain" }, M = ["src"], N = {
|
|
21
21
|
key: 2,
|
|
22
22
|
class: "HdServiceRequirements-imageCounter"
|
|
23
|
-
}, P = /* @__PURE__ */
|
|
23
|
+
}, P = /* @__PURE__ */ t(/* @__PURE__ */ l({
|
|
24
24
|
__name: "HdServiceRequirements",
|
|
25
25
|
props: {
|
|
26
26
|
mock: {
|
|
@@ -69,8 +69,8 @@ var g = { class: "HdServiceRequirements" }, _ = { class: "HdServiceRequirements-
|
|
|
69
69
|
}) }
|
|
70
70
|
},
|
|
71
71
|
emits: ["close"],
|
|
72
|
-
setup(
|
|
73
|
-
let P = u()?.appContext.config.globalProperties.$bus, F =
|
|
72
|
+
setup(t, { emit: l }) {
|
|
73
|
+
let P = u()?.appContext.config.globalProperties.$bus, F = t, I = l, L = p(!1), R = p(!1), z = p(0), B = p({
|
|
74
74
|
title: "",
|
|
75
75
|
dataTime: "",
|
|
76
76
|
serviceType: "",
|
|
@@ -103,18 +103,18 @@ var g = { class: "HdServiceRequirements" }, _ = { class: "HdServiceRequirements-
|
|
|
103
103
|
list: e.list || []
|
|
104
104
|
};
|
|
105
105
|
}, se = async () => {
|
|
106
|
-
let
|
|
107
|
-
if (!
|
|
106
|
+
let t = F.ids.data;
|
|
107
|
+
if (!t?.id) {
|
|
108
108
|
console.warn("HdServiceRequirements 缺少数据工作流配置");
|
|
109
109
|
return;
|
|
110
110
|
}
|
|
111
111
|
try {
|
|
112
|
-
let n = ae(await
|
|
113
|
-
id:
|
|
112
|
+
let n = ae(await e({
|
|
113
|
+
id: t.id,
|
|
114
114
|
baseHttp: F.baseHttp,
|
|
115
|
-
reqType:
|
|
115
|
+
reqType: t.reqType,
|
|
116
116
|
variables: { serviceType: F.serviceType },
|
|
117
|
-
isFormData:
|
|
117
|
+
isFormData: t.isFormData,
|
|
118
118
|
appKey: F.appKey,
|
|
119
119
|
appSalt: F.appSalt
|
|
120
120
|
}));
|
|
@@ -147,8 +147,8 @@ var g = { class: "HdServiceRequirements" }, _ = { class: "HdServiceRequirements-
|
|
|
147
147
|
P?.on("toComponent", (e) => {
|
|
148
148
|
e.componentName === "HdServiceRequirements" && $();
|
|
149
149
|
}), $();
|
|
150
|
-
}), (
|
|
151
|
-
|
|
150
|
+
}), (e, i) => (f(), s("div", g, [
|
|
151
|
+
t.showClose ? (f(), s("button", {
|
|
152
152
|
key: 0,
|
|
153
153
|
class: "HdServiceRequirements-close",
|
|
154
154
|
onClick: ie
|
|
@@ -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, ElTable as r, ElTableColumn as i } from "element-plus/es";
|
|
4
4
|
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, getCurrentInstance as p, normalizeClass as m, onBeforeUnmount as h, onMounted as g, openBlock as _, ref as v, renderList as y, toDisplayString as b, vModelCheckbox as x, vModelSelect as S, watch as C, withCtx as w, withDirectives as T } from "vue";
|
|
5
5
|
import "element-plus/dist/index.css";
|
|
@@ -10,7 +10,7 @@ var E = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAABACAMAAAB83JS9AAAAA
|
|
|
10
10
|
}, O = { class: "HdSoil-header" }, k = { class: "HdSoil-headerContent" }, A = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "HdSoil-dataTime"
|
|
13
|
-
}, j = { class: "HdSoil-checkContainer" }, M = { class: "HdSoil-check" }, ee = ["value"], te = { class: "HdSoil-toolbar" }, N = { class: "HdSoil-tags" }, P = ["onClick"], F = { class: "HdSoil-content" }, I = { class: "HdSoil-tableWrap" }, L = /* @__PURE__ */
|
|
13
|
+
}, j = { class: "HdSoil-checkContainer" }, M = { class: "HdSoil-check" }, ee = ["value"], te = { class: "HdSoil-toolbar" }, N = { class: "HdSoil-tags" }, P = ["onClick"], F = { class: "HdSoil-content" }, I = { class: "HdSoil-tableWrap" }, L = /* @__PURE__ */ t(/* @__PURE__ */ f({
|
|
14
14
|
__name: "HdSoil",
|
|
15
15
|
props: {
|
|
16
16
|
mock: {
|
|
@@ -31,8 +31,8 @@ var E = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAABACAMAAAB83JS9AAAAA
|
|
|
31
31
|
"addMarker",
|
|
32
32
|
"markerClick"
|
|
33
33
|
],
|
|
34
|
-
setup(
|
|
35
|
-
let L =
|
|
34
|
+
setup(t, { emit: f }) {
|
|
35
|
+
let L = t, R = f, z = p()?.appContext.config.globalProperties.$bus, B = v(!1), V = v(L.dataTime || ""), H = v([]), U = v([]), W = v(""), G = v(!0), K = v([]), q = v({}), J = o(() => {
|
|
36
36
|
let e = [];
|
|
37
37
|
return U.value.forEach((t) => {
|
|
38
38
|
let n = q.value[t];
|
|
@@ -177,12 +177,12 @@ var E = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAABACAMAAAB83JS9AAAAA
|
|
|
177
177
|
soilPh: e.soilPh ?? "-",
|
|
178
178
|
soilEc: e.soilEc ?? "-",
|
|
179
179
|
...se(e)
|
|
180
|
-
})) : [], $ = (
|
|
181
|
-
id:
|
|
180
|
+
})) : [], $ = (t) => e({
|
|
181
|
+
id: t.id,
|
|
182
182
|
baseHttp: L.baseHttp,
|
|
183
|
-
reqType:
|
|
183
|
+
reqType: t.reqType,
|
|
184
184
|
variables: {},
|
|
185
|
-
isFormData:
|
|
185
|
+
isFormData: t.isFormData,
|
|
186
186
|
appKey: L.appKey,
|
|
187
187
|
appSalt: L.appSalt
|
|
188
188
|
}), ue = async () => {
|
|
@@ -213,7 +213,7 @@ var E = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAABACAMAAAB83JS9AAAAA
|
|
|
213
213
|
};
|
|
214
214
|
return g(() => {
|
|
215
215
|
ae(), ue();
|
|
216
|
-
}), h(() => {}), (
|
|
216
|
+
}), h(() => {}), (e, o) => {
|
|
217
217
|
let f = i, p = r, h = n;
|
|
218
218
|
return T((_(), l("div", D, [
|
|
219
219
|
u("button", {
|
|
@@ -252,7 +252,7 @@ var E = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAABACAMAAAB83JS9AAAAA
|
|
|
252
252
|
u("div", F, [u("div", I, [d(p, {
|
|
253
253
|
data: X.value,
|
|
254
254
|
class: "HdSoil-table",
|
|
255
|
-
"max-height":
|
|
255
|
+
"max-height": t.tableHeight,
|
|
256
256
|
"empty-text": "暂无数据"
|
|
257
257
|
}, {
|
|
258
258
|
default: w(() => [
|
|
@@ -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, ElLoadingDirective as i, ElTable as a, ElTableColumn as ee } from "element-plus/es";
|
|
3
3
|
import { Fragment as o, Teleport as te, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createVNode as f, defineComponent as p, getCurrentInstance as m, nextTick as h, normalizeClass as g, onBeforeUnmount as _, onMounted as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as ne, watch as C, withCtx as w, withDirectives as T } from "vue";
|
|
4
4
|
import * as re from "echarts";
|
|
@@ -11,7 +11,7 @@ var D = {
|
|
|
11
11
|
}, O = { class: "HdSoilDetailList-panel" }, k = { class: "HdSoilDetailList-header" }, A = { class: "HdSoilDetailList-title" }, j = { class: "HdSoilDetailList-filter" }, ae = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "HdSoilDetailList-elementWrap"
|
|
14
|
-
}, oe = { class: "HdSoilDetailList-elementTabs" }, se = ["onClick"], ce = { class: "HdSoilDetailList-modeWrap" }, le = { class: "HdSoilDetailList-body" }, ue = "#f53f3f", M = /* @__PURE__ */
|
|
14
|
+
}, oe = { class: "HdSoilDetailList-elementTabs" }, se = ["onClick"], ce = { class: "HdSoilDetailList-modeWrap" }, le = { class: "HdSoilDetailList-body" }, ue = "#f53f3f", M = /* @__PURE__ */ t(/* @__PURE__ */ p({
|
|
15
15
|
__name: "HdSoilDetailList",
|
|
16
16
|
props: {
|
|
17
17
|
mock: {
|
|
@@ -26,8 +26,8 @@ var D = {
|
|
|
26
26
|
refreshInterval: { default: 0 }
|
|
27
27
|
},
|
|
28
28
|
emits: ["close"],
|
|
29
|
-
setup(
|
|
30
|
-
let M =
|
|
29
|
+
setup(t, { emit: p }) {
|
|
30
|
+
let M = t, de = p, N = m()?.appContext.config.globalProperties.$bus, P = b(!1), F = b(!1), I = b(""), L = b(""), R = b([]), z = b("table"), B = b(null), V = null, H = /* @__PURE__ */ new Date(), fe = /* @__PURE__ */ new Date(H.getTime() - 10080 * 60 * 1e3), U = (e) => `${e.getFullYear()}-${String(e.getMonth() + 1).padStart(2, "0")}-${String(e.getDate()).padStart(2, "0")} ${String(e.getHours()).padStart(2, "0")}:${String(e.getMinutes()).padStart(2, "0")}:${String(e.getSeconds()).padStart(2, "0")}`, W = b([U(new Date(fe.setHours(0, 0, 0, 0))), U(new Date(H.setHours(23, 59, 59, 0)))]), pe = s(() => W.value?.[0] || ""), me = s(() => W.value?.[1] || ""), G = [
|
|
31
31
|
{
|
|
32
32
|
label: "10cm(%RH)",
|
|
33
33
|
prop: "soilHumidity1"
|
|
@@ -123,23 +123,23 @@ var D = {
|
|
|
123
123
|
soilEc: e.soilEc ?? e.soil_ec ?? e.ec ?? "-"
|
|
124
124
|
})) : [], X = async () => {
|
|
125
125
|
if (M.mock) return;
|
|
126
|
-
let
|
|
127
|
-
if (!
|
|
126
|
+
let t = M.ids?.data;
|
|
127
|
+
if (!t?.id) {
|
|
128
128
|
console.warn("HdSoilDetailList 缺少数据工作流配置");
|
|
129
129
|
return;
|
|
130
130
|
}
|
|
131
131
|
F.value = !0;
|
|
132
132
|
try {
|
|
133
|
-
R.value = ve(Y(await
|
|
134
|
-
id:
|
|
133
|
+
R.value = ve(Y(await e({
|
|
134
|
+
id: t.id,
|
|
135
135
|
baseHttp: M.baseHttp,
|
|
136
|
-
reqType:
|
|
136
|
+
reqType: t.reqType,
|
|
137
137
|
variables: {
|
|
138
138
|
msName: L.value,
|
|
139
139
|
startTime: pe.value,
|
|
140
140
|
endTime: me.value
|
|
141
141
|
},
|
|
142
|
-
isFormData:
|
|
142
|
+
isFormData: t.isFormData,
|
|
143
143
|
appKey: M.appKey,
|
|
144
144
|
appSalt: M.appSalt
|
|
145
145
|
}))), z.value === "chart" && h(() => Q());
|
|
@@ -279,7 +279,7 @@ var D = {
|
|
|
279
279
|
N?.on("toComponent", $);
|
|
280
280
|
}), _(() => {
|
|
281
281
|
N?.off("toComponent", $), V?.dispose(), V = null;
|
|
282
|
-
}), (
|
|
282
|
+
}), (e, s) => {
|
|
283
283
|
let p = r, m = n, h = ee, _ = a, v = i;
|
|
284
284
|
return y(), c(te, { to: "body" }, [P.value ? (y(), u("div", D, [d("div", O, [
|
|
285
285
|
d("div", k, [d("span", A, S(L.value), 1), d("button", {
|
|
@@ -331,7 +331,7 @@ var D = {
|
|
|
331
331
|
"element-loading-background": "rgba(0, 0, 0, 0.5)",
|
|
332
332
|
data: R.value,
|
|
333
333
|
class: "HdSoilDetailList-table",
|
|
334
|
-
"max-height":
|
|
334
|
+
"max-height": t.tableHeight,
|
|
335
335
|
"empty-text": "暂无数据"
|
|
336
336
|
}, {
|
|
337
337
|
default: w(() => [
|
package/dist/chunks/{component-HdStationTem-DfJ0I_2S.mjs → component-HdStationTem-C7eTBEla.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 { ElCheckbox as i, ElIcon as a, ElLoadingDirective as o, ElTable as s, ElTableColumn as c } from "element-plus/es";
|
|
6
6
|
import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as ee, createVNode as m, defineComponent as h, getCurrentInstance as g, nextTick as _, normalizeClass as v, normalizeStyle as te, onBeforeUnmount as ne, onMounted as re, openBlock as y, ref as b, renderList as ie, toDisplayString as x, unref as ae, watch as oe, withCtx as S, withDirectives as se, withModifiers as ce } from "vue";
|
|
7
7
|
import { Download as le } from "@element-plus/icons-vue";
|
|
@@ -17,7 +17,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
|
|
|
17
17
|
}, ge = { class: "HdStationTem-toolbar" }, _e = { class: "HdStationTem-actions" }, ve = { class: "HdStationTem-checkboxWrap" }, ye = { class: "HdStationTem-typeWrap" }, be = { class: "HdStationTem-typeTabs" }, xe = ["onClick"], w = { class: "HdStationTem-content" }, T = { class: "HdStationTem-tableWrap" }, E = ["onClick"], D = {
|
|
18
18
|
key: 0,
|
|
19
19
|
class: "HdStationTem-trendMask"
|
|
20
|
-
}, O = { class: "HdStationTem-trendPopup" }, k = { class: "HdStationTem-trendHeader" }, A = { class: "HdStationTem-trendTitle" }, j = { class: "HdStationTem-trendSubTitle" }, M = "maxTem08", N = /* @__PURE__ */
|
|
20
|
+
}, O = { class: "HdStationTem-trendPopup" }, k = { class: "HdStationTem-trendHeader" }, A = { class: "HdStationTem-trendTitle" }, j = { class: "HdStationTem-trendSubTitle" }, M = "maxTem08", N = /* @__PURE__ */ n(/* @__PURE__ */ h({
|
|
21
21
|
__name: "HdStationTem",
|
|
22
22
|
props: {
|
|
23
23
|
title: { default: "自动站温度统计" },
|
|
@@ -46,9 +46,9 @@ var ue = /* @__PURE__ */ e(r()), de = {
|
|
|
46
46
|
"addImage",
|
|
47
47
|
"clearImage"
|
|
48
48
|
],
|
|
49
|
-
setup(e, { emit:
|
|
49
|
+
setup(e, { emit: n }) {
|
|
50
50
|
g()?.appContext.config.globalProperties.$bus;
|
|
51
|
-
let r = e, h =
|
|
51
|
+
let r = e, h = n, N = b(!1), P = b(M), F = b(!1), I = b(""), L = b([]), R = b({}), z = b(!1), B = b(null), V = b(null), H = null, U = null, W = [
|
|
52
52
|
{
|
|
53
53
|
label: "最高温08",
|
|
54
54
|
value: "maxTem08"
|
|
@@ -136,7 +136,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
|
|
|
136
136
|
if (!e) return console.warn("HdStationTem 缺少趋势图工作流配置"), null;
|
|
137
137
|
console.log(B.value, "currentRow.value");
|
|
138
138
|
try {
|
|
139
|
-
let
|
|
139
|
+
let n = Y(await t({
|
|
140
140
|
id: e.id,
|
|
141
141
|
baseHttp: r.baseHttp,
|
|
142
142
|
reqType: e.reqType,
|
|
@@ -145,8 +145,8 @@ var ue = /* @__PURE__ */ e(r()), de = {
|
|
|
145
145
|
appKey: r.appKey,
|
|
146
146
|
appSalt: r.appSalt
|
|
147
147
|
}));
|
|
148
|
-
if (!
|
|
149
|
-
let i =
|
|
148
|
+
if (!n) return null;
|
|
149
|
+
let i = n.situationData || n.situation || [], a = n.forecastData || n.forecast || [], o = (e) => {
|
|
150
150
|
if (!e) return "--";
|
|
151
151
|
let t = e.split(" ");
|
|
152
152
|
return t.length > 1 ? `${t[0].slice(5)} ${t[1].slice(0, 2)}时` : e;
|
|
@@ -344,7 +344,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
|
|
|
344
344
|
let e = J("colorMap");
|
|
345
345
|
if (!e) return console.warn("HdStationTem 缺少色斑图工作流配置"), null;
|
|
346
346
|
try {
|
|
347
|
-
return Y(await
|
|
347
|
+
return Y(await t({
|
|
348
348
|
id: e.id,
|
|
349
349
|
baseHttp: r.baseHttp,
|
|
350
350
|
reqType: e.reqType,
|
|
@@ -372,7 +372,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
|
|
|
372
372
|
return;
|
|
373
373
|
}
|
|
374
374
|
try {
|
|
375
|
-
let
|
|
375
|
+
let n = Y(await t({
|
|
376
376
|
id: e.id,
|
|
377
377
|
baseHttp: r.baseHttp,
|
|
378
378
|
reqType: e.reqType,
|
|
@@ -381,12 +381,12 @@ var ue = /* @__PURE__ */ e(r()), de = {
|
|
|
381
381
|
appKey: r.appKey,
|
|
382
382
|
appSalt: r.appSalt
|
|
383
383
|
}));
|
|
384
|
-
|
|
385
|
-
maxTem08: Array.isArray(
|
|
386
|
-
maxTem20: Array.isArray(
|
|
387
|
-
minTem08: Array.isArray(
|
|
388
|
-
minTem20: Array.isArray(
|
|
389
|
-
}, L.value = R.value[P.value] || [], I.value =
|
|
384
|
+
n && (R.value = {
|
|
385
|
+
maxTem08: Array.isArray(n.maxTem08) ? n.maxTem08 : [],
|
|
386
|
+
maxTem20: Array.isArray(n.maxTem20) ? n.maxTem20 : [],
|
|
387
|
+
minTem08: Array.isArray(n.minTem08) ? n.minTem08 : [],
|
|
388
|
+
minTem20: Array.isArray(n.minTem20) ? n.minTem20 : []
|
|
389
|
+
}, L.value = R.value[P.value] || [], I.value = n.dataTime || "");
|
|
390
390
|
} catch (e) {
|
|
391
391
|
console.error("HdStationTem 数据加载失败", e);
|
|
392
392
|
}
|
package/dist/chunks/{component-HdSuggestion-FXvLu_OD.mjs → component-HdSuggestion-BGz6-uaw.mjs}
RENAMED
|
@@ -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 { ElIcon as n, ElLoadingDirective as r } from "element-plus/es";
|
|
4
4
|
import { Fragment as i, Teleport as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, getCurrentInstance as p, onMounted as m, openBlock as h, ref as g, toDisplayString as _, unref as v, withCtx as y, withDirectives as ee, withModifiers as te } from "vue";
|
|
5
5
|
import { ArrowLeft as ne, ArrowRight as re } from "@element-plus/icons-vue";
|
|
@@ -23,7 +23,7 @@ var ie = { class: "HdSuggestion" }, ae = { class: "HdSuggestion-header" }, oe =
|
|
|
23
23
|
}, N = { class: "HdSuggestion-detailHead" }, P = { class: "HdSuggestion-detailTitle" }, F = { class: "HdSuggestion-detailBody" }, I = { class: "HdSuggestion-section" }, L = { class: "HdSuggestion-feature" }, R = { class: "HdSuggestion-detailImageWrap" }, z = ["src"], se = {
|
|
24
24
|
key: 1,
|
|
25
25
|
class: "HdSuggestion-detailImagePlaceholder"
|
|
26
|
-
}, B = { class: "HdSuggestion-featureText" }, V = { class: "HdSuggestion-section" }, H = { class: "HdSuggestion-prevention" }, U = /* @__PURE__ */
|
|
26
|
+
}, B = { class: "HdSuggestion-featureText" }, V = { class: "HdSuggestion-section" }, H = { class: "HdSuggestion-prevention" }, U = /* @__PURE__ */ t(/* @__PURE__ */ f({
|
|
27
27
|
__name: "HdSuggestion",
|
|
28
28
|
props: {
|
|
29
29
|
showClose: {
|
|
@@ -41,8 +41,8 @@ var ie = { class: "HdSuggestion" }, ae = { class: "HdSuggestion-header" }, oe =
|
|
|
41
41
|
list: { default: () => [] }
|
|
42
42
|
},
|
|
43
43
|
emits: ["close", "change"],
|
|
44
|
-
setup(
|
|
45
|
-
let U = p()?.appContext.config.globalProperties.$bus, W =
|
|
44
|
+
setup(t, { emit: f }) {
|
|
45
|
+
let U = p()?.appContext.config.globalProperties.$bus, W = t, G = f, K = g(!1), q = g(0), J = g(!1), Y = g({
|
|
46
46
|
title: "",
|
|
47
47
|
dataTime: "",
|
|
48
48
|
list: []
|
|
@@ -69,19 +69,19 @@ var ie = { class: "HdSuggestion" }, ae = { class: "HdSuggestion-header" }, oe =
|
|
|
69
69
|
}, me = () => {
|
|
70
70
|
G("close", "HdSuggestion");
|
|
71
71
|
}, he = (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, ge = async () => {
|
|
72
|
-
let
|
|
73
|
-
if (!
|
|
72
|
+
let t = W.ids.data;
|
|
73
|
+
if (!t?.id) {
|
|
74
74
|
console.warn("HdSuggestion 缺少数据工作流配置");
|
|
75
75
|
return;
|
|
76
76
|
}
|
|
77
77
|
K.value = !0;
|
|
78
78
|
try {
|
|
79
|
-
let n = he(await
|
|
80
|
-
id:
|
|
79
|
+
let n = he(await e({
|
|
80
|
+
id: t.id,
|
|
81
81
|
baseHttp: W.baseHttp,
|
|
82
|
-
reqType:
|
|
82
|
+
reqType: t.reqType,
|
|
83
83
|
variables: { agricultural_type: W.agriculturalType || "" },
|
|
84
|
-
isFormData:
|
|
84
|
+
isFormData: t.isFormData,
|
|
85
85
|
appKey: W.appKey,
|
|
86
86
|
appSalt: W.appSalt
|
|
87
87
|
}));
|
|
@@ -123,10 +123,10 @@ var ie = { class: "HdSuggestion" }, ae = { class: "HdSuggestion-header" }, oe =
|
|
|
123
123
|
U?.on("toComponent", (e) => {
|
|
124
124
|
e.componentName === "HdSuggestion" && $();
|
|
125
125
|
}), $();
|
|
126
|
-
}), (
|
|
126
|
+
}), (e, o) => {
|
|
127
127
|
let f = n, p = r;
|
|
128
128
|
return h(), l("div", ie, [
|
|
129
|
-
|
|
129
|
+
t.showClose ? (h(), l("button", {
|
|
130
130
|
key: 0,
|
|
131
131
|
class: "HdSuggestion-close",
|
|
132
132
|
onClick: me
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./component-Forecast72h-
|
|
3
|
-
import { i as n, o as r, r as i } from "./component-HdFarmStationDialog-
|
|
1
|
+
import { g as e, p as t } from "./component-Agent-Cm2BEfcV.mjs";
|
|
2
|
+
import "./component-Forecast72h-CU8p9veB.mjs";
|
|
3
|
+
import { i as n, o as r, r as i } from "./component-HdFarmStationDialog-jR-LBbQP.mjs";
|
|
4
4
|
import { ElLoadingDirective as a, ElOption as o, ElSelect as s } from "element-plus/es";
|
|
5
5
|
import { Fragment as c, computed as l, createBlock as ee, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as te, getCurrentInstance as ne, normalizeClass as re, onMounted as ie, onUnmounted as ae, openBlock as m, ref as h, renderList as g, toDisplayString as _, withCtx as oe, withDirectives as se } from "vue";
|
|
6
6
|
import "element-plus/es/components/select/style/css";
|
|
@@ -14,7 +14,7 @@ var ce = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIMAAABXCAMAAAAQ7AZtAAAC
|
|
|
14
14
|
}, ve = { class: "HdThreeWeatherTrend-header" }, ye = { class: "HdThreeWeatherTrend-headerContent" }, be = { class: "HdThreeWeatherTrend-title" }, xe = {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: "HdThreeWeatherTrend-dataTime"
|
|
17
|
-
}, Se = { class: "HdThreeWeatherTrend-tabs" }, Ce = ["onClick"], we = { class: "HdThreeWeatherTrend-areaWrap" }, Te = { class: "HdThreeWeatherTrend-body" }, Ee = { class: "HdThreeWeatherTrend-list" }, De = { class: "HdThreeWeatherTrend-listCell HdThreeWeatherTrend-listCell--time" }, Oe = { class: "HdThreeWeatherTrend-listCell HdThreeWeatherTrend-listCell--wind" }, ke = /* @__PURE__ */
|
|
17
|
+
}, Se = { class: "HdThreeWeatherTrend-tabs" }, Ce = ["onClick"], we = { class: "HdThreeWeatherTrend-areaWrap" }, Te = { class: "HdThreeWeatherTrend-body" }, Ee = { class: "HdThreeWeatherTrend-list" }, De = { class: "HdThreeWeatherTrend-listCell HdThreeWeatherTrend-listCell--time" }, Oe = { class: "HdThreeWeatherTrend-listCell HdThreeWeatherTrend-listCell--wind" }, ke = /* @__PURE__ */ t(/* @__PURE__ */ te({
|
|
18
18
|
__name: "HdThreeWeatherTrend",
|
|
19
19
|
props: {
|
|
20
20
|
baseHttp: { default: "" },
|
|
@@ -28,8 +28,8 @@ var ce = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIMAAABXCAMAAAAQ7AZtAAAC
|
|
|
28
28
|
refreshInterval: { default: 10 }
|
|
29
29
|
},
|
|
30
30
|
emits: ["close", "change"],
|
|
31
|
-
setup(
|
|
32
|
-
let ke = ne()?.appContext.config.globalProperties.$bus, W =
|
|
31
|
+
setup(t, { emit: te }) {
|
|
32
|
+
let ke = ne()?.appContext.config.globalProperties.$bus, W = t, Ae = te, je = [
|
|
33
33
|
{
|
|
34
34
|
label: "24小时",
|
|
35
35
|
value: 24
|
|
@@ -155,19 +155,19 @@ var ce = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIMAAABXCAMAAAAQ7AZtAAAC
|
|
|
155
155
|
}, Ye = () => {
|
|
156
156
|
!J.value && X.value.length && (J.value = X.value[0].value, console.log(J.value, "activeArea.value"));
|
|
157
157
|
}, Xe = async () => {
|
|
158
|
-
let
|
|
159
|
-
if (!
|
|
158
|
+
let t = W.ids?.select;
|
|
159
|
+
if (!t?.id) {
|
|
160
160
|
console.warn("HdThreeWeatherTrend 缺少下拉框工作流配置");
|
|
161
161
|
return;
|
|
162
162
|
}
|
|
163
163
|
G.value = !0;
|
|
164
164
|
try {
|
|
165
|
-
let n = Ve(await
|
|
166
|
-
id:
|
|
165
|
+
let n = Ve(await e({
|
|
166
|
+
id: t.id,
|
|
167
167
|
baseHttp: W.baseHttp,
|
|
168
|
-
reqType:
|
|
168
|
+
reqType: t.reqType,
|
|
169
169
|
variables: {},
|
|
170
|
-
isFormData:
|
|
170
|
+
isFormData: t.isFormData,
|
|
171
171
|
appKey: W.appKey,
|
|
172
172
|
appSalt: W.appSalt
|
|
173
173
|
}));
|
|
@@ -182,19 +182,19 @@ var ce = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIMAAABXCAMAAAAQ7AZtAAAC
|
|
|
182
182
|
G.value = !1;
|
|
183
183
|
}
|
|
184
184
|
}, Ze = async () => {
|
|
185
|
-
let
|
|
186
|
-
if (!
|
|
185
|
+
let t = W.ids?.data;
|
|
186
|
+
if (!t?.id) {
|
|
187
187
|
console.warn("HdThreeWeatherTrend 缺少数据工作流配置");
|
|
188
188
|
return;
|
|
189
189
|
}
|
|
190
190
|
G.value = !0;
|
|
191
191
|
try {
|
|
192
|
-
Z.value = He(Ve(await
|
|
193
|
-
id:
|
|
192
|
+
Z.value = He(Ve(await e({
|
|
193
|
+
id: t.id,
|
|
194
194
|
baseHttp: W.baseHttp,
|
|
195
|
-
reqType:
|
|
195
|
+
reqType: t.reqType,
|
|
196
196
|
variables: { gridIndex: K.value },
|
|
197
|
-
isFormData:
|
|
197
|
+
isFormData: t.isFormData,
|
|
198
198
|
appKey: W.appKey,
|
|
199
199
|
appSalt: W.appSalt
|
|
200
200
|
}))).map(qe);
|