nxd-plugin 1.7.53 → 1.7.55

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.
Files changed (24) hide show
  1. package/dist/chunks/component-DutyAndFollow-BRbmJoa1.mjs +100 -0
  2. package/dist/chunks/{component-HighWayEarlyWarningRed-C5fDgaPG.mjs → component-HighWayEarlyWarningRed-C9bkPvSS.mjs} +2 -2
  3. package/dist/chunks/{component-HighWayFreeze-NkJAIB0j.mjs → component-HighWayFreeze-CIjTLONp.mjs} +2 -2
  4. package/dist/chunks/{component-HighwayLiveAlarmNew-BPVwzYbg.mjs → component-HighwayLiveAlarmNew-Cl29luSl.mjs} +25 -6
  5. package/dist/chunks/{component-LithiumBatteryMiningArea-uQetbL3w.mjs → component-LithiumBatteryMiningArea-DfRcsCeD.mjs} +4 -4
  6. package/dist/chunks/{component-RadarShortTerm-Bxz7oeMh.mjs → component-RadarShortTerm-BaQy4AVN.mjs} +51 -33
  7. package/dist/chunks/{component-TimeBasedForecast-CqTgmyjk.mjs → component-TimeBasedForecast-DsG9YUv2.mjs} +1 -1
  8. package/dist/chunks/{component-WarningLine-DBW9AoGz.mjs → component-WarningLine-CTSBwjS8.mjs} +1 -1
  9. package/dist/chunks/{component-WarningSignal-yVIsJdrQ.mjs → component-WarningSignal-Doh6ffue.mjs} +1 -1
  10. package/dist/chunks/{component-WeatherForecast-C8JIuQ77.mjs → component-WeatherForecast-O-C5Iz6a.mjs} +1 -1
  11. package/dist/chunks/{component-YCHome-7Ud8Kb-9.mjs → component-YCHome-D5N8wvlw.mjs} +82 -48
  12. package/dist/chunks/{component-YCLoginNew-BUEIePyk.mjs → component-YCLoginNew-Bi9ATD7v.mjs} +1 -1
  13. package/dist/nxd-plugin.mjs +15 -14
  14. package/dist/src/components/DutyAndFollow/DutyAndFollow.vue.d.ts +41 -0
  15. package/dist/src/index.d.ts +2 -1
  16. package/dist/styles/component-DutyAndFollow.css +1 -0
  17. package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
  18. package/dist/styles/component-HighWayFreeze.css +1 -1
  19. package/dist/styles/component-HighwayLiveAlarmNew.css +1 -1
  20. package/dist/styles/component-LithiumBatteryMiningArea.css +1 -1
  21. package/dist/styles/component-RadarShortTerm.css +1 -1
  22. package/dist/styles/component-YCHome.css +1 -1
  23. package/dist/styles/component-YCLoginNew.css +1 -1
  24. package/package.json +1 -1
