nxd-plugin 1.8.35 → 1.8.37
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-tHEqhFHj.mjs +2 -0
- package/dist/chunks/{component-Agent-Cr-ntDoH.mjs → component-Agent-DqXO06Ql.mjs} +27610 -1518
- package/dist/chunks/{component-AiChat-DApn4-2y.mjs → component-AiChat-C8NFYtVc.mjs} +155 -151
- package/dist/chunks/{component-AqiMonitor-BUXDYKbQ.mjs → component-AqiMonitor-WvrknfI9.mjs} +9 -9
- package/dist/chunks/{component-ChartCumulativePre-BaHd1iUO.mjs → component-ChartCumulativePre-B9Prk8Sx.mjs} +7 -7
- package/dist/chunks/{component-ChartServiceMaterial-R-h4rGRH.mjs → component-ChartServiceMaterial-dSZ_Pec0.mjs} +6 -6
- package/dist/chunks/{component-Duty-D_8KvfNe.mjs → component-Duty-CcPTE385.mjs} +6 -6
- package/dist/chunks/{component-EarlyWarningStatistic-BCrTZD4q.mjs → component-EarlyWarningStatistic-Ug-1jfiU.mjs} +6 -6
- package/dist/chunks/{component-EarlyWarningStatistic2-BR0gmPUZ.mjs → component-EarlyWarningStatistic2-BnZqgK4P.mjs} +15 -15
- package/dist/chunks/{component-Forecast72h-B85PYYlt.mjs → component-Forecast72h-5DGIhVUd.mjs} +16 -16
- package/dist/chunks/{component-GeologyLiveAlarm-D-8PLp8C.mjs → component-GeologyLiveAlarm-Bg710d1g.mjs} +7 -7
- package/dist/chunks/{component-GridForecastMsg-DP0QB8OG.mjs → component-GridForecastMsg-D0jzurbN.mjs} +8 -8
- package/dist/chunks/{component-HDSeaLegend-Lx4CVdBe.mjs → component-HDSeaLegend-D5FWHvmR.mjs} +2 -2
- package/dist/chunks/component-HdCameraList-4ArboSf0.mjs +916 -0
- package/dist/chunks/{component-HdFarmStation-QWV3F5p7.mjs → component-HdFarmStation-D9qZ2csY.mjs} +11 -11
- package/dist/chunks/{component-HdFarmStationDialog-C42Kalh1.mjs → component-HdFarmStationDialog-DHGlfkae.mjs} +33 -33
- package/dist/chunks/{component-HdForecastProducts-BgjJEfkx.mjs → component-HdForecastProducts-qj9Yzh7D.mjs} +10 -10
- package/dist/chunks/{component-HdHeatChart-CCRZPuMc.mjs → component-HdHeatChart-Br63YpFN.mjs} +65 -63
- package/dist/chunks/{component-HdHeatChartDialog-DeoxDSyl.mjs → component-HdHeatChartDialog-DOkB8heB.mjs} +11 -11
- package/dist/chunks/{component-HdHeatService-CmbwlkaA.mjs → component-HdHeatService-BeUpAmBA.mjs} +34 -34
- package/dist/chunks/{component-HdInsectDetailList-By-U2peB.mjs → component-HdInsectDetailList-C9tAtciq.mjs} +16 -16
- package/dist/chunks/{component-HdInsectList-BlVzoIgO.mjs → component-HdInsectList-pU1-mQ-C.mjs} +18 -18
- package/dist/chunks/{component-HdMajorActivity-DNeXIzo9.mjs → component-HdMajorActivity-DSPYsbdQ.mjs} +23 -23
- package/dist/chunks/{component-HdObservation-CT3xn1ly.mjs → component-HdObservation-osOGizJv.mjs} +10 -10
- package/dist/chunks/{component-HdPreSituation-DDNcwiwp.mjs → component-HdPreSituation-Ca_d4L11.mjs} +9 -9
- package/dist/chunks/{component-HdQxServiceEffects-BBzdn4-G.mjs → component-HdQxServiceEffects-CtlLJVdx.mjs} +10 -10
- package/dist/chunks/{component-HdRadarList-BqobCRLG.mjs → component-HdRadarList-CgWMdwBo.mjs} +3 -3
- package/dist/chunks/{component-HdRadarTime-D_4TfBtL.mjs → component-HdRadarTime-Bp7D80GJ.mjs} +12 -12
- package/dist/chunks/{component-HdRadarTimeLine-1eC-qOqz.mjs → component-HdRadarTimeLine-DfOce6fK.mjs} +13 -13
- package/dist/chunks/{component-HdRisk-Dq273IqG.mjs → component-HdRisk-Bd3if-1-.mjs} +11 -11
- package/dist/chunks/{component-HdSeaCase-FmlzNkBj.mjs → component-HdSeaCase-CbY3FsOy.mjs} +26 -26
- package/dist/chunks/{component-HdServiceMarterial-C7D1ZwhV.mjs → component-HdServiceMarterial-B7FEviHO.mjs} +17 -17
- package/dist/chunks/{component-HdServiceRequirements-BTUKNojU.mjs → component-HdServiceRequirements-DKJ8uQja.mjs} +13 -13
- package/dist/chunks/{component-HdSoil-2_TlWGNW.mjs → component-HdSoil-ztBxJspH.mjs} +11 -11
- package/dist/chunks/{component-HdSoilDetailList-BwRGMjV9.mjs → component-HdSoilDetailList-1gMQt-uL.mjs} +12 -12
- package/dist/chunks/{component-HdStationTem-D0Dt3LHl.mjs → component-HdStationTem-DfJ0I_2S.mjs} +17 -17
- package/dist/chunks/{component-HdSuggestion-ofUMSp3s.mjs → component-HdSuggestion-FXvLu_OD.mjs} +13 -13
- package/dist/chunks/{component-HdThreeWeatherTrend-Kh64QzKx.mjs → component-HdThreeWeatherTrend-DGLSVUb8.mjs} +18 -18
- package/dist/chunks/{component-HdWaveForcast-DppP_HvM.mjs → component-HdWaveForcast-dTEB0h8d.mjs} +11 -11
- package/dist/chunks/{component-HighQuality-C7RXFw-E.mjs → component-HighQuality-DZGJXvJC.mjs} +16 -16
- package/dist/chunks/{component-HighWayEarlyWarningRed-Cv-Rh-cC.mjs → component-HighWayEarlyWarningRed-F0q1FCTw.mjs} +16 -16
- package/dist/chunks/{component-HighWayFreeze-DLqbbIG5.mjs → component-HighWayFreeze-d4Xwkwf1.mjs} +8 -8
- package/dist/chunks/{component-HighwayLiveAlarm-B7jI-RZI.mjs → component-HighwayLiveAlarm-ChAdlgNB.mjs} +6 -6
- package/dist/chunks/{component-HighwayLiveAlarmNew-B-jkZXom.mjs → component-HighwayLiveAlarmNew-B-KnOey_.mjs} +11 -11
- package/dist/chunks/{component-HighwayStations-C7bVg74m.mjs → component-HighwayStations-CknEywO_.mjs} +6 -6
- package/dist/chunks/{component-HighwayWeatherForecast-C0Z_0C3X.mjs → component-HighwayWeatherForecast-B4szOq2G.mjs} +9 -9
- package/dist/chunks/{component-IframeWeb-BM0dqiO9.mjs → component-IframeWeb-iDh9lrPn.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-5Bdvbyfs.mjs → component-ImageGeneration-CsIZ2Kz2.mjs} +2 -2
- package/dist/chunks/{component-IntroducePic-_nigmGDe.mjs → component-IntroducePic-BggfUWvz.mjs} +13 -13
- package/dist/chunks/{component-LithiumBatteryMiningArea-B21dEJLE.mjs → component-LithiumBatteryMiningArea-RpuBju1r.mjs} +12 -12
- package/dist/chunks/{component-MapPopup-52oQnhOj.mjs → component-MapPopup-LFWUnUl3.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-CrfvJxHz.mjs → component-MaterialPreview-DvNKoDNy.mjs} +5 -5
- package/dist/chunks/{component-PieLegend-CgHQfWD4.mjs → component-PieLegend-B2Nor3pz.mjs} +1 -1
- package/dist/chunks/{component-PrecipitationRanking-C0TROtSR.mjs → component-PrecipitationRanking-ClwjH24B.mjs} +27 -27
- package/dist/chunks/{component-RadarChart-COc4gmuU.mjs → component-RadarChart-BMoy8MXR.mjs} +10 -10
- package/dist/chunks/{component-RadarLegend-CjhaPfOW.mjs → component-RadarLegend-rXlAb8lF.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-DJgvtI9c.mjs → component-RadarShortTerm-4RS7HYWc.mjs} +13 -13
- package/dist/chunks/{component-RadarTime-Br0xVEuq.mjs → component-RadarTime-W1ZVEA9e.mjs} +18 -18
- package/dist/chunks/{component-RenderMarkdown-InDC2lO4.mjs → component-RenderMarkdown-DO4bEFoj.mjs} +6 -6
- package/dist/chunks/{component-ReservoirLiveAlarm-DP-lWjfx.mjs → component-ReservoirLiveAlarm-ZD1RSFHm.mjs} +8 -8
- package/dist/chunks/{component-ServiceMaterial-Cijz6IMh.mjs → component-ServiceMaterial-DrxeAmRt.mjs} +9 -9
- package/dist/chunks/{component-ServiceMaterialsBtn-BdnH5TSY.mjs → component-ServiceMaterialsBtn-CZFRzpDr.mjs} +2 -2
- package/dist/chunks/{component-StationDialog-CcpEWARd.mjs → component-StationDialog-NhNr3lY1.mjs} +9 -9
- package/dist/chunks/{component-StationList-DyspLaBT.mjs → component-StationList-CSU1nUgF.mjs} +9 -9
- package/dist/chunks/{component-TimeBasedForecast-DS12UnL3.mjs → component-TimeBasedForecast-BObdyMNh.mjs} +10 -10
- package/dist/chunks/{component-Typhoon-BLL7-FHD.mjs → component-Typhoon-AxGQ8VuM.mjs} +16 -16
- package/dist/chunks/{component-WarningLine-CjXljhuQ.mjs → component-WarningLine-Biz0NEC8.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-BUq7JNyw.mjs → component-WarningSignal-D5ux6LCy.mjs} +17 -17
- package/dist/chunks/{component-WeatherForecast-CBY40Y1j.mjs → component-WeatherForecast-DnvELAB8.mjs} +16 -16
- package/dist/chunks/{component-YCDataMonitor-Clu5RdqK.mjs → component-YCDataMonitor-Dumu7_mw.mjs} +16 -16
- package/dist/chunks/{component-YCDataService-BX8obEW9.mjs → component-YCDataService-CibX3y21.mjs} +10 -10
- package/dist/chunks/{component-YCHighWaySummary-DfDlTv13.mjs → component-YCHighWaySummary-B4rfNY9B.mjs} +7 -7
- package/dist/chunks/{component-YCHome-CoTwNCRI.mjs → component-YCHome-BgH2uOoL.mjs} +36 -36
- package/dist/chunks/{component-YCHomeLegend--xlIidkR.mjs → component-YCHomeLegend-BpForfu4.mjs} +2 -2
- package/dist/chunks/{component-YCLoginNew-CQ9V5l-b.mjs → component-YCLoginNew-BsQr4jFy.mjs} +17 -17
- package/dist/chunks/{component-YCServiceSummary-DeDBpyuC.mjs → component-YCServiceSummary-CnnEfTaE.mjs} +162 -162
- package/dist/components/Agent/Agent.vue.d.ts +1 -0
- package/dist/nxd-plugin.mjs +73 -73
- package/dist/styles/component-Agent.css +1 -1
- package/dist/styles/component-AiChat.css +1 -1
- package/dist/styles/component-HdHeatChart.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/YCServiceSummary-D6Jrh3KH.mjs +0 -2
- package/dist/chunks/component-HdCameraList-BkpFsBPc.mjs +0 -26871
package/dist/chunks/{component-HdHeatService-CmbwlkaA.mjs → component-HdHeatService-BeUpAmBA.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as e, m as t } from "./component-Agent-DqXO06Ql.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__ */ e(/* @__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(e, { emit: l }) {
|
|
89
|
+
let j = ee()?.appContext.config.globalProperties.$bus, M = e, 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 e = M.ids?.img;
|
|
310
|
+
if (!e?.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 t({
|
|
316
|
+
id: e.id,
|
|
317
317
|
baseHttp: M.baseHttp,
|
|
318
|
-
reqType:
|
|
318
|
+
reqType: e.reqType,
|
|
319
319
|
variables: { configKey: M.imgKey },
|
|
320
|
-
isFormData:
|
|
320
|
+
isFormData: e.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 e = M.ids?.data;
|
|
333
|
+
if (!e?.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 t({
|
|
339
|
+
id: e.id,
|
|
340
340
|
baseHttp: M.baseHttp,
|
|
341
|
-
reqType:
|
|
341
|
+
reqType: e.reqType,
|
|
342
342
|
variables: {},
|
|
343
|
-
isFormData:
|
|
343
|
+
isFormData: e.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 e = M.ids?.heat;
|
|
354
|
+
if (e?.id) try {
|
|
355
|
+
let n = J(await t({
|
|
356
|
+
id: e.id,
|
|
357
357
|
baseHttp: M.baseHttp,
|
|
358
|
-
reqType:
|
|
358
|
+
reqType: e.reqType,
|
|
359
359
|
variables: {},
|
|
360
|
-
isFormData:
|
|
360
|
+
isFormData: e.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 e = M.ids?.chart;
|
|
373
|
+
if (e?.id) try {
|
|
374
|
+
let n = J(await t({
|
|
375
|
+
id: e.id,
|
|
376
376
|
baseHttp: M.baseHttp,
|
|
377
|
-
reqType:
|
|
377
|
+
reqType: e.reqType,
|
|
378
378
|
variables: { categoryType: M.serviceType },
|
|
379
|
-
isFormData:
|
|
379
|
+
isFormData: e.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 }), (t, i) => {
|
|
408
408
|
let l = n;
|
|
409
|
-
return f(), o("div", ie, [
|
|
409
|
+
return f(), o("div", ie, [e.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), e.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), e.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
|
+
])])) : e.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
|
+
])])])) : e.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 { d as e, m as t } from "./component-Agent-DqXO06Ql.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__ */ e(/* @__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(e, { emit: m }) {
|
|
39
|
+
let F = e, 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 e = F.ids?.data;
|
|
81
|
+
if (!(!e?.id || !R.value)) {
|
|
82
82
|
L.value = !0;
|
|
83
83
|
try {
|
|
84
|
-
let n = X(await
|
|
85
|
-
id:
|
|
84
|
+
let n = X(await t({
|
|
85
|
+
id: e.id,
|
|
86
86
|
baseHttp: F.baseHttp,
|
|
87
|
-
reqType:
|
|
87
|
+
reqType: e.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: e.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 (e) => {
|
|
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 t({
|
|
112
112
|
id: n.id,
|
|
113
113
|
baseHttp: F.baseHttp,
|
|
114
114
|
reqType: n.reqType,
|
|
115
|
-
variables: { msName:
|
|
115
|
+
variables: { msName: e.msName || e.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
|
+
...e,
|
|
122
122
|
guidance: De(i)
|
|
123
123
|
};
|
|
124
|
-
} catch (
|
|
125
|
-
console.error("HdInsectDetailList 指导意见加载失败",
|
|
124
|
+
} catch (t) {
|
|
125
|
+
console.error("HdInsectDetailList 指导意见加载失败", t), U.value = e;
|
|
126
126
|
}
|
|
127
127
|
}, Q = async (e) => {
|
|
128
128
|
H.value = 0, B.value = !0, await Oe(e);
|
package/dist/chunks/{component-HdInsectList-BlVzoIgO.mjs → component-HdInsectList-pU1-mQ-C.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as e, m as t } from "./component-Agent-DqXO06Ql.mjs";
|
|
2
2
|
import { ElLoadingDirective as n, ElTable as r, ElTableColumn as i } 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, onBeforeUnmount as _, onMounted as ee, openBlock as v, ref as y, renderList as te, toDisplayString as b, vModelCheckbox as ne, watch as x, withCtx as S, withDirectives as C } from "vue";
|
|
4
4
|
import "element-plus/dist/index.css";
|
|
@@ -18,7 +18,7 @@ var w = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALIAAACyCAMAAADRVGVaAAAAA
|
|
|
18
18
|
}, be = { class: "HdInsectList-section" }, xe = { class: "HdInsectList-feature" }, T = { class: "HdInsectList-featureImage" }, E = ["src"], D = { class: "HdInsectList-featureText" }, O = { class: "HdInsectList-section" }, k = { class: "HdInsectList-prevention" }, A = {
|
|
19
19
|
key: 0,
|
|
20
20
|
class: "HdInsectList-modal"
|
|
21
|
-
}, j = { class: "HdInsectList-panel HdInsectList-panel--detail" }, M = { class: "HdInsectList-detailHead" }, Se = { class: "HdInsectList-detailTime" }, Ce = { class: "HdInsectList-detailImage" }, we = ["src"], N = /* @__PURE__ */
|
|
21
|
+
}, j = { class: "HdInsectList-panel HdInsectList-panel--detail" }, M = { class: "HdInsectList-detailHead" }, Se = { class: "HdInsectList-detailTime" }, Ce = { class: "HdInsectList-detailImage" }, we = ["src"], N = /* @__PURE__ */ e(/* @__PURE__ */ m({
|
|
22
22
|
__name: "HdInsectList",
|
|
23
23
|
props: {
|
|
24
24
|
baseHttp: { default: "" },
|
|
@@ -38,8 +38,8 @@ var w = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALIAAACyCAMAAADRVGVaAAAAA
|
|
|
38
38
|
"markerClick",
|
|
39
39
|
"clearMarker"
|
|
40
40
|
],
|
|
41
|
-
setup(
|
|
42
|
-
let N = h()?.appContext.config.globalProperties.$bus, P =
|
|
41
|
+
setup(e, { expose: m, emit: w }) {
|
|
42
|
+
let N = h()?.appContext.config.globalProperties.$bus, P = e, F = y(!1), I = w, L = null, R = y(!1), z = y(!1), B = y(!1), V = y(0), H = y(null), U = y(!0), W = y([]), G = s(() => H.value?.guidance || []), K = s(() => G.value[V.value]), Te = () => {
|
|
43
43
|
R.value = !0, J();
|
|
44
44
|
}, Ee = () => {
|
|
45
45
|
R.value = !1;
|
|
@@ -65,28 +65,28 @@ var w = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALIAAACyCAMAAADRVGVaAAAAA
|
|
|
65
65
|
prevention: i?.nr || "暂无"
|
|
66
66
|
};
|
|
67
67
|
});
|
|
68
|
-
}, Oe = async (
|
|
68
|
+
}, Oe = async (e) => {
|
|
69
69
|
let n = P.ids?.guidence;
|
|
70
70
|
if (!n?.id) {
|
|
71
71
|
console.warn("HdInsectList 缺少指导意见工作流配置");
|
|
72
72
|
return;
|
|
73
73
|
}
|
|
74
74
|
try {
|
|
75
|
-
let r = q(await
|
|
75
|
+
let r = q(await t({
|
|
76
76
|
id: n.id,
|
|
77
77
|
baseHttp: P.baseHttp,
|
|
78
78
|
reqType: n.reqType,
|
|
79
|
-
variables: { msName:
|
|
79
|
+
variables: { msName: e.msName || e.stationName },
|
|
80
80
|
isFormData: n.isFormData,
|
|
81
81
|
appKey: P.appKey,
|
|
82
82
|
appSalt: P.appSalt
|
|
83
83
|
})), i = (Array.isArray(r) ? r : r?.data || [])[0] || {};
|
|
84
84
|
H.value = {
|
|
85
|
-
...
|
|
85
|
+
...e,
|
|
86
86
|
guidance: De(i)
|
|
87
87
|
};
|
|
88
|
-
} catch (
|
|
89
|
-
console.error("HdInsectList 指导意见加载失败",
|
|
88
|
+
} catch (t) {
|
|
89
|
+
console.error("HdInsectList 指导意见加载失败", t), H.value = e;
|
|
90
90
|
}
|
|
91
91
|
}, ke = async (e) => {
|
|
92
92
|
V.value = 0, z.value = !0, await Oe(e), I("openGuidance", e);
|
|
@@ -125,18 +125,18 @@ var w = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALIAAACyCAMAAADRVGVaAAAAA
|
|
|
125
125
|
};
|
|
126
126
|
async function J() {
|
|
127
127
|
F.value = !0;
|
|
128
|
-
let
|
|
129
|
-
if (!
|
|
128
|
+
let e = P.ids.data;
|
|
129
|
+
if (!e?.id) {
|
|
130
130
|
console.warn("HdInsectList 缺少数据工作流配置");
|
|
131
131
|
return;
|
|
132
132
|
}
|
|
133
133
|
try {
|
|
134
|
-
let n = await
|
|
135
|
-
id:
|
|
134
|
+
let n = await t({
|
|
135
|
+
id: e.id,
|
|
136
136
|
baseHttp: P.baseHttp,
|
|
137
|
-
reqType:
|
|
137
|
+
reqType: e.reqType,
|
|
138
138
|
variables: {},
|
|
139
|
-
isFormData:
|
|
139
|
+
isFormData: e.isFormData,
|
|
140
140
|
appKey: P.appKey,
|
|
141
141
|
appSalt: P.appSalt
|
|
142
142
|
});
|
|
@@ -233,7 +233,7 @@ var w = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALIAAACyCAMAAADRVGVaAAAAA
|
|
|
233
233
|
}, $ = () => {
|
|
234
234
|
L &&= (clearInterval(L), null);
|
|
235
235
|
};
|
|
236
|
-
return m({ clearMarkers: X }), (
|
|
236
|
+
return m({ clearMarkers: X }), (t, s) => {
|
|
237
237
|
let m = i, h = r, _ = n;
|
|
238
238
|
return v(), u("div", ae, [
|
|
239
239
|
d("div", {
|
|
@@ -241,7 +241,7 @@ var w = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALIAAACyCAMAAADRVGVaAAAAA
|
|
|
241
241
|
onClick: Te
|
|
242
242
|
}, [d("img", {
|
|
243
243
|
class: "HdInsectList-triggerImg",
|
|
244
|
-
src:
|
|
244
|
+
src: e.triggerImg,
|
|
245
245
|
alt: "虫情列表"
|
|
246
246
|
}, null, 8, oe)]),
|
|
247
247
|
(v(), c(o, { to: "body" }, [R.value ? (v(), u("div", se, [d("div", ce, [d("div", le, [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./component-Forecast72h-
|
|
1
|
+
import { d as e, m as t } from "./component-Agent-DqXO06Ql.mjs";
|
|
2
|
+
import "./component-Forecast72h-5DGIhVUd.mjs";
|
|
3
3
|
import { ElCarousel as n, ElCarouselItem as r, ElDatePicker as i, ElImageViewer as ee, ElLoadingDirective as te } from "element-plus/es";
|
|
4
4
|
import { Fragment as a, Teleport as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createVNode as f, defineComponent as p, nextTick as m, normalizeClass as h, onMounted as ne, openBlock as g, ref as _, renderList as v, toDisplayString as y, vShow as b, watch as x, withCtx as re, withDirectives as S } from "vue";
|
|
5
5
|
import * as ie from "echarts";
|
|
@@ -41,7 +41,7 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
41
41
|
}, Re = { class: "HdMajorActivity-popupRealtimeItem" }, ze = { class: "HdMajorActivity-popupRealtimeValue" }, Be = { class: "HdMajorActivity-popupRealtimeItem" }, Ve = { class: "HdMajorActivity-popupRealtimeValue" }, He = { class: "HdMajorActivity-popupRealtimeItem" }, Ue = { class: "HdMajorActivity-popupRealtimeValue" }, We = { class: "HdMajorActivity-popupRealtimeItem" }, Ge = { class: "HdMajorActivity-popupRealtimeValue" }, Ke = { class: "HdMajorActivity-popupRealtimeItem" }, qe = { class: "HdMajorActivity-popupRealtimeValue" }, Je = { class: "HdMajorActivity-popupRealtimeItem" }, Ye = { class: "HdMajorActivity-popupRealtimeValue" }, Xe = { class: "HdMajorActivity-popupRealtimeItem" }, Ze = { class: "HdMajorActivity-popupRealtimeValue" }, Qe = { class: "HdMajorActivity-popupRealtimeItem" }, $e = { class: "HdMajorActivity-popupRealtimeValue" }, et = { class: "HdMajorActivity-popupSection" }, tt = { class: "HdMajorActivity-popupSectionHead" }, nt = { class: "HdMajorActivity-popupTabs" }, rt = { class: "HdMajorActivity-popupElementTabs" }, it = ["onClick"], at = {
|
|
42
42
|
key: 0,
|
|
43
43
|
class: "HdMajorActivity-popupLoading"
|
|
44
|
-
}, ot = { key: 1 }, st = { class: "HdMajorActivity-popupTableWrap" }, ct = { class: "HdMajorActivity-popupTable" }, lt = { key: 0 }, ut = /* @__PURE__ */
|
|
44
|
+
}, ot = { key: 1 }, st = { class: "HdMajorActivity-popupTableWrap" }, ct = { class: "HdMajorActivity-popupTable" }, lt = { key: 0 }, ut = /* @__PURE__ */ e(/* @__PURE__ */ p({
|
|
45
45
|
__name: "HdMajorActivity",
|
|
46
46
|
props: {
|
|
47
47
|
mock: {
|
|
@@ -70,8 +70,8 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
70
70
|
"removeLayer",
|
|
71
71
|
"mapView"
|
|
72
72
|
],
|
|
73
|
-
setup(
|
|
74
|
-
let dt = (/* @__PURE__ */ new Date()).getFullYear(), ft = dt - 20, pt = dt + 10, C =
|
|
73
|
+
setup(e, { expose: p, emit: ut }) {
|
|
74
|
+
let dt = (/* @__PURE__ */ new Date()).getFullYear(), ft = dt - 20, pt = dt + 10, C = e, w = ut, T = _(!1), E = _([]), D = _(null), O = _(0), k = _(!1), mt = _(0), A = _(!1), j = _(null), M = _(!1), N = _(!1), P = _({}), F = _([]), I = _([]), L = _("chart"), R = _("temperature"), z = _(null), B = null, V = [
|
|
75
75
|
{
|
|
76
76
|
key: "temperature",
|
|
77
77
|
label: "温度",
|
|
@@ -325,19 +325,19 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
325
325
|
if (!t || typeof t != "object") return [];
|
|
326
326
|
let n = Array.isArray(t.situationData) ? t.situationData : [], r = Array.isArray(t.forecastData) ? t.forecastData : [];
|
|
327
327
|
return [...n.map(Lt), ...r.map(Rt)].sort((e, t) => new Date(e.time).getTime() - new Date(t.time).getTime());
|
|
328
|
-
}, Bt = async (
|
|
328
|
+
}, Bt = async (e) => {
|
|
329
329
|
let n = Q("realTime");
|
|
330
|
-
if (!(!n || !
|
|
330
|
+
if (!(!n || !e.station_id)) {
|
|
331
331
|
M.value = !0;
|
|
332
332
|
try {
|
|
333
|
-
P.value = It($(await
|
|
333
|
+
P.value = It($(await t({
|
|
334
334
|
id: n.id,
|
|
335
335
|
baseHttp: C.baseHttp,
|
|
336
336
|
reqType: n.reqType,
|
|
337
337
|
variables: {
|
|
338
|
-
[C.stationField]:
|
|
339
|
-
[C.timeStartField]:
|
|
340
|
-
[C.timeEndField]:
|
|
338
|
+
[C.stationField]: e.station_id,
|
|
339
|
+
[C.timeStartField]: e.start_time,
|
|
340
|
+
[C.timeEndField]: e.end_time
|
|
341
341
|
},
|
|
342
342
|
isFormData: n.isFormData,
|
|
343
343
|
appKey: C.appKey,
|
|
@@ -348,19 +348,19 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
348
348
|
}
|
|
349
349
|
M.value = !1;
|
|
350
350
|
}
|
|
351
|
-
}, Vt = async (
|
|
351
|
+
}, Vt = async (e) => {
|
|
352
352
|
let n = Q("timeSeries");
|
|
353
|
-
if (!(!n || !
|
|
353
|
+
if (!(!n || !e.station_id)) {
|
|
354
354
|
N.value = !0;
|
|
355
355
|
try {
|
|
356
|
-
F.value = zt($(await
|
|
356
|
+
F.value = zt($(await t({
|
|
357
357
|
id: n.id,
|
|
358
358
|
baseHttp: C.baseHttp,
|
|
359
359
|
reqType: n.reqType,
|
|
360
360
|
variables: {
|
|
361
|
-
[C.stationField]:
|
|
362
|
-
[C.timeStartField]:
|
|
363
|
-
[C.timeEndField]:
|
|
361
|
+
[C.stationField]: e.station_id,
|
|
362
|
+
[C.timeStartField]: e.start_time,
|
|
363
|
+
[C.timeEndField]: e.end_time
|
|
364
364
|
},
|
|
365
365
|
isFormData: n.isFormData,
|
|
366
366
|
appKey: C.appKey,
|
|
@@ -504,18 +504,18 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
504
504
|
station_id: "54943"
|
|
505
505
|
}];
|
|
506
506
|
}, Kt = async () => {
|
|
507
|
-
let
|
|
508
|
-
if (!
|
|
507
|
+
let e = Q("data");
|
|
508
|
+
if (!e) {
|
|
509
509
|
console.warn("HdMajorActivity 缺少工作流配置");
|
|
510
510
|
return;
|
|
511
511
|
}
|
|
512
512
|
try {
|
|
513
|
-
let n = $(await
|
|
514
|
-
id:
|
|
513
|
+
let n = $(await t({
|
|
514
|
+
id: e.id,
|
|
515
515
|
baseHttp: C.baseHttp,
|
|
516
|
-
reqType:
|
|
516
|
+
reqType: e.reqType,
|
|
517
517
|
variables: Wt(),
|
|
518
|
-
isFormData:
|
|
518
|
+
isFormData: e.isFormData,
|
|
519
519
|
appKey: C.appKey,
|
|
520
520
|
appSalt: C.appSalt
|
|
521
521
|
}));
|
package/dist/chunks/{component-HdObservation-CT3xn1ly.mjs → component-HdObservation-osOGizJv.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import "./component-Forecast72h-
|
|
4
|
-
import { n as r } from "./component-HdFarmStationDialog-
|
|
2
|
+
import { d as t, m as n } from "./component-Agent-DqXO06Ql.mjs";
|
|
3
|
+
import "./component-Forecast72h-5DGIhVUd.mjs";
|
|
4
|
+
import { n as r } from "./component-HdFarmStationDialog-DHGlfkae.mjs";
|
|
5
5
|
import { ElIcon as i, ElLoadingDirective as a, ElOption as o, ElSelect as s } from "element-plus/es";
|
|
6
6
|
import { Fragment as c, computed as l, createBlock as ee, createCommentVNode as te, createElementBlock as u, createElementVNode as d, createStaticVNode as ne, createVNode as f, defineComponent as p, getCurrentInstance as re, nextTick as ie, normalizeClass as ae, normalizeStyle as oe, onBeforeUnmount as m, onMounted as se, openBlock as h, ref as g, renderList as _, toDisplayString as v, unref as ce, withCtx as y, withDirectives as le } from "vue";
|
|
7
7
|
import { Download as ue } from "@element-plus/icons-vue";
|
|
@@ -15,7 +15,7 @@ var fe = /* @__PURE__ */ e(r()), pe = {
|
|
|
15
15
|
}, me = { class: "HdObservation-header" }, he = { class: "HdObservation-headerContent" }, ge = {
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "HdObservation-dataTime"
|
|
18
|
-
}, _e = { class: "HdObservation-body" }, ve = { class: "HdObservation-tabs" }, ye = ["onClick"], be = { class: "HdObservation-elementBar" }, xe = { class: "HdObservation-stats" }, x = { class: "HdObservation-statCard HdObservation-statCard--max" }, S = { class: "HdObservation-statInfo" }, C = { class: "HdObservation-statValue" }, w = ["title"], T = { class: "HdObservation-statCard HdObservation-statCard--min" }, E = { class: "HdObservation-statInfo" }, D = { class: "HdObservation-statValue" }, O = ["title"], k = { class: "HdObservation-statCard HdObservation-statCard--avg" }, A = { class: "HdObservation-statInfo" }, j = { class: "HdObservation-statValue" }, M = { class: "HdObservation-chartSection" }, Se = { class: "HdObservation-chartHeader" }, Ce = { class: "HdObservation-chartTitle" }, we = { class: "HdObservation-chartUnit" }, N = 10, P = /* @__PURE__ */
|
|
18
|
+
}, _e = { class: "HdObservation-body" }, ve = { class: "HdObservation-tabs" }, ye = ["onClick"], be = { class: "HdObservation-elementBar" }, xe = { class: "HdObservation-stats" }, x = { class: "HdObservation-statCard HdObservation-statCard--max" }, S = { class: "HdObservation-statInfo" }, C = { class: "HdObservation-statValue" }, w = ["title"], T = { class: "HdObservation-statCard HdObservation-statCard--min" }, E = { class: "HdObservation-statInfo" }, D = { class: "HdObservation-statValue" }, O = ["title"], k = { class: "HdObservation-statCard HdObservation-statCard--avg" }, A = { class: "HdObservation-statInfo" }, j = { class: "HdObservation-statValue" }, M = { class: "HdObservation-chartSection" }, Se = { class: "HdObservation-chartHeader" }, Ce = { class: "HdObservation-chartTitle" }, we = { class: "HdObservation-chartUnit" }, N = 10, P = /* @__PURE__ */ t(/* @__PURE__ */ p({
|
|
19
19
|
__name: "HdObservation",
|
|
20
20
|
props: {
|
|
21
21
|
mock: {
|
|
@@ -51,9 +51,9 @@ var fe = /* @__PURE__ */ e(r()), pe = {
|
|
|
51
51
|
}) }
|
|
52
52
|
},
|
|
53
53
|
emits: ["close"],
|
|
54
|
-
setup(e, { emit:
|
|
54
|
+
setup(e, { emit: t }) {
|
|
55
55
|
re()?.appContext.config.globalProperties.$bus;
|
|
56
|
-
let r = e, p =
|
|
56
|
+
let r = e, p = t, P = [
|
|
57
57
|
{
|
|
58
58
|
label: "温度",
|
|
59
59
|
value: "温度",
|
|
@@ -248,13 +248,13 @@ var fe = /* @__PURE__ */ e(r()), pe = {
|
|
|
248
248
|
return;
|
|
249
249
|
}
|
|
250
250
|
try {
|
|
251
|
-
let
|
|
252
|
-
I.value === 1 ?
|
|
253
|
-
let i = await
|
|
251
|
+
let t = { realTime: I.value };
|
|
252
|
+
I.value === 1 ? t.elementType = L.value : t.dayElementType = L.value;
|
|
253
|
+
let i = await n({
|
|
254
254
|
id: e.id,
|
|
255
255
|
baseHttp: r.baseHttp,
|
|
256
256
|
reqType: e.reqType,
|
|
257
|
-
variables:
|
|
257
|
+
variables: t,
|
|
258
258
|
isFormData: e.isFormData,
|
|
259
259
|
appKey: r.appKey,
|
|
260
260
|
appSalt: r.appSalt
|
package/dist/chunks/{component-HdPreSituation-DDNcwiwp.mjs → component-HdPreSituation-Ca_d4L11.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import "./component-Forecast72h-
|
|
4
|
-
import { n as r } from "./component-HdFarmStationDialog-
|
|
2
|
+
import { d as t, m as n } from "./component-Agent-DqXO06Ql.mjs";
|
|
3
|
+
import "./component-Forecast72h-5DGIhVUd.mjs";
|
|
4
|
+
import { n as r } from "./component-HdFarmStationDialog-DHGlfkae.mjs";
|
|
5
5
|
import { ElConfigProvider as i, ElDatePicker as a, ElIcon as ee, ElLoadingDirective as te, ElOption as ne, ElSelect as re, ElTable as ie, ElTableColumn as ae } from "element-plus/es";
|
|
6
6
|
import { Fragment as o, computed as s, createBlock as oe, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, getCurrentInstance as p, nextTick as m, normalizeClass as se, normalizeStyle as h, onBeforeUnmount as g, onMounted as _, openBlock as v, ref as y, renderList as b, toDisplayString as x, unref as S, watch as ce, withCtx as C, withDirectives as le } from "vue";
|
|
7
7
|
import { Download as ue, TrendCharts as de } from "@element-plus/icons-vue";
|
|
@@ -19,7 +19,7 @@ var me = /* @__PURE__ */ e(r()), he = {
|
|
|
19
19
|
}, ye = { class: "HdPreSituation-body" }, be = { class: "HdPreSituation-timeRange" }, xe = { class: "HdPreSituation-timeItem" }, Se = { class: "HdPreSituation-timeItem" }, Ce = { class: "HdPreSituation-endTime" }, we = { class: "HdPreSituation-summary" }, Te = { class: "HdPreSituation-total" }, Ee = { class: "HdPreSituation-totalValue" }, De = { class: "HdPreSituation-splitBar" }, Oe = { class: "HdPreSituation-section" }, ke = { class: "HdPreSituation-levelList" }, Ae = { class: "HdPreSituation-levelRange" }, je = { class: "HdPreSituation-section HdPreSituation-section--table" }, Me = { class: "HdPreSituation-tableHeader" }, Ne = { class: "HdPreSituation-tableActions" }, Pe = { class: "HdPreSituation-tableWrap" }, Fe = {
|
|
20
20
|
key: 0,
|
|
21
21
|
class: "HdPreSituation-trendMask"
|
|
22
|
-
}, Ie = { class: "HdPreSituation-trendPopup" }, Le = { class: "HdPreSituation-trendHeader" }, Re = { class: "HdPreSituation-trendActions" }, ze = { class: "HdPreSituation-trendThreshold" }, T = /* @__PURE__ */
|
|
22
|
+
}, Ie = { class: "HdPreSituation-trendPopup" }, Le = { class: "HdPreSituation-trendHeader" }, Re = { class: "HdPreSituation-trendActions" }, ze = { class: "HdPreSituation-trendThreshold" }, T = /* @__PURE__ */ t(/* @__PURE__ */ f({
|
|
23
23
|
__name: "HdPreSituation",
|
|
24
24
|
props: {
|
|
25
25
|
mock: {
|
|
@@ -57,8 +57,8 @@ var me = /* @__PURE__ */ e(r()), he = {
|
|
|
57
57
|
}) }
|
|
58
58
|
},
|
|
59
59
|
emits: ["close", "locate"],
|
|
60
|
-
setup(e, { emit:
|
|
61
|
-
let r = p()?.appContext.config.globalProperties.$bus, f = e, T =
|
|
60
|
+
setup(e, { emit: t }) {
|
|
61
|
+
let r = p()?.appContext.config.globalProperties.$bus, f = e, T = t, E = y(!1), D = y(""), O = y(""), k = y([]), A = y([]), j = y(null), M = y(null), N = null, P = null, F = null, I = y(!1), L = y([]), R = [
|
|
62
62
|
{
|
|
63
63
|
key: "lightRain",
|
|
64
64
|
label: "小雨",
|
|
@@ -217,14 +217,14 @@ var me = /* @__PURE__ */ e(r()), he = {
|
|
|
217
217
|
return;
|
|
218
218
|
}
|
|
219
219
|
O.value || q();
|
|
220
|
-
let
|
|
220
|
+
let t = O.value, r = Be.value;
|
|
221
221
|
try {
|
|
222
|
-
let i = Qe(await
|
|
222
|
+
let i = Qe(await n({
|
|
223
223
|
id: e.id,
|
|
224
224
|
baseHttp: f.baseHttp,
|
|
225
225
|
reqType: e.reqType,
|
|
226
226
|
variables: {
|
|
227
|
-
startDate:
|
|
227
|
+
startDate: t || "",
|
|
228
228
|
endDate: r || ""
|
|
229
229
|
},
|
|
230
230
|
isFormData: e.isFormData,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as e, m as t } from "./component-Agent-DqXO06Ql.mjs";
|
|
2
2
|
import { Fragment as n, computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, getCurrentInstance as c, nextTick as l, normalizeStyle as u, onMounted as d, onUnmounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, watch as _ } from "vue";
|
|
3
3
|
import * as v from "echarts";
|
|
4
4
|
//#region src/components/HdQxServiceEffects/HdQxServiceEffects.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -8,7 +8,7 @@ var y = { class: "HdQxServiceEffects" }, b = { class: "HdQxServiceEffect" }, x =
|
|
|
8
8
|
}, w = { class: "HdQxServiceEffect-summaryLabel" }, T = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "HdQxServiceEffect-summaryUnit"
|
|
11
|
-
}, E = { class: "HdQxServiceEffect-chartTitle" }, D = /* @__PURE__ */
|
|
11
|
+
}, E = { class: "HdQxServiceEffect-chartTitle" }, D = /* @__PURE__ */ e(/* @__PURE__ */ s({
|
|
12
12
|
__name: "HdQxServiceEffects",
|
|
13
13
|
props: {
|
|
14
14
|
mock: {
|
|
@@ -85,8 +85,8 @@ var y = { class: "HdQxServiceEffects" }, b = { class: "HdQxServiceEffect" }, x =
|
|
|
85
85
|
}) }
|
|
86
86
|
},
|
|
87
87
|
emits: ["close"],
|
|
88
|
-
setup(
|
|
89
|
-
let D = c()?.appContext.config.globalProperties.$bus, O =
|
|
88
|
+
setup(e, { emit: s }) {
|
|
89
|
+
let D = c()?.appContext.config.globalProperties.$bus, O = e, k = s, A = m(""), j = m([]), M = m([]), N = m({}), P = m({}), F = r(() => O.title || A.value), I = r(() => O.summary.length ? O.summary : j.value), L = r(() => O.charts.length ? O.charts : M.value), R = r(() => ({ gridTemplateColumns: `repeat(${L.value.length || 1}, 1fr)` })), z = () => {
|
|
90
90
|
k("close", "HdQxServiceEffects");
|
|
91
91
|
}, B = (e, t) => {
|
|
92
92
|
e && (N.value[t] = e);
|
|
@@ -192,18 +192,18 @@ var y = { class: "HdQxServiceEffects" }, b = { class: "HdQxServiceEffect" }, x =
|
|
|
192
192
|
let e = O.mockData || {};
|
|
193
193
|
A.value = e.title || "", j.value = e.summary || [], M.value = e.charts || [];
|
|
194
194
|
}, K = async () => {
|
|
195
|
-
let
|
|
196
|
-
if (!
|
|
195
|
+
let e = O.ids.data;
|
|
196
|
+
if (!e?.id) {
|
|
197
197
|
console.warn("HdQxServiceEffects 缺少数据工作流配置");
|
|
198
198
|
return;
|
|
199
199
|
}
|
|
200
200
|
try {
|
|
201
|
-
let n = W(await
|
|
202
|
-
id:
|
|
201
|
+
let n = W(await t({
|
|
202
|
+
id: e.id,
|
|
203
203
|
baseHttp: O.baseHttp,
|
|
204
|
-
reqType:
|
|
204
|
+
reqType: e.reqType,
|
|
205
205
|
variables: {},
|
|
206
|
-
isFormData:
|
|
206
|
+
isFormData: e.isFormData,
|
|
207
207
|
appKey: O.appKey,
|
|
208
208
|
appSalt: O.appSalt
|
|
209
209
|
}));
|
package/dist/chunks/{component-HdRadarList-BqobCRLG.mjs → component-HdRadarList-CgWMdwBo.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./component-Forecast72h-
|
|
1
|
+
import { d as e } from "./component-Agent-DqXO06Ql.mjs";
|
|
2
|
+
import "./component-Forecast72h-5DGIhVUd.mjs";
|
|
3
3
|
import { ElIcon as t } from "element-plus/es";
|
|
4
4
|
import { Fragment as n, computed as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, getCurrentInstance as c, normalizeClass as l, onMounted as u, openBlock as d, ref as f, renderList as p, toDisplayString as m, unref as h, watch as g, withCtx as _ } from "vue";
|
|
5
5
|
import { EditPen as v } from "@element-plus/icons-vue";
|
|
@@ -108,7 +108,7 @@ var x = { class: "HdRadarList" }, S = { class: "HdRadarList-header" }, C = { cla
|
|
|
108
108
|
return;
|
|
109
109
|
}
|
|
110
110
|
try {
|
|
111
|
-
let { default: t } = await import("./component-Agent-
|
|
111
|
+
let { default: t } = await import("./component-Agent-DqXO06Ql.mjs").then((e) => e.g), n = B(await t({
|
|
112
112
|
id: e.id,
|
|
113
113
|
baseHttp: A.baseHttp,
|
|
114
114
|
reqType: e.reqType,
|