nxd-plugin 1.8.31 → 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
|
@@ -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 { ElLoadingDirective as n } from "element-plus/es";
|
|
3
4
|
import { Fragment as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createStaticVNode as s, defineComponent as c, getCurrentInstance as l, onMounted as u, openBlock as d, ref as f, renderList as p, toDisplayString as m, vModelRadio as h, withDirectives as g } from "vue";
|
|
4
5
|
//#region src/assets/img/head.png
|
|
@@ -17,7 +18,7 @@ var _ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbsAAAASBAMAAAAwI22/AAAAB
|
|
|
17
18
|
} }, M = { style: {
|
|
18
19
|
width: "80px",
|
|
19
20
|
"text-align": "center"
|
|
20
|
-
} }, N = { key: 0 }, P = /* @__PURE__ */
|
|
21
|
+
} }, N = { key: 0 }, P = /* @__PURE__ */ t(/* @__PURE__ */ c({
|
|
21
22
|
__name: "AqiMonitor",
|
|
22
23
|
props: {
|
|
23
24
|
appKey: {
|
|
@@ -42,8 +43,8 @@ var _ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbsAAAASBAMAAAAwI22/AAAAB
|
|
|
42
43
|
}
|
|
43
44
|
},
|
|
44
45
|
emits: ["close"],
|
|
45
|
-
setup(
|
|
46
|
-
let _ = l()?.appContext.config.globalProperties.$bus, P =
|
|
46
|
+
setup(t, { emit: c }) {
|
|
47
|
+
let _ = l()?.appContext.config.globalProperties.$bus, P = t, F = c, I = f(!1), L = f([]), R = f("precipitation"), z = f([
|
|
47
48
|
{
|
|
48
49
|
value: "precipitation",
|
|
49
50
|
label: "降水量"
|
|
@@ -70,7 +71,7 @@ var _ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbsAAAASBAMAAAAwI22/AAAAB
|
|
|
70
71
|
await V();
|
|
71
72
|
}, V = async () => {
|
|
72
73
|
I.value = !0;
|
|
73
|
-
let
|
|
74
|
+
let t = await e({
|
|
74
75
|
appKey: P.appKey,
|
|
75
76
|
appSalt: P.appSalt,
|
|
76
77
|
id: P.ids.data.id,
|
|
@@ -79,8 +80,8 @@ var _ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbsAAAASBAMAAAAwI22/AAAAB
|
|
|
79
80
|
reqType: P.ids.data.reqType,
|
|
80
81
|
isFormData: P.ids.data.isFormData
|
|
81
82
|
});
|
|
82
|
-
I.value = !1, console.log(
|
|
83
|
-
let n =
|
|
83
|
+
I.value = !1, console.log(t, "自动站数据");
|
|
84
|
+
let n = t.data?.result?.output || [];
|
|
84
85
|
n && n.length > 0 && (L.value = n.map((e) => ({
|
|
85
86
|
...e,
|
|
86
87
|
station_name: e.station_name || e.name || "",
|
|
@@ -92,9 +93,9 @@ var _ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbsAAAASBAMAAAAwI22/AAAAB
|
|
|
92
93
|
}, H = () => {
|
|
93
94
|
F("close", "AqiMonitor");
|
|
94
95
|
};
|
|
95
|
-
return (
|
|
96
|
+
return (e, c) => {
|
|
96
97
|
let l = n;
|
|
97
|
-
return g((d(), a("div", v, [o("div", y, [o("div", b, [o("div", null, m(
|
|
98
|
+
return g((d(), a("div", v, [o("div", y, [o("div", b, [o("div", null, m(t.title), 1), o("div", {
|
|
98
99
|
class: "closeBtn",
|
|
99
100
|
onClick: H,
|
|
100
101
|
title: "关闭"
|
|
@@ -1,5 +1,6 @@
|
|
|
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 { ElLoadingDirective as n, ElOption as r, ElSelect as i } from "element-plus/es";
|
|
4
5
|
import { Fragment as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, unref as _, withCtx as v, withDirectives as y } from "vue";
|
|
5
6
|
import * as b from "echarts";
|
|
@@ -10,7 +11,7 @@ import "element-plus/es/components/option/style/css";
|
|
|
10
11
|
var x = {
|
|
11
12
|
class: "ChartCumulativePre",
|
|
12
13
|
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
13
|
-
}, S = { class: "ChartCumulativePre-head" }, C = { class: "ChartCumulativePre-head-top" }, w = { class: "ChartCumulativePre-filters" }, T = { class: "filter-item" }, E = /* @__PURE__ */
|
|
14
|
+
}, S = { class: "ChartCumulativePre-head" }, C = { class: "ChartCumulativePre-head-top" }, w = { class: "ChartCumulativePre-filters" }, T = { class: "filter-item" }, E = /* @__PURE__ */ t(/* @__PURE__ */ u({
|
|
14
15
|
__name: "ChartCumulativePre",
|
|
15
16
|
props: {
|
|
16
17
|
appKey: {
|
|
@@ -30,8 +31,8 @@ var x = {
|
|
|
30
31
|
default: () => ({})
|
|
31
32
|
}
|
|
32
33
|
},
|
|
33
|
-
setup(
|
|
34
|
-
let E =
|
|
34
|
+
setup(t, { emit: u }) {
|
|
35
|
+
let E = t, D = u, O = m(!1), k = (/* @__PURE__ */ new Date()).getFullYear(), A = m(null), j = null, M = m(""), N = m([]), P = m(null), F = m(null), I = m([]);
|
|
35
36
|
f(() => {
|
|
36
37
|
L(), P.value = setInterval(() => {
|
|
37
38
|
L();
|
|
@@ -48,7 +49,7 @@ var x = {
|
|
|
48
49
|
}, 1e3 * 10);
|
|
49
50
|
}, R = async () => {
|
|
50
51
|
O.value = !0;
|
|
51
|
-
let
|
|
52
|
+
let t = await e({
|
|
52
53
|
appKey: E.appKey,
|
|
53
54
|
appSalt: E.appSalt,
|
|
54
55
|
id: E.ids.data.id,
|
|
@@ -58,7 +59,7 @@ var x = {
|
|
|
58
59
|
isFormData: E.ids.data.isFormData
|
|
59
60
|
});
|
|
60
61
|
O.value = !1;
|
|
61
|
-
let n =
|
|
62
|
+
let n = t.data.result || {};
|
|
62
63
|
I.value = n.stationData || [];
|
|
63
64
|
let r = n.stationSelect || [];
|
|
64
65
|
N.value = r, !M.value && r.length > 0 && (M.value = r[0].stationNumber);
|
|
@@ -1,5 +1,6 @@
|
|
|
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 { ElLoadingDirective as n, ElOption as r, ElSelect as i } from "element-plus/es";
|
|
4
5
|
import { Fragment as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, withCtx as _, withDirectives as v } from "vue";
|
|
5
6
|
import * as y from "echarts";
|
|
@@ -10,7 +11,7 @@ import "element-plus/es/components/option/style/css";
|
|
|
10
11
|
var b = {
|
|
11
12
|
class: "ChartServiceMaterial",
|
|
12
13
|
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
13
|
-
}, x = { class: "ChartServiceMaterial-head" }, S = { class: "ChartServiceMaterial-head-top" }, C = { class: "ChartServiceMaterial-filters" }, w = { class: "filter-item" }, T = /* @__PURE__ */
|
|
14
|
+
}, x = { class: "ChartServiceMaterial-head" }, S = { class: "ChartServiceMaterial-head-top" }, C = { class: "ChartServiceMaterial-filters" }, w = { class: "filter-item" }, T = /* @__PURE__ */ t(/* @__PURE__ */ u({
|
|
14
15
|
__name: "ChartServiceMaterial",
|
|
15
16
|
props: {
|
|
16
17
|
appKey: {
|
|
@@ -30,8 +31,8 @@ var b = {
|
|
|
30
31
|
default: () => ({})
|
|
31
32
|
}
|
|
32
33
|
},
|
|
33
|
-
setup(
|
|
34
|
-
let T =
|
|
34
|
+
setup(t, { emit: u }) {
|
|
35
|
+
let T = t, E = u, D = m(!1), O = m("服务种类"), k = m([{
|
|
35
36
|
value: "服务种类",
|
|
36
37
|
label: "服务种类"
|
|
37
38
|
}, {
|
|
@@ -46,7 +47,7 @@ var b = {
|
|
|
46
47
|
M.value && clearInterval(M.value), M.value = null, N.value && clearInterval(N.value), N.value = null, j &&= (j.dispose(), null);
|
|
47
48
|
});
|
|
48
49
|
let F = async () => {
|
|
49
|
-
N.value &&= (clearInterval(N.value), null), D.value = !0, P.value = (await
|
|
50
|
+
N.value &&= (clearInterval(N.value), null), D.value = !0, P.value = (await e({
|
|
50
51
|
appKey: T.appKey,
|
|
51
52
|
appSalt: T.appSalt,
|
|
52
53
|
id: T.ids.data.id,
|
|
@@ -1,5 +1,6 @@
|
|
|
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 { createCommentVNode as n, createElementBlock as r, createElementVNode as i, createStaticVNode as a, createTextVNode as o, defineComponent as s, onBeforeUnmount as c, onMounted as l, openBlock as u, ref as d, toDisplayString as f } from "vue";
|
|
4
5
|
//#region src/components/Duty/Duty.vue?vue&type=script&setup=true&lang.ts
|
|
5
6
|
var p = { class: "Duty" }, m = { class: "duty-section" }, h = {
|
|
@@ -20,7 +21,7 @@ var p = { class: "Duty" }, m = { class: "duty-section" }, h = {
|
|
|
20
21
|
}, T = { class: "main-shift-name" }, E = {
|
|
21
22
|
key: 5,
|
|
22
23
|
class: "duty-phone-row"
|
|
23
|
-
}, D = { class: "main-shift-name" }, O = /* @__PURE__ */
|
|
24
|
+
}, D = { class: "main-shift-name" }, O = /* @__PURE__ */ t(/* @__PURE__ */ s({
|
|
24
25
|
__name: "Duty",
|
|
25
26
|
props: {
|
|
26
27
|
appKey: {
|
|
@@ -41,8 +42,8 @@ var p = { class: "Duty" }, m = { class: "duty-section" }, h = {
|
|
|
41
42
|
}
|
|
42
43
|
},
|
|
43
44
|
emits: ["close"],
|
|
44
|
-
setup(
|
|
45
|
-
let O =
|
|
45
|
+
setup(t, { emit: s }) {
|
|
46
|
+
let O = t, k = s, A = d([]), j = d(null);
|
|
46
47
|
l(() => {
|
|
47
48
|
M(), j.value = setInterval(() => {
|
|
48
49
|
M();
|
|
@@ -53,7 +54,7 @@ var p = { class: "Duty" }, m = { class: "duty-section" }, h = {
|
|
|
53
54
|
let M = async () => {
|
|
54
55
|
await N();
|
|
55
56
|
}, N = async () => {
|
|
56
|
-
A.value = (await
|
|
57
|
+
A.value = (await e({
|
|
57
58
|
appKey: O.appKey,
|
|
58
59
|
appSalt: O.appSalt,
|
|
59
60
|
id: O.ids.duty.id,
|
|
@@ -1,5 +1,6 @@
|
|
|
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 { ElLoadingDirective as n, ElOption as r, ElSelect as i } from "element-plus/es";
|
|
4
5
|
import { Fragment as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, withCtx as _, withDirectives as v } from "vue";
|
|
5
6
|
import * as y from "echarts";
|
|
@@ -10,7 +11,7 @@ import "element-plus/es/components/option/style/css";
|
|
|
10
11
|
var b = {
|
|
11
12
|
class: "EarlyWarningStatistic",
|
|
12
13
|
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
13
|
-
}, x = { class: "EarlyWarningStatistic-head" }, S = { class: "EarlyWarningStatistic-head-top" }, C = { class: "EarlyWarningStatistic-filters" }, w = { class: "filter-item" }, T = /* @__PURE__ */
|
|
14
|
+
}, x = { class: "EarlyWarningStatistic-head" }, S = { class: "EarlyWarningStatistic-head-top" }, C = { class: "EarlyWarningStatistic-filters" }, w = { class: "filter-item" }, T = /* @__PURE__ */ t(/* @__PURE__ */ u({
|
|
14
15
|
__name: "EarlyWarningStatistic",
|
|
15
16
|
props: {
|
|
16
17
|
appKey: {
|
|
@@ -30,8 +31,8 @@ var b = {
|
|
|
30
31
|
default: () => ({})
|
|
31
32
|
}
|
|
32
33
|
},
|
|
33
|
-
setup(
|
|
34
|
-
let T =
|
|
34
|
+
setup(t, { emit: u }) {
|
|
35
|
+
let T = t, E = u, D = m(!1), O = m("预警等级"), k = m([{
|
|
35
36
|
value: "预警等级",
|
|
36
37
|
label: "预警等级"
|
|
37
38
|
}, {
|
|
@@ -46,7 +47,7 @@ var b = {
|
|
|
46
47
|
A.value &&= (clearInterval(A.value), null), j.value &&= (clearInterval(j.value), null), N &&= (N.dispose(), null);
|
|
47
48
|
});
|
|
48
49
|
let F = async () => {
|
|
49
|
-
j.value &&= (clearInterval(j.value), null), D.value = !0, P.value = (await
|
|
50
|
+
j.value &&= (clearInterval(j.value), null), D.value = !0, P.value = (await e({
|
|
50
51
|
appKey: T.appKey,
|
|
51
52
|
appSalt: T.appSalt,
|
|
52
53
|
id: T.ids.data.id,
|
|
@@ -1,5 +1,6 @@
|
|
|
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 { ElLoadingDirective as n } from "element-plus/es";
|
|
4
5
|
import { Fragment as r, computed as i, createElementBlock as a, createElementVNode as o, defineComponent as s, nextTick as c, normalizeStyle as l, onBeforeUnmount as u, onMounted as d, openBlock as f, ref as p, renderList as m, toDisplayString as h, vShow as g, withDirectives as _ } from "vue";
|
|
5
6
|
import "element-plus/es/components/loading/style/css";
|
|
@@ -7,7 +8,7 @@ import "element-plus/es/components/loading/style/css";
|
|
|
7
8
|
var v = {
|
|
8
9
|
class: "EarlyWarningStatistic2",
|
|
9
10
|
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
10
|
-
}, y = { class: "EarlyWarningStatistic2-head" }, b = { class: "EarlyWarningStatistic2-head-top" }, x = { class: "EarlyWarningStatistic2-body" }, S = { class: "EarlyWarningStatistic2-label" }, C = /* @__PURE__ */
|
|
11
|
+
}, y = { class: "EarlyWarningStatistic2-head" }, b = { class: "EarlyWarningStatistic2-head-top" }, x = { class: "EarlyWarningStatistic2-body" }, S = { class: "EarlyWarningStatistic2-label" }, C = /* @__PURE__ */ t(/* @__PURE__ */ s({
|
|
11
12
|
__name: "EarlyWarningStatistic2",
|
|
12
13
|
props: {
|
|
13
14
|
title: { default: "预警信号" },
|
|
@@ -18,8 +19,8 @@ var v = {
|
|
|
18
19
|
ids: { default: () => ({}) }
|
|
19
20
|
},
|
|
20
21
|
emits: ["close"],
|
|
21
|
-
setup(
|
|
22
|
-
let C =
|
|
22
|
+
setup(t, { emit: s }) {
|
|
23
|
+
let C = t, w = s, T = p(!1), E = p(!1), D = p(null), O = p({});
|
|
23
24
|
i(() => (/* @__PURE__ */ new Date()).getFullYear());
|
|
24
25
|
let k = {
|
|
25
26
|
红色: "#ff4d4f",
|
|
@@ -54,7 +55,7 @@ var v = {
|
|
|
54
55
|
return;
|
|
55
56
|
}
|
|
56
57
|
E.value = !0;
|
|
57
|
-
let
|
|
58
|
+
let t = {
|
|
58
59
|
appKey: C.appKey,
|
|
59
60
|
appSalt: C.appSalt,
|
|
60
61
|
id: C.ids.data.id,
|
|
@@ -64,7 +65,7 @@ var v = {
|
|
|
64
65
|
isFormData: C.ids.data.isFormData
|
|
65
66
|
};
|
|
66
67
|
try {
|
|
67
|
-
let n = await t
|
|
68
|
+
let n = await e(t);
|
|
68
69
|
O.value = n.data?.result.output ?? n.data?.result ?? n.data ?? [], console.log(O.value, "list.value");
|
|
69
70
|
} catch (e) {
|
|
70
71
|
console.error("EarlyWarningStatistic2 加载失败", e);
|
|
@@ -80,9 +81,9 @@ var v = {
|
|
|
80
81
|
}, 1e3 * 60 * 10);
|
|
81
82
|
}), u(() => {
|
|
82
83
|
D.value &&= (clearInterval(D.value), null);
|
|
83
|
-
}), (
|
|
84
|
+
}), (e, i) => {
|
|
84
85
|
let s = n;
|
|
85
|
-
return _((f(), a("div", v, [o("div", y, [o("div", b, [o("div", null, h(
|
|
86
|
+
return _((f(), a("div", v, [o("div", y, [o("div", b, [o("div", null, h(t.title), 1), o("div", {
|
|
86
87
|
class: "closeBtn",
|
|
87
88
|
onClick: N,
|
|
88
89
|
title: "关闭"
|
|
@@ -90,17 +91,17 @@ var v = {
|
|
|
90
91
|
class: "EarlyWarningStatistic2-head-line",
|
|
91
92
|
src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbsAAAASBAMAAAAwI22/AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAwUExURQAAAAem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/5bu5GYAAAAPdFJOUwAFwAwc2M8ULQYDn/hGXGnV2UoAAAGZSURBVEjH7ZM/S8NAGId/JYGmmeLspptThurk0CHWRXGo0Nk/S50y6CYSHMRF7Efo4uQXEIpbwUnM6OhnEIeChXjv5ZLLXdLtLCX68vDCe0eGJ7/3AJN1VcL+UImB/SruVJwYTqSAW5V3LLyaPR1c+IIdH12OPZiLcyTAjccZEdccZ0Nn4bXpC3KpCuFu5tkdziX3FJxBSBZZdFk9HempCduMk4xSitJTpOgJSSIPrx10YAUB0tYOwrQ1g12k7ZyODIYXZmQpppLV26rtbDFOXVhua2Fn7WTWwUEyAe5Zc2hiLWTTC3jjk8Hw+jrSM9/Z8raKOAtZVmyr9jbpee4lU9hvSUStw6YvOpqwiXlK9d8IL0Oq5tuqvc3KLMs7q9uyCC0y22aKvDVp4u2SjnJ1c+Wecg7h9gV4CFV8NHpEaw7yF2wVGcIa6OBx/Ax3PI6pRWx6Am98alBbpSODNVTxgAbQUpF3KeVv0s80xMUow8N//YVaqWEV9BJDdby2PBUZ1/te0uU0YzeLa623jjrrvaLOep/+str9ACyAtv25BhHcAAAAAElFTkSuQmCC",
|
|
92
93
|
alt: ""
|
|
93
|
-
}, null, -1)]), o("div", x, [(f(!0), a(r, null, m(A.value, (
|
|
94
|
-
key:
|
|
94
|
+
}, null, -1)]), o("div", x, [(f(!0), a(r, null, m(A.value, (e) => (f(), a("div", {
|
|
95
|
+
key: e.grade,
|
|
95
96
|
class: "EarlyWarningStatistic2-card",
|
|
96
97
|
style: l({
|
|
97
|
-
"--card-color":
|
|
98
|
-
"--card-glow":
|
|
98
|
+
"--card-color": e.color,
|
|
99
|
+
"--card-glow": e.glow
|
|
99
100
|
})
|
|
100
101
|
}, [o("div", {
|
|
101
102
|
class: "EarlyWarningStatistic2-count",
|
|
102
|
-
style: l({ "font-size":
|
|
103
|
-
}, h(
|
|
103
|
+
style: l({ "font-size": t.countSize })
|
|
104
|
+
}, h(e.count), 5), o("div", S, h(e.grade), 1)], 4))), 128))])])), [[g, T.value], [s, E.value]]);
|
|
104
105
|
};
|
|
105
106
|
}
|
|
106
107
|
}), [["__scopeId", "data-v-9b83e9ba"]]);
|
package/dist/chunks/{component-Forecast72h-yd9t3176.mjs → component-Forecast72h-D6kx3ogZ.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 { ElLoadingDirective as n, ElOption as r, ElSelect as i } from "element-plus/es";
|
|
3
4
|
import { Fragment as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createStaticVNode as u, createVNode as ee, defineComponent as d, getCurrentInstance as te, nextTick as f, normalizeClass as ne, normalizeStyle as re, onBeforeUnmount as ie, onMounted as ae, onUnmounted as oe, openBlock as p, ref as m, renderList as h, toDisplayString as g, withCtx as se, withDirectives as ce } from "vue";
|
|
4
5
|
import * as _ from "echarts";
|
|
@@ -43,7 +44,7 @@ var Ue = {
|
|
|
43
44
|
}, dt = { class: "Forecast72h-timelineMetricValue" }, ft = { class: "Forecast72h-timelineWindDir" }, pt = { class: "Forecast72h-trend" }, mt = { class: "Forecast72h-trendTabs" }, ht = ["onClick"], gt = {
|
|
44
45
|
key: 0,
|
|
45
46
|
class: "Forecast72h-trendLegend"
|
|
46
|
-
}, _t = { class: "Forecast72h-trendLegendText" }, vt = /* @__PURE__ */
|
|
47
|
+
}, _t = { class: "Forecast72h-trendLegendText" }, vt = /* @__PURE__ */ t(/* @__PURE__ */ d({
|
|
47
48
|
__name: "Forecast72h",
|
|
48
49
|
props: {
|
|
49
50
|
baseHttp: { default: "" },
|
|
@@ -53,7 +54,7 @@ var Ue = {
|
|
|
53
54
|
refreshInterval: { default: 10 }
|
|
54
55
|
},
|
|
55
56
|
emits: ["close", "stationChange"],
|
|
56
|
-
setup(
|
|
57
|
+
setup(t, { emit: d }) {
|
|
57
58
|
let N = /* @__PURE__ */ Object.assign({
|
|
58
59
|
"../../assets/img/hd/wind/wind-0.png": P,
|
|
59
60
|
"../../assets/img/hd/wind/wind-1.png": F,
|
|
@@ -100,7 +101,7 @@ var Ue = {
|
|
|
100
101
|
if (Y(e)) return 0;
|
|
101
102
|
let t = Number(e);
|
|
102
103
|
return isNaN(t) ? 0 : (360 - t) % 360;
|
|
103
|
-
}, xt = te()?.appContext.config.globalProperties.$bus, L =
|
|
104
|
+
}, xt = te()?.appContext.config.globalProperties.$bus, L = t, St = d, R = m(!1), z = m([]), B = m(""), V = m(""), H = m([]), U = m(0), W = m("temperature"), G = m(null), K = m(null), q = null, J = [
|
|
104
105
|
{
|
|
105
106
|
label: "气温",
|
|
106
107
|
value: "temperature",
|
|
@@ -244,18 +245,18 @@ var Ue = {
|
|
|
244
245
|
let [r, i, a] = t.split("-"), [o] = n.split(":");
|
|
245
246
|
return `${i}月${a}日 ${o}时`;
|
|
246
247
|
}, Pt = async () => {
|
|
247
|
-
let
|
|
248
|
-
if (!
|
|
248
|
+
let t = L.ids?.select;
|
|
249
|
+
if (!t?.id) {
|
|
249
250
|
console.warn("Forecast72h 缺少站点下拉框工作流配置");
|
|
250
251
|
return;
|
|
251
252
|
}
|
|
252
253
|
try {
|
|
253
|
-
z.value = kt(Ut(await
|
|
254
|
-
id:
|
|
254
|
+
z.value = kt(Ut(await e({
|
|
255
|
+
id: t.id,
|
|
255
256
|
baseHttp: L.baseHttp,
|
|
256
|
-
reqType:
|
|
257
|
+
reqType: t.reqType,
|
|
257
258
|
variables: {},
|
|
258
|
-
isFormData:
|
|
259
|
+
isFormData: t.isFormData,
|
|
259
260
|
appKey: L.appKey,
|
|
260
261
|
appSalt: L.appSalt
|
|
261
262
|
}))).map(At), !B.value && z.value.length && (B.value = z.value[0].stationCode || "");
|
|
@@ -263,18 +264,18 @@ var Ue = {
|
|
|
263
264
|
console.error("Forecast72h 站点下拉框数据加载失败", e);
|
|
264
265
|
}
|
|
265
266
|
}, Ft = async () => {
|
|
266
|
-
let
|
|
267
|
-
if (!
|
|
267
|
+
let t = L.ids?.data;
|
|
268
|
+
if (!t?.id) {
|
|
268
269
|
console.warn("Forecast72h 缺少数据工作流配置");
|
|
269
270
|
return;
|
|
270
271
|
}
|
|
271
272
|
try {
|
|
272
|
-
let n = Ut(await
|
|
273
|
-
id:
|
|
273
|
+
let n = Ut(await e({
|
|
274
|
+
id: t.id,
|
|
274
275
|
baseHttp: L.baseHttp,
|
|
275
|
-
reqType:
|
|
276
|
+
reqType: t.reqType,
|
|
276
277
|
variables: { stationId: B.value },
|
|
277
|
-
isFormData:
|
|
278
|
+
isFormData: t.isFormData,
|
|
278
279
|
appKey: L.appKey,
|
|
279
280
|
appSalt: L.appSalt
|
|
280
281
|
}));
|
|
@@ -1,5 +1,6 @@
|
|
|
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 { ElIcon as n, ElLoadingDirective as r, ElRadio as i, ElRadioGroup as a } from "element-plus/es";
|
|
4
5
|
import { Fragment as o, computed as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, mergeProps as ee, nextTick as m, normalizeClass as h, normalizeStyle as te, onBeforeUnmount as g, onMounted as ne, 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";
|
|
5
6
|
import { ArrowRight as T } from "@element-plus/icons-vue";
|
|
@@ -32,7 +33,7 @@ var E = "data:audio/mpeg;base64,SUQzBAAAAAAAfVRYWFgAAAAZAAADY29tbWVudAB3d3cuaWdv
|
|
|
32
33
|
}, Pe = { class: "detail-popup-head" }, Fe = { class: "detail-popup-title" }, Ie = { class: "detail-popup-row" }, 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 = { key: 0 }, Ue = {
|
|
33
34
|
key: 0,
|
|
34
35
|
style: { "margin-right": "10px" }
|
|
35
|
-
}, We = { key: 1 }, Ge = { key: 1 }, D = "当前暂无报警", O = /* @__PURE__ */
|
|
36
|
+
}, We = { key: 1 }, Ge = { key: 1 }, D = "当前暂无报警", O = /* @__PURE__ */ t(/* @__PURE__ */ p({
|
|
36
37
|
inheritAttrs: !1,
|
|
37
38
|
__name: "GeologyLiveAlarm",
|
|
38
39
|
props: {
|
|
@@ -61,8 +62,8 @@ var E = "data:audio/mpeg;base64,SUQzBAAAAAAAfVRYWFgAAAAZAAADY29tbWVudAB3d3cuaWdv
|
|
|
61
62
|
"removeDataTitle",
|
|
62
63
|
"toMapView"
|
|
63
64
|
],
|
|
64
|
-
setup(
|
|
65
|
-
let O =
|
|
65
|
+
setup(t, { emit: p }) {
|
|
66
|
+
let O = t, k = p, Ke = v([]), A = v(""), j = v(!1), M = v(null), N = v(null), P = v("table"), F = v("1h降水"), I = v(!1), L = v(!1), R = v({}), z = v("隐患点观测时间:--"), B = v([]), V = v({}), H = v({}), U = null, qe = s(() => A.value === D ? "#52c41a" : "#ff4d4f"), W = (e) => (e || []).filter((e) => Z(e)).length, G = () => U || (U = new Audio(E), U.preload = "auto", U), Je = () => new Promise((e) => {
|
|
66
67
|
let t = G();
|
|
67
68
|
t.volume = 0, t.currentTime = 0;
|
|
68
69
|
let n = t.play();
|
|
@@ -99,7 +100,7 @@ var E = "data:audio/mpeg;base64,SUQzBAAAAAAAfVRYWFgAAAAZAAADY29tbWVudAB3d3cuaWdv
|
|
|
99
100
|
});
|
|
100
101
|
let q = async () => {
|
|
101
102
|
j.value = !0;
|
|
102
|
-
let
|
|
103
|
+
let t = await e({
|
|
103
104
|
appKey: O.appKey,
|
|
104
105
|
appSalt: O.appSalt,
|
|
105
106
|
id: O.ids.data.id,
|
|
@@ -109,7 +110,7 @@ var E = "data:audio/mpeg;base64,SUQzBAAAAAAAfVRYWFgAAAAZAAADY29tbWVudAB3d3cuaWdv
|
|
|
109
110
|
isFormData: O.ids.data.isFormData
|
|
110
111
|
});
|
|
111
112
|
j.value = !1;
|
|
112
|
-
let n =
|
|
113
|
+
let n = t.data.result.ds;
|
|
113
114
|
console.log("得到数据", JSON.parse(JSON.stringify(n))), Ke.value = n;
|
|
114
115
|
let r = z.value, i = $e(n);
|
|
115
116
|
z.value = i, k("removeDataTitle", r), setTimeout(() => {
|
|
@@ -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 { ElCheckbox as n, ElInput as r, ElLoadingDirective as i } from "element-plus/es";
|
|
3
4
|
import { Fragment as a, computed as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, normalizeStyle as f, onBeforeUnmount as p, onMounted as m, openBlock as h, ref as g, renderList as _, toDisplayString as v, vShow as y, withCtx as b, withDirectives as x, withModifiers as S } from "vue";
|
|
4
5
|
import "element-plus/es/components/loading/style/css";
|
|
@@ -7,7 +8,7 @@ import { ElMessage as C } from "element-plus";
|
|
|
7
8
|
import "element-plus/es/components/message/style/css";
|
|
8
9
|
import "element-plus/es/components/input/style/css";
|
|
9
10
|
//#region src/components/GridForecastMsg/GridForecastMsg.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
-
var w = { class: "GridForecastMsg-head" }, T = { class: "GridForecastMsg-body" }, E = { class: "GridForecastMsg-forecast" }, D = { class: "GridForecastMsg-forecast__list" }, O = { class: "GridForecastMsg-forecast__name" }, k = { class: "GridForecastMsg-forecast__value" }, A = { class: "GridForecastMsg-edit" }, j = { class: "GridForecastMsg-edit__checks" }, M = /* @__PURE__ */
|
|
11
|
+
var w = { class: "GridForecastMsg-head" }, T = { class: "GridForecastMsg-body" }, E = { class: "GridForecastMsg-forecast" }, D = { class: "GridForecastMsg-forecast__list" }, O = { class: "GridForecastMsg-forecast__name" }, k = { class: "GridForecastMsg-forecast__value" }, A = { class: "GridForecastMsg-edit" }, j = { class: "GridForecastMsg-edit__checks" }, M = /* @__PURE__ */ t(/* @__PURE__ */ u({
|
|
11
12
|
__name: "GridForecastMsg",
|
|
12
13
|
props: {
|
|
13
14
|
appKey: {
|
|
@@ -27,8 +28,8 @@ var w = { class: "GridForecastMsg-head" }, T = { class: "GridForecastMsg-body" }
|
|
|
27
28
|
default: () => ({})
|
|
28
29
|
}
|
|
29
30
|
},
|
|
30
|
-
setup(
|
|
31
|
-
let M = d()?.appContext.config.globalProperties.$bus, N =
|
|
31
|
+
setup(t, { emit: u }) {
|
|
32
|
+
let M = d()?.appContext.config.globalProperties.$bus, N = t, P = g(!1), F = g(!1), I = g(""), L = g(""), R = g(""), z = g(!0), B = g(!1), V = g({}), H = g([]), U = g(!1), W = g({
|
|
32
33
|
x: 0,
|
|
33
34
|
y: 0
|
|
34
35
|
}), G = g({
|
|
@@ -45,7 +46,7 @@ var w = { class: "GridForecastMsg-head" }, T = { class: "GridForecastMsg-body" }
|
|
|
45
46
|
});
|
|
46
47
|
let q = async () => {
|
|
47
48
|
F.value = !0, P.value = !0;
|
|
48
|
-
let
|
|
49
|
+
let t = {
|
|
49
50
|
appKey: N.appKey,
|
|
50
51
|
appSalt: N.appSalt,
|
|
51
52
|
id: N.ids.weather.id,
|
|
@@ -55,7 +56,7 @@ var w = { class: "GridForecastMsg-head" }, T = { class: "GridForecastMsg-body" }
|
|
|
55
56
|
isFormData: N.ids.weather.isFormData
|
|
56
57
|
}, n = null;
|
|
57
58
|
try {
|
|
58
|
-
n = await t
|
|
59
|
+
n = await e(t);
|
|
59
60
|
} catch (e) {
|
|
60
61
|
console.error(e);
|
|
61
62
|
} finally {
|
|
@@ -80,7 +81,7 @@ var w = { class: "GridForecastMsg-head" }, T = { class: "GridForecastMsg-body" }
|
|
|
80
81
|
return;
|
|
81
82
|
}
|
|
82
83
|
P.value = !0;
|
|
83
|
-
let
|
|
84
|
+
let t = {
|
|
84
85
|
appKey: N.appKey,
|
|
85
86
|
appSalt: N.appSalt,
|
|
86
87
|
id: N.ids.send.id,
|
|
@@ -94,7 +95,7 @@ var w = { class: "GridForecastMsg-head" }, T = { class: "GridForecastMsg-body" }
|
|
|
94
95
|
isFormData: N.ids.send.isFormData
|
|
95
96
|
}, n = null;
|
|
96
97
|
try {
|
|
97
|
-
n = await t
|
|
98
|
+
n = await e(t);
|
|
98
99
|
} catch (e) {
|
|
99
100
|
console.error(e);
|
|
100
101
|
} finally {
|
package/dist/chunks/{component-HDSeaLegend-DkPk1gQ1.mjs → component-HDSeaLegend-DfaUIAY4.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
1
|
+
import "./component-AqiMonitor-CQB7tv42.mjs";
|
|
2
|
+
import { c as e } from "./component-Agent-Cm4CMOGO.mjs";
|
|
3
3
|
import { createElementBlock as t, createElementVNode as n, createStaticVNode as r, defineComponent as i, openBlock as a } from "vue";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region src/components/HDSeaLegend/HDSeaLegend.vue?vue&type=script&setup=true&lang.ts
|
package/dist/chunks/{component-HdCameraList-nPxzUdmB.mjs → component-HdCameraList-DFp_aEZB.mjs}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { i as e, t } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import "./component-
|
|
2
|
+
import { a as n } from "./component-AiChat-HpEVNeXU.mjs";
|
|
3
|
+
import { c as r } from "./component-Agent-Cm4CMOGO.mjs";
|
|
4
|
+
import "./component-Forecast72h-D6kx3ogZ.mjs";
|
|
4
5
|
import { Fragment as i, Teleport as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, getCurrentInstance as p, nextTick as m, onMounted as h, onUnmounted as g, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as x, vModelCheckbox as S, vModelText as C, vShow as w, watch as T, withCtx as E, withDirectives as D, withKeys as O, withModifiers as k } from "vue";
|
|
5
6
|
import "element-plus/es/components/select/style/css";
|
|
6
7
|
import "element-plus/es/components/option/style/css";
|
|
@@ -26410,7 +26411,7 @@ var Op = /* @__PURE__ */ e(P()), kp = { class: "HdCameraList" }, Ap = { class: "
|
|
|
26410
26411
|
}, Zp = {
|
|
26411
26412
|
key: 1,
|
|
26412
26413
|
class: "HdCameraList-videoState HdCameraList-videoState--error"
|
|
26413
|
-
}, Qp = /* @__PURE__ */
|
|
26414
|
+
}, Qp = /* @__PURE__ */ r(/* @__PURE__ */ f({
|
|
26414
26415
|
__name: "HdCameraList",
|
|
26415
26416
|
props: {
|
|
26416
26417
|
serviceTypeID: { default: "" },
|
|
@@ -26438,7 +26439,7 @@ var Op = /* @__PURE__ */ e(P()), kp = { class: "HdCameraList" }, Ap = { class: "
|
|
|
26438
26439
|
"clearMarker"
|
|
26439
26440
|
],
|
|
26440
26441
|
setup(e, { emit: t }) {
|
|
26441
|
-
let
|
|
26442
|
+
let r = p()?.appContext.config.globalProperties.$bus, f = e, P = t;
|
|
26442
26443
|
v([]);
|
|
26443
26444
|
let ee = v({
|
|
26444
26445
|
title: "",
|
|
@@ -26559,13 +26560,13 @@ var Op = /* @__PURE__ */ e(P()), kp = { class: "HdCameraList" }, Ap = { class: "
|
|
|
26559
26560
|
}, xe = async (e) => {
|
|
26560
26561
|
let t = f.ids?.camera;
|
|
26561
26562
|
if (!t?.id) throw Error("缺少摄像头流工作流配置");
|
|
26562
|
-
let
|
|
26563
|
-
reqParams: String(
|
|
26563
|
+
let r = e[f.cameraCodeField] ?? e.monitoring_id, i = {
|
|
26564
|
+
reqParams: String(r),
|
|
26564
26565
|
url: f.httpUrl || "https://xha.qdlimap.com:3030/xhayg/rest/videos/getVedioUrl",
|
|
26565
26566
|
serviceTypeID: f.serviceTypeID
|
|
26566
26567
|
};
|
|
26567
26568
|
f.cameraApiUrl && (i.url = f.cameraApiUrl);
|
|
26568
|
-
let a = be(await
|
|
26569
|
+
let a = be(await n({
|
|
26569
26570
|
id: t.id,
|
|
26570
26571
|
baseHttp: f.baseHttp,
|
|
26571
26572
|
reqType: t.reqType,
|
|
@@ -26663,7 +26664,7 @@ var Op = /* @__PURE__ */ e(P()), kp = { class: "HdCameraList" }, Ap = { class: "
|
|
|
26663
26664
|
return;
|
|
26664
26665
|
}
|
|
26665
26666
|
try {
|
|
26666
|
-
let t = Ee(await
|
|
26667
|
+
let t = Ee(await n({
|
|
26667
26668
|
id: e.id,
|
|
26668
26669
|
baseHttp: f.baseHttp,
|
|
26669
26670
|
reqType: e.reqType,
|
|
@@ -26673,10 +26674,10 @@ var Op = /* @__PURE__ */ e(P()), kp = { class: "HdCameraList" }, Ap = { class: "
|
|
|
26673
26674
|
appSalt: f.appSalt
|
|
26674
26675
|
}));
|
|
26675
26676
|
console.log(t, "output");
|
|
26676
|
-
let
|
|
26677
|
+
let r = Oe(t);
|
|
26677
26678
|
ee.value = {
|
|
26678
26679
|
title: t?.title || "",
|
|
26679
|
-
list:
|
|
26680
|
+
list: r.map((e) => Ae(e))
|
|
26680
26681
|
};
|
|
26681
26682
|
} catch (e) {
|
|
26682
26683
|
console.error("HdCameraList 加载失败", e);
|
|
@@ -26723,7 +26724,7 @@ var Op = /* @__PURE__ */ e(P()), kp = { class: "HdCameraList" }, Ap = { class: "
|
|
|
26723
26724
|
}), !0);
|
|
26724
26725
|
};
|
|
26725
26726
|
return h(() => {
|
|
26726
|
-
Ne(),
|
|
26727
|
+
Ne(), r?.on("toComponent", (e) => {
|
|
26727
26728
|
e.componentName === "HdCameraList" && (je(), G());
|
|
26728
26729
|
}), je();
|
|
26729
26730
|
}), g(() => {
|
package/dist/chunks/{component-HdFarmStation-BDN_u87-.mjs → component-HdFarmStation-RMkcJKM_.mjs}
RENAMED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./component-
|
|
1
|
+
import { a as e } from "./component-AiChat-HpEVNeXU.mjs";
|
|
2
|
+
import { c as t } from "./component-Agent-Cm4CMOGO.mjs";
|
|
3
|
+
import "./component-Forecast72h-D6kx3ogZ.mjs";
|
|
3
4
|
import { ElLoadingDirective as n, ElTable as r, ElTableColumn as i } from "element-plus/es";
|
|
4
5
|
import { computed as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, getCurrentInstance as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, toDisplayString as h, vModelCheckbox as g, watch as _, withCtx as v, withDirectives as y } from "vue";
|
|
5
6
|
import "element-plus/dist/index.css";
|
|
@@ -7,7 +8,7 @@ import "element-plus/dist/index.css";
|
|
|
7
8
|
var b = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAaVBMVEVHcEwSHQD///8SHQASHQASHQASHQD7/PsSHQASHQASHQASHQD///8SHQASHQASHQASHQD///9xd2YSHQD///9LUz3+/v4SHQD9/f3Dxb7Z29b////t///b//+///+Y/v9w/v9M/v8w/f/X4jOHAAAAG3RSTlMABgsOFCAqMDM+R1hoaXyJlZ6nt7m4xNXi4+86+u2YAAABcklEQVR42o3SbU/CMBiF4XNOV4saX4hKUP7/L1Q+EKWPdrRpRlvkDsmSca151hVzJMNml9u8bnfLNgE1ks5NSQ/bFCsQchQ9Qo64CcvkAwqHSLkJKAnnCb7+R9KpGhCGZcSqcAp0cu4SF4Lq6qLa1b8PJQAOd4UTJOlQOe38DQhfV4eSrunEbb/ff32WaQpPnphQo9lpRID5jtzsK6tlo3hbbyn6w3zt8s7wKww5E2fIla0ccciwKG/liLPlhL+a162c+vyApsOYd5a/MAyE3pkfcqJ75se8f+av50LQkBPW+VAjDrWc8EPOlgvhEq++nvkx727lkLM3/GrEoe7wGnGie+Yv8nYrEzcYfrq83UpO/vb+8fnlY3dFa9D51d3D0/Pb0m/f2+e3a5GinEQSeS4DQJDImVm0eIzR5vuO6SfMRSTOxeeO+NNmmYukCKIsj9kTdXkkjROHiKKTb4+BIWkYIBjiMQ2Xs3JZlHWO/1Ve/BcfbY/c93OAOwAAAABJRU5ErkJggg==", x = {
|
|
8
9
|
class: "HdFarmStation",
|
|
9
10
|
"element-loading-background": "rgba(0, 0, 0, 0.5)"
|
|
10
|
-
}, S = { class: "HdFarmStation-header" }, C = { class: "HdFarmStation-headerContent" }, w = { class: "HdFarmStation-toolbar" }, T = { class: "HdFarmStation-check" }, E = { class: "HdFarmStation-content" }, D = { class: "HdFarmStation-tableWrap" }, O = /* @__PURE__ */
|
|
11
|
+
}, S = { class: "HdFarmStation-header" }, C = { class: "HdFarmStation-headerContent" }, w = { class: "HdFarmStation-toolbar" }, T = { class: "HdFarmStation-check" }, E = { class: "HdFarmStation-content" }, D = { class: "HdFarmStation-tableWrap" }, O = /* @__PURE__ */ t(/* @__PURE__ */ l({
|
|
11
12
|
__name: "HdFarmStation",
|
|
12
13
|
props: {
|
|
13
14
|
mock: {
|
|
@@ -29,8 +30,8 @@ var b = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAAC
|
|
|
29
30
|
"markerClick",
|
|
30
31
|
"removeMarker"
|
|
31
32
|
],
|
|
32
|
-
setup(
|
|
33
|
-
let O =
|
|
33
|
+
setup(t, { emit: l }) {
|
|
34
|
+
let O = t, k = l, A = u()?.appContext.config.globalProperties.$bus, j = m(!1), M = m(O.dataTime || ""), N = m([]), P = m(!0), F = null, I = a(() => O.list.length ? O.list : N.value), L = () => {
|
|
34
35
|
k("close"), P.value = !1;
|
|
35
36
|
}, R = (e, t) => e == null || e === "" || Number(e) >= 9999 ? "--" : t ? `${e}${t}` : String(e), z = () => {
|
|
36
37
|
if (!P.value) {
|
|
@@ -102,12 +103,12 @@ var b = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAAC
|
|
|
102
103
|
monitorTime: e.monitorTime || e.dataTime || e.collectTime || "",
|
|
103
104
|
dataTime: e.dataTime || e.monitorTime || e.collectTime || "",
|
|
104
105
|
...e
|
|
105
|
-
})) : [], H = (
|
|
106
|
-
id:
|
|
106
|
+
})) : [], H = (t) => e({
|
|
107
|
+
id: t.id,
|
|
107
108
|
baseHttp: O.baseHttp,
|
|
108
|
-
reqType:
|
|
109
|
+
reqType: t.reqType,
|
|
109
110
|
variables: {},
|
|
110
|
-
isFormData:
|
|
111
|
+
isFormData: t.isFormData,
|
|
111
112
|
appKey: O.appKey,
|
|
112
113
|
appSalt: O.appSalt
|
|
113
114
|
}), U = async () => {
|
|
@@ -156,7 +157,7 @@ var b = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAAC
|
|
|
156
157
|
}), U(), G();
|
|
157
158
|
}), d(() => {
|
|
158
159
|
K(), k("addMarker", { removeMarker: "HdFarmStation" });
|
|
159
|
-
}), (
|
|
160
|
+
}), (e, a) => {
|
|
160
161
|
let l = i, u = r, d = n;
|
|
161
162
|
return y((p(), o("div", x, [
|
|
162
163
|
s("button", {
|
|
@@ -182,7 +183,7 @@ var b = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAMAAAC2PjgYAAAAC
|
|
|
182
183
|
s("div", E, [s("div", D, [c(u, {
|
|
183
184
|
data: I.value,
|
|
184
185
|
class: "HdFarmStation-table",
|
|
185
|
-
"max-height":
|
|
186
|
+
"max-height": t.tableHeight,
|
|
186
187
|
"empty-text": "暂无数据"
|
|
187
188
|
}, {
|
|
188
189
|
default: v(() => [
|