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
package/dist/chunks/{component-StationList-CSU1nUgF.mjs → component-StationList-rrmZM7q1.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 { i as r, n as i } from "./component-HdFarmStationDialog-
|
|
2
|
+
import { g as t, p as n } from "./component-Agent-Cm2BEfcV.mjs";
|
|
3
|
+
import "./component-Forecast72h-CU8p9veB.mjs";
|
|
4
|
+
import { i as r, n as i } from "./component-HdFarmStationDialog-jR-LBbQP.mjs";
|
|
5
5
|
import { ElConfigProvider as a, ElDatePicker as o, ElIcon as s, ElLoadingDirective as c, ElTable as l, ElTableColumn as u } from "element-plus/es";
|
|
6
6
|
import { computed as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineComponent as g, getCurrentInstance as _, normalizeClass as v, onBeforeUnmount as y, onMounted as b, openBlock as x, ref as S, toDisplayString as C, unref as w, withCtx as T, withDirectives as ee } from "vue";
|
|
7
7
|
import { Download as E, RefreshRight as D } from "@element-plus/icons-vue";
|
|
@@ -15,7 +15,7 @@ var te = /* @__PURE__ */ e(i()), ne = {
|
|
|
15
15
|
}, re = { class: "StationList-header" }, A = { class: "StationList-headerContent" }, j = { class: "StationList-title" }, M = {
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "StationList-dataTime"
|
|
18
|
-
}, N = { class: "StationList-toolbar" }, P = { class: "StationList-timeWrap" }, F = { class: "StationList-actions" }, I = { class: "StationList-content" }, L = { class: "StationList-tableWrap" }, R = /* @__PURE__ */
|
|
18
|
+
}, N = { class: "StationList-toolbar" }, P = { class: "StationList-timeWrap" }, F = { class: "StationList-actions" }, I = { class: "StationList-content" }, L = { class: "StationList-tableWrap" }, R = /* @__PURE__ */ n(/* @__PURE__ */ g({
|
|
19
19
|
__name: "StationList",
|
|
20
20
|
props: {
|
|
21
21
|
mock: {
|
|
@@ -43,8 +43,8 @@ var te = /* @__PURE__ */ e(i()), ne = {
|
|
|
43
43
|
}) }
|
|
44
44
|
},
|
|
45
45
|
emits: ["close", "rowClick"],
|
|
46
|
-
setup(e, { emit:
|
|
47
|
-
let i = _()?.appContext.config.globalProperties.$bus, g = e, R =
|
|
46
|
+
setup(e, { emit: n }) {
|
|
47
|
+
let i = _()?.appContext.config.globalProperties.$bus, g = e, R = n, z = S(!1), B = S(!1), V = S(""), H = S(""), U = S([]), W = S(""), G = S("asc"), K = null, q = d(() => {
|
|
48
48
|
let e = [...U.value];
|
|
49
49
|
return W.value && e.sort((e, t) => {
|
|
50
50
|
let n = Number(e[W.value]) || 0, r = Number(t[W.value]) || 0;
|
|
@@ -70,7 +70,7 @@ var te = /* @__PURE__ */ e(i()), ne = {
|
|
|
70
70
|
console.log(e, "data"), U.value = e.list || [], H.value = e.dataTime || "";
|
|
71
71
|
}, Z = async () => {
|
|
72
72
|
try {
|
|
73
|
-
let e = await
|
|
73
|
+
let e = await t({
|
|
74
74
|
id: g.ids.data.id,
|
|
75
75
|
baseHttp: g.baseHttp,
|
|
76
76
|
reqType: g.ids.data.reqType,
|
|
@@ -80,8 +80,8 @@ var te = /* @__PURE__ */ e(i()), ne = {
|
|
|
80
80
|
appSalt: g.appSalt
|
|
81
81
|
});
|
|
82
82
|
console.log(e, "stationList自动站列表");
|
|
83
|
-
let
|
|
84
|
-
console.log(
|
|
83
|
+
let n = se(e);
|
|
84
|
+
console.log(n, "output"), n && (U.value = Array.isArray(n) ? n.map((e) => (e.windDirectionText = r(e.win_d_inst_max), e)) : [], H.value = n.dataTime || "");
|
|
85
85
|
} catch (e) {
|
|
86
86
|
console.error("StationList 数据加载失败", e);
|
|
87
87
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
3
|
-
import { $ as n, A as r, B as i, C as ee, D as a, E as o, F as s, G as c, H as l, I as u, J as d, K as f, L as p, M as m, N as te, O as ne, P as re, Q as ie, R as ae, S as oe, T as se, U as ce, V as le, W as ue, X as h, Y as g, Z as _, j as de, k as fe, q as pe, w as me, x as he, z as ge } from "./component-Forecast72h-
|
|
4
|
-
import { n as v } from "./component-LithiumBatteryMiningArea-
|
|
1
|
+
import "./component-AqiMonitor-buvqeOgY.mjs";
|
|
2
|
+
import { g as e, p as t } from "./component-Agent-Cm2BEfcV.mjs";
|
|
3
|
+
import { $ as n, A as r, B as i, C as ee, D as a, E as o, F as s, G as c, H as l, I as u, J as d, K as f, L as p, M as m, N as te, O as ne, P as re, Q as ie, R as ae, S as oe, T as se, U as ce, V as le, W as ue, X as h, Y as g, Z as _, j as de, k as fe, q as pe, w as me, x as he, z as ge } from "./component-Forecast72h-CU8p9veB.mjs";
|
|
4
|
+
import { n as v } from "./component-LithiumBatteryMiningArea-CWmowyvH.mjs";
|
|
5
5
|
import { ElLoadingDirective as y, ElOption as b, ElSelect as x } from "element-plus/es";
|
|
6
6
|
import { Fragment as S, createElementBlock as C, createElementVNode as w, createVNode as T, defineComponent as E, getCurrentInstance as D, nextTick as O, normalizeStyle as k, onBeforeUnmount as A, onMounted as j, openBlock as M, ref as N, renderList as P, toDisplayString as F, watch as I, withCtx as L, withDirectives as _e } from "vue";
|
|
7
7
|
import * as ve from "echarts";
|
|
@@ -11,7 +11,7 @@ import "element-plus/es/components/option/style/css";
|
|
|
11
11
|
var ye = {
|
|
12
12
|
class: "TimeBasedForecast",
|
|
13
13
|
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
14
|
-
}, be = { class: "TimeBasedForecast__meta" }, xe = { class: "TimeBasedForecast__control" }, R = { class: "TimeBasedForecast__time" }, Se = { class: "TimeBasedForecast__content" }, Ce = { class: "TimeBasedForecast__scroll" }, we = { class: "TimeBasedForecast__dates" }, Te = { class: "TimeBasedForecast__date" }, Ee = { class: "TimeBasedForecast__hour" }, De = { class: "TimeBasedForecast__chart" }, Oe = { class: "TimeBasedForecast__table" }, ke = { class: "TimeBasedForecast__row TimeBasedForecast__row--icon" }, Ae = ["src", "alt"], je = { class: "TimeBasedForecast__row" }, Me = { class: "TimeBasedForecast__row" }, Ne = { class: "TimeBasedForecast__row" }, Pe = 78, z = 112, B = /* @__PURE__ */
|
|
14
|
+
}, be = { class: "TimeBasedForecast__meta" }, xe = { class: "TimeBasedForecast__control" }, R = { class: "TimeBasedForecast__time" }, Se = { class: "TimeBasedForecast__content" }, Ce = { class: "TimeBasedForecast__scroll" }, we = { class: "TimeBasedForecast__dates" }, Te = { class: "TimeBasedForecast__date" }, Ee = { class: "TimeBasedForecast__hour" }, De = { class: "TimeBasedForecast__chart" }, Oe = { class: "TimeBasedForecast__table" }, ke = { class: "TimeBasedForecast__row TimeBasedForecast__row--icon" }, Ae = ["src", "alt"], je = { class: "TimeBasedForecast__row" }, Me = { class: "TimeBasedForecast__row" }, Ne = { class: "TimeBasedForecast__row" }, Pe = 78, z = 112, B = /* @__PURE__ */ t(/* @__PURE__ */ E({
|
|
15
15
|
__name: "TimeBasedForecast",
|
|
16
16
|
props: {
|
|
17
17
|
appKey: {
|
|
@@ -32,8 +32,8 @@ var ye = {
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
emits: ["close"],
|
|
35
|
-
setup(
|
|
36
|
-
let B = D()?.appContext.config.globalProperties.$bus, V =
|
|
35
|
+
setup(t, { emit: E }) {
|
|
36
|
+
let B = D()?.appContext.config.globalProperties.$bus, V = t, Fe = E, H = N(null), U = null, Ie = [
|
|
37
37
|
"24小时预报",
|
|
38
38
|
"48小时预报",
|
|
39
39
|
"72小时预报",
|
|
@@ -57,16 +57,16 @@ var ye = {
|
|
|
57
57
|
Fe("close", "TimeBasedForecast");
|
|
58
58
|
}, Z = async () => {
|
|
59
59
|
Y.value = !0;
|
|
60
|
-
let
|
|
60
|
+
let t = {
|
|
61
61
|
lon: X.value.longitude,
|
|
62
62
|
lat: X.value.latitude,
|
|
63
63
|
hours: Number(W.value.replace("小时预报", "")),
|
|
64
64
|
unit_id: "3"
|
|
65
|
-
}, y = await
|
|
65
|
+
}, y = await e({
|
|
66
66
|
appKey: V.appKey,
|
|
67
67
|
appSalt: V.appSalt,
|
|
68
68
|
id: V.ids.data.id,
|
|
69
|
-
variables: { str: v.encode(JSON.stringify(
|
|
69
|
+
variables: { str: v.encode(JSON.stringify(t)) },
|
|
70
70
|
baseHttp: V.baseHttp,
|
|
71
71
|
reqType: V.ids.data.reqType,
|
|
72
72
|
isFormData: V.ids.data.isFormData
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
1
|
+
import "./component-AqiMonitor-buvqeOgY.mjs";
|
|
2
|
+
import { h 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, createStaticVNode as s, createTextVNode as c, defineComponent as l, getCurrentInstance as u, normalizeClass as d, normalizeStyle as f, onBeforeUnmount as ee, onMounted as te, openBlock as p, reactive as m, ref as h, renderList as g, toDisplayString as _, unref as v, vModelCheckbox as y, vShow as b, withDirectives as x } from "vue";
|
|
5
5
|
import "element-plus/es/components/loading/style/css";
|
|
@@ -10,7 +10,7 @@ var ne = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAADICAMAAABI1lT0AAAA
|
|
|
10
10
|
}, S = { class: "Typhoon__head" }, ie = { class: "Typhoon__head-top" }, C = { class: "Typhoon__year" }, w = { class: "Typhoon__year-dropdown" }, T = ["onClick"], E = { class: "Typhoon__table-body" }, ae = { class: "Typhoon__col Typhoon__col--check" }, oe = ["onUpdate:modelValue", "onChange"], se = { class: "Typhoon__col Typhoon__col--name" }, ce = { class: "Typhoon__col Typhoon__col--ename" }, le = { class: "Typhoon__col Typhoon__col--num" }, ue = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "Typhoon__empty"
|
|
13
|
-
}, de = { class: "Typhoon__legend" }, fe = { class: "Typhoon__legend-list" }, D = /* @__PURE__ */
|
|
13
|
+
}, de = { class: "Typhoon__legend" }, fe = { class: "Typhoon__legend-list" }, D = /* @__PURE__ */ t(/* @__PURE__ */ l({
|
|
14
14
|
__name: "Typhoon",
|
|
15
15
|
props: { baseHttp: {
|
|
16
16
|
type: String,
|
|
@@ -26,7 +26,7 @@ var ne = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAADICAMAAABI1lT0AAAA
|
|
|
26
26
|
"removePolygon",
|
|
27
27
|
"toMapView"
|
|
28
28
|
],
|
|
29
|
-
setup(
|
|
29
|
+
setup(t, { emit: l }) {
|
|
30
30
|
let D = (e, t, n) => {
|
|
31
31
|
if (!n || n.ne === 0 && n.se === 0 && n.sw === 0 && n.nw === 0 || n.ne === null && n.se === null && n.sw === null && n.nw === null) return null;
|
|
32
32
|
let r = [];
|
|
@@ -63,7 +63,7 @@ var ne = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAADICAMAAABI1lT0AAAA
|
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
65
|
}), r.length > 0 && r.push(r[0]), r.length > 0 ? r : null;
|
|
66
|
-
}, O =
|
|
66
|
+
}, O = t, k = l, A = u()?.appContext.config.globalProperties.$bus, j = O.baseHttp + "/common/TyphoonStrong.json", M = O.baseHttp + "/common/TyphoonSets.json", N = O.baseHttp + "/common/TyphoonWarnLine.json", P = (/* @__PURE__ */ new Date()).getFullYear(), F = h(!0), I = h(P), L = Array.from({ length: P - 1945 + 1 }, (e, t) => P - t), R = h(!1), z = h([]), B = h([]), V = h({}), H = m({}), U = m({}), W = m({}), G = null;
|
|
67
67
|
te(() => {
|
|
68
68
|
pe(), document.addEventListener("click", q), document.addEventListener("click", Q), A?.on("mapOut", X);
|
|
69
69
|
}), ee(() => {
|
|
@@ -84,15 +84,15 @@ var ne = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAADICAMAAABI1lT0AAAA
|
|
|
84
84
|
}
|
|
85
85
|
}, me = async () => {
|
|
86
86
|
try {
|
|
87
|
-
let
|
|
88
|
-
B.value = Array.isArray(
|
|
87
|
+
let t = await e(j);
|
|
88
|
+
B.value = Array.isArray(t) ? t : [];
|
|
89
89
|
} catch (e) {
|
|
90
90
|
console.error("获取台风强度图例失败:", e), B.value = [];
|
|
91
91
|
}
|
|
92
92
|
}, he = async () => {
|
|
93
93
|
try {
|
|
94
|
-
let
|
|
95
|
-
(Array.isArray(
|
|
94
|
+
let t = await e(M), n = {};
|
|
95
|
+
(Array.isArray(t) ? t : []).forEach((e) => {
|
|
96
96
|
n[e.set] = `rgb(${e.color})`;
|
|
97
97
|
}), V.value = n;
|
|
98
98
|
} catch (e) {
|
|
@@ -100,7 +100,7 @@ var ne = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAADICAMAAABI1lT0AAAA
|
|
|
100
100
|
}
|
|
101
101
|
}, ge = async () => {
|
|
102
102
|
try {
|
|
103
|
-
let
|
|
103
|
+
let t = await e(N), n = Array.isArray(t?.line) ? t.line : [];
|
|
104
104
|
if (!n.length) return;
|
|
105
105
|
k("addLine", { mapLine: { lineArr: n.map((e) => ({
|
|
106
106
|
color: `rgb(${e.color})`,
|
|
@@ -137,8 +137,8 @@ var ne = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAADICAMAAABI1lT0AAAA
|
|
|
137
137
|
if (O.baseHttp) {
|
|
138
138
|
F.value = !0;
|
|
139
139
|
try {
|
|
140
|
-
let
|
|
141
|
-
z.value = (Array.isArray(
|
|
140
|
+
let t = await e(`${O.baseHttp}/${I.value}/${I.value}.json`);
|
|
141
|
+
z.value = (Array.isArray(t) ? t : []).map((e) => ({
|
|
142
142
|
...e,
|
|
143
143
|
checked: !!U[e.tfbh]
|
|
144
144
|
}));
|
|
@@ -156,12 +156,12 @@ var ne = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAADICAMAAABI1lT0AAAA
|
|
|
156
156
|
R.value = !1;
|
|
157
157
|
}, be = (e) => {
|
|
158
158
|
I.value = e, R.value = !1, K();
|
|
159
|
-
}, xe = (
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
}, xe = (t) => {
|
|
160
|
+
t.checked ? (U[t.tfbh] = !0, e(`${O.baseHttp}/${I.value}/${t.tfbh}.json`).then((e) => {
|
|
161
|
+
e && e.length > 0 && e[0].points && Se(t, e[0]);
|
|
162
162
|
}).catch((e) => {
|
|
163
163
|
console.error("获取台风数据失败:", e);
|
|
164
|
-
})) : (delete U[
|
|
164
|
+
})) : (delete U[t.tfbh], $(t.tfbh));
|
|
165
165
|
}, Se = (e, t) => {
|
|
166
166
|
let n = e.tfbh, r = t.points || [];
|
|
167
167
|
r.length && ($(n), H[n] = {
|
package/dist/chunks/{component-WarningLine-Biz0NEC8.mjs → component-WarningLine-gmXFFeUv.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { $ as t, A as n, B as r, C as ee, D as te, E as ne, F as re, G as ie, H as ae, I as oe, J as se, K as ce, L as le, M as ue, N as de, O as fe, P as pe, Q as me, R as he, S as ge, T as _e, U as ve, V as ye, W as be, X as xe, Y as Se, Z as Ce, _ as i, a, at as o, b as s, c, ct as l, d as u, dt as d, et as f, f as p, ft as m, g as h, h as g, i as _, it as v, j as y, k as b, l as x, lt as S, m as C, nt as w, o as T, ot as E, p as D, q as O, r as k, rt as A, s as we, st as Te, tt as Ee, u as De, ut as Oe, v as ke, w as Ae, x as je, y as Me, z as j } from "./component-HighWayEarlyWarningRed-
|
|
1
|
+
import { g as e } from "./component-Agent-Cm2BEfcV.mjs";
|
|
2
|
+
import { $ as t, A as n, B as r, C as ee, D as te, E as ne, F as re, G as ie, H as ae, I as oe, J as se, K as ce, L as le, M as ue, N as de, O as fe, P as pe, Q as me, R as he, S as ge, T as _e, U as ve, V as ye, W as be, X as xe, Y as Se, Z as Ce, _ as i, a, at as o, b as s, c, ct as l, d as u, dt as d, et as f, f as p, ft as m, g as h, h as g, i as _, it as v, j as y, k as b, l as x, lt as S, m as C, nt as w, o as T, ot as E, p as D, q as O, r as k, rt as A, s as we, st as Te, tt as Ee, u as De, ut as Oe, v as ke, w as Ae, x as je, y as Me, z as j } from "./component-HighWayEarlyWarningRed-D5xK5D0V.mjs";
|
|
3
3
|
import { Fragment as M, Transition as N, computed as P, createCommentVNode as F, createElementBlock as I, createElementVNode as L, createVNode as Ne, defineComponent as R, getCurrentInstance as Pe, normalizeStyle as Fe, onMounted as Ie, onUnmounted as Le, openBlock as z, ref as B, renderList as Re, toDisplayString as V, watch as ze, withCtx as Be } from "vue";
|
|
4
4
|
//#region src/components/WarningLine/WarningLine.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var Ve = { class: "WarningLine__content" }, He = { class: "WarningLine__scroll-container" }, Ue = ["src"], We = { class: "WarningLine__text" }, Ge = {
|
package/dist/chunks/{component-WarningSignal-D5ux6LCy.mjs → component-WarningSignal-CjQjyTr4.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
3
|
-
import { $ as n, A as r, B as i, C as a, D as o, E as s, F as c, G as l, H as u, I as d, J as f, K as p, L as m, M as h, N as ee, O as te, P as ne, Q as re, R as ie, S as ae, T as oe, U as se, V as ce, W as le, X as ue, Y as de, Z as fe, _ as pe, a as me, at as he, b as ge, c as _e, ct as ve, d as ye, dt as be, et as xe, f as Se, ft as Ce, g as we, h as Te, i as Ee, it as g, j as _, k as v, l as y, lt as b, m as x, n as S, nt as C, o as w, ot as T, p as E, q as D, r as De, rt as Oe, s as ke, st as Ae, tt as je, u as Me, ut as Ne, v as Pe, w as Fe, x as Ie, y as Le, z as Re } from "./component-HighWayEarlyWarningRed-
|
|
1
|
+
import "./component-AqiMonitor-buvqeOgY.mjs";
|
|
2
|
+
import { g as e, p as t } from "./component-Agent-Cm2BEfcV.mjs";
|
|
3
|
+
import { $ as n, A as r, B as i, C as a, D as o, E as s, F as c, G as l, H as u, I as d, J as f, K as p, L as m, M as h, N as ee, O as te, P as ne, Q as re, R as ie, S as ae, T as oe, U as se, V as ce, W as le, X as ue, Y as de, Z as fe, _ as pe, a as me, at as he, b as ge, c as _e, ct as ve, d as ye, dt as be, et as xe, f as Se, ft as Ce, g as we, h as Te, i as Ee, it as g, j as _, k as v, l as y, lt as b, m as x, n as S, nt as C, o as w, ot as T, p as E, q as D, r as De, rt as Oe, s as ke, st as Ae, tt as je, u as Me, ut as Ne, v as Pe, w as Fe, x as Ie, y as Le, z as Re } from "./component-HighWayEarlyWarningRed-D5xK5D0V.mjs";
|
|
4
4
|
import { ElLoadingDirective as O } from "element-plus/es";
|
|
5
5
|
import { Fragment as k, computed as A, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createStaticVNode as ze, createVNode as Be, defineComponent as P, getCurrentInstance as Ve, normalizeStyle as F, onBeforeUnmount as I, onMounted as He, openBlock as L, ref as R, renderList as Ue, toDisplayString as z, unref as B, vShow as We, watch as V, withDirectives as H, withModifiers as U } from "vue";
|
|
6
6
|
import "element-plus/es/components/loading/style/css";
|
|
@@ -8,7 +8,7 @@ import "element-plus/es/components/loading/style/css";
|
|
|
8
8
|
var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K = { class: "wrap-body" }, q = { class: "wrap-body-icon" }, J = ["src"], Y = { class: "wrap-body-explain" }, X = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "wrap-body-table"
|
|
11
|
-
}, Ge = /* @__PURE__ */
|
|
11
|
+
}, Ge = /* @__PURE__ */ t({
|
|
12
12
|
__name: "warnPop",
|
|
13
13
|
props: { warnPopData: {
|
|
14
14
|
type: Object,
|
|
@@ -96,7 +96,7 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
|
|
|
96
96
|
} }, rt = { style: {
|
|
97
97
|
width: "40px",
|
|
98
98
|
"text-align": "center"
|
|
99
|
-
} }, it = ["onClick"], at = { key: 0 }, Q = /* @__PURE__ */
|
|
99
|
+
} }, it = ["onClick"], at = { key: 0 }, Q = /* @__PURE__ */ t(/* @__PURE__ */ P({
|
|
100
100
|
__name: "WarningSignal",
|
|
101
101
|
props: {
|
|
102
102
|
appKey: {
|
|
@@ -134,8 +134,8 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
|
|
|
134
134
|
"view",
|
|
135
135
|
"changeMapView"
|
|
136
136
|
],
|
|
137
|
-
setup(
|
|
138
|
-
let A = Ve()?.appContext.config.globalProperties.$bus, P =
|
|
137
|
+
setup(t, { emit: S }) {
|
|
138
|
+
let A = Ve()?.appContext.config.globalProperties.$bus, P = t, F = S, I = R(!1), B = R([]), V = R(!1), W = R({}), G = {
|
|
139
139
|
大风: "big_wind",
|
|
140
140
|
暴雨: "rain_storm",
|
|
141
141
|
台风: "typhoon",
|
|
@@ -245,10 +245,10 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
|
|
|
245
245
|
await Y();
|
|
246
246
|
}, Y = async () => {
|
|
247
247
|
I.value = !0;
|
|
248
|
-
let
|
|
249
|
-
if (P.dataType === "static")
|
|
248
|
+
let t = [];
|
|
249
|
+
if (P.dataType === "static") t = P.staticData || [], console.log("预警信号使用静态数据:", t);
|
|
250
250
|
else {
|
|
251
|
-
let n = await
|
|
251
|
+
let n = await e({
|
|
252
252
|
appKey: P.appKey,
|
|
253
253
|
appSalt: P.appSalt,
|
|
254
254
|
id: P.ids.data.id,
|
|
@@ -257,10 +257,10 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
|
|
|
257
257
|
reqType: P.ids.data.reqType,
|
|
258
258
|
isFormData: P.ids.data.isFormData
|
|
259
259
|
});
|
|
260
|
-
console.log(n, "预警信号"),
|
|
260
|
+
console.log(n, "预警信号"), t = n.data?.result?.output || [];
|
|
261
261
|
}
|
|
262
|
-
if (I.value = !1,
|
|
263
|
-
B.value =
|
|
262
|
+
if (I.value = !1, t && t.length > 0) {
|
|
263
|
+
B.value = t.map((e) => {
|
|
264
264
|
let t = e.lat, n = e.lng || e.lon;
|
|
265
265
|
if (!t || !n) {
|
|
266
266
|
let e = (Math.random() - .5) * .8, r = (Math.random() - .5) * 1.2;
|
|
@@ -274,7 +274,7 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
|
|
|
274
274
|
lon: n
|
|
275
275
|
};
|
|
276
276
|
});
|
|
277
|
-
let
|
|
277
|
+
let e = { mapMarker: {
|
|
278
278
|
clickOpen: !0,
|
|
279
279
|
drawArrObj: [],
|
|
280
280
|
spotObject: [{
|
|
@@ -290,7 +290,7 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
|
|
|
290
290
|
}))
|
|
291
291
|
}]
|
|
292
292
|
} };
|
|
293
|
-
console.log("预警信号标记数据:",
|
|
293
|
+
console.log("预警信号标记数据:", e), console.log("spotArrone长度:", e.mapMarker.spotObject[0].spotArrone.length), console.log("第一个标记:", e.mapMarker.spotObject[0].spotArrone[0]), F("addMarker", e);
|
|
294
294
|
}
|
|
295
295
|
}, X = (e) => {
|
|
296
296
|
F("changeMapView", e);
|
|
@@ -397,10 +397,10 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
|
|
|
397
397
|
}
|
|
398
398
|
return t && n && $[t]?.[n] ? $[t][n] : null;
|
|
399
399
|
}
|
|
400
|
-
return (
|
|
400
|
+
return (e, n) => {
|
|
401
401
|
let r = O;
|
|
402
402
|
return H((L(), M("div", Ke, [
|
|
403
|
-
N("div", qe, [N("div", Je, [N("div", null, z(
|
|
403
|
+
N("div", qe, [N("div", Je, [N("div", null, z(t.title), 1), N("div", {
|
|
404
404
|
class: "closeBtn",
|
|
405
405
|
onClick: ot,
|
|
406
406
|
title: "关闭"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
3
|
-
import { $ as n, A as r, B as i, C as a, D as o, E as s, F as c, G as l, H as u, I as ee, J as te, K as ne, L as d, M as f, N as p, O as m, P as h, Q as g, R as _, S as v, T as re, U as ie, V as ae, W as oe, X as se, Y as ce, Z as le, j as y, k as b, q as x, w as S, x as C, z as w } from "./component-Forecast72h-
|
|
4
|
-
import { n as T } from "./component-LithiumBatteryMiningArea-
|
|
1
|
+
import "./component-AqiMonitor-buvqeOgY.mjs";
|
|
2
|
+
import { g as e, p as t } from "./component-Agent-Cm2BEfcV.mjs";
|
|
3
|
+
import { $ as n, A as r, B as i, C as a, D as o, E as s, F as c, G as l, H as u, I as ee, J as te, K as ne, L as d, M as f, N as p, O as m, P as h, Q as g, R as _, S as v, T as re, U as ie, V as ae, W as oe, X as se, Y as ce, Z as le, j as y, k as b, q as x, w as S, x as C, z as w } from "./component-Forecast72h-CU8p9veB.mjs";
|
|
4
|
+
import { n as T } from "./component-LithiumBatteryMiningArea-CWmowyvH.mjs";
|
|
5
5
|
import { ElLoadingDirective as E } from "element-plus/es";
|
|
6
6
|
import { Fragment as D, createCommentVNode as O, createElementBlock as k, createElementVNode as A, defineComponent as j, getCurrentInstance as M, normalizeClass as N, onMounted as P, openBlock as F, ref as I, renderList as L, toDisplayString as R, vShow as z, withDirectives as B } from "vue";
|
|
7
7
|
import "element-plus/es/components/loading/style/css";
|
|
@@ -15,7 +15,7 @@ var V = {
|
|
|
15
15
|
}, fe = { style: {
|
|
16
16
|
display: "flex",
|
|
17
17
|
"align-items": "center"
|
|
18
|
-
} }, pe = { class: "WeatherForecast__dropdown-wrapper" }, me = { class: "WeatherForecast__area-panel" }, he = ["onClick"], ge = { class: "WeatherForecast__wrap" }, _e = ["src", "alt"], W = /* @__PURE__ */
|
|
18
|
+
} }, pe = { class: "WeatherForecast__dropdown-wrapper" }, me = { class: "WeatherForecast__area-panel" }, he = ["onClick"], ge = { class: "WeatherForecast__wrap" }, _e = ["src", "alt"], W = /* @__PURE__ */ t(/* @__PURE__ */ j({
|
|
19
19
|
__name: "WeatherForecast",
|
|
20
20
|
props: {
|
|
21
21
|
appKey: {
|
|
@@ -44,8 +44,8 @@ var V = {
|
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
emits: ["close"],
|
|
47
|
-
setup(
|
|
48
|
-
let W = M()?.appContext.config.globalProperties.$bus, G =
|
|
47
|
+
setup(t, { emit: j }) {
|
|
48
|
+
let W = M()?.appContext.config.globalProperties.$bus, G = t, ve = j, K = I(!1), q = I([]), J = I({}), Y = I([]), X = I({}), Z = I(!1);
|
|
49
49
|
P(() => {
|
|
50
50
|
W?.on("toComponent", (e) => {
|
|
51
51
|
e.componentName === "WeatherForecast" && (J.value = e.data, Q());
|
|
@@ -56,7 +56,7 @@ var V = {
|
|
|
56
56
|
let Q = async () => {
|
|
57
57
|
G.showStationList && await ye(), await $();
|
|
58
58
|
}, ye = async () => {
|
|
59
|
-
Y.value = (await
|
|
59
|
+
Y.value = (await e({
|
|
60
60
|
appKey: G.appKey,
|
|
61
61
|
appSalt: G.appSalt,
|
|
62
62
|
id: G.ids.station.id,
|
|
@@ -73,25 +73,25 @@ var V = {
|
|
|
73
73
|
Z.value = !1, X.value?.stationid !== e.stationid && (X.value = e, K.value = !0, await $());
|
|
74
74
|
}, $ = async () => {
|
|
75
75
|
K.value = !0;
|
|
76
|
-
let
|
|
77
|
-
if (G.showStationList)
|
|
76
|
+
let t = {};
|
|
77
|
+
if (G.showStationList) t = {
|
|
78
78
|
stationid: X.value?.stationid || "58606",
|
|
79
79
|
days: 7,
|
|
80
80
|
includeToday: 1
|
|
81
81
|
};
|
|
82
82
|
else {
|
|
83
|
-
let
|
|
83
|
+
let e = {
|
|
84
84
|
lon: J.value.longitude,
|
|
85
85
|
lat: J.value.latitude,
|
|
86
86
|
hours: 168
|
|
87
87
|
};
|
|
88
|
-
|
|
88
|
+
t = { str: T.encode(JSON.stringify(e)) };
|
|
89
89
|
}
|
|
90
|
-
let E = await
|
|
90
|
+
let E = await e({
|
|
91
91
|
appKey: G.appKey,
|
|
92
92
|
appSalt: G.appSalt,
|
|
93
93
|
id: G.ids.data.id,
|
|
94
|
-
variables:
|
|
94
|
+
variables: t,
|
|
95
95
|
baseHttp: G.baseHttp,
|
|
96
96
|
reqType: G.ids.data.reqType,
|
|
97
97
|
isFormData: G.ids.data.isFormData
|
|
@@ -169,9 +169,9 @@ var V = {
|
|
|
169
169
|
};
|
|
170
170
|
});
|
|
171
171
|
};
|
|
172
|
-
return (
|
|
172
|
+
return (e, n) => {
|
|
173
173
|
let r = E;
|
|
174
|
-
return B((F(), k("div", V, [A("div", ue, [A("div", H, [A("div", null, R(
|
|
174
|
+
return B((F(), k("div", V, [A("div", ue, [A("div", H, [A("div", null, R(t.title), 1), A("div", {
|
|
175
175
|
class: "closeBtn",
|
|
176
176
|
onClick: be,
|
|
177
177
|
title: "关闭"
|
package/dist/chunks/{component-YCDataMonitor-Dumu7_mw.mjs → component-YCDataMonitor-CI7XRJ83.mjs}
RENAMED
|
@@ -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, ElInput as i, ElLoadingDirective as a } from "element-plus/es";
|
|
3
3
|
import { Fragment as o, Teleport as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, normalizeClass as g, onBeforeUnmount as _, onMounted as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as ee, withCtx as te, withDirectives as C } from "vue";
|
|
4
4
|
import { ElMessage as w } from "element-plus";
|
|
@@ -60,7 +60,7 @@ var re = {
|
|
|
60
60
|
key: 0,
|
|
61
61
|
class: "info-missing",
|
|
62
62
|
style: { "margin-top": "20px" }
|
|
63
|
-
}, Vt = { class: "missing-list url-list" }, Ht = ["title"], Ut = { class: "url-actions" }, Wt = ["onClick"], Gt = ["onClick"], k = /* @__PURE__ */
|
|
63
|
+
}, Vt = { class: "missing-list url-list" }, Ht = ["title"], Ut = { class: "url-actions" }, Wt = ["onClick"], Gt = ["onClick"], k = /* @__PURE__ */ t(/* @__PURE__ */ h({
|
|
64
64
|
__name: "YCDataMonitor",
|
|
65
65
|
props: {
|
|
66
66
|
appKey: {
|
|
@@ -84,8 +84,8 @@ var re = {
|
|
|
84
84
|
default: ""
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
|
-
setup(
|
|
88
|
-
let k =
|
|
87
|
+
setup(t, { expose: h }) {
|
|
88
|
+
let k = t, A = b(!1), j = b([]), M = b([]), N = [
|
|
89
89
|
{
|
|
90
90
|
key: "cnty",
|
|
91
91
|
label: "县名",
|
|
@@ -181,25 +181,25 @@ var re = {
|
|
|
181
181
|
type: "success",
|
|
182
182
|
customClass: "high-z-index-message"
|
|
183
183
|
});
|
|
184
|
-
}, Z = async (
|
|
184
|
+
}, Z = async (t) => {
|
|
185
185
|
let n = JSON.parse(JSON.stringify(H.value));
|
|
186
186
|
A.value = !0;
|
|
187
187
|
let r = {
|
|
188
|
-
dataType:
|
|
188
|
+
dataType: t,
|
|
189
189
|
stationIds: n.stationId,
|
|
190
190
|
missingTimes: "",
|
|
191
191
|
startDate: "",
|
|
192
192
|
endDate: ""
|
|
193
193
|
};
|
|
194
|
-
|
|
195
|
-
let i = await
|
|
194
|
+
t === "hourly" || n[t].missingTimes.length === 1 ? r.missingTimes = n[t].missingTimes.toString() : (r.startDate = n[t].missingTimes[0], r.endDate = n[t].missingTimes[n[t].missingTimes.length - 1]);
|
|
195
|
+
let i = await e({
|
|
196
196
|
appKey: k.appKey,
|
|
197
197
|
appSalt: k.appSalt,
|
|
198
198
|
id: k.ids.YCDataMonitor_getUrl.id,
|
|
199
199
|
variables: {
|
|
200
|
-
dataType:
|
|
200
|
+
dataType: t,
|
|
201
201
|
stationIds: n.stationId,
|
|
202
|
-
missingTimes: n[
|
|
202
|
+
missingTimes: n[t].missingTimes.toString(),
|
|
203
203
|
startDate: "",
|
|
204
204
|
endDate: ""
|
|
205
205
|
},
|
|
@@ -207,7 +207,7 @@ var re = {
|
|
|
207
207
|
reqType: k.ids.YCDataMonitor_getUrl.reqType,
|
|
208
208
|
isFormData: k.ids.YCDataMonitor_getUrl.isFormData
|
|
209
209
|
}), a = JSON.parse(i.data.result.output || "{}");
|
|
210
|
-
console.log("urlList", a.data.urls), a.data && a.data.urls && (H.value[
|
|
210
|
+
console.log("urlList", a.data.urls), a.data && a.data.urls && (H.value[t].missingUrls = a.data.urls), A.value = !1, $();
|
|
211
211
|
}, Q = (e) => {
|
|
212
212
|
G.value = e, W.value = null, K.value = [], U.value = !0;
|
|
213
213
|
}, Xt = async () => {
|
|
@@ -219,13 +219,13 @@ var re = {
|
|
|
219
219
|
return;
|
|
220
220
|
}
|
|
221
221
|
q.value = !0;
|
|
222
|
-
let
|
|
222
|
+
let t = H.value, n = {
|
|
223
223
|
appKey: k.appKey,
|
|
224
224
|
appSalt: k.appSalt,
|
|
225
225
|
id: k.ids.YCDataMonitor_getUrl.id,
|
|
226
226
|
variables: {
|
|
227
227
|
dataType: G.value,
|
|
228
|
-
stationIds:
|
|
228
|
+
stationIds: t.stationId,
|
|
229
229
|
missingTimes: "",
|
|
230
230
|
startDate: W.value[0],
|
|
231
231
|
endDate: W.value[1]
|
|
@@ -235,7 +235,7 @@ var re = {
|
|
|
235
235
|
isFormData: k.ids.YCDataMonitor_getUrl.isFormData
|
|
236
236
|
};
|
|
237
237
|
try {
|
|
238
|
-
let
|
|
238
|
+
let t = await e(n), r = JSON.parse(t.data.result.output || "{}");
|
|
239
239
|
r.data && r.data.urls ? K.value = r.data.urls : K.value = [];
|
|
240
240
|
} catch (e) {
|
|
241
241
|
console.error(e), w.error({
|
|
@@ -247,7 +247,7 @@ var re = {
|
|
|
247
247
|
}
|
|
248
248
|
}, $ = async () => {
|
|
249
249
|
console.log("查询日期", k.date), A.value = !0, j.value = [], M.value = [];
|
|
250
|
-
let
|
|
250
|
+
let t = await e({
|
|
251
251
|
appKey: k.appKey,
|
|
252
252
|
appSalt: k.appSalt,
|
|
253
253
|
id: k.ids.YCDataMonitor_data.id,
|
|
@@ -257,7 +257,7 @@ var re = {
|
|
|
257
257
|
isFormData: k.ids.YCDataMonitor_data.isFormData
|
|
258
258
|
});
|
|
259
259
|
A.value = !1;
|
|
260
|
-
let n = JSON.parse(
|
|
260
|
+
let n = JSON.parse(t.data.result.output || "{}").data || {};
|
|
261
261
|
console.log("list", n), j.value = n.nationalStations || [], M.value = n.regionalStations || [];
|
|
262
262
|
};
|
|
263
263
|
return h({ handleSearch: $ }), (e, t) => {
|
package/dist/chunks/{component-YCDataService-CibX3y21.mjs → component-YCDataService-DkIDLzWF.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as n } from "./component-HdFarmStationDialog-
|
|
3
|
-
import { t as r } from "./component-YCDataMonitor-
|
|
1
|
+
import { g as e, p as t } from "./component-Agent-Cm2BEfcV.mjs";
|
|
2
|
+
import { a as n } from "./component-HdFarmStationDialog-jR-LBbQP.mjs";
|
|
3
|
+
import { t as r } from "./component-YCDataMonitor-CI7XRJ83.mjs";
|
|
4
4
|
import { ElConfigProvider as i, ElDatePicker as a, ElInput as o, ElLoadingDirective as s } from "element-plus/es";
|
|
5
5
|
import { Fragment as c, computed as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, normalizeClass as g, onBeforeUnmount as _, onMounted as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, vShow as w, withCtx as T, withDirectives as E } from "vue";
|
|
6
6
|
import "element-plus/es/components/loading/style/css";
|
|
@@ -11,7 +11,7 @@ import "element-plus/es/components/date-picker/style/css";
|
|
|
11
11
|
var O = {
|
|
12
12
|
class: "YCRealTimeTable",
|
|
13
13
|
"element-loading-background": "rgba(0, 0, 0, 0.3)"
|
|
14
|
-
}, k = { class: "YCRealTimeTable-summary" }, A = { class: "summary-table" }, j = { class: "summary-head" }, ee = { class: "summary-body" }, te = { class: "summary-cell summary-cell-label" }, ne = { class: "YCRealTimeTable-toolbar" }, re = { class: "filter-group" }, M = { class: "YCRealTimeTable-detail" }, N = { class: "detail-table" }, P = { class: "detail-head" }, F = ["onClick"], I = { class: "detail-body" }, L = { class: "detail-cell detail-cell-index" }, R = { class: "detail-cell" }, z = { class: "detail-cell" }, B = { class: "detail-cell" }, V = { class: "detail-cell" }, H = { class: "detail-cell" }, U = { class: "detail-cell" }, W = { class: "detail-cell" }, G = { class: "detail-cell" }, K = /* @__PURE__ */
|
|
14
|
+
}, k = { class: "YCRealTimeTable-summary" }, A = { class: "summary-table" }, j = { class: "summary-head" }, ee = { class: "summary-body" }, te = { class: "summary-cell summary-cell-label" }, ne = { class: "YCRealTimeTable-toolbar" }, re = { class: "filter-group" }, M = { class: "YCRealTimeTable-detail" }, N = { class: "detail-table" }, P = { class: "detail-head" }, F = ["onClick"], I = { class: "detail-body" }, L = { class: "detail-cell detail-cell-index" }, R = { class: "detail-cell" }, z = { class: "detail-cell" }, B = { class: "detail-cell" }, V = { class: "detail-cell" }, H = { class: "detail-cell" }, U = { class: "detail-cell" }, W = { class: "detail-cell" }, G = { class: "detail-cell" }, K = /* @__PURE__ */ t(/* @__PURE__ */ h({
|
|
15
15
|
__name: "YCRealTimeTable",
|
|
16
16
|
props: {
|
|
17
17
|
appKey: {
|
|
@@ -31,8 +31,8 @@ var O = {
|
|
|
31
31
|
default: () => ({})
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
-
setup(
|
|
35
|
-
let r =
|
|
34
|
+
setup(t) {
|
|
35
|
+
let r = t, i = b(!1), a = b([]), h = [
|
|
36
36
|
"当前小时雨量(测试)",
|
|
37
37
|
"1小时雨量",
|
|
38
38
|
"3小时雨量",
|
|
@@ -151,7 +151,7 @@ var O = {
|
|
|
151
151
|
});
|
|
152
152
|
let Q = async () => {
|
|
153
153
|
i.value = !0;
|
|
154
|
-
let
|
|
154
|
+
let t = await e({
|
|
155
155
|
appKey: r.appKey,
|
|
156
156
|
appSalt: r.appSalt,
|
|
157
157
|
id: r.ids.YCRealTimeTable_data.id,
|
|
@@ -159,9 +159,9 @@ var O = {
|
|
|
159
159
|
baseHttp: r.baseHttp,
|
|
160
160
|
reqType: r.ids.YCRealTimeTable_data.reqType,
|
|
161
161
|
isFormData: r.ids.YCRealTimeTable_data.isFormData
|
|
162
|
-
}), o =
|
|
162
|
+
}), o = t.data.result.output || "{}", s = JSON.parse(o);
|
|
163
163
|
console.log("res_output", s.data);
|
|
164
|
-
let c =
|
|
164
|
+
let c = t.data.result.voltage || [], l = new Map(c.map((e) => [e.station_id, e])), { nationalStations: u, otherStations: d } = s.data || {
|
|
165
165
|
nationalStations: [],
|
|
166
166
|
otherStations: []
|
|
167
167
|
};
|
|
@@ -314,7 +314,7 @@ var O = {
|
|
|
314
314
|
}), [["__scopeId", "data-v-630ba040"]]), q = { class: "YCDataService" }, J = { class: "YCDataService-topbar" }, Y = { class: "page-switch" }, X = {
|
|
315
315
|
key: 0,
|
|
316
316
|
class: "YCDataService-filter"
|
|
317
|
-
}, Z = /* @__PURE__ */
|
|
317
|
+
}, Z = /* @__PURE__ */ t(/* @__PURE__ */ h({
|
|
318
318
|
__name: "YCDataService",
|
|
319
319
|
props: {
|
|
320
320
|
appKey: {
|
|
@@ -1,8 +1,8 @@
|
|
|
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 { createElementBlock as n, createElementVNode as r, createTextVNode 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/YCHighWaySummary/YCHighWaySummary.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var d = { class: "YCHighWaySummary" }, f = { class: "YCHighWaySummary__body" }, p = { class: "YCHighWaySummary__section" }, m = { class: "YCHighWaySummary__section" }, h = /* @__PURE__ */
|
|
5
|
+
var d = { class: "YCHighWaySummary" }, f = { class: "YCHighWaySummary__body" }, p = { class: "YCHighWaySummary__section" }, m = { class: "YCHighWaySummary__section" }, h = /* @__PURE__ */ t(/* @__PURE__ */ a({
|
|
6
6
|
__name: "YCHighWaySummary",
|
|
7
7
|
props: {
|
|
8
8
|
appKey: {
|
|
@@ -22,8 +22,8 @@ var d = { class: "YCHighWaySummary" }, f = { class: "YCHighWaySummary__body" },
|
|
|
22
22
|
default: () => ({})
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
|
-
setup(
|
|
26
|
-
let h = a, g =
|
|
25
|
+
setup(t, { emit: a }) {
|
|
26
|
+
let h = a, g = t, _ = l(""), v = l(""), y = l(null);
|
|
27
27
|
s(() => {
|
|
28
28
|
b(), y.value = setInterval(() => {
|
|
29
29
|
b();
|
|
@@ -32,7 +32,7 @@ var d = { class: "YCHighWaySummary" }, f = { class: "YCHighWaySummary__body" },
|
|
|
32
32
|
y.value &&= (clearInterval(y.value), null);
|
|
33
33
|
});
|
|
34
34
|
let b = async () => {
|
|
35
|
-
_.value = (await
|
|
35
|
+
_.value = (await e({
|
|
36
36
|
appKey: g.appKey,
|
|
37
37
|
appSalt: g.appSalt,
|
|
38
38
|
id: g.ids.realtime.id,
|
|
@@ -40,7 +40,7 @@ var d = { class: "YCHighWaySummary" }, f = { class: "YCHighWaySummary__body" },
|
|
|
40
40
|
baseHttp: g.baseHttp,
|
|
41
41
|
reqType: g.ids.realtime.reqType,
|
|
42
42
|
isFormData: g.ids.realtime.isFormData
|
|
43
|
-
})).data?.result?.analyzeData || "", v.value = (await
|
|
43
|
+
})).data?.result?.analyzeData || "", v.value = (await e({
|
|
44
44
|
appKey: g.appKey,
|
|
45
45
|
appSalt: g.appSalt,
|
|
46
46
|
id: g.ids.forecast.id,
|