@@ -0,0 +1,100 @@
1
+ import { n as e, r as t } from "./component-AqiMonitor-BUy1MSaP.mjs";
2
+ 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
+ //#region src/components/DutyAndFollow/DutyAndFollow.vue?vue&type=script&setup=true&lang.ts
4
+ var p = { class: "DutyAndFollow" }, m = { class: "duty-section" }, h = {
5
+ key: 0,
6
+ class: "duty-phone-row"
7
+ }, g = { class: "leader-name" }, _ = {
8
+ key: 1,
9
+ class: "duty-phone-row multi-line"
10
+ }, v = { class: "row-full" }, y = { class: "main-shift-name" }, b = { class: "row-half" }, x = {
11
+ key: 2,
12
+ class: "duty-phone-row"
13
+ }, S = {
14
+ key: 3,
15
+ class: "duty-phone-row"
16
+ }, C = { class: "main-shift-name" }, w = {
17
+ key: 4,
18
+ class: "duty-phone-row"
19
+ }, T = { class: "main-shift-name" }, E = {
20
+ key: 5,
21
+ class: "duty-phone-row"
22
+ }, D = { class: "main-shift-name" }, O = {
23
+ key: 0,
24
+ class: "duty-section"
25
+ }, k = ["innerHTML"], A = /* @__PURE__ */ e(/* @__PURE__ */ s({
26
+ __name: "DutyAndFollow",
27
+ props: {
28
+ appKey: {
29
+ type: String,
30
+ default: ""
31
+ },
32
+ appSalt: {
33
+ type: String,
34
+ default: ""
35
+ },
36
+ baseHttp: {
37
+ type: String,
38
+ default: ""
39
+ },
40
+ ids: {
41
+ type: Object,
42
+ default: () => ({})
43
+ }
44
+ },
45
+ setup(e) {
46
+ let s = e, A = d([]), j = d({}), M = d(null);
47
+ l(() => {
48
+ N(), M.value = setInterval(() => {
49
+ N();
50
+ }, 1e3 * 60 * 10);
51
+ }), c(() => {
52
+ clearInterval(M.value);
53
+ });
54
+ let N = async () => {
55
+ await P(), await F();
56
+ }, P = async () => {
57
+ A.value = (await t({
58
+ appKey: s.appKey,
59
+ appSalt: s.appSalt,
60
+ id: s.ids.duty.id,
61
+ variables: {},
62
+ baseHttp: s.baseHttp,
63
+ reqType: s.ids.duty.reqType,
64
+ isFormData: s.ids.duty.isFormData
65
+ })).data.result.output || [];
66
+ }, F = async () => {
67
+ j.value = (await t({
68
+ appKey: s.appKey,
69
+ appSalt: s.appSalt,
70
+ id: s.ids.follow.id,
71
+ variables: {},
72
+ baseHttp: s.baseHttp,
73
+ reqType: s.ids.follow.reqType,
74
+ isFormData: s.ids.follow.isFormData
75
+ })).data.result.output?.[0] || {};
76
+ };
77
+ return (e, t) => (u(), r("div", p, [i("div", m, [
78
+ t[4] ||= i("div", { class: "duty-title" }, "当日值班人员", -1),
79
+ t[5] ||= i("div", { class: "duty-phone-divider" }, [i("span", { class: "phone-divider-text" }, "带班领导")], -1),
80
+ A.value.length ? (u(), r("div", h, [i("span", g, f(A.value[0].leader_name), 1)])) : n("", !0),
81
+ t[6] ||= i("div", { class: "duty-phone-divider" }, [i("span", { class: "phone-divider-text" }, "预报值班")], -1),
82
+ A.value.length ? (u(), r("div", _, [i("div", v, [i("span", null, [t[0] ||= o("主班:", -1), i("b", y, f(A.value.find((e) => e.type_name === "预报主班").user_name), 1)])]), i("div", b, [i("span", null, "副班:" + f(A.value.find((e) => e.type_name === "预报副班").user_name), 1), i("span", null, "晚班:" + f(A.value.find((e) => e.type_name === "预报晚班").user_name), 1)])])) : n("", !0),
83
+ t[7] ||= i("div", { class: "duty-phone-divider" }, [i("span", { class: "phone-divider-text" }, "综合保障值班")], -1),
84
+ A.value.length ? (u(), r("div", x, [i("span", null, "白班:" + f(A.value.find((e) => e.type_name === "综合保障白班").user_name), 1), i("span", null, "晚班:" + f(A.value.find((e) => e.type_name === "综合保障晚班").user_name), 1)])) : n("", !0),
85
+ t[8] ||= i("div", { class: "duty-phone-divider" }, [i("span", { class: "phone-divider-text" }, "应急值班")], -1),
86
+ t[9] ||= i("div", { class: "duty-phone-divider sub" }, [i("span", { class: "phone-divider-text" }, "上午")], -1),
87
+ A.value.length ? (u(), r("div", S, [i("span", null, [t[1] ||= o("主班:", -1), i("b", C, f(A.value.find((e) => e.type_name === "应急上午主班").user_name), 1)]), i("span", null, "副班:" + f(A.value.find((e) => e.type_name === "应急上午副班").user_name), 1)])) : n("", !0),
88
+ t[10] ||= i("div", { class: "duty-phone-divider sub" }, [i("span", { class: "phone-divider-text" }, "下午")], -1),
89
+ A.value.length ? (u(), r("div", w, [i("span", null, [t[2] ||= o("主班:", -1), i("b", T, f(A.value.find((e) => e.type_name === "应急下午主班").user_name), 1)]), i("span", null, "副班:" + f(A.value.find((e) => e.type_name === "应急下午副班").user_name), 1)])) : n("", !0),
90
+ t[11] ||= i("div", { class: "duty-phone-divider sub" }, [i("span", { class: "phone-divider-text" }, "晚班")], -1),
91
+ A.value.length ? (u(), r("div", E, [i("span", null, [t[3] ||= o("主班:", -1), i("b", D, f(A.value.find((e) => e.type_name === "应急晚班主班").user_name), 1)]), i("span", null, "副班:" + f(A.value.find((e) => e.type_name === "应急晚班副班").user_name), 1)])) : n("", !0),
92
+ t[12] ||= a("<div class=\"duty-phone-divider\" data-v-25bb4741><span class=\"phone-divider-text\" data-v-25bb4741>值班电话</span></div><div class=\"duty-phone-row phone-line\" data-v-25bb4741><span data-v-25bb4741>气象台:<span class=\"phone-number\" data-v-25bb4741>3221916</span></span><span data-v-25bb4741>应急值班:<span class=\"phone-number\" data-v-25bb4741>3228925</span></span></div>", 2)
93
+ ]), j.value.value ? (u(), r("div", O, [t[13] ||= i("div", { class: "duty-title" }, "短期预报与服务重点", -1), i("div", {
94
+ innerHTML: j.value.value,
95
+ class: "duty-content"
96
+ }, null, 8, k)])) : n("", !0)]));
97
+ }
98
+ }), [["__scopeId", "data-v-25bb4741"]]);
99
+ //#endregion
100
+ export { A as t };
@@ -2048,7 +2048,7 @@ var Ws = { class: "wrap-head-title" }, Gs = { class: "wrap-head-publicTime" }, K
2048
2048
  ee(() => {
2049
2049
  v(), _ = setInterval(() => {
2050
2050
  v();
2051
- }, 1e3 * 60 * 10);
2051
+ }, 1e3 * 60 * 6);
2052
2052
  }), f(() => {
2053
2053
  clearInterval(_);
2054
2054
  });
