nxd-plugin 1.8.37 → 1.8.38
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-ev61YTDw.mjs} +13 -13
- 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-YCLoginNew.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/YCServiceSummary-tHEqhFHj.mjs +0 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import "./component-Forecast72h-
|
|
4
|
-
import { n as r } from "./component-HdFarmStationDialog-
|
|
2
|
+
import { g as t, p as n } from "./component-Agent-Cm2BEfcV.mjs";
|
|
3
|
+
import "./component-Forecast72h-CU8p9veB.mjs";
|
|
4
|
+
import { n as r } from "./component-HdFarmStationDialog-jR-LBbQP.mjs";
|
|
5
5
|
import { ElConfigProvider as i, ElDatePicker as a, ElIcon as o, ElLoadingDirective as s, ElTable as c, ElTableColumn as ee } from "element-plus/es";
|
|
6
|
-
import { Fragment as l, computed as u, createBlock as te, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as ne, createVNode as m, defineComponent as h, getCurrentInstance as g, nextTick as _, normalizeClass as v, onBeforeUnmount as
|
|
6
|
+
import { Fragment as l, computed as u, createBlock as te, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as ne, createVNode as m, defineComponent as h, getCurrentInstance as g, nextTick as _, normalizeClass as v, onBeforeUnmount as re, onMounted as ie, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, withCtx as w, withDirectives as ae, withModifiers as oe } from "vue";
|
|
7
7
|
import { Download as se, Refresh as ce } from "@element-plus/icons-vue";
|
|
8
8
|
import * as T from "echarts";
|
|
9
9
|
import { ElMessage as E } from "element-plus";
|
|
@@ -22,7 +22,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
|
|
|
22
22
|
}, Se = { class: "PrecipitationRanking-content" }, Ce = { class: "PrecipitationRanking-tableWrap" }, we = ["onClick"], Te = {
|
|
23
23
|
key: 1,
|
|
24
24
|
class: "PrecipitationRanking-trendMask"
|
|
25
|
-
}, Ee = { class: "PrecipitationRanking-trendPopup" }, De = { class: "PrecipitationRanking-trendHeader" }, Oe = { class: "PrecipitationRanking-trendTitle" }, ke = { class: "PrecipitationRanking-trendSubTitle" }, D = /* @__PURE__ */
|
|
25
|
+
}, Ee = { class: "PrecipitationRanking-trendPopup" }, De = { class: "PrecipitationRanking-trendHeader" }, Oe = { class: "PrecipitationRanking-trendTitle" }, ke = { class: "PrecipitationRanking-trendSubTitle" }, D = /* @__PURE__ */ n(/* @__PURE__ */ h({
|
|
26
26
|
__name: "PrecipitationRanking",
|
|
27
27
|
props: {
|
|
28
28
|
mock: {
|
|
@@ -146,12 +146,12 @@ var ue = /* @__PURE__ */ e(r()), de = {
|
|
|
146
146
|
"rowClick",
|
|
147
147
|
"view"
|
|
148
148
|
],
|
|
149
|
-
setup(e, { emit:
|
|
150
|
-
let r = g()?.appContext.config.globalProperties.$bus, h = e, D =
|
|
149
|
+
setup(e, { emit: n }) {
|
|
150
|
+
let r = g()?.appContext.config.globalProperties.$bus, h = e, D = n, O = b(!1), k = b(!1), A = b([
|
|
151
151
|
"30min",
|
|
152
152
|
"1hour",
|
|
153
153
|
"3hour"
|
|
154
|
-
]), j =
|
|
154
|
+
]), j = b(!1), M = b(""), N = b([]), P = b([]), F = b([]), I = b(!1), L = b(null), R = b(null), z = null, B = null, V = [
|
|
155
155
|
{
|
|
156
156
|
label: "30分钟",
|
|
157
157
|
value: "30min",
|
|
@@ -310,7 +310,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
|
|
|
310
310
|
if (!e) return console.warn("PrecipitationRanking 缺少趋势图工作流配置"), null;
|
|
311
311
|
console.log(L.value, "currentRow.value12");
|
|
312
312
|
try {
|
|
313
|
-
let
|
|
313
|
+
let n = X(await t({
|
|
314
314
|
id: e.id,
|
|
315
315
|
baseHttp: h.baseHttp,
|
|
316
316
|
reqType: e.reqType,
|
|
@@ -319,8 +319,8 @@ var ue = /* @__PURE__ */ e(r()), de = {
|
|
|
319
319
|
appKey: h.appKey,
|
|
320
320
|
appSalt: h.appSalt
|
|
321
321
|
}));
|
|
322
|
-
if (!
|
|
323
|
-
let r =
|
|
322
|
+
if (!n) return null;
|
|
323
|
+
let r = n.situationData || n.situation || [], i = n.forecastData || n.forecast || [], a = (e) => {
|
|
324
324
|
if (!e) return "--";
|
|
325
325
|
let t = e.split(" ");
|
|
326
326
|
return t.length > 1 ? `${t[0].slice(5)} ${t[1].slice(0, 2)}时` : e;
|
|
@@ -546,14 +546,14 @@ var ue = /* @__PURE__ */ e(r()), de = {
|
|
|
546
546
|
let e = h.mockData;
|
|
547
547
|
N.value = e.list || [], M.value = e.dataTime || "";
|
|
548
548
|
}, Ze = async (e) => {
|
|
549
|
-
let
|
|
550
|
-
if (!
|
|
551
|
-
let r = X(await
|
|
552
|
-
id:
|
|
549
|
+
let n = Y("data");
|
|
550
|
+
if (!n) return console.warn("PrecipitationRanking 缺少工作流配置"), [];
|
|
551
|
+
let r = X(await t({
|
|
552
|
+
id: n.id,
|
|
553
553
|
baseHttp: h.baseHttp,
|
|
554
|
-
reqType:
|
|
554
|
+
reqType: n.reqType,
|
|
555
555
|
variables: e.isCustom == "0" ? { isCustom: e.isCustom } : e.isCustom == "1" ? e : {},
|
|
556
|
-
isFormData:
|
|
556
|
+
isFormData: n.isFormData,
|
|
557
557
|
appKey: h.appKey,
|
|
558
558
|
appSalt: h.appSalt
|
|
559
559
|
}));
|
|
@@ -623,20 +623,20 @@ var ue = /* @__PURE__ */ e(r()), de = {
|
|
|
623
623
|
}, nt = () => {
|
|
624
624
|
B &&= (clearInterval(B), null);
|
|
625
625
|
};
|
|
626
|
-
return
|
|
626
|
+
return ie(() => {
|
|
627
627
|
r?.on("toComponent", (e) => {
|
|
628
628
|
e.componentName === "PrecipitationRanking" && $();
|
|
629
629
|
}), $(), tt();
|
|
630
|
-
}),
|
|
630
|
+
}), re(() => {
|
|
631
631
|
nt(), z &&= (z.dispose(), null);
|
|
632
632
|
}), (t, n) => {
|
|
633
|
-
let r = o, u = a, h = i, g = ee, _ = c,
|
|
634
|
-
return ae((
|
|
633
|
+
let r = o, u = a, h = i, g = ee, _ = c, re = s;
|
|
634
|
+
return ae((y(), f("div", de, [
|
|
635
635
|
p("button", {
|
|
636
636
|
class: "PrecipitationRanking-close",
|
|
637
637
|
onClick: Pe
|
|
638
638
|
}, [...n[1] ||= [p("span", null, "✕", -1)]]),
|
|
639
|
-
p("div", fe, [p("div", pe, [n[2] ||= p("h3", { class: "PrecipitationRanking-title" }, "自动站降水排名", -1), M.value ? (
|
|
639
|
+
p("div", fe, [p("div", pe, [n[2] ||= p("h3", { class: "PrecipitationRanking-title" }, "自动站降水排名", -1), M.value ? (y(), f("span", me, "(数据时间:" + S(M.value) + ")", 1)) : d("", !0)]), n[3] ||= p("img", {
|
|
640
640
|
style: {
|
|
641
641
|
width: "100%",
|
|
642
642
|
"object-fit": "contain",
|
|
@@ -657,7 +657,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
|
|
|
657
657
|
}, [m(r, { class: "PrecipitationRanking-icon" }, {
|
|
658
658
|
default: w(() => [m(C(ce))]),
|
|
659
659
|
_: 1
|
|
660
|
-
}), n[5] ||= p("span", null, "刷新", -1)])])]), p("div", ve, [p("div", ye, [(
|
|
660
|
+
}), n[5] ||= p("span", null, "刷新", -1)])])]), p("div", ve, [p("div", ye, [(y(), f(l, null, x(V, (e) => p("button", {
|
|
661
661
|
key: e.value,
|
|
662
662
|
class: v(["PrecipitationRanking-timeTag", { "PrecipitationRanking-timeTag--active": A.value.includes(e.value) }]),
|
|
663
663
|
onClick: (t) => We(e.value)
|
|
@@ -665,7 +665,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
|
|
|
665
665
|
class: v(["PrecipitationRanking-timeTag", { "PrecipitationRanking-timeTag--active": j.value }]),
|
|
666
666
|
onClick: Ge
|
|
667
667
|
}, " 自定义 ", 2)])])]),
|
|
668
|
-
j.value ? (
|
|
668
|
+
j.value ? (y(), f("div", xe, [n[7] ||= p("span", { class: "PrecipitationRanking-customLabel" }, "时间范围", -1), m(h, { locale: C(le) }, {
|
|
669
669
|
default: w(() => [m(u, {
|
|
670
670
|
modelValue: F.value,
|
|
671
671
|
"onUpdate:modelValue": n[0] ||= (e) => F.value = e,
|
|
@@ -706,7 +706,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
|
|
|
706
706
|
"min-width": "80",
|
|
707
707
|
"show-overflow-tooltip": ""
|
|
708
708
|
}),
|
|
709
|
-
(
|
|
709
|
+
(y(!0), f(l, null, x(U.value, (e) => (y(), te(g, {
|
|
710
710
|
key: e.value,
|
|
711
711
|
label: e.label + "(mm)",
|
|
712
712
|
align: "center",
|
|
@@ -729,7 +729,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
|
|
|
729
729
|
]),
|
|
730
730
|
_: 1
|
|
731
731
|
}, 8, ["data", "height"])])]),
|
|
732
|
-
I.value ? (
|
|
732
|
+
I.value ? (y(), f("div", Te, [p("div", Ee, [p("div", De, [p("div", Oe, [n[8] ||= p("span", null, "趋势图表", -1), p("span", ke, S(L.value?.stationName), 1)]), p("button", {
|
|
733
733
|
class: "PrecipitationRanking-trendClose",
|
|
734
734
|
onClick: Le
|
|
735
735
|
}, "✕")]), p("div", {
|
|
@@ -737,7 +737,7 @@ var ue = /* @__PURE__ */ e(r()), de = {
|
|
|
737
737
|
ref: R,
|
|
738
738
|
class: "PrecipitationRanking-trendChart"
|
|
739
739
|
}, null, 512)])])) : d("", !0)
|
|
740
|
-
])), [[
|
|
740
|
+
])), [[re, O.value]]);
|
|
741
741
|
};
|
|
742
742
|
}
|
|
743
743
|
}), [["__scopeId", "data-v-3b8e660b"]]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
1
|
+
import "./component-AqiMonitor-buvqeOgY.mjs";
|
|
2
|
+
import { g as e, p as t } from "./component-Agent-Cm2BEfcV.mjs";
|
|
3
3
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
4
4
|
import { Fragment as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, getCurrentInstance as c, onMounted as l, openBlock as u, ref as d, renderList as f, toDisplayString as p, vModelCheckbox as m, withDirectives as h } from "vue";
|
|
5
5
|
//#region src/components/RadarChart/RadarChart.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -12,7 +12,7 @@ var g = {
|
|
|
12
12
|
} }, O = { style: {
|
|
13
13
|
width: "80px",
|
|
14
14
|
"text-align": "center"
|
|
15
|
-
} }, k = { key: 0 }, A = /* @__PURE__ */
|
|
15
|
+
} }, k = { key: 0 }, A = /* @__PURE__ */ t(/* @__PURE__ */ s({
|
|
16
16
|
__name: "RadarChart",
|
|
17
17
|
props: {
|
|
18
18
|
appKey: {
|
|
@@ -37,8 +37,8 @@ var g = {
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
emits: ["close"],
|
|
40
|
-
setup(
|
|
41
|
-
let A = c()?.appContext.config.globalProperties.$bus, j =
|
|
40
|
+
setup(t, { emit: s }) {
|
|
41
|
+
let A = c()?.appContext.config.globalProperties.$bus, j = t, M = s, N = d(!1), P = d([]), F = d(!0), I = d(0);
|
|
42
42
|
l(() => {
|
|
43
43
|
A?.on("toComponent", (e) => {
|
|
44
44
|
e.componentName === "RadarChart" && L();
|
|
@@ -48,7 +48,7 @@ var g = {
|
|
|
48
48
|
await R();
|
|
49
49
|
}, R = async () => {
|
|
50
50
|
N.value = !0;
|
|
51
|
-
let
|
|
51
|
+
let t = await e({
|
|
52
52
|
appKey: j.appKey,
|
|
53
53
|
appSalt: j.appSalt,
|
|
54
54
|
id: j.ids.data.id,
|
|
@@ -57,8 +57,8 @@ var g = {
|
|
|
57
57
|
reqType: j.ids.data.reqType,
|
|
58
58
|
isFormData: j.ids.data.isFormData
|
|
59
59
|
});
|
|
60
|
-
N.value = !1, console.log(
|
|
61
|
-
let n =
|
|
60
|
+
N.value = !1, console.log(t, "雷达数据");
|
|
61
|
+
let n = t.data?.result?.output || [];
|
|
62
62
|
n && n.length > 0 && (P.value = n.map((e) => ({
|
|
63
63
|
...e,
|
|
64
64
|
areaName: e.area_name || e.areaName || "",
|
|
@@ -68,9 +68,9 @@ var g = {
|
|
|
68
68
|
}, z = () => {
|
|
69
69
|
M("close", "RadarChart");
|
|
70
70
|
};
|
|
71
|
-
return (
|
|
71
|
+
return (e, s) => {
|
|
72
72
|
let c = n;
|
|
73
|
-
return h((u(), a("div", g, [o("div", _, [o("div", v, [o("div", null, p(
|
|
73
|
+
return h((u(), a("div", g, [o("div", _, [o("div", v, [o("div", null, p(t.title), 1), o("div", {
|
|
74
74
|
class: "closeBtn",
|
|
75
75
|
onClick: z,
|
|
76
76
|
title: "关闭"
|
package/dist/chunks/{component-RadarLegend-rXlAb8lF.mjs → component-RadarLegend-CooXza3E.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { p as e } from "./component-Agent-Cm2BEfcV.mjs";
|
|
2
2
|
import { Fragment as t, createElementBlock as n, createElementVNode as r, defineComponent as i, getCurrentInstance as a, normalizeClass as o, normalizeStyle as s, onMounted as c, openBlock as l, ref as u, renderList as d, toDisplayString as f, vShow as p, withDirectives as m } from "vue";
|
|
3
3
|
//#region src/components/RadarLegend/RadarLegend.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var h = { class: "RadarLegend-colorList" }, g = { class: "valueText" }, _ = /* @__PURE__ */ e(/* @__PURE__ */ i({
|
package/dist/chunks/{component-RadarShortTerm-4RS7HYWc.mjs → component-RadarShortTerm-ev61YTDw.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
3
|
-
import { n } from "./component-HighWayEarlyWarningRed-
|
|
4
|
-
import { t as r } from "./component-RadarLegend-
|
|
1
|
+
import "./component-AqiMonitor-buvqeOgY.mjs";
|
|
2
|
+
import { g as e, p as t } from "./component-Agent-Cm2BEfcV.mjs";
|
|
3
|
+
import { n } from "./component-HighWayEarlyWarningRed-D5xK5D0V.mjs";
|
|
4
|
+
import { t as r } from "./component-RadarLegend-CooXza3E.mjs";
|
|
5
5
|
import { ElCheckbox as i, ElIcon as a, ElLoadingDirective as o } from "element-plus/es";
|
|
6
6
|
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as ee, createElementBlock as u, createElementVNode as d, createTextVNode as te, createVNode as f, defineComponent as p, nextTick as m, normalizeClass as h, normalizeStyle as g, onBeforeUnmount as ne, onMounted as re, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as x, vShow as S, watch as ie, withCtx as C, withDirectives as w } from "vue";
|
|
7
7
|
import { ArrowRight as T, VideoPause as ae, VideoPlay as oe } from "@element-plus/icons-vue";
|
|
@@ -22,7 +22,7 @@ var ce = {
|
|
|
22
22
|
}, Oe = ["onClick"], ke = {
|
|
23
23
|
key: 1,
|
|
24
24
|
class: "pile-empty"
|
|
25
|
-
}, Ae = { class: "RadarShortTerm-timeline" }, je = ["title"], Me = { class: "timeline-slider-wrap" }, Ne = { class: "timeline-time-label" }, Pe = { class: "radarAxis-li" }, Fe = ["onClick"], Ie = { class: "radarAxis-li-node-text" }, E = /* @__PURE__ */
|
|
25
|
+
}, Ae = { class: "RadarShortTerm-timeline" }, je = ["title"], Me = { class: "timeline-slider-wrap" }, Ne = { class: "timeline-time-label" }, Pe = { class: "radarAxis-li" }, Fe = ["onClick"], Ie = { class: "radarAxis-li-node-text" }, E = /* @__PURE__ */ t(/* @__PURE__ */ p({
|
|
26
26
|
__name: "RadarShortTerm",
|
|
27
27
|
props: {
|
|
28
28
|
appKey: {
|
|
@@ -57,8 +57,8 @@ var ce = {
|
|
|
57
57
|
"setImgAniShowByIndex",
|
|
58
58
|
"changeLoading"
|
|
59
59
|
],
|
|
60
|
-
setup(
|
|
61
|
-
let E =
|
|
60
|
+
setup(t, { emit: p }) {
|
|
61
|
+
let E = t, D = p, O = v(!0), k = v(!1), A = v(0), j = v(null), M = v([]), N = v({}), P = v({}), F = v({}), I = v(""), L = v(null), R = v(!0), z = v(null), B = v(null), V = v("chart"), H = v(!0), U = v(null), W = v({
|
|
62
62
|
httpurl: "",
|
|
63
63
|
lngStart: void 0,
|
|
64
64
|
latStart: void 0,
|
|
@@ -136,7 +136,7 @@ var ce = {
|
|
|
136
136
|
V.value = e, e === "chart" && (await m(), B.value?.resize());
|
|
137
137
|
}, J = async () => {
|
|
138
138
|
R.value = !0;
|
|
139
|
-
let
|
|
139
|
+
let t = await e({
|
|
140
140
|
appKey: E.appKey,
|
|
141
141
|
appSalt: E.appSalt,
|
|
142
142
|
id: E.ids.radar.id,
|
|
@@ -145,8 +145,8 @@ var ce = {
|
|
|
145
145
|
reqType: E.ids.radar.reqType,
|
|
146
146
|
isFormData: E.ids.radar.isFormData
|
|
147
147
|
});
|
|
148
|
-
console.log("雷达",
|
|
149
|
-
let n = await
|
|
148
|
+
console.log("雷达", t.data.result);
|
|
149
|
+
let n = await e({
|
|
150
150
|
appKey: E.appKey,
|
|
151
151
|
appSalt: E.appSalt,
|
|
152
152
|
id: E.ids.historyRadar.id,
|
|
@@ -156,7 +156,7 @@ var ce = {
|
|
|
156
156
|
isFormData: E.ids.historyRadar.isFormData
|
|
157
157
|
});
|
|
158
158
|
console.log("历史雷达", n.data.result), R.value = !1;
|
|
159
|
-
let r = Be(
|
|
159
|
+
let r = Be(t.data.result), i = Be(n.data.result);
|
|
160
160
|
W.value = {
|
|
161
161
|
httpurl: r.httpurl,
|
|
162
162
|
...r.extent
|
|
@@ -189,7 +189,7 @@ var ce = {
|
|
|
189
189
|
Ye(e), D("showRadarLegend", !0);
|
|
190
190
|
}, 1e3));
|
|
191
191
|
}, Re = async () => {
|
|
192
|
-
let
|
|
192
|
+
let t = await e({
|
|
193
193
|
appKey: E.appKey,
|
|
194
194
|
appSalt: E.appSalt,
|
|
195
195
|
id: E.ids.shortTerm.id,
|
|
@@ -198,7 +198,7 @@ var ce = {
|
|
|
198
198
|
reqType: E.ids.shortTerm.reqType,
|
|
199
199
|
isFormData: E.ids.shortTerm.isFormData
|
|
200
200
|
});
|
|
201
|
-
return console.log("短时预报",
|
|
201
|
+
return console.log("短时预报", t.data.result.ds), t.data.result.ds || [];
|
|
202
202
|
}, ze = (e) => {
|
|
203
203
|
let t = String(e || "").split(",").map((e) => Number(e.trim()));
|
|
204
204
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
1
|
+
import "./component-AqiMonitor-buvqeOgY.mjs";
|
|
2
|
+
import { g as e, p as t } from "./component-Agent-Cm2BEfcV.mjs";
|
|
3
3
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
4
4
|
import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, getCurrentInstance as l, normalizeClass as u, normalizeStyle as d, onMounted as f, onUnmounted as ee, openBlock as p, ref as m, renderList as h, toDisplayString as g, vShow as _, watch as te, withDirectives as v, withModifiers as y } from "vue";
|
|
5
5
|
//#region src/components/RadarTime/RadarTime.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -23,7 +23,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
23
23
|
height: "20",
|
|
24
24
|
viewBox: "0 0 24 24",
|
|
25
25
|
fill: "#fff"
|
|
26
|
-
}, Se = { class: "RadarTime__track-bg" }, Ce = { class: "RadarTime__track-content" }, we = ["onClick"], S = /* @__PURE__ */
|
|
26
|
+
}, Se = { class: "RadarTime__track-bg" }, Ce = { class: "RadarTime__track-content" }, we = ["onClick"], S = /* @__PURE__ */ t(/* @__PURE__ */ c({
|
|
27
27
|
__name: "RadarTime",
|
|
28
28
|
props: {
|
|
29
29
|
appKey: {
|
|
@@ -119,8 +119,8 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
119
119
|
"addPolygon",
|
|
120
120
|
"addMarker"
|
|
121
121
|
],
|
|
122
|
-
setup(
|
|
123
|
-
let S = l()?.appContext.config.globalProperties.$bus, C =
|
|
122
|
+
setup(t, { emit: c }) {
|
|
123
|
+
let S = l()?.appContext.config.globalProperties.$bus, C = t, w = c, T = m(!1), E = m(!1), D = m([]), O = m([]), k = m([]), A = m(0), j = m([]), M = m(null), N = m(!1), P = m(null), F = m(!1), I = m(null), L = m(0), R = i(() => O.value.map((e) => ({
|
|
124
124
|
time: e.radar_time,
|
|
125
125
|
displayTime: e.radar_time?.substring(11, 16) || "",
|
|
126
126
|
selectedTime: e.radar_time?.substring(0, 16) || ""
|
|
@@ -219,7 +219,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
219
219
|
}, 0);
|
|
220
220
|
}, Q = async () => {
|
|
221
221
|
T.value = !0;
|
|
222
|
-
let
|
|
222
|
+
let t = {
|
|
223
223
|
appKey: C.appKey,
|
|
224
224
|
appSalt: C.appSalt,
|
|
225
225
|
id: C.ids.data.id2,
|
|
@@ -237,7 +237,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
237
237
|
isFormData: C.ids.data.isFormData
|
|
238
238
|
};
|
|
239
239
|
try {
|
|
240
|
-
let n = (await t
|
|
240
|
+
let n = (await e(t)).data?.result?.output || "", r = JSON.parse(n)?.data || [];
|
|
241
241
|
console.log(r, "雷达实况数据(标准版)"), r && r.length > 0 && (r = r.reverse(), O.value = r.map((e) => {
|
|
242
242
|
let t = "";
|
|
243
243
|
if (e.imagePath) {
|
|
@@ -257,20 +257,20 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
257
257
|
} finally {
|
|
258
258
|
T.value = !1;
|
|
259
259
|
}
|
|
260
|
-
}, $ = async (
|
|
260
|
+
}, $ = async (t) => {
|
|
261
261
|
let n = {
|
|
262
262
|
appKey: C.appKey,
|
|
263
263
|
appSalt: C.appSalt,
|
|
264
264
|
id: C.ids.data.forecastId,
|
|
265
|
-
variables: { dateTime:
|
|
265
|
+
variables: { dateTime: t || O.value[O.value.length - 1]?.date_time || "" },
|
|
266
266
|
baseHttp: C.baseHttp,
|
|
267
267
|
reqType: C.ids.data.reqType,
|
|
268
268
|
isFormData: C.ids.data.isFormData
|
|
269
269
|
};
|
|
270
270
|
try {
|
|
271
|
-
let
|
|
272
|
-
console.log(
|
|
273
|
-
let r =
|
|
271
|
+
let t = await e(n);
|
|
272
|
+
console.log(t, "雷达外推数据");
|
|
273
|
+
let r = t.data?.result?.output || "", i = {};
|
|
274
274
|
try {
|
|
275
275
|
i = typeof r == "string" ? JSON.parse(r) : r;
|
|
276
276
|
} catch (e) {
|
|
@@ -303,7 +303,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
303
303
|
}), console.log(k.value, "forecastList 外推数据");
|
|
304
304
|
}, Le = async () => {
|
|
305
305
|
try {
|
|
306
|
-
let
|
|
306
|
+
let t = (await e({
|
|
307
307
|
appKey: C.appKey,
|
|
308
308
|
appSalt: C.appSalt,
|
|
309
309
|
id: C.ids.data.radarListId,
|
|
@@ -312,7 +312,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
312
312
|
reqType: C.ids.data.reqType,
|
|
313
313
|
isFormData: C.ids.data.isFormData
|
|
314
314
|
})).data?.result?.output || [];
|
|
315
|
-
|
|
315
|
+
t && t.length > 0 && (j.value = t, M.value = t[0], console.log(t, "雷达列表数据"));
|
|
316
316
|
} catch (e) {
|
|
317
317
|
console.error("获取雷达列表失败:", e);
|
|
318
318
|
}
|
|
@@ -446,9 +446,9 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
446
446
|
}, Ve = () => {
|
|
447
447
|
Y(), w("clearImg", "radarLayer"), w("close", "RadarTime");
|
|
448
448
|
};
|
|
449
|
-
return (
|
|
449
|
+
return (e, i) => {
|
|
450
450
|
let c = n;
|
|
451
|
-
return v((p(), o("div", b, [s("div", ne, [s("div", re, [
|
|
451
|
+
return v((p(), o("div", b, [s("div", ne, [s("div", re, [t.showCloseBtn ? (p(), o("div", {
|
|
452
452
|
key: 0,
|
|
453
453
|
class: "closeBtn",
|
|
454
454
|
onClick: Ve,
|
|
@@ -472,11 +472,11 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
472
472
|
onClick: (e) => Oe(t)
|
|
473
473
|
}, g(e.time), 11, le))), 128))])], 512), [[_, F.value]])], 512),
|
|
474
474
|
D.value.length > 0 && A.value >= 0 ? (p(), o("div", ue, [i[2] ||= s("span", { class: "RadarTime__node-label" }, "当前:", -1), s("span", de, g(D.value[A.value]?.time || "--:--"), 1)])) : a("", !0),
|
|
475
|
-
s("div", fe, [i[3] ||= s("span", { class: "RadarTime__legend-title" }, "图例", -1), s("div", pe, [(p(!0), o(r, null, h(
|
|
475
|
+
s("div", fe, [i[3] ||= s("span", { class: "RadarTime__legend-title" }, "图例", -1), s("div", pe, [(p(!0), o(r, null, h(t.legendData, (e, t) => (p(), o("div", {
|
|
476
476
|
key: t,
|
|
477
477
|
class: "RadarTime__legend-segment",
|
|
478
478
|
style: d({ backgroundColor: e.color })
|
|
479
|
-
}, null, 4))), 128)), s("div", x, [(p(!0), o(r, null, h(
|
|
479
|
+
}, null, 4))), 128)), s("div", x, [(p(!0), o(r, null, h(t.legendData, (e, t) => (p(), o("span", { key: t }, g(e.value), 1))), 128))])])])
|
|
480
480
|
]),
|
|
481
481
|
j.value.length > 0 ? (p(), o("div", me, [s("div", {
|
|
482
482
|
class: "RadarTime__station-dropdown",
|
package/dist/chunks/{component-RenderMarkdown-DO4bEFoj.mjs → component-RenderMarkdown-hrLIIwgE.mjs}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
1
|
+
import "./component-AqiMonitor-buvqeOgY.mjs";
|
|
2
|
+
import { g as e, p as t } from "./component-Agent-Cm2BEfcV.mjs";
|
|
3
3
|
import { createCommentVNode as n, createElementBlock as r, createElementVNode as i, defineComponent as a, onBeforeUnmount as o, onMounted as s, openBlock as c, ref as l, toDisplayString as u } from "vue";
|
|
4
4
|
//#region src/components/RenderMarkdown/RenderMarkdown.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var d = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "RenderMarkdown"
|
|
8
|
-
}, f = { class: "RenderMarkdown-head" }, p = { class: "RenderMarkdown-head-top" }, m = { class: "duty-section" }, h = ["innerHTML"], g = /* @__PURE__ */
|
|
8
|
+
}, f = { class: "RenderMarkdown-head" }, p = { class: "RenderMarkdown-head-top" }, m = { class: "duty-section" }, h = ["innerHTML"], g = /* @__PURE__ */ t(/* @__PURE__ */ a({
|
|
9
9
|
__name: "RenderMarkdown",
|
|
10
10
|
props: {
|
|
11
11
|
appKey: {
|
|
@@ -30,8 +30,8 @@ var d = {
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
emits: ["close"],
|
|
33
|
-
setup(
|
|
34
|
-
let g =
|
|
33
|
+
setup(t, { emit: a }) {
|
|
34
|
+
let g = t, _ = a, v = l({}), y = l(null), b = async () => {
|
|
35
35
|
await x();
|
|
36
36
|
};
|
|
37
37
|
s(() => {
|
|
@@ -42,7 +42,7 @@ var d = {
|
|
|
42
42
|
y.value &&= (clearInterval(y.value), null);
|
|
43
43
|
});
|
|
44
44
|
let x = async () => {
|
|
45
|
-
v.value = (await
|
|
45
|
+
v.value = (await e({
|
|
46
46
|
appKey: g.appKey,
|
|
47
47
|
appSalt: g.appSalt,
|
|
48
48
|
id: g.ids.data.id,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
3
|
-
import { n } from "./component-GeologyLiveAlarm-
|
|
1
|
+
import "./component-AqiMonitor-buvqeOgY.mjs";
|
|
2
|
+
import { g as e, p as t } from "./component-Agent-Cm2BEfcV.mjs";
|
|
3
|
+
import { n } from "./component-GeologyLiveAlarm-Br4JKabm.mjs";
|
|
4
4
|
import { ElIcon as r, ElLoadingDirective as i, ElRadio as a, ElRadioGroup as o } from "element-plus/es";
|
|
5
5
|
import { Fragment as s, computed as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, mergeProps as ee, nextTick as h, normalizeClass as g, normalizeStyle as te, onBeforeUnmount as ne, onMounted as re, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as x, vShow as S, withCtx as C, withDirectives as w } from "vue";
|
|
6
6
|
import { ArrowRight as T } from "@element-plus/icons-vue";
|
|
@@ -33,7 +33,7 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAA
|
|
|
33
33
|
}, Fe = { class: "detail-popup-head" }, Ie = { class: "detail-popup-title" }, Le = { class: "detail-popup-row" }, Re = { class: "detail-popup-row" }, ze = { class: "detail-popup-row" }, Be = { class: "detail-popup-row" }, Ve = { class: "detail-popup-row" }, He = { class: "detail-popup-row" }, Ue = { key: 0 }, We = {
|
|
34
34
|
key: 0,
|
|
35
35
|
style: { "margin-right": "10px" }
|
|
36
|
-
}, Ge = { key: 1 }, Ke = { key: 1 }, E = "当前暂无报警", D = /* @__PURE__ */
|
|
36
|
+
}, Ge = { key: 1 }, Ke = { key: 1 }, E = "当前暂无报警", D = /* @__PURE__ */ t(/* @__PURE__ */ m({
|
|
37
37
|
inheritAttrs: !1,
|
|
38
38
|
__name: "ReservoirLiveAlarm",
|
|
39
39
|
props: {
|
|
@@ -62,8 +62,8 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAA
|
|
|
62
62
|
"removeDataTitle",
|
|
63
63
|
"toMapView"
|
|
64
64
|
],
|
|
65
|
-
setup(
|
|
66
|
-
let D =
|
|
65
|
+
setup(t, { emit: m }) {
|
|
66
|
+
let D = t, O = m, qe = v([]), k = v(""), A = v(!1), j = v(null), M = v(null), N = v("table"), P = v("1h降水"), F = v(!1), I = v(!1), L = v({}), R = v("水库点观测时间:--"), z = v([]), B = v({}), V = v({}), H = null, Je = c(() => k.value === E ? "#52c41a" : "#ff4d4f"), U = (e) => (e || []).filter((e) => X(e)).length, W = () => H || (H = new Audio(n), H.preload = "auto", H), Ye = () => new Promise((e) => {
|
|
67
67
|
let t = W();
|
|
68
68
|
t.volume = 0, t.currentTime = 0;
|
|
69
69
|
let n = t.play();
|
|
@@ -100,7 +100,7 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAA
|
|
|
100
100
|
});
|
|
101
101
|
let K = async () => {
|
|
102
102
|
A.value = !0;
|
|
103
|
-
let
|
|
103
|
+
let t = await e({
|
|
104
104
|
appKey: D.appKey,
|
|
105
105
|
appSalt: D.appSalt,
|
|
106
106
|
id: D.ids.data.id,
|
|
@@ -110,7 +110,7 @@ var ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAA
|
|
|
110
110
|
isFormData: D.ids.data.isFormData
|
|
111
111
|
});
|
|
112
112
|
A.value = !1;
|
|
113
|
-
let n =
|
|
113
|
+
let n = t.data.result.ds;
|
|
114
114
|
console.log("得到数据", JSON.parse(JSON.stringify(n))), qe.value = n;
|
|
115
115
|
let r = R.value, i = $e(n);
|
|
116
116
|
R.value = i, O("removeDataTitle", r), setTimeout(() => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
1
|
+
import "./component-AqiMonitor-buvqeOgY.mjs";
|
|
2
|
+
import { g as e, p as t } from "./component-Agent-Cm2BEfcV.mjs";
|
|
3
3
|
import { Fragment as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, getCurrentInstance as s, onMounted as c, openBlock as l, ref as u, renderList as d, toDisplayString as f, withModifiers as p } from "vue";
|
|
4
4
|
//#region src/components/ServiceMaterial/ServiceMaterial.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g = { class: "ServiceMaterial__head-top" }, _ = { class: "ServiceMaterial__body" }, v = { class: "ServiceMaterial__list" }, y = { class: "ServiceMaterial__list-container" }, b = { class: "ServiceMaterial__list-content" }, x = { class: "ServiceMaterial__list-col ServiceMaterial__list-col--name" }, S = ["title"], C = { class: "ServiceMaterial__list-col ServiceMaterial__list-col--time" }, w = { class: "ServiceMaterial__list-col ServiceMaterial__list-col--action" }, T = ["onClick"], E = ["onClick"], D = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "ServiceMaterial__empty"
|
|
8
|
-
}, O = { class: "ServiceMaterial__list-footer" }, k = { class: "ServiceMaterial__total" }, A = /* @__PURE__ */
|
|
8
|
+
}, O = { class: "ServiceMaterial__list-footer" }, k = { class: "ServiceMaterial__total" }, A = /* @__PURE__ */ t(/* @__PURE__ */ o({
|
|
9
9
|
__name: "ServiceMaterial",
|
|
10
10
|
props: {
|
|
11
11
|
appKey: {
|
|
@@ -34,8 +34,8 @@ var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g
|
|
|
34
34
|
"preview",
|
|
35
35
|
"download"
|
|
36
36
|
],
|
|
37
|
-
setup(
|
|
38
|
-
let A = s()?.appContext.config.globalProperties.$bus, j =
|
|
37
|
+
setup(t, { emit: o }) {
|
|
38
|
+
let A = s()?.appContext.config.globalProperties.$bus, j = t, M = o, N = u(!1), P = u([]);
|
|
39
39
|
c(() => {
|
|
40
40
|
A?.on("toComponent", (e) => {
|
|
41
41
|
e.componentName === "ServiceMaterial" && F();
|
|
@@ -47,7 +47,7 @@ var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g
|
|
|
47
47
|
if (j.ids.data?.id) {
|
|
48
48
|
N.value = !0;
|
|
49
49
|
try {
|
|
50
|
-
let
|
|
50
|
+
let t = await e({
|
|
51
51
|
appKey: j.appKey,
|
|
52
52
|
appSalt: j.appSalt,
|
|
53
53
|
id: j.ids.data.id,
|
|
@@ -56,8 +56,8 @@ var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g
|
|
|
56
56
|
reqType: j.ids.data.reqType,
|
|
57
57
|
isFormData: j.ids.data.isFormData
|
|
58
58
|
});
|
|
59
|
-
console.log(
|
|
60
|
-
let n =
|
|
59
|
+
console.log(t, "服务材料数据");
|
|
60
|
+
let n = t.data?.result?.output || [];
|
|
61
61
|
Array.isArray(n) && n.length > 0 && (P.value = n.map((e) => ({
|
|
62
62
|
id: e.id || e.file_id,
|
|
63
63
|
name: e.name || e.file_name || e.title || "",
|
|
@@ -80,7 +80,7 @@ var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g
|
|
|
80
80
|
}, B = () => {
|
|
81
81
|
M("close", "ServiceMaterial");
|
|
82
82
|
};
|
|
83
|
-
return (
|
|
83
|
+
return (e, o) => (l(), i("div", m, [a("div", h, [a("div", g, [a("div", null, f(t.title), 1), a("div", {
|
|
84
84
|
class: "closeBtn",
|
|
85
85
|
onClick: B,
|
|
86
86
|
title: "关闭"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
1
|
+
import "./component-AqiMonitor-buvqeOgY.mjs";
|
|
2
|
+
import { p as e } from "./component-Agent-Cm2BEfcV.mjs";
|
|
3
3
|
import { ElButton as t, ElDialog as n } from "element-plus/es";
|
|
4
4
|
import { Fragment as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, defineComponent as c, isRef as l, onBeforeUnmount as u, onMounted as d, openBlock as f, ref as p, unref as m, withCtx as h } from "vue";
|
|
5
5
|
import "element-plus/es/components/dialog/style/css";
|
package/dist/chunks/{component-StationDialog-NhNr3lY1.mjs → component-StationDialog-XTeGI3qA.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { _ as r, a as i, c as a, d as o, f as s, g as c, h as ee, i as te, l as ne, m as re, n as ie, o as ae, p as oe, r as se, s as ce, u as le, v as ue, y as de } from "./component-Forecast72h-
|
|
4
|
-
import { i as l, n as u } from "./component-HdFarmStationDialog-
|
|
2
|
+
import { g as t, p as n } from "./component-Agent-Cm2BEfcV.mjs";
|
|
3
|
+
import { _ as r, a as i, c as a, d as o, f as s, g as c, h as ee, i as te, l as ne, m as re, n as ie, o as ae, p as oe, r as se, s as ce, u as le, v as ue, y as de } from "./component-Forecast72h-CU8p9veB.mjs";
|
|
4
|
+
import { i as l, n as u } from "./component-HdFarmStationDialog-jR-LBbQP.mjs";
|
|
5
5
|
import { ElConfigProvider as fe, ElDatePicker as pe, ElIcon as me, ElLoadingDirective as he, ElTable as ge, ElTableColumn as _e } from "element-plus/es";
|
|
6
6
|
import { Fragment as d, Teleport as ve, createBlock as ye, createCommentVNode as be, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, getCurrentInstance as xe, nextTick as _, normalizeClass as v, normalizeStyle as Se, onBeforeUnmount as Ce, onMounted as we, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, vShow as Te, watch as Ee, withCtx as w, withDirectives as De } from "vue";
|
|
7
7
|
import { Close as Oe, Download as ke, Histogram as Ae } from "@element-plus/icons-vue";
|
|
@@ -34,7 +34,7 @@ var Me = /* @__PURE__ */ e(u()), Ne = {
|
|
|
34
34
|
}, At = { class: "StationPop-historyPopup" }, jt = { class: "StationPop-historyHeader" }, Mt = { class: "StationPop-historyTitle" }, Nt = { class: "StationPop-historySubTitle" }, Pt = {
|
|
35
35
|
class: "StationPop-historyTabs",
|
|
36
36
|
style: { position: "relative" }
|
|
37
|
-
}, Ft = ["onClick"], It = { class: "StationPop-historyActions" }, Lt = { class: "StationPop-historyTableWrap" }, E = /* @__PURE__ */
|
|
37
|
+
}, Ft = ["onClick"], It = { class: "StationPop-historyActions" }, Lt = { class: "StationPop-historyTableWrap" }, E = /* @__PURE__ */ n(/* @__PURE__ */ g({
|
|
38
38
|
__name: "StationDialog",
|
|
39
39
|
props: {
|
|
40
40
|
componentStyle: { default: () => ({}) },
|
|
@@ -51,7 +51,7 @@ var Me = /* @__PURE__ */ e(u()), Ne = {
|
|
|
51
51
|
mockData: { default: () => ({}) }
|
|
52
52
|
},
|
|
53
53
|
setup(e) {
|
|
54
|
-
let
|
|
54
|
+
let n = /* @__PURE__ */ Object.assign({
|
|
55
55
|
"../../assets/img/hd/wind/wind-0.png": de,
|
|
56
56
|
"../../assets/img/hd/wind/wind-1.png": ue,
|
|
57
57
|
"../../assets/img/hd/wind/wind-10.png": r,
|
|
@@ -70,7 +70,7 @@ var Me = /* @__PURE__ */ e(u()), Ne = {
|
|
|
70
70
|
"../../assets/img/hd/wind/wind-7.png": te,
|
|
71
71
|
"../../assets/img/hd/wind/wind-8.png": se,
|
|
72
72
|
"../../assets/img/hd/wind/wind-9.png": ie
|
|
73
|
-
}), u = (e) =>
|
|
73
|
+
}), u = (e) => n[`../../assets/img/hd/wind/wind-${Math.max(0, Math.min(17, e))}.png`] || "", g = (e) => {
|
|
74
74
|
let t = [
|
|
75
75
|
.3,
|
|
76
76
|
1.6,
|
|
@@ -139,17 +139,17 @@ var Me = /* @__PURE__ */ e(u()), Ne = {
|
|
|
139
139
|
}, K = (e) => {
|
|
140
140
|
let t = O.ids[e] || O.ids.data;
|
|
141
141
|
return t?.id ? t : null;
|
|
142
|
-
}, q = async (e,
|
|
142
|
+
}, q = async (e, n = {}) => {
|
|
143
143
|
let r = K(e);
|
|
144
144
|
if (!r) throw Error(`缺少 ${e} 对应的工作流配置`);
|
|
145
|
-
return await
|
|
145
|
+
return await t({
|
|
146
146
|
id: r.id,
|
|
147
147
|
baseHttp: O.baseHttp,
|
|
148
148
|
reqType: r.reqType,
|
|
149
149
|
variables: {
|
|
150
150
|
stationCode: O.stationCode,
|
|
151
151
|
stationIdC: k.value,
|
|
152
|
-
...
|
|
152
|
+
...n
|
|
153
153
|
},
|
|
154
154
|
isFormData: r.isFormData,
|
|
155
155
|
appKey: O.appKey,
|