nxd-plugin 1.8.30 → 1.8.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/YCServiceSummary-DV3m13Hv.mjs +2 -0
- package/dist/chunks/component-Agent-Cm4CMOGO.mjs +383 -0
- package/dist/chunks/{component-AiChat-COULZNRK.mjs → component-AiChat-HpEVNeXU.mjs} +1082 -1105
- package/dist/chunks/{component-AqiMonitor-C9khnF2x.mjs → component-AqiMonitor-CQB7tv42.mjs} +10 -9
- package/dist/chunks/{component-ChartCumulativePre-CmcRqyrN.mjs → component-ChartCumulativePre-UGMGIaSD.mjs} +8 -7
- package/dist/chunks/{component-ChartServiceMaterial-FwkbU2Z-.mjs → component-ChartServiceMaterial-DYZnc6HE.mjs} +7 -6
- package/dist/chunks/{component-Duty-DhQkYGMU.mjs → component-Duty-CvJFScnU.mjs} +7 -6
- package/dist/chunks/{component-EarlyWarningStatistic-DUjk3de9.mjs → component-EarlyWarningStatistic-D2eRD1Y0.mjs} +7 -6
- package/dist/chunks/{component-EarlyWarningStatistic2-kHvwn4zP.mjs → component-EarlyWarningStatistic2-Duf6s5TU.mjs} +16 -15
- package/dist/chunks/{component-Forecast72h-yd9t3176.mjs → component-Forecast72h-D6kx3ogZ.mjs} +17 -16
- package/dist/chunks/{component-GeologyLiveAlarm-BIDfv4JR.mjs → component-GeologyLiveAlarm-D5rJ_DDm.mjs} +8 -7
- package/dist/chunks/{component-GridForecastMsg-D8dHHVHX.mjs → component-GridForecastMsg-DOx8B4aT.mjs} +9 -8
- package/dist/chunks/{component-HDSeaLegend-DkPk1gQ1.mjs → component-HDSeaLegend-DfaUIAY4.mjs} +2 -2
- package/dist/chunks/{component-HdCameraList-nPxzUdmB.mjs → component-HdCameraList-DFp_aEZB.mjs} +12 -11
- package/dist/chunks/{component-HdFarmStation-BDN_u87-.mjs → component-HdFarmStation-RMkcJKM_.mjs} +12 -11
- package/dist/chunks/{component-HdFarmStationDialog-CMKGe0YJ.mjs → component-HdFarmStationDialog-DXhVyrN-.mjs} +34 -33
- package/dist/chunks/{component-HdForecastProducts-C40qTOYa.mjs → component-HdForecastProducts-Cl7ciBRO.mjs} +11 -10
- package/dist/chunks/{component-HdHeatChart-Bw3VlWeE.mjs → component-HdHeatChart-EDjbIEIa.mjs} +13 -12
- package/dist/chunks/{component-HdHeatChartDialog-C0FfI8Zv.mjs → component-HdHeatChartDialog-CM5JN1_S.mjs} +12 -11
- package/dist/chunks/{component-HdHeatService-CIee1NwQ.mjs → component-HdHeatService-BcBoR9o7.mjs} +35 -34
- package/dist/chunks/{component-HdInsectDetailList-C_T57sID.mjs → component-HdInsectDetailList-BdEF2wR3.mjs} +17 -16
- package/dist/chunks/{component-HdInsectList-Bt48xM1M.mjs → component-HdInsectList-F_CWLwzX.mjs} +19 -18
- package/dist/chunks/{component-HdMajorActivity-CyAgx0og.mjs → component-HdMajorActivity-Cy2eP4St.mjs} +24 -23
- package/dist/chunks/{component-HdObservation-CY8TNPK8.mjs → component-HdObservation-CgjRJNKN.mjs} +11 -10
- package/dist/chunks/{component-HdPreSituation-CLXeQ_lX.mjs → component-HdPreSituation-DCBGp7j2.mjs} +10 -9
- package/dist/chunks/{component-HdQxServiceEffects-CzgyHOgp.mjs → component-HdQxServiceEffects-CbCofLaR.mjs} +11 -10
- package/dist/chunks/{component-HdRadarList--85ldZa2.mjs → component-HdRadarList-DP0CHxT-.mjs} +3 -3
- package/dist/chunks/{component-HdRadarTime-CJ--ljM9.mjs → component-HdRadarTime-KUc6alWx.mjs} +13 -12
- package/dist/chunks/{component-HdRadarTimeLine-jQxaaH8X.mjs → component-HdRadarTimeLine-B-gh24Ms.mjs} +14 -13
- package/dist/chunks/{component-HdRisk-HKXfRnuQ.mjs → component-HdRisk-BNMGDGIZ.mjs} +12 -11
- package/dist/chunks/{component-HdSeaCase-agNgpzcT.mjs → component-HdSeaCase-9zyw68M-.mjs} +27 -26
- package/dist/chunks/{component-HdServiceMarterial-DJA-s67d.mjs → component-HdServiceMarterial-QoHKI3Kn.mjs} +18 -17
- package/dist/chunks/{component-HdServiceRequirements-lXtnq5r2.mjs → component-HdServiceRequirements-BYe-G1Mh.mjs} +14 -13
- package/dist/chunks/{component-HdSoil-BtIq7NXx.mjs → component-HdSoil-B2WiCda3.mjs} +12 -11
- package/dist/chunks/{component-HdSoilDetailList-CxEzu-xk.mjs → component-HdSoilDetailList-Djriq1RD.mjs} +13 -12
- package/dist/chunks/{component-HdStationTem-CRfJb0wr.mjs → component-HdStationTem-Ct2beh9a.mjs} +18 -17
- package/dist/chunks/{component-HdSuggestion-2aFJRsau.mjs → component-HdSuggestion-SDIUMrXC.mjs} +14 -13
- package/dist/chunks/{component-HdThreeWeatherTrend-BWeGlUnt.mjs → component-HdThreeWeatherTrend-PcbYnx-q.mjs} +19 -18
- package/dist/chunks/{component-HdWaveForcast-DgcqZuG9.mjs → component-HdWaveForcast-Bw7vX1xw.mjs} +12 -11
- package/dist/chunks/{component-HighQuality-BNvi5OuR.mjs → component-HighQuality-ByrnjqiE.mjs} +17 -16
- package/dist/chunks/{component-HighWayEarlyWarningRed-DKqRexUr.mjs → component-HighWayEarlyWarningRed-BDgzUMlS.mjs} +17 -16
- package/dist/chunks/{component-HighWayFreeze-X9Lw4CtK.mjs → component-HighWayFreeze-szpetKFY.mjs} +9 -8
- package/dist/chunks/{component-HighwayLiveAlarm-BBXb3nQ-.mjs → component-HighwayLiveAlarm-CSdpFWFe.mjs} +7 -6
- package/dist/chunks/{component-HighwayLiveAlarmNew-DBZgrmS8.mjs → component-HighwayLiveAlarmNew-DbUPTPBH.mjs} +12 -11
- package/dist/chunks/{component-HighwayStations-k3ZCYTAH.mjs → component-HighwayStations-CNtSBBLD.mjs} +7 -6
- package/dist/chunks/{component-HighwayWeatherForecast-BAHrZUA9.mjs → component-HighwayWeatherForecast-oKik_1wG.mjs} +10 -9
- package/dist/chunks/{component-IframeWeb-DVfyMcAT.mjs → component-IframeWeb-KbZ-3_ry.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-QHD-5aqR.mjs → component-ImageGeneration-CZ3MhHFM.mjs} +2 -2
- package/dist/chunks/{component-IntroducePic-DYicnxvR.mjs → component-IntroducePic-unQNI8nA.mjs} +14 -13
- package/dist/chunks/{component-LithiumBatteryMiningArea-Cy9Rjgx5.mjs → component-LithiumBatteryMiningArea-baQ8LJ6A.mjs} +13 -12
- package/dist/chunks/{component-MapPopup-DRakngil.mjs → component-MapPopup-DbxxWkcS.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-C2AS-_sC.mjs → component-MaterialPreview-BopOLX9T.mjs} +6 -5
- package/dist/chunks/{component-PieLegend-DoIRy55w.mjs → component-PieLegend-CxXTe7ex.mjs} +1 -1
- package/dist/chunks/{component-PrecipitationRanking-Cp8wK9V7.mjs → component-PrecipitationRanking-BGDK_Sa9.mjs} +28 -27
- package/dist/chunks/{component-RadarChart-BR1qSBxo.mjs → component-RadarChart-BpISXowv.mjs} +11 -10
- package/dist/chunks/{component-RadarLegend-BOwHlnqR.mjs → component-RadarLegend-pRd2JniW.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-tP7CSL0g.mjs → component-RadarShortTerm-B69JfjsO.mjs} +14 -13
- package/dist/chunks/{component-RadarTime-Dv46BtEz.mjs → component-RadarTime-DAHQlSOH.mjs} +19 -18
- package/dist/chunks/{component-RenderMarkdown-CVp2KsJr.mjs → component-RenderMarkdown-D6YdNtD-.mjs} +7 -6
- package/dist/chunks/{component-ReservoirLiveAlarm-D6SaqJel.mjs → component-ReservoirLiveAlarm-B6lKQPpR.mjs} +9 -8
- package/dist/chunks/{component-ServiceMaterial-B-meX-St.mjs → component-ServiceMaterial-BrKn201l.mjs} +10 -9
- package/dist/chunks/{component-ServiceMaterialsBtn-DYzPuzq_.mjs → component-ServiceMaterialsBtn-BHd4-_Wn.mjs} +2 -2
- package/dist/chunks/{component-StationDialog-CnAIJZcL.mjs → component-StationDialog-BrhC-iYT.mjs} +10 -9
- package/dist/chunks/{component-StationList-DvHUcP8A.mjs → component-StationList-5XxBSNXb.mjs} +10 -9
- package/dist/chunks/{component-TimeBasedForecast-DP7ZYRQB.mjs → component-TimeBasedForecast-Cw3a4ZdW.mjs} +11 -10
- package/dist/chunks/{component-Typhoon-46xEbA06.mjs → component-Typhoon-D1YFBv4l.mjs} +3 -2
- package/dist/chunks/{component-WarningLine-BzedbVnZ.mjs → component-WarningLine-BtNfoWBe.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-CSF12lq7.mjs → component-WarningSignal-CXlDQXr1.mjs} +18 -17
- package/dist/chunks/{component-WeatherForecast-BhGvmaMS.mjs → component-WeatherForecast-Dw_jpaZR.mjs} +17 -16
- package/dist/chunks/{component-YCDataMonitor-sg_93erW.mjs → component-YCDataMonitor-cYVY91FD.mjs} +17 -16
- package/dist/chunks/{component-YCDataService-CwOGPL98.mjs → component-YCDataService-t-d9yqyl.mjs} +11 -10
- package/dist/chunks/{component-YCHighWaySummary-CvoowBjy.mjs → component-YCHighWaySummary-CjhQdaUL.mjs} +8 -7
- package/dist/chunks/{component-YCHome-DRIi7AIB.mjs → component-YCHome-BAIB6FD-.mjs} +63 -62
- package/dist/chunks/{component-YCHomeLegend-0aeWXs2n.mjs → component-YCHomeLegend-cK6bLLGC.mjs} +2 -2
- package/dist/chunks/{component-YCLoginNew-BEoGLgtQ.mjs → component-YCLoginNew-yMFBtscQ.mjs} +15 -14
- package/dist/chunks/{component-YCServiceSummary-Dab20ncm.mjs → component-YCServiceSummary-CBxoEh_S.mjs} +162 -161
- package/dist/components/Agent/Agent.vue.d.ts +12 -0
- package/dist/index.d.ts +2 -1
- package/dist/nxd-plugin.mjs +75 -75
- package/dist/styles/component-Agent.css +1 -0
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/YCServiceSummary-Dx2AlXiv.mjs +0 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./component-
|
|
3
|
-
import
|
|
1
|
+
import { a as e, r as t } from "./component-AiChat-HpEVNeXU.mjs";
|
|
2
|
+
import { c as n } from "./component-Agent-Cm4CMOGO.mjs";
|
|
3
|
+
import "./component-Forecast72h-D6kx3ogZ.mjs";
|
|
4
|
+
import { n as r } from "./component-LithiumBatteryMiningArea-baQ8LJ6A.mjs";
|
|
4
5
|
import { ElButton as i, ElDialog as ee, ElForm as te, ElFormItem as ne, ElIcon as re, ElInput as ie } from "element-plus/es";
|
|
5
6
|
import { Fragment as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createStaticVNode as u, createTextVNode as d, createVNode as f, normalizeClass as p, normalizeStyle as ae, onBeforeUnmount as m, onMounted as h, openBlock as g, reactive as _, ref as v, renderList as y, toDisplayString as b, unref as x, withCtx as S, withKeys as oe, withModifiers as se } from "vue";
|
|
6
7
|
import { ArrowLeft as ce, ArrowRight as le, Lock as ue, User as de } from "@element-plus/icons-vue";
|
|
@@ -40,7 +41,7 @@ var fe = { class: "ychome" }, pe = { class: "aksu-weather-content" }, me = { cla
|
|
|
40
41
|
}, Le = { class: "main-shift-name" }, Re = {
|
|
41
42
|
key: 0,
|
|
42
43
|
class: "duty-section"
|
|
43
|
-
}, ze = ["innerHTML"], Be = { class: "dialog-footer" }, j = /* @__PURE__ */
|
|
44
|
+
}, ze = ["innerHTML"], Be = { class: "dialog-footer" }, j = /* @__PURE__ */ n({
|
|
44
45
|
__name: "YCHome",
|
|
45
46
|
props: {
|
|
46
47
|
appKey: {
|
|
@@ -93,8 +94,8 @@ var fe = { class: "ychome" }, pe = { class: "aksu-weather-content" }, me = { cla
|
|
|
93
94
|
}
|
|
94
95
|
},
|
|
95
96
|
emits: ["toPage", "openPagePop"],
|
|
96
|
-
setup(
|
|
97
|
-
let M =
|
|
97
|
+
setup(n, { emit: j }) {
|
|
98
|
+
let M = n, N = j, P = v(!0), F = v(!1), I = v({
|
|
98
99
|
x: 0,
|
|
99
100
|
y: 0
|
|
100
101
|
}), L = v({
|
|
@@ -273,7 +274,7 @@ var fe = { class: "ychome" }, pe = { class: "aksu-weather-content" }, me = { cla
|
|
|
273
274
|
document.removeEventListener("mousemove", Q), document.removeEventListener("mouseup", $), clearInterval(U.value);
|
|
274
275
|
});
|
|
275
276
|
let Ge = async () => {
|
|
276
|
-
let
|
|
277
|
+
let t = (await e({
|
|
277
278
|
appKey: M.appKey,
|
|
278
279
|
appSalt: M.appSalt,
|
|
279
280
|
id: M.ids.data.id,
|
|
@@ -282,14 +283,14 @@ var fe = { class: "ychome" }, pe = { class: "aksu-weather-content" }, me = { cla
|
|
|
282
283
|
reqType: M.ids.data.reqType,
|
|
283
284
|
isFormData: M.ids.data.isFormData
|
|
284
285
|
})).data.result.output;
|
|
285
|
-
!
|
|
286
|
-
let r =
|
|
287
|
-
r && (
|
|
286
|
+
!t || t.length === 0 || (W.value.forEach((e, n) => {
|
|
287
|
+
let r = t.find((t) => t.web_page === e.url);
|
|
288
|
+
r && (e.title = r.menu_name), J && J.length > 0 ? J.find((t) => t.web_page === e.url) && (e.show = !0) : e.show = !0;
|
|
288
289
|
}), Y(), X(), M.showDutyAndFollow && (U.value = setInterval(() => {
|
|
289
290
|
Y(), X();
|
|
290
291
|
}, 1e3 * 60 * 10)));
|
|
291
292
|
}, Y = async () => {
|
|
292
|
-
K.value = (await
|
|
293
|
+
K.value = (await e({
|
|
293
294
|
appKey: M.appKey,
|
|
294
295
|
appSalt: M.appSalt,
|
|
295
296
|
id: M.ids.duty.id,
|
|
@@ -299,7 +300,7 @@ var fe = { class: "ychome" }, pe = { class: "aksu-weather-content" }, me = { cla
|
|
|
299
300
|
isFormData: M.ids.duty.isFormData
|
|
300
301
|
})).data.result.output || [];
|
|
301
302
|
}, X = async () => {
|
|
302
|
-
q.value = (await
|
|
303
|
+
q.value = (await e({
|
|
303
304
|
appKey: M.appKey,
|
|
304
305
|
appSalt: M.appSalt,
|
|
305
306
|
id: M.ids.follow.id,
|
|
@@ -318,58 +319,58 @@ var fe = { class: "ychome" }, pe = { class: "aksu-weather-content" }, me = { cla
|
|
|
318
319
|
}), window.sessionStorage.setItem("user", JSON.stringify({ id: 1 })), B.value = !1, N("toPage", He.value?.url);
|
|
319
320
|
}, 1e3));
|
|
320
321
|
});
|
|
321
|
-
}, Ke = (
|
|
322
|
+
}, Ke = (t) => {
|
|
322
323
|
let n = window.localStorage.getItem("uName"), i = window.localStorage.getItem("uPwd");
|
|
323
|
-
if (
|
|
324
|
+
if (e({
|
|
324
325
|
appKey: M.appKey,
|
|
325
326
|
appSalt: M.appSalt,
|
|
326
327
|
id: M.ids.log.id,
|
|
327
328
|
variables: {
|
|
328
|
-
action_name:
|
|
329
|
+
action_name: t.title,
|
|
329
330
|
action_type: "大屏系统-外网"
|
|
330
331
|
},
|
|
331
332
|
baseHttp: M.baseHttp,
|
|
332
333
|
reqType: M.ids.log.reqType,
|
|
333
334
|
isFormData: M.ids.log.isFormData
|
|
334
|
-
}),
|
|
335
|
-
let
|
|
336
|
-
n && i && (
|
|
337
|
-
title:
|
|
338
|
-
url:
|
|
335
|
+
}), t.url === "/public") {
|
|
336
|
+
let e = M.publicUrl;
|
|
337
|
+
n && i && (e += `?account=${r.decode(n)}&password=${r.decode(i)}&t=${Date.now()}`), N("openPagePop", {
|
|
338
|
+
title: t.title,
|
|
339
|
+
url: e.includes("?") ? e += "&t=" + Date.now() : e += "?t=" + Date.now()
|
|
339
340
|
});
|
|
340
341
|
return;
|
|
341
342
|
}
|
|
342
|
-
if (
|
|
343
|
-
let
|
|
344
|
-
n && i && (
|
|
345
|
-
title:
|
|
346
|
-
url:
|
|
343
|
+
if (t.url === "/agriculture") {
|
|
344
|
+
let e = M.agrUrl;
|
|
345
|
+
n && i && (e += `?account=${r.decode(n)}&password=${r.decode(i)}&t=${Date.now()}`), N("openPagePop", {
|
|
346
|
+
title: t.title,
|
|
347
|
+
url: e.includes("?") ? e += "&t=" + Date.now() : e += "?t=" + Date.now()
|
|
347
348
|
});
|
|
348
349
|
return;
|
|
349
350
|
}
|
|
350
|
-
if (
|
|
351
|
-
let
|
|
352
|
-
n && i && (
|
|
353
|
-
title:
|
|
354
|
-
url:
|
|
351
|
+
if (t.url === "/decision") {
|
|
352
|
+
let e = M.decisionUrl;
|
|
353
|
+
n && i && (e += `?account=${r.decode(n)}&password=${r.decode(i)}&t=${Date.now()}`), N("openPagePop", {
|
|
354
|
+
title: t.title,
|
|
355
|
+
url: e.includes("?") ? e += "&t=" + Date.now() : e += "?t=" + Date.now()
|
|
355
356
|
});
|
|
356
357
|
return;
|
|
357
358
|
}
|
|
358
|
-
if (
|
|
359
|
+
if (t.url === "/center") {
|
|
359
360
|
N("openPagePop", {
|
|
360
|
-
title:
|
|
361
|
+
title: t.title,
|
|
361
362
|
url: M.centerUrl.includes("?") ? M.centerUrl += "&t=" + Date.now() : M.centerUrl += "?t=" + Date.now()
|
|
362
363
|
});
|
|
363
364
|
return;
|
|
364
365
|
}
|
|
365
|
-
if (
|
|
366
|
+
if (t.url === "/stations") {
|
|
366
367
|
N("openPagePop", {
|
|
367
|
-
title:
|
|
368
|
+
title: t.title,
|
|
368
369
|
url: M.stationsUrl.includes("?") ? M.stationsUrl += "&t=" + Date.now() : M.stationsUrl += "?t=" + Date.now()
|
|
369
370
|
});
|
|
370
371
|
return;
|
|
371
372
|
}
|
|
372
|
-
N("toPage",
|
|
373
|
+
N("toPage", t.url);
|
|
373
374
|
}, Q = (e) => {
|
|
374
375
|
if (!F.value) return;
|
|
375
376
|
let t = e.clientX - L.value.x, n = e.clientY - L.value.y;
|
|
@@ -393,12 +394,12 @@ var fe = { class: "ychome" }, pe = { class: "aksu-weather-content" }, me = { cla
|
|
|
393
394
|
url: M.openUrl
|
|
394
395
|
});
|
|
395
396
|
};
|
|
396
|
-
return (e,
|
|
397
|
+
return (e, n) => {
|
|
397
398
|
let r = re, m = ie, h = ne, _ = te, v = i, C = ee;
|
|
398
399
|
return g(), c("div", fe, [
|
|
399
|
-
l("div", pe, [l("div", { class: p(["left-stats-wrapper", { "is-collapsed": P.value }]) }, [l("div", me, [
|
|
400
|
-
|
|
401
|
-
|
|
400
|
+
l("div", pe, [l("div", { class: p(["left-stats-wrapper", { "is-collapsed": P.value }]) }, [l("div", me, [n[7] ||= u("<div class=\"stat-card\" data-v-6d0e9f7f><h3 class=\"stat-title\" data-v-6d0e9f7f>宜春市气象局</h3><img 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\" alt=\"分割线\" class=\"header-divider\" data-v-6d0e9f7f><div class=\"chart-container\" data-v-6d0e9f7f><p class=\"paragraph-text\" data-v-6d0e9f7f> 宜春市气象局成立于1952年,是从事气象监测与服务的科研型社会基础性公益事业单位,承担气象事业规划、天气监测预报、人工影响天气管理等职能。 内设办公室、业务科等多个科室,下辖多个国家基本气象站和自动气象站。全局致力于为经济社会发展和人民福祉提供优质的气象保障服务。 </p></div></div>", 1), l("div", he, [
|
|
401
|
+
n[5] ||= l("h3", { class: "stat-title" }, "台站建设情况", -1),
|
|
402
|
+
n[6] ||= l("img", {
|
|
402
403
|
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",
|
|
403
404
|
alt: "分割线",
|
|
404
405
|
class: "header-divider"
|
|
@@ -409,7 +410,7 @@ var fe = { class: "ychome" }, pe = { class: "aksu-weather-content" }, me = { cla
|
|
|
409
410
|
}, [l("div", ye, [l("span", be, b(e.资料名称), 1), l("span", xe, b(e.数量) + "个", 1)])]))), 128))])])])
|
|
410
411
|
])]), l("div", {
|
|
411
412
|
class: "collapse-btn",
|
|
412
|
-
onClick:
|
|
413
|
+
onClick: n[0] ||= (e) => P.value = !P.value
|
|
413
414
|
}, [P.value ? (g(), o(r, { key: 0 }, {
|
|
414
415
|
default: S(() => [f(x(le))]),
|
|
415
416
|
_: 1
|
|
@@ -432,28 +433,28 @@ var fe = { class: "ychome" }, pe = { class: "aksu-weather-content" }, me = { cla
|
|
|
432
433
|
key: e
|
|
433
434
|
}, b(e), 1))), 128))])
|
|
434
435
|
], 8, Ce))), 128))]), M.showDutyAndFollow ? (g(), c("div", k, [l("div", Te, [
|
|
435
|
-
|
|
436
|
-
|
|
436
|
+
n[12] ||= l("div", { class: "duty-title" }, "当日值班人员", -1),
|
|
437
|
+
n[13] ||= l("div", { class: "duty-phone-divider" }, [l("span", { class: "phone-divider-text" }, "带班领导")], -1),
|
|
437
438
|
K.value.length ? (g(), c("div", Ee, [l("span", De, b(K.value[0].leader_name), 1)])) : s("", !0),
|
|
438
|
-
|
|
439
|
-
K.value.length ? (g(), c("div", Oe, [l("div", ke, [l("span", null, [
|
|
440
|
-
|
|
439
|
+
n[14] ||= l("div", { class: "duty-phone-divider" }, [l("span", { class: "phone-divider-text" }, "预报值班")], -1),
|
|
440
|
+
K.value.length ? (g(), c("div", Oe, [l("div", ke, [l("span", null, [n[8] ||= d("主班:", -1), l("b", Ae, b(K.value.find((e) => e.type_name === "预报主班").user_name), 1)])]), l("div", je, [l("span", null, "副班:" + b(K.value.find((e) => e.type_name === "预报副班").user_name), 1), l("span", null, "晚班:" + b(K.value.find((e) => e.type_name === "预报晚班").user_name), 1)])])) : s("", !0),
|
|
441
|
+
n[15] ||= l("div", { class: "duty-phone-divider" }, [l("span", { class: "phone-divider-text" }, "综合保障值班")], -1),
|
|
441
442
|
K.value.length ? (g(), c("div", Me, [l("span", null, "白班:" + b(K.value.find((e) => e.type_name === "综合保障白班").user_name), 1), l("span", null, "晚班:" + b(K.value.find((e) => e.type_name === "综合保障晚班").user_name), 1)])) : s("", !0),
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
K.value.length ? (g(), c("div", Ne, [l("span", null, [
|
|
445
|
-
|
|
446
|
-
K.value.length ? (g(), c("div", Pe, [l("span", null, [
|
|
447
|
-
|
|
448
|
-
K.value.length ? (g(), c("div", Ie, [l("span", null, [
|
|
449
|
-
|
|
450
|
-
]), q.value.value ? (g(), c("div", Re, [
|
|
443
|
+
n[16] ||= l("div", { class: "duty-phone-divider" }, [l("span", { class: "phone-divider-text" }, "应急值班")], -1),
|
|
444
|
+
n[17] ||= l("div", { class: "duty-phone-divider sub" }, [l("span", { class: "phone-divider-text" }, "上午")], -1),
|
|
445
|
+
K.value.length ? (g(), c("div", Ne, [l("span", null, [n[9] ||= d("主班:", -1), l("b", A, b(K.value.find((e) => e.type_name === "应急上午主班").user_name), 1)]), l("span", null, "副班:" + b(K.value.find((e) => e.type_name === "应急上午副班").user_name), 1)])) : s("", !0),
|
|
446
|
+
n[18] ||= l("div", { class: "duty-phone-divider sub" }, [l("span", { class: "phone-divider-text" }, "下午")], -1),
|
|
447
|
+
K.value.length ? (g(), c("div", Pe, [l("span", null, [n[10] ||= d("主班:", -1), l("b", Fe, b(K.value.find((e) => e.type_name === "应急下午主班").user_name), 1)]), l("span", null, "副班:" + b(K.value.find((e) => e.type_name === "应急下午副班").user_name), 1)])) : s("", !0),
|
|
448
|
+
n[19] ||= l("div", { class: "duty-phone-divider sub" }, [l("span", { class: "phone-divider-text" }, "晚班")], -1),
|
|
449
|
+
K.value.length ? (g(), c("div", Ie, [l("span", null, [n[11] ||= d("主班:", -1), l("b", Le, b(K.value.find((e) => e.type_name === "应急晚班主班").user_name), 1)]), l("span", null, "副班:" + b(K.value.find((e) => e.type_name === "应急晚班副班").user_name), 1)])) : s("", !0),
|
|
450
|
+
n[20] ||= u("<div class=\"duty-phone-divider\" data-v-6d0e9f7f><span class=\"phone-divider-text\" data-v-6d0e9f7f>值班电话</span></div><div class=\"duty-phone-row phone-line\" data-v-6d0e9f7f><span data-v-6d0e9f7f>气象台:<span class=\"phone-number\" data-v-6d0e9f7f>3221916</span></span><span data-v-6d0e9f7f>应急值班:<span class=\"phone-number\" data-v-6d0e9f7f>3228925</span></span></div>", 2)
|
|
451
|
+
]), q.value.value ? (g(), c("div", Re, [n[21] ||= l("div", { class: "duty-title" }, "短期预报与服务重点", -1), l("div", {
|
|
451
452
|
innerHTML: q.value.value,
|
|
452
453
|
class: "duty-content"
|
|
453
454
|
}, null, 8, ze)])) : s("", !0)])) : s("", !0)], 2)]),
|
|
454
455
|
f(C, {
|
|
455
456
|
modelValue: B.value,
|
|
456
|
-
"onUpdate:modelValue":
|
|
457
|
+
"onUpdate:modelValue": n[4] ||= (e) => B.value = e,
|
|
457
458
|
title: Ve.value,
|
|
458
459
|
width: "420px",
|
|
459
460
|
class: "system-dialog",
|
|
@@ -462,9 +463,9 @@ var fe = { class: "ychome" }, pe = { class: "aksu-weather-content" }, me = { cla
|
|
|
462
463
|
}, {
|
|
463
464
|
footer: S(() => [l("span", Be, [f(v, {
|
|
464
465
|
class: "system-btn-cancel",
|
|
465
|
-
onClick:
|
|
466
|
+
onClick: n[3] ||= (e) => B.value = !1
|
|
466
467
|
}, {
|
|
467
|
-
default: S(() => [...
|
|
468
|
+
default: S(() => [...n[22] ||= [d("取消", -1)]]),
|
|
468
469
|
_: 1
|
|
469
470
|
}), f(v, {
|
|
470
471
|
class: "system-btn-confirm",
|
|
@@ -472,10 +473,10 @@ var fe = { class: "ychome" }, pe = { class: "aksu-weather-content" }, me = { cla
|
|
|
472
473
|
onClick: Z,
|
|
473
474
|
loading: V.value
|
|
474
475
|
}, {
|
|
475
|
-
default: S(() => [...
|
|
476
|
+
default: S(() => [...n[23] ||= [d(" 登录 ", -1)]]),
|
|
476
477
|
_: 1
|
|
477
478
|
}, 8, ["loading"])])]),
|
|
478
|
-
default: S(() => [
|
|
479
|
+
default: S(() => [n[24] ||= l("div", { class: "login-header-line" }, null, -1), f(_, {
|
|
479
480
|
model: G,
|
|
480
481
|
rules: We,
|
|
481
482
|
ref_key: "loginFormRef",
|
|
@@ -490,7 +491,7 @@ var fe = { class: "ychome" }, pe = { class: "aksu-weather-content" }, me = { cla
|
|
|
490
491
|
}, {
|
|
491
492
|
default: S(() => [f(m, {
|
|
492
493
|
modelValue: G.username,
|
|
493
|
-
"onUpdate:modelValue":
|
|
494
|
+
"onUpdate:modelValue": n[1] ||= (e) => G.username = e,
|
|
494
495
|
placeholder: "请输入用户名",
|
|
495
496
|
clearable: ""
|
|
496
497
|
}, {
|
|
@@ -507,7 +508,7 @@ var fe = { class: "ychome" }, pe = { class: "aksu-weather-content" }, me = { cla
|
|
|
507
508
|
}, {
|
|
508
509
|
default: S(() => [f(m, {
|
|
509
510
|
modelValue: G.password,
|
|
510
|
-
"onUpdate:modelValue":
|
|
511
|
+
"onUpdate:modelValue": n[2] ||= (e) => G.password = e,
|
|
511
512
|
type: "password",
|
|
512
513
|
placeholder: "请输入密码",
|
|
513
514
|
"show-password": ""
|
|
@@ -526,7 +527,7 @@ var fe = { class: "ychome" }, pe = { class: "aksu-weather-content" }, me = { cla
|
|
|
526
527
|
}, 8, ["modelValue", "title"]),
|
|
527
528
|
M.showAIIcon ? (g(), c("img", {
|
|
528
529
|
key: 0,
|
|
529
|
-
src:
|
|
530
|
+
src: t,
|
|
530
531
|
alt: "",
|
|
531
532
|
draggable: "false",
|
|
532
533
|
style: ae({
|
package/dist/chunks/{component-YCHomeLegend-0aeWXs2n.mjs → component-YCHomeLegend-cK6bLLGC.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, onMounted as i, openBlock as a } from "vue";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region src/components/YCHomeLegend/YCHomeLegend.vue
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { a as e, c as t, o as n } from "./component-AiChat-HpEVNeXU.mjs";
|
|
2
|
+
import { c as r } from "./component-Agent-Cm4CMOGO.mjs";
|
|
3
|
+
import { n as i } from "./component-LithiumBatteryMiningArea-baQ8LJ6A.mjs";
|
|
3
4
|
import { ElButton as ee, ElForm as a, ElFormItem as o, ElIcon as s, ElInput as te } from "element-plus/es";
|
|
4
5
|
import { Fragment as ne, createBlock as c, createElementBlock as l, createElementVNode as u, createTextVNode as re, createVNode as d, defineComponent as f, onBeforeUnmount as p, onMounted as ie, openBlock as m, reactive as h, ref as g, renderList as _, toDisplayString as v, unref as y, withCtx as b, withKeys as ae } from "vue";
|
|
5
6
|
import { Lock as x, Message as oe, Platform as se, User as S } from "@element-plus/icons-vue";
|
|
@@ -11,7 +12,7 @@ import "element-plus/es/components/icon/style/css";
|
|
|
11
12
|
import "element-plus/es/components/form/style/css";
|
|
12
13
|
import "element-plus/es/components/form-item/style/css";
|
|
13
14
|
//#region src/components/YCLoginNew/YCLoginNew.vue?vue&type=script&setup=true&lang.ts
|
|
14
|
-
var ce = { class: "YCLoginNew" }, le = { class: "particles" }, ue = { class: "login-container" }, de = { class: "login-wrapper" }, fe = { class: "login-box" }, w = { class: "login-header" }, T = { class: "header-icon" }, E = { class: "title" }, D = { class: "en-title" }, O = { class: "input-icon-box" }, k = { class: "input-icon-box" }, A = { class: "form-options" }, j = { class: "input-icon-box" }, M = { class: "code-input-wrapper" }, N = { class: "input-icon-box" }, P = { class: "input-icon-box" }, F = { class: "input-icon-box" }, I = { class: "split-btn-container" }, L = "yc_reset_code_expire", R = "yc_reset_code_value", z = /* @__PURE__ */
|
|
15
|
+
var ce = { class: "YCLoginNew" }, le = { class: "particles" }, ue = { class: "login-container" }, de = { class: "login-wrapper" }, fe = { class: "login-box" }, w = { class: "login-header" }, T = { class: "header-icon" }, E = { class: "title" }, D = { class: "en-title" }, O = { class: "input-icon-box" }, k = { class: "input-icon-box" }, A = { class: "form-options" }, j = { class: "input-icon-box" }, M = { class: "code-input-wrapper" }, N = { class: "input-icon-box" }, P = { class: "input-icon-box" }, F = { class: "input-icon-box" }, I = { class: "split-btn-container" }, L = "yc_reset_code_expire", R = "yc_reset_code_value", z = /* @__PURE__ */ r(/* @__PURE__ */ f({
|
|
15
16
|
__name: "YCLoginNew",
|
|
16
17
|
props: {
|
|
17
18
|
appKey: {
|
|
@@ -39,8 +40,8 @@ var ce = { class: "YCLoginNew" }, le = { class: "particles" }, ue = { class: "lo
|
|
|
39
40
|
default: ""
|
|
40
41
|
}
|
|
41
42
|
},
|
|
42
|
-
setup(
|
|
43
|
-
let z =
|
|
43
|
+
setup(r, { emit: f }) {
|
|
44
|
+
let z = r, B = f, V = g(), H = g(!1), U = h({
|
|
44
45
|
username: "",
|
|
45
46
|
password: ""
|
|
46
47
|
}), pe = {
|
|
@@ -146,7 +147,7 @@ var ce = { class: "YCLoginNew" }, le = { class: "particles" }, ue = { class: "lo
|
|
|
146
147
|
let e = {
|
|
147
148
|
loginName: Y.phone,
|
|
148
149
|
password: Y.newPassword
|
|
149
|
-
}, t = await
|
|
150
|
+
}, t = await n(z.resetPwdUrl, e);
|
|
150
151
|
t.errorCode === 0 ? (C({
|
|
151
152
|
message: "密码重置成功",
|
|
152
153
|
type: "success",
|
|
@@ -168,22 +169,22 @@ var ce = { class: "YCLoginNew" }, le = { class: "particles" }, ue = { class: "lo
|
|
|
168
169
|
}
|
|
169
170
|
});
|
|
170
171
|
}, $ = () => {
|
|
171
|
-
V.value && V.value.validate(async (
|
|
172
|
-
if (
|
|
172
|
+
V.value && V.value.validate(async (t) => {
|
|
173
|
+
if (t) {
|
|
173
174
|
H.value = !0;
|
|
174
|
-
let
|
|
175
|
+
let t = {
|
|
175
176
|
name: U.username,
|
|
176
177
|
pwd: U.password
|
|
177
|
-
},
|
|
178
|
+
}, n = (await e({
|
|
178
179
|
appKey: z.appKey,
|
|
179
180
|
appSalt: z.appSalt,
|
|
180
181
|
id: z.ids.data.id,
|
|
181
|
-
variables: { str: i.encode(JSON.stringify(
|
|
182
|
+
variables: { str: i.encode(JSON.stringify(t)) },
|
|
182
183
|
baseHttp: z.baseHttp,
|
|
183
184
|
reqType: z.ids.data.reqType,
|
|
184
185
|
isFormData: z.ids.data.isFormData
|
|
185
186
|
})).data.result.output;
|
|
186
|
-
if (H.value = !1, !
|
|
187
|
+
if (H.value = !1, !n || n.length === 0) {
|
|
187
188
|
C({
|
|
188
189
|
message: "账号或密码错误",
|
|
189
190
|
type: "error",
|
|
@@ -197,8 +198,8 @@ var ce = { class: "YCLoginNew" }, le = { class: "particles" }, ue = { class: "lo
|
|
|
197
198
|
type: "success",
|
|
198
199
|
zIndex: 6e3,
|
|
199
200
|
duration: 1500
|
|
200
|
-
}), window.localStorage.setItem("user", JSON.stringify(
|
|
201
|
-
|
|
201
|
+
}), window.localStorage.setItem("user", JSON.stringify(n)), window.localStorage.setItem("uName", i.encode(U.username)), window.localStorage.setItem("uPwd", i.encode(U.password)), setTimeout(() => {
|
|
202
|
+
n.length > 1 ? B("toPage", "/home") : B("toPage", n[0].web_page);
|
|
202
203
|
}, 1e3);
|
|
203
204
|
}
|
|
204
205
|
});
|