@@ -2224,6 +2224,6 @@ var Ws = { class: "wrap-head-title" }, Gs = { class: "wrap-head-publicTime" }, K
2224
2224
  ], 4)), [[a, g.value]]);
2225
2225
  };
2226
2226
  }
2227
- }), [["__scopeId", "data-v-6611f566"]]);
2227
+ }), [["__scopeId", "data-v-888230e9"]]);
2228
2228
  //#endregion
2229
2229
  export { xe as $, Ge as A, Pe as B, Qe as C, Je as D, Ye as E, ze as F, ke as G, Me as H, Re as I, Ee as J, Oe as K, Le as L, Ue as M, Ve as N, qe as O, Be as P, Se as Q, Ie as R, $e as S, Xe as T, je as U, Ne as V, Ae as W, we as X, Te as Y, Ce as Z, it as _, gt as a, he as at, tt as b, pt as c, fe as ct, ut as d, le as dt, be as et, lt as f, ce as ft, at as g, ot as h, _t as i, ge as it, We as j, Ke as k, ft as l, de as lt, st as m, h as n, ve as nt, ht as o, me as ot, ct as p, De as q, vt as r, _e as rt, mt as s, pe as st, oc as t, ye as tt, dt as u, ue as ut, rt as v, Ze as w, et as x, nt as y, Fe as z };
@@ -50,7 +50,7 @@ var C = {
50
50
  g(() => {
51
51
  U(), B.value = setInterval(() => {
52
52
  U();
53
- }, 1e3 * 60 * 10);
53
+ }, 1e3 * 60 * 6);
54
54
  }), h(() => {
55
55
  clearInterval(B.value);
56
56
  });
@@ -178,6 +178,6 @@ var C = {
178
178
  ])), [[h, P.value]]);
179
179
  };
180
180
  }
