nxd-plugin 1.7.75 → 1.7.76
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/assets/dataJson/AiChatMock.json.d.ts +345 -0
- package/dist/assets/dataJson/HighQualityConfig.json.d.ts +1 -1
- package/dist/chunks/component-AiChat-DvOiS6XW.mjs +26690 -0
- package/dist/chunks/component-AqiMonitor-xtkg3YYL.mjs +138 -0
- package/dist/chunks/{component-ChartCumulativePre-C0GUFXEa.mjs → component-ChartCumulativePre-CrIsXxUC.mjs} +7 -6
- package/dist/chunks/{component-ChartServiceMaterial-CNGZyHfu.mjs → component-ChartServiceMaterial-CH2JRmXk.mjs} +6 -5
- package/dist/chunks/{component-Duty-8taqj71c.mjs → component-Duty-Btcizjpy.mjs} +6 -5
- package/dist/chunks/{component-EarlyWarningStatistic-CXzvMFSw.mjs → component-EarlyWarningStatistic-iiIJr86a.mjs} +6 -5
- package/dist/chunks/{component-GeologyLiveAlarm-C6uBCDIM.mjs → component-GeologyLiveAlarm-BDKH6_3N.mjs} +7 -6
- package/dist/chunks/{component-HighQuality-DFvbK5Vt.mjs → component-HighQuality-YqVCokC1.mjs} +374 -319
- package/dist/chunks/{component-HighWayEarlyWarningRed-VCLYuCBe.mjs → component-HighWayEarlyWarningRed-UpU-jUbO.mjs} +7 -6
- package/dist/chunks/{component-HighWayFreeze-B3F7d3lb.mjs → component-HighWayFreeze-DDt3yPAK.mjs} +8 -7
- package/dist/chunks/{component-HighwayLiveAlarm-CJdM4vx6.mjs → component-HighwayLiveAlarm-vaPU17Pr.mjs} +6 -5
- package/dist/chunks/{component-HighwayLiveAlarmNew-F1sJV5h6.mjs → component-HighwayLiveAlarmNew-CVFrU6SR.mjs} +10 -9
- package/dist/chunks/{component-HighwayStations-Bz6Zekf1.mjs → component-HighwayStations-Choq-MV8.mjs} +6 -5
- package/dist/chunks/{component-HighwayWeatherForecast-BvuVI9p6.mjs → component-HighwayWeatherForecast-CFnbV8Es.mjs} +6 -5
- package/dist/chunks/{component-IframeWeb-CqORkYhs.mjs → component-IframeWeb-GuGLuA4w.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-DxvSAg0-.mjs → component-ImageGeneration-BMwWQhbf.mjs} +1 -1
- package/dist/chunks/{component-IntroducePic-CW0bRPyF.mjs → component-IntroducePic-D7aUONYj.mjs} +1 -1
- package/dist/chunks/{component-LithiumBatteryMiningArea-DRuCBQHX.mjs → component-LithiumBatteryMiningArea-BGAEr-4D.mjs} +12 -11
- package/dist/chunks/{component-MapPopup-5ov9bufN.mjs → component-MapPopup-CGpYPcYD.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-BIrxdpHg.mjs → component-MaterialPreview-Z3_Z3x1C.mjs} +6 -5
- package/dist/chunks/{component-PieLegend-BrcbU4Hc.mjs → component-PieLegend-D2apgbNW.mjs} +1 -1
- package/dist/chunks/{component-RadarChart-BvRhuudc.mjs → component-RadarChart-D8eFzW4q.mjs} +10 -9
- package/dist/chunks/{component-RadarLegend-BQrNUHJu.mjs → component-RadarLegend-DAntSPne.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-DSqGlMQq.mjs → component-RadarShortTerm-LAv0PwHu.mjs} +13 -12
- package/dist/chunks/{component-RadarTime-DeA11c09.mjs → component-RadarTime-DqgZVM8j.mjs} +18 -17
- package/dist/chunks/{component-RenderMarkdown-BA6QDwis.mjs → component-RenderMarkdown-Bi1MnEOL.mjs} +6 -5
- package/dist/chunks/{component-ReservoirLiveAlarm-CwQGV2pX.mjs → component-ReservoirLiveAlarm-BalTtyVE.mjs} +8 -7
- package/dist/chunks/{component-ServiceMaterial-D4na59x3.mjs → component-ServiceMaterial-By9uSbYq.mjs} +9 -8
- package/dist/chunks/{component-ServiceMaterialsBtn-pvj67yYf.mjs → component-ServiceMaterialsBtn-9ES9CZQH.mjs} +1 -1
- package/dist/chunks/{component-TimeBasedForecast-JuvtROGA.mjs → component-TimeBasedForecast-DTdtBrV3.mjs} +10 -9
- package/dist/chunks/{component-WarningLine-Dcn_betl.mjs → component-WarningLine-2IP9h9JP.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-q50D47rs.mjs → component-WarningSignal-DMypm-jM.mjs} +17 -16
- package/dist/chunks/{component-WeatherForecast-ByBdU74M.mjs → component-WeatherForecast-BjnV3mxQ.mjs} +12 -11
- package/dist/chunks/{component-YCDataMonitor-DcWd4kcO.mjs → component-YCDataMonitor-LV6a6dpF.mjs} +17 -16
- package/dist/chunks/{component-YCDataService-mOrVZ4oo.mjs → component-YCDataService-B01UoeW1.mjs} +11 -10
- package/dist/chunks/{component-YCHome-C-UM-oMR.mjs → component-YCHome-BvC1CqzO.mjs} +35 -34
- package/dist/chunks/{component-YCHomeLegend-LI2zcDnx.mjs → component-YCHomeLegend-DFvcgNHr.mjs} +1 -1
- package/dist/chunks/{component-YCLoginNew-DSeX5cyy.mjs → component-YCLoginNew-CPTUpoF2.mjs} +16 -15
- package/dist/components/AiChat/AiChat.vue.d.ts +4 -3
- package/dist/components/AiChat/AiChatResponse.vue.d.ts +7 -2
- package/dist/components/AiChat/types.d.ts +39 -24
- package/dist/components/HighQuality/HighQuality.vue.d.ts +2 -0
- package/dist/nxd-plugin.mjs +39 -39
- package/dist/styles/component-AiChat.css +1 -1
- package/dist/styles/component-HighQuality.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/component-AiChat-Q30QFcNW.mjs +0 -47618
- package/dist/chunks/component-AqiMonitor-Bnnw0FMj.mjs +0 -5151
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-xtkg3YYL.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DvOiS6XW.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, defineComponent as s, getCurrentInstance as c, onMounted as l, openBlock as u, ref as d, renderList as f, toDisplayString as p, vModelCheckbox as m, withDirectives as h } from "vue";
|
|
4
5
|
//#region src/components/RadarChart/RadarChart.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -11,7 +12,7 @@ var g = {
|
|
|
11
12
|
} }, O = { style: {
|
|
12
13
|
width: "80px",
|
|
13
14
|
"text-align": "center"
|
|
14
|
-
} }, k = { key: 0 }, A = /* @__PURE__ */
|
|
15
|
+
} }, k = { key: 0 }, A = /* @__PURE__ */ e(/* @__PURE__ */ s({
|
|
15
16
|
__name: "RadarChart",
|
|
16
17
|
props: {
|
|
17
18
|
appKey: {
|
|
@@ -36,8 +37,8 @@ var g = {
|
|
|
36
37
|
}
|
|
37
38
|
},
|
|
38
39
|
emits: ["close"],
|
|
39
|
-
setup(
|
|
40
|
-
let A = c()?.appContext.config.globalProperties.$bus, j =
|
|
40
|
+
setup(e, { emit: s }) {
|
|
41
|
+
let A = c()?.appContext.config.globalProperties.$bus, j = e, M = s, N = d(!1), P = d([]), F = d(!0), I = d(0);
|
|
41
42
|
l(() => {
|
|
42
43
|
A?.on("toComponent", (e) => {
|
|
43
44
|
e.componentName === "RadarChart" && L();
|
|
@@ -47,7 +48,7 @@ var g = {
|
|
|
47
48
|
await R();
|
|
48
49
|
}, R = async () => {
|
|
49
50
|
N.value = !0;
|
|
50
|
-
let
|
|
51
|
+
let e = await t({
|
|
51
52
|
appKey: j.appKey,
|
|
52
53
|
appSalt: j.appSalt,
|
|
53
54
|
id: j.ids.data.id,
|
|
@@ -56,8 +57,8 @@ var g = {
|
|
|
56
57
|
reqType: j.ids.data.reqType,
|
|
57
58
|
isFormData: j.ids.data.isFormData
|
|
58
59
|
});
|
|
59
|
-
N.value = !1, console.log(
|
|
60
|
-
let n =
|
|
60
|
+
N.value = !1, console.log(e, "雷达数据");
|
|
61
|
+
let n = e.data?.result?.output || [];
|
|
61
62
|
n && n.length > 0 && (P.value = n.map((e) => ({
|
|
62
63
|
...e,
|
|
63
64
|
areaName: e.area_name || e.areaName || "",
|
|
@@ -67,9 +68,9 @@ var g = {
|
|
|
67
68
|
}, z = () => {
|
|
68
69
|
M("close", "RadarChart");
|
|
69
70
|
};
|
|
70
|
-
return (
|
|
71
|
+
return (t, s) => {
|
|
71
72
|
let c = n;
|
|
72
|
-
return h((u(), a("div", g, [o("div", _, [o("div", v, [o("div", null, p(
|
|
73
|
+
return h((u(), a("div", g, [o("div", _, [o("div", v, [o("div", null, p(e.title), 1), o("div", {
|
|
73
74
|
class: "closeBtn",
|
|
74
75
|
onClick: z,
|
|
75
76
|
title: "关闭"
|
package/dist/chunks/{component-RadarLegend-BQrNUHJu.mjs → component-RadarLegend-DAntSPne.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-xtkg3YYL.mjs";
|
|
2
2
|
import { Fragment as t, createElementBlock as n, createElementVNode as r, defineComponent as i, getCurrentInstance as a, normalizeClass as o, normalizeStyle as s, onMounted as c, openBlock as l, ref as u, renderList as d, toDisplayString as f, vShow as p, withDirectives as m } from "vue";
|
|
3
3
|
//#region src/components/RadarLegend/RadarLegend.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var h = { class: "RadarLegend-colorList" }, g = { class: "valueText" }, _ = /* @__PURE__ */ e(/* @__PURE__ */ i({
|
package/dist/chunks/{component-RadarShortTerm-DSqGlMQq.mjs → component-RadarShortTerm-LAv0PwHu.mjs}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-xtkg3YYL.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DvOiS6XW.mjs";
|
|
3
|
+
import { n } from "./component-HighWayEarlyWarningRed-UpU-jUbO.mjs";
|
|
4
|
+
import { t as r } from "./component-RadarLegend-DAntSPne.mjs";
|
|
4
5
|
import { ElCheckbox as i, ElIcon as a, ElLoadingDirective as o } from "element-plus/es";
|
|
5
6
|
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as ee, createElementBlock as u, createElementVNode as d, createTextVNode as te, createVNode as f, defineComponent as p, nextTick as m, normalizeClass as h, normalizeStyle as g, onBeforeUnmount as ne, onMounted as re, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as x, vShow as S, watch as C, withCtx as w, withDirectives as T } from "vue";
|
|
6
7
|
import { ArrowRight as E, VideoPause as ie, VideoPlay as ae } from "@element-plus/icons-vue";
|
|
@@ -20,7 +21,7 @@ var oe = {
|
|
|
20
21
|
}, xe = ["onClick"], Se = {
|
|
21
22
|
key: 1,
|
|
22
23
|
class: "pile-empty"
|
|
23
|
-
}, Ce = { class: "RadarShortTerm-timeline" }, we = ["title"], Te = { class: "timeline-slider-wrap" }, Ee = { class: "timeline-time-label" }, De = { class: "radarAxis-li" }, Oe = ["onClick"], ke = { class: "radarAxis-li-node-text" }, D = /* @__PURE__ */
|
|
24
|
+
}, Ce = { class: "RadarShortTerm-timeline" }, we = ["title"], Te = { class: "timeline-slider-wrap" }, Ee = { class: "timeline-time-label" }, De = { class: "radarAxis-li" }, Oe = ["onClick"], ke = { class: "radarAxis-li-node-text" }, D = /* @__PURE__ */ e(/* @__PURE__ */ p({
|
|
24
25
|
__name: "RadarShortTerm",
|
|
25
26
|
props: {
|
|
26
27
|
appKey: {
|
|
@@ -55,8 +56,8 @@ var oe = {
|
|
|
55
56
|
"setImgAniShowByIndex",
|
|
56
57
|
"changeLoading"
|
|
57
58
|
],
|
|
58
|
-
setup(
|
|
59
|
-
let D =
|
|
59
|
+
setup(e, { emit: p }) {
|
|
60
|
+
let D = e, O = p, k = v(!0), A = v(!1), j = v(0), M = v(null), N = v([]), P = v({}), F = v({}), I = v({}), L = v(""), Ae = v(null), R = v(!0), z = v(null), B = v(!0), V = v(null), H = v({
|
|
60
61
|
httpurl: "",
|
|
61
62
|
lngStart: void 0,
|
|
62
63
|
latStart: void 0,
|
|
@@ -89,7 +90,7 @@ var oe = {
|
|
|
89
90
|
}), Pe(), R.value = !1;
|
|
90
91
|
}, G = async () => {
|
|
91
92
|
R.value = !0;
|
|
92
|
-
let
|
|
93
|
+
let e = await t({
|
|
93
94
|
appKey: D.appKey,
|
|
94
95
|
appSalt: D.appSalt,
|
|
95
96
|
id: D.ids.radar.id,
|
|
@@ -98,8 +99,8 @@ var oe = {
|
|
|
98
99
|
reqType: D.ids.radar.reqType,
|
|
99
100
|
isFormData: D.ids.radar.isFormData
|
|
100
101
|
});
|
|
101
|
-
console.log("雷达",
|
|
102
|
-
let n = await
|
|
102
|
+
console.log("雷达", e.data.result);
|
|
103
|
+
let n = await t({
|
|
103
104
|
appKey: D.appKey,
|
|
104
105
|
appSalt: D.appSalt,
|
|
105
106
|
id: D.ids.historyRadar.id,
|
|
@@ -109,7 +110,7 @@ var oe = {
|
|
|
109
110
|
isFormData: D.ids.historyRadar.isFormData
|
|
110
111
|
});
|
|
111
112
|
console.log("历史雷达", n.data.result), R.value = !1;
|
|
112
|
-
let r = K(
|
|
113
|
+
let r = K(e.data.result), i = K(n.data.result);
|
|
113
114
|
H.value = {
|
|
114
115
|
httpurl: r.httpurl,
|
|
115
116
|
...r.extent
|
|
@@ -142,7 +143,7 @@ var oe = {
|
|
|
142
143
|
Z(e), O("showRadarLegend", !0);
|
|
143
144
|
}, 1e3));
|
|
144
145
|
}, je = async () => {
|
|
145
|
-
let
|
|
146
|
+
let e = await t({
|
|
146
147
|
appKey: D.appKey,
|
|
147
148
|
appSalt: D.appSalt,
|
|
148
149
|
id: D.ids.shortTerm.id,
|
|
@@ -151,7 +152,7 @@ var oe = {
|
|
|
151
152
|
reqType: D.ids.shortTerm.reqType,
|
|
152
153
|
isFormData: D.ids.shortTerm.isFormData
|
|
153
154
|
});
|
|
154
|
-
return console.log("短时预报",
|
|
155
|
+
return console.log("短时预报", e.data.result.ds), e.data.result.ds || [];
|
|
155
156
|
}, Me = (e) => {
|
|
156
157
|
let t = String(e || "").split(",").map((e) => Number(e.trim()));
|
|
157
158
|
return {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-xtkg3YYL.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DvOiS6XW.mjs";
|
|
2
3
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
3
4
|
import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, getCurrentInstance as l, normalizeClass as u, normalizeStyle as d, onMounted as f, onUnmounted as ee, openBlock as p, ref as m, renderList as h, toDisplayString as g, vShow as _, watch as te, withDirectives as v, withModifiers as y } from "vue";
|
|
4
5
|
//#region src/components/RadarTime/RadarTime.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -22,7 +23,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
22
23
|
height: "20",
|
|
23
24
|
viewBox: "0 0 24 24",
|
|
24
25
|
fill: "#fff"
|
|
25
|
-
}, Se = { class: "RadarTime__track-bg" }, Ce = { class: "RadarTime__track-content" }, we = ["onClick"], S = /* @__PURE__ */
|
|
26
|
+
}, Se = { class: "RadarTime__track-bg" }, Ce = { class: "RadarTime__track-content" }, we = ["onClick"], S = /* @__PURE__ */ e(/* @__PURE__ */ c({
|
|
26
27
|
__name: "RadarTime",
|
|
27
28
|
props: {
|
|
28
29
|
appKey: {
|
|
@@ -118,8 +119,8 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
118
119
|
"addPolygon",
|
|
119
120
|
"addMarker"
|
|
120
121
|
],
|
|
121
|
-
setup(
|
|
122
|
-
let S = l()?.appContext.config.globalProperties.$bus, C =
|
|
122
|
+
setup(e, { emit: c }) {
|
|
123
|
+
let S = l()?.appContext.config.globalProperties.$bus, C = e, w = c, T = m(!1), E = m(!1), D = m([]), O = m([]), k = m([]), A = m(0), j = m([]), M = m(null), N = m(!1), P = m(null), F = m(!1), I = m(null), L = m(0), R = i(() => O.value.map((e) => ({
|
|
123
124
|
time: e.radar_time,
|
|
124
125
|
displayTime: e.radar_time?.substring(11, 16) || "",
|
|
125
126
|
selectedTime: e.radar_time?.substring(0, 16) || ""
|
|
@@ -218,7 +219,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
218
219
|
}, 0);
|
|
219
220
|
}, Q = async () => {
|
|
220
221
|
T.value = !0;
|
|
221
|
-
let
|
|
222
|
+
let e = {
|
|
222
223
|
appKey: C.appKey,
|
|
223
224
|
appSalt: C.appSalt,
|
|
224
225
|
id: C.ids.data.id2,
|
|
@@ -236,7 +237,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
236
237
|
isFormData: C.ids.data.isFormData
|
|
237
238
|
};
|
|
238
239
|
try {
|
|
239
|
-
let n = (await e
|
|
240
|
+
let n = (await t(e)).data?.result?.output || "", r = JSON.parse(n)?.data || [];
|
|
240
241
|
console.log(r, "雷达实况数据(标准版)"), r && r.length > 0 && (r = r.reverse(), O.value = r.map((e) => {
|
|
241
242
|
let t = "";
|
|
242
243
|
if (e.imagePath) {
|
|
@@ -256,20 +257,20 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
256
257
|
} finally {
|
|
257
258
|
T.value = !1;
|
|
258
259
|
}
|
|
259
|
-
}, $ = async (
|
|
260
|
+
}, $ = async (e) => {
|
|
260
261
|
let n = {
|
|
261
262
|
appKey: C.appKey,
|
|
262
263
|
appSalt: C.appSalt,
|
|
263
264
|
id: C.ids.data.forecastId,
|
|
264
|
-
variables: { dateTime:
|
|
265
|
+
variables: { dateTime: e || O.value[O.value.length - 1]?.date_time || "" },
|
|
265
266
|
baseHttp: C.baseHttp,
|
|
266
267
|
reqType: C.ids.data.reqType,
|
|
267
268
|
isFormData: C.ids.data.isFormData
|
|
268
269
|
};
|
|
269
270
|
try {
|
|
270
|
-
let
|
|
271
|
-
console.log(
|
|
272
|
-
let r =
|
|
271
|
+
let e = await t(n);
|
|
272
|
+
console.log(e, "雷达外推数据");
|
|
273
|
+
let r = e.data?.result?.output || "", i = {};
|
|
273
274
|
try {
|
|
274
275
|
i = typeof r == "string" ? JSON.parse(r) : r;
|
|
275
276
|
} catch (e) {
|
|
@@ -302,7 +303,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
302
303
|
}), console.log(k.value, "forecastList 外推数据");
|
|
303
304
|
}, Le = async () => {
|
|
304
305
|
try {
|
|
305
|
-
let
|
|
306
|
+
let e = (await t({
|
|
306
307
|
appKey: C.appKey,
|
|
307
308
|
appSalt: C.appSalt,
|
|
308
309
|
id: C.ids.data.radarListId,
|
|
@@ -311,7 +312,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
311
312
|
reqType: C.ids.data.reqType,
|
|
312
313
|
isFormData: C.ids.data.isFormData
|
|
313
314
|
})).data?.result?.output || [];
|
|
314
|
-
|
|
315
|
+
e && e.length > 0 && (j.value = e, M.value = e[0], console.log(e, "雷达列表数据"));
|
|
315
316
|
} catch (e) {
|
|
316
317
|
console.error("获取雷达列表失败:", e);
|
|
317
318
|
}
|
|
@@ -445,9 +446,9 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
445
446
|
}, Ve = () => {
|
|
446
447
|
Y(), w("clearImg", "radarLayer"), w("close", "RadarTime");
|
|
447
448
|
};
|
|
448
|
-
return (
|
|
449
|
+
return (t, i) => {
|
|
449
450
|
let c = n;
|
|
450
|
-
return v((p(), o("div", b, [s("div", ne, [s("div", re, [
|
|
451
|
+
return v((p(), o("div", b, [s("div", ne, [s("div", re, [e.showCloseBtn ? (p(), o("div", {
|
|
451
452
|
key: 0,
|
|
452
453
|
class: "closeBtn",
|
|
453
454
|
onClick: Ve,
|
|
@@ -471,11 +472,11 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
|
|
|
471
472
|
onClick: (e) => Oe(t)
|
|
472
473
|
}, g(e.time), 11, le))), 128))])], 512), [[_, F.value]])], 512),
|
|
473
474
|
D.value.length > 0 && A.value >= 0 ? (p(), o("div", ue, [i[2] ||= s("span", { class: "RadarTime__node-label" }, "当前:", -1), s("span", de, g(D.value[A.value]?.time || "--:--"), 1)])) : a("", !0),
|
|
474
|
-
s("div", fe, [i[3] ||= s("span", { class: "RadarTime__legend-title" }, "图例", -1), s("div", pe, [(p(!0), o(r, null, h(
|
|
475
|
+
s("div", fe, [i[3] ||= s("span", { class: "RadarTime__legend-title" }, "图例", -1), s("div", pe, [(p(!0), o(r, null, h(e.legendData, (e, t) => (p(), o("div", {
|
|
475
476
|
key: t,
|
|
476
477
|
class: "RadarTime__legend-segment",
|
|
477
478
|
style: d({ backgroundColor: e.color })
|
|
478
|
-
}, null, 4))), 128)), s("div", x, [(p(!0), o(r, null, h(
|
|
479
|
+
}, null, 4))), 128)), s("div", x, [(p(!0), o(r, null, h(e.legendData, (e, t) => (p(), o("span", { key: t }, g(e.value), 1))), 128))])])])
|
|
479
480
|
]),
|
|
480
481
|
j.value.length > 0 ? (p(), o("div", me, [s("div", {
|
|
481
482
|
class: "RadarTime__station-dropdown",
|
package/dist/chunks/{component-RenderMarkdown-BA6QDwis.mjs → component-RenderMarkdown-Bi1MnEOL.mjs}
RENAMED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-xtkg3YYL.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DvOiS6XW.mjs";
|
|
2
3
|
import { createCommentVNode as n, createElementBlock as r, createElementVNode as i, defineComponent as a, onBeforeUnmount as o, onMounted as s, openBlock as c, ref as l, toDisplayString as u } from "vue";
|
|
3
4
|
//#region src/components/RenderMarkdown/RenderMarkdown.vue?vue&type=script&setup=true&lang.ts
|
|
4
5
|
var d = {
|
|
5
6
|
key: 0,
|
|
6
7
|
class: "RenderMarkdown"
|
|
7
|
-
}, f = { class: "RenderMarkdown-head" }, p = { class: "RenderMarkdown-head-top" }, m = { class: "duty-section" }, h = ["innerHTML"], g = /* @__PURE__ */
|
|
8
|
+
}, f = { class: "RenderMarkdown-head" }, p = { class: "RenderMarkdown-head-top" }, m = { class: "duty-section" }, h = ["innerHTML"], g = /* @__PURE__ */ e(/* @__PURE__ */ a({
|
|
8
9
|
__name: "RenderMarkdown",
|
|
9
10
|
props: {
|
|
10
11
|
appKey: {
|
|
@@ -29,8 +30,8 @@ var d = {
|
|
|
29
30
|
}
|
|
30
31
|
},
|
|
31
32
|
emits: ["close"],
|
|
32
|
-
setup(
|
|
33
|
-
let g =
|
|
33
|
+
setup(e, { emit: a }) {
|
|
34
|
+
let g = e, _ = a, v = l({}), y = l(null), b = async () => {
|
|
34
35
|
await x();
|
|
35
36
|
};
|
|
36
37
|
s(() => {
|
|
@@ -41,7 +42,7 @@ var d = {
|
|
|
41
42
|
y.value &&= (clearInterval(y.value), null);
|
|
42
43
|
});
|
|
43
44
|
let x = async () => {
|
|
44
|
-
v.value = (await
|
|
45
|
+
v.value = (await t({
|
|
45
46
|
appKey: g.appKey,
|
|
46
47
|
appSalt: g.appSalt,
|
|
47
48
|
id: g.ids.data.id,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-xtkg3YYL.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DvOiS6XW.mjs";
|
|
3
|
+
import { n } from "./component-GeologyLiveAlarm-BDKH6_3N.mjs";
|
|
3
4
|
import { ElIcon as r, ElLoadingDirective as i, ElRadio as a, ElRadioGroup as o } from "element-plus/es";
|
|
4
5
|
import { Fragment as s, computed as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, nextTick as h, normalizeClass as g, normalizeStyle as ee, onBeforeUnmount as te, 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";
|
|
@@ -35,7 +36,7 @@ var ie = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAQ
|
|
|
35
36
|
}, Fe = { class: "detail-popup-head" }, Ie = { class: "detail-popup-title" }, Le = { class: "detail-popup-row" }, Re = { class: "detail-popup-row" }, ze = { class: "detail-popup-row" }, Be = { class: "detail-popup-row" }, Ve = { class: "detail-popup-row" }, He = { class: "detail-popup-row" }, Ue = { key: 0 }, We = {
|
|
36
37
|
key: 0,
|
|
37
38
|
style: { "margin-right": "10px" }
|
|
38
|
-
}, Ge = { key: 1 }, Ke = { key: 1 }, E = "当前暂无报警", D = /* @__PURE__ */
|
|
39
|
+
}, Ge = { key: 1 }, Ke = { key: 1 }, E = "当前暂无报警", D = /* @__PURE__ */ e(/* @__PURE__ */ m({
|
|
39
40
|
__name: "ReservoirLiveAlarm",
|
|
40
41
|
props: {
|
|
41
42
|
appKey: {
|
|
@@ -63,8 +64,8 @@ var ie = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAQ
|
|
|
63
64
|
"removeDataTitle",
|
|
64
65
|
"toMapView"
|
|
65
66
|
],
|
|
66
|
-
setup(
|
|
67
|
-
let D =
|
|
67
|
+
setup(e, { emit: m }) {
|
|
68
|
+
let D = e, O = m, qe = v([]), k = v(""), A = v(!1), j = v(null), M = v(null), N = v("table"), P = v("1h降水"), F = v(!1), I = v(!1), L = v({}), R = v("水库点观测时间:--"), z = v([]), B = v({}), V = v({}), H = null, Je = c(() => k.value === E ? "#52c41a" : "#ff4d4f"), U = (e) => (e || []).filter((e) => X(e)).length, W = () => H || (H = new Audio(n), H.preload = "auto", H), Ye = () => new Promise((e) => {
|
|
68
69
|
let t = W();
|
|
69
70
|
t.volume = 0, t.currentTime = 0;
|
|
70
71
|
let n = t.play();
|
|
@@ -101,7 +102,7 @@ var ie = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAQ
|
|
|
101
102
|
});
|
|
102
103
|
let K = async () => {
|
|
103
104
|
A.value = !0;
|
|
104
|
-
let
|
|
105
|
+
let e = await t({
|
|
105
106
|
appKey: D.appKey,
|
|
106
107
|
appSalt: D.appSalt,
|
|
107
108
|
id: D.ids.data.id,
|
|
@@ -111,7 +112,7 @@ var ie = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAQ
|
|
|
111
112
|
isFormData: D.ids.data.isFormData
|
|
112
113
|
});
|
|
113
114
|
A.value = !1;
|
|
114
|
-
let n =
|
|
115
|
+
let n = e.data.result.ds;
|
|
115
116
|
console.log("得到数据", JSON.parse(JSON.stringify(n))), qe.value = n;
|
|
116
117
|
let r = R.value, i = $e(n);
|
|
117
118
|
R.value = i, O("removeDataTitle", r), setTimeout(() => {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-xtkg3YYL.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DvOiS6XW.mjs";
|
|
2
3
|
import { Fragment as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, getCurrentInstance as s, onMounted as c, openBlock as l, ref as u, renderList as d, toDisplayString as f, withModifiers as p } from "vue";
|
|
3
4
|
//#region src/components/ServiceMaterial/ServiceMaterial.vue?vue&type=script&setup=true&lang.ts
|
|
4
5
|
var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g = { class: "ServiceMaterial__head-top" }, _ = { class: "ServiceMaterial__body" }, v = { class: "ServiceMaterial__list" }, y = { class: "ServiceMaterial__list-container" }, b = { class: "ServiceMaterial__list-content" }, x = { class: "ServiceMaterial__list-col ServiceMaterial__list-col--name" }, S = ["title"], C = { class: "ServiceMaterial__list-col ServiceMaterial__list-col--time" }, w = { class: "ServiceMaterial__list-col ServiceMaterial__list-col--action" }, T = ["onClick"], E = ["onClick"], D = {
|
|
5
6
|
key: 0,
|
|
6
7
|
class: "ServiceMaterial__empty"
|
|
7
|
-
}, O = { class: "ServiceMaterial__list-footer" }, k = { class: "ServiceMaterial__total" }, A = /* @__PURE__ */
|
|
8
|
+
}, O = { class: "ServiceMaterial__list-footer" }, k = { class: "ServiceMaterial__total" }, A = /* @__PURE__ */ e(/* @__PURE__ */ o({
|
|
8
9
|
__name: "ServiceMaterial",
|
|
9
10
|
props: {
|
|
10
11
|
appKey: {
|
|
@@ -33,8 +34,8 @@ var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g
|
|
|
33
34
|
"preview",
|
|
34
35
|
"download"
|
|
35
36
|
],
|
|
36
|
-
setup(
|
|
37
|
-
let A = s()?.appContext.config.globalProperties.$bus, j =
|
|
37
|
+
setup(e, { emit: o }) {
|
|
38
|
+
let A = s()?.appContext.config.globalProperties.$bus, j = e, M = o, N = u(!1), P = u([]);
|
|
38
39
|
c(() => {
|
|
39
40
|
A?.on("toComponent", (e) => {
|
|
40
41
|
e.componentName === "ServiceMaterial" && F();
|
|
@@ -46,7 +47,7 @@ var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g
|
|
|
46
47
|
if (j.ids.data?.id) {
|
|
47
48
|
N.value = !0;
|
|
48
49
|
try {
|
|
49
|
-
let
|
|
50
|
+
let e = await t({
|
|
50
51
|
appKey: j.appKey,
|
|
51
52
|
appSalt: j.appSalt,
|
|
52
53
|
id: j.ids.data.id,
|
|
@@ -55,8 +56,8 @@ var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g
|
|
|
55
56
|
reqType: j.ids.data.reqType,
|
|
56
57
|
isFormData: j.ids.data.isFormData
|
|
57
58
|
});
|
|
58
|
-
console.log(
|
|
59
|
-
let n =
|
|
59
|
+
console.log(e, "服务材料数据");
|
|
60
|
+
let n = e.data?.result?.output || [];
|
|
60
61
|
Array.isArray(n) && n.length > 0 && (P.value = n.map((e) => ({
|
|
61
62
|
id: e.id || e.file_id,
|
|
62
63
|
name: e.name || e.file_name || e.title || "",
|
|
@@ -79,7 +80,7 @@ var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g
|
|
|
79
80
|
}, B = () => {
|
|
80
81
|
M("close", "ServiceMaterial");
|
|
81
82
|
};
|
|
82
|
-
return (
|
|
83
|
+
return (t, o) => (l(), i("div", m, [a("div", h, [a("div", g, [a("div", null, f(e.title), 1), a("div", {
|
|
83
84
|
class: "closeBtn",
|
|
84
85
|
onClick: B,
|
|
85
86
|
title: "关闭"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-xtkg3YYL.mjs";
|
|
2
2
|
import { ElButton as t, ElDialog as n } from "element-plus/es";
|
|
3
3
|
import { Fragment as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, defineComponent as c, isRef as l, onBeforeUnmount as u, onMounted as d, openBlock as f, ref as p, unref as m, withCtx as h } from "vue";
|
|
4
4
|
import "element-plus/es/components/dialog/style/css";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n as v } from "./component-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-xtkg3YYL.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DvOiS6XW.mjs";
|
|
3
|
+
import { A as n, C as r, D as i, E as ee, F as a, M as o, N as s, O as c, P as l, S as u, T as d, _ as f, a as p, b as m, c as te, d 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, o as h, p as g, r as _, s as de, u as fe, v as pe, w as me, x as he, y as ge } from "./component-HighwayWeatherForecast-CFnbV8Es.mjs";
|
|
4
|
+
import { n as v } from "./component-LithiumBatteryMiningArea-BGAEr-4D.mjs";
|
|
4
5
|
import { ElLoadingDirective as y, ElOption as b, ElSelect as x } from "element-plus/es";
|
|
5
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";
|
|
6
7
|
import * as ve from "echarts";
|
|
@@ -10,7 +11,7 @@ import "element-plus/es/components/option/style/css";
|
|
|
10
11
|
var ye = {
|
|
11
12
|
class: "TimeBasedForecast",
|
|
12
13
|
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
13
|
-
}, 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__ */ e(/* @__PURE__ */ E({
|
|
14
15
|
__name: "TimeBasedForecast",
|
|
15
16
|
props: {
|
|
16
17
|
appKey: {
|
|
@@ -31,8 +32,8 @@ var ye = {
|
|
|
31
32
|
}
|
|
32
33
|
},
|
|
33
34
|
emits: ["close"],
|
|
34
|
-
setup(
|
|
35
|
-
let B = D()?.appContext.config.globalProperties.$bus, V =
|
|
35
|
+
setup(e, { emit: E }) {
|
|
36
|
+
let B = D()?.appContext.config.globalProperties.$bus, V = e, Fe = E, H = N(null), U = null, Ie = [
|
|
36
37
|
"24小时预报",
|
|
37
38
|
"48小时预报",
|
|
38
39
|
"72小时预报",
|
|
@@ -56,16 +57,16 @@ var ye = {
|
|
|
56
57
|
Fe("close", "TimeBasedForecast");
|
|
57
58
|
}, Z = async () => {
|
|
58
59
|
Y.value = !0;
|
|
59
|
-
let
|
|
60
|
+
let e = {
|
|
60
61
|
lon: X.value.longitude,
|
|
61
62
|
lat: X.value.latitude,
|
|
62
63
|
hours: Number(W.value.replace("小时预报", "")),
|
|
63
64
|
unit_id: "3"
|
|
64
|
-
}, y = await
|
|
65
|
+
}, y = await t({
|
|
65
66
|
appKey: V.appKey,
|
|
66
67
|
appSalt: V.appSalt,
|
|
67
68
|
id: V.ids.data.id,
|
|
68
|
-
variables: { str: v.encode(JSON.stringify(
|
|
69
|
+
variables: { str: v.encode(JSON.stringify(e)) },
|
|
69
70
|
baseHttp: V.baseHttp,
|
|
70
71
|
reqType: V.ids.data.reqType,
|
|
71
72
|
isFormData: V.ids.data.isFormData
|
package/dist/chunks/{component-WarningLine-Dcn_betl.mjs → component-WarningLine-2IP9h9JP.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e } from "./component-
|
|
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 { i as e } from "./component-AiChat-DvOiS6XW.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-UpU-jUbO.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-q50D47rs.mjs → component-WarningSignal-DMypm-jM.mjs}
RENAMED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-xtkg3YYL.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DvOiS6XW.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-UpU-jUbO.mjs";
|
|
3
4
|
import { ElLoadingDirective as O } from "element-plus/es";
|
|
4
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";
|
|
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 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 = {
|
|
8
9
|
key: 0,
|
|
9
10
|
class: "wrap-body-table"
|
|
10
|
-
}, Ge = /* @__PURE__ */
|
|
11
|
+
}, Ge = /* @__PURE__ */ e({
|
|
11
12
|
__name: "warnPop",
|
|
12
13
|
props: { warnPopData: {
|
|
13
14
|
type: Object,
|
|
@@ -95,7 +96,7 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
|
|
|
95
96
|
} }, rt = { style: {
|
|
96
97
|
width: "40px",
|
|
97
98
|
"text-align": "center"
|
|
98
|
-
} }, it = ["onClick"], at = { key: 0 }, Q = /* @__PURE__ */
|
|
99
|
+
} }, it = ["onClick"], at = { key: 0 }, Q = /* @__PURE__ */ e(/* @__PURE__ */ P({
|
|
99
100
|
__name: "WarningSignal",
|
|
100
101
|
props: {
|
|
101
102
|
appKey: {
|
|
@@ -133,8 +134,8 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
|
|
|
133
134
|
"view",
|
|
134
135
|
"changeMapView"
|
|
135
136
|
],
|
|
136
|
-
setup(
|
|
137
|
-
let A = Ve()?.appContext.config.globalProperties.$bus, P =
|
|
137
|
+
setup(e, { emit: S }) {
|
|
138
|
+
let A = Ve()?.appContext.config.globalProperties.$bus, P = e, F = S, I = R(!1), B = R([]), V = R(!1), W = R({}), G = {
|
|
138
139
|
大风: "big_wind",
|
|
139
140
|
暴雨: "rain_storm",
|
|
140
141
|
台风: "typhoon",
|
|
@@ -244,10 +245,10 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
|
|
|
244
245
|
await Y();
|
|
245
246
|
}, Y = async () => {
|
|
246
247
|
I.value = !0;
|
|
247
|
-
let
|
|
248
|
-
if (P.dataType === "static")
|
|
248
|
+
let e = [];
|
|
249
|
+
if (P.dataType === "static") e = P.staticData || [], console.log("预警信号使用静态数据:", e);
|
|
249
250
|
else {
|
|
250
|
-
let n = await
|
|
251
|
+
let n = await t({
|
|
251
252
|
appKey: P.appKey,
|
|
252
253
|
appSalt: P.appSalt,
|
|
253
254
|
id: P.ids.data.id,
|
|
@@ -256,10 +257,10 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
|
|
|
256
257
|
reqType: P.ids.data.reqType,
|
|
257
258
|
isFormData: P.ids.data.isFormData
|
|
258
259
|
});
|
|
259
|
-
console.log(n, "预警信号"),
|
|
260
|
+
console.log(n, "预警信号"), e = n.data?.result?.output || [];
|
|
260
261
|
}
|
|
261
|
-
if (I.value = !1,
|
|
262
|
-
B.value =
|
|
262
|
+
if (I.value = !1, e && e.length > 0) {
|
|
263
|
+
B.value = e.map((e) => {
|
|
263
264
|
let t = e.lat, n = e.lng || e.lon;
|
|
264
265
|
if (!t || !n) {
|
|
265
266
|
let e = (Math.random() - .5) * .8, r = (Math.random() - .5) * 1.2;
|
|
@@ -273,7 +274,7 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
|
|
|
273
274
|
lon: n
|
|
274
275
|
};
|
|
275
276
|
});
|
|
276
|
-
let
|
|
277
|
+
let t = { mapMarker: {
|
|
277
278
|
clickOpen: !0,
|
|
278
279
|
drawArrObj: [],
|
|
279
280
|
spotObject: [{
|
|
@@ -289,7 +290,7 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
|
|
|
289
290
|
}))
|
|
290
291
|
}]
|
|
291
292
|
} };
|
|
292
|
-
console.log("预警信号标记数据:",
|
|
293
|
+
console.log("预警信号标记数据:", t), console.log("spotArrone长度:", t.mapMarker.spotObject[0].spotArrone.length), console.log("第一个标记:", t.mapMarker.spotObject[0].spotArrone[0]), F("addMarker", t);
|
|
293
294
|
}
|
|
294
295
|
}, X = (e) => {
|
|
295
296
|
F("changeMapView", e);
|
|
@@ -396,10 +397,10 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
|
|
|
396
397
|
}
|
|
397
398
|
return t && n && $[t]?.[n] ? $[t][n] : null;
|
|
398
399
|
}
|
|
399
|
-
return (
|
|
400
|
+
return (t, n) => {
|
|
400
401
|
let r = O;
|
|
401
402
|
return H((L(), M("div", Ke, [
|
|
402
|
-
N("div", qe, [N("div", Je, [N("div", null, z(
|
|
403
|
+
N("div", qe, [N("div", Je, [N("div", null, z(e.title), 1), N("div", {
|
|
403
404
|
class: "closeBtn",
|
|
404
405
|
onClick: ot,
|
|
405
406
|
title: "关闭"
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n as k } from "./component-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-xtkg3YYL.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DvOiS6XW.mjs";
|
|
3
|
+
import { A as n, C as r, D as i, E as a, F as o, M as s, N as ee, O as c, P as l, S as u, T as d, _ as f, a as te, b as ne, c as re, d as ie, f as ae, g as p, h as m, i as h, j as g, k as _, l as v, m as y, o as b, p as x, r as S, s as C, u as w, v as T, w as E, x as D, y as O } from "./component-HighwayWeatherForecast-CFnbV8Es.mjs";
|
|
4
|
+
import { n as k } from "./component-LithiumBatteryMiningArea-BGAEr-4D.mjs";
|
|
4
5
|
import { ElLoadingDirective as A } from "element-plus/es";
|
|
5
6
|
import { Fragment as j, createElementBlock as M, createElementVNode as N, defineComponent as P, getCurrentInstance as F, onMounted as I, openBlock as L, ref as R, renderList as z, toDisplayString as B, withDirectives as V } from "vue";
|
|
6
7
|
//#region src/components/WeatherForecast/WeatherForecast.vue?vue&type=script&setup=true&lang.ts
|
|
7
8
|
var H = {
|
|
8
9
|
class: "WeatherForecast",
|
|
9
10
|
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
10
|
-
}, U = { class: "WeatherForecast__head" }, W = { class: "WeatherForecast__head-top" }, G = { class: "WeatherForecast__body" }, K = { class: "WeatherForecast__wrap" }, q = ["src", "alt"], J = /* @__PURE__ */
|
|
11
|
+
}, U = { class: "WeatherForecast__head" }, W = { class: "WeatherForecast__head-top" }, G = { class: "WeatherForecast__body" }, K = { class: "WeatherForecast__wrap" }, q = ["src", "alt"], J = /* @__PURE__ */ e(/* @__PURE__ */ P({
|
|
11
12
|
__name: "WeatherForecast",
|
|
12
13
|
props: {
|
|
13
14
|
appKey: {
|
|
@@ -32,8 +33,8 @@ var H = {
|
|
|
32
33
|
}
|
|
33
34
|
},
|
|
34
35
|
emits: ["close"],
|
|
35
|
-
setup(
|
|
36
|
-
let J = F()?.appContext.config.globalProperties.$bus, Y =
|
|
36
|
+
setup(e, { emit: P }) {
|
|
37
|
+
let J = F()?.appContext.config.globalProperties.$bus, Y = e, oe = P, X = R(!1), Z = R([]), Q = R({});
|
|
37
38
|
R([
|
|
38
39
|
{
|
|
39
40
|
name: "阿克苏市",
|
|
@@ -98,15 +99,15 @@ var H = {
|
|
|
98
99
|
oe("close", "WeatherForecast");
|
|
99
100
|
}, le = async () => {
|
|
100
101
|
X.value = !0;
|
|
101
|
-
let
|
|
102
|
+
let e = {
|
|
102
103
|
lon: Q.value.longitude,
|
|
103
104
|
lat: Q.value.latitude,
|
|
104
105
|
hours: 168
|
|
105
|
-
}, A = await
|
|
106
|
+
}, A = await t({
|
|
106
107
|
appKey: Y.appKey,
|
|
107
108
|
appSalt: Y.appSalt,
|
|
108
109
|
id: Y.ids.data.id,
|
|
109
|
-
variables: { str: k.encode(JSON.stringify(
|
|
110
|
+
variables: { str: k.encode(JSON.stringify(e)) },
|
|
110
111
|
baseHttp: Y.baseHttp,
|
|
111
112
|
reqType: Y.ids.data.reqType,
|
|
112
113
|
isFormData: Y.ids.data.isFormData
|
|
@@ -177,9 +178,9 @@ var H = {
|
|
|
177
178
|
};
|
|
178
179
|
});
|
|
179
180
|
};
|
|
180
|
-
return (
|
|
181
|
+
return (t, n) => {
|
|
181
182
|
let r = A;
|
|
182
|
-
return V((L(), M("div", H, [N("div", U, [N("div", W, [N("div", null, B(
|
|
183
|
+
return V((L(), M("div", H, [N("div", U, [N("div", W, [N("div", null, B(e.title), 1), N("div", {
|
|
183
184
|
class: "closeBtn",
|
|
184
185
|
onClick: ce,
|
|
185
186
|
title: "关闭"
|