jmash-core 0.1.11 → 0.1.12
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/401-B-zsepse.mjs +103 -0
- package/dist/404-CONZYh8l.mjs +37 -0
- package/dist/{BarChart-DOObTQ_q.mjs → BarChart-4TUTUasV.mjs} +1 -1
- package/dist/index-B1SSOakk.mjs +235 -0
- package/dist/{index-DrGL8ZkC.mjs → index-DY2ILYJ5.mjs} +3 -3
- package/dist/{index-BC5xos_O.mjs → index-DoIpmzAF.mjs} +3 -3
- package/dist/index-SONmoe7f.mjs +54 -0
- package/dist/{index-BpualbXj.mjs → index-jbciilFG.mjs} +4 -4
- package/dist/index.mjs +1 -1
- package/dist/{profile-CrxGndFz.mjs → profile-BJH0YwW_.mjs} +1 -1
- package/dist/{runAs-CEo8Wx7S.mjs → runAs-DqrDuOUP.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-CunYsZlj.mjs → runAs.vue_vue_type_script_setup_true_lang-D24eVmlS.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{types-Cr1cXfOV.mjs → types-B9fYCnd0.mjs} +1 -1
- package/dist/{updatePwd-BCiT4xRx.mjs → updatePwd--OT3Q2JS.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-CiTeLB9V.mjs → updatePwd.vue_vue_type_script_setup_true_lang-DgBnToSJ.mjs} +1 -1
- package/package.json +1 -2
- package/dist/401-Brud7tNX.mjs +0 -103
- package/dist/404-CndYXbdW.mjs +0 -37
- package/dist/images/401.gif +0 -0
- package/dist/images/404.png +0 -0
- package/dist/images/404_cloud.png +0 -0
- package/dist/images/login-bg-dark.jpg +0 -0
- package/dist/images/login-bg-small.png +0 -0
- package/dist/images/login-bg.jpg +0 -0
- package/dist/images/qrcode-success.jpg +0 -0
- package/dist/index-BmHTGI3d.mjs +0 -54
- package/dist/index-CW4c2Adf.mjs +0 -235
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock as I, openBlock as y, createElementVNode as u, defineComponent as B, ref as V, reactive as f, resolveComponent as i, Fragment as D, createVNode as t, withCtx as l, createTextVNode as _, toDisplayString as v } from "vue";
|
|
2
|
-
import { t as E, b as w, v as N, w as q, x as R } from "./index-
|
|
2
|
+
import { t as E, b as w, v as N, w as q, x as R } from "./index-DY2ILYJ5.mjs";
|
|
3
3
|
const S = {
|
|
4
4
|
viewBox: "0 0 1024 1024",
|
|
5
5
|
width: "1.2em",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as q, ref as v, toRefs as E, reactive as V, resolveComponent as i, createBlock as O, openBlock as A, unref as t, isRef as D, withCtx as n, createVNode as r, createElementVNode as U, createTextVNode as g, toDisplayString as _ } from "vue";
|
|
2
2
|
import { ElMessage as B } from "element-plus";
|
|
3
|
-
import { y as b, aD as I } from "./index-
|
|
3
|
+
import { y as b, aD as I } from "./index-DY2ILYJ5.mjs";
|
|
4
4
|
import { useI18n as S } from "vue-i18n";
|
|
5
5
|
const z = { class: "dialog-footer" }, G = /* @__PURE__ */ q({
|
|
6
6
|
__name: "updatePwd",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jmash-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dts/src/index.d.ts",
|
|
@@ -75,7 +75,6 @@
|
|
|
75
75
|
"path-browserify": "^1.0.1",
|
|
76
76
|
"path-to-regexp": "^6.3.0",
|
|
77
77
|
"qs": "^6.14.0",
|
|
78
|
-
"public-path-replace": "^0.0.1",
|
|
79
78
|
"sm-crypto": "^0.3.13",
|
|
80
79
|
"sortablejs": "^1.15.6"
|
|
81
80
|
}
|
package/dist/401-Brud7tNX.mjs
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { defineComponent as u, reactive as v, toRefs as V, resolveComponent as n, createElementBlock as x, openBlock as C, createVNode as o, withCtx as l, createTextVNode as r, createElementVNode as e, withModifiers as R, unref as i, isRef as y } from "vue";
|
|
2
|
-
import { useRouter as z } from "vue-router";
|
|
3
|
-
import { h as G } from "./index-DrGL8ZkC.mjs";
|
|
4
|
-
const N = { class: "errPage-container" }, h = { class: "list-unstyled" }, B = { class: "link-type" }, E = ["src"], P = ["src"], U = /* @__PURE__ */ u({
|
|
5
|
-
__name: "401",
|
|
6
|
-
setup(j) {
|
|
7
|
-
u({
|
|
8
|
-
name: "Page401"
|
|
9
|
-
});
|
|
10
|
-
const p = v({
|
|
11
|
-
errGif: new URL("/node_modules/jmash-core/dist/images/401.gif", import.meta.url).href,
|
|
12
|
-
ewizardClap: "https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646",
|
|
13
|
-
dialogVisible: !1
|
|
14
|
-
}), { errGif: m, ewizardClap: f, dialogVisible: s } = V(p), _ = z();
|
|
15
|
-
function b() {
|
|
16
|
-
_.back();
|
|
17
|
-
}
|
|
18
|
-
return (I, t) => {
|
|
19
|
-
const g = n("el-button"), c = n("router-link"), a = n("el-col"), w = n("el-row"), k = n("el-dialog");
|
|
20
|
-
return C(), x("div", N, [
|
|
21
|
-
o(g, {
|
|
22
|
-
icon: "el-icon-arrow-left",
|
|
23
|
-
class: "pan-back-btn",
|
|
24
|
-
onClick: b
|
|
25
|
-
}, {
|
|
26
|
-
default: l(() => t[2] || (t[2] = [
|
|
27
|
-
r(" 返回 ")
|
|
28
|
-
])),
|
|
29
|
-
_: 1,
|
|
30
|
-
__: [2]
|
|
31
|
-
}),
|
|
32
|
-
o(w, null, {
|
|
33
|
-
default: l(() => [
|
|
34
|
-
o(a, { span: 12 }, {
|
|
35
|
-
default: l(() => [
|
|
36
|
-
t[6] || (t[6] = e("h1", { class: "text-jumbo text-ginormous" }, "Oops!", -1)),
|
|
37
|
-
t[7] || (t[7] = r(" gif来源")),
|
|
38
|
-
t[8] || (t[8] = e("a", {
|
|
39
|
-
href: "https://zh.airbnb.com/",
|
|
40
|
-
target: "_blank"
|
|
41
|
-
}, "airbnb", -1)),
|
|
42
|
-
t[9] || (t[9] = r(" 页面 ")),
|
|
43
|
-
t[10] || (t[10] = e("h2", null, "你没有权限去该页面", -1)),
|
|
44
|
-
t[11] || (t[11] = e("h6", null, "如有不满请联系你领导", -1)),
|
|
45
|
-
e("ul", h, [
|
|
46
|
-
t[4] || (t[4] = e("li", null, "或者你可以去:", -1)),
|
|
47
|
-
e("li", B, [
|
|
48
|
-
o(c, { to: "/dashboard" }, {
|
|
49
|
-
default: l(() => t[3] || (t[3] = [
|
|
50
|
-
r(" 回首页 ")
|
|
51
|
-
])),
|
|
52
|
-
_: 1,
|
|
53
|
-
__: [3]
|
|
54
|
-
})
|
|
55
|
-
]),
|
|
56
|
-
t[5] || (t[5] = e("li", { class: "link-type" }, [
|
|
57
|
-
e("a", { href: "https://www.taobao.com/" }, "随便看看")
|
|
58
|
-
], -1)),
|
|
59
|
-
e("li", null, [
|
|
60
|
-
e("a", {
|
|
61
|
-
href: "#",
|
|
62
|
-
onClick: t[0] || (t[0] = R((d) => s.value = !0, ["prevent"]))
|
|
63
|
-
}, "点我看图")
|
|
64
|
-
])
|
|
65
|
-
])
|
|
66
|
-
]),
|
|
67
|
-
_: 1,
|
|
68
|
-
__: [6, 7, 8, 9, 10, 11]
|
|
69
|
-
}),
|
|
70
|
-
o(a, { span: 12 }, {
|
|
71
|
-
default: l(() => [
|
|
72
|
-
e("img", {
|
|
73
|
-
src: i(m),
|
|
74
|
-
width: "313",
|
|
75
|
-
height: "428",
|
|
76
|
-
alt: "Girl has dropped her ice cream."
|
|
77
|
-
}, null, 8, E)
|
|
78
|
-
]),
|
|
79
|
-
_: 1
|
|
80
|
-
})
|
|
81
|
-
]),
|
|
82
|
-
_: 1
|
|
83
|
-
}),
|
|
84
|
-
o(k, {
|
|
85
|
-
modelValue: i(s),
|
|
86
|
-
"onUpdate:modelValue": t[1] || (t[1] = (d) => y(s) ? s.value = d : null),
|
|
87
|
-
title: "随便看"
|
|
88
|
-
}, {
|
|
89
|
-
default: l(() => [
|
|
90
|
-
e("img", {
|
|
91
|
-
src: i(f),
|
|
92
|
-
class: "pan-img"
|
|
93
|
-
}, null, 8, P)
|
|
94
|
-
]),
|
|
95
|
-
_: 1
|
|
96
|
-
}, 8, ["modelValue"])
|
|
97
|
-
]);
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
}), T = /* @__PURE__ */ G(U, [["__scopeId", "data-v-044982c3"]]);
|
|
101
|
-
export {
|
|
102
|
-
T as default
|
|
103
|
-
};
|
package/dist/404-CndYXbdW.mjs
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { defineComponent as o, createElementBlock as i, openBlock as l, createElementVNode as s, createStaticVNode as r, createTextVNode as c, toDisplayString as n } from "vue";
|
|
2
|
-
import { h as _ } from "./index-DrGL8ZkC.mjs";
|
|
3
|
-
const d = "/node_modules/jmash-core/dist/images/404.png", e = "/node_modules/jmash-core/dist/images/404_cloud.png", f = { class: "wscn-http404-container" }, p = { class: "wscn-http404" }, h = { class: "bullshit" }, m = { class: "bullshit__headline" }, u = {
|
|
4
|
-
name: "Page404"
|
|
5
|
-
}, g = /* @__PURE__ */ o({
|
|
6
|
-
...u,
|
|
7
|
-
setup(v) {
|
|
8
|
-
function a() {
|
|
9
|
-
return "The webmaster said that you can not enter this page...";
|
|
10
|
-
}
|
|
11
|
-
return (b, t) => (l(), i("div", f, [
|
|
12
|
-
s("div", p, [
|
|
13
|
-
t[4] || (t[4] = r('<div class="pic-404" data-v-87406f2f><img class="pic-404__parent" src="' + d + '" alt="404" data-v-87406f2f><img class="pic-404__child left" src="' + e + '" alt="404" data-v-87406f2f><img class="pic-404__child mid" src="' + e + '" alt="404" data-v-87406f2f><img class="pic-404__child right" src="' + e + '" alt="404" data-v-87406f2f></div>', 1)),
|
|
14
|
-
s("div", h, [
|
|
15
|
-
t[0] || (t[0] = s("div", { class: "bullshit__oops" }, "OOPS!", -1)),
|
|
16
|
-
t[1] || (t[1] = s("div", { class: "bullshit__info" }, [
|
|
17
|
-
c(" All rights reserved "),
|
|
18
|
-
s("a", {
|
|
19
|
-
style: { color: "#20a0ff" },
|
|
20
|
-
href: "https://wallstreetcn.com",
|
|
21
|
-
target: "_blank"
|
|
22
|
-
}, "wallstreetcn")
|
|
23
|
-
], -1)),
|
|
24
|
-
s("div", m, n(a()), 1),
|
|
25
|
-
t[2] || (t[2] = s("div", { class: "bullshit__info" }, " Please check that the URL you entered is correct, or click the button below to return to the homepage. ", -1)),
|
|
26
|
-
t[3] || (t[3] = s("a", {
|
|
27
|
-
href: "",
|
|
28
|
-
class: "bullshit__return-home"
|
|
29
|
-
}, "Back to home", -1))
|
|
30
|
-
])
|
|
31
|
-
])
|
|
32
|
-
]));
|
|
33
|
-
}
|
|
34
|
-
}), x = /* @__PURE__ */ _(g, [["__scopeId", "data-v-87406f2f"]]);
|
|
35
|
-
export {
|
|
36
|
-
x as default
|
|
37
|
-
};
|
package/dist/images/401.gif
DELETED
|
Binary file
|
package/dist/images/404.png
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/images/login-bg.jpg
DELETED
|
Binary file
|
|
Binary file
|
package/dist/index-BmHTGI3d.mjs
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { defineComponent as v, ref as y, resolveComponent as d, createElementBlock as c, openBlock as l, createElementVNode as s, Fragment as x, renderList as k, unref as _, createVNode as g, toDisplayString as C, withCtx as w } from "vue";
|
|
2
|
-
import { b as p, o as B, f as R, h as q } from "./index-DrGL8ZkC.mjs";
|
|
3
|
-
import { useRoute as A, useRouter as L } from "vue-router";
|
|
4
|
-
const N = { class: "organ-container" }, O = { class: "organ-content" }, S = ["onClick"], U = ["src"], b = { style: { "margin-right": "auto" } }, E = /* @__PURE__ */ v({
|
|
5
|
-
__name: "index",
|
|
6
|
-
setup(I) {
|
|
7
|
-
const h = A(), m = L(), f = p(), i = y([]);
|
|
8
|
-
B().then((e) => {
|
|
9
|
-
e.data.results.length === 1 && u(e.data.results[0]), i.value = e.data.results;
|
|
10
|
-
});
|
|
11
|
-
const u = (e) => {
|
|
12
|
-
f.loginOrgan(e.tenant).then(() => {
|
|
13
|
-
p().user.tenant = e.tenant;
|
|
14
|
-
const n = h.query, a = n.redirect ?? "/", o = Object.keys(n).reduce(
|
|
15
|
-
(t, r) => (r !== "redirect" && (t[r] = n[r]), t),
|
|
16
|
-
{}
|
|
17
|
-
);
|
|
18
|
-
o.tenant = e.tenant, m.push({ path: a, query: o });
|
|
19
|
-
});
|
|
20
|
-
};
|
|
21
|
-
return (e, n) => {
|
|
22
|
-
const a = d("ArrowRightBold"), o = d("el-icon");
|
|
23
|
-
return l(), c("div", N, [
|
|
24
|
-
n[0] || (n[0] = s("h1", null, "请选择一个组织进入", -1)),
|
|
25
|
-
s("div", O, [
|
|
26
|
-
(l(!0), c(x, null, k(_(i), (t) => (l(), c("div", {
|
|
27
|
-
class: "organ-content_item",
|
|
28
|
-
key: t.organId,
|
|
29
|
-
onClick: (r) => u(t)
|
|
30
|
-
}, [
|
|
31
|
-
s("img", {
|
|
32
|
-
src: _(R).imageUrl(
|
|
33
|
-
t.logoUrl || "/wxapp/node_modules/jmash-core/dist/images/user/avatar.png",
|
|
34
|
-
60,
|
|
35
|
-
60
|
|
36
|
-
),
|
|
37
|
-
alt: "logo"
|
|
38
|
-
}, null, 8, U),
|
|
39
|
-
s("div", b, C(t.organName), 1),
|
|
40
|
-
g(o, null, {
|
|
41
|
-
default: w(() => [
|
|
42
|
-
g(a)
|
|
43
|
-
]),
|
|
44
|
-
_: 1
|
|
45
|
-
})
|
|
46
|
-
], 8, S))), 128))
|
|
47
|
-
])
|
|
48
|
-
]);
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
}), F = /* @__PURE__ */ q(E, [["__scopeId", "data-v-0e362977"]]);
|
|
52
|
-
export {
|
|
53
|
-
F as default
|
|
54
|
-
};
|
package/dist/index-CW4c2Adf.mjs
DELETED
|
@@ -1,235 +0,0 @@
|
|
|
1
|
-
import { w as b, u as _, b as W, n as H, e as F, g as G, y as J, t as X, z as Y, h as Z } from "./index-DrGL8ZkC.mjs";
|
|
2
|
-
import { defineComponent as ee, ref as c, computed as te, watchEffect as oe, resolveComponent as d, createElementBlock as le, openBlock as se, createElementVNode as o, createVNode as l, withDirectives as U, unref as q, withCtx as u, normalizeStyle as ae, vShow as D, withKeys as z, withModifiers as ne, createTextVNode as re, toDisplayString as Q, normalizeClass as ue } from "vue";
|
|
3
|
-
import { useI18n as ie } from "vue-i18n";
|
|
4
|
-
import "element-plus";
|
|
5
|
-
import { useRoute as ce, useRouter as de } from "vue-router";
|
|
6
|
-
const pe = "/node_modules/jmash-core/dist/images/login-bg-small.png", me = "/node_modules/jmash-core/dist/images/qrcode-success.jpg", fe = { class: "login-container" }, ve = { class: "absolute top-0 flex items-center justify-end px-5 h-20 w-full" }, ge = { class: "qrcode-container" }, _e = ["src"], he = { class: "flex justify-between items-center w-full" }, ye = ["src"], we = { class: "bg-small" }, Ce = 992, be = /* @__PURE__ */ ee({
|
|
7
|
-
__name: "index",
|
|
8
|
-
setup(qe) {
|
|
9
|
-
const { t: k } = ie(), h = c(b.APP_ACTIVE), j = (e) => {
|
|
10
|
-
e.props.name === "user" ? (C(), m()) : T(), h.value = e.props.name;
|
|
11
|
-
}, s = c({
|
|
12
|
-
scope: "",
|
|
13
|
-
username: "",
|
|
14
|
-
password: ""
|
|
15
|
-
}), B = te(() => {
|
|
16
|
-
const e = _().language === "en" ? "Please enter " : "请输入";
|
|
17
|
-
return {
|
|
18
|
-
username: [
|
|
19
|
-
{
|
|
20
|
-
required: !0,
|
|
21
|
-
trigger: "blur",
|
|
22
|
-
message: `${e}${k("login.username")}`
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
password: [
|
|
26
|
-
{
|
|
27
|
-
required: !0,
|
|
28
|
-
trigger: "blur",
|
|
29
|
-
validator: (t, n, a) => {
|
|
30
|
-
n.length < 5 ? a(new Error("The password can not be less than 5 digits")) : a();
|
|
31
|
-
},
|
|
32
|
-
message: `${e}${k("login.password")}`
|
|
33
|
-
}
|
|
34
|
-
],
|
|
35
|
-
captchaCode: [
|
|
36
|
-
{
|
|
37
|
-
required: !0,
|
|
38
|
-
trigger: "blur",
|
|
39
|
-
message: `${e}${k("login.captchaCode")}`
|
|
40
|
-
}
|
|
41
|
-
]
|
|
42
|
-
};
|
|
43
|
-
}), V = c(!1), I = c(), x = ce(), P = de(), $ = W(), E = () => {
|
|
44
|
-
var e;
|
|
45
|
-
(e = I.value) == null || e.validate((t) => {
|
|
46
|
-
t && (V.value = !0, $.login({ ...s.value, password: J(s.value.password) }).then(() => {
|
|
47
|
-
const n = x.query, a = n.redirect ?? b.APP_REDIRECT, r = Object.keys(n).reduce(
|
|
48
|
-
(p, g) => (g !== "redirect" && (p[g] = n[g]), p),
|
|
49
|
-
{}
|
|
50
|
-
);
|
|
51
|
-
P.push({ path: a, query: r }), m();
|
|
52
|
-
}).catch(() => {
|
|
53
|
-
m();
|
|
54
|
-
}).finally(() => {
|
|
55
|
-
V.value = !1;
|
|
56
|
-
}));
|
|
57
|
-
});
|
|
58
|
-
}, S = c(""), m = () => {
|
|
59
|
-
X().then(({ data: e }) => {
|
|
60
|
-
s.value.captchaKey = e.captchaId, S.value = e.base64Image;
|
|
61
|
-
});
|
|
62
|
-
};
|
|
63
|
-
m();
|
|
64
|
-
let y = setInterval(A, 3e3);
|
|
65
|
-
const f = c({});
|
|
66
|
-
function T() {
|
|
67
|
-
Y().then(({ data: e }) => {
|
|
68
|
-
f.value = e, v.value = !1, K(), y = setInterval(A, 3e3);
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
h.value === "qrCode" && T();
|
|
72
|
-
function A() {
|
|
73
|
-
f.value.ticket && $.loginByQrcode({ ticket: f.value.ticket }).then(() => {
|
|
74
|
-
C(), v.value = !1, f.value.qrcodeUrl = me;
|
|
75
|
-
const e = x.query, t = e.redirect ?? b.APP_REDIRECT, n = Object.keys(e).reduce(
|
|
76
|
-
(a, r) => (r !== "redirect" && (a[r] = e[r]), a),
|
|
77
|
-
{}
|
|
78
|
-
);
|
|
79
|
-
P.push({ path: t, query: n });
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
let w = null;
|
|
83
|
-
const v = c(!1);
|
|
84
|
-
function C() {
|
|
85
|
-
y && (clearInterval(y), y = null), w && (clearTimeout(w), w = null);
|
|
86
|
-
}
|
|
87
|
-
function K() {
|
|
88
|
-
C(), w = setTimeout(() => {
|
|
89
|
-
C(), v.value = !0;
|
|
90
|
-
}, b.APP_TIMEOUT);
|
|
91
|
-
}
|
|
92
|
-
const R = _(), { width: L } = H();
|
|
93
|
-
return oe(() => {
|
|
94
|
-
L.value < Ce ? R.toggleDevice("mobile") : R.toggleDevice("desktop");
|
|
95
|
-
}), (e, t) => {
|
|
96
|
-
const n = F, a = d("el-tab-pane"), r = d("el-input"), p = d("el-form-item"), g = d("el-button"), M = d("el-form"), N = d("el-tabs"), O = d("el-card");
|
|
97
|
-
return se(), le("div", fe, [
|
|
98
|
-
o("div", ve, [
|
|
99
|
-
l(n, {
|
|
100
|
-
class: "ml-2 cursor-pointer",
|
|
101
|
-
style: { "font-size": "18px" }
|
|
102
|
-
})
|
|
103
|
-
]),
|
|
104
|
-
l(O, {
|
|
105
|
-
device: q(_)().device,
|
|
106
|
-
class: "z-1 !border-none w-100 !bg-transparent !rounded-4% <sm:w-83"
|
|
107
|
-
}, {
|
|
108
|
-
default: u(() => [
|
|
109
|
-
l(N, {
|
|
110
|
-
modelValue: h.value,
|
|
111
|
-
"onUpdate:modelValue": t[3] || (t[3] = (i) => h.value = i),
|
|
112
|
-
class: "demo-tabs",
|
|
113
|
-
onTabClick: j
|
|
114
|
-
}, {
|
|
115
|
-
default: u(() => [
|
|
116
|
-
l(a, {
|
|
117
|
-
label: "扫码登录",
|
|
118
|
-
name: "qrCode"
|
|
119
|
-
}, {
|
|
120
|
-
default: u(() => [
|
|
121
|
-
o("div", ge, [
|
|
122
|
-
o("img", {
|
|
123
|
-
src: f.value.qrcodeUrl,
|
|
124
|
-
style: ae({ opacity: v.value ? 0.02 : 1 }),
|
|
125
|
-
alt: "二维码"
|
|
126
|
-
}, null, 12, _e),
|
|
127
|
-
U(o("div", null, [
|
|
128
|
-
t[4] || (t[4] = o("div", null, "二维码已过期", -1)),
|
|
129
|
-
o("div", { onClick: T }, "点击刷新")
|
|
130
|
-
], 512), [
|
|
131
|
-
[D, v.value]
|
|
132
|
-
])
|
|
133
|
-
]),
|
|
134
|
-
t[5] || (t[5] = o("div", null, "微信扫一扫登录", -1))
|
|
135
|
-
]),
|
|
136
|
-
_: 1,
|
|
137
|
-
__: [5]
|
|
138
|
-
}),
|
|
139
|
-
l(a, {
|
|
140
|
-
label: "账号登录",
|
|
141
|
-
name: "user"
|
|
142
|
-
}, {
|
|
143
|
-
default: u(() => [
|
|
144
|
-
l(M, {
|
|
145
|
-
ref_key: "formRef",
|
|
146
|
-
ref: I,
|
|
147
|
-
model: s.value,
|
|
148
|
-
rules: B.value
|
|
149
|
-
}, {
|
|
150
|
-
default: u(() => [
|
|
151
|
-
l(p, { prop: "username" }, {
|
|
152
|
-
default: u(() => [
|
|
153
|
-
l(r, {
|
|
154
|
-
modelValue: s.value.username,
|
|
155
|
-
"onUpdate:modelValue": t[0] || (t[0] = (i) => s.value.username = i),
|
|
156
|
-
placeholder: e.$t("login.username")
|
|
157
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
158
|
-
]),
|
|
159
|
-
_: 1
|
|
160
|
-
}),
|
|
161
|
-
l(p, { prop: "password" }, {
|
|
162
|
-
default: u(() => [
|
|
163
|
-
l(r, {
|
|
164
|
-
modelValue: s.value.password,
|
|
165
|
-
"onUpdate:modelValue": t[1] || (t[1] = (i) => s.value.password = i),
|
|
166
|
-
placeholder: e.$t("login.password"),
|
|
167
|
-
type: "password",
|
|
168
|
-
"show-password": "",
|
|
169
|
-
onKeyup: z(E, ["enter"])
|
|
170
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
171
|
-
]),
|
|
172
|
-
_: 1
|
|
173
|
-
}),
|
|
174
|
-
l(p, { prop: "captchaCode" }, {
|
|
175
|
-
default: u(() => [
|
|
176
|
-
o("div", he, [
|
|
177
|
-
l(r, {
|
|
178
|
-
style: { width: "65%" },
|
|
179
|
-
modelValue: s.value.captchaCode,
|
|
180
|
-
"onUpdate:modelValue": t[2] || (t[2] = (i) => s.value.captchaCode = i),
|
|
181
|
-
placeholder: e.$t("login.captchaCode"),
|
|
182
|
-
onKeyup: z(E, ["enter"])
|
|
183
|
-
}, null, 8, ["modelValue", "placeholder"]),
|
|
184
|
-
o("img", {
|
|
185
|
-
class: "flex-1 h-[40px] cursor-pointer ml-2",
|
|
186
|
-
src: S.value,
|
|
187
|
-
onClick: m,
|
|
188
|
-
alt: "验证码"
|
|
189
|
-
}, null, 8, ye)
|
|
190
|
-
])
|
|
191
|
-
]),
|
|
192
|
-
_: 1
|
|
193
|
-
}),
|
|
194
|
-
l(g, {
|
|
195
|
-
loading: V.value,
|
|
196
|
-
type: "primary",
|
|
197
|
-
class: "w-full",
|
|
198
|
-
onClick: ne(E, ["prevent"])
|
|
199
|
-
}, {
|
|
200
|
-
default: u(() => [
|
|
201
|
-
re(Q(e.$t("login.login")), 1)
|
|
202
|
-
]),
|
|
203
|
-
_: 1
|
|
204
|
-
}, 8, ["loading"])
|
|
205
|
-
]),
|
|
206
|
-
_: 1
|
|
207
|
-
}, 8, ["model", "rules"])
|
|
208
|
-
]),
|
|
209
|
-
_: 1
|
|
210
|
-
})
|
|
211
|
-
]),
|
|
212
|
-
_: 1
|
|
213
|
-
}, 8, ["modelValue"])
|
|
214
|
-
]),
|
|
215
|
-
_: 1
|
|
216
|
-
}, 8, ["device"]),
|
|
217
|
-
U(o("div", we, [
|
|
218
|
-
o("div", null, Q(q(G).title), 1),
|
|
219
|
-
t[6] || (t[6] = o("img", {
|
|
220
|
-
src: pe,
|
|
221
|
-
alt: "login-bg-small"
|
|
222
|
-
}, null, -1))
|
|
223
|
-
], 512), [
|
|
224
|
-
[D, q(_)().device === "desktop"]
|
|
225
|
-
]),
|
|
226
|
-
o("div", {
|
|
227
|
-
class: ue(q(_)().device)
|
|
228
|
-
}, " Copyright © 2018-2025 Apache 2.0 开源协议. ", 2)
|
|
229
|
-
]);
|
|
230
|
-
};
|
|
231
|
-
}
|
|
232
|
-
}), xe = /* @__PURE__ */ Z(be, [["__scopeId", "data-v-3fd0de3f"]]);
|
|
233
|
-
export {
|
|
234
|
-
xe as default
|
|
235
|
-
};
|