181
- }), [["__scopeId", "data-v-706cd106"]]);
181
+ }), [["__scopeId", "data-v-279cb37a"]]);
182
182
  //#endregion
183
183
  export { M as t };
@@ -139,7 +139,7 @@ var oe = {
139
139
  y(() => {
140
140
  dt(), nt.value = setInterval(() => {
141
141
  dt();
142
- }, 1e3 * 60 * 10);
142
+ }, 1e3 * 60 * 6);
143
143
  }), re(() => {
144
144
  nt.value && clearInterval(nt.value), q && (q.pause(), q.currentTime = 0), A("removeLine", "line_HighwayLiveAlarmNew"), F.value?.dispose(), F.value = null;
145
145
  });
@@ -183,12 +183,29 @@ var oe = {
183
183
  label: { color: l }
184
184
  });
185
185
  }), H.value = s, U.value = c, V.value = ["全部", ...c.map((e) => e.name)], V.value.includes(B.value) || (B.value = "全部"), zt(B.value), Gt(), N.value = kt(o), await st(), o.length > 0 && ct(), At(a);
186
- }, ft = (e) => {
186
+ }, ft = (e, t) => {
187
187
  A("toMapView", {
188
188
  lng: e.longitude ? Number(e.longitude) : Number(e.x),
189
189
  lat: e.latitude ? Number(e.latitude) : Number(e.y),
190
190
  zoom: 11
191
191
  });
192
+ let n = "";
193
+ t === "station" ? n = `station_${e.station_number}` : t === "pile" && (n = `pile_${e.pileNo}`), n && setTimeout(() => {
194
+ let e = document.querySelectorAll(`[id="${n}"]`);
195
+ if (e.length > 0) {
196
+ let t = 0, n = setInterval(() => {
197
+ if (t >= 8) {
198
+ clearInterval(n), e.forEach((e) => {
199
+ e.style.visibility = "visible";
200
+ });
201
+ return;
202
+ }
203
+ e.forEach((e) => {
204
+ e.style.visibility = e.style.visibility === "hidden" ? "visible" : "hidden";
205
+ }), t++;
206
+ }, 300);
207
+ }
208
+ }, 500);
192
209
  }, pt = async () => {
193
210
  P.value = !0;
194
211
  let e = await t({
@@ -400,7 +417,7 @@ var oe = {
400
417
  let n = Number(e?.[t]);
401
418
  return Y(n) ? t === "visibility_min" ? (n / 1e3).toString() : String(e?.[t]) : "";
402
419
  }, Ht = (e, t, n) => `
403
- <div style='display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;'>
420
+ <div id="station_${e.station_number}" style='display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;'>
404
421
  <div style='color:blue;font-size:14px;font-bold:true;transform:scale(0.9);text-shadow:1px 0 #fff,-1px 0 #fff,0 1px #fff,0 -1px #fff,1px 1px #fff,-1px -1px #fff,1px -1px #fff,-1px 1px #fff;'>
405
422
  ${t}${n}
406
423
  </div>
@@ -465,6 +482,7 @@ var oe = {
465
482
  }), j.value.forEach((t, n) => {
466
483
  let r = String(t.icon || "").replace(/"/g, "&quot;"), i = `
467
484
  <img
485
+ id="pile_${t.Name}"
468
486
  src="${r}"
469
487
  alt=""
470
488
  style="
@@ -476,6 +494,7 @@ var oe = {
476
494
  `;
477
495
  t._isWarn && (i = `
478
496
  <img
497
+ id="pile_${t.Name}"
479
498
  src="${r}"
480
499
  alt=""
481
500
  style="
@@ -643,7 +662,7 @@ var oe = {
643
662
  ]), e.stations.length ? (b(), p("div", He, [(b(!0), p(u, null, S(e.stations, (t) => (b(), p("div", {
644
663
  class: v(["station-row", { "is-warn": Z(t) }]),
645
664
  key: `${e.name}-${t.station_number}`,
646
- onClick: (e) => ft(t)
665
+ onClick: (e) => ft(t, "station")
647
666
  }, [
648
667
  m("span", null, C(t.station_name || "--"), 1),
649
668
  m("span", We, C(X(t.rainfall_1h)), 1),
@@ -667,7 +686,7 @@ var oe = {
667
686
  ], -1), e.piles.length ? (b(), p("div", Qe, [(b(!0), p(u, null, S(e.piles, (e) => (b(), p("div", {
668
687
  class: v(["pile-row", { "is-warn": e.isWarn }]),
669
688
  key: e.pileNo,
670
- onClick: (t) => ft(e)
689
+ onClick: (t) => ft(e, "pile")
671
690
  }, [
672
691
  m("span", null, C(e.pileNo), 1),
673
692
  m("span", null, C(e.rainfall), 1),
@@ -679,6 +698,6 @@ var oe = {
679
698
  ])), [[x, P.value]]);
680
699
  };
681
700
  }
682
- }), [["__scopeId", "data-v-e117ea08"]]);
701
+ }), [["__scopeId", "data-v-2ef6bbf3"]]);
683
702
  //#endregion
684
703
  export { k as t };
@@ -3107,8 +3107,7 @@ var C = "3.7.8", w = C, T = typeof Buffer == "function", E = typeof TextDecoder
3107
3107
  });
3108
3108
  }, J = async () => {
3109
3109
  T.value = !0;
3110
- let e = { station_number: O.value.find((e) => e.name === E.value)?.station_number };
3111
- R = (await t({
3110
+ let e = { station_number: O.value.find((e) => e.name === E.value)?.station_number }, n = await t({
3112
3111
  appKey: C.appKey,
3113
3112
  appSalt: C.appSalt,
3114
3113
  id: C.ids.statistic.id,
@@ -3116,7 +3115,8 @@ var C = "3.7.8", w = C, T = typeof Buffer == "function", E = typeof TextDecoder
3116
3115
  baseHttp: C.baseHttp,
3117
3116
  reqType: C.ids.statistic.reqType,
3118
3117
  isFormData: C.ids.statistic.isFormData
3119
- })).data.result.output[0], T.value = !1;
3118
+ });
3119
+ console.log("获取统计信息", n), R = n.data.result?.output?.[0] || {}, T.value = !1;
3120
3120
  }, Y = async () => {
3121
3121
  T.value = !0;
3122
3122
  let e = { station_number: O.value.find((e) => e.name === E.value)?.station_number }, n = await t({
@@ -3327,6 +3327,6 @@ var C = "3.7.8", w = C, T = typeof Buffer == "function", E = typeof TextDecoder
3327
3327
  ])), [[_, T.value]]);
3328
3328
  };
3329
3329
  }
3330
- }), [["__scopeId", "data-v-c6fff6a5"]]);
3330
+ }), [["__scopeId", "data-v-c18dc014"]]);
3331
3331
  //#endregion
