nxd-plugin 1.7.74 → 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 +8 -6
- 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-YqVCokC1.mjs +1175 -0
- 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 +4 -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-CQMg5jup.mjs +0 -47554
- package/dist/chunks/component-AqiMonitor-Bnnw0FMj.mjs +0 -5151
- package/dist/chunks/component-HighQuality-CCKtA_xe.mjs +0 -1087
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { i as e } from "./component-AiChat-DvOiS6XW.mjs";
|
|
2
|
+
import { ElLoadingDirective as t } from "element-plus/es";
|
|
3
|
+
import { Fragment as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createStaticVNode as o, defineComponent as s, getCurrentInstance as c, onMounted as l, openBlock as u, ref as d, renderList as f, toDisplayString as p, vModelRadio as m, withDirectives as h } from "vue";
|
|
4
|
+
//#region src/assets/img/head.png
|
|
5
|
+
var g = "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", _ = (e, t) => {
|
|
6
|
+
let n = e.__vccOpts || e;
|
|
7
|
+
for (let [e, r] of t) n[e] = r;
|
|
8
|
+
return n;
|
|
9
|
+
}, v = {
|
|
10
|
+
class: "AqiMonitor",
|
|
11
|
+
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
12
|
+
}, y = { class: "AqiMonitor__head" }, b = { class: "AqiMonitor__head-top" }, x = { class: "AqiMonitor__body" }, S = { class: "control-group" }, C = { class: "radio-group" }, w = ["value"], T = { class: "table-container" }, E = { class: "table-scroll-body" }, D = { class: "data-table" }, O = ["title"], k = { style: {
|
|
13
|
+
width: "80px",
|
|
14
|
+
"text-align": "center"
|
|
15
|
+
} }, A = { style: {
|
|
16
|
+
width: "70px",
|
|
17
|
+
"text-align": "center"
|
|
18
|
+
} }, j = { style: {
|
|
19
|
+
width: "70px",
|
|
20
|
+
"text-align": "center"
|
|
21
|
+
} }, M = { style: {
|
|
22
|
+
width: "80px",
|
|
23
|
+
"text-align": "center"
|
|
24
|
+
} }, N = { key: 0 }, P = /* @__PURE__ */ _(/* @__PURE__ */ s({
|
|
25
|
+
__name: "AqiMonitor",
|
|
26
|
+
props: {
|
|
27
|
+
appKey: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: ""
|
|
30
|
+
},
|
|
31
|
+
appSalt: {
|
|
32
|
+
type: String,
|
|
33
|
+
default: ""
|
|
34
|
+
},
|
|
35
|
+
baseHttp: {
|
|
36
|
+
type: String,
|
|
37
|
+
default: ""
|
|
38
|
+
},
|
|
39
|
+
ids: {
|
|
40
|
+
type: Object,
|
|
41
|
+
default: () => ({})
|
|
42
|
+
},
|
|
43
|
+
title: {
|
|
44
|
+
type: String,
|
|
45
|
+
default: "自动站"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
emits: ["close"],
|
|
49
|
+
setup(s, { emit: g }) {
|
|
50
|
+
let _ = c()?.appContext.config.globalProperties.$bus, P = s, F = g, I = d(!1), L = d([]), R = d("precipitation"), z = d([
|
|
51
|
+
{
|
|
52
|
+
value: "precipitation",
|
|
53
|
+
label: "降水量"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
value: "maxTemp",
|
|
57
|
+
label: "最高温"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
value: "minTemp",
|
|
61
|
+
label: "最低温"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
value: "maxWindSpeed",
|
|
65
|
+
label: "极大风速"
|
|
66
|
+
}
|
|
67
|
+
]);
|
|
68
|
+
l(() => {
|
|
69
|
+
_?.on("toComponent", (e) => {
|
|
70
|
+
e.componentName === "AqiMonitor" && B();
|
|
71
|
+
}), B();
|
|
72
|
+
});
|
|
73
|
+
let B = async () => {
|
|
74
|
+
await V();
|
|
75
|
+
}, V = async () => {
|
|
76
|
+
I.value = !0;
|
|
77
|
+
let t = await e({
|
|
78
|
+
appKey: P.appKey,
|
|
79
|
+
appSalt: P.appSalt,
|
|
80
|
+
id: P.ids.data.id,
|
|
81
|
+
variables: {},
|
|
82
|
+
baseHttp: P.baseHttp,
|
|
83
|
+
reqType: P.ids.data.reqType,
|
|
84
|
+
isFormData: P.ids.data.isFormData
|
|
85
|
+
});
|
|
86
|
+
I.value = !1, console.log(t, "自动站数据");
|
|
87
|
+
let n = t.data?.result?.output || [];
|
|
88
|
+
n && n.length > 0 && (L.value = n.map((e) => ({
|
|
89
|
+
...e,
|
|
90
|
+
station_name: e.station_name || e.name || "",
|
|
91
|
+
precipitation: e.precipitation ?? null,
|
|
92
|
+
max_temp: e.max_temp ?? e.temperature_max ?? null,
|
|
93
|
+
min_temp: e.min_temp ?? e.temperature_min ?? null,
|
|
94
|
+
max_wind_speed: e.max_wind_speed ?? e.wind_speed_max ?? null
|
|
95
|
+
})));
|
|
96
|
+
}, H = () => {
|
|
97
|
+
F("close", "AqiMonitor");
|
|
98
|
+
};
|
|
99
|
+
return (e, c) => {
|
|
100
|
+
let l = t;
|
|
101
|
+
return h((u(), i("div", v, [a("div", y, [a("div", b, [a("div", null, p(s.title), 1), a("div", {
|
|
102
|
+
class: "closeBtn",
|
|
103
|
+
onClick: H,
|
|
104
|
+
title: "关闭"
|
|
105
|
+
})]), c[1] ||= a("img", {
|
|
106
|
+
class: "AqiMonitor__head-line",
|
|
107
|
+
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",
|
|
108
|
+
alt: ""
|
|
109
|
+
}, null, -1)]), a("div", x, [a("div", S, [c[2] ||= a("label", { class: "control-label" }, "显示设置:", -1), a("div", C, [(u(!0), i(n, null, f(z.value, (e) => (u(), i("label", {
|
|
110
|
+
class: "radio-item",
|
|
111
|
+
key: e.value
|
|
112
|
+
}, [h(a("input", {
|
|
113
|
+
type: "radio",
|
|
114
|
+
"onUpdate:modelValue": c[0] ||= (e) => R.value = e,
|
|
115
|
+
value: e.value
|
|
116
|
+
}, null, 8, w), [[m, R.value]]), a("span", null, p(e.label), 1)]))), 128))])]), a("div", T, [c[4] ||= o("<table class=\"data-table\" data-v-94aab511><thead data-v-94aab511><tr data-v-94aab511><th style=\"min-width:100px;text-align:center;\" data-v-94aab511>站名</th><th style=\"width:80px;text-align:center;\" data-v-94aab511>降水量</th><th style=\"width:70px;text-align:center;\" data-v-94aab511>最高温</th><th style=\"width:70px;text-align:center;\" data-v-94aab511>最低温</th><th style=\"width:80px;text-align:center;\" data-v-94aab511>极大风速</th></tr></thead></table>", 1), a("div", E, [a("table", D, [a("tbody", null, [(u(!0), i(n, null, f(L.value, (e, t) => (u(), i("tr", { key: t }, [
|
|
117
|
+
a("td", {
|
|
118
|
+
style: {
|
|
119
|
+
"min-width": "100px",
|
|
120
|
+
overflow: "hidden",
|
|
121
|
+
"text-overflow": "ellipsis",
|
|
122
|
+
"white-space": "nowrap"
|
|
123
|
+
},
|
|
124
|
+
title: e.station_name
|
|
125
|
+
}, p(e.station_name), 9, O),
|
|
126
|
+
a("td", k, p(e.precipitation ?? "-"), 1),
|
|
127
|
+
a("td", A, p(e.max_temp ?? "-") + "℃", 1),
|
|
128
|
+
a("td", j, p(e.min_temp ?? "-") + "℃", 1),
|
|
129
|
+
a("td", M, p(e.max_wind_speed ?? "-") + "m/s", 1)
|
|
130
|
+
]))), 128)), !L.value || !L.value.length ? (u(), i("tr", N, [...c[3] ||= [a("td", {
|
|
131
|
+
colspan: "5",
|
|
132
|
+
class: "empty-state"
|
|
133
|
+
}, "暂无数据", -1)]])) : r("", !0)])])])])])])), [[l, I.value]]);
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
}), [["__scopeId", "data-v-94aab511"]]);
|
|
137
|
+
//#endregion
|
|
138
|
+
export { _ as n, g as r, P as t };
|
|
@@ -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, ElOption as r, ElSelect as i } from "element-plus/es";
|
|
3
4
|
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";
|
|
4
5
|
import * as b from "echarts";
|
|
@@ -9,7 +10,7 @@ import "element-plus/es/components/option/style/css";
|
|
|
9
10
|
var x = {
|
|
10
11
|
class: "ChartCumulativePre",
|
|
11
12
|
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
12
|
-
}, S = { class: "ChartCumulativePre-head" }, C = { class: "ChartCumulativePre-head-top" }, w = { class: "ChartCumulativePre-filters" }, T = { class: "filter-item" }, E = /* @__PURE__ */
|
|
13
|
+
}, S = { class: "ChartCumulativePre-head" }, C = { class: "ChartCumulativePre-head-top" }, w = { class: "ChartCumulativePre-filters" }, T = { class: "filter-item" }, E = /* @__PURE__ */ e(/* @__PURE__ */ u({
|
|
13
14
|
__name: "ChartCumulativePre",
|
|
14
15
|
props: {
|
|
15
16
|
appKey: {
|
|
@@ -29,8 +30,8 @@ var x = {
|
|
|
29
30
|
default: () => ({})
|
|
30
31
|
}
|
|
31
32
|
},
|
|
32
|
-
setup(
|
|
33
|
-
let E =
|
|
33
|
+
setup(e, { emit: u }) {
|
|
34
|
+
let E = e, 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([]);
|
|
34
35
|
f(() => {
|
|
35
36
|
L(), P.value = setInterval(() => {
|
|
36
37
|
L();
|
|
@@ -47,7 +48,7 @@ var x = {
|
|
|
47
48
|
}, 1e3 * 10);
|
|
48
49
|
}, R = async () => {
|
|
49
50
|
O.value = !0;
|
|
50
|
-
let
|
|
51
|
+
let e = await t({
|
|
51
52
|
appKey: E.appKey,
|
|
52
53
|
appSalt: E.appSalt,
|
|
53
54
|
id: E.ids.data.id,
|
|
@@ -57,7 +58,7 @@ var x = {
|
|
|
57
58
|
isFormData: E.ids.data.isFormData
|
|
58
59
|
});
|
|
59
60
|
O.value = !1;
|
|
60
|
-
let n =
|
|
61
|
+
let n = e.data.result || {};
|
|
61
62
|
I.value = n.stationData || [];
|
|
62
63
|
let r = n.stationSelect || [];
|
|
63
64
|
N.value = r, !M.value && r.length > 0 && (M.value = r[0].stationNumber);
|
|
@@ -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, ElOption as r, ElSelect as i } from "element-plus/es";
|
|
3
4
|
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";
|
|
4
5
|
import * as y from "echarts";
|
|
@@ -9,7 +10,7 @@ import "element-plus/es/components/option/style/css";
|
|
|
9
10
|
var b = {
|
|
10
11
|
class: "ChartServiceMaterial",
|
|
11
12
|
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
12
|
-
}, x = { class: "ChartServiceMaterial-head" }, S = { class: "ChartServiceMaterial-head-top" }, C = { class: "ChartServiceMaterial-filters" }, w = { class: "filter-item" }, T = /* @__PURE__ */
|
|
13
|
+
}, x = { class: "ChartServiceMaterial-head" }, S = { class: "ChartServiceMaterial-head-top" }, C = { class: "ChartServiceMaterial-filters" }, w = { class: "filter-item" }, T = /* @__PURE__ */ e(/* @__PURE__ */ u({
|
|
13
14
|
__name: "ChartServiceMaterial",
|
|
14
15
|
props: {
|
|
15
16
|
appKey: {
|
|
@@ -29,8 +30,8 @@ var b = {
|
|
|
29
30
|
default: () => ({})
|
|
30
31
|
}
|
|
31
32
|
},
|
|
32
|
-
setup(
|
|
33
|
-
let T =
|
|
33
|
+
setup(e, { emit: u }) {
|
|
34
|
+
let T = e, E = u, D = m(!1), O = m("服务种类"), k = m([{
|
|
34
35
|
value: "服务种类",
|
|
35
36
|
label: "服务种类"
|
|
36
37
|
}, {
|
|
@@ -45,7 +46,7 @@ var b = {
|
|
|
45
46
|
M.value && clearInterval(M.value), M.value = null, N.value && clearInterval(N.value), N.value = null, j &&= (j.dispose(), null);
|
|
46
47
|
});
|
|
47
48
|
let F = async () => {
|
|
48
|
-
N.value &&= (clearInterval(N.value), null), D.value = !0, P.value = (await
|
|
49
|
+
N.value &&= (clearInterval(N.value), null), D.value = !0, P.value = (await t({
|
|
49
50
|
appKey: T.appKey,
|
|
50
51
|
appSalt: T.appSalt,
|
|
51
52
|
id: T.ids.data.id,
|
|
@@ -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 { 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";
|
|
3
4
|
//#region src/components/Duty/Duty.vue?vue&type=script&setup=true&lang.ts
|
|
4
5
|
var p = { class: "Duty" }, m = { class: "duty-section" }, h = {
|
|
@@ -19,7 +20,7 @@ var p = { class: "Duty" }, m = { class: "duty-section" }, h = {
|
|
|
19
20
|
}, T = { class: "main-shift-name" }, E = {
|
|
20
21
|
key: 5,
|
|
21
22
|
class: "duty-phone-row"
|
|
22
|
-
}, D = { class: "main-shift-name" }, O = /* @__PURE__ */
|
|
23
|
+
}, D = { class: "main-shift-name" }, O = /* @__PURE__ */ e(/* @__PURE__ */ s({
|
|
23
24
|
__name: "Duty",
|
|
24
25
|
props: {
|
|
25
26
|
appKey: {
|
|
@@ -40,8 +41,8 @@ var p = { class: "Duty" }, m = { class: "duty-section" }, h = {
|
|
|
40
41
|
}
|
|
41
42
|
},
|
|
42
43
|
emits: ["close"],
|
|
43
|
-
setup(
|
|
44
|
-
let O =
|
|
44
|
+
setup(e, { emit: s }) {
|
|
45
|
+
let O = e, k = s, A = d([]), j = d(null);
|
|
45
46
|
l(() => {
|
|
46
47
|
M(), j.value = setInterval(() => {
|
|
47
48
|
M();
|
|
@@ -52,7 +53,7 @@ var p = { class: "Duty" }, m = { class: "duty-section" }, h = {
|
|
|
52
53
|
let M = async () => {
|
|
53
54
|
await N();
|
|
54
55
|
}, N = async () => {
|
|
55
|
-
A.value = (await
|
|
56
|
+
A.value = (await t({
|
|
56
57
|
appKey: O.appKey,
|
|
57
58
|
appSalt: O.appSalt,
|
|
58
59
|
id: O.ids.duty.id,
|
|
@@ -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, ElOption as r, ElSelect as i } from "element-plus/es";
|
|
3
4
|
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";
|
|
4
5
|
import * as y from "echarts";
|
|
@@ -9,7 +10,7 @@ import "element-plus/es/components/option/style/css";
|
|
|
9
10
|
var b = {
|
|
10
11
|
class: "EarlyWarningStatistic",
|
|
11
12
|
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
12
|
-
}, x = { class: "EarlyWarningStatistic-head" }, S = { class: "EarlyWarningStatistic-head-top" }, C = { class: "EarlyWarningStatistic-filters" }, w = { class: "filter-item" }, T = /* @__PURE__ */
|
|
13
|
+
}, x = { class: "EarlyWarningStatistic-head" }, S = { class: "EarlyWarningStatistic-head-top" }, C = { class: "EarlyWarningStatistic-filters" }, w = { class: "filter-item" }, T = /* @__PURE__ */ e(/* @__PURE__ */ u({
|
|
13
14
|
__name: "EarlyWarningStatistic",
|
|
14
15
|
props: {
|
|
15
16
|
appKey: {
|
|
@@ -29,8 +30,8 @@ var b = {
|
|
|
29
30
|
default: () => ({})
|
|
30
31
|
}
|
|
31
32
|
},
|
|
32
|
-
setup(
|
|
33
|
-
let T =
|
|
33
|
+
setup(e, { emit: u }) {
|
|
34
|
+
let T = e, E = u, D = m(!1), O = m("预警等级"), k = m([{
|
|
34
35
|
value: "预警等级",
|
|
35
36
|
label: "预警等级"
|
|
36
37
|
}, {
|
|
@@ -45,7 +46,7 @@ var b = {
|
|
|
45
46
|
A.value &&= (clearInterval(A.value), null), j.value &&= (clearInterval(j.value), null), N &&= (N.dispose(), null);
|
|
46
47
|
});
|
|
47
48
|
let F = async () => {
|
|
48
|
-
j.value &&= (clearInterval(j.value), null), D.value = !0, P.value = (await
|
|
49
|
+
j.value &&= (clearInterval(j.value), null), D.value = !0, P.value = (await t({
|
|
49
50
|
appKey: T.appKey,
|
|
50
51
|
appSalt: T.appSalt,
|
|
51
52
|
id: T.ids.data.id,
|
|
@@ -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 { ElIcon as n, ElLoadingDirective as r, ElRadio as i, ElRadioGroup as a } from "element-plus/es";
|
|
3
4
|
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, nextTick as m, normalizeClass as h, normalizeStyle as ee, onBeforeUnmount as g, onMounted as te, 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";
|
|
4
5
|
import { ArrowRight as T } from "@element-plus/icons-vue";
|
|
@@ -34,7 +35,7 @@ var E = "data:audio/mpeg;base64,SUQzBAAAAAAAfVRYWFgAAAAZAAADY29tbWVudAB3d3cuaWdv
|
|
|
34
35
|
}, 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 = {
|
|
35
36
|
key: 0,
|
|
36
37
|
style: { "margin-right": "10px" }
|
|
37
|
-
}, We = { key: 1 }, Ge = { key: 1 }, D = "当前暂无报警", O = /* @__PURE__ */
|
|
38
|
+
}, We = { key: 1 }, Ge = { key: 1 }, D = "当前暂无报警", O = /* @__PURE__ */ e(/* @__PURE__ */ p({
|
|
38
39
|
__name: "GeologyLiveAlarm",
|
|
39
40
|
props: {
|
|
40
41
|
appKey: {
|
|
@@ -62,8 +63,8 @@ var E = "data:audio/mpeg;base64,SUQzBAAAAAAAfVRYWFgAAAAZAAADY29tbWVudAB3d3cuaWdv
|
|
|
62
63
|
"removeDataTitle",
|
|
63
64
|
"toMapView"
|
|
64
65
|
],
|
|
65
|
-
setup(
|
|
66
|
-
let O =
|
|
66
|
+
setup(e, { emit: p }) {
|
|
67
|
+
let O = e, 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) => {
|
|
67
68
|
let t = G();
|
|
68
69
|
t.volume = 0, t.currentTime = 0;
|
|
69
70
|
let n = t.play();
|
|
@@ -100,7 +101,7 @@ var E = "data:audio/mpeg;base64,SUQzBAAAAAAAfVRYWFgAAAAZAAADY29tbWVudAB3d3cuaWdv
|
|
|
100
101
|
});
|
|
101
102
|
let q = async () => {
|
|
102
103
|
j.value = !0;
|
|
103
|
-
let
|
|
104
|
+
let e = await t({
|
|
104
105
|
appKey: O.appKey,
|
|
105
106
|
appSalt: O.appSalt,
|
|
106
107
|
id: O.ids.data.id,
|
|
@@ -110,7 +111,7 @@ var E = "data:audio/mpeg;base64,SUQzBAAAAAAAfVRYWFgAAAAZAAADY29tbWVudAB3d3cuaWdv
|
|
|
110
111
|
isFormData: O.ids.data.isFormData
|
|
111
112
|
});
|
|
112
113
|
j.value = !1;
|
|
113
|
-
let n =
|
|
114
|
+
let n = e.data.result.ds;
|
|
114
115
|
console.log("得到数据", JSON.parse(JSON.stringify(n))), Ke.value = n;
|
|
115
116
|
let r = z.value, i = $e(n);
|
|
116
117
|
z.value = i, k("removeDataTitle", r), setTimeout(() => {
|