jmash-core 0.1.34 → 0.1.36
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-DSukePjs.mjs → 401-BwzFJOyT.mjs} +20 -16
- package/dist/{404-ylQyc9SY.mjs → 404-CWFC0awi.mjs} +8 -8
- package/dist/{BarChart-CiSbjetf.mjs → BarChart-VqO5Y2qu.mjs} +5 -5
- package/dist/{PieChart-Datstl3H.mjs → PieChart-mjcVGXoE.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-C9cBCIoL.mjs → PieChart.vue_vue_type_script_setup_true_lang-Bw7ozgOv.mjs} +3 -3
- package/dist/{RadarChart-DAVpffV9.mjs → RadarChart-Dkl7lCAh.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-JASfAScs.mjs → RadarChart.vue_vue_type_script_setup_true_lang-Dmh0_OQ4.mjs} +3 -3
- package/dist/{index-mc9grqVw.mjs → index-B4CuBGI6.mjs} +15 -15
- package/dist/{index-CbPmB-NU.mjs → index-BFsrmHkF.mjs} +44 -38
- package/dist/{index-DZ74vkVA.mjs → index-BeA383Mm.mjs} +7 -6
- package/dist/{index-rdMvfmXq.mjs → index-CWiHb4n1.mjs} +4 -3
- package/dist/{index-CHcoOAdM.mjs → index-DxW7kRlR.mjs} +16827 -17163
- package/dist/{index-MSuebL-7.mjs → index-p5bxR_XZ.mjs} +181 -181
- package/dist/index.mjs +13 -13
- package/dist/{profile-bUsJ73lv.mjs → profile-BWVyKwnm.mjs} +48 -48
- package/dist/{runAs-DSgRwNWI.mjs → runAs-BrA1-GK8.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-BfFZ1rIx.mjs → runAs.vue_vue_type_script_setup_true_lang-DlZxBtA9.mjs} +614 -630
- package/dist/style.css +1 -1
- package/dist/{types-BxS-YwWj.mjs → types-g8lRiTDX.mjs} +8 -7
- package/dist/{updatePwd-COTedf1U.mjs → updatePwd-CT4tSIyO.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-BwinLVTt.mjs → updatePwd.vue_vue_type_script_setup_true_lang-BMQgiB-Q.mjs} +1 -1
- package/dts/src/api/auth/index.d.ts +8 -8
- package/dts/src/api/file/index.d.ts +1 -1
- package/dts/src/components/ForgetPwd/index.vue.d.ts +6 -0
- package/dts/src/components/GraphicVerification/index.vue.d.ts +8 -0
- package/dts/src/components/JmashSingleImageUpload/index.vue.d.ts +5 -2
- package/dts/src/components/NameValidate/index.vue.d.ts +2 -2
- package/dts/src/layout/components/Sidebar/components/SidebarMenuItemTitle.vue.d.ts +1 -1
- 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/package.json +13 -13
package/README.md
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
# pnpm publish --no-git-checks
|
|
2
|
-
官方镜像
|
|
3
|
-
npm config set registry https://registry.npmjs.org/
|
|
4
|
-
国内镜像
|
|
5
|
-
npm config set registry https://registry.npmmirror.com/
|
|
6
|
-
npx cnnc jmash-core
|
|
7
|
-
代理镜像
|
|
8
|
-
npm config set registry https://npm.crenjoy.com/
|
|
9
|
-
|
|
10
|
-
# pnpm install
|
|
11
|
-
|
|
12
|
-
# jmash-core
|
|
13
|
-
|
|
14
|
-
This template should help get you started developing with Vue 3 in Vite.
|
|
15
|
-
|
|
16
|
-
## Recommended IDE Setup
|
|
17
|
-
|
|
18
|
-
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
|
|
19
|
-
|
|
20
|
-
## Type Support for `.vue` Imports in TS
|
|
21
|
-
|
|
22
|
-
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
|
|
23
|
-
|
|
24
|
-
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
|
|
25
|
-
|
|
26
|
-
1. Disable the built-in TypeScript Extension
|
|
27
|
-
1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette
|
|
28
|
-
2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
|
|
29
|
-
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
|
|
30
|
-
|
|
31
|
-
## Customize configuration
|
|
32
|
-
|
|
33
|
-
See [Vite Configuration Reference](https://vitejs.dev/config/).
|
|
34
|
-
|
|
35
|
-
## Project Setup
|
|
36
|
-
|
|
37
|
-
```sh
|
|
38
|
-
pnpm install
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
### Compile and Hot-Reload for Development
|
|
42
|
-
|
|
43
|
-
```sh
|
|
44
|
-
pnpm dev
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
### Type-Check, Compile and Minify for Production
|
|
48
|
-
|
|
49
|
-
```sh
|
|
50
|
-
pnpm build
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
### Lint with [ESLint](https://eslint.org/)
|
|
54
|
-
|
|
55
|
-
```sh
|
|
56
|
-
pnpm lint
|
|
57
|
-
```
|
|
1
|
+
# pnpm publish --no-git-checks
|
|
2
|
+
官方镜像
|
|
3
|
+
npm config set registry https://registry.npmjs.org/
|
|
4
|
+
国内镜像
|
|
5
|
+
npm config set registry https://registry.npmmirror.com/
|
|
6
|
+
npx cnnc jmash-core
|
|
7
|
+
代理镜像
|
|
8
|
+
npm config set registry https://npm.crenjoy.com/
|
|
9
|
+
|
|
10
|
+
# pnpm install
|
|
11
|
+
|
|
12
|
+
# jmash-core
|
|
13
|
+
|
|
14
|
+
This template should help get you started developing with Vue 3 in Vite.
|
|
15
|
+
|
|
16
|
+
## Recommended IDE Setup
|
|
17
|
+
|
|
18
|
+
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
|
|
19
|
+
|
|
20
|
+
## Type Support for `.vue` Imports in TS
|
|
21
|
+
|
|
22
|
+
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
|
|
23
|
+
|
|
24
|
+
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
|
|
25
|
+
|
|
26
|
+
1. Disable the built-in TypeScript Extension
|
|
27
|
+
1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette
|
|
28
|
+
2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
|
|
29
|
+
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
|
|
30
|
+
|
|
31
|
+
## Customize configuration
|
|
32
|
+
|
|
33
|
+
See [Vite Configuration Reference](https://vitejs.dev/config/).
|
|
34
|
+
|
|
35
|
+
## Project Setup
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
pnpm install
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Compile and Hot-Reload for Development
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
pnpm dev
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Type-Check, Compile and Minify for Production
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
pnpm build
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### Lint with [ESLint](https://eslint.org/)
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
pnpm lint
|
|
57
|
+
```
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as d, reactive as v, toRefs as V, resolveComponent as n, createElementBlock as c, openBlock as x, createVNode as e, withCtx as l, createTextVNode as r, createElementVNode as o, withModifiers as C, unref as u, isRef as y } from "vue";
|
|
2
2
|
import z from "./assets/a6029a1ec37b99c2.gif";
|
|
3
3
|
import { useRouter as N } from "vue-router";
|
|
4
|
-
import { f as R } from "./index-
|
|
4
|
+
import { f as R } from "./index-DxW7kRlR.mjs";
|
|
5
5
|
const B = { class: "errPage-container" }, E = { class: "list-unstyled" }, P = { class: "link-type" }, j = ["src"], G = /* @__PURE__ */ d({
|
|
6
6
|
__name: "401",
|
|
7
7
|
setup(I) {
|
|
@@ -23,32 +23,34 @@ const B = { class: "errPage-container" }, E = { class: "list-unstyled" }, P = {
|
|
|
23
23
|
class: "pan-back-btn",
|
|
24
24
|
onClick: _
|
|
25
25
|
}, {
|
|
26
|
-
default: l(() =>
|
|
27
|
-
r(" 返回 "
|
|
28
|
-
])
|
|
29
|
-
_: 1
|
|
26
|
+
default: l(() => t[2] || (t[2] = [
|
|
27
|
+
r(" 返回 ")
|
|
28
|
+
])),
|
|
29
|
+
_: 1,
|
|
30
|
+
__: [2]
|
|
30
31
|
}),
|
|
31
32
|
e(w, null, {
|
|
32
33
|
default: l(() => [
|
|
33
34
|
e(i, { span: 12 }, {
|
|
34
35
|
default: l(() => [
|
|
35
36
|
t[6] || (t[6] = o("h1", { class: "text-jumbo text-ginormous" }, "Oops!", -1)),
|
|
36
|
-
t[7] || (t[7] = r(" gif来源"
|
|
37
|
+
t[7] || (t[7] = r(" gif来源")),
|
|
37
38
|
t[8] || (t[8] = o("a", {
|
|
38
39
|
href: "https://zh.airbnb.com/",
|
|
39
40
|
target: "_blank"
|
|
40
41
|
}, "airbnb", -1)),
|
|
41
|
-
t[9] || (t[9] = r(" 页面 "
|
|
42
|
+
t[9] || (t[9] = r(" 页面 ")),
|
|
42
43
|
t[10] || (t[10] = o("h2", null, "你没有权限去该页面", -1)),
|
|
43
44
|
t[11] || (t[11] = o("h6", null, "如有不满请联系你领导", -1)),
|
|
44
45
|
o("ul", E, [
|
|
45
46
|
t[4] || (t[4] = o("li", null, "或者你可以去:", -1)),
|
|
46
47
|
o("li", P, [
|
|
47
48
|
e(g, { to: "/dashboard" }, {
|
|
48
|
-
default: l(() =>
|
|
49
|
-
r(" 回首页 "
|
|
50
|
-
])
|
|
51
|
-
_: 1
|
|
49
|
+
default: l(() => t[3] || (t[3] = [
|
|
50
|
+
r(" 回首页 ")
|
|
51
|
+
])),
|
|
52
|
+
_: 1,
|
|
53
|
+
__: [3]
|
|
52
54
|
})
|
|
53
55
|
]),
|
|
54
56
|
t[5] || (t[5] = o("li", { class: "link-type" }, [
|
|
@@ -62,18 +64,20 @@ const B = { class: "errPage-container" }, E = { class: "list-unstyled" }, P = {
|
|
|
62
64
|
])
|
|
63
65
|
])
|
|
64
66
|
]),
|
|
65
|
-
_: 1
|
|
67
|
+
_: 1,
|
|
68
|
+
__: [6, 7, 8, 9, 10, 11]
|
|
66
69
|
}),
|
|
67
70
|
e(i, { span: 12 }, {
|
|
68
|
-
default: l(() =>
|
|
71
|
+
default: l(() => t[12] || (t[12] = [
|
|
69
72
|
o("img", {
|
|
70
73
|
src: z,
|
|
71
74
|
width: "313",
|
|
72
75
|
height: "428",
|
|
73
76
|
alt: "Girl has dropped her ice cream."
|
|
74
77
|
}, null, -1)
|
|
75
|
-
])
|
|
76
|
-
_: 1
|
|
78
|
+
])),
|
|
79
|
+
_: 1,
|
|
80
|
+
__: [12]
|
|
77
81
|
})
|
|
78
82
|
]),
|
|
79
83
|
_: 1
|
|
@@ -94,7 +98,7 @@ const B = { class: "errPage-container" }, E = { class: "list-unstyled" }, P = {
|
|
|
94
98
|
]);
|
|
95
99
|
};
|
|
96
100
|
}
|
|
97
|
-
}), q = /* @__PURE__ */ R(G, [["__scopeId", "data-v-
|
|
101
|
+
}), q = /* @__PURE__ */ R(G, [["__scopeId", "data-v-a6d42fb8"]]);
|
|
98
102
|
export {
|
|
99
103
|
q as default
|
|
100
104
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as i, createElementBlock as a, openBlock as l, createElementVNode as s, createStaticVNode as r, createTextVNode as c, toDisplayString as d } from "vue";
|
|
2
2
|
import n from "./assets/53044ba5490eb488.png";
|
|
3
3
|
import e from "./assets/1fa4b4a419330812.png";
|
|
4
|
-
import { f as _ } from "./index-
|
|
4
|
+
import { f as _ } from "./index-DxW7kRlR.mjs";
|
|
5
5
|
const p = { class: "wscn-http404-container" }, m = { class: "wscn-http404" }, h = { class: "bullshit" }, f = { class: "bullshit__headline" }, u = {
|
|
6
6
|
name: "Page404"
|
|
7
|
-
}, b = /* @__PURE__ */
|
|
7
|
+
}, b = /* @__PURE__ */ i({
|
|
8
8
|
...u,
|
|
9
9
|
setup(v) {
|
|
10
|
-
function
|
|
10
|
+
function o() {
|
|
11
11
|
return "The webmaster said that you can not enter this page...";
|
|
12
12
|
}
|
|
13
|
-
return (g, t) => (l(),
|
|
13
|
+
return (g, t) => (l(), a("div", p, [
|
|
14
14
|
s("div", m, [
|
|
15
|
-
t[4] || (t[4] = r('<div class="pic-404" data-v-
|
|
15
|
+
t[4] || (t[4] = r('<div class="pic-404" data-v-d73105b4><img class="pic-404__parent" src="' + n + '" alt="404" data-v-d73105b4><img class="pic-404__child left" src="' + e + '" alt="404" data-v-d73105b4><img class="pic-404__child mid" src="' + e + '" alt="404" data-v-d73105b4><img class="pic-404__child right" src="' + e + '" alt="404" data-v-d73105b4></div>', 1)),
|
|
16
16
|
s("div", h, [
|
|
17
17
|
t[0] || (t[0] = s("div", { class: "bullshit__oops" }, "OOPS!", -1)),
|
|
18
18
|
t[1] || (t[1] = s("div", { class: "bullshit__info" }, [
|
|
@@ -23,7 +23,7 @@ const p = { class: "wscn-http404-container" }, m = { class: "wscn-http404" }, h
|
|
|
23
23
|
target: "_blank"
|
|
24
24
|
}, "wallstreetcn")
|
|
25
25
|
], -1)),
|
|
26
|
-
s("div", f, d(
|
|
26
|
+
s("div", f, d(o()), 1),
|
|
27
27
|
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)),
|
|
28
28
|
t[3] || (t[3] = s("a", {
|
|
29
29
|
href: "",
|
|
@@ -33,7 +33,7 @@ const p = { class: "wscn-http404-container" }, m = { class: "wscn-http404" }, h
|
|
|
33
33
|
])
|
|
34
34
|
]));
|
|
35
35
|
}
|
|
36
|
-
}), B = /* @__PURE__ */ _(b, [["__scopeId", "data-v-
|
|
36
|
+
}), B = /* @__PURE__ */ _(b, [["__scopeId", "data-v-d73105b4"]]);
|
|
37
37
|
export {
|
|
38
38
|
B as default
|
|
39
39
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { createElementBlock as g, openBlock as f, createElementVNode as d, defineComponent as y, ref as x, onMounted as _, markRaw as v, onActivated as w, resolveComponent as c, createBlock as b, withCtx as r, normalizeStyle as C, normalizeClass as L, createTextVNode as S, createVNode as s } from "vue";
|
|
2
2
|
import { L as m, i as k } from "./index-DVI4ph38.mjs";
|
|
3
|
-
import { f as E } from "./index-
|
|
3
|
+
import { f as E } from "./index-DxW7kRlR.mjs";
|
|
4
4
|
const z = {
|
|
5
5
|
viewBox: "0 0 1024 1024",
|
|
6
6
|
width: "1.2em",
|
|
7
7
|
height: "1.2em"
|
|
8
8
|
};
|
|
9
9
|
function A(a, i) {
|
|
10
|
-
return f(), g("svg", z,
|
|
10
|
+
return f(), g("svg", z, i[0] || (i[0] = [
|
|
11
11
|
d("path", {
|
|
12
12
|
fill: "currentColor",
|
|
13
13
|
d: "M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696l236.288-236.352l45.248 45.248L508.8 704L192 387.2l45.248-45.248L480 584.704V128h64z"
|
|
14
14
|
}, null, -1)
|
|
15
|
-
])
|
|
15
|
+
]));
|
|
16
16
|
}
|
|
17
17
|
const B = { name: "ep-download", render: A }, I = { class: "title" }, N = ["id"], R = /* @__PURE__ */ y({
|
|
18
18
|
__name: "BarChart",
|
|
@@ -166,7 +166,7 @@ const B = { name: "ep-download", render: A }, I = { class: "title" }, N = ["id"]
|
|
|
166
166
|
return f(), b(h, null, {
|
|
167
167
|
header: r(() => [
|
|
168
168
|
d("div", I, [
|
|
169
|
-
t[0] || (t[0] = S(" 业绩柱状图 "
|
|
169
|
+
t[0] || (t[0] = S(" 业绩柱状图 ")),
|
|
170
170
|
s(o, {
|
|
171
171
|
effect: "dark",
|
|
172
172
|
content: "点击试试下载",
|
|
@@ -193,7 +193,7 @@ const B = { name: "ep-download", render: A }, I = { class: "title" }, N = ["id"]
|
|
|
193
193
|
});
|
|
194
194
|
};
|
|
195
195
|
}
|
|
196
|
-
}), F = /* @__PURE__ */ E(R, [["__scopeId", "data-v-
|
|
196
|
+
}), F = /* @__PURE__ */ E(R, [["__scopeId", "data-v-1edc8938"]]);
|
|
197
197
|
export {
|
|
198
198
|
F as default
|
|
199
199
|
};
|
|
@@ -69,9 +69,9 @@ const w = ["id"], E = /* @__PURE__ */ d({
|
|
|
69
69
|
}), (i, a) => {
|
|
70
70
|
const l = h("el-card");
|
|
71
71
|
return f(), p(l, null, {
|
|
72
|
-
header: n(() =>
|
|
73
|
-
C(" 产品分类饼图 "
|
|
74
|
-
])
|
|
72
|
+
header: n(() => a[0] || (a[0] = [
|
|
73
|
+
C(" 产品分类饼图 ")
|
|
74
|
+
])),
|
|
75
75
|
default: n(() => [
|
|
76
76
|
g("div", {
|
|
77
77
|
id: e.id,
|
|
@@ -88,9 +88,9 @@ const w = ["id"], E = /* @__PURE__ */ l({
|
|
|
88
88
|
}), (n, a) => {
|
|
89
89
|
const d = h("el-card");
|
|
90
90
|
return f(), p(d, null, {
|
|
91
|
-
header: r(() =>
|
|
92
|
-
C(" 订单状态雷达图 "
|
|
93
|
-
])
|
|
91
|
+
header: r(() => a[0] || (a[0] = [
|
|
92
|
+
C(" 订单状态雷达图 ")
|
|
93
|
+
])),
|
|
94
94
|
default: r(() => [
|
|
95
95
|
g("div", {
|
|
96
96
|
id: e.id,
|
|
@@ -1,42 +1,42 @@
|
|
|
1
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 { a as p, x as B, j as R, f as q } from "./index-
|
|
2
|
+
import { a as p, x as B, j as R, f as q } from "./index-DxW7kRlR.mjs";
|
|
3
3
|
import { useRoute as A, useRouter as L } from "vue-router";
|
|
4
4
|
const N = { class: "organ-container" }, O = { class: "organ-content" }, S = ["onClick"], U = ["src"], b = { style: { "margin-right": "auto" } }, j = /* @__PURE__ */ v({
|
|
5
5
|
__name: "index",
|
|
6
6
|
setup(E) {
|
|
7
7
|
const m = A(), h = L(), f = p(), i = y([]);
|
|
8
|
-
B().then((
|
|
9
|
-
|
|
8
|
+
B().then((e) => {
|
|
9
|
+
e.data.results.length === 1 && u(e.data.results[0]), i.value = e.data.results;
|
|
10
10
|
});
|
|
11
|
-
const u = (
|
|
12
|
-
f.loginOrgan(
|
|
13
|
-
p().user.tenant =
|
|
11
|
+
const u = (e) => {
|
|
12
|
+
f.loginOrgan(e.tenant).then(() => {
|
|
13
|
+
p().user.tenant = e.tenant;
|
|
14
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 =
|
|
18
|
+
o.tenant = e.tenant, h.push({ path: a, query: o });
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
|
-
return (
|
|
21
|
+
return (e, n) => {
|
|
22
22
|
const a = d("ArrowRightBold"), o = d("el-icon");
|
|
23
23
|
return l(), c("div", N, [
|
|
24
24
|
n[0] || (n[0] = s("h1", null, "请选择一个组织进入", -1)),
|
|
25
25
|
s("div", O, [
|
|
26
|
-
(l(!0), c(x, null, k(_(i), (
|
|
26
|
+
(l(!0), c(x, null, k(_(i), (t) => (l(), c("div", {
|
|
27
27
|
class: "organ-content_item",
|
|
28
|
-
key:
|
|
29
|
-
onClick: (r) => u(
|
|
28
|
+
key: t.organId,
|
|
29
|
+
onClick: (r) => u(t)
|
|
30
30
|
}, [
|
|
31
31
|
s("img", {
|
|
32
32
|
src: _(R).imageUrl(
|
|
33
|
-
|
|
33
|
+
t.logoUrl || "/wxapp/images/user/avatar.png",
|
|
34
34
|
60,
|
|
35
35
|
60
|
|
36
36
|
),
|
|
37
37
|
alt: "logo"
|
|
38
38
|
}, null, 8, U),
|
|
39
|
-
s("div", b, C(
|
|
39
|
+
s("div", b, C(t.organName), 1),
|
|
40
40
|
g(o, null, {
|
|
41
41
|
default: w(() => [
|
|
42
42
|
g(a)
|
|
@@ -48,7 +48,7 @@ const N = { class: "organ-container" }, O = { class: "organ-content" }, S = ["on
|
|
|
48
48
|
]);
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
}), F = /* @__PURE__ */ q(j, [["__scopeId", "data-v-
|
|
51
|
+
}), F = /* @__PURE__ */ q(j, [["__scopeId", "data-v-30bc9ae2"]]);
|
|
52
52
|
export {
|
|
53
53
|
F as default
|
|
54
54
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as A } from "./RadarChart.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { _ as Z } from "./PieChart.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import F from "./BarChart-
|
|
4
|
-
import { f as B, j as G, a as H, y as f, z as p, _ as R } from "./index-
|
|
5
|
-
import { createElementBlock as y, openBlock as C, createElementVNode as t, defineComponent as q, computed as k, ref as x, resolveComponent as
|
|
1
|
+
import { _ as A } from "./RadarChart.vue_vue_type_script_setup_true_lang-Dmh0_OQ4.mjs";
|
|
2
|
+
import { _ as Z } from "./PieChart.vue_vue_type_script_setup_true_lang-Bw7ozgOv.mjs";
|
|
3
|
+
import F from "./BarChart-VqO5Y2qu.mjs";
|
|
4
|
+
import { f as B, j as G, a as H, y as f, z as p, _ as R } from "./index-DxW7kRlR.mjs";
|
|
5
|
+
import { createElementBlock as y, openBlock as C, createElementVNode as t, defineComponent as q, computed as k, ref as x, resolveComponent as d, 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",
|
|
@@ -17,7 +17,7 @@ const J = {}, K = {
|
|
|
17
17
|
};
|
|
18
18
|
function W(I, _) {
|
|
19
19
|
return C(), y("a", K, [
|
|
20
|
-
(C(), y("svg", Q,
|
|
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",
|
|
@@ -30,15 +30,17 @@ function W(I, _) {
|
|
|
30
30
|
fill: "currentColor",
|
|
31
31
|
class: "octo-body"
|
|
32
32
|
}, null, -1)
|
|
33
|
-
])
|
|
33
|
+
])))
|
|
34
34
|
]);
|
|
35
35
|
}
|
|
36
|
-
const X = /* @__PURE__ */ B(J, [["render", W], ["__scopeId", "data-v-
|
|
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" }, ct = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, dt = { 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(
|
|
42
|
+
() => G.imageUrl(b.user.avatar, 160, 160)
|
|
43
|
+
), N = (o) => {
|
|
42
44
|
o.target.src = "https://gh.sooyie.cn/v1/file/path/wxapp/images/user/avatar.png";
|
|
43
45
|
}, b = H(), P = /* @__PURE__ */ new Date(), V = k(() => {
|
|
44
46
|
const o = P.getHours();
|
|
@@ -73,10 +75,10 @@ const X = /* @__PURE__ */ B(J, [["render", W], ["__scopeId", "data-v-5088dedb"]]
|
|
|
73
75
|
transition: p.easeOutExpo
|
|
74
76
|
});
|
|
75
77
|
return L.value = 2e3, (o, e) => {
|
|
76
|
-
const D = X, a =
|
|
78
|
+
const D = X, a = d("el-col"), i = R, h = d("el-statistic"), g = d("el-row"), c = d("el-card"), m = d("el-tag"), S = F, T = Z, U = A;
|
|
77
79
|
return C(), y("div", Y, [
|
|
78
80
|
s(D, { class: "github-corner" }),
|
|
79
|
-
s(
|
|
81
|
+
s(c, { shadow: "never" }, {
|
|
80
82
|
default: n(() => [
|
|
81
83
|
s(g, { justify: "space-between" }, {
|
|
82
84
|
default: n(() => [
|
|
@@ -93,7 +95,7 @@ const X = /* @__PURE__ */ B(J, [["render", W], ["__scopeId", "data-v-5088dedb"]]
|
|
|
93
95
|
}, null, 40, et),
|
|
94
96
|
t("div", null, [
|
|
95
97
|
t("p", null, r(l(V)), 1),
|
|
96
|
-
e[0] || (e[0] = t("p", { class: "text-sm text-gray" }, "今日天气晴朗,气温在15℃至25℃之间,东南风。", -1))
|
|
98
|
+
e[0] || (e[0] = t("p", { class: "text-sm text-gray" }, " 今日天气晴朗,气温在15℃至25℃之间,东南风。 ", -1))
|
|
97
99
|
])
|
|
98
100
|
])
|
|
99
101
|
]),
|
|
@@ -127,9 +129,9 @@ const X = /* @__PURE__ */ B(J, [["render", W], ["__scopeId", "data-v-5088dedb"]]
|
|
|
127
129
|
e[2] || (e[2] = t("span", { class: "text-[16px] ml-1" }, "待办", -1))
|
|
128
130
|
])
|
|
129
131
|
]),
|
|
130
|
-
suffix: n(() =>
|
|
131
|
-
u("/100"
|
|
132
|
-
])
|
|
132
|
+
suffix: n(() => e[3] || (e[3] = [
|
|
133
|
+
u("/100")
|
|
134
|
+
])),
|
|
133
135
|
_: 1
|
|
134
136
|
}),
|
|
135
137
|
s(h, { value: 10 }, {
|
|
@@ -165,15 +167,16 @@ const X = /* @__PURE__ */ B(J, [["render", W], ["__scopeId", "data-v-5088dedb"]]
|
|
|
165
167
|
lg: 6
|
|
166
168
|
}, {
|
|
167
169
|
default: n(() => [
|
|
168
|
-
s(
|
|
170
|
+
s(c, { shadow: "never" }, {
|
|
169
171
|
header: n(() => [
|
|
170
172
|
t("div", at, [
|
|
171
173
|
e[6] || (e[6] = t("span", { class: "text-[var(--el-text-color-secondary)]" }, "访客数", -1)),
|
|
172
174
|
s(m, { type: "success" }, {
|
|
173
|
-
default: n(() =>
|
|
174
|
-
u("日"
|
|
175
|
-
])
|
|
176
|
-
_: 1
|
|
175
|
+
default: n(() => e[5] || (e[5] = [
|
|
176
|
+
u("日")
|
|
177
|
+
])),
|
|
178
|
+
_: 1,
|
|
179
|
+
__: [5]
|
|
177
180
|
})
|
|
178
181
|
])
|
|
179
182
|
]),
|
|
@@ -185,7 +188,7 @@ const X = /* @__PURE__ */ B(J, [["render", W], ["__scopeId", "data-v-5088dedb"]]
|
|
|
185
188
|
size: "2em"
|
|
186
189
|
})
|
|
187
190
|
]),
|
|
188
|
-
t("div",
|
|
191
|
+
t("div", ct, [
|
|
189
192
|
e[7] || (e[7] = t("span", null, " 总访客数 ", -1)),
|
|
190
193
|
t("span", null, r(Math.round(l(z) * 15)), 1)
|
|
191
194
|
])
|
|
@@ -201,15 +204,16 @@ const X = /* @__PURE__ */ B(J, [["render", W], ["__scopeId", "data-v-5088dedb"]]
|
|
|
201
204
|
lg: 6
|
|
202
205
|
}, {
|
|
203
206
|
default: n(() => [
|
|
204
|
-
s(
|
|
207
|
+
s(c, { shadow: "never" }, {
|
|
205
208
|
header: n(() => [
|
|
206
|
-
t("div",
|
|
209
|
+
t("div", dt, [
|
|
207
210
|
e[9] || (e[9] = t("span", { class: "text-[var(--el-text-color-secondary)]" }, "IP数", -1)),
|
|
208
211
|
s(m, { type: "success" }, {
|
|
209
|
-
default: n(() =>
|
|
210
|
-
u("日"
|
|
211
|
-
])
|
|
212
|
-
_: 1
|
|
212
|
+
default: n(() => e[8] || (e[8] = [
|
|
213
|
+
u("日")
|
|
214
|
+
])),
|
|
215
|
+
_: 1,
|
|
216
|
+
__: [8]
|
|
213
217
|
})
|
|
214
218
|
])
|
|
215
219
|
]),
|
|
@@ -237,15 +241,16 @@ const X = /* @__PURE__ */ B(J, [["render", W], ["__scopeId", "data-v-5088dedb"]]
|
|
|
237
241
|
lg: 6
|
|
238
242
|
}, {
|
|
239
243
|
default: n(() => [
|
|
240
|
-
s(
|
|
244
|
+
s(c, { shadow: "never" }, {
|
|
241
245
|
header: n(() => [
|
|
242
246
|
t("div", ft, [
|
|
243
247
|
e[12] || (e[12] = t("span", { class: "text-[var(--el-text-color-secondary)]" }, "销售额", -1)),
|
|
244
248
|
s(m, null, {
|
|
245
|
-
default: n(() =>
|
|
246
|
-
u("月"
|
|
247
|
-
])
|
|
248
|
-
_: 1
|
|
249
|
+
default: n(() => e[11] || (e[11] = [
|
|
250
|
+
u("月")
|
|
251
|
+
])),
|
|
252
|
+
_: 1,
|
|
253
|
+
__: [11]
|
|
249
254
|
})
|
|
250
255
|
])
|
|
251
256
|
]),
|
|
@@ -273,15 +278,16 @@ const X = /* @__PURE__ */ B(J, [["render", W], ["__scopeId", "data-v-5088dedb"]]
|
|
|
273
278
|
lg: 6
|
|
274
279
|
}, {
|
|
275
280
|
default: n(() => [
|
|
276
|
-
s(
|
|
281
|
+
s(c, { shadow: "never" }, {
|
|
277
282
|
header: n(() => [
|
|
278
283
|
t("div", ht, [
|
|
279
284
|
e[15] || (e[15] = t("span", { class: "text-[var(--el-text-color-secondary)]" }, "订单量", -1)),
|
|
280
285
|
s(m, { type: "danger" }, {
|
|
281
|
-
default: n(() =>
|
|
282
|
-
u("季"
|
|
283
|
-
])
|
|
284
|
-
_: 1
|
|
286
|
+
default: n(() => e[14] || (e[14] = [
|
|
287
|
+
u("季")
|
|
288
|
+
])),
|
|
289
|
+
_: 1,
|
|
290
|
+
__: [14]
|
|
285
291
|
})
|
|
286
292
|
])
|
|
287
293
|
]),
|
|
@@ -364,7 +370,7 @@ const X = /* @__PURE__ */ B(J, [["render", W], ["__scopeId", "data-v-5088dedb"]]
|
|
|
364
370
|
]);
|
|
365
371
|
};
|
|
366
372
|
}
|
|
367
|
-
}), Ot = /* @__PURE__ */ B(bt, [["__scopeId", "data-v-
|
|
373
|
+
}), Ot = /* @__PURE__ */ B(bt, [["__scopeId", "data-v-d2cfae02"]]);
|
|
368
374
|
export {
|
|
369
375
|
Ot as default
|
|
370
376
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as r, resolveComponent as n, createElementBlock as s, openBlock as a, createVNode as t, unref as c, withCtx as d, createElementVNode as
|
|
2
|
-
import { u as
|
|
1
|
+
import { defineComponent as r, resolveComponent as n, createElementBlock as s, openBlock as a, createVNode as t, unref as c, withCtx as d, createElementVNode as _ } from "vue";
|
|
2
|
+
import { u as i, aK as p, f as l } from "./index-DxW7kRlR.mjs";
|
|
3
3
|
const m = { class: "register-container" }, f = /* @__PURE__ */ r({
|
|
4
4
|
__name: "index",
|
|
5
5
|
setup(u) {
|
|
@@ -7,19 +7,20 @@ const m = { class: "register-container" }, f = /* @__PURE__ */ r({
|
|
|
7
7
|
const o = n("el-card");
|
|
8
8
|
return a(), s("div", m, [
|
|
9
9
|
t(o, {
|
|
10
|
-
device: c(
|
|
10
|
+
device: c(i)().device,
|
|
11
11
|
class: "z-1 !border-none w-100 !bg-transparent !rounded-4% <sm:w-83"
|
|
12
12
|
}, {
|
|
13
13
|
default: d(() => [
|
|
14
|
-
e[0] || (e[0] =
|
|
14
|
+
e[0] || (e[0] = _("h3", { class: "register-container_title" }, "账号注册", -1)),
|
|
15
15
|
t(p)
|
|
16
16
|
]),
|
|
17
|
-
_: 1
|
|
17
|
+
_: 1,
|
|
18
|
+
__: [0]
|
|
18
19
|
}, 8, ["device"])
|
|
19
20
|
]);
|
|
20
21
|
};
|
|
21
22
|
}
|
|
22
|
-
}), w = /* @__PURE__ */ l(f, [["__scopeId", "data-v-
|
|
23
|
+
}), w = /* @__PURE__ */ l(f, [["__scopeId", "data-v-321a6d52"]]);
|
|
23
24
|
export {
|
|
24
25
|
w as default
|
|
25
26
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as k, u as _, a as G, w as J, k as X, l as Y, F as Z, H as ee, A as te, e as le, f as oe } from "./index-
|
|
1
|
+
import { v as k, u as _, a as G, w as J, k as X, l as Y, F as Z, H as ee, A as te, e as le, f as oe } from "./index-DxW7kRlR.mjs";
|
|
2
2
|
import { defineComponent as se, ref as d, computed as re, watchEffect as ae, resolveComponent as c, createElementBlock as ne, openBlock as D, createElementVNode as l, createVNode as o, withDirectives as Q, createBlock as ie, createCommentVNode as ue, unref as V, withCtx as u, normalizeStyle as de, vShow as j, withKeys as z, withModifiers as ce, createTextVNode as pe, toDisplayString as B, normalizeClass as me } from "vue";
|
|
3
3
|
import fe from "./assets/0cda52992278af9e.png";
|
|
4
4
|
import { useI18n as ve } from "vue-i18n";
|
|
@@ -138,7 +138,8 @@ const we = { class: "login-container" }, ye = { class: "absolute top-0 flex item
|
|
|
138
138
|
]),
|
|
139
139
|
t[7] || (t[7] = l("div", null, "微信扫一扫登录", -1))
|
|
140
140
|
]),
|
|
141
|
-
_: 1
|
|
141
|
+
_: 1,
|
|
142
|
+
__: [7]
|
|
142
143
|
}),
|
|
143
144
|
o(r, {
|
|
144
145
|
label: "账号登录",
|
|
@@ -251,7 +252,7 @@ const we = { class: "login-container" }, ye = { class: "absolute top-0 flex item
|
|
|
251
252
|
]);
|
|
252
253
|
};
|
|
253
254
|
}
|
|
254
|
-
}), Qe = /* @__PURE__ */ oe(Te, [["__scopeId", "data-v-
|
|
255
|
+
}), Qe = /* @__PURE__ */ oe(Te, [["__scopeId", "data-v-83025e7f"]]);
|
|
255
256
|
export {
|
|
256
257
|
Qe as default
|
|
257
258
|
};
|