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