jmash-core 0.0.140 → 0.1.1
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-mTulvsgZ.mjs → 401-CmbCjjNL.mjs} +2 -2
- package/dist/{404-DxlWduSf.mjs → 404-vVYxJtEE.mjs} +3 -3
- package/dist/{BarChart-CtUdxB_0.mjs → BarChart-CvbevfnW.mjs} +2 -2
- package/dist/{index-C9nXRt5O.mjs → index-BoFhaiby.mjs} +340 -337
- package/dist/{index-Mj1ROiut.mjs → index-D-TESPQa.mjs} +2 -2
- package/dist/{index-CfF_1UQn.mjs → index-D9REaN5W.mjs} +9 -9
- package/dist/{index-pVhvMkbz.mjs → index-DPghfuT5.mjs} +10 -10
- package/dist/{index-DuxBd-8U.mjs → index-ep93ZdUP.mjs} +58 -55
- package/dist/index.mjs +1 -1
- package/dist/{profile-CGK99sh1.mjs → profile-Bk-g8zOj.mjs} +2 -2
- package/dist/{runAs-B8LJKe8Q.mjs → runAs-DP78PAxF.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-rKU04MVd.mjs → runAs.vue_vue_type_script_setup_true_lang-Kc29kvd-.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{types-BvEVzU5Z.mjs → types-DTOhlIo3.mjs} +1 -1
- package/dist/{updatePwd-BI8GFMwr.mjs → updatePwd-DnIP6C3z.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-DJXNzQb4.mjs → updatePwd.vue_vue_type_script_setup_true_lang-dlde2L7_.mjs} +1 -1
- package/dts/src/components/JmashMultiImageUpload/index.vue.d.ts +1 -1
- 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 +81 -81
- package/dts/src/api/system/dept/index.d.ts +0 -91
- package/dts/src/api/system/dept/types.d.ts +0 -63
- package/dts/src/api/system/index.d.ts +0 -7
- package/dts/src/api/system/job/index.d.ts +0 -42
- package/dts/src/api/system/job/types.d.ts +0 -60
- package/dts/src/api/system/log/index.d.ts +0 -29
- package/dts/src/api/system/log/types.d.ts +0 -42
- package/dts/src/api/system/menu/index.d.ts +0 -103
- package/dts/src/api/system/menu/types.d.ts +0 -96
- package/dts/src/api/system/module/index.d.ts +0 -57
- package/dts/src/api/system/module/types.d.ts +0 -13
- package/dts/src/api/system/operation/index.d.ts +0 -51
- package/dts/src/api/system/operation/types.d.ts +0 -12
- package/dts/src/api/system/permission/index.d.ts +0 -50
- package/dts/src/api/system/permission/types.d.ts +0 -12
- package/dts/src/api/system/role/index.d.ts +0 -77
- package/dts/src/api/system/role/types.d.ts +0 -26
- package/dts/src/api/system/user/index.d.ts +0 -133
- package/dts/src/api/system/user/types.d.ts +0 -53
- package/dts/src/api/system/userLog/index.d.ts +0 -29
- package/dts/src/api/system/userLog/types.d.ts +0 -22
- package/dts/src/assets/components/a-fixed.vue.d.ts +0 -2
- package/dts/src/assets/components/a-list.vue.d.ts +0 -2
- package/dts/src/assets/components/anquanrizhi.vue.d.ts +0 -2
- package/dts/src/assets/components/api.vue.d.ts +0 -2
- package/dts/src/assets/components/bumenguanli.vue.d.ts +0 -2
- package/dts/src/assets/components/caozuoguanliyuan.vue.d.ts +0 -2
- package/dts/src/assets/components/captcha.vue.d.ts +0 -2
- package/dts/src/assets/components/cascader.vue.d.ts +0 -2
- package/dts/src/assets/components/client.vue.d.ts +0 -2
- package/dts/src/assets/components/close-all.vue.d.ts +0 -2
- package/dts/src/assets/components/close-left.vue.d.ts +0 -2
- package/dts/src/assets/components/close-other.vue.d.ts +0 -2
- package/dts/src/assets/components/close-right.vue.d.ts +0 -2
- package/dts/src/assets/components/close.vue.d.ts +0 -2
- package/dts/src/assets/components/dict.vue.d.ts +0 -2
- package/dts/src/assets/components/document.vue.d.ts +0 -2
- package/dts/src/assets/components/download.vue.d.ts +0 -2
- package/dts/src/assets/components/drag.vue.d.ts +0 -2
- package/dts/src/assets/components/edit.vue.d.ts +0 -2
- package/dts/src/assets/components/email.vue.d.ts +0 -2
- package/dts/src/assets/components/exit-fullscreen.vue.d.ts +0 -2
- package/dts/src/assets/components/eye-open.vue.d.ts +0 -2
- package/dts/src/assets/components/eye.vue.d.ts +0 -2
- package/dts/src/assets/components/fullscreen-exit.vue.d.ts +0 -2
- package/dts/src/assets/components/fullscreen.vue.d.ts +0 -2
- package/dts/src/assets/components/gangweiguanli.vue.d.ts +0 -2
- package/dts/src/assets/components/github.vue.d.ts +0 -2
- package/dts/src/assets/components/homepage.vue.d.ts +0 -2
- package/dts/src/assets/components/icon-eye.vue.d.ts +0 -2
- package/dts/src/assets/components/icon-open-eye.vue.d.ts +0 -2
- package/dts/src/assets/components/icon.vue.d.ts +0 -2
- package/dts/src/assets/components/indent-decrease.vue.d.ts +0 -2
- package/dts/src/assets/components/ip.vue.d.ts +0 -2
- package/dts/src/assets/components/jiemianxijietubiao-26.vue.d.ts +0 -2
- package/dts/src/assets/components/language.vue.d.ts +0 -2
- package/dts/src/assets/components/link.vue.d.ts +0 -2
- package/dts/src/assets/components/lock.vue.d.ts +0 -2
- package/dts/src/assets/components/log.vue.d.ts +0 -2
- package/dts/src/assets/components/menu.vue.d.ts +0 -2
- package/dts/src/assets/components/message.vue.d.ts +0 -2
- package/dts/src/assets/components/mokuaiguanli.vue.d.ts +0 -2
- package/dts/src/assets/components/money.vue.d.ts +0 -2
- package/dts/src/assets/components/monitor.vue.d.ts +0 -2
- package/dts/src/assets/components/moon.vue.d.ts +0 -2
- package/dts/src/assets/components/order.vue.d.ts +0 -2
- package/dts/src/assets/components/password.vue.d.ts +0 -2
- package/dts/src/assets/components/peoples.vue.d.ts +0 -2
- package/dts/src/assets/components/phone.vue.d.ts +0 -2
- package/dts/src/assets/components/project.vue.d.ts +0 -2
- package/dts/src/assets/components/publish.vue.d.ts +0 -2
- package/dts/src/assets/components/quanxianguanli.vue.d.ts +0 -2
- package/dts/src/assets/components/redis.vue.d.ts +0 -2
- package/dts/src/assets/components/refresh.vue.d.ts +0 -2
- package/dts/src/assets/components/role.vue.d.ts +0 -2
- package/dts/src/assets/components/security.vue.d.ts +0 -2
- package/dts/src/assets/components/setting.vue.d.ts +0 -2
- package/dts/src/assets/components/shoujihao.vue.d.ts +0 -2
- package/dts/src/assets/components/shrink.vue.d.ts +0 -2
- package/dts/src/assets/components/size.vue.d.ts +0 -2
- package/dts/src/assets/components/sunny.vue.d.ts +0 -2
- package/dts/src/assets/components/system.vue.d.ts +0 -2
- package/dts/src/assets/components/table.vue.d.ts +0 -2
- package/dts/src/assets/components/team.vue.d.ts +0 -2
- package/dts/src/assets/components/todolist.vue.d.ts +0 -2
- package/dts/src/assets/components/tree.vue.d.ts +0 -2
- package/dts/src/assets/components/user.vue.d.ts +0 -2
- package/dts/src/assets/components/visit.vue.d.ts +0 -2
- package/dts/src/assets/components/xingming.vue.d.ts +0 -2
- package/dts/src/assets/components/yonghuguanli.vue.d.ts +0 -2
- package/dts/src/assets/components/youxiang.vue.d.ts +0 -2
- package/dts/src/components/DictRadio/index.vue.d.ts +0 -32
- package/dts/src/components/DictSelect/index.vue.d.ts +0 -50
- package/dts/src/components/Pagination/index.vue.d.ts +0 -88
- package/dts/src/components/Table/index.vue.d.ts +0 -64
- package/dts/src/components/TableSet/index.vue.d.ts +0 -30
- package/dts/src/components/Upload/MultiUpload.vue.d.ts +0 -65
- package/dts/src/components/Upload/SingleUpload.vue.d.ts +0 -18
- package/dts/src/components/Upload/importUpload.vue.d.ts +0 -31
- package/dts/src/components/Upload/index.vue.d.ts +0 -18
- package/dts/src/hooks/useColumnToggleTable.d.ts +0 -7
- package/dts/src/hooks/useList.d.ts +0 -1
- package/dts/src/views/system/dept/edit.vue.d.ts +0 -31
- package/dts/src/views/system/dept/index.vue.d.ts +0 -2
- package/dts/src/views/system/job/edit.vue.d.ts +0 -30
- package/dts/src/views/system/job/index.vue.d.ts +0 -2
- package/dts/src/views/system/log/oplog/index.vue.d.ts +0 -2
- package/dts/src/views/system/log/userLog/index.vue.d.ts +0 -2
- package/dts/src/views/system/menu/edit.vue.d.ts +0 -31
- package/dts/src/views/system/menu/index.vue.d.ts +0 -2
- package/dts/src/views/system/module/edit.vue.d.ts +0 -31
- package/dts/src/views/system/module/index.vue.d.ts +0 -2
- package/dts/src/views/system/operation/edit.vue.d.ts +0 -31
- package/dts/src/views/system/operation/index.vue.d.ts +0 -2
- package/dts/src/views/system/permission/edit.vue.d.ts +0 -30
- package/dts/src/views/system/permission/index.vue.d.ts +0 -2
- package/dts/src/views/system/role/edit.vue.d.ts +0 -31
- package/dts/src/views/system/role/index.vue.d.ts +0 -2
- package/dts/src/views/system/user/edit.vue.d.ts +0 -31
- package/dts/src/views/system/user/index.vue.d.ts +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as i, u as F, b as S, o as D, e as N, g as k, z as T, v as J, A as _, i as $ } from "./index-
|
|
1
|
+
import { x as i, u as F, b as S, o as D, e as N, g as k, z as T, v as J, A as _, i as $ } from "./index-D9REaN5W.mjs";
|
|
2
2
|
import { defineComponent as AA, ref as K, computed as rA, watchEffect as VA, resolveComponent as Y, createElementBlock as eA, openBlock as WA, createElementVNode as V, createVNode as e, withDirectives as M, unref as B, withCtx as C, normalizeStyle as sA, vShow as m, withKeys as w, withModifiers as tA, createTextVNode as qA, toDisplayString as R, normalizeClass as CA } from "vue";
|
|
3
3
|
import { useI18n as uA } from "vue-i18n";
|
|
4
4
|
import "element-plus";
|
|
@@ -222,7 +222,7 @@ const vA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA4sAAAKdCAYAAACK6/xRAA
|
|
|
222
222
|
]);
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
}), bA = /* @__PURE__ */ $(iA, [["__scopeId", "data-v-
|
|
225
|
+
}), bA = /* @__PURE__ */ $(iA, [["__scopeId", "data-v-6e98de56"]]);
|
|
226
226
|
export {
|
|
227
227
|
bA as default
|
|
228
228
|
};
|
|
@@ -391,9 +391,9 @@ const Sn = Jr({
|
|
|
391
391
|
APP_ACTIVE: "user",
|
|
392
392
|
APP_REDIRECT: "/",
|
|
393
393
|
APP_TIMEOUT: 6e4
|
|
394
|
-
}), Js = /* @__PURE__ */ new Map(), Zx = [], kE = () => import("./index-
|
|
394
|
+
}), Js = /* @__PURE__ */ new Map(), Zx = [], kE = () => import("./index-BoFhaiby.mjs");
|
|
395
395
|
Js.set("Layout", kE);
|
|
396
|
-
const OE = /* @__PURE__ */ Object.assign({ "./views/change-organ/index.vue": () => import("./index-
|
|
396
|
+
const OE = /* @__PURE__ */ Object.assign({ "./views/change-organ/index.vue": () => import("./index-DPghfuT5.mjs"), "./views/dashboard/components/BarChart.vue": () => import("./BarChart-CvbevfnW.mjs"), "./views/dashboard/components/FunnelChart.vue": () => import("./FunnelChart-D6-3qMKT.mjs"), "./views/dashboard/components/PieChart.vue": () => import("./PieChart-pHMdR-Hx.mjs"), "./views/dashboard/components/RadarChart.vue": () => import("./RadarChart-CclJ-0mQ.mjs"), "./views/dashboard/index.vue": () => import("./index-ep93ZdUP.mjs"), "./views/error-page/401.vue": () => import("./401-CmbCjjNL.mjs"), "./views/error-page/404.vue": () => import("./404-vVYxJtEE.mjs"), "./views/login/components/types.vue": () => import("./types-DTOhlIo3.mjs"), "./views/login/index.vue": () => import("./index-D-TESPQa.mjs"), "./views/my/profile.vue": () => import("./profile-Bk-g8zOj.mjs"), "./views/my/runAs.vue": () => import("./runAs-DP78PAxF.mjs"), "./views/my/updatePwd.vue": () => import("./updatePwd-DnIP6C3z.mjs"), "./views/redirect/index.vue": () => import("./index-JBmY6Vt0.mjs") });
|
|
397
397
|
ME(OE, 7);
|
|
398
398
|
function ME(e, t) {
|
|
399
399
|
for (const r in e) {
|
|
@@ -633,7 +633,7 @@ function ate() {
|
|
|
633
633
|
method: "get"
|
|
634
634
|
});
|
|
635
635
|
}
|
|
636
|
-
const Hu = () => import("./index-
|
|
636
|
+
const Hu = () => import("./index-BoFhaiby.mjs"), qE = () => import("./index-D-TESPQa.mjs"), WE = () => import("./types-DTOhlIo3.mjs"), GE = () => import("./profile-Bk-g8zOj.mjs"), KE = () => import("./401-CmbCjjNL.mjs"), YE = () => import("./404-vVYxJtEE.mjs"), XE = () => import("./index-ep93ZdUP.mjs"), ZE = () => import("./index-JBmY6Vt0.mjs"), QE = () => import("./index-DPghfuT5.mjs"), Jx = [
|
|
637
637
|
{
|
|
638
638
|
path: "/redirect",
|
|
639
639
|
component: Hu,
|
|
@@ -10771,7 +10771,7 @@ const UR = { name: "ep-search", render: $R }, qR = /* @__PURE__ */ I({
|
|
|
10771
10771
|
for (const [n, o] of t)
|
|
10772
10772
|
r[n] = o;
|
|
10773
10773
|
return r;
|
|
10774
|
-
}, ui = /* @__PURE__ */ g0(qR, [["__scopeId", "data-v-
|
|
10774
|
+
}, ui = /* @__PURE__ */ g0(qR, [["__scopeId", "data-v-c88d620b"]]), WR = { class: "table-list" }, GR = ["onClick"], KR = { class: "table-footer" }, YR = /* @__PURE__ */ I({
|
|
10775
10775
|
__name: "index",
|
|
10776
10776
|
props: /* @__PURE__ */ fa({
|
|
10777
10777
|
labelName: {
|
|
@@ -17891,7 +17891,7 @@ const UH = { class: "icon-list" }, qH = ["onClick"], WH = /* @__PURE__ */ I({
|
|
|
17891
17891
|
], 512);
|
|
17892
17892
|
};
|
|
17893
17893
|
}
|
|
17894
|
-
}), GH = /* @__PURE__ */ g0(WH, [["__scopeId", "data-v-
|
|
17894
|
+
}), GH = /* @__PURE__ */ g0(WH, [["__scopeId", "data-v-e85de0de"]]), KH = { key: 0 }, YH = { key: 1 }, XH = {
|
|
17895
17895
|
key: 2,
|
|
17896
17896
|
class: "distance-left"
|
|
17897
17897
|
}, ZH = /* @__PURE__ */ I({
|
|
@@ -21704,7 +21704,7 @@ const Mq = Eo, Iq = ["src"], Nq = /* @__PURE__ */ I({
|
|
|
21704
21704
|
], 64);
|
|
21705
21705
|
};
|
|
21706
21706
|
}
|
|
21707
|
-
}), Vq = /* @__PURE__ */ g0(Hq, [["__scopeId", "data-v-
|
|
21707
|
+
}), Vq = /* @__PURE__ */ g0(Hq, [["__scopeId", "data-v-12e5db52"]]), jq = { class: "el-upload__text" }, $q = { style: { color: "var(--el-color-primary)" } }, Uq = { class: "dialog-footer" }, q3 = /* @__PURE__ */ I({
|
|
21708
21708
|
__name: "index",
|
|
21709
21709
|
props: {
|
|
21710
21710
|
uploadVisible: {
|
|
@@ -21919,7 +21919,7 @@ const Wq = {
|
|
|
21919
21919
|
await qq(o.apiKey), i();
|
|
21920
21920
|
}), (c, p) => (F(), M("div", Wq));
|
|
21921
21921
|
}
|
|
21922
|
-
}), Kq = /* @__PURE__ */ g0(Gq, [["__scopeId", "data-v-
|
|
21922
|
+
}), Kq = /* @__PURE__ */ g0(Gq, [["__scopeId", "data-v-30f8a45f"]]);
|
|
21923
21923
|
async function Yq() {
|
|
21924
21924
|
return new Promise((e, t) => {
|
|
21925
21925
|
const r = document.createElement("script");
|
|
@@ -22018,7 +22018,7 @@ const Xq = {
|
|
|
22018
22018
|
await Yq(), await i();
|
|
22019
22019
|
}), (f, d) => (F(), M("div", Xq));
|
|
22020
22020
|
}
|
|
22021
|
-
}), Qq = /* @__PURE__ */ g0(Zq, [["__scopeId", "data-v-
|
|
22021
|
+
}), Qq = /* @__PURE__ */ g0(Zq, [["__scopeId", "data-v-61a5dd51"]]);
|
|
22022
22022
|
var W3, G3, K3, Y3, Nl, X3, Z3, Q3, J3, ef, tf, rf, nf, of, af, sf, Ui, uf, wt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
22023
22023
|
function $r(e) {
|
|
22024
22024
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -38319,7 +38319,7 @@ const Tee = { class: "wangeditor-container" }, kee = /* @__PURE__ */ I({
|
|
|
38319
38319
|
}, null, 8, ["modelValue", "default-config"])
|
|
38320
38320
|
]));
|
|
38321
38321
|
}
|
|
38322
|
-
}), Oee = /* @__PURE__ */ g0(kee, [["__scopeId", "data-v-
|
|
38322
|
+
}), Oee = /* @__PURE__ */ g0(kee, [["__scopeId", "data-v-106236ae"]]), Mee = /* @__PURE__ */ I({
|
|
38323
38323
|
__name: "index",
|
|
38324
38324
|
props: {
|
|
38325
38325
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
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 { b as p, p as B, f as R, i as
|
|
3
|
-
import { useRoute as
|
|
4
|
-
const
|
|
2
|
+
import { b as p, p as B, f as R, i as b } from "./index-D9REaN5W.mjs";
|
|
3
|
+
import { useRoute as q, useRouter as A } from "vue-router";
|
|
4
|
+
const L = { class: "organ-container" }, N = { class: "organ-content" }, O = ["onClick"], S = ["src"], U = { style: { "margin-right": "auto" } }, E = /* @__PURE__ */ v({
|
|
5
5
|
__name: "index",
|
|
6
6
|
setup(I) {
|
|
7
|
-
const m =
|
|
7
|
+
const m = q(), h = A(), f = p(), l = y([]);
|
|
8
8
|
B().then((t) => {
|
|
9
9
|
t.data.results.length === 1 && u(t.data.results[0]), l.value = t.data.results;
|
|
10
10
|
});
|
|
@@ -17,9 +17,9 @@ const N = { class: "organ-container" }, O = { class: "organ-content" }, S = ["on
|
|
|
17
17
|
};
|
|
18
18
|
return (t, n) => {
|
|
19
19
|
const a = d("ArrowRightBold"), o = d("el-icon");
|
|
20
|
-
return i(), c("div",
|
|
20
|
+
return i(), c("div", L, [
|
|
21
21
|
n[0] || (n[0] = s("h1", null, "请选择一个组织进入", -1)),
|
|
22
|
-
s("div",
|
|
22
|
+
s("div", N, [
|
|
23
23
|
(i(!0), c(x, null, k(_(l), (e) => (i(), c("div", {
|
|
24
24
|
class: "organ-content_item",
|
|
25
25
|
key: e.organId,
|
|
@@ -28,20 +28,20 @@ const N = { class: "organ-container" }, O = { class: "organ-content" }, S = ["on
|
|
|
28
28
|
s("img", {
|
|
29
29
|
src: _(R).imageUrl(e.logoUrl || "/wxapp/images/user/avatar.png", 60, 60),
|
|
30
30
|
alt: "logo"
|
|
31
|
-
}, null, 8,
|
|
32
|
-
s("div",
|
|
31
|
+
}, null, 8, S),
|
|
32
|
+
s("div", U, C(e.organName), 1),
|
|
33
33
|
g(o, null, {
|
|
34
34
|
default: w(() => [
|
|
35
35
|
g(a)
|
|
36
36
|
]),
|
|
37
37
|
_: 1
|
|
38
38
|
})
|
|
39
|
-
], 8,
|
|
39
|
+
], 8, O))), 128))
|
|
40
40
|
])
|
|
41
41
|
]);
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
}), F = /* @__PURE__ */
|
|
44
|
+
}), F = /* @__PURE__ */ b(E, [["__scopeId", "data-v-423bd901"]]);
|
|
45
45
|
export {
|
|
46
46
|
F as default
|
|
47
47
|
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import { _ as
|
|
3
|
-
import
|
|
4
|
-
import { i as B, f as
|
|
5
|
-
import { createElementBlock as b, openBlock as C, createElementVNode as t, defineComponent as
|
|
6
|
-
const
|
|
1
|
+
import { _ as A } from "./RadarChart.vue_vue_type_script_setup_true_lang-CkA5ajJ-.mjs";
|
|
2
|
+
import { _ as Z } from "./PieChart.vue_vue_type_script_setup_true_lang-zNUDoKtb.mjs";
|
|
3
|
+
import q from "./BarChart-CvbevfnW.mjs";
|
|
4
|
+
import { i as B, f as F, b as G, q as f, t as p, _ as H } from "./index-D9REaN5W.mjs";
|
|
5
|
+
import { createElementBlock as b, openBlock as C, createElementVNode as t, defineComponent as R, 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
|
+
const J = {}, K = {
|
|
7
7
|
href: "https://github.com/haoxianrui",
|
|
8
8
|
target: "_blank",
|
|
9
9
|
class: "github-corner",
|
|
10
10
|
"aria-label": "View source on Github"
|
|
11
|
-
},
|
|
11
|
+
}, Q = {
|
|
12
12
|
width: "80",
|
|
13
13
|
height: "80",
|
|
14
14
|
viewBox: "0 0 250 250",
|
|
15
15
|
style: { color: "#fff", fill: "#40c9c6" },
|
|
16
16
|
"aria-hidden": "true"
|
|
17
17
|
};
|
|
18
|
-
function
|
|
19
|
-
return C(), b("a",
|
|
20
|
-
(C(), b("svg",
|
|
18
|
+
function W(I, _) {
|
|
19
|
+
return C(), b("a", K, [
|
|
20
|
+
(C(), b("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,13 +33,15 @@ function Q(I, _) {
|
|
|
33
33
|
])))
|
|
34
34
|
]);
|
|
35
35
|
}
|
|
36
|
-
const
|
|
36
|
+
const X = /* @__PURE__ */ B(J, [["render", W], ["__scopeId", "data-v-5088dedb"]]), 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" }, bt = { class: "text-lg text-right" }, Ct = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, v = 5e3, yt = /* @__PURE__ */ R({
|
|
37
37
|
name: "Dashboard",
|
|
38
38
|
inheritAttrs: !1,
|
|
39
39
|
__name: "index",
|
|
40
40
|
setup(I) {
|
|
41
|
-
const _ = k(() =>
|
|
42
|
-
|
|
41
|
+
const _ = k(() => F.imageUrl(y.user.avatar, 160, 160)), N = (o) => {
|
|
42
|
+
o.target.src = "https://gh.sooyie.cn/v1/file/path/wxapp/images/user/avatar.png";
|
|
43
|
+
}, y = G(), P = /* @__PURE__ */ new Date(), V = k(() => {
|
|
44
|
+
const o = P.getHours();
|
|
43
45
|
let e = y.user.realName;
|
|
44
46
|
if (o >= 6 && o < 8)
|
|
45
47
|
return "晨起披衣出草堂,轩窗已自喜微凉🌅!";
|
|
@@ -51,29 +53,29 @@ const W = /* @__PURE__ */ B(R, [["render", Q], ["__scopeId", "data-v-431733f3"]]
|
|
|
51
53
|
return "晚上好," + e + "!";
|
|
52
54
|
if (o >= 0 && o < 6)
|
|
53
55
|
return "偷偷向银河要了一把碎星,只等你闭上眼睛撒入你的梦中,晚安🌛!";
|
|
54
|
-
}), w =
|
|
56
|
+
}), w = x(0), j = f(w, {
|
|
55
57
|
duration: v,
|
|
56
|
-
transition:
|
|
58
|
+
transition: p.easeOutExpo
|
|
57
59
|
});
|
|
58
60
|
w.value = 2e3;
|
|
59
|
-
const M =
|
|
61
|
+
const M = x(0), E = f(M, {
|
|
60
62
|
duration: v,
|
|
61
|
-
transition:
|
|
63
|
+
transition: p.easeOutExpo
|
|
62
64
|
});
|
|
63
65
|
M.value = 2e3;
|
|
64
|
-
const
|
|
66
|
+
const O = x(0), z = f(O, {
|
|
65
67
|
duration: v,
|
|
66
|
-
transition:
|
|
68
|
+
transition: p.easeOutExpo
|
|
67
69
|
});
|
|
68
|
-
|
|
69
|
-
const
|
|
70
|
+
O.value = 2e3;
|
|
71
|
+
const L = x(0), $ = f(L, {
|
|
70
72
|
duration: v,
|
|
71
|
-
transition:
|
|
73
|
+
transition: p.easeOutExpo
|
|
72
74
|
});
|
|
73
|
-
return
|
|
74
|
-
const
|
|
75
|
-
return C(), b("div",
|
|
76
|
-
s(
|
|
75
|
+
return L.value = 2e3, (o, e) => {
|
|
76
|
+
const D = X, a = c("el-col"), i = H, h = c("el-statistic"), g = c("el-row"), d = c("el-card"), m = c("el-tag"), S = q, T = Z, U = A;
|
|
77
|
+
return C(), b("div", Y, [
|
|
78
|
+
s(D, { class: "github-corner" }),
|
|
77
79
|
s(d, { shadow: "never" }, {
|
|
78
80
|
default: n(() => [
|
|
79
81
|
s(g, { justify: "space-between" }, {
|
|
@@ -83,13 +85,14 @@ const W = /* @__PURE__ */ B(R, [["render", Q], ["__scopeId", "data-v-431733f3"]]
|
|
|
83
85
|
xs: 24
|
|
84
86
|
}, {
|
|
85
87
|
default: n(() => [
|
|
86
|
-
t("div",
|
|
88
|
+
t("div", tt, [
|
|
87
89
|
t("img", {
|
|
88
90
|
class: "w-20 h-20 mr-5 rounded-full",
|
|
89
|
-
src: l(_)
|
|
90
|
-
|
|
91
|
+
src: l(_),
|
|
92
|
+
onError: N
|
|
93
|
+
}, null, 40, et),
|
|
91
94
|
t("div", null, [
|
|
92
|
-
t("p", null, r(l(
|
|
95
|
+
t("p", null, r(l(V)), 1),
|
|
93
96
|
e[0] || (e[0] = t("p", { class: "text-sm text-gray" }, "今日天气晴朗,气温在15℃至25℃之间,东南风。", -1))
|
|
94
97
|
])
|
|
95
98
|
])
|
|
@@ -101,10 +104,10 @@ const W = /* @__PURE__ */ B(R, [["render", Q], ["__scopeId", "data-v-431733f3"]]
|
|
|
101
104
|
xs: 24
|
|
102
105
|
}, {
|
|
103
106
|
default: n(() => [
|
|
104
|
-
t("div",
|
|
107
|
+
t("div", st, [
|
|
105
108
|
s(h, { value: 99 }, {
|
|
106
109
|
title: n(() => [
|
|
107
|
-
t("div",
|
|
110
|
+
t("div", nt, [
|
|
108
111
|
s(i, {
|
|
109
112
|
"icon-class": "message",
|
|
110
113
|
size: "20px"
|
|
@@ -116,7 +119,7 @@ const W = /* @__PURE__ */ B(R, [["render", Q], ["__scopeId", "data-v-431733f3"]]
|
|
|
116
119
|
}),
|
|
117
120
|
s(h, { value: 50 }, {
|
|
118
121
|
title: n(() => [
|
|
119
|
-
t("div",
|
|
122
|
+
t("div", ot, [
|
|
120
123
|
s(i, {
|
|
121
124
|
"icon-class": "todolist",
|
|
122
125
|
size: "20px"
|
|
@@ -131,7 +134,7 @@ const W = /* @__PURE__ */ B(R, [["render", Q], ["__scopeId", "data-v-431733f3"]]
|
|
|
131
134
|
}),
|
|
132
135
|
s(h, { value: 10 }, {
|
|
133
136
|
title: n(() => [
|
|
134
|
-
t("div",
|
|
137
|
+
t("div", lt, [
|
|
135
138
|
s(i, {
|
|
136
139
|
"icon-class": "project",
|
|
137
140
|
size: "20px"
|
|
@@ -164,7 +167,7 @@ const W = /* @__PURE__ */ B(R, [["render", Q], ["__scopeId", "data-v-431733f3"]]
|
|
|
164
167
|
default: n(() => [
|
|
165
168
|
s(d, { shadow: "never" }, {
|
|
166
169
|
header: n(() => [
|
|
167
|
-
t("div",
|
|
170
|
+
t("div", at, [
|
|
168
171
|
e[6] || (e[6] = t("span", { class: "text-[var(--el-text-color-secondary)]" }, "访客数", -1)),
|
|
169
172
|
s(m, { type: "success" }, {
|
|
170
173
|
default: n(() => e[5] || (e[5] = [
|
|
@@ -175,16 +178,16 @@ const W = /* @__PURE__ */ B(R, [["render", Q], ["__scopeId", "data-v-431733f3"]]
|
|
|
175
178
|
])
|
|
176
179
|
]),
|
|
177
180
|
default: n(() => [
|
|
178
|
-
t("div",
|
|
179
|
-
t("div",
|
|
181
|
+
t("div", rt, [
|
|
182
|
+
t("div", it, r(Math.round(l(E))), 1),
|
|
180
183
|
s(i, {
|
|
181
184
|
"icon-class": "visit",
|
|
182
185
|
size: "2em"
|
|
183
186
|
})
|
|
184
187
|
]),
|
|
185
|
-
t("div",
|
|
188
|
+
t("div", dt, [
|
|
186
189
|
e[7] || (e[7] = t("span", null, " 总访客数 ", -1)),
|
|
187
|
-
t("span", null, r(Math.round(l(
|
|
190
|
+
t("span", null, r(Math.round(l(E) * 15)), 1)
|
|
188
191
|
])
|
|
189
192
|
]),
|
|
190
193
|
_: 1
|
|
@@ -200,7 +203,7 @@ const W = /* @__PURE__ */ B(R, [["render", Q], ["__scopeId", "data-v-431733f3"]]
|
|
|
200
203
|
default: n(() => [
|
|
201
204
|
s(d, { shadow: "never" }, {
|
|
202
205
|
header: n(() => [
|
|
203
|
-
t("div",
|
|
206
|
+
t("div", ct, [
|
|
204
207
|
e[9] || (e[9] = t("span", { class: "text-[var(--el-text-color-secondary)]" }, "IP数", -1)),
|
|
205
208
|
s(m, { type: "success" }, {
|
|
206
209
|
default: n(() => e[8] || (e[8] = [
|
|
@@ -211,16 +214,16 @@ const W = /* @__PURE__ */ B(R, [["render", Q], ["__scopeId", "data-v-431733f3"]]
|
|
|
211
214
|
])
|
|
212
215
|
]),
|
|
213
216
|
default: n(() => [
|
|
214
|
-
t("div",
|
|
215
|
-
t("div",
|
|
217
|
+
t("div", ut, [
|
|
218
|
+
t("div", _t, r(Math.round(l(z))), 1),
|
|
216
219
|
s(i, {
|
|
217
220
|
"icon-class": "ip",
|
|
218
221
|
size: "2em"
|
|
219
222
|
})
|
|
220
223
|
]),
|
|
221
|
-
t("div",
|
|
224
|
+
t("div", mt, [
|
|
222
225
|
e[10] || (e[10] = t("span", null, " 总IP数 ", -1)),
|
|
223
|
-
t("span", null, r(Math.round(l(
|
|
226
|
+
t("span", null, r(Math.round(l(z))), 1)
|
|
224
227
|
])
|
|
225
228
|
]),
|
|
226
229
|
_: 1
|
|
@@ -236,7 +239,7 @@ const W = /* @__PURE__ */ B(R, [["render", Q], ["__scopeId", "data-v-431733f3"]]
|
|
|
236
239
|
default: n(() => [
|
|
237
240
|
s(d, { shadow: "never" }, {
|
|
238
241
|
header: n(() => [
|
|
239
|
-
t("div",
|
|
242
|
+
t("div", ft, [
|
|
240
243
|
e[12] || (e[12] = t("span", { class: "text-[var(--el-text-color-secondary)]" }, "销售额", -1)),
|
|
241
244
|
s(m, null, {
|
|
242
245
|
default: n(() => e[11] || (e[11] = [
|
|
@@ -247,14 +250,14 @@ const W = /* @__PURE__ */ B(R, [["render", Q], ["__scopeId", "data-v-431733f3"]]
|
|
|
247
250
|
])
|
|
248
251
|
]),
|
|
249
252
|
default: n(() => [
|
|
250
|
-
t("div",
|
|
253
|
+
t("div", pt, [
|
|
251
254
|
t("div", xt, r(Math.round(l(j))), 1),
|
|
252
255
|
s(i, {
|
|
253
256
|
"icon-class": "money",
|
|
254
257
|
size: "2em"
|
|
255
258
|
})
|
|
256
259
|
]),
|
|
257
|
-
t("div",
|
|
260
|
+
t("div", vt, [
|
|
258
261
|
e[13] || (e[13] = t("span", null, " 总销售额 ", -1)),
|
|
259
262
|
t("span", null, r(Math.round(l(j) * 15)), 1)
|
|
260
263
|
])
|
|
@@ -272,7 +275,7 @@ const W = /* @__PURE__ */ B(R, [["render", Q], ["__scopeId", "data-v-431733f3"]]
|
|
|
272
275
|
default: n(() => [
|
|
273
276
|
s(d, { shadow: "never" }, {
|
|
274
277
|
header: n(() => [
|
|
275
|
-
t("div",
|
|
278
|
+
t("div", ht, [
|
|
276
279
|
e[15] || (e[15] = t("span", { class: "text-[var(--el-text-color-secondary)]" }, "订单量", -1)),
|
|
277
280
|
s(m, { type: "danger" }, {
|
|
278
281
|
default: n(() => e[14] || (e[14] = [
|
|
@@ -283,14 +286,14 @@ const W = /* @__PURE__ */ B(R, [["render", Q], ["__scopeId", "data-v-431733f3"]]
|
|
|
283
286
|
])
|
|
284
287
|
]),
|
|
285
288
|
default: n(() => [
|
|
286
|
-
t("div",
|
|
287
|
-
t("div",
|
|
289
|
+
t("div", gt, [
|
|
290
|
+
t("div", bt, r(Math.round(l($))), 1),
|
|
288
291
|
s(i, {
|
|
289
292
|
"icon-class": "order",
|
|
290
293
|
size: "2em"
|
|
291
294
|
})
|
|
292
295
|
]),
|
|
293
|
-
t("div",
|
|
296
|
+
t("div", Ct, [
|
|
294
297
|
e[16] || (e[16] = t("span", null, " 总订单量 ", -1)),
|
|
295
298
|
t("span", null, r(Math.round(l($) * 15)), 1)
|
|
296
299
|
])
|
|
@@ -314,7 +317,7 @@ const W = /* @__PURE__ */ B(R, [["render", Q], ["__scopeId", "data-v-431733f3"]]
|
|
|
314
317
|
class: "mb-2"
|
|
315
318
|
}, {
|
|
316
319
|
default: n(() => [
|
|
317
|
-
s(
|
|
320
|
+
s(S, {
|
|
318
321
|
id: "barChart",
|
|
319
322
|
height: "400px",
|
|
320
323
|
width: "100%",
|
|
@@ -330,7 +333,7 @@ const W = /* @__PURE__ */ B(R, [["render", Q], ["__scopeId", "data-v-431733f3"]]
|
|
|
330
333
|
class: "mb-2"
|
|
331
334
|
}, {
|
|
332
335
|
default: n(() => [
|
|
333
|
-
s(
|
|
336
|
+
s(T, {
|
|
334
337
|
id: "pieChart",
|
|
335
338
|
height: "400px",
|
|
336
339
|
width: "100%",
|
|
@@ -346,7 +349,7 @@ const W = /* @__PURE__ */ B(R, [["render", Q], ["__scopeId", "data-v-431733f3"]]
|
|
|
346
349
|
class: "mb-2"
|
|
347
350
|
}, {
|
|
348
351
|
default: n(() => [
|
|
349
|
-
s(
|
|
352
|
+
s(U, {
|
|
350
353
|
id: "radarChart",
|
|
351
354
|
height: "400px",
|
|
352
355
|
width: "100%",
|
|
@@ -361,7 +364,7 @@ const W = /* @__PURE__ */ B(R, [["render", Q], ["__scopeId", "data-v-431733f3"]]
|
|
|
361
364
|
]);
|
|
362
365
|
};
|
|
363
366
|
}
|
|
364
|
-
}), zt = /* @__PURE__ */ B(
|
|
367
|
+
}), zt = /* @__PURE__ */ B(yt, [["__scopeId", "data-v-b08e560e"]]);
|
|
365
368
|
export {
|
|
366
369
|
zt as default
|
|
367
370
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aa as t, ab as r, az as o, ac as i, ax as n, ae as u, B as d, av as g, aw as p, ar as l, as as c, at as m, au as P, ay as v, S, aj as E, Z as k, U as y, V as b, O as f, a1 as D, A as L, a2 as M, Q as h, g as A, P as C, ad as R, f as z, a3 as H, v as B, a0 as U, a4 as x, j as O, ag as V, R as w, p as Q, z as T, N as W, ap as j, r as q, ah as I, L as N, af as F, ak as K, W as X, aq as Y, $ as Z, X as $, Y as G, u as J, al as _, ao as aa, k as ea, am as sa, c as ta, ai as ra, a as oa, b as ia, an as na, a7 as ua, a9 as da, a8 as ga, a5 as pa, a6 as la, x as ca } from "./index-
|
|
1
|
+
import { aa as t, ab as r, az as o, ac as i, ax as n, ae as u, B as d, av as g, aw as p, ar as l, as as c, at as m, au as P, ay as v, S, aj as E, Z as k, U as y, V as b, O as f, a1 as D, A as L, a2 as M, Q as h, g as A, P as C, ad as R, f as z, a3 as H, v as B, a0 as U, a4 as x, j as O, ag as V, R as w, p as Q, z as T, N as W, ap as j, r as q, ah as I, L as N, af as F, ak as K, W as X, aq as Y, $ as Z, X as $, Y as G, u as J, al as _, ao as aa, k as ea, am as sa, c as ta, ai as ra, a as oa, b as ia, an as na, a7 as ua, a9 as da, a8 as ga, a5 as pa, a6 as la, x as ca } from "./index-D9REaN5W.mjs";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
export {
|
|
4
4
|
t as BizDict,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var F = Object.defineProperty;
|
|
2
2
|
var L = (m, p, i) => p in m ? F(m, p, { enumerable: !0, configurable: !0, writable: !0, value: i }) : m[p] = i;
|
|
3
3
|
var y = (m, p, i) => L(m, typeof p != "symbol" ? p + "" : p, i);
|
|
4
|
-
import { B as z, b as H, C as T, F as K, G as Q, H as W, I as X, i as Z } from "./index-
|
|
4
|
+
import { B as z, b as H, C as T, F as K, G as Q, H as W, I as X, i as Z } from "./index-D9REaN5W.mjs";
|
|
5
5
|
import { defineComponent as x, ref as V, reactive as ee, resolveComponent as n, createElementBlock as k, openBlock as c, createVNode as t, unref as s, withCtx as a, createElementVNode as le, Fragment as $, renderList as N, createBlock as h, createCommentVNode as J, createTextVNode as te, toDisplayString as se } from "vue";
|
|
6
6
|
import { ElMessage as ae } from "element-plus";
|
|
7
7
|
class U {
|
|
@@ -293,7 +293,7 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
293
293
|
]);
|
|
294
294
|
};
|
|
295
295
|
}
|
|
296
|
-
}), ie = /* @__PURE__ */ Z(ne, [["__scopeId", "data-v-
|
|
296
|
+
}), ie = /* @__PURE__ */ Z(ne, [["__scopeId", "data-v-9884a5a1"]]);
|
|
297
297
|
export {
|
|
298
298
|
ie as default
|
|
299
299
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as s, J as x, K as T, _ as U, h as V, L as B, E as P } from "./index-
|
|
1
|
+
import { b as s, J as x, K as T, _ as U, h as V, L as B, E as P } from "./index-D9REaN5W.mjs";
|
|
2
2
|
import { defineComponent as M, ref as _, useModel as S, reactive as $, resolveComponent as A, createBlock as D, openBlock as m, withCtx as a, createVNode as d, unref as t, createElementBlock as y, createCommentVNode as f, createTextVNode as c, toDisplayString as n, withDirectives as C, vShow as g } from "vue";
|
|
3
3
|
const L = {
|
|
4
4
|
key: 0,
|