3332
3332
  export { $ as n, ze as t };
@@ -1,5 +1,5 @@
1
1
  import { n as e, r as t } from "./component-AqiMonitor-BUy1MSaP.mjs";
2
- import { n } from "./component-HighWayEarlyWarningRed-C5fDgaPG.mjs";
2
+ import { n } from "./component-HighWayEarlyWarningRed-C9bkPvSS.mjs";
3
3
  import { t as r } from "./component-RadarLegend-DW3-sWxw.mjs";
4
4
  import { ElCheckbox as i, ElIcon as a, ElLoadingDirective as o } from "element-plus/es";
5
5
  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";
@@ -56,13 +56,13 @@ var oe = {
56
56
  "changeLoading"
57
57
  ],
58
58
  setup(e, { emit: p }) {
59
- 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(""), R = v(null), z = v(!0), B = v(null), V = v(!0), H = v(null), U = v({
59
+ 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
60
  httpurl: "",
61
61
  lngStart: void 0,
62
62
  latStart: void 0,
63
63
  lngEnd: void 0,
64
64
  latEnd: void 0
65
- }), W = v({
65
+ }), U = v({
66
66
  httpurl: "",
67
67
  lngStart: void 0,
68
68
  latStart: void 0,
@@ -70,14 +70,14 @@ var oe = {
70
70
  latEnd: void 0
71
71
  });
72
72
  re(() => {
73
- G(), B.value = setInterval(() => {
74
- G();
75
- }, 1e3 * 60 * 10);
73
+ W(), z.value = setInterval(() => {
74
+ W();
75
+ }, 1e3 * 60 * 6);
76
76
  }), ne(() => {
77
- Q(), clearInterval(B.value), B.value = null;
77
+ Q(), clearInterval(z.value), z.value = null;
78
78
  });
79
- let G = async () => {
80
- z.value = !0, await K(), N.value = (await Ae()).map((e) => {
79
+ let W = async () => {
80
+ R.value = !0, await G(), N.value = (await je()).map((e) => {
81
81
  let t = Fe(e), n = "";
82
82
  D.type === "高速" && (n = "zhflds"), D.type === "地质" && (n = "pointflds"), D.type === "水库" && (n = "pointflds");
83
83
  let r = Ie(e[n] || []);
@@ -86,9 +86,9 @@ var oe = {
86
86
  tags: Le(t),
87
87
  piles: r
88
88
  };
89
- }), Pe(), z.value = !1;
90
- }, K = async () => {
91
- z.value = !0;
89
+ }), Pe(), R.value = !1;
90
+ }, G = async () => {
91
+ R.value = !0;
92
92
  let e = await t({
93
93
  appKey: D.appKey,
94
94
  appSalt: D.appSalt,
@@ -108,20 +108,20 @@ var oe = {
108
108
  reqType: D.ids.historyRadar.reqType,
109
109
  isFormData: D.ids.historyRadar.isFormData
110
110
  });
111
- console.log("历史雷达", n.data.result), z.value = !1;
112
- let r = Me(e.data.result), i = Me(n.data.result);
113
- U.value = {
111
+ console.log("历史雷达", n.data.result), R.value = !1;
112
+ let r = K(e.data.result), i = K(n.data.result);
113
+ H.value = {
114
114
  httpurl: r.httpurl,
115
115
  ...r.extent
116
- }, W.value = {
116
+ }, U.value = {
117
117
  httpurl: i.httpurl,
118
118
  ...i.extent
119
- };
120
- let a = i.frames.slice(-3).map((e, t) => ({
119
+ }, console.log("historyData", i);
120
+ let a = i.frames.slice(-13).map((e, t, n) => ({
121
121
  ...e,
122
122
  focarcast_time: e.observation_time,
123
123
  _isHistory: !0,
124
- _label: t === 0 ? "-2" : t === 1 ? "-1" : "现在",
124
+ _label: t === n.length - 1 ? "现在" : `-${n.length - 1 - t}`,
125
125
  _httpurl: (i.httpurl || "") + (e.observation_time || "").slice(0, 10).replaceAll("-", "") + "/"
126
126
  })), o = r.frames.map((e, t) => ({
127
127
  ...e,
@@ -133,7 +133,7 @@ var oe = {
133
133
  ds: s,
134
134
  httpurl: r.httpurl,
135
135
  ...i.extent
136
- }, j.value = 2, k.value && (O("clearImgAniArr"), s.forEach((e) => {
136
+ }, j.value = a.length - 1, k.value && (O("clearImgAniArr"), s.forEach((e) => {
137
137
  let t = ze(e);
138
138
  t && O("addImageAniArr", { data: { imgArr: [t] } });
139
139
  }), setTimeout(() => {
@@ -141,7 +141,7 @@ var oe = {
141
141
  let e = s[j.value];
142
142
  Z(e), O("showRadarLegend", !0);
143
143
  }, 1e3));
144
- }, Ae = async () => {
144
+ }, je = async () => {
145
145
  let e = await t({
146
146
  appKey: D.appKey,
147
147
  appSalt: D.appSalt,
@@ -152,7 +152,7 @@ var oe = {
152
152
  isFormData: D.ids.shortTerm.isFormData
153
153
  });
154
154
  return console.log("短时预报", e.data.result.ds), e.data.result.ds || [];
155
- }, je = (e) => {
155
+ }, Me = (e) => {
156
156
  let t = String(e || "").split(",").map((e) => Number(e.trim()));
157
157
  return {
158
158
  latStart: t[0],
@@ -160,10 +160,10 @@ var oe = {
160
160
  lngStart: t[2],
161
161
  lngEnd: t[3]
162
162
  };
163
- }, Me = (e) => {
163
+ }, K = (e) => {
164
164
  let t = Array.isArray(e?.ds) ? e : e?.ds, n = Array.isArray(t?.ds) ? t.ds : [];
165
165
  n = [...n].reverse();
166
- let r = je(n[0]?.extendstr || ""), i = t?.httpUrl || t?.httpurl || "";
166
+ let r = Me(n[0]?.extendstr || ""), i = t?.httpUrl || t?.httpurl || "";
167
167
  return {
168
168
  frames: n,
169
169
  httpurl: i,
@@ -191,7 +191,8 @@ var oe = {
191
191
  rain2h: e?.rain_2h ?? "-",
192
192
  rain3h: e?.rain_3h ?? "-",
193
193
  x: e.x,
194
- y: e.y
194
+ y: e.y,
195
+ item: e
195
196
  })), (e) => e.isWarn), Le = (e) => [
196
197
  {
197
198
  label: "未来R1h",
@@ -207,7 +208,7 @@ var oe = {
207
208
  }
208
209
  ], Y = (e) => e.some((e) => e.warn), X = (e, t) => [...e].sort((e, n) => Number(t(n)) - Number(t(e))), Re = (e) => e.filter((e) => e.isWarn).length, ze = (e) => {
209
210
  if (!e) return null;
210
- let t = e._isHistory ? W.value : U.value, n = String(e?._httpurl || t.httpurl || ""), r = String(e?.file_name || "");
211
+ let t = e._isHistory ? U.value : H.value, n = String(e?._httpurl || t.httpurl || ""), r = String(e?.file_name || "");
211
212
  return {
212
213
  alt: "",
213
214
  imgUrl: r.startsWith("http") ? r : `${n}${r.replace(/^\/+/, "")}`,
@@ -230,7 +231,7 @@ var oe = {
230
231
  }, $ = () => {
231
232
  A.value = !1, Q();
232
233
  }, Ve = () => {
233
- J.value.length <= 1 || (A.value = !0, Q(), V.value && (H.value = j.value, O("changeLoading", !0)), M.value = setInterval(() => {
234
+ J.value.length <= 1 || (A.value = !0, Q(), B.value && (V.value = j.value, O("changeLoading", !0)), M.value = setInterval(() => {
234
235
  j.value = (j.value + 1) % J.value.length;
235
236
  }, 1e3));
236
237
  }, He = () => {
@@ -241,10 +242,10 @@ var oe = {
241
242
  Ve();
242
243
  };
243
244
  C(j, (e) => {
244
- Be(e), V.value && H.value !== null && e === H.value && (V.value = !1, H.value = null, O("changeLoading", !1));
245
+ Be(e), B.value && V.value !== null && e === V.value && (B.value = !1, V.value = null, O("changeLoading", !1));
245
246
  }), C(j, () => {
246
247
  m(() => {
247
- let e = R.value;
248
+ let e = Ae.value;
248
249
  if (!e) return;
249
250
  let t = e.querySelectorAll(".radarAxis-li")[j.value];
250
251
  t && t.scrollIntoView({
@@ -261,7 +262,7 @@ var oe = {
261
262
  O("clearImgAniArr"), O("removeDataTitle", L.value), O("showRadarLegend", !1), $();
262
263
  return;
263
264
  }
264
- z.value = !0, await K(), z.value = !1;
265
+ R.value = !0, await G(), R.value = !1;
265
266
  }, Ge = (e) => {
266
267
  let t = !!P.value[e];
267
268
  P.value[e] = !t, t || (F.value[e] = !0);
@@ -275,6 +276,23 @@ var oe = {
275
276
  lat: Number(e.y),
276
277
  zoom: 11
277
278
  });
279
+ let t = `pile_${e.item.Name}`;
280
+ console.log("pileItem", e), setTimeout(() => {
281
+ let e = document.querySelectorAll(`[id="${t}"]`);
282
+ if (console.log(e), e.length > 0) {
283
+ let t = 0, n = setInterval(() => {
284
+ if (t >= 8) {
285
+ clearInterval(n), e.forEach((e) => {
286
+ e.style.visibility = "visible";
287
+ });
288
+ return;
289
+ }
290
+ e.forEach((e) => {
291
+ e.style.visibility = e.style.visibility === "hidden" ? "visible" : "hidden";
292
+ }), t++;
293
+ }, 300);
294
+ }
295
+ }, 500);
278
296
  };
279
297
  return (e, t) => {
280
298
  let n = i, c = a, p = r, m = o;
@@ -370,7 +388,7 @@ var oe = {
370
388
  })], 8, we), d("div", Te, [d("span", Ee, b(J.value[j.value] || ""), 1), d("div", {
371
389
  class: "radarAxis",
372
390
  ref_key: "ref_radarAxis",
373
- ref: R
391
+ ref: Ae
374
392
  }, [(_(!0), u(s, null, y(q.value, (e, n) => (_(), u("div", De, [d("div", {
375
393
  class: "radarAxis-li-node",
376
394
  onClick: (e) => (j.value = Number(n), Ue())
@@ -383,9 +401,9 @@ var oe = {
383
401
  key: t,
384
402
  style: g({ backgroundColor: e._isHistory ? "" : "#ca9e64" })
385
403
  }, null, 4), [[S, n !== q.value.length - 1]])), 64))]))), 256))], 512)])], 512), [[S, k.value]])
386
- ])), [[m, z.value]]);
404
+ ])), [[m, R.value]]);
387
405
  };
388
406
  }
389
- }), [["__scopeId", "data-v-847a7ed4"]]);
407
+ }), [["__scopeId", "data-v-d55e15d3"]]);
390
408
  //#endregion
391
409
  export { D as t };
@@ -1,6 +1,6 @@
1
1
  import { n as e, r as t } from "./component-AqiMonitor-BUy1MSaP.mjs";
2
2
  import { A as n, C as r, D as i, E as ee, M as a, N as o, O as s, P as c, S as l, T as u, _ as d, a as f, b as p, c as m, d as te, f as ne, g as re, h as ie, i as ae, j as oe, k as se, l as ce, m as le, n 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-BplmvdB0.mjs";
3
- import { n as v } from "./component-LithiumBatteryMiningArea-uQetbL3w.mjs";
3
+ import { n as v } from "./component-LithiumBatteryMiningArea-DfRcsCeD.mjs";
4
4
  import { ElLoadingDirective as y, ElOption as b, ElSelect as x } from "element-plus/es";
5
5
  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
6
  import * as ve from "echarts";
@@ -1,5 +1,5 @@
1
1
  import { r as e } from "./component-AqiMonitor-BUy1MSaP.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-C5fDgaPG.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-C9bkPvSS.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 = {
@@ -1,5 +1,5 @@
1
1
  import { n as e, r as t } from "./component-AqiMonitor-BUy1MSaP.mjs";
2
- 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-C5fDgaPG.mjs";
2
+ 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-C9bkPvSS.mjs";
3
3
  import { ElLoadingDirective as O } from "element-plus/es";
4
4
  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
5
  import "element-plus/es/components/loading/style/css";
@@ -1,6 +1,6 @@
1
1
  import { n as e, r as t } from "./component-AqiMonitor-BUy1MSaP.mjs";
2
2
  import { A as n, C as r, D as i, E as a, M as o, N as s, O as ee, P as c, S as l, T as u, _ as d, a as f, b as te, c as ne, d as re, f as ie, g as ae, h as p, i as m, j as h, k as g, l as _, m as v, n 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-BplmvdB0.mjs";
3
- import { n as k } from "./component-LithiumBatteryMiningArea-uQetbL3w.mjs";
3
+ import { n as k } from "./component-LithiumBatteryMiningArea-DfRcsCeD.mjs";
4
4
  import { ElLoadingDirective as A } from "element-plus/es";
5
5
  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
6
  //#region src/components/WeatherForecast/WeatherForecast.vue?vue&type=script&setup=true&lang.ts