nxd-plugin 1.8.37 → 1.8.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/YCServiceSummary-CP4xYmeZ.mjs +2 -0
- package/dist/chunks/{component-Agent-DqXO06Ql.mjs → component-Agent-Cm2BEfcV.mjs} +2451 -2405
- package/dist/chunks/{component-AiChat-C8NFYtVc.mjs → component-AiChat-C0nCRTDL.mjs} +202 -202
- package/dist/chunks/{component-AqiMonitor-WvrknfI9.mjs → component-AqiMonitor-buvqeOgY.mjs} +9 -9
- package/dist/chunks/{component-ChartCumulativePre-B9Prk8Sx.mjs → component-ChartCumulativePre-C4PgcnVy.mjs} +7 -7
- package/dist/chunks/{component-ChartServiceMaterial-dSZ_Pec0.mjs → component-ChartServiceMaterial-C7a1Qqo_.mjs} +6 -6
- package/dist/chunks/{component-Duty-CcPTE385.mjs → component-Duty-DOs3Ug6k.mjs} +6 -6
- package/dist/chunks/{component-EarlyWarningStatistic-Ug-1jfiU.mjs → component-EarlyWarningStatistic-CXmSRC_Z.mjs} +6 -6
- package/dist/chunks/{component-EarlyWarningStatistic2-BnZqgK4P.mjs → component-EarlyWarningStatistic2-DBipE3hf.mjs} +15 -15
- package/dist/chunks/{component-Forecast72h-5DGIhVUd.mjs → component-Forecast72h-CU8p9veB.mjs} +16 -16
- package/dist/chunks/{component-GeologyLiveAlarm-Bg710d1g.mjs → component-GeologyLiveAlarm-Br4JKabm.mjs} +7 -7
- package/dist/chunks/{component-GridForecastMsg-D0jzurbN.mjs → component-GridForecastMsg-8ERFdIt7.mjs} +8 -8
- package/dist/chunks/{component-HDSeaLegend-D5FWHvmR.mjs → component-HDSeaLegend-DQXZYgpR.mjs} +2 -2
- package/dist/chunks/{component-HdCameraList-4ArboSf0.mjs → component-HdCameraList-CzJDCIUd.mjs} +151 -150
- package/dist/chunks/{component-HdFarmStation-D9qZ2csY.mjs → component-HdFarmStation-Bw9K6NJn.mjs} +11 -11
- package/dist/chunks/{component-HdFarmStationDialog-DHGlfkae.mjs → component-HdFarmStationDialog-jR-LBbQP.mjs} +33 -33
- package/dist/chunks/{component-HdForecastProducts-qj9Yzh7D.mjs → component-HdForecastProducts-TXRVg26S.mjs} +10 -10
- package/dist/chunks/{component-HdHeatChart-Br63YpFN.mjs → component-HdHeatChart-DZak9Ft6.mjs} +12 -12
- package/dist/chunks/{component-HdHeatChartDialog-DOkB8heB.mjs → component-HdHeatChartDialog-D1fXxl0L.mjs} +11 -11
- package/dist/chunks/{component-HdHeatService-BeUpAmBA.mjs → component-HdHeatService-B6jbZMfm.mjs} +34 -34
- package/dist/chunks/{component-HdInsectDetailList-C9tAtciq.mjs → component-HdInsectDetailList-B3sikKhM.mjs} +16 -16
- package/dist/chunks/{component-HdInsectList-pU1-mQ-C.mjs → component-HdInsectList-BhwtKWGc.mjs} +18 -18
- package/dist/chunks/{component-HdMajorActivity-DSPYsbdQ.mjs → component-HdMajorActivity-EC4Hvfqb.mjs} +23 -23
- package/dist/chunks/{component-HdObservation-osOGizJv.mjs → component-HdObservation-DZLNEWhN.mjs} +10 -10
- package/dist/chunks/{component-HdPreSituation-Ca_d4L11.mjs → component-HdPreSituation-DBGR2Ryu.mjs} +9 -9
- package/dist/chunks/{component-HdQxServiceEffects-CtlLJVdx.mjs → component-HdQxServiceEffects-dREiY6bN.mjs} +10 -10
- package/dist/chunks/{component-HdRadarList-CgWMdwBo.mjs → component-HdRadarList-BxHqX6lK.mjs} +3 -3
- package/dist/chunks/{component-HdRadarTime-Bp7D80GJ.mjs → component-HdRadarTime-BmXlFJFB.mjs} +12 -12
- package/dist/chunks/{component-HdRadarTimeLine-DfOce6fK.mjs → component-HdRadarTimeLine-DuKt7347.mjs} +13 -13
- package/dist/chunks/{component-HdRisk-Bd3if-1-.mjs → component-HdRisk-CAF1JxIu.mjs} +11 -11
- package/dist/chunks/{component-HdSeaCase-CbY3FsOy.mjs → component-HdSeaCase-DVhbtYSc.mjs} +26 -26
- package/dist/chunks/{component-HdServiceMarterial-B7FEviHO.mjs → component-HdServiceMarterial-CAXKIPOW.mjs} +17 -17
- package/dist/chunks/{component-HdServiceRequirements-DKJ8uQja.mjs → component-HdServiceRequirements-ByhUd4ey.mjs} +13 -13
- package/dist/chunks/{component-HdSoil-ztBxJspH.mjs → component-HdSoil-qNATYOOB.mjs} +11 -11
- package/dist/chunks/{component-HdSoilDetailList-1gMQt-uL.mjs → component-HdSoilDetailList-BbihIcJ9.mjs} +12 -12
- package/dist/chunks/{component-HdStationTem-DfJ0I_2S.mjs → component-HdStationTem-C7eTBEla.mjs} +17 -17
- package/dist/chunks/{component-HdSuggestion-FXvLu_OD.mjs → component-HdSuggestion-BGz6-uaw.mjs} +13 -13
- package/dist/chunks/{component-HdThreeWeatherTrend-DGLSVUb8.mjs → component-HdThreeWeatherTrend-CZTzNuEZ.mjs} +18 -18
- package/dist/chunks/{component-HdWaveForcast-dTEB0h8d.mjs → component-HdWaveForcast-CFfbmxOJ.mjs} +11 -11
- package/dist/chunks/{component-HighQuality-DZGJXvJC.mjs → component-HighQuality-qHBWb-O7.mjs} +16 -16
- package/dist/chunks/{component-HighWayEarlyWarningRed-F0q1FCTw.mjs → component-HighWayEarlyWarningRed-D5xK5D0V.mjs} +16 -16
- package/dist/chunks/{component-HighWayFreeze-d4Xwkwf1.mjs → component-HighWayFreeze-Bfzy5Py4.mjs} +8 -8
- package/dist/chunks/{component-HighwayLiveAlarm-ChAdlgNB.mjs → component-HighwayLiveAlarm-C0NVxNlc.mjs} +6 -6
- package/dist/chunks/{component-HighwayLiveAlarmNew-B-KnOey_.mjs → component-HighwayLiveAlarmNew-BkPc1uHT.mjs} +11 -11
- package/dist/chunks/{component-HighwayStations-CknEywO_.mjs → component-HighwayStations-gLCzqaFg.mjs} +6 -6
- package/dist/chunks/{component-HighwayWeatherForecast-B4szOq2G.mjs → component-HighwayWeatherForecast-Di4k_gXe.mjs} +9 -9
- package/dist/chunks/{component-IframeWeb-iDh9lrPn.mjs → component-IframeWeb-BI6ARPim.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-CsIZ2Kz2.mjs → component-ImageGeneration-HZcmty4a.mjs} +2 -2
- package/dist/chunks/{component-IntroducePic-BggfUWvz.mjs → component-IntroducePic-BzcpXcDu.mjs} +13 -13
- package/dist/chunks/{component-LithiumBatteryMiningArea-RpuBju1r.mjs → component-LithiumBatteryMiningArea-CWmowyvH.mjs} +12 -12
- package/dist/chunks/{component-MapPopup-LFWUnUl3.mjs → component-MapPopup-BMpK3HDv.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-DvNKoDNy.mjs → component-MaterialPreview-opXV5MsP.mjs} +5 -5
- package/dist/chunks/{component-PieLegend-B2Nor3pz.mjs → component-PieLegend-DbYkitpz.mjs} +1 -1
- package/dist/chunks/{component-PrecipitationRanking-ClwjH24B.mjs → component-PrecipitationRanking-DCkl4WcA.mjs} +27 -27
- package/dist/chunks/{component-RadarChart-BMoy8MXR.mjs → component-RadarChart-elpvJJcV.mjs} +10 -10
- package/dist/chunks/{component-RadarLegend-rXlAb8lF.mjs → component-RadarLegend-CooXza3E.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-4RS7HYWc.mjs → component-RadarShortTerm-CThl2lDU.mjs} +20 -20
- package/dist/chunks/{component-RadarTime-W1ZVEA9e.mjs → component-RadarTime-CvudM45Q.mjs} +18 -18
- package/dist/chunks/{component-RenderMarkdown-DO4bEFoj.mjs → component-RenderMarkdown-hrLIIwgE.mjs} +6 -6
- package/dist/chunks/{component-ReservoirLiveAlarm-ZD1RSFHm.mjs → component-ReservoirLiveAlarm-CzZpNTun.mjs} +8 -8
- package/dist/chunks/{component-ServiceMaterial-DrxeAmRt.mjs → component-ServiceMaterial-9oH_DZq1.mjs} +9 -9
- package/dist/chunks/{component-ServiceMaterialsBtn-CZFRzpDr.mjs → component-ServiceMaterialsBtn-ckhadvV7.mjs} +2 -2
- package/dist/chunks/{component-StationDialog-NhNr3lY1.mjs → component-StationDialog-XTeGI3qA.mjs} +9 -9
- package/dist/chunks/{component-StationList-CSU1nUgF.mjs → component-StationList-rrmZM7q1.mjs} +9 -9
- package/dist/chunks/{component-TimeBasedForecast-BObdyMNh.mjs → component-TimeBasedForecast-C8eEmt7r.mjs} +10 -10
- package/dist/chunks/{component-Typhoon-AxGQ8VuM.mjs → component-Typhoon-RsStDsjO.mjs} +16 -16
- package/dist/chunks/{component-WarningLine-Biz0NEC8.mjs → component-WarningLine-gmXFFeUv.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-D5ux6LCy.mjs → component-WarningSignal-CjQjyTr4.mjs} +17 -17
- package/dist/chunks/{component-WeatherForecast-DnvELAB8.mjs → component-WeatherForecast-CtNxOx9i.mjs} +16 -16
- package/dist/chunks/{component-YCDataMonitor-Dumu7_mw.mjs → component-YCDataMonitor-CI7XRJ83.mjs} +16 -16
- package/dist/chunks/{component-YCDataService-CibX3y21.mjs → component-YCDataService-DkIDLzWF.mjs} +10 -10
- package/dist/chunks/{component-YCHighWaySummary-B4rfNY9B.mjs → component-YCHighWaySummary-B3VElvls.mjs} +7 -7
- package/dist/chunks/{component-YCHome-BgH2uOoL.mjs → component-YCHome-CiN9AggT.mjs} +36 -36
- package/dist/chunks/{component-YCHomeLegend-BpForfu4.mjs → component-YCHomeLegend-DzDo8zz6.mjs} +2 -2
- package/dist/chunks/{component-YCLoginNew-BsQr4jFy.mjs → component-YCLoginNew-IfVsyv0t.mjs} +23 -23
- package/dist/chunks/{component-YCServiceSummary-CnnEfTaE.mjs → component-YCServiceSummary-Dy_GyJoy.mjs} +161 -161
- package/dist/nxd-plugin.mjs +73 -73
- package/dist/styles/component-Agent.css +1 -1
- package/dist/styles/component-RadarShortTerm.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/YCServiceSummary-tHEqhFHj.mjs +0 -2
package/dist/chunks/{component-HdFarmStation-D9qZ2csY.mjs → component-HdFarmStation-Bw9K6NJn.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 { ElLoadingDirective as n, ElTable as r, ElTableColumn as i } from "element-plus/es";
|
|
4
4
|
import { computed as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, getCurrentInstance as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, toDisplayString as h, vModelCheckbox as g, watch as _, withCtx as v, withDirectives as y } from "vue";
|
|
5
5
|
import "element-plus/dist/index.css";
|
|
@@ -7,7 +7,7 @@ import "element-plus/dist/index.css";
|
|
|
7
7
|
var b = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAaVBMVEVHcEwSHQD///8SHQASHQASHQASHQD7/PsSHQASHQASHQASHQD///8SHQASHQASHQASHQD///9xd2YSHQD///9LUz3+/v4SHQD9/f3Dxb7Z29b////t///b//+///+Y/v9w/v9M/v8w/f/X4jOHAAAAG3RSTlMABgsOFCAqMDM+R1hoaXyJlZ6nt7m4xNXi4+86+u2YAAABcklEQVR42o3SbU/CMBiF4XNOV4saX4hKUP7/L1Q+EKWPdrRpRlvkDsmSca151hVzJMNml9u8bnfLNgE1ks5NSQ/bFCsQchQ9Qo64CcvkAwqHSLkJKAnnCb7+R9KpGhCGZcSqcAp0cu4SF4Lq6qLa1b8PJQAOd4UTJOlQOe38DQhfV4eSrunEbb/ff32WaQpPnphQo9lpRID5jtzsK6tlo3hbbyn6w3zt8s7wKww5E2fIla0ccciwKG/liLPlhL+a162c+vyApsOYd5a/MAyE3pkfcqJ75se8f+av50LQkBPW+VAjDrWc8EPOlgvhEq++nvkx727lkLM3/GrEoe7wGnGie+Yv8nYrEzcYfrq83UpO/vb+8fnlY3dFa9D51d3D0/Pb0m/f2+e3a5GinEQSeS4DQJDImVm0eIzR5vuO6SfMRSTOxeeO+NNmmYukCKIsj9kTdXkkjROHiKKTb4+BIWkYIBjiMQ2Xs3JZlHWO/1Ve/BcfbY/c93OAOwAAAABJRU5ErkJggg==", x = {
|
|
8
8
|
class: "HdFarmStation",
|
|
9
9
|
"element-loading-background": "rgba(0, 0, 0, 0.5)"
|
|
10
|
-
}, S = { class: "HdFarmStation-header" }, C = { class: "HdFarmStation-headerContent" }, w = { class: "HdFarmStation-toolbar" }, T = { class: "HdFarmStation-check" }, E = { class: "HdFarmStation-content" }, D = { class: "HdFarmStation-tableWrap" }, O = /* @__PURE__ */
|
|
10
|
+
}, S = { class: "HdFarmStation-header" }, C = { class: "HdFarmStation-headerContent" }, w = { class: "HdFarmStation-toolbar" }, T = { class: "HdFarmStation-check" }, E = { class: "HdFarmStation-content" }, D = { class: "HdFarmStation-tableWrap" }, O = /* @__PURE__ */ t(/* @__PURE__ */ l({
|
|
11
11
|
__name: "HdFarmStation",
|
|
12
12
|
props: {
|
|
13
13
|
mock: {
|
|
@@ -29,8 +29,8 @@ var b = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAAC
|
|
|
29
29
|
"markerClick",
|
|
30
30
|
"removeMarker"
|
|
31
31
|
],
|
|
32
|
-
setup(
|
|
33
|
-
let O =
|
|
32
|
+
setup(t, { emit: l }) {
|
|
33
|
+
let O = t, k = l, A = u()?.appContext.config.globalProperties.$bus, j = m(!1), M = m(O.dataTime || ""), N = m([]), P = m(!0), F = null, I = a(() => O.list.length ? O.list : N.value), L = () => {
|
|
34
34
|
k("close"), P.value = !1;
|
|
35
35
|
}, R = (e, t) => e == null || e === "" || Number(e) >= 9999 ? "--" : t ? `${e}${t}` : String(e), z = () => {
|
|
36
36
|
if (!P.value) {
|
|
@@ -102,12 +102,12 @@ var b = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAAC
|
|
|
102
102
|
monitorTime: e.monitorTime || e.dataTime || e.collectTime || "",
|
|
103
103
|
dataTime: e.dataTime || e.monitorTime || e.collectTime || "",
|
|
104
104
|
...e
|
|
105
|
-
})) : [], H = (
|
|
106
|
-
id:
|
|
105
|
+
})) : [], H = (t) => e({
|
|
106
|
+
id: t.id,
|
|
107
107
|
baseHttp: O.baseHttp,
|
|
108
|
-
reqType:
|
|
108
|
+
reqType: t.reqType,
|
|
109
109
|
variables: {},
|
|
110
|
-
isFormData:
|
|
110
|
+
isFormData: t.isFormData,
|
|
111
111
|
appKey: O.appKey,
|
|
112
112
|
appSalt: O.appSalt
|
|
113
113
|
}), U = async () => {
|
|
@@ -156,7 +156,7 @@ var b = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAAC
|
|
|
156
156
|
}), U(), G();
|
|
157
157
|
}), d(() => {
|
|
158
158
|
K(), k("addMarker", { removeMarker: "HdFarmStation" });
|
|
159
|
-
}), (
|
|
159
|
+
}), (e, a) => {
|
|
160
160
|
let l = i, u = r, d = n;
|
|
161
161
|
return y((p(), o("div", x, [
|
|
162
162
|
s("button", {
|
|
@@ -182,7 +182,7 @@ var b = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAAC
|
|
|
182
182
|
s("div", E, [s("div", D, [c(u, {
|
|
183
183
|
data: I.value,
|
|
184
184
|
class: "HdFarmStation-table",
|
|
185
|
-
"max-height":
|
|
185
|
+
"max-height": t.tableHeight,
|
|
186
186
|
"empty-text": "暂无数据"
|
|
187
187
|
}, {
|
|
188
188
|
default: v(() => [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as e, t } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { g as n, p as r } from "./component-Agent-Cm2BEfcV.mjs";
|
|
3
3
|
import { ElConfigProvider as i, ElDatePicker as a, ElIcon as o, ElLoadingDirective as s, ElTable as c, ElTableColumn as l } from "element-plus/es";
|
|
4
4
|
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
5
|
import { Close as ae, Download as oe } from "@element-plus/icons-vue";
|
|
@@ -268,7 +268,7 @@ var k = (e) => {
|
|
|
268
268
|
}, it = { class: "StationPop-historyPopup" }, at = { class: "StationPop-historyHeader" }, ot = { class: "StationPop-historyTitle" }, st = { class: "StationPop-historySubTitle" }, ct = {
|
|
269
269
|
class: "StationPop-historyTabs",
|
|
270
270
|
style: { position: "relative" }
|
|
271
|
-
}, lt = ["onClick"], ut = { class: "StationPop-historyActions" }, dt = { class: "StationPop-historyTableWrap" }, P = /* @__PURE__ */
|
|
271
|
+
}, lt = ["onClick"], ut = { class: "StationPop-historyActions" }, dt = { class: "StationPop-historyTableWrap" }, P = /* @__PURE__ */ r(/* @__PURE__ */ g({
|
|
272
272
|
__name: "HdFarmStationDialog",
|
|
273
273
|
props: {
|
|
274
274
|
componentStyle: { default: () => ({}) },
|
|
@@ -280,7 +280,7 @@ var k = (e) => {
|
|
|
280
280
|
ids: { default: () => ({}) }
|
|
281
281
|
},
|
|
282
282
|
setup(e) {
|
|
283
|
-
let t = _()?.appContext.config.globalProperties.$bus,
|
|
283
|
+
let t = _()?.appContext.config.globalProperties.$bus, r = C(!1), g = e, k = C(null), A = C({
|
|
284
284
|
stationName: "",
|
|
285
285
|
stationCode: "",
|
|
286
286
|
address: "",
|
|
@@ -324,18 +324,18 @@ var k = (e) => {
|
|
|
324
324
|
let t = g.ids[e] || g.ids.data;
|
|
325
325
|
return t?.id ? t : null;
|
|
326
326
|
}, J = async (e, t = {}) => {
|
|
327
|
-
let
|
|
328
|
-
if (!
|
|
329
|
-
return await
|
|
330
|
-
id:
|
|
327
|
+
let r = q(e);
|
|
328
|
+
if (!r) throw Error(`缺少 ${e} 对应的工作流配置`);
|
|
329
|
+
return await n({
|
|
330
|
+
id: r.id,
|
|
331
331
|
baseHttp: g.baseHttp,
|
|
332
|
-
reqType:
|
|
332
|
+
reqType: r.reqType,
|
|
333
333
|
variables: {
|
|
334
334
|
stationCode: g.stationCode,
|
|
335
335
|
stationIdC: k.value,
|
|
336
336
|
...t
|
|
337
337
|
},
|
|
338
|
-
isFormData:
|
|
338
|
+
isFormData: r.isFormData,
|
|
339
339
|
appKey: g.appKey,
|
|
340
340
|
appSalt: g.appSalt
|
|
341
341
|
});
|
|
@@ -794,8 +794,8 @@ var k = (e) => {
|
|
|
794
794
|
});
|
|
795
795
|
});
|
|
796
796
|
function Pt() {
|
|
797
|
-
M.value = !0,
|
|
798
|
-
|
|
797
|
+
M.value = !0, r.value = !0, gt().finally(() => {
|
|
798
|
+
r.value = !1;
|
|
799
799
|
});
|
|
800
800
|
}
|
|
801
801
|
return x(() => {
|
|
@@ -804,7 +804,7 @@ var k = (e) => {
|
|
|
804
804
|
});
|
|
805
805
|
}), b(() => {
|
|
806
806
|
window.removeEventListener("resize", wt), L &&= (L.dispose(), null);
|
|
807
|
-
}), (t,
|
|
807
|
+
}), (t, n) => {
|
|
808
808
|
let g = o, _ = a, v = i, b = l, x = c, C = s;
|
|
809
809
|
return S(), ee(d, { to: "body" }, [O(p("div", ue, [O((S(), f("div", {
|
|
810
810
|
class: "StationPop",
|
|
@@ -821,25 +821,25 @@ var k = (e) => {
|
|
|
821
821
|
})]),
|
|
822
822
|
p("div", de, T(A.value.stationName), 1),
|
|
823
823
|
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, [
|
|
824
|
+
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
825
|
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, [
|
|
826
|
+
p("div", Se, [n[11] ||= p("div", { class: "StationPop-sectionTitle" }, [p("span", { class: "StationPop-sectionBar" }), m(" 实时监测 ")], -1), p("div", Ce, [
|
|
827
|
+
p("div", we, [n[3] ||= p("span", { class: "StationPop-realtimeLabel" }, "温度:", -1), p("span", Te, T(K(P.value.temperature, "℃")), 1)]),
|
|
828
|
+
p("div", Ee, [n[4] ||= p("span", { class: "StationPop-realtimeLabel" }, "湿度:", -1), p("span", De, T(K(P.value.humidity, "%")), 1)]),
|
|
829
|
+
p("div", Oe, [n[5] ||= p("span", { class: "StationPop-realtimeLabel" }, "风速风向:", -1), p("span", ke, T(ht(P.value)), 1)]),
|
|
830
|
+
p("div", Ae, [n[6] ||= p("span", { class: "StationPop-realtimeLabel" }, "降水量:", -1), p("span", je, T(K(P.value.hourPrecipitation, "mm")), 1)]),
|
|
831
|
+
p("div", Me, [n[7] ||= p("span", { class: "StationPop-realtimeLabel" }, "气压:", -1), p("span", Ne, T(K(P.value.pressure, "hPa")), 1)]),
|
|
832
|
+
p("div", Pe, [n[8] ||= p("span", { class: "StationPop-realtimeLabel" }, "蒸发:", -1), p("span", Fe, T(K(P.value.evaporation, "mm")), 1)]),
|
|
833
|
+
p("div", Ie, [n[9] ||= p("span", { class: "StationPop-realtimeLabel" }, "光照强度:", -1), p("span", Le, T(K(P.value.lightIntensity, "lux")), 1)]),
|
|
834
|
+
p("div", Re, [n[10] ||= p("span", { class: "StationPop-realtimeLabel" }, "光合有效辐射:", -1), p("span", ze, T(K(P.value.par, "μmol/m²/s")), 1)])
|
|
835
835
|
])]),
|
|
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, [
|
|
836
|
+
p("div", Be, [n[18] ||= p("div", { class: "StationPop-sectionTitle" }, [p("span", { class: "StationPop-sectionBar" }), m(" 统计信息 ")], -1), p("div", Ve, [
|
|
837
|
+
p("div", He, [n[12] ||= p("span", { class: "StationPop-statisticsLabel" }, "日最低温度:", -1), p("span", Ue, T(K(F.value.dailyMinTemp, "℃")), 1)]),
|
|
838
|
+
p("div", We, [n[13] ||= p("span", { class: "StationPop-statisticsLabel" }, "日最高温度:", -1), p("span", Ge, T(K(F.value.dailyMaxTemp, "℃")), 1)]),
|
|
839
|
+
p("div", Ke, [n[14] ||= p("span", { class: "StationPop-statisticsLabel" }, "日累计降水:", -1), p("span", qe, T(K(F.value.dailyPrecipitation, "mm")), 1)]),
|
|
840
|
+
p("div", Je, [n[15] ||= p("span", { class: "StationPop-statisticsLabel" }, "历史最低温:", -1), p("span", Ye, T(K(F.value.historyMinTemp, "℃")), 1)]),
|
|
841
|
+
p("div", Xe, [n[16] ||= p("span", { class: "StationPop-statisticsLabel" }, "历史最高温:", -1), p("span", Ze, T(K(F.value.historyMaxTemp, "℃")), 1)]),
|
|
842
|
+
p("div", Qe, [n[17] ||= p("span", { class: "StationPop-statisticsLabel" }, "历史最大累积降水:", -1), p("span", $e, T(K(F.value.historyMaxPrecipitation, "mm")), 1)])
|
|
843
843
|
])]),
|
|
844
844
|
p("div", et, [p("div", tt, [(S(), f(u, null, w(ft, (e) => p("div", {
|
|
845
845
|
key: e.value,
|
|
@@ -851,8 +851,8 @@ var k = (e) => {
|
|
|
851
851
|
class: "StationPop-chart"
|
|
852
852
|
}, null, 512)])
|
|
853
853
|
])
|
|
854
|
-
], 4)), [[C,
|
|
855
|
-
p("div", at, [p("div", ot, [
|
|
854
|
+
], 4)), [[C, r.value]]), V.value ? (S(), f("div", rt, [p("div", it, [
|
|
855
|
+
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
856
|
class: "StationPop-historyClose",
|
|
857
857
|
onClick: Tt
|
|
858
858
|
}, "✕")]),
|
|
@@ -863,7 +863,7 @@ var k = (e) => {
|
|
|
863
863
|
}, T(e.label), 11, lt)), 64)), p("div", ut, [h(v, { locale: E(ce) }, {
|
|
864
864
|
default: D(() => [h(_, {
|
|
865
865
|
modelValue: W.value,
|
|
866
|
-
"onUpdate:modelValue":
|
|
866
|
+
"onUpdate:modelValue": n[0] ||= (e) => W.value = e,
|
|
867
867
|
clearable: !1,
|
|
868
868
|
class: "StationPop-historyDatePicker",
|
|
869
869
|
"popper-class": "StationPop-historyDatePickerPopper",
|
|
@@ -887,7 +887,7 @@ var k = (e) => {
|
|
|
887
887
|
}, [h(g, null, {
|
|
888
888
|
default: D(() => [h(E(oe))]),
|
|
889
889
|
_: 1
|
|
890
|
-
}),
|
|
890
|
+
}), n[20] ||= m(" 导出 ", -1)])])]),
|
|
891
891
|
p("div", dt, [h(x, {
|
|
892
892
|
data: U.value,
|
|
893
893
|
class: "StationPop-historyTable",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as e, p as t } from "./component-Agent-Cm2BEfcV.mjs";
|
|
2
2
|
import { ElIcon as n } from "element-plus/es";
|
|
3
3
|
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
4
|
import { ArrowLeft as C, ArrowRight as te, VideoPause as ne, VideoPlay as re } from "@element-plus/icons-vue";
|
|
@@ -6,7 +6,7 @@ import { ArrowLeft as C, ArrowRight as te, VideoPause as ne, VideoPlay as re } f
|
|
|
6
6
|
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
7
|
key: 1,
|
|
8
8
|
class: "HdForecastProducts-noImage"
|
|
9
|
-
}, M = { class: "HdForecastProducts-side" }, N = { class: "HdForecastProducts-list" }, P = ["onClick"], F = { class: "HdForecastProducts-itemHour" }, I = /* @__PURE__ */
|
|
9
|
+
}, M = { class: "HdForecastProducts-side" }, N = { class: "HdForecastProducts-list" }, P = ["onClick"], F = { class: "HdForecastProducts-itemHour" }, I = /* @__PURE__ */ t(/* @__PURE__ */ u({
|
|
10
10
|
__name: "HdForecastProducts",
|
|
11
11
|
props: {
|
|
12
12
|
mock: {
|
|
@@ -67,8 +67,8 @@ var ie = { class: "HdForecastProducts" }, ae = { class: "HdForecastProducts-popu
|
|
|
67
67
|
}) }
|
|
68
68
|
},
|
|
69
69
|
emits: ["close", "change"],
|
|
70
|
-
setup(
|
|
71
|
-
let I = ee()?.appContext.config.globalProperties.$bus, L =
|
|
70
|
+
setup(t, { emit: u }) {
|
|
71
|
+
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
72
|
title: "",
|
|
73
73
|
dataTime: "",
|
|
74
74
|
list: []
|
|
@@ -107,18 +107,18 @@ var ie = { class: "HdForecastProducts" }, ae = { class: "HdForecastProducts-popu
|
|
|
107
107
|
list: e.list || []
|
|
108
108
|
};
|
|
109
109
|
}, fe = async () => {
|
|
110
|
-
let
|
|
111
|
-
if (!
|
|
110
|
+
let t = L.ids.data;
|
|
111
|
+
if (!t?.id) {
|
|
112
112
|
console.warn("HdForecastProducts 缺少数据工作流配置");
|
|
113
113
|
return;
|
|
114
114
|
}
|
|
115
115
|
try {
|
|
116
|
-
let n = ue(await
|
|
117
|
-
id:
|
|
116
|
+
let n = ue(await e({
|
|
117
|
+
id: t.id,
|
|
118
118
|
baseHttp: L.baseHttp,
|
|
119
|
-
reqType:
|
|
119
|
+
reqType: t.reqType,
|
|
120
120
|
variables: {},
|
|
121
|
-
isFormData:
|
|
121
|
+
isFormData: t.isFormData,
|
|
122
122
|
appKey: L.appKey,
|
|
123
123
|
appSalt: L.appSalt
|
|
124
124
|
}));
|
package/dist/chunks/{component-HdHeatChart-Br63YpFN.mjs → component-HdHeatChart-DZak9Ft6.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as e, p as t } from "./component-Agent-Cm2BEfcV.mjs";
|
|
2
2
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
3
3
|
import { computed as r, createElementBlock as i, createElementVNode as a, defineComponent as o, getCurrentInstance as s, onBeforeUnmount as c, onMounted as l, openBlock as u, ref as d, toDisplayString as f, watch as p, withDirectives as m } from "vue";
|
|
4
4
|
import * as h from "echarts";
|
|
@@ -7,7 +7,7 @@ import "element-plus/es/components/loading/style/css";
|
|
|
7
7
|
var g = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAG1BMVEVHcEz/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AACeYvHRAAAACHRSTlMAI0Bbga7B52OltfYAAACeSURBVHja7ddRCgMhDIThxCQ69z9xQXYhWyqts09L8x1gxB9flPKNRqjcEUDIDQ4ALjTD1ISkA9NQ4XQcgg5wci5AYrKtIRvKBqAzBN44FSAzIgCdQTs+CCIAmcGxYERAIoMOLAUVIHMqQGYbAbgMjom/ROsnXPSDy698cXAN1EAN1EANPHLAcGGyTVui8gDEFYiI//aQBpJh9QVeewHkyhriyc1QkgAAAABJRU5ErkJggg==", _ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAG1BMVEVHcEwHOPgEOPcGOfgGOPgFOfgFOfkFOfgGOfgoU2zHAAAACHRSTlMAI0BbgJe75ct9/NwAAACfSURBVHja7dfBCgMhDIThaGIy7//EBcGy0trW8bQ033EPs/jjRUnfFG9FTjjgcsAAwISm6CodINBFoQN0dIaGJ6MDDCrbKgYyg2PiZAA6g+KFEgH4DIE3nAhAZjAsKBGQyFACHZ3B8YHRAQbdCMBlMHT8IaoPmIyvTX5lix/nQA7kQA7kwC0HFBOVbaVeFLmf8yMYJvqXFylwEZpP4LUHZqAa7WC9H9YAAAAASUVORK5CYII=", v = {
|
|
8
8
|
class: "HdHeatChart",
|
|
9
9
|
"element-loading-background": "rgba(0, 0, 0, 0.5)"
|
|
10
|
-
}, y = { class: "HdHeatChart-header" }, b = { class: "HdHeatChart-headerContent" }, x = { class: "HdHeatChart-title" }, S = { class: "HdHeatChart-subTitle" }, C = /* @__PURE__ */
|
|
10
|
+
}, y = { class: "HdHeatChart-header" }, b = { class: "HdHeatChart-headerContent" }, x = { class: "HdHeatChart-title" }, S = { class: "HdHeatChart-subTitle" }, C = /* @__PURE__ */ t(/* @__PURE__ */ o({
|
|
11
11
|
__name: "HdHeatChart",
|
|
12
12
|
props: {
|
|
13
13
|
title: { default: "预报温度与供热预测" },
|
|
@@ -27,8 +27,8 @@ var g = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAG
|
|
|
27
27
|
}) }
|
|
28
28
|
},
|
|
29
29
|
emits: ["close"],
|
|
30
|
-
setup(
|
|
31
|
-
let C = s()?.appContext.config.globalProperties.$bus, w =
|
|
30
|
+
setup(t, { emit: o }) {
|
|
31
|
+
let C = s()?.appContext.config.globalProperties.$bus, w = t, T = o, E = d(!1), D = d(null), O = null, k = null, A = d({
|
|
32
32
|
dataTime: "",
|
|
33
33
|
list: []
|
|
34
34
|
}), j = r(() => A.value.list || []), M = () => {
|
|
@@ -123,18 +123,18 @@ var g = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAG
|
|
|
123
123
|
return e.predictLoad > r.predictLoad ? e.change = "up" : e.predictLoad < r.predictLoad && (e.change = "down"), e;
|
|
124
124
|
});
|
|
125
125
|
}, L = async () => {
|
|
126
|
-
let
|
|
127
|
-
if (!
|
|
126
|
+
let t = N("data");
|
|
127
|
+
if (!t) {
|
|
128
128
|
console.warn("HdHeatChart 缺少工作流配置");
|
|
129
129
|
return;
|
|
130
130
|
}
|
|
131
131
|
try {
|
|
132
|
-
let n = P(await
|
|
133
|
-
id:
|
|
132
|
+
let n = P(await e({
|
|
133
|
+
id: t.id,
|
|
134
134
|
baseHttp: w.baseHttp,
|
|
135
|
-
reqType:
|
|
135
|
+
reqType: t.reqType,
|
|
136
136
|
variables: { days: w.days },
|
|
137
|
-
isFormData:
|
|
137
|
+
isFormData: t.isFormData,
|
|
138
138
|
appKey: w.appKey,
|
|
139
139
|
appSalt: w.appSalt
|
|
140
140
|
}));
|
|
@@ -352,14 +352,14 @@ var g = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAG
|
|
|
352
352
|
}), R(), H(), window.addEventListener("resize", W);
|
|
353
353
|
}), c(() => {
|
|
354
354
|
U(), window.removeEventListener("resize", W), O &&= (O.dispose(), null);
|
|
355
|
-
}), (
|
|
355
|
+
}), (e, r) => {
|
|
356
356
|
let o = n;
|
|
357
357
|
return m((u(), i("div", v, [
|
|
358
358
|
a("button", {
|
|
359
359
|
class: "HdHeatChart-close",
|
|
360
360
|
onClick: M
|
|
361
361
|
}, [...r[0] ||= [a("span", null, "✕", -1)]]),
|
|
362
|
-
a("div", y, [a("div", b, [a("h3", x, f(
|
|
362
|
+
a("div", y, [a("div", b, [a("h3", x, f(t.title), 1), a("span", S, "(" + f(t.days) + "天)", 1)])]),
|
|
363
363
|
a("div", {
|
|
364
364
|
ref_key: "chartRef",
|
|
365
365
|
ref: D,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./component-HdHeatChart-
|
|
1
|
+
import { g as e, p as t } from "./component-Agent-Cm2BEfcV.mjs";
|
|
2
|
+
import "./component-HdHeatChart-DZak9Ft6.mjs";
|
|
3
3
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
4
4
|
import { Fragment as r, Teleport as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, getCurrentInstance as d, 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
5
|
import * as b from "echarts";
|
|
6
6
|
import "element-plus/es/components/loading/style/css";
|
|
7
7
|
//#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__ */
|
|
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__ */ t(/* @__PURE__ */ u({
|
|
9
9
|
__name: "HdHeatChartDialog",
|
|
10
10
|
props: {
|
|
11
11
|
baseHttp: { default: "" },
|
|
@@ -15,8 +15,8 @@ var re = { class: "HdHeatChartDialog-head-title" }, ie = { class: "HdHeatChartDi
|
|
|
15
15
|
refreshInterval: { default: 1e3 * 60 * 10 }
|
|
16
16
|
},
|
|
17
17
|
emits: ["close"],
|
|
18
|
-
setup(
|
|
19
|
-
let F = d()?.appContext.config.globalProperties.$bus, I =
|
|
18
|
+
setup(t, { emit: u }) {
|
|
19
|
+
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
20
|
title: "网格72小时逐三小时温度图",
|
|
21
21
|
initTime: "20时",
|
|
22
22
|
maxTemp: {
|
|
@@ -174,18 +174,18 @@ var re = { class: "HdHeatChartDialog-head-title" }, ie = { class: "HdHeatChartDi
|
|
|
174
174
|
list: o
|
|
175
175
|
};
|
|
176
176
|
}, Ne = async () => {
|
|
177
|
-
let
|
|
178
|
-
if (!
|
|
177
|
+
let t = je("data");
|
|
178
|
+
if (!t) {
|
|
179
179
|
console.warn("HdHeatChartDialog 缺少工作流配置");
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
try {
|
|
183
|
-
let n = Y(await
|
|
184
|
-
id:
|
|
183
|
+
let n = Y(await e({
|
|
184
|
+
id: t.id,
|
|
185
185
|
baseHttp: I.baseHttp,
|
|
186
|
-
reqType:
|
|
186
|
+
reqType: t.reqType,
|
|
187
187
|
variables: { gridIndex: R.value },
|
|
188
|
-
isFormData:
|
|
188
|
+
isFormData: t.isFormData,
|
|
189
189
|
appKey: I.appKey,
|
|
190
190
|
appSalt: I.appSalt
|
|
191
191
|
}));
|
package/dist/chunks/{component-HdHeatService-BeUpAmBA.mjs → component-HdHeatService-B6jbZMfm.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as e, p as t } from "./component-Agent-Cm2BEfcV.mjs";
|
|
2
2
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
3
3
|
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
4
|
import * as _ from "echarts";
|
|
@@ -65,7 +65,7 @@ var ie = { class: "HdHeatService" }, ae = {
|
|
|
65
65
|
}, Ne = { class: "HdHeatService-effectSummaryLabel" }, Pe = {
|
|
66
66
|
key: 0,
|
|
67
67
|
class: "HdHeatService-effectSummaryUnit"
|
|
68
|
-
}, Fe = { class: "HdHeatService-effectChartTitle" }, j = /* @__PURE__ */
|
|
68
|
+
}, Fe = { class: "HdHeatService-effectChartTitle" }, j = /* @__PURE__ */ t(/* @__PURE__ */ l({
|
|
69
69
|
__name: "HdHeatService",
|
|
70
70
|
props: {
|
|
71
71
|
pageType: { default: "1" },
|
|
@@ -85,8 +85,8 @@ var ie = { class: "HdHeatService" }, ae = {
|
|
|
85
85
|
serviceType: { default: "" }
|
|
86
86
|
},
|
|
87
87
|
emits: ["close"],
|
|
88
|
-
setup(
|
|
89
|
-
let j = ee()?.appContext.config.globalProperties.$bus, M =
|
|
88
|
+
setup(t, { emit: l }) {
|
|
89
|
+
let j = ee()?.appContext.config.globalProperties.$bus, M = t, Ie = l, N = p({
|
|
90
90
|
bgImage: "",
|
|
91
91
|
deviceCount: 0,
|
|
92
92
|
materialCount: 0,
|
|
@@ -306,18 +306,18 @@ var ie = { class: "HdHeatService" }, ae = {
|
|
|
306
306
|
yAxisName: e.yAxisName || ""
|
|
307
307
|
};
|
|
308
308
|
}) : [], X = async () => {
|
|
309
|
-
let
|
|
310
|
-
if (!
|
|
309
|
+
let t = M.ids?.img;
|
|
310
|
+
if (!t?.id) {
|
|
311
311
|
console.warn("HdHeatService 缺少图片工作流配置");
|
|
312
312
|
return;
|
|
313
313
|
}
|
|
314
314
|
try {
|
|
315
|
-
let n = J(await
|
|
316
|
-
id:
|
|
315
|
+
let n = J(await e({
|
|
316
|
+
id: t.id,
|
|
317
317
|
baseHttp: M.baseHttp,
|
|
318
|
-
reqType:
|
|
318
|
+
reqType: t.reqType,
|
|
319
319
|
variables: { configKey: M.imgKey },
|
|
320
|
-
isFormData:
|
|
320
|
+
isFormData: t.isFormData,
|
|
321
321
|
appKey: M.appKey,
|
|
322
322
|
appSalt: M.appSalt
|
|
323
323
|
}));
|
|
@@ -329,18 +329,18 @@ var ie = { class: "HdHeatService" }, ae = {
|
|
|
329
329
|
console.error("HdHeatService 图片加载失败", e);
|
|
330
330
|
}
|
|
331
331
|
}, Z = async () => {
|
|
332
|
-
let
|
|
333
|
-
if (!
|
|
332
|
+
let t = M.ids?.data;
|
|
333
|
+
if (!t?.id) {
|
|
334
334
|
console.warn("HdHeatService 缺少数据工作流配置");
|
|
335
335
|
return;
|
|
336
336
|
}
|
|
337
337
|
try {
|
|
338
|
-
let n = J(await
|
|
339
|
-
id:
|
|
338
|
+
let n = J(await e({
|
|
339
|
+
id: t.id,
|
|
340
340
|
baseHttp: M.baseHttp,
|
|
341
|
-
reqType:
|
|
341
|
+
reqType: t.reqType,
|
|
342
342
|
variables: {},
|
|
343
|
-
isFormData:
|
|
343
|
+
isFormData: t.isFormData,
|
|
344
344
|
appKey: M.appKey,
|
|
345
345
|
appSalt: M.appSalt
|
|
346
346
|
}));
|
|
@@ -350,14 +350,14 @@ var ie = { class: "HdHeatService" }, ae = {
|
|
|
350
350
|
}
|
|
351
351
|
}, Je = async () => {
|
|
352
352
|
P.value = !0;
|
|
353
|
-
let
|
|
354
|
-
if (
|
|
355
|
-
let n = J(await
|
|
356
|
-
id:
|
|
353
|
+
let t = M.ids?.heat;
|
|
354
|
+
if (t?.id) try {
|
|
355
|
+
let n = J(await e({
|
|
356
|
+
id: t.id,
|
|
357
357
|
baseHttp: M.baseHttp,
|
|
358
|
-
reqType:
|
|
358
|
+
reqType: t.reqType,
|
|
359
359
|
variables: {},
|
|
360
|
-
isFormData:
|
|
360
|
+
isFormData: t.isFormData,
|
|
361
361
|
appKey: M.appKey,
|
|
362
362
|
appSalt: M.appSalt
|
|
363
363
|
}));
|
|
@@ -369,14 +369,14 @@ var ie = { class: "HdHeatService" }, ae = {
|
|
|
369
369
|
}
|
|
370
370
|
}, Q = async () => {
|
|
371
371
|
P.value = !0;
|
|
372
|
-
let
|
|
373
|
-
if (
|
|
374
|
-
let n = J(await
|
|
375
|
-
id:
|
|
372
|
+
let t = M.ids?.chart;
|
|
373
|
+
if (t?.id) try {
|
|
374
|
+
let n = J(await e({
|
|
375
|
+
id: t.id,
|
|
376
376
|
baseHttp: M.baseHttp,
|
|
377
|
-
reqType:
|
|
377
|
+
reqType: t.reqType,
|
|
378
378
|
variables: { categoryType: M.serviceType },
|
|
379
|
-
isFormData:
|
|
379
|
+
isFormData: t.isFormData,
|
|
380
380
|
appKey: M.appKey,
|
|
381
381
|
appSalt: M.appSalt
|
|
382
382
|
}));
|
|
@@ -404,16 +404,16 @@ var ie = { class: "HdHeatService" }, ae = {
|
|
|
404
404
|
e && (await u(), G());
|
|
405
405
|
}), g(U, async () => {
|
|
406
406
|
await u(), G();
|
|
407
|
-
}, { deep: !0 }), (
|
|
407
|
+
}, { deep: !0 }), (e, i) => {
|
|
408
408
|
let l = n;
|
|
409
|
-
return f(), o("div", ie, [
|
|
409
|
+
return f(), o("div", ie, [t.pageType == "1" ? (f(), o("div", ae, [V.value ? (f(), o("div", oe, [s("img", {
|
|
410
410
|
src: V.value,
|
|
411
411
|
alt: "供热服务"
|
|
412
412
|
}, null, 8, se)])) : a("", !0), s("div", ce, [
|
|
413
413
|
s("div", le, [
|
|
414
|
-
s("div", ue, [s("div", de, h(z.value.deviceLabel), 1), s("div", fe, [c(h(R.value.stationNum) + " ", 1),
|
|
414
|
+
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
415
|
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),
|
|
416
|
+
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
417
|
]),
|
|
418
418
|
z.value.showEffect ? (f(), o("button", {
|
|
419
419
|
key: 0,
|
|
@@ -421,14 +421,14 @@ var ie = { class: "HdHeatService" }, ae = {
|
|
|
421
421
|
onClick: q
|
|
422
422
|
}, " 服务成效 ")) : a("", !0),
|
|
423
423
|
z.value.timePrefix ? (f(), o("div", ve, h(z.value.timePrefix) + h(Le.value), 1)) : a("", !0)
|
|
424
|
-
])])) :
|
|
424
|
+
])])) : t.pageType == "2" ? (f(), o("div", ye, [V.value ? (f(), o("div", be, [s("img", {
|
|
425
425
|
src: V.value,
|
|
426
426
|
alt: ""
|
|
427
427
|
}, null, 8, xe)])) : a("", !0), s("div", Se, [s("div", Ce, [
|
|
428
428
|
s("div", v, [s("div", y, h(z.value.deviceLabel), 1), s("div", b, h(L.value.deviceData), 1)]),
|
|
429
429
|
i[1] ||= s("div", { class: "HdHeatService-divider" }, null, -1),
|
|
430
430
|
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
|
-
])])])) :
|
|
431
|
+
])])])) : t.pageType == "3" ? (f(), o("div", w, [V.value ? (f(), o("div", T, [s("img", {
|
|
432
432
|
src: V.value,
|
|
433
433
|
alt: ""
|
|
434
434
|
}, null, 8, E)])) : a("", !0), s("div", D, [s("div", O, [
|
|
@@ -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 ee, ElTableColumn as te } from "element-plus/es";
|
|
3
3
|
import { Fragment as a, Teleport as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, getCurrentInstance as h, normalizeClass as g, 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
4
|
import "element-plus/dist/index.css";
|
|
@@ -22,7 +22,7 @@ var se = {
|
|
|
22
22
|
}, 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
23
|
key: 0,
|
|
24
24
|
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__ */
|
|
25
|
+
}, 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
26
|
__name: "HdInsectDetailList",
|
|
27
27
|
props: {
|
|
28
28
|
baseHttp: { default: "" },
|
|
@@ -35,8 +35,8 @@ var se = {
|
|
|
35
35
|
} }) }
|
|
36
36
|
},
|
|
37
37
|
emits: ["close"],
|
|
38
|
-
setup(
|
|
39
|
-
let F =
|
|
38
|
+
setup(t, { emit: m }) {
|
|
39
|
+
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
40
|
if (!e) return null;
|
|
41
41
|
let t = null;
|
|
42
42
|
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 +77,20 @@ var se = {
|
|
|
77
77
|
};
|
|
78
78
|
});
|
|
79
79
|
}, Z = async () => {
|
|
80
|
-
let
|
|
81
|
-
if (!(!
|
|
80
|
+
let t = F.ids?.data;
|
|
81
|
+
if (!(!t?.id || !R.value)) {
|
|
82
82
|
L.value = !0;
|
|
83
83
|
try {
|
|
84
|
-
let n = X(await
|
|
85
|
-
id:
|
|
84
|
+
let n = X(await e({
|
|
85
|
+
id: t.id,
|
|
86
86
|
baseHttp: F.baseHttp,
|
|
87
|
-
reqType:
|
|
87
|
+
reqType: t.reqType,
|
|
88
88
|
variables: {
|
|
89
89
|
msName: R.value,
|
|
90
90
|
startTime: we.value,
|
|
91
91
|
endTime: Te.value
|
|
92
92
|
},
|
|
93
|
-
isFormData:
|
|
93
|
+
isFormData: t.isFormData,
|
|
94
94
|
appKey: F.appKey,
|
|
95
95
|
appSalt: F.appSalt
|
|
96
96
|
}));
|
|
@@ -101,28 +101,28 @@ var se = {
|
|
|
101
101
|
L.value = !1;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
}, Oe = async (
|
|
104
|
+
}, Oe = async (t) => {
|
|
105
105
|
let n = F.ids?.guidence;
|
|
106
106
|
if (!n?.id) {
|
|
107
107
|
console.warn("HdInsectDetailList 缺少指导意见工作流配置");
|
|
108
108
|
return;
|
|
109
109
|
}
|
|
110
110
|
try {
|
|
111
|
-
let r = X(await
|
|
111
|
+
let r = X(await e({
|
|
112
112
|
id: n.id,
|
|
113
113
|
baseHttp: F.baseHttp,
|
|
114
114
|
reqType: n.reqType,
|
|
115
|
-
variables: { msName:
|
|
115
|
+
variables: { msName: t.msName || t.stationName },
|
|
116
116
|
isFormData: n.isFormData,
|
|
117
117
|
appKey: F.appKey,
|
|
118
118
|
appSalt: F.appSalt
|
|
119
119
|
})), i = (Array.isArray(r) ? r : r?.data || [])[0] || {};
|
|
120
120
|
U.value = {
|
|
121
|
-
...
|
|
121
|
+
...t,
|
|
122
122
|
guidance: De(i)
|
|
123
123
|
};
|
|
124
|
-
} catch (
|
|
125
|
-
console.error("HdInsectDetailList 指导意见加载失败",
|
|
124
|
+
} catch (e) {
|
|
125
|
+
console.error("HdInsectDetailList 指导意见加载失败", e), U.value = t;
|
|
126
126
|
}
|
|
127
127
|
}, Q = async (e) => {
|
|
128
128
|
H.value = 0, B.value = !0, await Oe(e);
|