jmash-core 0.0.3 → 0.0.5
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-DZeMj80g.mjs +103 -0
- package/dist/404-D1KiG-19.mjs +37 -0
- package/dist/BarChart-BYm859ri.mjs +203 -0
- package/dist/FileSaver.min-DJ2XURfB.mjs +77 -0
- package/dist/FunnelChart-Czy2TVI1.mjs +106 -0
- package/dist/PieChart-BRbbIH3_.mjs +4 -0
- package/dist/PieChart.vue_vue_type_script_setup_true_lang-XjLBqCzM.mjs +90 -0
- package/dist/RadarChart-Bk_uy6Km.mjs +4 -0
- package/dist/RadarChart.vue_vue_type_script_setup_true_lang-COsDkkQU.mjs +109 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/dist/caret-bottom-DGvkHVYd.mjs +59 -0
- package/dist/common-DuVBTwAv.mjs +36 -0
- package/dist/debounce-XYByYe_I.mjs +81 -0
- package/dist/dropdown2-D_RJXnOl.mjs +160 -0
- package/dist/edit-BTjApg1x.mjs +468 -0
- package/dist/edit-BcLHrCSo.mjs +4 -0
- package/dist/edit-DC3SyT6J.mjs +4 -0
- package/dist/edit-DmP9tv3r.mjs +4 -0
- package/dist/edit-Dr-9X4r3.mjs +4 -0
- package/dist/edit-FjRAXd1B.mjs +832 -0
- package/dist/edit-bpHMc65Q.mjs +4 -0
- package/dist/edit-lB54egzx.mjs +4 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-BKutjIoX.mjs +621 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-BVXBx_a-.mjs +221 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-Bm1SAtWP.mjs +225 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-CYZNHUnm.mjs +156 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-CZmh3q4f.mjs +287 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-DqZ2GCoE.mjs +136 -0
- package/dist/el-card-Da9MvaWO.mjs +61 -0
- package/dist/el-checkbox-B44P9jFr.mjs +548 -0
- package/dist/el-checkbox-group-l0sNRNKZ.mjs +1 -0
- package/dist/el-col-BY0nB6k3.mjs +135 -0
- package/dist/el-date-picker-CVwJoDEA.mjs +3349 -0
- package/dist/el-dialog-CSWvTJrq.mjs +378 -0
- package/dist/el-dropdown-item-CD8hUpml.mjs +675 -0
- package/dist/el-form-item-f-baJSfe.mjs +1489 -0
- package/dist/el-icon-l0sNRNKZ.mjs +1 -0
- package/dist/el-popover-D8RrIMbA.mjs +159 -0
- package/dist/el-popper-C13p_dqu.mjs +1656 -0
- package/dist/el-progress-CHUzIxT1.mjs +898 -0
- package/dist/el-radio-BpdPD-RN.mjs +251 -0
- package/dist/el-scrollbar-B8QteGV0.mjs +607 -0
- package/dist/el-select-ChOy6agQ.mjs +1040 -0
- package/dist/el-switch-cqWxQwcb.mjs +254 -0
- package/dist/el-table-c9Sup56w.mjs +3168 -0
- package/dist/el-tag-l0sNRNKZ.mjs +1 -0
- package/dist/el-tooltip-l0sNRNKZ.mjs +1 -0
- package/dist/el-tree-select-CKOwMXR7.mjs +1316 -0
- package/dist/importUpload.vue_vue_type_script_setup_true_lang-DWrcOBGS.mjs +116 -0
- package/dist/index-B6wY38lY.mjs +13173 -0
- package/dist/index-BH-_mfRR.mjs +107 -0
- package/dist/index-BfhiNV8H.mjs +486 -0
- package/dist/index-BjqMDjBg.mjs +43994 -0
- package/dist/index-BuHauank.mjs +13 -0
- package/dist/index-CBJwB8q2.mjs +633 -0
- package/dist/index-CGCQHwLq.mjs +482 -0
- package/dist/index-CU0iVHXP.mjs +281 -0
- package/dist/index-CYxGYOaT.mjs +504 -0
- package/dist/index-Cjii0qCc.mjs +278 -0
- package/dist/index-Czh2Pqwr.mjs +63 -0
- package/dist/index-DJ08yxAP.mjs +11 -0
- package/dist/index-DUKlDGLk.mjs +2589 -0
- package/dist/index-DUVtKaDI.mjs +515 -0
- package/dist/index-Dgd4Zhxz.mjs +93 -0
- package/dist/index-Di5--Hao.mjs +328 -0
- package/dist/index-DjkMA-Wh.mjs +40 -0
- package/dist/index-DrKW_cyG.mjs +247 -0
- package/dist/index-LuiPOgGW.mjs +291 -0
- package/dist/index-VD-Tf32c.mjs +74 -0
- package/dist/index-cRrjzkNb.mjs +452 -0
- package/dist/index-cp7l4CIE.mjs +134 -0
- package/dist/index-dKz1IRM_.mjs +279 -0
- package/dist/index-dLPnFa10.mjs +964 -0
- package/dist/index-uykKwY2Z.mjs +12 -0
- package/dist/index-vp1_Sd0A.mjs +55 -0
- package/dist/index.mjs +22 -273
- package/dist/index.vue_vue_type_script_setup_true_lang-DcIQIMBC.mjs +286 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-DidEhco6.mjs +58 -0
- package/dist/isUndefined-CUQZk6oB.mjs +6 -0
- package/dist/moment-CMYwqyVT.mjs +2579 -0
- package/dist/picture-kDaEiPHi.mjs +599 -0
- package/dist/profile-Sn98YUfh.mjs +319 -0
- package/dist/refs-COP_DuTD.mjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types-BolK_Oyb.mjs +205 -0
- package/dist/updatePwd-B3rEU05i.mjs +4 -0
- package/dist/updatePwd.vue_vue_type_script_setup_true_lang-1LEdjkQ3.mjs +151 -0
- package/dist/useColumnToggleTable-CC9EXcfR.mjs +272 -0
- package/dts/src/App.vue.d.ts +1 -1
- package/dts/src/api/auth/index.d.ts +41 -0
- package/dts/src/api/auth/types.d.ts +180 -0
- package/dts/src/api/file/index.d.ts +14 -0
- package/dts/src/api/file/types.d.ts +7 -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/icons/index.d.ts +0 -0
- package/dts/src/components/{icons/IconDocumentation.vue.d.ts → Breadcrumb/index.vue.d.ts} +1 -1
- package/dts/src/components/DictRadio/index.vue.d.ts +23 -0
- package/dts/src/components/DictSelect/index.vue.d.ts +41 -0
- package/dts/src/components/Dictionary/index.vue.d.ts +47 -0
- package/dts/src/components/{TheWelcome.vue.d.ts → GithubCorner/index.vue.d.ts} +1 -1
- package/dts/src/components/Hamburger/index.vue.d.ts +18 -0
- package/dts/src/components/IconSelect/index.vue.d.ts +20 -0
- package/dts/src/components/IconSelect/requireIcons.d.ts +2 -0
- package/dts/src/components/{icons/IconEcosystem.vue.d.ts → LangSelect/index.vue.d.ts} +1 -1
- package/dts/src/components/Pagination/index.vue.d.ts +88 -0
- package/dts/src/components/RightPanel/index.vue.d.ts +21 -0
- package/dts/src/components/{icons/IconCommunity.vue.d.ts → SizeSelect/index.vue.d.ts} +1 -1
- package/dts/src/components/SvgIcon/index.vue.d.ts +43 -0
- package/dts/src/components/Table/index.vue.d.ts +73 -0
- package/dts/src/components/TableSet/index.vue.d.ts +29 -0
- package/dts/src/components/Upload/MultiUpload.vue.d.ts +65 -0
- package/dts/src/components/Upload/SingleUpload.vue.d.ts +18 -0
- package/dts/src/components/Upload/importUpload.vue.d.ts +31 -0
- package/dts/src/components/Upload/index.vue.d.ts +18 -0
- package/dts/src/components/WangEditor/index.vue.d.ts +18 -0
- package/dts/src/directive/index.d.ts +5 -0
- package/dts/src/directive/permission/index.d.ts +9 -0
- package/dts/src/enums/MenuTypeEnum.d.ts +18 -0
- package/dts/src/hooks/useColumnToggleTable.d.ts +7 -0
- package/dts/src/index.d.ts +29 -3
- package/dts/src/lang/index.d.ts +534 -0
- package/dts/src/lang/package/en.d.ts +261 -0
- package/dts/src/lang/package/zh-cn.d.ts +275 -0
- package/dts/src/layout/components/AppMain.vue.d.ts +2 -0
- package/dts/src/layout/components/NavBar/NavRight.vue.d.ts +2 -0
- package/dts/src/layout/components/NavBar/index.vue.d.ts +2 -0
- package/dts/src/layout/components/Settings/index.vue.d.ts +2 -0
- package/dts/src/layout/components/Sidebar/Item.vue.d.ts +23 -0
- package/dts/src/layout/components/Sidebar/LeftMenu.vue.d.ts +24 -0
- package/dts/src/layout/components/Sidebar/Link.vue.d.ts +19 -0
- package/dts/src/layout/components/Sidebar/Logo.vue.d.ts +12 -0
- package/dts/src/layout/components/Sidebar/SidebarItem.vue.d.ts +42 -0
- package/dts/src/layout/components/Sidebar/TopMenu.vue.d.ts +2 -0
- package/dts/src/layout/components/Sidebar/index.vue.d.ts +2 -0
- package/dts/src/layout/components/TagsView/ScrollPane.vue.d.ts +16 -0
- package/dts/src/layout/components/TagsView/index.vue.d.ts +2 -0
- package/dts/src/layout/components/index.d.ts +4 -0
- package/dts/src/layout/index.vue.d.ts +2 -0
- package/dts/src/layout/main.vue.d.ts +2 -0
- package/dts/src/main.d.ts +5 -1
- package/dts/src/permission.d.ts +1 -0
- package/dts/src/router/index.d.ts +10 -0
- package/dts/src/settings.d.ts +13 -0
- package/dts/src/stores/index.d.ts +7 -0
- package/dts/src/stores/modules/tagsView.d.ts +82 -0
- package/dts/src/utils/common.d.ts +6 -0
- package/dts/src/utils/grpc.d.ts +2 -0
- package/dts/src/utils/i18n.d.ts +1 -0
- package/dts/src/utils/index.d.ts +24 -0
- package/dts/src/utils/request.d.ts +2 -0
- package/dts/src/utils/resize.d.ts +1 -0
- package/dts/src/utils/scroll-to.d.ts +6 -0
- package/dts/src/views/dashboard/components/BarChart.vue.d.ts +45 -0
- package/dts/src/views/dashboard/components/FunnelChart.vue.d.ts +45 -0
- package/dts/src/views/dashboard/components/PieChart.vue.d.ts +45 -0
- package/dts/src/views/dashboard/components/RadarChart.vue.d.ts +45 -0
- package/dts/src/views/dashboard/index.vue.d.ts +2 -0
- package/dts/src/views/error-page/401.vue.d.ts +2 -0
- package/dts/src/views/error-page/404.vue.d.ts +2 -0
- package/dts/src/views/login/components/types.vue.d.ts +2 -0
- package/dts/src/views/login/index.vue.d.ts +2 -0
- package/dts/src/views/my/profile.vue.d.ts +2 -0
- package/dts/src/views/my/updatePwd.vue.d.ts +18 -0
- package/dts/src/views/redirect/index.vue.d.ts +2 -0
- 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/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/dts/tsconfig.tsbuildinfo +1 -1
- package/package.json +31 -2
- package/dts/src/components/HelloWorld.vue.d.ts +0 -15
- package/dts/src/components/WelcomeItem.vue.d.ts +0 -11
- package/dts/src/components/icons/IconSupport.vue.d.ts +0 -2
- package/dts/src/components/icons/IconTooling.vue.d.ts +0 -2
- package/dts/src/stores/counter.d.ts +0 -13
- package/dts/src/views/AboutView.vue.d.ts +0 -2
- package/dts/src/views/HomeView.vue.d.ts +0 -2
|
@@ -0,0 +1,452 @@
|
|
|
1
|
+
import { _ as W } from "./RadarChart.vue_vue_type_script_setup_true_lang-COsDkkQU.mjs";
|
|
2
|
+
import { _ as X } from "./PieChart.vue_vue_type_script_setup_true_lang-XjLBqCzM.mjs";
|
|
3
|
+
import q from "./BarChart-BYm859ri.mjs";
|
|
4
|
+
import { m as J, n as T, x as K, V as Q, p as Y, _ as tt, L as et, d as $, W as E, X as M } from "./index-B6wY38lY.mjs";
|
|
5
|
+
import "./el-tag-l0sNRNKZ.mjs";
|
|
6
|
+
import { E as st } from "./el-card-Da9MvaWO.mjs";
|
|
7
|
+
import { E as ot, a as nt } from "./el-col-BY0nB6k3.mjs";
|
|
8
|
+
import { _ as at } from "./index-DjkMA-Wh.mjs";
|
|
9
|
+
import { defineComponent as P, computed as D, openBlock as p, createElementBlock as f, normalizeClass as v, unref as n, renderSlot as N, createTextVNode as g, toDisplayString as a, createCommentVNode as V, createElementVNode as t, normalizeStyle as it, pushScopeId as A, popScopeId as F, ref as O, createVNode as e, withCtx as s } from "vue";
|
|
10
|
+
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
11
|
+
import { E as lt } from "./index-BH-_mfRR.mjs";
|
|
12
|
+
const rt = J({
|
|
13
|
+
decimalSeparator: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: "."
|
|
16
|
+
},
|
|
17
|
+
groupSeparator: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: ","
|
|
20
|
+
},
|
|
21
|
+
precision: {
|
|
22
|
+
type: Number,
|
|
23
|
+
default: 0
|
|
24
|
+
},
|
|
25
|
+
formatter: Function,
|
|
26
|
+
value: {
|
|
27
|
+
type: T([Number, Object]),
|
|
28
|
+
default: 0
|
|
29
|
+
},
|
|
30
|
+
prefix: String,
|
|
31
|
+
suffix: String,
|
|
32
|
+
title: String,
|
|
33
|
+
valueStyle: {
|
|
34
|
+
type: T([String, Object, Array])
|
|
35
|
+
}
|
|
36
|
+
}), ct = P({
|
|
37
|
+
name: "ElStatistic"
|
|
38
|
+
}), dt = /* @__PURE__ */ P({
|
|
39
|
+
...ct,
|
|
40
|
+
props: rt,
|
|
41
|
+
setup(l, { expose: C }) {
|
|
42
|
+
const z = l, d = K("statistic"), y = D(() => {
|
|
43
|
+
const { value: o, formatter: m, precision: h, decimalSeparator: w, groupSeparator: S } = z;
|
|
44
|
+
if (Q(m))
|
|
45
|
+
return m(o);
|
|
46
|
+
if (!Y(o))
|
|
47
|
+
return o;
|
|
48
|
+
let [x, u = ""] = String(o).split(".");
|
|
49
|
+
return u = u.padEnd(h, "0").slice(0, h > 0 ? h : 0), x = x.replace(/\B(?=(\d{3})+(?!\d))/g, S), [x, u].join(u ? w : "");
|
|
50
|
+
});
|
|
51
|
+
return C({
|
|
52
|
+
displayValue: y
|
|
53
|
+
}), (o, m) => (p(), f("div", {
|
|
54
|
+
class: v(n(d).b())
|
|
55
|
+
}, [
|
|
56
|
+
o.$slots.title || o.title ? (p(), f("div", {
|
|
57
|
+
key: 0,
|
|
58
|
+
class: v(n(d).e("head"))
|
|
59
|
+
}, [
|
|
60
|
+
N(o.$slots, "title", {}, () => [
|
|
61
|
+
g(a(o.title), 1)
|
|
62
|
+
])
|
|
63
|
+
], 2)) : V("v-if", !0),
|
|
64
|
+
t("div", {
|
|
65
|
+
class: v(n(d).e("content"))
|
|
66
|
+
}, [
|
|
67
|
+
o.$slots.prefix || o.prefix ? (p(), f("div", {
|
|
68
|
+
key: 0,
|
|
69
|
+
class: v(n(d).e("prefix"))
|
|
70
|
+
}, [
|
|
71
|
+
N(o.$slots, "prefix", {}, () => [
|
|
72
|
+
t("span", null, a(o.prefix), 1)
|
|
73
|
+
])
|
|
74
|
+
], 2)) : V("v-if", !0),
|
|
75
|
+
t("span", {
|
|
76
|
+
class: v(n(d).e("number")),
|
|
77
|
+
style: it(o.valueStyle)
|
|
78
|
+
}, a(n(y)), 7),
|
|
79
|
+
o.$slots.suffix || o.suffix ? (p(), f("div", {
|
|
80
|
+
key: 1,
|
|
81
|
+
class: v(n(d).e("suffix"))
|
|
82
|
+
}, [
|
|
83
|
+
N(o.$slots, "suffix", {}, () => [
|
|
84
|
+
t("span", null, a(o.suffix), 1)
|
|
85
|
+
])
|
|
86
|
+
], 2)) : V("v-if", !0)
|
|
87
|
+
], 2)
|
|
88
|
+
], 2));
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
var ut = /* @__PURE__ */ tt(dt, [["__file", "statistic.vue"]]);
|
|
92
|
+
const _t = et(ut), pt = {}, B = (l) => (A("data-v-431733f3"), l = l(), F(), l), ft = {
|
|
93
|
+
href: "https://github.com/haoxianrui",
|
|
94
|
+
target: "_blank",
|
|
95
|
+
class: "github-corner",
|
|
96
|
+
"aria-label": "View source on Github"
|
|
97
|
+
}, mt = {
|
|
98
|
+
width: "80",
|
|
99
|
+
height: "80",
|
|
100
|
+
viewBox: "0 0 250 250",
|
|
101
|
+
style: { color: "#fff", fill: "#40c9c6" },
|
|
102
|
+
"aria-hidden": "true"
|
|
103
|
+
}, ht = /* @__PURE__ */ B(() => /* @__PURE__ */ t("path", { d: "M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z" }, null, -1)), xt = /* @__PURE__ */ B(() => /* @__PURE__ */ t("path", {
|
|
104
|
+
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",
|
|
105
|
+
fill: "currentColor",
|
|
106
|
+
style: { "transform-origin": "130px 106px" },
|
|
107
|
+
class: "octo-arm"
|
|
108
|
+
}, null, -1)), vt = /* @__PURE__ */ B(() => /* @__PURE__ */ t("path", {
|
|
109
|
+
d: "M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z",
|
|
110
|
+
fill: "currentColor",
|
|
111
|
+
class: "octo-body"
|
|
112
|
+
}, null, -1)), gt = [
|
|
113
|
+
ht,
|
|
114
|
+
xt,
|
|
115
|
+
vt
|
|
116
|
+
];
|
|
117
|
+
function yt(l, C) {
|
|
118
|
+
return p(), f("a", ft, [
|
|
119
|
+
(p(), f("svg", mt, gt))
|
|
120
|
+
]);
|
|
121
|
+
}
|
|
122
|
+
const bt = /* @__PURE__ */ R(pt, [["render", yt], ["__scopeId", "data-v-431733f3"]]), i = (l) => (A("data-v-22d9b4de"), l = l(), F(), l), Ct = { class: "dashboard-container" }, wt = { class: "flex h-full items-center" }, St = ["src"], jt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("p", { class: "text-sm text-gray" }, " 今日天气晴朗,气温在15℃至25℃之间,东南风。 ", -1)), $t = { class: "flex h-full items-center justify-around" }, Et = { class: "flex items-center" }, Mt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "消息", -1)), Ot = { class: "flex items-center" }, kt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "待办", -1)), zt = { class: "flex items-center" }, It = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "项目", -1)), Lt = { class: "flex items-center justify-between" }, Nt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "访客数", -1)), Vt = { class: "flex items-center justify-between mt-5" }, Pt = { class: "text-lg text-right" }, Bt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Tt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总访客数 ", -1)), Dt = { class: "flex items-center justify-between" }, At = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "IP数", -1)), Ft = { class: "flex items-center justify-between mt-5" }, Rt = { class: "text-lg text-right" }, Zt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Gt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总IP数 ", -1)), Ht = { class: "flex items-center justify-between" }, Ut = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "销售额", -1)), Wt = { class: "flex items-center justify-between mt-5" }, Xt = { class: "text-lg text-right" }, qt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Jt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总销售额 ", -1)), Kt = { class: "flex items-center justify-between" }, Qt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "订单量", -1)), Yt = { class: "flex items-center justify-between mt-5" }, te = { class: "text-lg text-right" }, ee = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, se = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总订单量 ", -1)), k = 5e3, oe = /* @__PURE__ */ P({
|
|
123
|
+
name: "Dashboard",
|
|
124
|
+
inheritAttrs: !1,
|
|
125
|
+
__name: "index",
|
|
126
|
+
setup(l) {
|
|
127
|
+
const C = $(), z = /* @__PURE__ */ new Date(), d = D(() => {
|
|
128
|
+
const r = z.getHours();
|
|
129
|
+
if (r >= 6 && r < 8)
|
|
130
|
+
return "晨起披衣出草堂,轩窗已自喜微凉🌅!";
|
|
131
|
+
if (r >= 8 && r < 12)
|
|
132
|
+
return "上午好," + $().user.nickname + "!";
|
|
133
|
+
if (r >= 12 && r < 18)
|
|
134
|
+
return "下午好," + $().user.nickname + "!";
|
|
135
|
+
if (r >= 18 && r < 24)
|
|
136
|
+
return "晚上好," + $().user.nickname + "!";
|
|
137
|
+
if (r >= 0 && r < 6)
|
|
138
|
+
return "偷偷向银河要了一把碎星,只等你闭上眼睛撒入你的梦中,晚安🌛!";
|
|
139
|
+
}), y = O(0), o = E(y, {
|
|
140
|
+
duration: k,
|
|
141
|
+
transition: M.easeOutExpo
|
|
142
|
+
});
|
|
143
|
+
y.value = 2e3;
|
|
144
|
+
const m = O(0), h = E(m, {
|
|
145
|
+
duration: k,
|
|
146
|
+
transition: M.easeOutExpo
|
|
147
|
+
});
|
|
148
|
+
m.value = 2e3;
|
|
149
|
+
const w = O(0), S = E(w, {
|
|
150
|
+
duration: k,
|
|
151
|
+
transition: M.easeOutExpo
|
|
152
|
+
});
|
|
153
|
+
w.value = 2e3;
|
|
154
|
+
const x = O(0), u = E(x, {
|
|
155
|
+
duration: k,
|
|
156
|
+
transition: M.easeOutExpo
|
|
157
|
+
});
|
|
158
|
+
return x.value = 2e3, (r, ne) => {
|
|
159
|
+
const Z = bt, c = ot, _ = at, I = _t, L = nt, b = st, j = lt, G = q, H = X, U = W;
|
|
160
|
+
return p(), f("div", Ct, [
|
|
161
|
+
e(Z, { class: "github-corner" }),
|
|
162
|
+
e(b, { shadow: "never" }, {
|
|
163
|
+
default: s(() => [
|
|
164
|
+
e(L, { justify: "space-between" }, {
|
|
165
|
+
default: s(() => [
|
|
166
|
+
e(c, {
|
|
167
|
+
span: 18,
|
|
168
|
+
xs: 24
|
|
169
|
+
}, {
|
|
170
|
+
default: s(() => [
|
|
171
|
+
t("div", wt, [
|
|
172
|
+
t("img", {
|
|
173
|
+
class: "w-20 h-20 mr-5 rounded-full",
|
|
174
|
+
src: n(C).user.avatar + "?imageView2/1/w/80/h/80"
|
|
175
|
+
}, null, 8, St),
|
|
176
|
+
t("div", null, [
|
|
177
|
+
t("p", null, a(d.value), 1),
|
|
178
|
+
jt
|
|
179
|
+
])
|
|
180
|
+
])
|
|
181
|
+
]),
|
|
182
|
+
_: 1
|
|
183
|
+
}),
|
|
184
|
+
e(c, {
|
|
185
|
+
span: 6,
|
|
186
|
+
xs: 24
|
|
187
|
+
}, {
|
|
188
|
+
default: s(() => [
|
|
189
|
+
t("div", $t, [
|
|
190
|
+
e(I, { value: 99 }, {
|
|
191
|
+
title: s(() => [
|
|
192
|
+
t("div", Et, [
|
|
193
|
+
e(_, {
|
|
194
|
+
"icon-class": "message",
|
|
195
|
+
size: "20px"
|
|
196
|
+
}),
|
|
197
|
+
Mt
|
|
198
|
+
])
|
|
199
|
+
]),
|
|
200
|
+
_: 1
|
|
201
|
+
}),
|
|
202
|
+
e(I, { value: 50 }, {
|
|
203
|
+
title: s(() => [
|
|
204
|
+
t("div", Ot, [
|
|
205
|
+
e(_, {
|
|
206
|
+
"icon-class": "todolist",
|
|
207
|
+
size: "20px"
|
|
208
|
+
}),
|
|
209
|
+
kt
|
|
210
|
+
])
|
|
211
|
+
]),
|
|
212
|
+
suffix: s(() => [
|
|
213
|
+
g("/100")
|
|
214
|
+
]),
|
|
215
|
+
_: 1
|
|
216
|
+
}),
|
|
217
|
+
e(I, { value: 10 }, {
|
|
218
|
+
title: s(() => [
|
|
219
|
+
t("div", zt, [
|
|
220
|
+
e(_, {
|
|
221
|
+
"icon-class": "project",
|
|
222
|
+
size: "20px"
|
|
223
|
+
}),
|
|
224
|
+
It
|
|
225
|
+
])
|
|
226
|
+
]),
|
|
227
|
+
_: 1
|
|
228
|
+
})
|
|
229
|
+
])
|
|
230
|
+
]),
|
|
231
|
+
_: 1
|
|
232
|
+
})
|
|
233
|
+
]),
|
|
234
|
+
_: 1
|
|
235
|
+
})
|
|
236
|
+
]),
|
|
237
|
+
_: 1
|
|
238
|
+
}),
|
|
239
|
+
e(L, {
|
|
240
|
+
gutter: 10,
|
|
241
|
+
class: "mt-3"
|
|
242
|
+
}, {
|
|
243
|
+
default: s(() => [
|
|
244
|
+
e(c, {
|
|
245
|
+
xs: 24,
|
|
246
|
+
sm: 12,
|
|
247
|
+
lg: 6
|
|
248
|
+
}, {
|
|
249
|
+
default: s(() => [
|
|
250
|
+
e(b, { shadow: "never" }, {
|
|
251
|
+
header: s(() => [
|
|
252
|
+
t("div", Lt, [
|
|
253
|
+
Nt,
|
|
254
|
+
e(j, { type: "success" }, {
|
|
255
|
+
default: s(() => [
|
|
256
|
+
g("日")
|
|
257
|
+
]),
|
|
258
|
+
_: 1
|
|
259
|
+
})
|
|
260
|
+
])
|
|
261
|
+
]),
|
|
262
|
+
default: s(() => [
|
|
263
|
+
t("div", Vt, [
|
|
264
|
+
t("div", Pt, a(Math.round(n(h))), 1),
|
|
265
|
+
e(_, {
|
|
266
|
+
"icon-class": "visit",
|
|
267
|
+
size: "2em"
|
|
268
|
+
})
|
|
269
|
+
]),
|
|
270
|
+
t("div", Bt, [
|
|
271
|
+
Tt,
|
|
272
|
+
t("span", null, a(Math.round(n(h) * 15)), 1)
|
|
273
|
+
])
|
|
274
|
+
]),
|
|
275
|
+
_: 1
|
|
276
|
+
})
|
|
277
|
+
]),
|
|
278
|
+
_: 1
|
|
279
|
+
}),
|
|
280
|
+
e(c, {
|
|
281
|
+
xs: 24,
|
|
282
|
+
sm: 12,
|
|
283
|
+
lg: 6
|
|
284
|
+
}, {
|
|
285
|
+
default: s(() => [
|
|
286
|
+
e(b, { shadow: "never" }, {
|
|
287
|
+
header: s(() => [
|
|
288
|
+
t("div", Dt, [
|
|
289
|
+
At,
|
|
290
|
+
e(j, { type: "success" }, {
|
|
291
|
+
default: s(() => [
|
|
292
|
+
g("日")
|
|
293
|
+
]),
|
|
294
|
+
_: 1
|
|
295
|
+
})
|
|
296
|
+
])
|
|
297
|
+
]),
|
|
298
|
+
default: s(() => [
|
|
299
|
+
t("div", Ft, [
|
|
300
|
+
t("div", Rt, a(Math.round(n(S))), 1),
|
|
301
|
+
e(_, {
|
|
302
|
+
"icon-class": "ip",
|
|
303
|
+
size: "2em"
|
|
304
|
+
})
|
|
305
|
+
]),
|
|
306
|
+
t("div", Zt, [
|
|
307
|
+
Gt,
|
|
308
|
+
t("span", null, a(Math.round(n(S))), 1)
|
|
309
|
+
])
|
|
310
|
+
]),
|
|
311
|
+
_: 1
|
|
312
|
+
})
|
|
313
|
+
]),
|
|
314
|
+
_: 1
|
|
315
|
+
}),
|
|
316
|
+
e(c, {
|
|
317
|
+
xs: 24,
|
|
318
|
+
sm: 12,
|
|
319
|
+
lg: 6
|
|
320
|
+
}, {
|
|
321
|
+
default: s(() => [
|
|
322
|
+
e(b, { shadow: "never" }, {
|
|
323
|
+
header: s(() => [
|
|
324
|
+
t("div", Ht, [
|
|
325
|
+
Ut,
|
|
326
|
+
e(j, null, {
|
|
327
|
+
default: s(() => [
|
|
328
|
+
g("月")
|
|
329
|
+
]),
|
|
330
|
+
_: 1
|
|
331
|
+
})
|
|
332
|
+
])
|
|
333
|
+
]),
|
|
334
|
+
default: s(() => [
|
|
335
|
+
t("div", Wt, [
|
|
336
|
+
t("div", Xt, a(Math.round(n(o))), 1),
|
|
337
|
+
e(_, {
|
|
338
|
+
"icon-class": "money",
|
|
339
|
+
size: "2em"
|
|
340
|
+
})
|
|
341
|
+
]),
|
|
342
|
+
t("div", qt, [
|
|
343
|
+
Jt,
|
|
344
|
+
t("span", null, a(Math.round(n(o) * 15)), 1)
|
|
345
|
+
])
|
|
346
|
+
]),
|
|
347
|
+
_: 1
|
|
348
|
+
})
|
|
349
|
+
]),
|
|
350
|
+
_: 1
|
|
351
|
+
}),
|
|
352
|
+
e(c, {
|
|
353
|
+
xs: 24,
|
|
354
|
+
sm: 12,
|
|
355
|
+
lg: 6
|
|
356
|
+
}, {
|
|
357
|
+
default: s(() => [
|
|
358
|
+
e(b, { shadow: "never" }, {
|
|
359
|
+
header: s(() => [
|
|
360
|
+
t("div", Kt, [
|
|
361
|
+
Qt,
|
|
362
|
+
e(j, { type: "danger" }, {
|
|
363
|
+
default: s(() => [
|
|
364
|
+
g("季")
|
|
365
|
+
]),
|
|
366
|
+
_: 1
|
|
367
|
+
})
|
|
368
|
+
])
|
|
369
|
+
]),
|
|
370
|
+
default: s(() => [
|
|
371
|
+
t("div", Yt, [
|
|
372
|
+
t("div", te, a(Math.round(n(u))), 1),
|
|
373
|
+
e(_, {
|
|
374
|
+
"icon-class": "order",
|
|
375
|
+
size: "2em"
|
|
376
|
+
})
|
|
377
|
+
]),
|
|
378
|
+
t("div", ee, [
|
|
379
|
+
se,
|
|
380
|
+
t("span", null, a(Math.round(n(u) * 15)), 1)
|
|
381
|
+
])
|
|
382
|
+
]),
|
|
383
|
+
_: 1
|
|
384
|
+
})
|
|
385
|
+
]),
|
|
386
|
+
_: 1
|
|
387
|
+
})
|
|
388
|
+
]),
|
|
389
|
+
_: 1
|
|
390
|
+
}),
|
|
391
|
+
e(L, {
|
|
392
|
+
gutter: 10,
|
|
393
|
+
class: "mt-3"
|
|
394
|
+
}, {
|
|
395
|
+
default: s(() => [
|
|
396
|
+
e(c, {
|
|
397
|
+
sm: 24,
|
|
398
|
+
lg: 8,
|
|
399
|
+
class: "mb-2"
|
|
400
|
+
}, {
|
|
401
|
+
default: s(() => [
|
|
402
|
+
e(G, {
|
|
403
|
+
id: "barChart",
|
|
404
|
+
height: "400px",
|
|
405
|
+
width: "100%",
|
|
406
|
+
class: "bg-[var(--el-bg-color-overlay)]"
|
|
407
|
+
})
|
|
408
|
+
]),
|
|
409
|
+
_: 1
|
|
410
|
+
}),
|
|
411
|
+
e(c, {
|
|
412
|
+
xs: 24,
|
|
413
|
+
sm: 12,
|
|
414
|
+
lg: 8,
|
|
415
|
+
class: "mb-2"
|
|
416
|
+
}, {
|
|
417
|
+
default: s(() => [
|
|
418
|
+
e(H, {
|
|
419
|
+
id: "pieChart",
|
|
420
|
+
height: "400px",
|
|
421
|
+
width: "100%",
|
|
422
|
+
class: "bg-[var(--el-bg-color-overlay)]"
|
|
423
|
+
})
|
|
424
|
+
]),
|
|
425
|
+
_: 1
|
|
426
|
+
}),
|
|
427
|
+
e(c, {
|
|
428
|
+
xs: 24,
|
|
429
|
+
sm: 12,
|
|
430
|
+
lg: 8,
|
|
431
|
+
class: "mb-2"
|
|
432
|
+
}, {
|
|
433
|
+
default: s(() => [
|
|
434
|
+
e(U, {
|
|
435
|
+
id: "radarChart",
|
|
436
|
+
height: "400px",
|
|
437
|
+
width: "100%",
|
|
438
|
+
class: "bg-[var(--el-bg-color-overlay)]"
|
|
439
|
+
})
|
|
440
|
+
]),
|
|
441
|
+
_: 1
|
|
442
|
+
})
|
|
443
|
+
]),
|
|
444
|
+
_: 1
|
|
445
|
+
})
|
|
446
|
+
]);
|
|
447
|
+
};
|
|
448
|
+
}
|
|
449
|
+
}), he = /* @__PURE__ */ R(oe, [["__scopeId", "data-v-22d9b4de"]]);
|
|
450
|
+
export {
|
|
451
|
+
he as default
|
|
452
|
+
};
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { ar as e, d as n } from "./index-B6wY38lY.mjs";
|
|
2
|
+
function p(t) {
|
|
3
|
+
return e({
|
|
4
|
+
url: "/v1/rbac/dept/list",
|
|
5
|
+
method: "get",
|
|
6
|
+
params: t
|
|
7
|
+
});
|
|
8
|
+
}
|
|
9
|
+
function o(t) {
|
|
10
|
+
return e({
|
|
11
|
+
url: "/v1/rbac/dept",
|
|
12
|
+
method: "post",
|
|
13
|
+
data: t
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function u(t) {
|
|
17
|
+
return e({
|
|
18
|
+
url: "/v1/rbac/dept",
|
|
19
|
+
method: "patch",
|
|
20
|
+
data: t
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
function s(t) {
|
|
24
|
+
const r = {
|
|
25
|
+
tenant: n().user.tenant,
|
|
26
|
+
deptId: t
|
|
27
|
+
};
|
|
28
|
+
return e({
|
|
29
|
+
url: "/v1/rbac/dept/id",
|
|
30
|
+
method: "delete",
|
|
31
|
+
params: r
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function d(t) {
|
|
35
|
+
const r = {
|
|
36
|
+
tenant: n().user.tenant,
|
|
37
|
+
deptId: t
|
|
38
|
+
};
|
|
39
|
+
return e({
|
|
40
|
+
url: "/v1/rbac/dept/batch",
|
|
41
|
+
method: "put",
|
|
42
|
+
data: r
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
function c(t) {
|
|
46
|
+
const r = {
|
|
47
|
+
tenant: n().user.tenant,
|
|
48
|
+
deptId: t
|
|
49
|
+
};
|
|
50
|
+
return e({
|
|
51
|
+
url: "/v1/rbac/dept/movedown",
|
|
52
|
+
method: "post",
|
|
53
|
+
params: r
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
function m(t) {
|
|
57
|
+
const r = {
|
|
58
|
+
tenant: n().user.tenant,
|
|
59
|
+
deptId: t
|
|
60
|
+
};
|
|
61
|
+
return e({
|
|
62
|
+
url: "/v1/rbac/dept/moveup",
|
|
63
|
+
method: "post",
|
|
64
|
+
params: r
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
function l(t) {
|
|
68
|
+
const r = {
|
|
69
|
+
tenant: n().user.tenant,
|
|
70
|
+
excludeId: t
|
|
71
|
+
};
|
|
72
|
+
return e({
|
|
73
|
+
url: "/v1/rbac/dept/treelist",
|
|
74
|
+
method: "get",
|
|
75
|
+
params: r
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
function i(t) {
|
|
79
|
+
return e({
|
|
80
|
+
url: "/v1/rbac/dept/lock",
|
|
81
|
+
method: "post",
|
|
82
|
+
data: t
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
function b(t) {
|
|
86
|
+
return e({
|
|
87
|
+
url: "/v1/rbac/dept/depts.xlsx",
|
|
88
|
+
method: "get",
|
|
89
|
+
responseType: "blob",
|
|
90
|
+
params: t
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
function h(t) {
|
|
94
|
+
return e({
|
|
95
|
+
url: "/v1/rbac/dept/import",
|
|
96
|
+
method: "patch",
|
|
97
|
+
data: t
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
function v() {
|
|
101
|
+
return e({
|
|
102
|
+
url: "/v1/rbac/dept/template.xlsx",
|
|
103
|
+
method: "get",
|
|
104
|
+
responseType: "blob",
|
|
105
|
+
params: {
|
|
106
|
+
tenant: n().user.tenant
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
function f(t) {
|
|
111
|
+
return e({
|
|
112
|
+
url: "/v1/rbac/dept/enable",
|
|
113
|
+
method: "post",
|
|
114
|
+
params: {
|
|
115
|
+
tenant: n().user.tenant,
|
|
116
|
+
deptId: t
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
export {
|
|
121
|
+
c as a,
|
|
122
|
+
d as b,
|
|
123
|
+
v as c,
|
|
124
|
+
s as d,
|
|
125
|
+
i as e,
|
|
126
|
+
f,
|
|
127
|
+
p as g,
|
|
128
|
+
b as h,
|
|
129
|
+
h as i,
|
|
130
|
+
u as j,
|
|
131
|
+
o as k,
|
|
132
|
+
m,
|
|
133
|
+
l as t
|
|
134
|
+
};
|