nxd-plugin 1.7.60 → 1.7.61
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/{component-ChartCumulativePre-Dz1c6bcI.mjs → component-ChartCumulativePre-B1-2oWSv.mjs} +47 -69
- package/dist/chunks/component-YCLoginNew-Ssv3Tm8I.mjs +364 -0
- package/dist/nxd-plugin.mjs +2 -2
- package/dist/src/components/YCLoginNew/YCLoginNew.vue.d.ts +1 -0
- package/dist/styles/component-ChartCumulativePre.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/component-YCLoginNew-Bi9ATD7v.mjs +0 -183
|
@@ -9,7 +9,7 @@ import "element-plus/es/components/option/style/css";
|
|
|
9
9
|
var x = {
|
|
10
10
|
class: "ChartCumulativePre",
|
|
11
11
|
"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 =
|
|
12
|
+
}, S = { class: "ChartCumulativePre-head" }, C = { class: "ChartCumulativePre-head-top" }, w = { class: "ChartCumulativePre-filters" }, T = { class: "filter-item" }, E = /* @__PURE__ */ e(/* @__PURE__ */ u({
|
|
13
13
|
__name: "ChartCumulativePre",
|
|
14
14
|
props: {
|
|
15
15
|
appKey: {
|
|
@@ -30,55 +30,48 @@ var x = {
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
setup(e, { emit: u }) {
|
|
33
|
-
let
|
|
34
|
-
label: "08时",
|
|
35
|
-
value: "08"
|
|
36
|
-
}, {
|
|
37
|
-
label: "20时",
|
|
38
|
-
value: "20"
|
|
39
|
-
}]), L = m(null), R = m(null), z = m([]);
|
|
33
|
+
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([]);
|
|
40
34
|
f(() => {
|
|
41
|
-
|
|
42
|
-
|
|
35
|
+
L(), P.value = setInterval(() => {
|
|
36
|
+
L();
|
|
43
37
|
}, 1e3 * 60 * 10);
|
|
44
38
|
}), d(() => {
|
|
45
|
-
|
|
39
|
+
P.value && clearInterval(P.value), P.value = null, F.value && clearInterval(F.value), F.value = null, j &&= (j.dispose(), null);
|
|
46
40
|
});
|
|
47
|
-
let
|
|
48
|
-
|
|
49
|
-
|
|
41
|
+
let L = async () => {
|
|
42
|
+
F.value &&= (clearInterval(F.value), null), await R(), z(), F.value = setInterval(() => {
|
|
43
|
+
if (N.value.length > 0) {
|
|
44
|
+
let e = (N.value.findIndex((e) => e.stationNumber === M.value) + 1) % N.value.length;
|
|
45
|
+
M.value = N.value[e].stationNumber, z();
|
|
46
|
+
}
|
|
50
47
|
}, 1e3 * 10);
|
|
51
|
-
},
|
|
52
|
-
|
|
48
|
+
}, R = async () => {
|
|
49
|
+
O.value = !0;
|
|
53
50
|
let e = await t({
|
|
54
|
-
appKey:
|
|
55
|
-
appSalt:
|
|
56
|
-
id:
|
|
51
|
+
appKey: E.appKey,
|
|
52
|
+
appSalt: E.appSalt,
|
|
53
|
+
id: E.ids.data.id,
|
|
57
54
|
variables: {},
|
|
58
|
-
baseHttp:
|
|
59
|
-
reqType:
|
|
60
|
-
isFormData:
|
|
55
|
+
baseHttp: E.baseHttp,
|
|
56
|
+
reqType: E.ids.data.reqType,
|
|
57
|
+
isFormData: E.ids.data.isFormData
|
|
61
58
|
});
|
|
62
|
-
|
|
59
|
+
O.value = !1;
|
|
63
60
|
let n = e.data.result || {};
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
let e = z.value;
|
|
61
|
+
I.value = n.stationData || [];
|
|
62
|
+
let r = n.stationSelect || [];
|
|
63
|
+
N.value = r, !M.value && r.length > 0 && (M.value = r[0].stationNumber);
|
|
64
|
+
}, z = () => {
|
|
65
|
+
if (!A.value) return;
|
|
66
|
+
j ||= b.init(A.value);
|
|
67
|
+
let e = I.value;
|
|
72
68
|
if (!e.length) return;
|
|
73
|
-
let t = Array.from({ length: 12 }, (e, t) => `${t + 1}月`), n =
|
|
74
|
-
|
|
69
|
+
let t = Array.from({ length: 12 }, (e, t) => `${t + 1}月`), n = Array(12).fill(0);
|
|
70
|
+
e.filter((e) => e.stationNumber === M.value).forEach((e) => {
|
|
75
71
|
let t = e.month - 1;
|
|
76
|
-
t >= 0 && t < 12 && (
|
|
77
|
-
}), r = r.map((e) => Number(e.toFixed(1)))) : e.filter((e) => e.stationNumber === N.value).forEach((e) => {
|
|
78
|
-
let t = e.month - 1;
|
|
79
|
-
t >= 0 && t < 12 && (r[t] = e[n] || 0);
|
|
72
|
+
t >= 0 && t < 12 && (n[t] = e.precipitation20 || 0);
|
|
80
73
|
});
|
|
81
|
-
let
|
|
74
|
+
let r = {
|
|
82
75
|
title: {
|
|
83
76
|
text: "单位: mm",
|
|
84
77
|
textStyle: {
|
|
@@ -147,64 +140,49 @@ var x = {
|
|
|
147
140
|
0
|
|
148
141
|
]
|
|
149
142
|
},
|
|
150
|
-
data:
|
|
143
|
+
data: n
|
|
151
144
|
}]
|
|
152
145
|
};
|
|
153
|
-
|
|
154
|
-
},
|
|
155
|
-
|
|
146
|
+
j.clear(), j.setOption(r);
|
|
147
|
+
}, B = () => {
|
|
148
|
+
D("close", "ChartCumulativePre");
|
|
156
149
|
};
|
|
157
150
|
return (e, t) => {
|
|
158
151
|
let u = r, d = i, f = n;
|
|
159
152
|
return y((p(), s("div", x, [
|
|
160
|
-
c("div", S, [c("div", C, [c("div", null, g(_(
|
|
153
|
+
c("div", S, [c("div", C, [c("div", null, g(_(k)) + "年累计降水", 1), c("div", {
|
|
161
154
|
class: "closeBtn",
|
|
162
|
-
onClick:
|
|
155
|
+
onClick: B,
|
|
163
156
|
title: "关闭"
|
|
164
|
-
})]), t[
|
|
157
|
+
})]), t[1] ||= c("img", {
|
|
165
158
|
class: "ChartCumulativePre-head-line",
|
|
166
159
|
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",
|
|
167
160
|
alt: ""
|
|
168
161
|
}, null, -1)]),
|
|
169
|
-
c("div", w, [c("div", T, [t[
|
|
170
|
-
modelValue:
|
|
171
|
-
"onUpdate:modelValue": t[0] ||= (e) =>
|
|
162
|
+
c("div", w, [c("div", T, [t[2] ||= c("span", { class: "label" }, "站点:", -1), l(d, {
|
|
163
|
+
modelValue: M.value,
|
|
164
|
+
"onUpdate:modelValue": t[0] ||= (e) => M.value = e,
|
|
172
165
|
placeholder: "请选择",
|
|
173
166
|
class: "dark-select",
|
|
174
167
|
style: { width: "110px" },
|
|
175
168
|
size: "small",
|
|
176
|
-
onChange:
|
|
169
|
+
onChange: z
|
|
177
170
|
}, {
|
|
178
|
-
default: v(() => [(p(!0), s(a, null, h(
|
|
171
|
+
default: v(() => [(p(!0), s(a, null, h(N.value, (e) => (p(), o(u, {
|
|
179
172
|
key: e.stationNumber,
|
|
180
173
|
label: e.stationName,
|
|
181
174
|
value: e.stationNumber
|
|
182
175
|
}, null, 8, ["label", "value"]))), 128))]),
|
|
183
176
|
_: 1
|
|
184
|
-
}, 8, ["modelValue"])]), c("div", E, [t[4] ||= c("span", { class: "label" }, "时段:", -1), l(d, {
|
|
185
|
-
modelValue: F.value,
|
|
186
|
-
"onUpdate:modelValue": t[1] ||= (e) => F.value = e,
|
|
187
|
-
placeholder: "请选择",
|
|
188
|
-
class: "dark-select",
|
|
189
|
-
style: { width: "100px" },
|
|
190
|
-
size: "small",
|
|
191
|
-
onChange: H
|
|
192
|
-
}, {
|
|
193
|
-
default: v(() => [(p(!0), s(a, null, h(I.value, (e) => (p(), o(u, {
|
|
194
|
-
key: e.value,
|
|
195
|
-
label: e.label,
|
|
196
|
-
value: e.value
|
|
197
|
-
}, null, 8, ["label", "value"]))), 128))]),
|
|
198
|
-
_: 1
|
|
199
177
|
}, 8, ["modelValue"])])]),
|
|
200
178
|
c("div", {
|
|
201
179
|
ref_key: "chartRef",
|
|
202
|
-
ref:
|
|
180
|
+
ref: A,
|
|
203
181
|
class: "ChartCumulativePre-chart"
|
|
204
182
|
}, null, 512)
|
|
205
|
-
])), [[f,
|
|
183
|
+
])), [[f, O.value]]);
|
|
206
184
|
};
|
|
207
185
|
}
|
|
208
|
-
}), [["__scopeId", "data-v-
|
|
186
|
+
}), [["__scopeId", "data-v-04dabce3"]]);
|
|
209
187
|
//#endregion
|
|
210
|
-
export {
|
|
188
|
+
export { E as t };
|
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
import { n as e, r as t } from "./component-AqiMonitor-BUy1MSaP.mjs";
|
|
2
|
+
import { n } from "./component-LithiumBatteryMiningArea-DfRcsCeD.mjs";
|
|
3
|
+
import { ElButton as r, ElForm as i, ElFormItem as a, ElIcon as o, ElInput as ee } from "element-plus/es";
|
|
4
|
+
import { Fragment as s, createBlock as c, createElementBlock as l, createElementVNode as u, createTextVNode as te, createVNode as d, defineComponent as f, onBeforeUnmount as p, onMounted as m, openBlock as h, reactive as g, ref as _, renderList as v, toDisplayString as y, unref as b, withCtx as x, withKeys as S } from "vue";
|
|
5
|
+
import { Lock as C, Message as w, Platform as ne, User as T } from "@element-plus/icons-vue";
|
|
6
|
+
import "element-plus/es/components/button/style/css";
|
|
7
|
+
import { ElMessage as E } from "element-plus";
|
|
8
|
+
import "element-plus/es/components/icon/style/css";
|
|
9
|
+
import "element-plus/es/components/form/style/css";
|
|
10
|
+
import "element-plus/es/components/form-item/style/css";
|
|
11
|
+
import "element-plus/es/components/input/style/css";
|
|
12
|
+
import "element-plus/es/components/message/style/css";
|
|
13
|
+
//#region src/components/YCLoginNew/YCLoginNew.vue?vue&type=script&setup=true&lang.ts
|
|
14
|
+
var re = { class: "YCLoginNew" }, ie = { class: "particles" }, ae = { class: "login-container" }, oe = { class: "login-wrapper" }, se = { class: "login-box" }, D = { class: "login-header" }, O = { class: "header-icon" }, k = { class: "title" }, A = { class: "en-title" }, j = { class: "input-icon-box" }, M = { class: "input-icon-box" }, N = { class: "form-options" }, P = { class: "input-icon-box" }, F = { class: "code-input-wrapper" }, I = { class: "input-icon-box" }, L = { class: "input-icon-box" }, R = { class: "input-icon-box" }, z = { class: "split-btn-container" }, B = "yc_reset_code_expire", V = /* @__PURE__ */ e(/* @__PURE__ */ f({
|
|
15
|
+
__name: "YCLoginNew",
|
|
16
|
+
props: {
|
|
17
|
+
appKey: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: ""
|
|
20
|
+
},
|
|
21
|
+
appSalt: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: ""
|
|
24
|
+
},
|
|
25
|
+
baseHttp: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: ""
|
|
28
|
+
},
|
|
29
|
+
ids: {
|
|
30
|
+
type: Object,
|
|
31
|
+
default: () => ({})
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
setup(e, { emit: f }) {
|
|
35
|
+
let V = e, H = f, U = _(), W = _(!1), G = g({
|
|
36
|
+
username: "",
|
|
37
|
+
password: ""
|
|
38
|
+
}), ce = {
|
|
39
|
+
username: [{
|
|
40
|
+
required: !0,
|
|
41
|
+
message: "请输入手机号",
|
|
42
|
+
trigger: "blur"
|
|
43
|
+
}],
|
|
44
|
+
password: [{
|
|
45
|
+
required: !0,
|
|
46
|
+
message: "请输入密码",
|
|
47
|
+
trigger: "blur"
|
|
48
|
+
}]
|
|
49
|
+
}, K = _(!1), q = _(), J = _(0), Y = null, X = g({
|
|
50
|
+
phone: "",
|
|
51
|
+
code: "",
|
|
52
|
+
newPassword: "",
|
|
53
|
+
confirmPassword: ""
|
|
54
|
+
}), le = {
|
|
55
|
+
phone: [{
|
|
56
|
+
required: !0,
|
|
57
|
+
message: "请输入手机号",
|
|
58
|
+
trigger: "blur"
|
|
59
|
+
}],
|
|
60
|
+
code: [{
|
|
61
|
+
required: !0,
|
|
62
|
+
message: "请输入验证码",
|
|
63
|
+
trigger: "blur"
|
|
64
|
+
}],
|
|
65
|
+
newPassword: [{
|
|
66
|
+
required: !0,
|
|
67
|
+
message: "请输入新密码",
|
|
68
|
+
trigger: "blur"
|
|
69
|
+
}],
|
|
70
|
+
confirmPassword: [{
|
|
71
|
+
required: !0,
|
|
72
|
+
message: "请确认新密码",
|
|
73
|
+
trigger: "blur"
|
|
74
|
+
}, {
|
|
75
|
+
validator: (e, t, n) => {
|
|
76
|
+
t === "" ? n(/* @__PURE__ */ Error("请再次输入密码")) : t === X.newPassword ? n() : n(/* @__PURE__ */ Error("两次输入密码不一致!"));
|
|
77
|
+
},
|
|
78
|
+
trigger: "blur"
|
|
79
|
+
}]
|
|
80
|
+
};
|
|
81
|
+
m(() => {
|
|
82
|
+
ue();
|
|
83
|
+
}), p(() => {
|
|
84
|
+
Y &&= (clearInterval(Y), null);
|
|
85
|
+
});
|
|
86
|
+
let ue = async () => {
|
|
87
|
+
let e = window.localStorage.getItem(B);
|
|
88
|
+
if (e) {
|
|
89
|
+
let t = parseInt(e), n = (/* @__PURE__ */ new Date()).getTime();
|
|
90
|
+
t > n ? (J.value = Math.ceil((t - n) / 1e3), Z()) : window.localStorage.removeItem(B);
|
|
91
|
+
}
|
|
92
|
+
}, Z = () => {
|
|
93
|
+
Y && clearInterval(Y), Y = setInterval(() => {
|
|
94
|
+
J.value--, J.value <= 0 && (Y && clearInterval(Y), Y = null, window.localStorage.removeItem(B));
|
|
95
|
+
}, 1e3);
|
|
96
|
+
}, de = () => {
|
|
97
|
+
if (!X.phone) {
|
|
98
|
+
E({
|
|
99
|
+
message: "请先输入手机号",
|
|
100
|
+
type: "warning",
|
|
101
|
+
zIndex: 6e3
|
|
102
|
+
});
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
J.value = 60;
|
|
106
|
+
let e = (/* @__PURE__ */ new Date()).getTime() + 60 * 1e3;
|
|
107
|
+
window.localStorage.setItem(B, e.toString()), Z(), E({
|
|
108
|
+
message: "验证码已发送",
|
|
109
|
+
type: "success",
|
|
110
|
+
zIndex: 6e3
|
|
111
|
+
});
|
|
112
|
+
}, Q = () => {
|
|
113
|
+
K.value = !1, q.value?.resetFields();
|
|
114
|
+
}, fe = () => {
|
|
115
|
+
q.value && q.value.validate((e) => {
|
|
116
|
+
e && (E({
|
|
117
|
+
message: "密码重置成功",
|
|
118
|
+
type: "success",
|
|
119
|
+
zIndex: 6e3
|
|
120
|
+
}), Q());
|
|
121
|
+
});
|
|
122
|
+
}, $ = () => {
|
|
123
|
+
U.value && U.value.validate(async (e) => {
|
|
124
|
+
if (e) {
|
|
125
|
+
W.value = !0;
|
|
126
|
+
let e = {
|
|
127
|
+
name: G.username,
|
|
128
|
+
pwd: G.password
|
|
129
|
+
}, r = (await t({
|
|
130
|
+
appKey: V.appKey,
|
|
131
|
+
appSalt: V.appSalt,
|
|
132
|
+
id: V.ids.data.id,
|
|
133
|
+
variables: { str: n.encode(JSON.stringify(e)) },
|
|
134
|
+
baseHttp: V.baseHttp,
|
|
135
|
+
reqType: V.ids.data.reqType,
|
|
136
|
+
isFormData: V.ids.data.isFormData
|
|
137
|
+
})).data.result.output;
|
|
138
|
+
if (W.value = !1, !r || r.length === 0) {
|
|
139
|
+
E({
|
|
140
|
+
message: "账号或密码错误",
|
|
141
|
+
type: "error",
|
|
142
|
+
zIndex: 6e3,
|
|
143
|
+
duration: 1500
|
|
144
|
+
});
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
147
|
+
E({
|
|
148
|
+
message: "登录成功!",
|
|
149
|
+
type: "success",
|
|
150
|
+
zIndex: 6e3,
|
|
151
|
+
duration: 1500
|
|
152
|
+
}), window.localStorage.setItem("user", JSON.stringify(r)), window.localStorage.setItem("uName", n.encode(G.username)), window.localStorage.setItem("uPwd", n.encode(G.password)), setTimeout(() => {
|
|
153
|
+
r.length > 1 ? H("toPage", "/home") : H("toPage", r[0].web_page);
|
|
154
|
+
}, 1e3);
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
};
|
|
158
|
+
return (e, t) => {
|
|
159
|
+
let n = o, f = ee, p = a, m = r, g = i;
|
|
160
|
+
return h(), l("div", re, [
|
|
161
|
+
t[16] ||= u("div", { class: "glow-bg" }, null, -1),
|
|
162
|
+
t[17] ||= u("div", { class: "glow-bg-2" }, null, -1),
|
|
163
|
+
u("div", ie, [(h(), l(s, null, v(20, (e) => u("div", {
|
|
164
|
+
class: "particle",
|
|
165
|
+
key: e
|
|
166
|
+
})), 64))]),
|
|
167
|
+
u("div", ae, [
|
|
168
|
+
t[14] ||= u("div", { class: "page-header" }, [u("h1", {
|
|
169
|
+
class: "main-title",
|
|
170
|
+
"data-text": "宜春市气象服务平台"
|
|
171
|
+
}, "宜春市气象服务平台"), u("p", { class: "sub-title" }, "专业气象服务 · 守护您的生产与生活")], -1),
|
|
172
|
+
t[15] ||= u("div", { class: "divider-line" }, null, -1),
|
|
173
|
+
u("div", oe, [
|
|
174
|
+
t[10] ||= u("div", { class: "corner top-left" }, null, -1),
|
|
175
|
+
t[11] ||= u("div", { class: "corner top-right" }, null, -1),
|
|
176
|
+
t[12] ||= u("div", { class: "corner bottom-left" }, null, -1),
|
|
177
|
+
t[13] ||= u("div", { class: "corner bottom-right" }, null, -1),
|
|
178
|
+
u("div", se, [u("div", D, [
|
|
179
|
+
u("div", O, [d(n, { size: 32 }, {
|
|
180
|
+
default: x(() => [d(b(ne))]),
|
|
181
|
+
_: 1
|
|
182
|
+
})]),
|
|
183
|
+
u("h2", k, y(K.value ? "重置密码" : "系统登录"), 1),
|
|
184
|
+
u("p", A, y(K.value ? "RESET PASSWORD" : "SYSTEM LOGIN"), 1)
|
|
185
|
+
]), K.value ? (h(), c(g, {
|
|
186
|
+
key: 1,
|
|
187
|
+
model: X,
|
|
188
|
+
rules: le,
|
|
189
|
+
ref_key: "resetFormRef",
|
|
190
|
+
ref: q,
|
|
191
|
+
class: "login-form reset-form"
|
|
192
|
+
}, {
|
|
193
|
+
default: x(() => [
|
|
194
|
+
d(p, { prop: "phone" }, {
|
|
195
|
+
default: x(() => [d(f, {
|
|
196
|
+
modelValue: X.phone,
|
|
197
|
+
"onUpdate:modelValue": t[3] ||= (e) => X.phone = e,
|
|
198
|
+
placeholder: "请输入手机号",
|
|
199
|
+
clearable: "",
|
|
200
|
+
size: "large",
|
|
201
|
+
class: "custom-input"
|
|
202
|
+
}, {
|
|
203
|
+
prefix: x(() => [u("div", P, [d(n, null, {
|
|
204
|
+
default: x(() => [d(b(T))]),
|
|
205
|
+
_: 1
|
|
206
|
+
})])]),
|
|
207
|
+
_: 1
|
|
208
|
+
}, 8, ["modelValue"])]),
|
|
209
|
+
_: 1
|
|
210
|
+
}),
|
|
211
|
+
d(p, { prop: "code" }, {
|
|
212
|
+
default: x(() => [u("div", F, [d(f, {
|
|
213
|
+
modelValue: X.code,
|
|
214
|
+
"onUpdate:modelValue": t[4] ||= (e) => X.code = e,
|
|
215
|
+
placeholder: "请输入验证码",
|
|
216
|
+
size: "large",
|
|
217
|
+
class: "custom-input"
|
|
218
|
+
}, {
|
|
219
|
+
prefix: x(() => [u("div", I, [d(n, null, {
|
|
220
|
+
default: x(() => [d(b(w))]),
|
|
221
|
+
_: 1
|
|
222
|
+
})])]),
|
|
223
|
+
_: 1
|
|
224
|
+
}, 8, ["modelValue"]), d(m, {
|
|
225
|
+
class: "send-code-btn",
|
|
226
|
+
type: "primary",
|
|
227
|
+
disabled: J.value > 0,
|
|
228
|
+
onClick: de
|
|
229
|
+
}, {
|
|
230
|
+
default: x(() => [te(y(J.value > 0 ? `${J.value} s` : "获取验证码"), 1)]),
|
|
231
|
+
_: 1
|
|
232
|
+
}, 8, ["disabled"])])]),
|
|
233
|
+
_: 1
|
|
234
|
+
}),
|
|
235
|
+
d(p, { prop: "newPassword" }, {
|
|
236
|
+
default: x(() => [d(f, {
|
|
237
|
+
modelValue: X.newPassword,
|
|
238
|
+
"onUpdate:modelValue": t[5] ||= (e) => X.newPassword = e,
|
|
239
|
+
type: "password",
|
|
240
|
+
placeholder: "请输入新密码",
|
|
241
|
+
"show-password": "",
|
|
242
|
+
size: "large",
|
|
243
|
+
class: "custom-input"
|
|
244
|
+
}, {
|
|
245
|
+
prefix: x(() => [u("div", L, [d(n, null, {
|
|
246
|
+
default: x(() => [d(b(C))]),
|
|
247
|
+
_: 1
|
|
248
|
+
})])]),
|
|
249
|
+
_: 1
|
|
250
|
+
}, 8, ["modelValue"])]),
|
|
251
|
+
_: 1
|
|
252
|
+
}),
|
|
253
|
+
d(p, { prop: "confirmPassword" }, {
|
|
254
|
+
default: x(() => [d(f, {
|
|
255
|
+
modelValue: X.confirmPassword,
|
|
256
|
+
"onUpdate:modelValue": t[6] ||= (e) => X.confirmPassword = e,
|
|
257
|
+
type: "password",
|
|
258
|
+
placeholder: "请确认新密码",
|
|
259
|
+
"show-password": "",
|
|
260
|
+
size: "large",
|
|
261
|
+
class: "custom-input"
|
|
262
|
+
}, {
|
|
263
|
+
prefix: x(() => [u("div", R, [d(n, null, {
|
|
264
|
+
default: x(() => [d(b(C))]),
|
|
265
|
+
_: 1
|
|
266
|
+
})])]),
|
|
267
|
+
_: 1
|
|
268
|
+
}, 8, ["modelValue"])]),
|
|
269
|
+
_: 1
|
|
270
|
+
}),
|
|
271
|
+
d(p, { class: "btn-item" }, {
|
|
272
|
+
default: x(() => [u("div", z, [d(m, {
|
|
273
|
+
class: "split-btn back-btn",
|
|
274
|
+
onClick: Q,
|
|
275
|
+
size: "large"
|
|
276
|
+
}, {
|
|
277
|
+
default: x(() => [...t[8] ||= [u("span", { class: "btn-text" }, "返 回", -1)]]),
|
|
278
|
+
_: 1
|
|
279
|
+
}), d(m, {
|
|
280
|
+
class: "split-btn confirm-btn",
|
|
281
|
+
type: "primary",
|
|
282
|
+
onClick: fe,
|
|
283
|
+
size: "large"
|
|
284
|
+
}, {
|
|
285
|
+
default: x(() => [...t[9] ||= [u("span", { class: "btn-text" }, "确 认", -1), u("div", { class: "btn-glow" }, null, -1)]]),
|
|
286
|
+
_: 1
|
|
287
|
+
})])]),
|
|
288
|
+
_: 1
|
|
289
|
+
})
|
|
290
|
+
]),
|
|
291
|
+
_: 1
|
|
292
|
+
}, 8, ["model"])) : (h(), c(g, {
|
|
293
|
+
key: 0,
|
|
294
|
+
model: G,
|
|
295
|
+
rules: ce,
|
|
296
|
+
ref_key: "loginFormRef",
|
|
297
|
+
ref: U,
|
|
298
|
+
onKeyup: S($, ["enter"]),
|
|
299
|
+
class: "login-form"
|
|
300
|
+
}, {
|
|
301
|
+
default: x(() => [
|
|
302
|
+
d(p, { prop: "username" }, {
|
|
303
|
+
default: x(() => [d(f, {
|
|
304
|
+
modelValue: G.username,
|
|
305
|
+
"onUpdate:modelValue": t[0] ||= (e) => G.username = e,
|
|
306
|
+
placeholder: "请输入手机号",
|
|
307
|
+
clearable: "",
|
|
308
|
+
size: "large",
|
|
309
|
+
class: "custom-input"
|
|
310
|
+
}, {
|
|
311
|
+
prefix: x(() => [u("div", j, [d(n, null, {
|
|
312
|
+
default: x(() => [d(b(T))]),
|
|
313
|
+
_: 1
|
|
314
|
+
})])]),
|
|
315
|
+
_: 1
|
|
316
|
+
}, 8, ["modelValue"])]),
|
|
317
|
+
_: 1
|
|
318
|
+
}),
|
|
319
|
+
d(p, { prop: "password" }, {
|
|
320
|
+
default: x(() => [d(f, {
|
|
321
|
+
modelValue: G.password,
|
|
322
|
+
"onUpdate:modelValue": t[1] ||= (e) => G.password = e,
|
|
323
|
+
type: "password",
|
|
324
|
+
placeholder: "请输入密码",
|
|
325
|
+
"show-password": "",
|
|
326
|
+
size: "large",
|
|
327
|
+
class: "custom-input"
|
|
328
|
+
}, {
|
|
329
|
+
prefix: x(() => [u("div", M, [d(n, null, {
|
|
330
|
+
default: x(() => [d(b(C))]),
|
|
331
|
+
_: 1
|
|
332
|
+
})])]),
|
|
333
|
+
_: 1
|
|
334
|
+
}, 8, ["modelValue"])]),
|
|
335
|
+
_: 1
|
|
336
|
+
}),
|
|
337
|
+
u("div", N, [u("span", {
|
|
338
|
+
class: "forgot-password",
|
|
339
|
+
onClick: t[2] ||= (e) => K.value = !0
|
|
340
|
+
}, "忘记密码?")]),
|
|
341
|
+
d(p, { class: "btn-item" }, {
|
|
342
|
+
default: x(() => [d(m, {
|
|
343
|
+
class: "login-btn",
|
|
344
|
+
type: "primary",
|
|
345
|
+
onClick: $,
|
|
346
|
+
loading: W.value,
|
|
347
|
+
size: "large"
|
|
348
|
+
}, {
|
|
349
|
+
default: x(() => [...t[7] ||= [u("span", { class: "btn-text" }, "登 录", -1), u("div", { class: "btn-glow" }, null, -1)]]),
|
|
350
|
+
_: 1
|
|
351
|
+
}, 8, ["loading"])]),
|
|
352
|
+
_: 1
|
|
353
|
+
})
|
|
354
|
+
]),
|
|
355
|
+
_: 1
|
|
356
|
+
}, 8, ["model"]))])
|
|
357
|
+
])
|
|
358
|
+
])
|
|
359
|
+
]);
|
|
360
|
+
};
|
|
361
|
+
}
|
|
362
|
+
}), [["__scopeId", "data-v-7bff81b1"]]);
|
|
363
|
+
//#endregion
|
|
364
|
+
export { V as t };
|
package/dist/nxd-plugin.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import { t as o } from "./chunks/component-HighwayWeatherForecast-BplmvdB0.mjs";
|
|
|
8
8
|
import { t as s } from "./chunks/component-ServiceMaterialsBtn-DqiX5KzU.mjs";
|
|
9
9
|
import { t as c } from "./chunks/component-YCHome-D5N8wvlw.mjs";
|
|
10
10
|
import { t as l } from "./chunks/component-LithiumBatteryMiningArea-DfRcsCeD.mjs";
|
|
11
|
-
import { t as u } from "./chunks/component-YCLoginNew-
|
|
11
|
+
import { t as u } from "./chunks/component-YCLoginNew-Ssv3Tm8I.mjs";
|
|
12
12
|
import { t as d } from "./chunks/component-HighWayFreeze-CIjTLONp.mjs";
|
|
13
13
|
import { t as f } from "./chunks/component-RadarLegend-DW3-sWxw.mjs";
|
|
14
14
|
import { t as p } from "./chunks/component-RadarShortTerm-BaQy4AVN.mjs";
|
|
@@ -29,7 +29,7 @@ import { t as D } from "./chunks/component-Duty-vTAc8Pnv.mjs";
|
|
|
29
29
|
import { t as O } from "./chunks/component-RenderMarkdown-Bzr70vqr.mjs";
|
|
30
30
|
import { t as k } from "./chunks/component-EarlyWarningStatistic-CvnL9pUy.mjs";
|
|
31
31
|
import { t as A } from "./chunks/component-ChartRealTimePre-fdGD6b6W.mjs";
|
|
32
|
-
import { t as j } from "./chunks/component-ChartCumulativePre-
|
|
32
|
+
import { t as j } from "./chunks/component-ChartCumulativePre-B1-2oWSv.mjs";
|
|
33
33
|
import { t as M } from "./chunks/component-ChartServiceMaterial-jbICJ7zm.mjs";
|
|
34
34
|
//#region src/index.ts
|
|
35
35
|
var N = { install(N) {
|
|
@@ -22,5 +22,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
22
22
|
ids: Record<string, any>;
|
|
23
23
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
24
24
|
loginFormRef: any;
|
|
25
|
+
resetFormRef: any;
|
|
25
26
|
}, HTMLDivElement>;
|
|
26
27
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ChartCumulativePre[data-v-
|
|
1
|
+
.ChartCumulativePre[data-v-04dabce3]{color:#fff;box-sizing:border-box;background:#002140e6;border:1px solid #0bc4e9;width:360px;height:300px;padding:10px;position:relative}.ChartCumulativePre .ChartCumulativePre-head[data-v-04dabce3]{width:100%;position:relative}.ChartCumulativePre .ChartCumulativePre-head .ChartCumulativePre-head-top[data-v-04dabce3]{color:#fff;justify-content:space-between;align-items:center;width:100%;height:20px;margin-bottom:6px;font-size:16px;font-weight:700;display:flex}.ChartCumulativePre .ChartCumulativePre-head .ChartCumulativePre-head-top .closeBtn[data-v-04dabce3]{cursor:pointer;background:#b4c4d247;border:1px solid #b0d2e65c;border-radius:50%;width:16px;height:16px;transition:background-color .28s cubic-bezier(.22,1,.36,1),border-color .28s cubic-bezier(.22,1,.36,1),box-shadow .28s cubic-bezier(.22,1,.36,1),transform .22s cubic-bezier(.22,1,.36,1);position:relative;transform:scale(1);box-shadow:inset 0 1px 1px #ffffff1f}.ChartCumulativePre .ChartCumulativePre-head .ChartCumulativePre-head-top .closeBtn[data-v-04dabce3]:before,.ChartCumulativePre .ChartCumulativePre-head .ChartCumulativePre-head-top .closeBtn[data-v-04dabce3]:after{content:"";transform-origin:50%;opacity:0;background:#7a1b18;border-radius:1px;width:9px;height:1.8px;transition:opacity .2s;position:absolute;top:50%;left:50%}.ChartCumulativePre .ChartCumulativePre-head .ChartCumulativePre-head-top .closeBtn[data-v-04dabce3]:before{transform:translate(-50%,-50%)rotate(45deg)}.ChartCumulativePre .ChartCumulativePre-head .ChartCumulativePre-head-top .closeBtn[data-v-04dabce3]:after{transform:translate(-50%,-50%)rotate(-45deg)}.ChartCumulativePre .ChartCumulativePre-head .ChartCumulativePre-head-top .closeBtn[data-v-04dabce3]:hover{background:#ff5f57;border-color:#e0443e;transform:scale(1.14);box-shadow:inset 0 1px 1px #ffffff59,0 0 0 1px #0003}.ChartCumulativePre .ChartCumulativePre-head .ChartCumulativePre-head-top .closeBtn[data-v-04dabce3]:hover:before,.ChartCumulativePre .ChartCumulativePre-head .ChartCumulativePre-head-top .closeBtn[data-v-04dabce3]:hover:after{opacity:1}.ChartCumulativePre .ChartCumulativePre-head .ChartCumulativePre-head-top .closeBtn[data-v-04dabce3]:active{transform:scale(.96)}.ChartCumulativePre .ChartCumulativePre-head .ChartCumulativePre-head-line[data-v-04dabce3]{width:100%;height:10px}.ChartCumulativePre .ChartCumulativePre-filters[data-v-04dabce3]{justify-content:space-between;align-items:center;width:100%;margin-top:8px;margin-bottom:2px;display:flex}.ChartCumulativePre .ChartCumulativePre-filters .filter-item[data-v-04dabce3]{color:#fff;align-items:center;font-size:13px;display:flex}.ChartCumulativePre .ChartCumulativePre-filters .filter-item .label[data-v-04dabce3]{flex-shrink:0}.ChartCumulativePre .ChartCumulativePre-filters .filter-item[data-v-04dabce3] .dark-select .el-select__wrapper{height:24px;min-height:24px;box-shadow:none;background:#0bc4e914;border:1px solid #0bc4e94d;padding-top:0;padding-bottom:0}.ChartCumulativePre .ChartCumulativePre-filters .filter-item[data-v-04dabce3] .dark-select .el-select__placeholder,.ChartCumulativePre .ChartCumulativePre-filters .filter-item[data-v-04dabce3] .dark-select .el-select__selected-item{color:#ffffffdb}.ChartCumulativePre .ChartCumulativePre-chart[data-v-04dabce3]{width:100%;height:calc(100% - 70px)}
|