jmash-core 0.1.16 → 0.1.18
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-KAeiuNjv.mjs → 401-D6Q94FzV.mjs} +1 -1
- package/dist/{404-acqFGqEv.mjs → 404-DhAbpKMM.mjs} +1 -1
- package/dist/{BarChart-wJtn8Ow_.mjs → BarChart-CRekzHxP.mjs} +1 -1
- package/dist/{index-BhlOqpSI.mjs → index-1lsWqWL5.mjs} +3 -3
- package/dist/{index-Crx8EUrV.mjs → index-BrR5K1DU.mjs} +2459 -2413
- package/dist/{index-CMJKWgJS.mjs → index-CnulSJWc.mjs} +12 -12
- package/dist/{index-D1KMMIxN.mjs → index-DP79aUrH.mjs} +15 -15
- package/dist/index-DgZeveji.mjs +2164 -0
- package/dist/index-xCPCjZu8.mjs +463 -0
- package/dist/index.mjs +54 -52
- package/dist/index.vue_vue_type_script_setup_true_lang-Dj7pKP1u.mjs +130 -0
- package/dist/{profile-DrNc9zRG.mjs → profile-rd1rLI2V.mjs} +17 -17
- package/dist/{runAs-Bnicmqn-.mjs → runAs-DaaarFVR.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-DCtZwltr.mjs → runAs.vue_vue_type_script_setup_true_lang-C-1uRJoS.mjs} +138 -138
- package/dist/style.css +1 -1
- package/dist/{types-LJiNV7Za.mjs → types-hlyKOzFS.mjs} +10 -10
- package/dist/{updatePwd-C5bezsVR.mjs → updatePwd-CYG_P7Xc.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-B7WfsD0M.mjs → updatePwd.vue_vue_type_script_setup_true_lang-B1eIL13s.mjs} +12 -12
- package/dts/src/api/auth/index.d.ts +2 -1
- package/dts/src/api/auth/types.d.ts +12 -0
- package/dts/src/api/change/index.d.ts +13 -0
- package/dts/src/api/change/types.d.ts +26 -0
- package/dts/src/components/ForgetPwd/index.vue.d.ts +6 -0
- package/dts/src/components/GraphicValidate/index.vue.d.ts +8 -0
- package/dts/src/components/GraphicVerification/index.vue.d.ts +8 -0
- package/dts/src/components/JmashMultiImageUpload/index.vue.d.ts +1 -1
- package/dts/src/components/NameValidate/index.vue.d.ts +63 -0
- package/dts/src/index.d.ts +2 -2
- package/dts/src/lang/package/zh-cn.d.ts +38 -1
- package/dts/src/layout/components/NavBar/components/ChangePhoneEmail.vue.d.ts +6 -0
- package/dts/src/layout/components/NavBar/components/ChangeWechatBind.vue.d.ts +10 -0
- package/dts/src/layout/components/NavBar/components/QrCode.vue.d.ts +18 -0
- package/package.json +1 -1
- package/dist/index-Cag9NoGd.mjs +0 -1633
- package/dist/index-hX78lDCk.mjs +0 -244
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as A } from "./RadarChart.vue_vue_type_script_setup_true_lang-Dmh0_OQ4.mjs";
|
|
2
2
|
import { _ as Z } from "./PieChart.vue_vue_type_script_setup_true_lang-Bw7ozgOv.mjs";
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import { createElementBlock as
|
|
3
|
+
import F from "./BarChart-CRekzHxP.mjs";
|
|
4
|
+
import { e as B, i as G, a as H, x as f, y as p, _ as R } from "./index-BrR5K1DU.mjs";
|
|
5
|
+
import { createElementBlock as y, openBlock as C, createElementVNode as t, defineComponent as q, computed as k, ref as x, resolveComponent as c, createVNode as s, withCtx as n, unref as l, toDisplayString as r, createTextVNode as u } from "vue";
|
|
6
6
|
const J = {}, K = {
|
|
7
7
|
href: "https://github.com/haoxianrui",
|
|
8
8
|
target: "_blank",
|
|
@@ -16,8 +16,8 @@ const J = {}, K = {
|
|
|
16
16
|
"aria-hidden": "true"
|
|
17
17
|
};
|
|
18
18
|
function W(I, _) {
|
|
19
|
-
return
|
|
20
|
-
(
|
|
19
|
+
return C(), y("a", K, [
|
|
20
|
+
(C(), y("svg", Q, _[0] || (_[0] = [
|
|
21
21
|
t("path", { d: "M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z" }, null, -1),
|
|
22
22
|
t("path", {
|
|
23
23
|
d: "M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2",
|
|
@@ -33,14 +33,14 @@ function W(I, _) {
|
|
|
33
33
|
])))
|
|
34
34
|
]);
|
|
35
35
|
}
|
|
36
|
-
const X = /* @__PURE__ */ B(J, [["render", W], ["__scopeId", "data-v-431733f3"]]), Y = { class: "dashboard-container" }, tt = { class: "flex h-full items-center" }, et = ["src"], st = { class: "flex h-full items-center justify-around" }, nt = { class: "flex items-center" }, ot = { class: "flex items-center" }, lt = { class: "flex items-center" }, at = { class: "flex items-center justify-between" }, rt = { class: "flex items-center justify-between mt-5" }, it = { class: "text-lg text-right" }, dt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, ct = { class: "flex items-center justify-between" }, ut = { class: "flex items-center justify-between mt-5" }, _t = { class: "text-lg text-right" }, mt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, ft = { class: "flex items-center justify-between" }, pt = { class: "flex items-center justify-between mt-5" }, xt = { class: "text-lg text-right" }, vt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, ht = { class: "flex items-center justify-between" }, gt = { class: "flex items-center justify-between mt-5" },
|
|
36
|
+
const X = /* @__PURE__ */ B(J, [["render", W], ["__scopeId", "data-v-431733f3"]]), Y = { class: "dashboard-container" }, tt = { class: "flex h-full items-center" }, et = ["src"], st = { class: "flex h-full items-center justify-around" }, nt = { class: "flex items-center" }, ot = { class: "flex items-center" }, lt = { class: "flex items-center" }, at = { class: "flex items-center justify-between" }, rt = { class: "flex items-center justify-between mt-5" }, it = { class: "text-lg text-right" }, dt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, ct = { class: "flex items-center justify-between" }, ut = { class: "flex items-center justify-between mt-5" }, _t = { class: "text-lg text-right" }, mt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, ft = { class: "flex items-center justify-between" }, pt = { class: "flex items-center justify-between mt-5" }, xt = { class: "text-lg text-right" }, vt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, ht = { class: "flex items-center justify-between" }, gt = { class: "flex items-center justify-between mt-5" }, yt = { class: "text-lg text-right" }, Ct = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, v = 5e3, bt = /* @__PURE__ */ q({
|
|
37
37
|
name: "Dashboard",
|
|
38
38
|
inheritAttrs: !1,
|
|
39
39
|
__name: "index",
|
|
40
40
|
setup(I) {
|
|
41
|
-
const _ = k(() =>
|
|
41
|
+
const _ = k(() => G.imageUrl(b.user.avatar, 160, 160)), N = (o) => {
|
|
42
42
|
o.target.src = "https://gh.sooyie.cn/v1/file/path/wxapp/images/user/avatar.png";
|
|
43
|
-
}, b =
|
|
43
|
+
}, b = H(), P = /* @__PURE__ */ new Date(), V = k(() => {
|
|
44
44
|
const o = P.getHours();
|
|
45
45
|
let e = b.user.realName;
|
|
46
46
|
if (o >= 6 && o < 8)
|
|
@@ -73,8 +73,8 @@ const X = /* @__PURE__ */ B(J, [["render", W], ["__scopeId", "data-v-431733f3"]]
|
|
|
73
73
|
transition: p.easeOutExpo
|
|
74
74
|
});
|
|
75
75
|
return L.value = 2e3, (o, e) => {
|
|
76
|
-
const D = X, a = c("el-col"), i =
|
|
77
|
-
return
|
|
76
|
+
const D = X, a = c("el-col"), i = R, h = c("el-statistic"), g = c("el-row"), d = c("el-card"), m = c("el-tag"), S = F, T = Z, U = A;
|
|
77
|
+
return C(), y("div", Y, [
|
|
78
78
|
s(D, { class: "github-corner" }),
|
|
79
79
|
s(d, { shadow: "never" }, {
|
|
80
80
|
default: n(() => [
|
|
@@ -291,13 +291,13 @@ const X = /* @__PURE__ */ B(J, [["render", W], ["__scopeId", "data-v-431733f3"]]
|
|
|
291
291
|
]),
|
|
292
292
|
default: n(() => [
|
|
293
293
|
t("div", gt, [
|
|
294
|
-
t("div",
|
|
294
|
+
t("div", yt, r(Math.round(l($))), 1),
|
|
295
295
|
s(i, {
|
|
296
296
|
"icon-class": "order",
|
|
297
297
|
size: "2em"
|
|
298
298
|
})
|
|
299
299
|
]),
|
|
300
|
-
t("div",
|
|
300
|
+
t("div", Ct, [
|
|
301
301
|
e[16] || (e[16] = t("span", null, " 总订单量 ", -1)),
|
|
302
302
|
t("span", null, r(Math.round(l($) * 15)), 1)
|
|
303
303
|
])
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { defineComponent as v, ref as y, resolveComponent as d, createElementBlock as c, openBlock as
|
|
2
|
-
import {
|
|
3
|
-
import { useRoute as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as v, ref as y, resolveComponent as d, createElementBlock as c, openBlock as i, createElementVNode as s, Fragment as x, renderList as k, unref as _, createVNode as g, toDisplayString as C, withCtx as w } from "vue";
|
|
2
|
+
import { a as p, w as B, i as R, e as q } from "./index-BrR5K1DU.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
5
|
__name: "index",
|
|
6
6
|
setup(I) {
|
|
7
|
-
const
|
|
7
|
+
const m = A(), h = L(), f = p(), l = y([]);
|
|
8
8
|
B().then((e) => {
|
|
9
|
-
e.data.results.length === 1 && u(e.data.results[0]),
|
|
9
|
+
e.data.results.length === 1 && u(e.data.results[0]), l.value = e.data.results;
|
|
10
10
|
});
|
|
11
11
|
const u = (e) => {
|
|
12
12
|
f.loginOrgan(e.tenant).then(() => {
|
|
13
13
|
p().user.tenant = e.tenant;
|
|
14
|
-
const n =
|
|
14
|
+
const n = m.query, a = n.redirect ?? "/", o = Object.keys(n).reduce(
|
|
15
15
|
(t, r) => (r !== "redirect" && (t[r] = n[r]), t),
|
|
16
16
|
{}
|
|
17
17
|
);
|
|
18
|
-
o.tenant = e.tenant,
|
|
18
|
+
o.tenant = e.tenant, h.push({ path: a, query: o });
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
21
|
return (e, n) => {
|
|
22
22
|
const a = d("ArrowRightBold"), o = d("el-icon");
|
|
23
|
-
return
|
|
23
|
+
return i(), c("div", N, [
|
|
24
24
|
n[0] || (n[0] = s("h1", null, "请选择一个组织进入", -1)),
|
|
25
|
-
s("div",
|
|
26
|
-
(
|
|
25
|
+
s("div", O, [
|
|
26
|
+
(i(!0), c(x, null, k(_(l), (t) => (i(), c("div", {
|
|
27
27
|
class: "organ-content_item",
|
|
28
28
|
key: t.organId,
|
|
29
29
|
onClick: (r) => u(t)
|
|
@@ -35,20 +35,20 @@ const L = { class: "organ-container" }, N = { class: "organ-content" }, O = ["on
|
|
|
35
35
|
60
|
|
36
36
|
),
|
|
37
37
|
alt: "logo"
|
|
38
|
-
}, null, 8,
|
|
39
|
-
s("div",
|
|
38
|
+
}, null, 8, U),
|
|
39
|
+
s("div", b, C(t.organName), 1),
|
|
40
40
|
g(o, null, {
|
|
41
41
|
default: w(() => [
|
|
42
42
|
g(a)
|
|
43
43
|
]),
|
|
44
44
|
_: 1
|
|
45
45
|
})
|
|
46
|
-
], 8,
|
|
46
|
+
], 8, S))), 128))
|
|
47
47
|
])
|
|
48
48
|
]);
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
}), F = /* @__PURE__ */
|
|
51
|
+
}), F = /* @__PURE__ */ q(E, [["__scopeId", "data-v-30bc9ae2"]]);
|
|
52
52
|
export {
|
|
53
53
|
F as default
|
|
54
54
|
};
|