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
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { i as e, t } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { a as n } from "./component-AiChat-HpEVNeXU.mjs";
|
|
3
|
+
import { c as r } from "./component-Agent-Cm4CMOGO.mjs";
|
|
3
4
|
import { ElConfigProvider as i, ElDatePicker as a, ElIcon as o, ElLoadingDirective as s, ElTable as c, ElTableColumn as l } from "element-plus/es";
|
|
4
5
|
import { Fragment as u, Teleport as d, createBlock as ee, createCommentVNode as te, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, getCurrentInstance as _, nextTick as v, normalizeClass as y, normalizeStyle as ne, onBeforeUnmount as b, onMounted as x, openBlock as S, ref as C, renderList as w, toDisplayString as T, unref as E, vShow as re, watch as ie, withCtx as D, withDirectives as O } from "vue";
|
|
5
6
|
import { Close as ae, Download as oe } from "@element-plus/icons-vue";
|
|
@@ -268,7 +269,7 @@ var k = (e) => {
|
|
|
268
269
|
}, it = { class: "StationPop-historyPopup" }, at = { class: "StationPop-historyHeader" }, ot = { class: "StationPop-historyTitle" }, st = { class: "StationPop-historySubTitle" }, ct = {
|
|
269
270
|
class: "StationPop-historyTabs",
|
|
270
271
|
style: { position: "relative" }
|
|
271
|
-
}, lt = ["onClick"], ut = { class: "StationPop-historyActions" }, dt = { class: "StationPop-historyTableWrap" }, P = /* @__PURE__ */
|
|
272
|
+
}, lt = ["onClick"], ut = { class: "StationPop-historyActions" }, dt = { class: "StationPop-historyTableWrap" }, P = /* @__PURE__ */ r(/* @__PURE__ */ g({
|
|
272
273
|
__name: "HdFarmStationDialog",
|
|
273
274
|
props: {
|
|
274
275
|
componentStyle: { default: () => ({}) },
|
|
@@ -280,7 +281,7 @@ var k = (e) => {
|
|
|
280
281
|
ids: { default: () => ({}) }
|
|
281
282
|
},
|
|
282
283
|
setup(e) {
|
|
283
|
-
let t = _()?.appContext.config.globalProperties.$bus,
|
|
284
|
+
let t = _()?.appContext.config.globalProperties.$bus, r = C(!1), g = e, k = C(null), A = C({
|
|
284
285
|
stationName: "",
|
|
285
286
|
stationCode: "",
|
|
286
287
|
address: "",
|
|
@@ -324,18 +325,18 @@ var k = (e) => {
|
|
|
324
325
|
let t = g.ids[e] || g.ids.data;
|
|
325
326
|
return t?.id ? t : null;
|
|
326
327
|
}, J = async (e, t = {}) => {
|
|
327
|
-
let
|
|
328
|
-
if (!
|
|
329
|
-
return await
|
|
330
|
-
id:
|
|
328
|
+
let r = q(e);
|
|
329
|
+
if (!r) throw Error(`缺少 ${e} 对应的工作流配置`);
|
|
330
|
+
return await n({
|
|
331
|
+
id: r.id,
|
|
331
332
|
baseHttp: g.baseHttp,
|
|
332
|
-
reqType:
|
|
333
|
+
reqType: r.reqType,
|
|
333
334
|
variables: {
|
|
334
335
|
stationCode: g.stationCode,
|
|
335
336
|
stationIdC: k.value,
|
|
336
337
|
...t
|
|
337
338
|
},
|
|
338
|
-
isFormData:
|
|
339
|
+
isFormData: r.isFormData,
|
|
339
340
|
appKey: g.appKey,
|
|
340
341
|
appSalt: g.appSalt
|
|
341
342
|
});
|
|
@@ -794,8 +795,8 @@ var k = (e) => {
|
|
|
794
795
|
});
|
|
795
796
|
});
|
|
796
797
|
function Pt() {
|
|
797
|
-
M.value = !0,
|
|
798
|
-
|
|
798
|
+
M.value = !0, r.value = !0, gt().finally(() => {
|
|
799
|
+
r.value = !1;
|
|
799
800
|
});
|
|
800
801
|
}
|
|
801
802
|
return x(() => {
|
|
@@ -804,7 +805,7 @@ var k = (e) => {
|
|
|
804
805
|
});
|
|
805
806
|
}), b(() => {
|
|
806
807
|
window.removeEventListener("resize", wt), L &&= (L.dispose(), null);
|
|
807
|
-
}), (t,
|
|
808
|
+
}), (t, n) => {
|
|
808
809
|
let g = o, _ = a, v = i, b = l, x = c, C = s;
|
|
809
810
|
return S(), ee(d, { to: "body" }, [O(p("div", ue, [O((S(), f("div", {
|
|
810
811
|
class: "StationPop",
|
|
@@ -821,25 +822,25 @@ var k = (e) => {
|
|
|
821
822
|
})]),
|
|
822
823
|
p("div", de, T(A.value.stationName), 1),
|
|
823
824
|
p("div", fe, [A.value.dataTime ? (S(), f("span", pe, "数据时间:" + T(A.value.dataTime), 1)) : (S(), f("span", me, "数据时间:--"))]),
|
|
824
|
-
p("div", he, [p("div", ge, [p("div", _e, [
|
|
825
|
+
p("div", he, [p("div", ge, [p("div", _e, [n[1] ||= p("span", { class: "StationPop-infoLabel" }, "站 号:", -1), p("span", ve, T(A.value.stationCode || "--"), 1)]), p("div", ye, [n[2] ||= p("span", { class: "StationPop-infoLabel" }, "位 置:", -1), p("span", be, T(A.value.address || "--"), 1)])])]),
|
|
825
826
|
p("div", xe, [
|
|
826
|
-
p("div", Se, [
|
|
827
|
-
p("div", we, [
|
|
828
|
-
p("div", Ee, [
|
|
829
|
-
p("div", Oe, [
|
|
830
|
-
p("div", Ae, [
|
|
831
|
-
p("div", Me, [
|
|
832
|
-
p("div", Pe, [
|
|
833
|
-
p("div", Ie, [
|
|
834
|
-
p("div", Re, [
|
|
827
|
+
p("div", Se, [n[11] ||= p("div", { class: "StationPop-sectionTitle" }, [p("span", { class: "StationPop-sectionBar" }), m(" 实时监测 ")], -1), p("div", Ce, [
|
|
828
|
+
p("div", we, [n[3] ||= p("span", { class: "StationPop-realtimeLabel" }, "温度:", -1), p("span", Te, T(K(P.value.temperature, "℃")), 1)]),
|
|
829
|
+
p("div", Ee, [n[4] ||= p("span", { class: "StationPop-realtimeLabel" }, "湿度:", -1), p("span", De, T(K(P.value.humidity, "%")), 1)]),
|
|
830
|
+
p("div", Oe, [n[5] ||= p("span", { class: "StationPop-realtimeLabel" }, "风速风向:", -1), p("span", ke, T(ht(P.value)), 1)]),
|
|
831
|
+
p("div", Ae, [n[6] ||= p("span", { class: "StationPop-realtimeLabel" }, "降水量:", -1), p("span", je, T(K(P.value.hourPrecipitation, "mm")), 1)]),
|
|
832
|
+
p("div", Me, [n[7] ||= p("span", { class: "StationPop-realtimeLabel" }, "气压:", -1), p("span", Ne, T(K(P.value.pressure, "hPa")), 1)]),
|
|
833
|
+
p("div", Pe, [n[8] ||= p("span", { class: "StationPop-realtimeLabel" }, "蒸发:", -1), p("span", Fe, T(K(P.value.evaporation, "mm")), 1)]),
|
|
834
|
+
p("div", Ie, [n[9] ||= p("span", { class: "StationPop-realtimeLabel" }, "光照强度:", -1), p("span", Le, T(K(P.value.lightIntensity, "lux")), 1)]),
|
|
835
|
+
p("div", Re, [n[10] ||= p("span", { class: "StationPop-realtimeLabel" }, "光合有效辐射:", -1), p("span", ze, T(K(P.value.par, "μmol/m²/s")), 1)])
|
|
835
836
|
])]),
|
|
836
|
-
p("div", Be, [
|
|
837
|
-
p("div", He, [
|
|
838
|
-
p("div", We, [
|
|
839
|
-
p("div", Ke, [
|
|
840
|
-
p("div", Je, [
|
|
841
|
-
p("div", Xe, [
|
|
842
|
-
p("div", Qe, [
|
|
837
|
+
p("div", Be, [n[18] ||= p("div", { class: "StationPop-sectionTitle" }, [p("span", { class: "StationPop-sectionBar" }), m(" 统计信息 ")], -1), p("div", Ve, [
|
|
838
|
+
p("div", He, [n[12] ||= p("span", { class: "StationPop-statisticsLabel" }, "日最低温度:", -1), p("span", Ue, T(K(F.value.dailyMinTemp, "℃")), 1)]),
|
|
839
|
+
p("div", We, [n[13] ||= p("span", { class: "StationPop-statisticsLabel" }, "日最高温度:", -1), p("span", Ge, T(K(F.value.dailyMaxTemp, "℃")), 1)]),
|
|
840
|
+
p("div", Ke, [n[14] ||= p("span", { class: "StationPop-statisticsLabel" }, "日累计降水:", -1), p("span", qe, T(K(F.value.dailyPrecipitation, "mm")), 1)]),
|
|
841
|
+
p("div", Je, [n[15] ||= p("span", { class: "StationPop-statisticsLabel" }, "历史最低温:", -1), p("span", Ye, T(K(F.value.historyMinTemp, "℃")), 1)]),
|
|
842
|
+
p("div", Xe, [n[16] ||= p("span", { class: "StationPop-statisticsLabel" }, "历史最高温:", -1), p("span", Ze, T(K(F.value.historyMaxTemp, "℃")), 1)]),
|
|
843
|
+
p("div", Qe, [n[17] ||= p("span", { class: "StationPop-statisticsLabel" }, "历史最大累积降水:", -1), p("span", $e, T(K(F.value.historyMaxPrecipitation, "mm")), 1)])
|
|
843
844
|
])]),
|
|
844
845
|
p("div", et, [p("div", tt, [(S(), f(u, null, w(ft, (e) => p("div", {
|
|
845
846
|
key: e.value,
|
|
@@ -851,8 +852,8 @@ var k = (e) => {
|
|
|
851
852
|
class: "StationPop-chart"
|
|
852
853
|
}, null, 512)])
|
|
853
854
|
])
|
|
854
|
-
], 4)), [[C,
|
|
855
|
-
p("div", at, [p("div", ot, [
|
|
855
|
+
], 4)), [[C, r.value]]), V.value ? (S(), f("div", rt, [p("div", it, [
|
|
856
|
+
p("div", at, [p("div", ot, [n[19] ||= p("span", null, "历史数据", -1), p("span", st, T(A.value.stationName || e.stationName), 1)]), p("button", {
|
|
856
857
|
class: "StationPop-historyClose",
|
|
857
858
|
onClick: Tt
|
|
858
859
|
}, "✕")]),
|
|
@@ -863,7 +864,7 @@ var k = (e) => {
|
|
|
863
864
|
}, T(e.label), 11, lt)), 64)), p("div", ut, [h(v, { locale: E(ce) }, {
|
|
864
865
|
default: D(() => [h(_, {
|
|
865
866
|
modelValue: W.value,
|
|
866
|
-
"onUpdate:modelValue":
|
|
867
|
+
"onUpdate:modelValue": n[0] ||= (e) => W.value = e,
|
|
867
868
|
clearable: !1,
|
|
868
869
|
class: "StationPop-historyDatePicker",
|
|
869
870
|
"popper-class": "StationPop-historyDatePickerPopper",
|
|
@@ -887,7 +888,7 @@ var k = (e) => {
|
|
|
887
888
|
}, [h(g, null, {
|
|
888
889
|
default: D(() => [h(E(oe))]),
|
|
889
890
|
_: 1
|
|
890
|
-
}),
|
|
891
|
+
}), n[20] ||= m(" 导出 ", -1)])])]),
|
|
891
892
|
p("div", dt, [h(x, {
|
|
892
893
|
data: U.value,
|
|
893
894
|
class: "StationPop-historyTable",
|
|
@@ -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 { ElIcon as n } from "element-plus/es";
|
|
3
4
|
import { Fragment as r, Teleport as i, computed as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as ee, normalizeClass as d, onMounted as f, onUnmounted as p, openBlock as m, ref as h, renderList as g, toDisplayString as _, unref as v, vModelText as y, watch as b, withCtx as x, withDirectives as S } from "vue";
|
|
4
5
|
import { ArrowLeft as C, ArrowRight as te, VideoPause as ne, VideoPlay as re } from "@element-plus/icons-vue";
|
|
@@ -6,7 +7,7 @@ import { ArrowLeft as C, ArrowRight as te, VideoPause as ne, VideoPlay as re } f
|
|
|
6
7
|
var ie = { class: "HdForecastProducts" }, ae = { class: "HdForecastProducts-popup" }, oe = { class: "HdForecastProducts-header" }, w = { class: "HdForecastProducts-title" }, T = { class: "HdForecastProducts-toolbar" }, E = { class: "HdForecastProducts-speed" }, D = { class: "HdForecastProducts-speedValue" }, O = { class: "HdForecastProducts-main" }, k = { class: "HdForecastProducts-viewer" }, A = ["src"], j = {
|
|
7
8
|
key: 1,
|
|
8
9
|
class: "HdForecastProducts-noImage"
|
|
9
|
-
}, M = { class: "HdForecastProducts-side" }, N = { class: "HdForecastProducts-list" }, P = ["onClick"], F = { class: "HdForecastProducts-itemHour" }, I = /* @__PURE__ */
|
|
10
|
+
}, M = { class: "HdForecastProducts-side" }, N = { class: "HdForecastProducts-list" }, P = ["onClick"], F = { class: "HdForecastProducts-itemHour" }, I = /* @__PURE__ */ t(/* @__PURE__ */ u({
|
|
10
11
|
__name: "HdForecastProducts",
|
|
11
12
|
props: {
|
|
12
13
|
mock: {
|
|
@@ -67,8 +68,8 @@ var ie = { class: "HdForecastProducts" }, ae = { class: "HdForecastProducts-popu
|
|
|
67
68
|
}) }
|
|
68
69
|
},
|
|
69
70
|
emits: ["close", "change"],
|
|
70
|
-
setup(
|
|
71
|
-
let I = ee()?.appContext.config.globalProperties.$bus, L =
|
|
71
|
+
setup(t, { emit: u }) {
|
|
72
|
+
let I = ee()?.appContext.config.globalProperties.$bus, L = t, R = u, z = h(0), B = h(!1), V = h(1), H = h(null), U = h({
|
|
72
73
|
title: "",
|
|
73
74
|
dataTime: "",
|
|
74
75
|
list: []
|
|
@@ -107,18 +108,18 @@ var ie = { class: "HdForecastProducts" }, ae = { class: "HdForecastProducts-popu
|
|
|
107
108
|
list: e.list || []
|
|
108
109
|
};
|
|
109
110
|
}, fe = async () => {
|
|
110
|
-
let
|
|
111
|
-
if (!
|
|
111
|
+
let t = L.ids.data;
|
|
112
|
+
if (!t?.id) {
|
|
112
113
|
console.warn("HdForecastProducts 缺少数据工作流配置");
|
|
113
114
|
return;
|
|
114
115
|
}
|
|
115
116
|
try {
|
|
116
|
-
let n = ue(await
|
|
117
|
-
id:
|
|
117
|
+
let n = ue(await e({
|
|
118
|
+
id: t.id,
|
|
118
119
|
baseHttp: L.baseHttp,
|
|
119
|
-
reqType:
|
|
120
|
+
reqType: t.reqType,
|
|
120
121
|
variables: {},
|
|
121
|
-
isFormData:
|
|
122
|
+
isFormData: t.isFormData,
|
|
122
123
|
appKey: L.appKey,
|
|
123
124
|
appSalt: L.appSalt
|
|
124
125
|
}));
|
package/dist/chunks/{component-HdHeatChart-Bw3VlWeE.mjs → component-HdHeatChart-EDjbIEIa.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 } from "element-plus/es";
|
|
3
4
|
import { computed as r, createElementBlock as i, createElementVNode as a, defineComponent as o, onBeforeUnmount as s, onMounted as c, openBlock as l, ref as u, toDisplayString as d, watch as f, withDirectives as p } from "vue";
|
|
4
5
|
import * as m from "echarts";
|
|
@@ -7,7 +8,7 @@ import "element-plus/es/components/loading/style/css";
|
|
|
7
8
|
var h = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAG1BMVEVHcEz/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AACeYvHRAAAACHRSTlMAI0Bbga7B52OltfYAAACeSURBVHja7ddRCgMhDIThxCQ69z9xQXYhWyqts09L8x1gxB9flPKNRqjcEUDIDQ4ALjTD1ISkA9NQ4XQcgg5wci5AYrKtIRvKBqAzBN44FSAzIgCdQTs+CCIAmcGxYERAIoMOLAUVIHMqQGYbAbgMjom/ROsnXPSDy698cXAN1EAN1EANPHLAcGGyTVui8gDEFYiI//aQBpJh9QVeewHkyhriyc1QkgAAAABJRU5ErkJggg==", g = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAG1BMVEVHcEwHOPgEOPcGOfgGOPgFOfgFOfkFOfgGOfgoU2zHAAAACHRSTlMAI0BbgJe75ct9/NwAAACfSURBVHja7dfBCgMhDIThaGIy7//EBcGy0trW8bQ033EPs/jjRUnfFG9FTjjgcsAAwISm6CodINBFoQN0dIaGJ6MDDCrbKgYyg2PiZAA6g+KFEgH4DIE3nAhAZjAsKBGQyFACHZ3B8YHRAQbdCMBlMHT8IaoPmIyvTX5lix/nQA7kQA7kwC0HFBOVbaVeFLmf8yMYJvqXFylwEZpP4LUHZqAa7WC9H9YAAAAASUVORK5CYII=", _ = {
|
|
8
9
|
class: "HdHeatChart",
|
|
9
10
|
"element-loading-background": "rgba(0, 0, 0, 0.5)"
|
|
10
|
-
}, v = { class: "HdHeatChart-header" }, y = { class: "HdHeatChart-headerContent" }, b = { class: "HdHeatChart-title" }, x = { class: "HdHeatChart-subTitle" }, S = /* @__PURE__ */
|
|
11
|
+
}, v = { class: "HdHeatChart-header" }, y = { class: "HdHeatChart-headerContent" }, b = { class: "HdHeatChart-title" }, x = { class: "HdHeatChart-subTitle" }, S = /* @__PURE__ */ t(/* @__PURE__ */ o({
|
|
11
12
|
__name: "HdHeatChart",
|
|
12
13
|
props: {
|
|
13
14
|
title: { default: "预报温度与供热预测" },
|
|
@@ -27,8 +28,8 @@ var h = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAG
|
|
|
27
28
|
}) }
|
|
28
29
|
},
|
|
29
30
|
emits: ["close"],
|
|
30
|
-
setup(
|
|
31
|
-
let S =
|
|
31
|
+
setup(t, { emit: o }) {
|
|
32
|
+
let S = t, C = o, w = u(!1), T = u(null), E = null, D = null, O = u({
|
|
32
33
|
dataTime: "",
|
|
33
34
|
list: []
|
|
34
35
|
}), k = r(() => O.value.list || []), A = () => {
|
|
@@ -123,18 +124,18 @@ var h = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAG
|
|
|
123
124
|
return e.predictLoad > r.predictLoad ? e.change = "up" : e.predictLoad < r.predictLoad && (e.change = "down"), e;
|
|
124
125
|
});
|
|
125
126
|
}, F = async () => {
|
|
126
|
-
let
|
|
127
|
-
if (!
|
|
127
|
+
let t = j("data");
|
|
128
|
+
if (!t) {
|
|
128
129
|
console.warn("HdHeatChart 缺少工作流配置");
|
|
129
130
|
return;
|
|
130
131
|
}
|
|
131
132
|
try {
|
|
132
|
-
let n = M(await
|
|
133
|
-
id:
|
|
133
|
+
let n = M(await e({
|
|
134
|
+
id: t.id,
|
|
134
135
|
baseHttp: S.baseHttp,
|
|
135
|
-
reqType:
|
|
136
|
+
reqType: t.reqType,
|
|
136
137
|
variables: { days: S.days },
|
|
137
|
-
isFormData:
|
|
138
|
+
isFormData: t.isFormData,
|
|
138
139
|
appKey: S.appKey,
|
|
139
140
|
appSalt: S.appSalt
|
|
140
141
|
}));
|
|
@@ -350,14 +351,14 @@ var h = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAG
|
|
|
350
351
|
I(), B(), window.addEventListener("resize", H);
|
|
351
352
|
}), s(() => {
|
|
352
353
|
V(), window.removeEventListener("resize", H), E &&= (E.dispose(), null);
|
|
353
|
-
}), (
|
|
354
|
+
}), (e, r) => {
|
|
354
355
|
let o = n;
|
|
355
356
|
return p((l(), i("div", _, [
|
|
356
357
|
a("button", {
|
|
357
358
|
class: "HdHeatChart-close",
|
|
358
359
|
onClick: A
|
|
359
360
|
}, [...r[0] ||= [a("span", null, "✕", -1)]]),
|
|
360
|
-
a("div", v, [a("div", y, [a("h3", b, d(
|
|
361
|
+
a("div", v, [a("div", y, [a("h3", b, d(t.title), 1), a("span", x, "(" + d(t.days) + "天)", 1)])]),
|
|
361
362
|
a("div", {
|
|
362
363
|
ref_key: "chartRef",
|
|
363
364
|
ref: T,
|
|
@@ -1,11 +1,12 @@
|
|
|
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-HdHeatChart-EDjbIEIa.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, normalizeClass as f, normalizeStyle as p, onBeforeUnmount as m, onMounted as ee, openBlock as h, ref as g, renderList as _, toDisplayString as v, vShow as te, withDirectives as ne, withModifiers as y } from "vue";
|
|
5
6
|
import * as b from "echarts";
|
|
6
7
|
import "element-plus/es/components/loading/style/css";
|
|
7
8
|
//#region src/components/HdHeatChartDialog/HdHeatChartDialog.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
-
var re = { class: "HdHeatChartDialog-head-title" }, ie = { class: "HdHeatChartDialog-head-actions" }, ae = { class: "HdHeatChartDialog-info" }, oe = { class: "HdHeatChartDialog-info-daily" }, se = { class: "HdHeatChartDialog-info-dailyRow" }, ce = { class: "HdHeatChartDialog-info-dailyLabel" }, le = { class: "HdHeatChartDialog-info-dailyValue" }, ue = { class: "HdHeatChartDialog-info-dailyTime" }, de = { class: "HdHeatChartDialog-info-dailyTime" }, fe = { class: "HdHeatChartDialog-info-dailyValue" }, pe = { class: "HdHeatChartDialog-info-dailyRow" }, me = { class: "HdHeatChartDialog-info-dailyLabel" }, he = { class: "HdHeatChartDialog-info-dailyValue" }, ge = { class: "HdHeatChartDialog-info-dailyTime" }, _e = { class: "HdHeatChartDialog-info-dailyTime" }, ve = { class: "HdHeatChartDialog-info-dailyValue" }, ye = { class: "HdHeatChartDialog-summaryBox" }, x = { class: "HdHeatChartDialog-summaryHead" }, S = { class: "HdHeatChartDialog-summaryBody" }, C = { class: "HdHeatChartDialog-summaryRow" }, w = { class: "HdHeatChartDialog-summaryValue" }, T = { class: "HdHeatChartDialog-summaryTime" }, E = { class: "HdHeatChartDialog-summaryRow" }, D = { class: "HdHeatChartDialog-summaryValue" }, O = { class: "HdHeatChartDialog-summaryTime" }, k = { class: "HdHeatChartDialog-summaryRow" }, A = { class: "HdHeatChartDialog-summaryValue" }, j = { class: "HdHeatChartDialog-summaryRow" }, M = { class: "HdHeatChartDialog-summaryValue" }, N = { class: "HdHeatChartDialog-summaryTime" }, P = { class: "HdHeatChartDialog-chartWrap" }, be = { class: "HdHeatChartDialog-levels" }, xe = { class: "HdHeatChartDialog-levels-label" }, F = /* @__PURE__ */
|
|
9
|
+
var re = { class: "HdHeatChartDialog-head-title" }, ie = { class: "HdHeatChartDialog-head-actions" }, ae = { class: "HdHeatChartDialog-info" }, oe = { class: "HdHeatChartDialog-info-daily" }, se = { class: "HdHeatChartDialog-info-dailyRow" }, ce = { class: "HdHeatChartDialog-info-dailyLabel" }, le = { class: "HdHeatChartDialog-info-dailyValue" }, ue = { class: "HdHeatChartDialog-info-dailyTime" }, de = { class: "HdHeatChartDialog-info-dailyTime" }, fe = { class: "HdHeatChartDialog-info-dailyValue" }, pe = { class: "HdHeatChartDialog-info-dailyRow" }, me = { class: "HdHeatChartDialog-info-dailyLabel" }, he = { class: "HdHeatChartDialog-info-dailyValue" }, ge = { class: "HdHeatChartDialog-info-dailyTime" }, _e = { class: "HdHeatChartDialog-info-dailyTime" }, ve = { class: "HdHeatChartDialog-info-dailyValue" }, ye = { class: "HdHeatChartDialog-summaryBox" }, x = { class: "HdHeatChartDialog-summaryHead" }, S = { class: "HdHeatChartDialog-summaryBody" }, C = { class: "HdHeatChartDialog-summaryRow" }, w = { class: "HdHeatChartDialog-summaryValue" }, T = { class: "HdHeatChartDialog-summaryTime" }, E = { class: "HdHeatChartDialog-summaryRow" }, D = { class: "HdHeatChartDialog-summaryValue" }, O = { class: "HdHeatChartDialog-summaryTime" }, k = { class: "HdHeatChartDialog-summaryRow" }, A = { class: "HdHeatChartDialog-summaryValue" }, j = { class: "HdHeatChartDialog-summaryRow" }, M = { class: "HdHeatChartDialog-summaryValue" }, N = { class: "HdHeatChartDialog-summaryTime" }, P = { class: "HdHeatChartDialog-chartWrap" }, be = { class: "HdHeatChartDialog-levels" }, xe = { class: "HdHeatChartDialog-levels-label" }, F = /* @__PURE__ */ t(/* @__PURE__ */ u({
|
|
9
10
|
__name: "HdHeatChartDialog",
|
|
10
11
|
props: {
|
|
11
12
|
baseHttp: { default: "" },
|
|
@@ -15,8 +16,8 @@ var re = { class: "HdHeatChartDialog-head-title" }, ie = { class: "HdHeatChartDi
|
|
|
15
16
|
refreshInterval: { default: 1e3 * 60 * 10 }
|
|
16
17
|
},
|
|
17
18
|
emits: ["close"],
|
|
18
|
-
setup(
|
|
19
|
-
let F = d()?.appContext.config.globalProperties.$bus, I =
|
|
19
|
+
setup(t, { emit: u }) {
|
|
20
|
+
let F = d()?.appContext.config.globalProperties.$bus, I = t, Se = u, L = g(!1), R = g(""), z = g(!1), Ce = g(null), B = g(null), V = null, H = g({
|
|
20
21
|
title: "网格72小时逐三小时温度图",
|
|
21
22
|
initTime: "20时",
|
|
22
23
|
maxTemp: {
|
|
@@ -174,18 +175,18 @@ var re = { class: "HdHeatChartDialog-head-title" }, ie = { class: "HdHeatChartDi
|
|
|
174
175
|
list: o
|
|
175
176
|
};
|
|
176
177
|
}, Ne = async () => {
|
|
177
|
-
let
|
|
178
|
-
if (!
|
|
178
|
+
let t = je("data");
|
|
179
|
+
if (!t) {
|
|
179
180
|
console.warn("HdHeatChartDialog 缺少工作流配置");
|
|
180
181
|
return;
|
|
181
182
|
}
|
|
182
183
|
try {
|
|
183
|
-
let n = Y(await
|
|
184
|
-
id:
|
|
184
|
+
let n = Y(await e({
|
|
185
|
+
id: t.id,
|
|
185
186
|
baseHttp: I.baseHttp,
|
|
186
|
-
reqType:
|
|
187
|
+
reqType: t.reqType,
|
|
187
188
|
variables: { gridIndex: R.value },
|
|
188
|
-
isFormData:
|
|
189
|
+
isFormData: t.isFormData,
|
|
189
190
|
appKey: I.appKey,
|
|
190
191
|
appSalt: I.appSalt
|
|
191
192
|
}));
|
package/dist/chunks/{component-HdHeatService-CIee1NwQ.mjs → component-HdHeatService-BcBoR9o7.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 } from "element-plus/es";
|
|
3
4
|
import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, defineComponent as l, getCurrentInstance as ee, nextTick as u, normalizeStyle as d, onMounted as te, onUnmounted as ne, openBlock as f, ref as p, renderList as m, toDisplayString as h, watch as g, withDirectives as re } from "vue";
|
|
4
5
|
import * as _ from "echarts";
|
|
@@ -65,7 +66,7 @@ var ie = { class: "HdHeatService" }, ae = {
|
|
|
65
66
|
}, Ne = { class: "HdHeatService-effectSummaryLabel" }, Pe = {
|
|
66
67
|
key: 0,
|
|
67
68
|
class: "HdHeatService-effectSummaryUnit"
|
|
68
|
-
}, Fe = { class: "HdHeatService-effectChartTitle" }, j = /* @__PURE__ */
|
|
69
|
+
}, Fe = { class: "HdHeatService-effectChartTitle" }, j = /* @__PURE__ */ t(/* @__PURE__ */ l({
|
|
69
70
|
__name: "HdHeatService",
|
|
70
71
|
props: {
|
|
71
72
|
pageType: { default: "1" },
|
|
@@ -85,8 +86,8 @@ var ie = { class: "HdHeatService" }, ae = {
|
|
|
85
86
|
serviceType: { default: "" }
|
|
86
87
|
},
|
|
87
88
|
emits: ["close"],
|
|
88
|
-
setup(
|
|
89
|
-
let j = ee()?.appContext.config.globalProperties.$bus, M =
|
|
89
|
+
setup(t, { emit: l }) {
|
|
90
|
+
let j = ee()?.appContext.config.globalProperties.$bus, M = t, Ie = l, N = p({
|
|
90
91
|
bgImage: "",
|
|
91
92
|
deviceCount: 0,
|
|
92
93
|
materialCount: 0,
|
|
@@ -306,18 +307,18 @@ var ie = { class: "HdHeatService" }, ae = {
|
|
|
306
307
|
yAxisName: e.yAxisName || ""
|
|
307
308
|
};
|
|
308
309
|
}) : [], X = async () => {
|
|
309
|
-
let
|
|
310
|
-
if (!
|
|
310
|
+
let t = M.ids?.img;
|
|
311
|
+
if (!t?.id) {
|
|
311
312
|
console.warn("HdHeatService 缺少图片工作流配置");
|
|
312
313
|
return;
|
|
313
314
|
}
|
|
314
315
|
try {
|
|
315
|
-
let n = J(await
|
|
316
|
-
id:
|
|
316
|
+
let n = J(await e({
|
|
317
|
+
id: t.id,
|
|
317
318
|
baseHttp: M.baseHttp,
|
|
318
|
-
reqType:
|
|
319
|
+
reqType: t.reqType,
|
|
319
320
|
variables: { configKey: M.imgKey },
|
|
320
|
-
isFormData:
|
|
321
|
+
isFormData: t.isFormData,
|
|
321
322
|
appKey: M.appKey,
|
|
322
323
|
appSalt: M.appSalt
|
|
323
324
|
}));
|
|
@@ -329,18 +330,18 @@ var ie = { class: "HdHeatService" }, ae = {
|
|
|
329
330
|
console.error("HdHeatService 图片加载失败", e);
|
|
330
331
|
}
|
|
331
332
|
}, Z = async () => {
|
|
332
|
-
let
|
|
333
|
-
if (!
|
|
333
|
+
let t = M.ids?.data;
|
|
334
|
+
if (!t?.id) {
|
|
334
335
|
console.warn("HdHeatService 缺少数据工作流配置");
|
|
335
336
|
return;
|
|
336
337
|
}
|
|
337
338
|
try {
|
|
338
|
-
let n = J(await
|
|
339
|
-
id:
|
|
339
|
+
let n = J(await e({
|
|
340
|
+
id: t.id,
|
|
340
341
|
baseHttp: M.baseHttp,
|
|
341
|
-
reqType:
|
|
342
|
+
reqType: t.reqType,
|
|
342
343
|
variables: {},
|
|
343
|
-
isFormData:
|
|
344
|
+
isFormData: t.isFormData,
|
|
344
345
|
appKey: M.appKey,
|
|
345
346
|
appSalt: M.appSalt
|
|
346
347
|
}));
|
|
@@ -350,14 +351,14 @@ var ie = { class: "HdHeatService" }, ae = {
|
|
|
350
351
|
}
|
|
351
352
|
}, Je = async () => {
|
|
352
353
|
P.value = !0;
|
|
353
|
-
let
|
|
354
|
-
if (
|
|
355
|
-
let n = J(await
|
|
356
|
-
id:
|
|
354
|
+
let t = M.ids?.heat;
|
|
355
|
+
if (t?.id) try {
|
|
356
|
+
let n = J(await e({
|
|
357
|
+
id: t.id,
|
|
357
358
|
baseHttp: M.baseHttp,
|
|
358
|
-
reqType:
|
|
359
|
+
reqType: t.reqType,
|
|
359
360
|
variables: {},
|
|
360
|
-
isFormData:
|
|
361
|
+
isFormData: t.isFormData,
|
|
361
362
|
appKey: M.appKey,
|
|
362
363
|
appSalt: M.appSalt
|
|
363
364
|
}));
|
|
@@ -369,14 +370,14 @@ var ie = { class: "HdHeatService" }, ae = {
|
|
|
369
370
|
}
|
|
370
371
|
}, Q = async () => {
|
|
371
372
|
P.value = !0;
|
|
372
|
-
let
|
|
373
|
-
if (
|
|
374
|
-
let n = J(await
|
|
375
|
-
id:
|
|
373
|
+
let t = M.ids?.chart;
|
|
374
|
+
if (t?.id) try {
|
|
375
|
+
let n = J(await e({
|
|
376
|
+
id: t.id,
|
|
376
377
|
baseHttp: M.baseHttp,
|
|
377
|
-
reqType:
|
|
378
|
+
reqType: t.reqType,
|
|
378
379
|
variables: { categoryType: M.serviceType },
|
|
379
|
-
isFormData:
|
|
380
|
+
isFormData: t.isFormData,
|
|
380
381
|
appKey: M.appKey,
|
|
381
382
|
appSalt: M.appSalt
|
|
382
383
|
}));
|
|
@@ -404,16 +405,16 @@ var ie = { class: "HdHeatService" }, ae = {
|
|
|
404
405
|
e && (await u(), G());
|
|
405
406
|
}), g(U, async () => {
|
|
406
407
|
await u(), G();
|
|
407
|
-
}, { deep: !0 }), (
|
|
408
|
+
}, { deep: !0 }), (e, i) => {
|
|
408
409
|
let l = n;
|
|
409
|
-
return f(), o("div", ie, [
|
|
410
|
+
return f(), o("div", ie, [t.pageType == "1" ? (f(), o("div", ae, [V.value ? (f(), o("div", oe, [s("img", {
|
|
410
411
|
src: V.value,
|
|
411
412
|
alt: "供热服务"
|
|
412
413
|
}, null, 8, se)])) : a("", !0), s("div", ce, [
|
|
413
414
|
s("div", le, [
|
|
414
|
-
s("div", ue, [s("div", de, h(z.value.deviceLabel), 1), s("div", fe, [c(h(R.value.stationNum) + " ", 1),
|
|
415
|
+
s("div", ue, [s("div", de, h(z.value.deviceLabel), 1), s("div", fe, [c(h(R.value.stationNum) + " ", 1), t.pageType == "1" ? (f(), o("span", pe, "个")) : a("", !0)])]),
|
|
415
416
|
i[0] ||= s("div", { class: "HdHeatService-divider" }, null, -1),
|
|
416
|
-
s("div", me, [s("div", he, h(z.value.materialLabel), 1), s("div", ge, [c(h(R.value.serviceNum) + " ", 1),
|
|
417
|
+
s("div", me, [s("div", he, h(z.value.materialLabel), 1), s("div", ge, [c(h(R.value.serviceNum) + " ", 1), t.pageType == "1" ? (f(), o("span", _e, "份")) : a("", !0)])])
|
|
417
418
|
]),
|
|
418
419
|
z.value.showEffect ? (f(), o("button", {
|
|
419
420
|
key: 0,
|
|
@@ -421,14 +422,14 @@ var ie = { class: "HdHeatService" }, ae = {
|
|
|
421
422
|
onClick: q
|
|
422
423
|
}, " 服务成效 ")) : a("", !0),
|
|
423
424
|
z.value.timePrefix ? (f(), o("div", ve, h(z.value.timePrefix) + h(Le.value), 1)) : a("", !0)
|
|
424
|
-
])])) :
|
|
425
|
+
])])) : t.pageType == "2" ? (f(), o("div", ye, [V.value ? (f(), o("div", be, [s("img", {
|
|
425
426
|
src: V.value,
|
|
426
427
|
alt: ""
|
|
427
428
|
}, null, 8, xe)])) : a("", !0), s("div", Se, [s("div", Ce, [
|
|
428
429
|
s("div", v, [s("div", y, h(z.value.deviceLabel), 1), s("div", b, h(L.value.deviceData), 1)]),
|
|
429
430
|
i[1] ||= s("div", { class: "HdHeatService-divider" }, null, -1),
|
|
430
431
|
s("div", x, [s("div", S, h(z.value.materialLabel), 1), s("div", C, h(L.value.serviceCount >= 100 ? L.value.serviceCount + "+" : L.value.serviceCount), 1)])
|
|
431
|
-
])])])) :
|
|
432
|
+
])])])) : t.pageType == "3" ? (f(), o("div", w, [V.value ? (f(), o("div", T, [s("img", {
|
|
432
433
|
src: V.value,
|
|
433
434
|
alt: ""
|
|
434
435
|
}, null, 8, E)])) : a("", !0), s("div", D, [s("div", O, [
|
|
@@ -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 ee, ElTableColumn as te } 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, onMounted as _, openBlock as v, ref as y, renderList as ne, toDisplayString as b, unref as re, withCtx as x, withDirectives as ie, withModifiers as ae } from "vue";
|
|
4
5
|
import "element-plus/dist/index.css";
|
|
@@ -22,7 +23,7 @@ var se = {
|
|
|
22
23
|
}, C = { class: "HdInsectDetailList-section" }, w = { class: "HdInsectDetailList-feature" }, T = { class: "HdInsectDetailList-featureImage" }, E = ["src"], D = { class: "HdInsectDetailList-featureText" }, O = { class: "HdInsectDetailList-section" }, k = { class: "HdInsectDetailList-prevention" }, A = {
|
|
23
24
|
key: 0,
|
|
24
25
|
class: "HdInsectDetailList-modal"
|
|
25
|
-
}, j = { class: "HdInsectDetailList-subPanel HdInsectDetailList-subPanel--detail" }, M = { class: "HdInsectDetailList-detailHead" }, N = { class: "HdInsectDetailList-detailTime" }, P = { class: "HdInsectDetailList-detailImage" }, be = ["src"], F = /* @__PURE__ */
|
|
26
|
+
}, j = { class: "HdInsectDetailList-subPanel HdInsectDetailList-subPanel--detail" }, M = { class: "HdInsectDetailList-detailHead" }, N = { class: "HdInsectDetailList-detailTime" }, P = { class: "HdInsectDetailList-detailImage" }, be = ["src"], F = /* @__PURE__ */ t(/* @__PURE__ */ m({
|
|
26
27
|
__name: "HdInsectDetailList",
|
|
27
28
|
props: {
|
|
28
29
|
baseHttp: { default: "" },
|
|
@@ -35,8 +36,8 @@ var se = {
|
|
|
35
36
|
} }) }
|
|
36
37
|
},
|
|
37
38
|
emits: ["close"],
|
|
38
|
-
setup(
|
|
39
|
-
let F =
|
|
39
|
+
setup(t, { emit: m }) {
|
|
40
|
+
let F = t, xe = m, Se = h()?.appContext.config.globalProperties.$bus, I = y(!1), L = y(!1), R = y(""), z = y([]), B = y(!1), V = y(!1), H = y(0), U = y(null), W = s(() => U.value?.guidance || []), G = s(() => W.value[H.value]), K = /* @__PURE__ */ new Date(), Ce = /* @__PURE__ */ new Date(K.getTime() - 10080 * 60 * 1e3), q = (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")}`, J = y([q(new Date(Ce.setHours(0, 0, 0, 0))), q(new Date(K.setHours(23, 59, 59, 0)))]), we = s(() => J.value?.[0] || ""), Te = s(() => J.value?.[1] || ""), Y = y("虫情监测详情"), X = (e) => {
|
|
40
41
|
if (!e) return null;
|
|
41
42
|
let t = null;
|
|
42
43
|
if (t = 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, typeof t == "string") try {
|
|
@@ -77,20 +78,20 @@ var se = {
|
|
|
77
78
|
};
|
|
78
79
|
});
|
|
79
80
|
}, Z = async () => {
|
|
80
|
-
let
|
|
81
|
-
if (!(!
|
|
81
|
+
let t = F.ids?.data;
|
|
82
|
+
if (!(!t?.id || !R.value)) {
|
|
82
83
|
L.value = !0;
|
|
83
84
|
try {
|
|
84
|
-
let n = X(await
|
|
85
|
-
id:
|
|
85
|
+
let n = X(await e({
|
|
86
|
+
id: t.id,
|
|
86
87
|
baseHttp: F.baseHttp,
|
|
87
|
-
reqType:
|
|
88
|
+
reqType: t.reqType,
|
|
88
89
|
variables: {
|
|
89
90
|
msName: R.value,
|
|
90
91
|
startTime: we.value,
|
|
91
92
|
endTime: Te.value
|
|
92
93
|
},
|
|
93
|
-
isFormData:
|
|
94
|
+
isFormData: t.isFormData,
|
|
94
95
|
appKey: F.appKey,
|
|
95
96
|
appSalt: F.appSalt
|
|
96
97
|
}));
|
|
@@ -101,28 +102,28 @@ var se = {
|
|
|
101
102
|
L.value = !1;
|
|
102
103
|
}
|
|
103
104
|
}
|
|
104
|
-
}, Oe = async (
|
|
105
|
+
}, Oe = async (t) => {
|
|
105
106
|
let n = F.ids?.guidence;
|
|
106
107
|
if (!n?.id) {
|
|
107
108
|
console.warn("HdInsectDetailList 缺少指导意见工作流配置");
|
|
108
109
|
return;
|
|
109
110
|
}
|
|
110
111
|
try {
|
|
111
|
-
let r = X(await
|
|
112
|
+
let r = X(await e({
|
|
112
113
|
id: n.id,
|
|
113
114
|
baseHttp: F.baseHttp,
|
|
114
115
|
reqType: n.reqType,
|
|
115
|
-
variables: { msName:
|
|
116
|
+
variables: { msName: t.msName || t.stationName },
|
|
116
117
|
isFormData: n.isFormData,
|
|
117
118
|
appKey: F.appKey,
|
|
118
119
|
appSalt: F.appSalt
|
|
119
120
|
})), i = (Array.isArray(r) ? r : r?.data || [])[0] || {};
|
|
120
121
|
U.value = {
|
|
121
|
-
...
|
|
122
|
+
...t,
|
|
122
123
|
guidance: De(i)
|
|
123
124
|
};
|
|
124
|
-
} catch (
|
|
125
|
-
console.error("HdInsectDetailList 指导意见加载失败",
|
|
125
|
+
} catch (e) {
|
|
126
|
+
console.error("HdInsectDetailList 指导意见加载失败", e), U.value = t;
|
|
126
127
|
}
|
|
127
128
|
}, Q = async (e) => {
|
|
128
129
|
H.value = 0, B.value = !0, await Oe(e);
|