jmash-core 0.0.102 → 0.0.104
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/README.md +57 -57
- package/dist/{401-DOsGWxYo.mjs → 401-BGTy8ZWQ.mjs} +3 -3
- package/dist/{404-6mLT-MD0.mjs → 404-Be0TsdD8.mjs} +3 -3
- package/dist/{BarChart-D5Nidgu8.mjs → BarChart-B8YKtxGm.mjs} +2 -2
- package/dist/{index-BSbxeGU8.mjs → index-4YzudyQH.mjs} +77 -76
- package/dist/{index-ChpEoBUr.mjs → index-7Y-TPO7a.mjs} +17 -17
- package/dist/{index-DuOIZgFD.mjs → index-D_ifCRaU.mjs} +5 -5
- package/dist/{index-CcJS6lxo.mjs → index-FLy5n3-S.mjs} +3367 -3332
- package/dist/index.mjs +1 -1
- package/dist/{profile-Dg6AMMkU.mjs → profile-COvXZRgM.mjs} +7 -7
- package/dist/{runAs-zjHRjK6_.mjs → runAs-DjYqvNKJ.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-Dsge_zKd.mjs → runAs.vue_vue_type_script_setup_true_lang-DmjXMz7P.mjs} +950 -923
- package/dist/style.css +1 -1
- package/dist/{types-CqTQGcBr.mjs → types-BTnaLCWw.mjs} +1 -1
- package/dist/{updatePwd-Cqr5HVMV.mjs → updatePwd-DiLXBf6j.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-C1E3xk5o.mjs → updatePwd.vue_vue_type_script_setup_true_lang-DTstceg8.mjs} +1 -1
- package/dts/src/api/auth/types.d.ts +4 -0
- package/dts/src/api/system/dept/index.d.ts +91 -0
- package/dts/src/api/system/dept/types.d.ts +63 -0
- package/dts/src/api/system/index.d.ts +7 -0
- package/dts/src/api/system/job/index.d.ts +42 -0
- package/dts/src/api/system/job/types.d.ts +60 -0
- package/dts/src/api/system/log/index.d.ts +29 -0
- package/dts/src/api/system/log/types.d.ts +42 -0
- package/dts/src/api/system/menu/index.d.ts +103 -0
- package/dts/src/api/system/menu/types.d.ts +96 -0
- package/dts/src/api/system/module/index.d.ts +57 -0
- package/dts/src/api/system/module/types.d.ts +13 -0
- package/dts/src/api/system/operation/index.d.ts +51 -0
- package/dts/src/api/system/operation/types.d.ts +12 -0
- package/dts/src/api/system/permission/index.d.ts +50 -0
- package/dts/src/api/system/permission/types.d.ts +12 -0
- package/dts/src/api/system/role/index.d.ts +77 -0
- package/dts/src/api/system/role/types.d.ts +26 -0
- package/dts/src/api/system/user/index.d.ts +133 -0
- package/dts/src/api/system/user/types.d.ts +53 -0
- package/dts/src/api/system/userLog/index.d.ts +29 -0
- package/dts/src/api/system/userLog/types.d.ts +22 -0
- package/dts/src/assets/components/a-fixed.vue.d.ts +2 -0
- package/dts/src/assets/components/a-list.vue.d.ts +2 -0
- package/dts/src/assets/components/anquanrizhi.vue.d.ts +2 -0
- package/dts/src/assets/components/api.vue.d.ts +2 -0
- package/dts/src/assets/components/bumenguanli.vue.d.ts +2 -0
- package/dts/src/assets/components/caozuoguanliyuan.vue.d.ts +2 -0
- package/dts/src/assets/components/captcha.vue.d.ts +2 -0
- package/dts/src/assets/components/cascader.vue.d.ts +2 -0
- package/dts/src/assets/components/client.vue.d.ts +2 -0
- package/dts/src/assets/components/close-all.vue.d.ts +2 -0
- package/dts/src/assets/components/close-left.vue.d.ts +2 -0
- package/dts/src/assets/components/close-other.vue.d.ts +2 -0
- package/dts/src/assets/components/close-right.vue.d.ts +2 -0
- package/dts/src/assets/components/close.vue.d.ts +2 -0
- package/dts/src/assets/components/dict.vue.d.ts +2 -0
- package/dts/src/assets/components/document.vue.d.ts +2 -0
- package/dts/src/assets/components/download.vue.d.ts +2 -0
- package/dts/src/assets/components/drag.vue.d.ts +2 -0
- package/dts/src/assets/components/edit.vue.d.ts +2 -0
- package/dts/src/assets/components/email.vue.d.ts +2 -0
- package/dts/src/assets/components/exit-fullscreen.vue.d.ts +2 -0
- package/dts/src/assets/components/eye-open.vue.d.ts +2 -0
- package/dts/src/assets/components/eye.vue.d.ts +2 -0
- package/dts/src/assets/components/fullscreen-exit.vue.d.ts +2 -0
- package/dts/src/assets/components/fullscreen.vue.d.ts +2 -0
- package/dts/src/assets/components/gangweiguanli.vue.d.ts +2 -0
- package/dts/src/assets/components/github.vue.d.ts +2 -0
- package/dts/src/assets/components/homepage.vue.d.ts +2 -0
- package/dts/src/assets/components/icon-eye.vue.d.ts +2 -0
- package/dts/src/assets/components/icon-open-eye.vue.d.ts +2 -0
- package/dts/src/assets/components/icon.vue.d.ts +2 -0
- package/dts/src/assets/components/indent-decrease.vue.d.ts +2 -0
- package/dts/src/assets/components/ip.vue.d.ts +2 -0
- package/dts/src/assets/components/jiemianxijietubiao-26.vue.d.ts +2 -0
- package/dts/src/assets/components/language.vue.d.ts +2 -0
- package/dts/src/assets/components/link.vue.d.ts +2 -0
- package/dts/src/assets/components/lock.vue.d.ts +2 -0
- package/dts/src/assets/components/log.vue.d.ts +2 -0
- package/dts/src/assets/components/menu.vue.d.ts +2 -0
- package/dts/src/assets/components/message.vue.d.ts +2 -0
- package/dts/src/assets/components/mokuaiguanli.vue.d.ts +2 -0
- package/dts/src/assets/components/money.vue.d.ts +2 -0
- package/dts/src/assets/components/monitor.vue.d.ts +2 -0
- package/dts/src/assets/components/moon.vue.d.ts +2 -0
- package/dts/src/assets/components/order.vue.d.ts +2 -0
- package/dts/src/assets/components/password.vue.d.ts +2 -0
- package/dts/src/assets/components/peoples.vue.d.ts +2 -0
- package/dts/src/assets/components/phone.vue.d.ts +2 -0
- package/dts/src/assets/components/project.vue.d.ts +2 -0
- package/dts/src/assets/components/publish.vue.d.ts +2 -0
- package/dts/src/assets/components/quanxianguanli.vue.d.ts +2 -0
- package/dts/src/assets/components/redis.vue.d.ts +2 -0
- package/dts/src/assets/components/refresh.vue.d.ts +2 -0
- package/dts/src/assets/components/role.vue.d.ts +2 -0
- package/dts/src/assets/components/security.vue.d.ts +2 -0
- package/dts/src/assets/components/setting.vue.d.ts +2 -0
- package/dts/src/assets/components/shoujihao.vue.d.ts +2 -0
- package/dts/src/assets/components/shrink.vue.d.ts +2 -0
- package/dts/src/assets/components/size.vue.d.ts +2 -0
- package/dts/src/assets/components/sunny.vue.d.ts +2 -0
- package/dts/src/assets/components/system.vue.d.ts +2 -0
- package/dts/src/assets/components/table.vue.d.ts +2 -0
- package/dts/src/assets/components/team.vue.d.ts +2 -0
- package/dts/src/assets/components/todolist.vue.d.ts +2 -0
- package/dts/src/assets/components/tree.vue.d.ts +2 -0
- package/dts/src/assets/components/user.vue.d.ts +2 -0
- package/dts/src/assets/components/visit.vue.d.ts +2 -0
- package/dts/src/assets/components/xingming.vue.d.ts +2 -0
- package/dts/src/assets/components/yonghuguanli.vue.d.ts +2 -0
- package/dts/src/assets/components/youxiang.vue.d.ts +2 -0
- package/dts/src/components/DictSelect/index.vue.d.ts +1 -1
- package/dts/src/components/Pagination/index.vue.d.ts +2 -2
- package/dts/src/components/SvgIcon/index.vue.d.ts +1 -1
- package/dts/src/components/TableSet/index.vue.d.ts +30 -0
- package/dts/src/hooks/useColumnToggleTable.d.ts +7 -0
- package/dts/src/views/dashboard/components/BarChart.vue.d.ts +1 -1
- package/dts/src/views/dashboard/components/FunnelChart.vue.d.ts +1 -1
- package/dts/src/views/dashboard/components/PieChart.vue.d.ts +1 -1
- package/dts/src/views/dashboard/components/RadarChart.vue.d.ts +1 -1
- package/dts/src/views/system/dept/edit.vue.d.ts +31 -0
- package/dts/src/views/system/dept/index.vue.d.ts +2 -0
- package/dts/src/views/system/job/edit.vue.d.ts +30 -0
- package/dts/src/views/system/job/index.vue.d.ts +2 -0
- package/dts/src/views/system/log/oplog/index.vue.d.ts +2 -0
- package/dts/src/views/system/log/userLog/index.vue.d.ts +2 -0
- package/dts/src/views/system/menu/edit.vue.d.ts +31 -0
- package/dts/src/views/system/menu/index.vue.d.ts +2 -0
- package/dts/src/views/system/module/edit.vue.d.ts +31 -0
- package/dts/src/views/system/module/index.vue.d.ts +2 -0
- package/dts/src/views/system/operation/edit.vue.d.ts +31 -0
- package/dts/src/views/system/operation/index.vue.d.ts +2 -0
- package/dts/src/views/system/permission/edit.vue.d.ts +30 -0
- package/dts/src/views/system/permission/index.vue.d.ts +2 -0
- package/dts/src/views/system/role/edit.vue.d.ts +31 -0
- package/dts/src/views/system/role/index.vue.d.ts +2 -0
- package/dts/src/views/system/user/edit.vue.d.ts +31 -0
- package/dts/src/views/system/user/index.vue.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import { _ as oe } from "./picture-CBRsHLZl.mjs";
|
|
2
|
-
import { defineComponent as te, ref as
|
|
2
|
+
import { defineComponent as te, ref as d, watchEffect as se, computed as le, onMounted as ne, resolveComponent as c, openBlock as v, createElementBlock as U, createElementVNode as n, createVNode as t, unref as o, isRef as ae, withCtx as r, toDisplayString as R, createTextVNode as D, createBlock as A, Fragment as re, renderList as ce, createCommentVNode as ie, withKeys as N, withModifiers as de, withDirectives as pe, vShow as ue, pushScopeId as me, popScopeId as _e } from "vue";
|
|
3
3
|
import { useI18n as ge } from "vue-i18n";
|
|
4
|
-
import { d as
|
|
4
|
+
import { d as I, u as T, n as he, c as fe, _ as ve, S as m, x as we, q as ye, y as ke, z as Ce, r as Ve, h as be } from "./index-FLy5n3-S.mjs";
|
|
5
5
|
import { ElForm as z } from "element-plus";
|
|
6
6
|
import { useRoute as Se } from "vue-router";
|
|
7
|
-
const B = (_) => (me("data-v-
|
|
7
|
+
const B = (_) => (me("data-v-cdaa9774"), _ = _(), _e(), _), xe = { class: "login-container" }, $e = { class: "absolute top-0 flex items-center justify-end px-5 h-20 w-full" }, Re = { class: "text-center relative" }, De = { class: "p-2" }, Ie = { class: "p-2" }, Ee = { class: "p-2" }, qe = { class: "p-2" }, Le = { class: "captcha" }, Ue = { class: "image-slot" }, Ae = { class: "forgot-pwd" }, Ne = { class: "absolute bottom-1 text-[10px] text-center" }, Te = /* @__PURE__ */ B(() => /* @__PURE__ */ n("p", null, "Copyright © 2024 All Rights Reserved. Apache 2.0 协议.", -1)), ze = /* @__PURE__ */ B(() => /* @__PURE__ */ n("p", null, "备案号: XXXX .", -1)), Be = [
|
|
8
8
|
Te,
|
|
9
9
|
ze
|
|
10
10
|
], Fe = 992, Ke = /* @__PURE__ */ te({
|
|
11
11
|
__name: "index",
|
|
12
12
|
setup(_) {
|
|
13
|
-
const
|
|
14
|
-
we(e),
|
|
13
|
+
const w = I(), { title: F, version: K } = w, y = d(w.theme === "dark"), X = (e) => {
|
|
14
|
+
we(e), w.changeSetting({
|
|
15
15
|
key: "theme",
|
|
16
16
|
value: e ? "dark" : "light"
|
|
17
17
|
});
|
|
18
|
-
},
|
|
18
|
+
}, k = T(), { width: j } = he();
|
|
19
19
|
se(() => {
|
|
20
|
-
j.value < Fe ?
|
|
20
|
+
j.value < Fe ? k.toggleDevice("mobile") : k.toggleDevice("desktop");
|
|
21
21
|
});
|
|
22
|
-
const
|
|
22
|
+
const C = d(!1), E = d(!1), g = d(!1), q = d(), L = d(z), V = d([]), a = d({
|
|
23
23
|
scope: "",
|
|
24
24
|
username: "",
|
|
25
25
|
password: ""
|
|
26
|
-
}), { t:
|
|
27
|
-
const e =
|
|
26
|
+
}), { t: b } = ge(), M = le(() => {
|
|
27
|
+
const e = k.language === "en" ? "Please enter " : "请输入";
|
|
28
28
|
return {
|
|
29
29
|
username: [
|
|
30
30
|
{
|
|
31
31
|
required: !0,
|
|
32
32
|
trigger: "blur",
|
|
33
|
-
message: `${e}${
|
|
33
|
+
message: `${e}${b("login.username")}`
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
36
|
password: [
|
|
37
37
|
{
|
|
38
38
|
required: !0,
|
|
39
39
|
trigger: "blur",
|
|
40
|
-
validator: (
|
|
41
|
-
p.length < 5 ?
|
|
40
|
+
validator: (s, p, u) => {
|
|
41
|
+
p.length < 5 ? u(new Error("The password can not be less than 5 digits")) : u();
|
|
42
42
|
},
|
|
43
|
-
message: `${e}${
|
|
43
|
+
message: `${e}${b("login.password")}`
|
|
44
44
|
}
|
|
45
45
|
],
|
|
46
46
|
captchaCode: [
|
|
47
47
|
{
|
|
48
48
|
required: !0,
|
|
49
49
|
trigger: "blur",
|
|
50
|
-
message: `${e}${
|
|
50
|
+
message: `${e}${b("login.captchaCode")}`
|
|
51
51
|
}
|
|
52
52
|
]
|
|
53
53
|
};
|
|
54
54
|
});
|
|
55
55
|
function O(e) {
|
|
56
|
-
const { key:
|
|
57
|
-
E.value =
|
|
56
|
+
const { key: s } = e;
|
|
57
|
+
E.value = s && s.length === 1 && s >= "A" && s <= "Z";
|
|
58
58
|
}
|
|
59
59
|
function h() {
|
|
60
60
|
ye().then(({ data: e }) => {
|
|
@@ -63,55 +63,56 @@ const B = (_) => (me("data-v-6eeae742"), _ = _(), _e(), _), xe = { class: "login
|
|
|
63
63
|
}
|
|
64
64
|
function P() {
|
|
65
65
|
ke().then(({ data: e }) => {
|
|
66
|
-
|
|
66
|
+
V.value = e.roleList;
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
69
|
const W = Se(), H = fe();
|
|
70
|
-
function
|
|
70
|
+
function S() {
|
|
71
71
|
L.value.validate((e) => {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
72
|
+
if (e) {
|
|
73
|
+
C.value = !0;
|
|
74
|
+
let s = { ...a.value };
|
|
75
|
+
s.password = Ce(a.value.password), a.value.password = "", H.login(s).then(() => {
|
|
76
|
+
const p = W.query, u = p.redirect ?? "/", x = Object.keys(p).reduce((f, i) => (i !== "redirect" && (f[i] = p[i]), f), {});
|
|
77
|
+
Ve.value.push({ path: u, query: x }), h();
|
|
78
|
+
}).catch(() => {
|
|
79
|
+
h();
|
|
80
|
+
}).finally(() => {
|
|
81
|
+
C.value = !1;
|
|
82
|
+
});
|
|
83
|
+
}
|
|
83
84
|
});
|
|
84
85
|
}
|
|
85
86
|
return ne(() => {
|
|
86
87
|
h(), P();
|
|
87
|
-
const e =
|
|
88
|
-
|
|
89
|
-
}), (e,
|
|
90
|
-
const p = c("el-switch"),
|
|
91
|
-
return
|
|
88
|
+
const e = I().theme;
|
|
89
|
+
I().changeSetting({ key: "theme", value: e }), e == "dark" ? document.documentElement.classList.add("dark") : document.documentElement.classList.remove("dark");
|
|
90
|
+
}), (e, s) => {
|
|
91
|
+
const p = c("el-switch"), u = c("el-tag"), x = c("el-option"), f = c("el-select"), i = c("el-form-item"), $ = c("el-input"), Q = c("el-tooltip"), Z = oe, G = c("el-image"), J = c("router-link"), Y = c("el-button"), ee = c("el-card");
|
|
92
|
+
return v(), U("div", xe, [
|
|
92
93
|
n("div", $e, [
|
|
93
|
-
|
|
94
|
-
modelValue: o(
|
|
95
|
-
"onUpdate:modelValue":
|
|
94
|
+
t(p, {
|
|
95
|
+
modelValue: o(y),
|
|
96
|
+
"onUpdate:modelValue": s[0] || (s[0] = (l) => ae(y) ? y.value = l : null),
|
|
96
97
|
"inline-prompt": "",
|
|
97
98
|
"active-color": "var(--el-fill-color-dark)",
|
|
98
99
|
"inactive-color": "var(--el-color-primary)",
|
|
99
100
|
onChange: X
|
|
100
101
|
}, null, 8, ["modelValue"]),
|
|
101
|
-
|
|
102
|
+
t(ve, { class: "ml-2 cursor-pointer" })
|
|
102
103
|
]),
|
|
103
|
-
|
|
104
|
+
t(ee, { class: "z-1 !border-none w-100 !bg-transparent !rounded-4% <sm:w-83" }, {
|
|
104
105
|
default: r(() => [
|
|
105
106
|
n("div", Re, [
|
|
106
107
|
n("h2", null, R(o(F)), 1),
|
|
107
|
-
|
|
108
|
+
t(u, { class: "ml-2 absolute top-0 right-0" }, {
|
|
108
109
|
default: r(() => [
|
|
109
|
-
|
|
110
|
+
D(R(o(K)), 1)
|
|
110
111
|
]),
|
|
111
112
|
_: 1
|
|
112
113
|
})
|
|
113
114
|
]),
|
|
114
|
-
|
|
115
|
+
t(o(z), {
|
|
115
116
|
ref_key: "loginFormRef",
|
|
116
117
|
ref: L,
|
|
117
118
|
model: o(a),
|
|
@@ -120,22 +121,22 @@ const B = (_) => (me("data-v-6eeae742"), _ = _(), _e(), _), xe = { class: "login
|
|
|
120
121
|
class: "login-form"
|
|
121
122
|
}, {
|
|
122
123
|
default: r(() => [
|
|
123
|
-
o(
|
|
124
|
+
o(V).length > 0 ? (v(), A(i, {
|
|
124
125
|
key: 0,
|
|
125
126
|
prop: "scope"
|
|
126
127
|
}, {
|
|
127
128
|
default: r(() => [
|
|
128
|
-
n("div",
|
|
129
|
-
|
|
129
|
+
n("div", De, [
|
|
130
|
+
t(m, { "icon-class": "user" })
|
|
130
131
|
]),
|
|
131
|
-
|
|
132
|
+
t(f, {
|
|
132
133
|
modelValue: o(a).scope,
|
|
133
|
-
"onUpdate:modelValue":
|
|
134
|
+
"onUpdate:modelValue": s[1] || (s[1] = (l) => o(a).scope = l),
|
|
134
135
|
placeholder: "Select",
|
|
135
136
|
class: "flex-1"
|
|
136
137
|
}, {
|
|
137
138
|
default: r(() => [
|
|
138
|
-
(
|
|
139
|
+
(v(!0), U(re, null, ce(o(V), (l) => (v(), A(x, {
|
|
139
140
|
key: l.roleCode,
|
|
140
141
|
label: l.roleName,
|
|
141
142
|
value: l.roleCode
|
|
@@ -146,15 +147,15 @@ const B = (_) => (me("data-v-6eeae742"), _ = _(), _e(), _), xe = { class: "login
|
|
|
146
147
|
]),
|
|
147
148
|
_: 1
|
|
148
149
|
})) : ie("", !0),
|
|
149
|
-
|
|
150
|
+
t(i, { prop: "username" }, {
|
|
150
151
|
default: r(() => [
|
|
151
|
-
n("div",
|
|
152
|
-
|
|
152
|
+
n("div", Ie, [
|
|
153
|
+
t(m, { "icon-class": "user" })
|
|
153
154
|
]),
|
|
154
|
-
|
|
155
|
+
t($, {
|
|
155
156
|
ref: "username",
|
|
156
157
|
modelValue: o(a).username,
|
|
157
|
-
"onUpdate:modelValue":
|
|
158
|
+
"onUpdate:modelValue": s[2] || (s[2] = (l) => o(a).username = l),
|
|
158
159
|
class: "flex-1",
|
|
159
160
|
placeholder: e.$t("login.username"),
|
|
160
161
|
name: "username"
|
|
@@ -162,34 +163,34 @@ const B = (_) => (me("data-v-6eeae742"), _ = _(), _e(), _), xe = { class: "login
|
|
|
162
163
|
]),
|
|
163
164
|
_: 1
|
|
164
165
|
}),
|
|
165
|
-
|
|
166
|
+
t(Q, {
|
|
166
167
|
disabled: o(E) === !1,
|
|
167
168
|
content: "Caps lock is On",
|
|
168
169
|
placement: "right"
|
|
169
170
|
}, {
|
|
170
171
|
default: r(() => [
|
|
171
|
-
|
|
172
|
+
t(i, { prop: "password" }, {
|
|
172
173
|
default: r(() => [
|
|
173
174
|
n("span", Ee, [
|
|
174
|
-
|
|
175
|
+
t(m, { "icon-class": "password" })
|
|
175
176
|
]),
|
|
176
|
-
|
|
177
|
+
t($, {
|
|
177
178
|
modelValue: o(a).password,
|
|
178
|
-
"onUpdate:modelValue":
|
|
179
|
+
"onUpdate:modelValue": s[3] || (s[3] = (l) => o(a).password = l),
|
|
179
180
|
class: "flex-1",
|
|
180
181
|
placeholder: e.$t("login.password"),
|
|
181
182
|
type: o(g) === !1 ? "password" : "input",
|
|
182
183
|
name: "password",
|
|
183
184
|
onKeyup: [
|
|
184
185
|
O,
|
|
185
|
-
N(
|
|
186
|
+
N(S, ["enter"])
|
|
186
187
|
]
|
|
187
188
|
}, null, 8, ["modelValue", "placeholder", "type"]),
|
|
188
189
|
n("span", {
|
|
189
190
|
class: "mr-2",
|
|
190
|
-
onClick:
|
|
191
|
+
onClick: s[4] || (s[4] = (l) => g.value = !o(g))
|
|
191
192
|
}, [
|
|
192
|
-
|
|
193
|
+
t(m, {
|
|
193
194
|
"icon-class": o(g) === !1 ? "eye" : "eye-open",
|
|
194
195
|
class: "cursor-pointer"
|
|
195
196
|
}, null, 8, ["icon-class"])
|
|
@@ -200,28 +201,28 @@ const B = (_) => (me("data-v-6eeae742"), _ = _(), _e(), _), xe = { class: "login
|
|
|
200
201
|
]),
|
|
201
202
|
_: 1
|
|
202
203
|
}, 8, ["disabled"]),
|
|
203
|
-
|
|
204
|
+
t(i, { prop: "captchaCode" }, {
|
|
204
205
|
default: r(() => [
|
|
205
206
|
n("span", qe, [
|
|
206
|
-
|
|
207
|
+
t(m, { "icon-class": "captcha" })
|
|
207
208
|
]),
|
|
208
|
-
|
|
209
|
+
t($, {
|
|
209
210
|
modelValue: o(a).captchaCode,
|
|
210
|
-
"onUpdate:modelValue":
|
|
211
|
+
"onUpdate:modelValue": s[5] || (s[5] = (l) => o(a).captchaCode = l),
|
|
211
212
|
"auto-complete": "off",
|
|
212
213
|
placeholder: e.$t("login.captchaCode"),
|
|
213
214
|
class: "w-[60%]",
|
|
214
|
-
onKeyup: N(
|
|
215
|
+
onKeyup: N(S, ["enter"])
|
|
215
216
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
216
217
|
n("div", Le, [
|
|
217
|
-
|
|
218
|
+
t(G, {
|
|
218
219
|
src: o(q),
|
|
219
220
|
onClick: h,
|
|
220
221
|
class: "w-[130px] h-[50px] cursor-pointer"
|
|
221
222
|
}, {
|
|
222
223
|
error: r(() => [
|
|
223
224
|
n("div", Ue, [
|
|
224
|
-
|
|
225
|
+
t(Z)
|
|
225
226
|
])
|
|
226
227
|
]),
|
|
227
228
|
_: 1
|
|
@@ -231,21 +232,21 @@ const B = (_) => (me("data-v-6eeae742"), _ = _(), _e(), _), xe = { class: "login
|
|
|
231
232
|
_: 1
|
|
232
233
|
}),
|
|
233
234
|
n("div", Ae, [
|
|
234
|
-
|
|
235
|
+
t(J, { to: "/secondLogin" }, {
|
|
235
236
|
default: r(() => [
|
|
236
|
-
|
|
237
|
+
D("手机号/邮箱登录")
|
|
237
238
|
]),
|
|
238
239
|
_: 1
|
|
239
240
|
})
|
|
240
241
|
]),
|
|
241
|
-
|
|
242
|
-
loading: o(
|
|
242
|
+
t(Y, {
|
|
243
|
+
loading: o(C),
|
|
243
244
|
type: "primary",
|
|
244
245
|
class: "w-full",
|
|
245
|
-
onClick: de(
|
|
246
|
+
onClick: de(S, ["prevent"])
|
|
246
247
|
}, {
|
|
247
248
|
default: r(() => [
|
|
248
|
-
|
|
249
|
+
D(R(e.$t("login.login")), 1)
|
|
249
250
|
]),
|
|
250
251
|
_: 1
|
|
251
252
|
}, 8, ["loading"])
|
|
@@ -261,7 +262,7 @@ const B = (_) => (me("data-v-6eeae742"), _ = _(), _e(), _), xe = { class: "login
|
|
|
261
262
|
]);
|
|
262
263
|
};
|
|
263
264
|
}
|
|
264
|
-
}), He = /* @__PURE__ */ be(Ke, [["__scopeId", "data-v-
|
|
265
|
+
}), He = /* @__PURE__ */ be(Ke, [["__scopeId", "data-v-cdaa9774"]]);
|
|
265
266
|
export {
|
|
266
267
|
He as default
|
|
267
268
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as Q, E as Ue, S as ae, a as qe, b as be, c as He, d as te, D as me, e as We, f as Ke, g as ce, _ as Xe, h as F, i as Se, r as Ce, j as de, T as he, m as je, s as Ge, k as Ye, l as ue, n as Je } from "./index-
|
|
1
|
+
import { u as Q, E as Ue, S as ae, a as qe, b as be, c as He, d as te, D as me, e as We, f as Ke, g as ce, _ as Xe, h as F, i as Se, r as Ce, j as de, T as he, m as je, s as Ge, k as Ye, l as ue, n as Je } from "./index-FLy5n3-S.mjs";
|
|
2
2
|
import { defineComponent as I, ref as z, resolveComponent as V, openBlock as u, createBlock as k, withCtx as g, createVNode as _, createElementBlock as x, Fragment as K, renderList as le, unref as l, createTextVNode as B, toDisplayString as P, createElementVNode as w, computed as R, createCommentVNode as T, isRef as _e, watch as ne, onBeforeMount as Qe, TransitionGroup as Ze, withModifiers as re, normalizeClass as H, pushScopeId as et, popScopeId as tt, Transition as Te, KeepAlive as nt, resolveDynamicComponent as xe, getCurrentInstance as ot, nextTick as $e, onMounted as Ae, withDirectives as it, normalizeStyle as at, vShow as lt, normalizeProps as st, guardReactiveProps as rt, renderSlot as ct, watchEffect as ut } from "vue";
|
|
3
3
|
import { useRoute as fe, useRouter as ye } from "vue-router";
|
|
4
|
-
import { _ as dt } from "./updatePwd.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as ft, E as mt } from "./runAs.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as dt } from "./updatePwd.vue_vue_type_script_setup_true_lang-DTstceg8.mjs";
|
|
5
|
+
import { _ as ft, E as mt } from "./runAs.vue_vue_type_script_setup_true_lang-DmjXMz7P.mjs";
|
|
6
6
|
import { storeToRefs as _t } from "pinia";
|
|
7
7
|
const pt = /* @__PURE__ */ I({
|
|
8
8
|
__name: "index",
|
|
@@ -187,7 +187,7 @@ const pt = /* @__PURE__ */ I({
|
|
|
187
187
|
]);
|
|
188
188
|
};
|
|
189
189
|
}
|
|
190
|
-
}), Me = /* @__PURE__ */ F(xt, [["__scopeId", "data-v-
|
|
190
|
+
}), Me = /* @__PURE__ */ F(xt, [["__scopeId", "data-v-70f27c82"]]);
|
|
191
191
|
function yt(i) {
|
|
192
192
|
for (var e = [], t = 0; t < i.length; ) {
|
|
193
193
|
var n = i[t];
|
|
@@ -440,7 +440,7 @@ const Tt = {
|
|
|
440
440
|
});
|
|
441
441
|
};
|
|
442
442
|
}
|
|
443
|
-
}), Pt = /* @__PURE__ */ F(Mt, [["__scopeId", "data-v-
|
|
443
|
+
}), Pt = /* @__PURE__ */ F(Mt, [["__scopeId", "data-v-6109c28e"]]), Et = /* @__PURE__ */ I({
|
|
444
444
|
__name: "index",
|
|
445
445
|
props: {
|
|
446
446
|
isActive: {
|
|
@@ -468,7 +468,7 @@ const Tt = {
|
|
|
468
468
|
]);
|
|
469
469
|
};
|
|
470
470
|
}
|
|
471
|
-
}), Pe = /* @__PURE__ */ F(Et, [["__scopeId", "data-v-
|
|
471
|
+
}), Pe = /* @__PURE__ */ F(Et, [["__scopeId", "data-v-42e37629"]]), Lt = { class: "flex" }, It = /* @__PURE__ */ I({
|
|
472
472
|
__name: "NavbarLeft",
|
|
473
473
|
setup(i) {
|
|
474
474
|
const e = Q();
|
|
@@ -494,9 +494,9 @@ function Bt(i, e) {
|
|
|
494
494
|
_(n)
|
|
495
495
|
]);
|
|
496
496
|
}
|
|
497
|
-
const Nt = /* @__PURE__ */ F(Rt, [["render", Bt], ["__scopeId", "data-v-
|
|
497
|
+
const Nt = /* @__PURE__ */ F(Rt, [["render", Bt], ["__scopeId", "data-v-b1624593"]]);
|
|
498
498
|
var J = /* @__PURE__ */ ((i) => (i.LEFT = "left", i.TOP = "top", i.MIX = "mix", i))(J || {});
|
|
499
|
-
const se = (i) => (et("data-v-
|
|
499
|
+
const se = (i) => (et("data-v-2bdf1403"), i = i(), tt(), i), Ot = { class: "flex flex-wrap justify-around w-full h-12" }, zt = /* @__PURE__ */ se(() => /* @__PURE__ */ w("div", null, null, -1)), Ft = /* @__PURE__ */ se(() => /* @__PURE__ */ w("div", null, null, -1)), Ut = [
|
|
500
500
|
zt,
|
|
501
501
|
Ft
|
|
502
502
|
], qt = /* @__PURE__ */ se(() => /* @__PURE__ */ w("div", null, null, -1)), Ht = /* @__PURE__ */ se(() => /* @__PURE__ */ w("div", null, null, -1)), Wt = [
|
|
@@ -558,7 +558,7 @@ const se = (i) => (et("data-v-d50a3d59"), i = i(), tt(), i), Ot = { class: "flex
|
|
|
558
558
|
]);
|
|
559
559
|
};
|
|
560
560
|
}
|
|
561
|
-
}), Yt = /* @__PURE__ */ F(Gt, [["__scopeId", "data-v-
|
|
561
|
+
}), Yt = /* @__PURE__ */ F(Gt, [["__scopeId", "data-v-2bdf1403"]]), Jt = /* @__PURE__ */ I({
|
|
562
562
|
__name: "ThemeColorPicker",
|
|
563
563
|
props: {
|
|
564
564
|
modelValue: String
|
|
@@ -589,7 +589,7 @@ const se = (i) => (et("data-v-d50a3d59"), i = i(), tt(), i), Ot = { class: "flex
|
|
|
589
589
|
}, null, 8, ["modelValue"]);
|
|
590
590
|
};
|
|
591
591
|
}
|
|
592
|
-
}), Qt = /* @__PURE__ */ F(Jt, [["__scopeId", "data-v-
|
|
592
|
+
}), Qt = /* @__PURE__ */ F(Jt, [["__scopeId", "data-v-92c1fd79"]]), Zt = { class: "flex-center" }, en = { class: "settings-option" }, tn = { class: "text-xs" }, nn = { class: "settings-option" }, on = { class: "text-xs" }, an = { class: "settings-option" }, ln = { class: "text-xs" }, sn = { class: "settings-option" }, rn = { class: "text-xs" }, cn = { class: "settings-option" }, un = { class: "text-xs" }, dn = /* @__PURE__ */ I({
|
|
593
593
|
__name: "index",
|
|
594
594
|
setup(i) {
|
|
595
595
|
const e = fe(), t = Q(), n = te(), s = de(), o = R({
|
|
@@ -716,7 +716,7 @@ const se = (i) => (et("data-v-d50a3d59"), i = i(), tt(), i), Ot = { class: "flex
|
|
|
716
716
|
}, 8, ["modelValue", "title"]);
|
|
717
717
|
};
|
|
718
718
|
}
|
|
719
|
-
}), fn = /* @__PURE__ */ F(dn, [["__scopeId", "data-v-
|
|
719
|
+
}), fn = /* @__PURE__ */ F(dn, [["__scopeId", "data-v-70f5bf10"]]), mn = { class: "app-main" }, _n = /* @__PURE__ */ I({
|
|
720
720
|
__name: "index",
|
|
721
721
|
setup(i) {
|
|
722
722
|
const e = R(() => be().cachedViews);
|
|
@@ -744,7 +744,7 @@ const se = (i) => (et("data-v-d50a3d59"), i = i(), tt(), i), Ot = { class: "flex
|
|
|
744
744
|
]);
|
|
745
745
|
};
|
|
746
746
|
}
|
|
747
|
-
}), pn = /* @__PURE__ */ F(_n, [["__scopeId", "data-v-
|
|
747
|
+
}), pn = /* @__PURE__ */ F(_n, [["__scopeId", "data-v-37d096bd"]]), vn = {
|
|
748
748
|
viewBox: "0 0 1024 1024",
|
|
749
749
|
width: "1.2em",
|
|
750
750
|
height: "1.2em"
|
|
@@ -1196,7 +1196,7 @@ const Le = /* @__PURE__ */ Ye(Ee), wn = { class: "tags-container" }, kn = /* @__
|
|
|
1196
1196
|
]);
|
|
1197
1197
|
};
|
|
1198
1198
|
}
|
|
1199
|
-
}), Sn = /* @__PURE__ */ F(kn, [["__scopeId", "data-v-
|
|
1199
|
+
}), Sn = /* @__PURE__ */ F(kn, [["__scopeId", "data-v-226b9475"]]), Cn = /* @__PURE__ */ I({
|
|
1200
1200
|
name: "AppLink",
|
|
1201
1201
|
inheritAttrs: !1,
|
|
1202
1202
|
__name: "index",
|
|
@@ -1257,7 +1257,7 @@ const Le = /* @__PURE__ */ Ye(Ee), wn = { class: "tags-container" }, kn = /* @__
|
|
|
1257
1257
|
], 64);
|
|
1258
1258
|
};
|
|
1259
1259
|
}
|
|
1260
|
-
}), Tn = /* @__PURE__ */ F(Vn, [["__scopeId", "data-v-
|
|
1260
|
+
}), Tn = /* @__PURE__ */ F(Vn, [["__scopeId", "data-v-992a058f"]]), An = { key: 0 }, Mn = /* @__PURE__ */ I({
|
|
1261
1261
|
name: "SidebarMenuItem",
|
|
1262
1262
|
inheritAttrs: !1,
|
|
1263
1263
|
__name: "SidebarMenuItem",
|
|
@@ -1501,7 +1501,7 @@ const Le = /* @__PURE__ */ Ye(Ee), wn = { class: "tags-container" }, kn = /* @__
|
|
|
1501
1501
|
]);
|
|
1502
1502
|
};
|
|
1503
1503
|
}
|
|
1504
|
-
}), zn = /* @__PURE__ */ F(On, [["__scopeId", "data-v-
|
|
1504
|
+
}), zn = /* @__PURE__ */ F(On, [["__scopeId", "data-v-210c85a9"]]), Fn = {
|
|
1505
1505
|
key: 0,
|
|
1506
1506
|
class: "flex w-full"
|
|
1507
1507
|
}, Un = /* @__PURE__ */ I({
|
|
@@ -1539,7 +1539,7 @@ const Le = /* @__PURE__ */ Ye(Ee), wn = { class: "tags-container" }, kn = /* @__
|
|
|
1539
1539
|
], 2);
|
|
1540
1540
|
};
|
|
1541
1541
|
}
|
|
1542
|
-
}), qn = /* @__PURE__ */ F(Un, [["__scopeId", "data-v-
|
|
1542
|
+
}), qn = /* @__PURE__ */ F(Un, [["__scopeId", "data-v-a6d3f8e9"]]), Hn = {
|
|
1543
1543
|
key: 1,
|
|
1544
1544
|
class: "mix-container"
|
|
1545
1545
|
}, Wn = { class: "mix-container__left" }, Kn = { class: "sidebar-toggle" }, Xn = 992, jn = /* @__PURE__ */ I({
|
|
@@ -1624,7 +1624,7 @@ const Le = /* @__PURE__ */ Ye(Ee), wn = { class: "tags-container" }, kn = /* @__
|
|
|
1624
1624
|
], 2);
|
|
1625
1625
|
};
|
|
1626
1626
|
}
|
|
1627
|
-
}), to = /* @__PURE__ */ F(jn, [["__scopeId", "data-v-
|
|
1627
|
+
}), to = /* @__PURE__ */ F(jn, [["__scopeId", "data-v-71891bc2"]]);
|
|
1628
1628
|
export {
|
|
1629
1629
|
to as default
|
|
1630
1630
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { _ as G } from "./RadarChart.vue_vue_type_script_setup_true_lang-BNLujpKR.mjs";
|
|
2
2
|
import { _ as H } from "./PieChart.vue_vue_type_script_setup_true_lang-D1-1NDvg.mjs";
|
|
3
|
-
import R from "./BarChart-
|
|
4
|
-
import { h as N, f as q, c as J, o as f, p, S as K } from "./index-
|
|
3
|
+
import R from "./BarChart-B8YKtxGm.mjs";
|
|
4
|
+
import { h as N, f as q, c as J, o as f, p, S as K } from "./index-FLy5n3-S.mjs";
|
|
5
5
|
import { openBlock as C, createElementBlock as y, pushScopeId as P, popScopeId as V, createElementVNode as t, defineComponent as Q, computed as B, ref as x, resolveComponent as d, createVNode as e, withCtx as s, unref as a, toDisplayString as i, createTextVNode as u } from "vue";
|
|
6
|
-
const W = {}, w = (c) => (P("data-v-
|
|
6
|
+
const W = {}, w = (c) => (P("data-v-431733f3"), c = c(), V(), c), X = {
|
|
7
7
|
href: "https://github.com/haoxianrui",
|
|
8
8
|
target: "_blank",
|
|
9
9
|
class: "github-corner",
|
|
@@ -33,7 +33,7 @@ function nt(c, j) {
|
|
|
33
33
|
(C(), y("svg", Y, ot))
|
|
34
34
|
]);
|
|
35
35
|
}
|
|
36
|
-
const at = /* @__PURE__ */ N(W, [["render", nt], ["__scopeId", "data-v-
|
|
36
|
+
const at = /* @__PURE__ */ N(W, [["render", nt], ["__scopeId", "data-v-431733f3"]]), o = (c) => (P("data-v-b0c421bd"), c = c(), V(), c), ct = { class: "dashboard-container" }, lt = { class: "flex h-full items-center" }, it = ["src"], rt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("p", { class: "text-sm text-gray" }, "今日天气晴朗,气温在15℃至25℃之间,东南风。", -1)), _t = { class: "flex h-full items-center justify-around" }, dt = { class: "flex items-center" }, ut = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "消息", -1)), ht = { class: "flex items-center" }, mt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "待办", -1)), ft = { class: "flex items-center" }, pt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "项目", -1)), xt = { class: "flex items-center justify-between" }, vt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "访客数", -1)), gt = { class: "flex items-center justify-between mt-5" }, bt = { class: "text-lg text-right" }, Ct = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, yt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", null, " 总访客数 ", -1)), wt = { class: "flex items-center justify-between" }, jt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "IP数", -1)), Mt = { class: "flex items-center justify-between mt-5" }, $t = { class: "text-lg text-right" }, It = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, St = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", null, " 总IP数 ", -1)), Ot = { class: "flex items-center justify-between" }, zt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "销售额", -1)), Lt = { class: "flex items-center justify-between mt-5" }, Et = { class: "text-lg text-right" }, kt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Bt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", null, " 总销售额 ", -1)), Nt = { class: "flex items-center justify-between" }, Pt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "订单量", -1)), Vt = { class: "flex items-center justify-between mt-5" }, Dt = { class: "text-lg text-right" }, Tt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Ut = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", null, " 总订单量 ", -1)), v = 5e3, At = /* @__PURE__ */ Q({
|
|
37
37
|
name: "Dashboard",
|
|
38
38
|
inheritAttrs: !1,
|
|
39
39
|
__name: "index",
|
|
@@ -361,7 +361,7 @@ const at = /* @__PURE__ */ N(W, [["render", nt], ["__scopeId", "data-v-5088dedb"
|
|
|
361
361
|
]);
|
|
362
362
|
};
|
|
363
363
|
}
|
|
364
|
-
}), qt = /* @__PURE__ */ N(At, [["__scopeId", "data-v-
|
|
364
|
+
}), qt = /* @__PURE__ */ N(At, [["__scopeId", "data-v-b0c421bd"]]);
|
|
365
365
|
export {
|
|
366
366
|
qt as default
|
|
367
367
|
};
|