nxd-plugin 1.8.30 → 1.8.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/YCServiceSummary-DV3m13Hv.mjs +2 -0
- package/dist/chunks/component-Agent-Cm4CMOGO.mjs +383 -0
- package/dist/chunks/{component-AiChat-COULZNRK.mjs → component-AiChat-HpEVNeXU.mjs} +1082 -1105
- package/dist/chunks/{component-AqiMonitor-C9khnF2x.mjs → component-AqiMonitor-CQB7tv42.mjs} +10 -9
- package/dist/chunks/{component-ChartCumulativePre-CmcRqyrN.mjs → component-ChartCumulativePre-UGMGIaSD.mjs} +8 -7
- package/dist/chunks/{component-ChartServiceMaterial-FwkbU2Z-.mjs → component-ChartServiceMaterial-DYZnc6HE.mjs} +7 -6
- package/dist/chunks/{component-Duty-DhQkYGMU.mjs → component-Duty-CvJFScnU.mjs} +7 -6
- package/dist/chunks/{component-EarlyWarningStatistic-DUjk3de9.mjs → component-EarlyWarningStatistic-D2eRD1Y0.mjs} +7 -6
- package/dist/chunks/{component-EarlyWarningStatistic2-kHvwn4zP.mjs → component-EarlyWarningStatistic2-Duf6s5TU.mjs} +16 -15
- package/dist/chunks/{component-Forecast72h-yd9t3176.mjs → component-Forecast72h-D6kx3ogZ.mjs} +17 -16
- package/dist/chunks/{component-GeologyLiveAlarm-BIDfv4JR.mjs → component-GeologyLiveAlarm-D5rJ_DDm.mjs} +8 -7
- package/dist/chunks/{component-GridForecastMsg-D8dHHVHX.mjs → component-GridForecastMsg-DOx8B4aT.mjs} +9 -8
- package/dist/chunks/{component-HDSeaLegend-DkPk1gQ1.mjs → component-HDSeaLegend-DfaUIAY4.mjs} +2 -2
- package/dist/chunks/{component-HdCameraList-nPxzUdmB.mjs → component-HdCameraList-DFp_aEZB.mjs} +12 -11
- package/dist/chunks/{component-HdFarmStation-BDN_u87-.mjs → component-HdFarmStation-RMkcJKM_.mjs} +12 -11
- package/dist/chunks/{component-HdFarmStationDialog-CMKGe0YJ.mjs → component-HdFarmStationDialog-DXhVyrN-.mjs} +34 -33
- package/dist/chunks/{component-HdForecastProducts-C40qTOYa.mjs → component-HdForecastProducts-Cl7ciBRO.mjs} +11 -10
- package/dist/chunks/{component-HdHeatChart-Bw3VlWeE.mjs → component-HdHeatChart-EDjbIEIa.mjs} +13 -12
- package/dist/chunks/{component-HdHeatChartDialog-C0FfI8Zv.mjs → component-HdHeatChartDialog-CM5JN1_S.mjs} +12 -11
- package/dist/chunks/{component-HdHeatService-CIee1NwQ.mjs → component-HdHeatService-BcBoR9o7.mjs} +35 -34
- package/dist/chunks/{component-HdInsectDetailList-C_T57sID.mjs → component-HdInsectDetailList-BdEF2wR3.mjs} +17 -16
- package/dist/chunks/{component-HdInsectList-Bt48xM1M.mjs → component-HdInsectList-F_CWLwzX.mjs} +19 -18
- package/dist/chunks/{component-HdMajorActivity-CyAgx0og.mjs → component-HdMajorActivity-Cy2eP4St.mjs} +24 -23
- package/dist/chunks/{component-HdObservation-CY8TNPK8.mjs → component-HdObservation-CgjRJNKN.mjs} +11 -10
- package/dist/chunks/{component-HdPreSituation-CLXeQ_lX.mjs → component-HdPreSituation-DCBGp7j2.mjs} +10 -9
- package/dist/chunks/{component-HdQxServiceEffects-CzgyHOgp.mjs → component-HdQxServiceEffects-CbCofLaR.mjs} +11 -10
- package/dist/chunks/{component-HdRadarList--85ldZa2.mjs → component-HdRadarList-DP0CHxT-.mjs} +3 -3
- package/dist/chunks/{component-HdRadarTime-CJ--ljM9.mjs → component-HdRadarTime-KUc6alWx.mjs} +13 -12
- package/dist/chunks/{component-HdRadarTimeLine-jQxaaH8X.mjs → component-HdRadarTimeLine-B-gh24Ms.mjs} +14 -13
- package/dist/chunks/{component-HdRisk-HKXfRnuQ.mjs → component-HdRisk-BNMGDGIZ.mjs} +12 -11
- package/dist/chunks/{component-HdSeaCase-agNgpzcT.mjs → component-HdSeaCase-9zyw68M-.mjs} +27 -26
- package/dist/chunks/{component-HdServiceMarterial-DJA-s67d.mjs → component-HdServiceMarterial-QoHKI3Kn.mjs} +18 -17
- package/dist/chunks/{component-HdServiceRequirements-lXtnq5r2.mjs → component-HdServiceRequirements-BYe-G1Mh.mjs} +14 -13
- package/dist/chunks/{component-HdSoil-BtIq7NXx.mjs → component-HdSoil-B2WiCda3.mjs} +12 -11
- package/dist/chunks/{component-HdSoilDetailList-CxEzu-xk.mjs → component-HdSoilDetailList-Djriq1RD.mjs} +13 -12
- package/dist/chunks/{component-HdStationTem-CRfJb0wr.mjs → component-HdStationTem-Ct2beh9a.mjs} +18 -17
- package/dist/chunks/{component-HdSuggestion-2aFJRsau.mjs → component-HdSuggestion-SDIUMrXC.mjs} +14 -13
- package/dist/chunks/{component-HdThreeWeatherTrend-BWeGlUnt.mjs → component-HdThreeWeatherTrend-PcbYnx-q.mjs} +19 -18
- package/dist/chunks/{component-HdWaveForcast-DgcqZuG9.mjs → component-HdWaveForcast-Bw7vX1xw.mjs} +12 -11
- package/dist/chunks/{component-HighQuality-BNvi5OuR.mjs → component-HighQuality-ByrnjqiE.mjs} +17 -16
- package/dist/chunks/{component-HighWayEarlyWarningRed-DKqRexUr.mjs → component-HighWayEarlyWarningRed-BDgzUMlS.mjs} +17 -16
- package/dist/chunks/{component-HighWayFreeze-X9Lw4CtK.mjs → component-HighWayFreeze-szpetKFY.mjs} +9 -8
- package/dist/chunks/{component-HighwayLiveAlarm-BBXb3nQ-.mjs → component-HighwayLiveAlarm-CSdpFWFe.mjs} +7 -6
- package/dist/chunks/{component-HighwayLiveAlarmNew-DBZgrmS8.mjs → component-HighwayLiveAlarmNew-DbUPTPBH.mjs} +12 -11
- package/dist/chunks/{component-HighwayStations-k3ZCYTAH.mjs → component-HighwayStations-CNtSBBLD.mjs} +7 -6
- package/dist/chunks/{component-HighwayWeatherForecast-BAHrZUA9.mjs → component-HighwayWeatherForecast-oKik_1wG.mjs} +10 -9
- package/dist/chunks/{component-IframeWeb-DVfyMcAT.mjs → component-IframeWeb-KbZ-3_ry.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-QHD-5aqR.mjs → component-ImageGeneration-CZ3MhHFM.mjs} +2 -2
- package/dist/chunks/{component-IntroducePic-DYicnxvR.mjs → component-IntroducePic-unQNI8nA.mjs} +14 -13
- package/dist/chunks/{component-LithiumBatteryMiningArea-Cy9Rjgx5.mjs → component-LithiumBatteryMiningArea-baQ8LJ6A.mjs} +13 -12
- package/dist/chunks/{component-MapPopup-DRakngil.mjs → component-MapPopup-DbxxWkcS.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-C2AS-_sC.mjs → component-MaterialPreview-BopOLX9T.mjs} +6 -5
- package/dist/chunks/{component-PieLegend-DoIRy55w.mjs → component-PieLegend-CxXTe7ex.mjs} +1 -1
- package/dist/chunks/{component-PrecipitationRanking-Cp8wK9V7.mjs → component-PrecipitationRanking-BGDK_Sa9.mjs} +28 -27
- package/dist/chunks/{component-RadarChart-BR1qSBxo.mjs → component-RadarChart-BpISXowv.mjs} +11 -10
- package/dist/chunks/{component-RadarLegend-BOwHlnqR.mjs → component-RadarLegend-pRd2JniW.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-tP7CSL0g.mjs → component-RadarShortTerm-B69JfjsO.mjs} +14 -13
- package/dist/chunks/{component-RadarTime-Dv46BtEz.mjs → component-RadarTime-DAHQlSOH.mjs} +19 -18
- package/dist/chunks/{component-RenderMarkdown-CVp2KsJr.mjs → component-RenderMarkdown-D6YdNtD-.mjs} +7 -6
- package/dist/chunks/{component-ReservoirLiveAlarm-D6SaqJel.mjs → component-ReservoirLiveAlarm-B6lKQPpR.mjs} +9 -8
- package/dist/chunks/{component-ServiceMaterial-B-meX-St.mjs → component-ServiceMaterial-BrKn201l.mjs} +10 -9
- package/dist/chunks/{component-ServiceMaterialsBtn-DYzPuzq_.mjs → component-ServiceMaterialsBtn-BHd4-_Wn.mjs} +2 -2
- package/dist/chunks/{component-StationDialog-CnAIJZcL.mjs → component-StationDialog-BrhC-iYT.mjs} +10 -9
- package/dist/chunks/{component-StationList-DvHUcP8A.mjs → component-StationList-5XxBSNXb.mjs} +10 -9
- package/dist/chunks/{component-TimeBasedForecast-DP7ZYRQB.mjs → component-TimeBasedForecast-Cw3a4ZdW.mjs} +11 -10
- package/dist/chunks/{component-Typhoon-46xEbA06.mjs → component-Typhoon-D1YFBv4l.mjs} +3 -2
- package/dist/chunks/{component-WarningLine-BzedbVnZ.mjs → component-WarningLine-BtNfoWBe.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-CSF12lq7.mjs → component-WarningSignal-CXlDQXr1.mjs} +18 -17
- package/dist/chunks/{component-WeatherForecast-BhGvmaMS.mjs → component-WeatherForecast-Dw_jpaZR.mjs} +17 -16
- package/dist/chunks/{component-YCDataMonitor-sg_93erW.mjs → component-YCDataMonitor-cYVY91FD.mjs} +17 -16
- package/dist/chunks/{component-YCDataService-CwOGPL98.mjs → component-YCDataService-t-d9yqyl.mjs} +11 -10
- package/dist/chunks/{component-YCHighWaySummary-CvoowBjy.mjs → component-YCHighWaySummary-CjhQdaUL.mjs} +8 -7
- package/dist/chunks/{component-YCHome-DRIi7AIB.mjs → component-YCHome-BAIB6FD-.mjs} +63 -62
- package/dist/chunks/{component-YCHomeLegend-0aeWXs2n.mjs → component-YCHomeLegend-cK6bLLGC.mjs} +2 -2
- package/dist/chunks/{component-YCLoginNew-BEoGLgtQ.mjs → component-YCLoginNew-yMFBtscQ.mjs} +15 -14
- package/dist/chunks/{component-YCServiceSummary-Dab20ncm.mjs → component-YCServiceSummary-CBxoEh_S.mjs} +162 -161
- package/dist/components/Agent/Agent.vue.d.ts +12 -0
- package/dist/index.d.ts +2 -1
- package/dist/nxd-plugin.mjs +75 -75
- package/dist/styles/component-Agent.css +1 -0
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/YCServiceSummary-Dx2AlXiv.mjs +0 -2
package/dist/chunks/{component-StationList-DvHUcP8A.mjs → component-StationList-5XxBSNXb.mjs}
RENAMED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import "./component-
|
|
4
|
-
import
|
|
2
|
+
import { a as t } from "./component-AiChat-HpEVNeXU.mjs";
|
|
3
|
+
import { c as n } from "./component-Agent-Cm4CMOGO.mjs";
|
|
4
|
+
import "./component-Forecast72h-D6kx3ogZ.mjs";
|
|
5
|
+
import { i as r, n as i } from "./component-HdFarmStationDialog-DXhVyrN-.mjs";
|
|
5
6
|
import { ElConfigProvider as a, ElDatePicker as o, ElIcon as s, ElLoadingDirective as c, ElTable as l, ElTableColumn as u } from "element-plus/es";
|
|
6
7
|
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
8
|
import { Download as E, RefreshRight as D } from "@element-plus/icons-vue";
|
|
@@ -15,7 +16,7 @@ var te = /* @__PURE__ */ e(i()), ne = {
|
|
|
15
16
|
}, re = { class: "StationList-header" }, A = { class: "StationList-headerContent" }, j = { class: "StationList-title" }, M = {
|
|
16
17
|
key: 0,
|
|
17
18
|
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__ */
|
|
19
|
+
}, 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
20
|
__name: "StationList",
|
|
20
21
|
props: {
|
|
21
22
|
mock: {
|
|
@@ -43,8 +44,8 @@ var te = /* @__PURE__ */ e(i()), ne = {
|
|
|
43
44
|
}) }
|
|
44
45
|
},
|
|
45
46
|
emits: ["close", "rowClick"],
|
|
46
|
-
setup(e, { emit:
|
|
47
|
-
let i = _()?.appContext.config.globalProperties.$bus, g = e, R =
|
|
47
|
+
setup(e, { emit: n }) {
|
|
48
|
+
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
49
|
let e = [...U.value];
|
|
49
50
|
return W.value && e.sort((e, t) => {
|
|
50
51
|
let n = Number(e[W.value]) || 0, r = Number(t[W.value]) || 0;
|
|
@@ -70,7 +71,7 @@ var te = /* @__PURE__ */ e(i()), ne = {
|
|
|
70
71
|
console.log(e, "data"), U.value = e.list || [], H.value = e.dataTime || "";
|
|
71
72
|
}, Z = async () => {
|
|
72
73
|
try {
|
|
73
|
-
let e = await
|
|
74
|
+
let e = await t({
|
|
74
75
|
id: g.ids.data.id,
|
|
75
76
|
baseHttp: g.baseHttp,
|
|
76
77
|
reqType: g.ids.data.reqType,
|
|
@@ -80,8 +81,8 @@ var te = /* @__PURE__ */ e(i()), ne = {
|
|
|
80
81
|
appSalt: g.appSalt
|
|
81
82
|
});
|
|
82
83
|
console.log(e, "stationList自动站列表");
|
|
83
|
-
let
|
|
84
|
-
console.log(
|
|
84
|
+
let n = se(e);
|
|
85
|
+
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
86
|
} catch (e) {
|
|
86
87
|
console.error("StationList 数据加载失败", e);
|
|
87
88
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { n as
|
|
1
|
+
import "./component-AqiMonitor-CQB7tv42.mjs";
|
|
2
|
+
import { a as e } from "./component-AiChat-HpEVNeXU.mjs";
|
|
3
|
+
import { c as t } from "./component-Agent-Cm4CMOGO.mjs";
|
|
4
|
+
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-D6kx3ogZ.mjs";
|
|
5
|
+
import { n as v } from "./component-LithiumBatteryMiningArea-baQ8LJ6A.mjs";
|
|
5
6
|
import { ElLoadingDirective as y, ElOption as b, ElSelect as x } from "element-plus/es";
|
|
6
7
|
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
8
|
import * as ve from "echarts";
|
|
@@ -11,7 +12,7 @@ import "element-plus/es/components/option/style/css";
|
|
|
11
12
|
var ye = {
|
|
12
13
|
class: "TimeBasedForecast",
|
|
13
14
|
"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__ */
|
|
15
|
+
}, 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
16
|
__name: "TimeBasedForecast",
|
|
16
17
|
props: {
|
|
17
18
|
appKey: {
|
|
@@ -32,8 +33,8 @@ var ye = {
|
|
|
32
33
|
}
|
|
33
34
|
},
|
|
34
35
|
emits: ["close"],
|
|
35
|
-
setup(
|
|
36
|
-
let B = D()?.appContext.config.globalProperties.$bus, V =
|
|
36
|
+
setup(t, { emit: E }) {
|
|
37
|
+
let B = D()?.appContext.config.globalProperties.$bus, V = t, Fe = E, H = N(null), U = null, Ie = [
|
|
37
38
|
"24小时预报",
|
|
38
39
|
"48小时预报",
|
|
39
40
|
"72小时预报",
|
|
@@ -57,16 +58,16 @@ var ye = {
|
|
|
57
58
|
Fe("close", "TimeBasedForecast");
|
|
58
59
|
}, Z = async () => {
|
|
59
60
|
Y.value = !0;
|
|
60
|
-
let
|
|
61
|
+
let t = {
|
|
61
62
|
lon: X.value.longitude,
|
|
62
63
|
lat: X.value.latitude,
|
|
63
64
|
hours: Number(W.value.replace("小时预报", "")),
|
|
64
65
|
unit_id: "3"
|
|
65
|
-
}, y = await
|
|
66
|
+
}, y = await e({
|
|
66
67
|
appKey: V.appKey,
|
|
67
68
|
appSalt: V.appSalt,
|
|
68
69
|
id: V.ids.data.id,
|
|
69
|
-
variables: { str: v.encode(JSON.stringify(
|
|
70
|
+
variables: { str: v.encode(JSON.stringify(t)) },
|
|
70
71
|
baseHttp: V.baseHttp,
|
|
71
72
|
reqType: V.ids.data.reqType,
|
|
72
73
|
isFormData: V.ids.data.isFormData
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
1
|
+
import "./component-AqiMonitor-CQB7tv42.mjs";
|
|
2
|
+
import { i as e } from "./component-AiChat-HpEVNeXU.mjs";
|
|
3
|
+
import { c as t } from "./component-Agent-Cm4CMOGO.mjs";
|
|
3
4
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
4
5
|
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
6
|
import "element-plus/es/components/loading/style/css";
|
package/dist/chunks/{component-WarningLine-BzedbVnZ.mjs → component-WarningLine-BtNfoWBe.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 { a as e } from "./component-AiChat-HpEVNeXU.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-BDgzUMlS.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-CSF12lq7.mjs → component-WarningSignal-CXlDQXr1.mjs}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import "./component-AqiMonitor-CQB7tv42.mjs";
|
|
2
|
+
import { a as e } from "./component-AiChat-HpEVNeXU.mjs";
|
|
3
|
+
import { c as t } from "./component-Agent-Cm4CMOGO.mjs";
|
|
4
|
+
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-BDgzUMlS.mjs";
|
|
4
5
|
import { ElLoadingDirective as O } from "element-plus/es";
|
|
5
6
|
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
7
|
import "element-plus/es/components/loading/style/css";
|
|
@@ -8,7 +9,7 @@ import "element-plus/es/components/loading/style/css";
|
|
|
8
9
|
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
10
|
key: 0,
|
|
10
11
|
class: "wrap-body-table"
|
|
11
|
-
}, Ge = /* @__PURE__ */
|
|
12
|
+
}, Ge = /* @__PURE__ */ t({
|
|
12
13
|
__name: "warnPop",
|
|
13
14
|
props: { warnPopData: {
|
|
14
15
|
type: Object,
|
|
@@ -96,7 +97,7 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
|
|
|
96
97
|
} }, rt = { style: {
|
|
97
98
|
width: "40px",
|
|
98
99
|
"text-align": "center"
|
|
99
|
-
} }, it = ["onClick"], at = { key: 0 }, Q = /* @__PURE__ */
|
|
100
|
+
} }, it = ["onClick"], at = { key: 0 }, Q = /* @__PURE__ */ t(/* @__PURE__ */ P({
|
|
100
101
|
__name: "WarningSignal",
|
|
101
102
|
props: {
|
|
102
103
|
appKey: {
|
|
@@ -134,8 +135,8 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
|
|
|
134
135
|
"view",
|
|
135
136
|
"changeMapView"
|
|
136
137
|
],
|
|
137
|
-
setup(
|
|
138
|
-
let A = Ve()?.appContext.config.globalProperties.$bus, P =
|
|
138
|
+
setup(t, { emit: S }) {
|
|
139
|
+
let A = Ve()?.appContext.config.globalProperties.$bus, P = t, F = S, I = R(!1), B = R([]), V = R(!1), W = R({}), G = {
|
|
139
140
|
大风: "big_wind",
|
|
140
141
|
暴雨: "rain_storm",
|
|
141
142
|
台风: "typhoon",
|
|
@@ -245,10 +246,10 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
|
|
|
245
246
|
await Y();
|
|
246
247
|
}, Y = async () => {
|
|
247
248
|
I.value = !0;
|
|
248
|
-
let
|
|
249
|
-
if (P.dataType === "static")
|
|
249
|
+
let t = [];
|
|
250
|
+
if (P.dataType === "static") t = P.staticData || [], console.log("预警信号使用静态数据:", t);
|
|
250
251
|
else {
|
|
251
|
-
let n = await
|
|
252
|
+
let n = await e({
|
|
252
253
|
appKey: P.appKey,
|
|
253
254
|
appSalt: P.appSalt,
|
|
254
255
|
id: P.ids.data.id,
|
|
@@ -257,10 +258,10 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
|
|
|
257
258
|
reqType: P.ids.data.reqType,
|
|
258
259
|
isFormData: P.ids.data.isFormData
|
|
259
260
|
});
|
|
260
|
-
console.log(n, "预警信号"),
|
|
261
|
+
console.log(n, "预警信号"), t = n.data?.result?.output || [];
|
|
261
262
|
}
|
|
262
|
-
if (I.value = !1,
|
|
263
|
-
B.value =
|
|
263
|
+
if (I.value = !1, t && t.length > 0) {
|
|
264
|
+
B.value = t.map((e) => {
|
|
264
265
|
let t = e.lat, n = e.lng || e.lon;
|
|
265
266
|
if (!t || !n) {
|
|
266
267
|
let e = (Math.random() - .5) * .8, r = (Math.random() - .5) * 1.2;
|
|
@@ -274,7 +275,7 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
|
|
|
274
275
|
lon: n
|
|
275
276
|
};
|
|
276
277
|
});
|
|
277
|
-
let
|
|
278
|
+
let e = { mapMarker: {
|
|
278
279
|
clickOpen: !0,
|
|
279
280
|
drawArrObj: [],
|
|
280
281
|
spotObject: [{
|
|
@@ -290,7 +291,7 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
|
|
|
290
291
|
}))
|
|
291
292
|
}]
|
|
292
293
|
} };
|
|
293
|
-
console.log("预警信号标记数据:",
|
|
294
|
+
console.log("预警信号标记数据:", e), console.log("spotArrone长度:", e.mapMarker.spotObject[0].spotArrone.length), console.log("第一个标记:", e.mapMarker.spotObject[0].spotArrone[0]), F("addMarker", e);
|
|
294
295
|
}
|
|
295
296
|
}, X = (e) => {
|
|
296
297
|
F("changeMapView", e);
|
|
@@ -397,10 +398,10 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
|
|
|
397
398
|
}
|
|
398
399
|
return t && n && $[t]?.[n] ? $[t][n] : null;
|
|
399
400
|
}
|
|
400
|
-
return (
|
|
401
|
+
return (e, n) => {
|
|
401
402
|
let r = O;
|
|
402
403
|
return H((L(), M("div", Ke, [
|
|
403
|
-
N("div", qe, [N("div", Je, [N("div", null, z(
|
|
404
|
+
N("div", qe, [N("div", Je, [N("div", null, z(t.title), 1), N("div", {
|
|
404
405
|
class: "closeBtn",
|
|
405
406
|
onClick: ot,
|
|
406
407
|
title: "关闭"
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { n as T } from "./component-
|
|
1
|
+
import "./component-AqiMonitor-CQB7tv42.mjs";
|
|
2
|
+
import { a as e } from "./component-AiChat-HpEVNeXU.mjs";
|
|
3
|
+
import { c as t } from "./component-Agent-Cm4CMOGO.mjs";
|
|
4
|
+
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-D6kx3ogZ.mjs";
|
|
5
|
+
import { n as T } from "./component-LithiumBatteryMiningArea-baQ8LJ6A.mjs";
|
|
5
6
|
import { ElLoadingDirective as E } from "element-plus/es";
|
|
6
7
|
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
8
|
import "element-plus/es/components/loading/style/css";
|
|
@@ -15,7 +16,7 @@ var V = {
|
|
|
15
16
|
}, fe = { style: {
|
|
16
17
|
display: "flex",
|
|
17
18
|
"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__ */
|
|
19
|
+
} }, 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
20
|
__name: "WeatherForecast",
|
|
20
21
|
props: {
|
|
21
22
|
appKey: {
|
|
@@ -44,8 +45,8 @@ var V = {
|
|
|
44
45
|
}
|
|
45
46
|
},
|
|
46
47
|
emits: ["close"],
|
|
47
|
-
setup(
|
|
48
|
-
let W = M()?.appContext.config.globalProperties.$bus, G =
|
|
48
|
+
setup(t, { emit: j }) {
|
|
49
|
+
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
50
|
P(() => {
|
|
50
51
|
W?.on("toComponent", (e) => {
|
|
51
52
|
e.componentName === "WeatherForecast" && (J.value = e.data, Q());
|
|
@@ -56,7 +57,7 @@ var V = {
|
|
|
56
57
|
let Q = async () => {
|
|
57
58
|
G.showStationList && await ye(), await $();
|
|
58
59
|
}, ye = async () => {
|
|
59
|
-
Y.value = (await
|
|
60
|
+
Y.value = (await e({
|
|
60
61
|
appKey: G.appKey,
|
|
61
62
|
appSalt: G.appSalt,
|
|
62
63
|
id: G.ids.station.id,
|
|
@@ -73,25 +74,25 @@ var V = {
|
|
|
73
74
|
Z.value = !1, X.value?.stationid !== e.stationid && (X.value = e, K.value = !0, await $());
|
|
74
75
|
}, $ = async () => {
|
|
75
76
|
K.value = !0;
|
|
76
|
-
let
|
|
77
|
-
if (G.showStationList)
|
|
77
|
+
let t = {};
|
|
78
|
+
if (G.showStationList) t = {
|
|
78
79
|
stationid: X.value?.stationid || "58606",
|
|
79
80
|
days: 7,
|
|
80
81
|
includeToday: 1
|
|
81
82
|
};
|
|
82
83
|
else {
|
|
83
|
-
let
|
|
84
|
+
let e = {
|
|
84
85
|
lon: J.value.longitude,
|
|
85
86
|
lat: J.value.latitude,
|
|
86
87
|
hours: 168
|
|
87
88
|
};
|
|
88
|
-
|
|
89
|
+
t = { str: T.encode(JSON.stringify(e)) };
|
|
89
90
|
}
|
|
90
|
-
let E = await
|
|
91
|
+
let E = await e({
|
|
91
92
|
appKey: G.appKey,
|
|
92
93
|
appSalt: G.appSalt,
|
|
93
94
|
id: G.ids.data.id,
|
|
94
|
-
variables:
|
|
95
|
+
variables: t,
|
|
95
96
|
baseHttp: G.baseHttp,
|
|
96
97
|
reqType: G.ids.data.reqType,
|
|
97
98
|
isFormData: G.ids.data.isFormData
|
|
@@ -169,9 +170,9 @@ var V = {
|
|
|
169
170
|
};
|
|
170
171
|
});
|
|
171
172
|
};
|
|
172
|
-
return (
|
|
173
|
+
return (e, n) => {
|
|
173
174
|
let r = E;
|
|
174
|
-
return B((F(), k("div", V, [A("div", ue, [A("div", H, [A("div", null, R(
|
|
175
|
+
return B((F(), k("div", V, [A("div", ue, [A("div", H, [A("div", null, R(t.title), 1), A("div", {
|
|
175
176
|
class: "closeBtn",
|
|
176
177
|
onClick: be,
|
|
177
178
|
title: "关闭"
|
package/dist/chunks/{component-YCDataMonitor-sg_93erW.mjs → component-YCDataMonitor-cYVY91FD.mjs}
RENAMED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as e } from "./component-AiChat-HpEVNeXU.mjs";
|
|
2
|
+
import { c as t } from "./component-Agent-Cm4CMOGO.mjs";
|
|
2
3
|
import { ElConfigProvider as n, ElDatePicker as r, ElInput as i, ElLoadingDirective as a } from "element-plus/es";
|
|
3
4
|
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
5
|
import { ElMessage as w } from "element-plus";
|
|
@@ -60,7 +61,7 @@ var re = {
|
|
|
60
61
|
key: 0,
|
|
61
62
|
class: "info-missing",
|
|
62
63
|
style: { "margin-top": "20px" }
|
|
63
|
-
}, Vt = { class: "missing-list url-list" }, Ht = ["title"], Ut = { class: "url-actions" }, Wt = ["onClick"], Gt = ["onClick"], k = /* @__PURE__ */
|
|
64
|
+
}, Vt = { class: "missing-list url-list" }, Ht = ["title"], Ut = { class: "url-actions" }, Wt = ["onClick"], Gt = ["onClick"], k = /* @__PURE__ */ t(/* @__PURE__ */ h({
|
|
64
65
|
__name: "YCDataMonitor",
|
|
65
66
|
props: {
|
|
66
67
|
appKey: {
|
|
@@ -84,8 +85,8 @@ var re = {
|
|
|
84
85
|
default: ""
|
|
85
86
|
}
|
|
86
87
|
},
|
|
87
|
-
setup(
|
|
88
|
-
let k =
|
|
88
|
+
setup(t, { expose: h }) {
|
|
89
|
+
let k = t, A = b(!1), j = b([]), M = b([]), N = [
|
|
89
90
|
{
|
|
90
91
|
key: "cnty",
|
|
91
92
|
label: "县名",
|
|
@@ -181,25 +182,25 @@ var re = {
|
|
|
181
182
|
type: "success",
|
|
182
183
|
customClass: "high-z-index-message"
|
|
183
184
|
});
|
|
184
|
-
}, Z = async (
|
|
185
|
+
}, Z = async (t) => {
|
|
185
186
|
let n = JSON.parse(JSON.stringify(H.value));
|
|
186
187
|
A.value = !0;
|
|
187
188
|
let r = {
|
|
188
|
-
dataType:
|
|
189
|
+
dataType: t,
|
|
189
190
|
stationIds: n.stationId,
|
|
190
191
|
missingTimes: "",
|
|
191
192
|
startDate: "",
|
|
192
193
|
endDate: ""
|
|
193
194
|
};
|
|
194
|
-
|
|
195
|
-
let i = await
|
|
195
|
+
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]);
|
|
196
|
+
let i = await e({
|
|
196
197
|
appKey: k.appKey,
|
|
197
198
|
appSalt: k.appSalt,
|
|
198
199
|
id: k.ids.YCDataMonitor_getUrl.id,
|
|
199
200
|
variables: {
|
|
200
|
-
dataType:
|
|
201
|
+
dataType: t,
|
|
201
202
|
stationIds: n.stationId,
|
|
202
|
-
missingTimes: n[
|
|
203
|
+
missingTimes: n[t].missingTimes.toString(),
|
|
203
204
|
startDate: "",
|
|
204
205
|
endDate: ""
|
|
205
206
|
},
|
|
@@ -207,7 +208,7 @@ var re = {
|
|
|
207
208
|
reqType: k.ids.YCDataMonitor_getUrl.reqType,
|
|
208
209
|
isFormData: k.ids.YCDataMonitor_getUrl.isFormData
|
|
209
210
|
}), a = JSON.parse(i.data.result.output || "{}");
|
|
210
|
-
console.log("urlList", a.data.urls), a.data && a.data.urls && (H.value[
|
|
211
|
+
console.log("urlList", a.data.urls), a.data && a.data.urls && (H.value[t].missingUrls = a.data.urls), A.value = !1, $();
|
|
211
212
|
}, Q = (e) => {
|
|
212
213
|
G.value = e, W.value = null, K.value = [], U.value = !0;
|
|
213
214
|
}, Xt = async () => {
|
|
@@ -219,13 +220,13 @@ var re = {
|
|
|
219
220
|
return;
|
|
220
221
|
}
|
|
221
222
|
q.value = !0;
|
|
222
|
-
let
|
|
223
|
+
let t = H.value, n = {
|
|
223
224
|
appKey: k.appKey,
|
|
224
225
|
appSalt: k.appSalt,
|
|
225
226
|
id: k.ids.YCDataMonitor_getUrl.id,
|
|
226
227
|
variables: {
|
|
227
228
|
dataType: G.value,
|
|
228
|
-
stationIds:
|
|
229
|
+
stationIds: t.stationId,
|
|
229
230
|
missingTimes: "",
|
|
230
231
|
startDate: W.value[0],
|
|
231
232
|
endDate: W.value[1]
|
|
@@ -235,7 +236,7 @@ var re = {
|
|
|
235
236
|
isFormData: k.ids.YCDataMonitor_getUrl.isFormData
|
|
236
237
|
};
|
|
237
238
|
try {
|
|
238
|
-
let
|
|
239
|
+
let t = await e(n), r = JSON.parse(t.data.result.output || "{}");
|
|
239
240
|
r.data && r.data.urls ? K.value = r.data.urls : K.value = [];
|
|
240
241
|
} catch (e) {
|
|
241
242
|
console.error(e), w.error({
|
|
@@ -247,7 +248,7 @@ var re = {
|
|
|
247
248
|
}
|
|
248
249
|
}, $ = async () => {
|
|
249
250
|
console.log("查询日期", k.date), A.value = !0, j.value = [], M.value = [];
|
|
250
|
-
let
|
|
251
|
+
let t = await e({
|
|
251
252
|
appKey: k.appKey,
|
|
252
253
|
appSalt: k.appSalt,
|
|
253
254
|
id: k.ids.YCDataMonitor_data.id,
|
|
@@ -257,7 +258,7 @@ var re = {
|
|
|
257
258
|
isFormData: k.ids.YCDataMonitor_data.isFormData
|
|
258
259
|
});
|
|
259
260
|
A.value = !1;
|
|
260
|
-
let n = JSON.parse(
|
|
261
|
+
let n = JSON.parse(t.data.result.output || "{}").data || {};
|
|
261
262
|
console.log("list", n), j.value = n.nationalStations || [], M.value = n.regionalStations || [];
|
|
262
263
|
};
|
|
263
264
|
return h({ handleSearch: $ }), (e, t) => {
|
package/dist/chunks/{component-YCDataService-CwOGPL98.mjs → component-YCDataService-t-d9yqyl.mjs}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { a as e } from "./component-AiChat-HpEVNeXU.mjs";
|
|
2
|
+
import { c as t } from "./component-Agent-Cm4CMOGO.mjs";
|
|
3
|
+
import { a as n } from "./component-HdFarmStationDialog-DXhVyrN-.mjs";
|
|
4
|
+
import { t as r } from "./component-YCDataMonitor-cYVY91FD.mjs";
|
|
4
5
|
import { ElConfigProvider as i, ElDatePicker as a, ElInput as o, ElLoadingDirective as s } from "element-plus/es";
|
|
5
6
|
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
7
|
import "element-plus/es/components/loading/style/css";
|
|
@@ -11,7 +12,7 @@ import "element-plus/es/components/date-picker/style/css";
|
|
|
11
12
|
var O = {
|
|
12
13
|
class: "YCRealTimeTable",
|
|
13
14
|
"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__ */
|
|
15
|
+
}, 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
16
|
__name: "YCRealTimeTable",
|
|
16
17
|
props: {
|
|
17
18
|
appKey: {
|
|
@@ -31,8 +32,8 @@ var O = {
|
|
|
31
32
|
default: () => ({})
|
|
32
33
|
}
|
|
33
34
|
},
|
|
34
|
-
setup(
|
|
35
|
-
let r =
|
|
35
|
+
setup(t) {
|
|
36
|
+
let r = t, i = b(!1), a = b([]), h = [
|
|
36
37
|
"当前小时雨量(测试)",
|
|
37
38
|
"1小时雨量",
|
|
38
39
|
"3小时雨量",
|
|
@@ -151,7 +152,7 @@ var O = {
|
|
|
151
152
|
});
|
|
152
153
|
let Q = async () => {
|
|
153
154
|
i.value = !0;
|
|
154
|
-
let
|
|
155
|
+
let t = await e({
|
|
155
156
|
appKey: r.appKey,
|
|
156
157
|
appSalt: r.appSalt,
|
|
157
158
|
id: r.ids.YCRealTimeTable_data.id,
|
|
@@ -159,9 +160,9 @@ var O = {
|
|
|
159
160
|
baseHttp: r.baseHttp,
|
|
160
161
|
reqType: r.ids.YCRealTimeTable_data.reqType,
|
|
161
162
|
isFormData: r.ids.YCRealTimeTable_data.isFormData
|
|
162
|
-
}), o =
|
|
163
|
+
}), o = t.data.result.output || "{}", s = JSON.parse(o);
|
|
163
164
|
console.log("res_output", s.data);
|
|
164
|
-
let c =
|
|
165
|
+
let c = t.data.result.voltage || [], l = new Map(c.map((e) => [e.station_id, e])), { nationalStations: u, otherStations: d } = s.data || {
|
|
165
166
|
nationalStations: [],
|
|
166
167
|
otherStations: []
|
|
167
168
|
};
|
|
@@ -314,7 +315,7 @@ var O = {
|
|
|
314
315
|
}), [["__scopeId", "data-v-630ba040"]]), q = { class: "YCDataService" }, J = { class: "YCDataService-topbar" }, Y = { class: "page-switch" }, X = {
|
|
315
316
|
key: 0,
|
|
316
317
|
class: "YCDataService-filter"
|
|
317
|
-
}, Z = /* @__PURE__ */
|
|
318
|
+
}, Z = /* @__PURE__ */ t(/* @__PURE__ */ h({
|
|
318
319
|
__name: "YCDataService",
|
|
319
320
|
props: {
|
|
320
321
|
appKey: {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
1
|
+
import "./component-AqiMonitor-CQB7tv42.mjs";
|
|
2
|
+
import { a as e } from "./component-AiChat-HpEVNeXU.mjs";
|
|
3
|
+
import { c as t } from "./component-Agent-Cm4CMOGO.mjs";
|
|
3
4
|
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
5
|
//#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__ */
|
|
6
|
+
var d = { class: "YCHighWaySummary" }, f = { class: "YCHighWaySummary__body" }, p = { class: "YCHighWaySummary__section" }, m = { class: "YCHighWaySummary__section" }, h = /* @__PURE__ */ t(/* @__PURE__ */ a({
|
|
6
7
|
__name: "YCHighWaySummary",
|
|
7
8
|
props: {
|
|
8
9
|
appKey: {
|
|
@@ -22,8 +23,8 @@ var d = { class: "YCHighWaySummary" }, f = { class: "YCHighWaySummary__body" },
|
|
|
22
23
|
default: () => ({})
|
|
23
24
|
}
|
|
24
25
|
},
|
|
25
|
-
setup(
|
|
26
|
-
let h = a, g =
|
|
26
|
+
setup(t, { emit: a }) {
|
|
27
|
+
let h = a, g = t, _ = l(""), v = l(""), y = l(null);
|
|
27
28
|
s(() => {
|
|
28
29
|
b(), y.value = setInterval(() => {
|
|
29
30
|
b();
|
|
@@ -32,7 +33,7 @@ var d = { class: "YCHighWaySummary" }, f = { class: "YCHighWaySummary__body" },
|
|
|
32
33
|
y.value &&= (clearInterval(y.value), null);
|
|
33
34
|
});
|
|
34
35
|
let b = async () => {
|
|
35
|
-
_.value = (await
|
|
36
|
+
_.value = (await e({
|
|
36
37
|
appKey: g.appKey,
|
|
37
38
|
appSalt: g.appSalt,
|
|
38
39
|
id: g.ids.realtime.id,
|
|
@@ -40,7 +41,7 @@ var d = { class: "YCHighWaySummary" }, f = { class: "YCHighWaySummary__body" },
|
|
|
40
41
|
baseHttp: g.baseHttp,
|
|
41
42
|
reqType: g.ids.realtime.reqType,
|
|
42
43
|
isFormData: g.ids.realtime.isFormData
|
|
43
|
-
})).data?.result?.analyzeData || "", v.value = (await
|
|
44
|
+
})).data?.result?.analyzeData || "", v.value = (await e({
|
|
44
45
|
appKey: g.appKey,
|
|
45
46
|
appSalt: g.appSalt,
|
|
46
47
|
id: g.ids.forecast.id,
|