jmash-core 0.1.8 → 0.1.9
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-COX2jmcI.mjs → 401-79AIDK-x.mjs} +5 -8
- package/dist/{404-v0TS58RK.mjs → 404-CI8-lpH-.mjs} +3 -3
- package/dist/{BarChart-Q2HOaIc_.mjs → BarChart-BQw2KdAJ.mjs} +3 -3
- package/dist/{FunnelChart-Bdwa_Dl7.mjs → FunnelChart-D6-3qMKT.mjs} +1 -1
- package/dist/{PieChart-mjcVGXoE.mjs → PieChart-pHMdR-Hx.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-Bw7ozgOv.mjs → PieChart.vue_vue_type_script_setup_true_lang-zNUDoKtb.mjs} +1 -1
- package/dist/{RadarChart-Dkl7lCAh.mjs → RadarChart-CclJ-0mQ.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-Dmh0_OQ4.mjs → RadarChart.vue_vue_type_script_setup_true_lang-CkA5ajJ-.mjs} +1 -1
- package/dist/{index-DVI4ph38.mjs → index--_Po9Tig.mjs} +4644 -4644
- package/dist/{index-D5aNjwG_.mjs → index-B-PpCKYy.mjs} +3 -4
- package/dist/{index-Cu6-p51e.mjs → index-CbyQcKhl.mjs} +17 -17
- package/dist/{index-CNT4DW3y.mjs → index-Cl8oNwv7.mjs} +18 -18
- package/dist/{index-fXvMf0L6.mjs → index-CveuaScp.mjs} +19 -23
- package/dist/{index-CuuVJvGD.mjs → index-g1S95t7X.mjs} +4764 -4763
- package/dist/index.mjs +44 -42
- package/dist/{profile-tUzeLFVj.mjs → profile-DQzfEKyA.mjs} +2 -2
- package/dist/{runAs-DIl9UFkO.mjs → runAs-Ct5UMoGr.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-Brcn3nQq.mjs → runAs.vue_vue_type_script_setup_true_lang-CICaYDKV.mjs} +674 -701
- package/dist/style.css +1 -1
- package/dist/{types-C5XY3xxv.mjs → types-VW-x856Q.mjs} +2 -3
- package/dist/{updatePwd-BInRlKAn.mjs → updatePwd-Ce4LYsW6.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-CpREBlw3.mjs → updatePwd.vue_vue_type_script_setup_true_lang-CxPeuvTU.mjs} +1 -1
- package/dts/src/api/system/dept/index.d.ts +91 -0
- package/dts/src/api/system/dept/types.d.ts +63 -0
- package/dts/src/api/system/index.d.ts +7 -0
- package/dts/src/api/system/job/index.d.ts +42 -0
- package/dts/src/api/system/job/types.d.ts +60 -0
- package/dts/src/api/system/log/index.d.ts +29 -0
- package/dts/src/api/system/log/types.d.ts +42 -0
- package/dts/src/api/system/menu/index.d.ts +103 -0
- package/dts/src/api/system/menu/types.d.ts +96 -0
- package/dts/src/api/system/module/index.d.ts +57 -0
- package/dts/src/api/system/module/types.d.ts +13 -0
- package/dts/src/api/system/operation/index.d.ts +51 -0
- package/dts/src/api/system/operation/types.d.ts +12 -0
- package/dts/src/api/system/permission/index.d.ts +50 -0
- package/dts/src/api/system/permission/types.d.ts +12 -0
- package/dts/src/api/system/role/index.d.ts +77 -0
- package/dts/src/api/system/role/types.d.ts +26 -0
- package/dts/src/api/system/user/index.d.ts +133 -0
- package/dts/src/api/system/user/types.d.ts +53 -0
- package/dts/src/api/system/userLog/index.d.ts +29 -0
- package/dts/src/api/system/userLog/types.d.ts +22 -0
- package/dts/src/assets/components/a-fixed.vue.d.ts +2 -0
- package/dts/src/assets/components/a-list.vue.d.ts +2 -0
- package/dts/src/assets/components/anquanrizhi.vue.d.ts +2 -0
- package/dts/src/assets/components/api.vue.d.ts +2 -0
- package/dts/src/assets/components/bumenguanli.vue.d.ts +2 -0
- package/dts/src/assets/components/caozuoguanliyuan.vue.d.ts +2 -0
- package/dts/src/assets/components/captcha.vue.d.ts +2 -0
- package/dts/src/assets/components/cascader.vue.d.ts +2 -0
- package/dts/src/assets/components/client.vue.d.ts +2 -0
- package/dts/src/assets/components/close-all.vue.d.ts +2 -0
- package/dts/src/assets/components/close-left.vue.d.ts +2 -0
- package/dts/src/assets/components/close-other.vue.d.ts +2 -0
- package/dts/src/assets/components/close-right.vue.d.ts +2 -0
- package/dts/src/assets/components/close.vue.d.ts +2 -0
- package/dts/src/assets/components/dict.vue.d.ts +2 -0
- package/dts/src/assets/components/document.vue.d.ts +2 -0
- package/dts/src/assets/components/download.vue.d.ts +2 -0
- package/dts/src/assets/components/drag.vue.d.ts +2 -0
- package/dts/src/assets/components/edit.vue.d.ts +2 -0
- package/dts/src/assets/components/email.vue.d.ts +2 -0
- package/dts/src/assets/components/exit-fullscreen.vue.d.ts +2 -0
- package/dts/src/assets/components/eye-open.vue.d.ts +2 -0
- package/dts/src/assets/components/eye.vue.d.ts +2 -0
- package/dts/src/assets/components/fullscreen-exit.vue.d.ts +2 -0
- package/dts/src/assets/components/fullscreen.vue.d.ts +2 -0
- package/dts/src/assets/components/gangweiguanli.vue.d.ts +2 -0
- package/dts/src/assets/components/github.vue.d.ts +2 -0
- package/dts/src/assets/components/homepage.vue.d.ts +2 -0
- package/dts/src/assets/components/icon-eye.vue.d.ts +2 -0
- package/dts/src/assets/components/icon-open-eye.vue.d.ts +2 -0
- package/dts/src/assets/components/icon.vue.d.ts +2 -0
- package/dts/src/assets/components/indent-decrease.vue.d.ts +2 -0
- package/dts/src/assets/components/ip.vue.d.ts +2 -0
- package/dts/src/assets/components/jiemianxijietubiao-26.vue.d.ts +2 -0
- package/dts/src/assets/components/language.vue.d.ts +2 -0
- package/dts/src/assets/components/link.vue.d.ts +2 -0
- package/dts/src/assets/components/lock.vue.d.ts +2 -0
- package/dts/src/assets/components/log.vue.d.ts +2 -0
- package/dts/src/assets/components/menu.vue.d.ts +2 -0
- package/dts/src/assets/components/message.vue.d.ts +2 -0
- package/dts/src/assets/components/mokuaiguanli.vue.d.ts +2 -0
- package/dts/src/assets/components/money.vue.d.ts +2 -0
- package/dts/src/assets/components/monitor.vue.d.ts +2 -0
- package/dts/src/assets/components/moon.vue.d.ts +2 -0
- package/dts/src/assets/components/order.vue.d.ts +2 -0
- package/dts/src/assets/components/password.vue.d.ts +2 -0
- package/dts/src/assets/components/peoples.vue.d.ts +2 -0
- package/dts/src/assets/components/phone.vue.d.ts +2 -0
- package/dts/src/assets/components/project.vue.d.ts +2 -0
- package/dts/src/assets/components/publish.vue.d.ts +2 -0
- package/dts/src/assets/components/quanxianguanli.vue.d.ts +2 -0
- package/dts/src/assets/components/redis.vue.d.ts +2 -0
- package/dts/src/assets/components/refresh.vue.d.ts +2 -0
- package/dts/src/assets/components/role.vue.d.ts +2 -0
- package/dts/src/assets/components/security.vue.d.ts +2 -0
- package/dts/src/assets/components/setting.vue.d.ts +2 -0
- package/dts/src/assets/components/shoujihao.vue.d.ts +2 -0
- package/dts/src/assets/components/shrink.vue.d.ts +2 -0
- package/dts/src/assets/components/size.vue.d.ts +2 -0
- package/dts/src/assets/components/sunny.vue.d.ts +2 -0
- package/dts/src/assets/components/system.vue.d.ts +2 -0
- package/dts/src/assets/components/table.vue.d.ts +2 -0
- package/dts/src/assets/components/team.vue.d.ts +2 -0
- package/dts/src/assets/components/todolist.vue.d.ts +2 -0
- package/dts/src/assets/components/tree.vue.d.ts +2 -0
- package/dts/src/assets/components/user.vue.d.ts +2 -0
- package/dts/src/assets/components/visit.vue.d.ts +2 -0
- package/dts/src/assets/components/xingming.vue.d.ts +2 -0
- package/dts/src/assets/components/yonghuguanli.vue.d.ts +2 -0
- package/dts/src/assets/components/youxiang.vue.d.ts +2 -0
- package/dts/src/components/DictRadio/index.vue.d.ts +32 -0
- package/dts/src/components/DictSelect/index.vue.d.ts +50 -0
- package/dts/src/components/Pagination/index.vue.d.ts +88 -0
- package/dts/src/components/Table/index.vue.d.ts +64 -0
- package/dts/src/components/TableSet/index.vue.d.ts +30 -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/hooks/useColumnToggleTable.d.ts +7 -0
- package/dts/src/hooks/useList.d.ts +1 -0
- package/dts/src/index.d.ts +9 -9
- package/dts/src/settings.d.ts +3 -1
- package/dts/src/views/system/dept/edit.vue.d.ts +31 -0
- package/dts/src/views/system/dept/index.vue.d.ts +2 -0
- package/dts/src/views/system/job/edit.vue.d.ts +30 -0
- package/dts/src/views/system/job/index.vue.d.ts +2 -0
- package/dts/src/views/system/log/oplog/index.vue.d.ts +2 -0
- package/dts/src/views/system/log/userLog/index.vue.d.ts +2 -0
- package/dts/src/views/system/menu/edit.vue.d.ts +31 -0
- package/dts/src/views/system/menu/index.vue.d.ts +2 -0
- package/dts/src/views/system/module/edit.vue.d.ts +31 -0
- package/dts/src/views/system/module/index.vue.d.ts +2 -0
- package/dts/src/views/system/operation/edit.vue.d.ts +31 -0
- package/dts/src/views/system/operation/index.vue.d.ts +2 -0
- package/dts/src/views/system/permission/edit.vue.d.ts +30 -0
- package/dts/src/views/system/permission/index.vue.d.ts +2 -0
- package/dts/src/views/system/role/edit.vue.d.ts +31 -0
- package/dts/src/views/system/role/index.vue.d.ts +2 -0
- package/dts/src/views/system/user/edit.vue.d.ts +31 -0
- package/dts/src/views/system/user/index.vue.d.ts +2 -0
- package/package.json +81 -81
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { w as d, u as q, b as T, n as O, e as w, g, y as D, t as A, z as _, h as $ } from "./index-
|
|
1
|
+
import { w as d, u as q, b as T, n as O, e as w, g, y as D, t as A, z as _, h as $ } from "./index-g1S95t7X.mjs";
|
|
2
2
|
import { defineComponent as ii, ref as I, computed as oi, watchEffect as Ri, resolveComponent as j, createElementBlock as Fi, openBlock as ei, createElementVNode as R, createVNode as F, withDirectives as P, unref as l, withCtx as G, normalizeStyle as si, vShow as M, withKeys as y, withModifiers as xi, createTextVNode as ai, toDisplayString as C, normalizeClass as Gi } from "vue";
|
|
3
3
|
import { useI18n as ti } from "vue-i18n";
|
|
4
4
|
import "element-plus";
|
|
@@ -133,8 +133,7 @@ const Ui = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA4sAAAKdCAMAAAC9NQxjAA
|
|
|
133
133
|
]),
|
|
134
134
|
o[5] || (o[5] = R("div", null, "微信扫一扫登录", -1))
|
|
135
135
|
]),
|
|
136
|
-
_: 1
|
|
137
|
-
__: [5]
|
|
136
|
+
_: 1
|
|
138
137
|
}),
|
|
139
138
|
F(s, {
|
|
140
139
|
label: "账号登录",
|
|
@@ -229,7 +228,7 @@ const Ui = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA4sAAAKdCAMAAAC9NQxjAA
|
|
|
229
228
|
]);
|
|
230
229
|
};
|
|
231
230
|
}
|
|
232
|
-
}), pi = /* @__PURE__ */ $(di, [["__scopeId", "data-v-
|
|
231
|
+
}), pi = /* @__PURE__ */ $(di, [["__scopeId", "data-v-b743b5ce"]]);
|
|
233
232
|
export {
|
|
234
233
|
pi as default
|
|
235
234
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as Z, _ as le, E as ze, S as Fe, a as we, b as Ue, c as te, D as _e, d as qe, f as He, e as We, g as de, h as q, i as Ve, r as Te, j as me, T as he, s as Ke, m as Xe, k as je, l as fe, n as Ge } from "./index-
|
|
1
|
+
import { u as Z, _ as le, E as ze, S as Fe, a as we, b as Ue, c as te, D as _e, d as qe, f as He, e as We, g as de, h as q, i as Ve, r as Te, j as me, T as he, s as Ke, m as Xe, k as je, l as fe, n as Ge } from "./index-g1S95t7X.mjs";
|
|
2
2
|
import { defineComponent as D, ref as U, resolveComponent as V, createBlock as S, openBlock as d, withCtx as h, createElementVNode as k, createVNode as p, createElementBlock as x, Fragment as K, renderList as se, unref as l, createTextVNode as N, toDisplayString as E, computed as B, createCommentVNode as T, isRef as ve, watch as oe, onBeforeMount as Ye, TransitionGroup as Je, withModifiers as ue, normalizeClass as H, Transition as Me, KeepAlive as Qe, resolveDynamicComponent as ye, getCurrentInstance as Ze, nextTick as $e, onMounted as Ee, withDirectives as et, normalizeStyle as tt, vShow as nt, normalizeProps as ot, guardReactiveProps as it, renderSlot as at, watchEffect as lt } from "vue";
|
|
3
3
|
import { useRoute as pe, useRouter as ke } from "vue-router";
|
|
4
|
-
import { _ as st } from "./updatePwd.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as rt, E as ct } from "./runAs.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as st } from "./updatePwd.vue_vue_type_script_setup_true_lang-CxPeuvTU.mjs";
|
|
5
|
+
import { _ as rt, E as ct } from "./runAs.vue_vue_type_script_setup_true_lang-CICaYDKV.mjs";
|
|
6
6
|
import { storeToRefs as ut } from "pinia";
|
|
7
7
|
const dt = /* @__PURE__ */ D({
|
|
8
8
|
__name: "index",
|
|
@@ -190,7 +190,7 @@ const dt = /* @__PURE__ */ D({
|
|
|
190
190
|
]);
|
|
191
191
|
};
|
|
192
192
|
}
|
|
193
|
-
}), Le = /* @__PURE__ */ q(vt, [["__scopeId", "data-v-
|
|
193
|
+
}), Le = /* @__PURE__ */ q(vt, [["__scopeId", "data-v-745304a4"]]);
|
|
194
194
|
function gt(i) {
|
|
195
195
|
for (var e = [], t = 0; t < i.length; ) {
|
|
196
196
|
var o = i[t];
|
|
@@ -455,7 +455,7 @@ const kt = {
|
|
|
455
455
|
});
|
|
456
456
|
};
|
|
457
457
|
}
|
|
458
|
-
}), Vt = /* @__PURE__ */ q(Ct, [["__scopeId", "data-v-
|
|
458
|
+
}), Vt = /* @__PURE__ */ q(Ct, [["__scopeId", "data-v-6109c28e"]]), Tt = /* @__PURE__ */ D({
|
|
459
459
|
__name: "index",
|
|
460
460
|
props: {
|
|
461
461
|
isActive: {
|
|
@@ -483,7 +483,7 @@ const kt = {
|
|
|
483
483
|
]);
|
|
484
484
|
};
|
|
485
485
|
}
|
|
486
|
-
}), Pe = /* @__PURE__ */ q(Tt, [["__scopeId", "data-v-
|
|
486
|
+
}), Pe = /* @__PURE__ */ q(Tt, [["__scopeId", "data-v-42e37629"]]), $t = { class: "flex" }, At = /* @__PURE__ */ D({
|
|
487
487
|
__name: "NavbarLeft",
|
|
488
488
|
setup(i) {
|
|
489
489
|
const e = Z();
|
|
@@ -509,7 +509,7 @@ function Lt(i, e) {
|
|
|
509
509
|
p(o)
|
|
510
510
|
]);
|
|
511
511
|
}
|
|
512
|
-
const Pt = /* @__PURE__ */ q(Mt, [["render", Lt], ["__scopeId", "data-v-
|
|
512
|
+
const Pt = /* @__PURE__ */ q(Mt, [["render", Lt], ["__scopeId", "data-v-b1624593"]]);
|
|
513
513
|
var Q = /* @__PURE__ */ ((i) => (i.LEFT = "left", i.TOP = "top", i.MIX = "mix", i))(Q || {});
|
|
514
514
|
const It = { class: "flex flex-wrap justify-around w-full h-12" }, Rt = /* @__PURE__ */ D({
|
|
515
515
|
__name: "LayoutSelect",
|
|
@@ -573,7 +573,7 @@ const It = { class: "flex flex-wrap justify-around w-full h-12" }, Rt = /* @__PU
|
|
|
573
573
|
]);
|
|
574
574
|
};
|
|
575
575
|
}
|
|
576
|
-
}), Dt = /* @__PURE__ */ q(Rt, [["__scopeId", "data-v-
|
|
576
|
+
}), Dt = /* @__PURE__ */ q(Rt, [["__scopeId", "data-v-2bdf1403"]]), Bt = /* @__PURE__ */ D({
|
|
577
577
|
__name: "ThemeColorPicker",
|
|
578
578
|
props: {
|
|
579
579
|
modelValue: String
|
|
@@ -604,7 +604,7 @@ const It = { class: "flex flex-wrap justify-around w-full h-12" }, Rt = /* @__PU
|
|
|
604
604
|
}, null, 8, ["modelValue"]);
|
|
605
605
|
};
|
|
606
606
|
}
|
|
607
|
-
}), Ot = /* @__PURE__ */ q(Bt, [["__scopeId", "data-v-
|
|
607
|
+
}), Ot = /* @__PURE__ */ q(Bt, [["__scopeId", "data-v-92c1fd79"]]), Nt = { class: "flex-center" }, zt = { class: "settings-option" }, Ft = { class: "text-xs" }, Ut = { class: "settings-option" }, qt = { class: "text-xs" }, Ht = { class: "settings-option" }, Wt = { class: "text-xs" }, Kt = { class: "settings-option" }, Xt = { class: "text-xs" }, jt = { class: "settings-option" }, Gt = { class: "text-xs" }, Yt = /* @__PURE__ */ D({
|
|
608
608
|
__name: "index",
|
|
609
609
|
setup(i) {
|
|
610
610
|
const e = pe(), t = Z(), o = te(), r = me(), n = B({
|
|
@@ -731,7 +731,7 @@ const It = { class: "flex flex-wrap justify-around w-full h-12" }, Rt = /* @__PU
|
|
|
731
731
|
}, 8, ["modelValue", "title"]);
|
|
732
732
|
};
|
|
733
733
|
}
|
|
734
|
-
}), Jt = /* @__PURE__ */ q(Yt, [["__scopeId", "data-v-
|
|
734
|
+
}), Jt = /* @__PURE__ */ q(Yt, [["__scopeId", "data-v-70f5bf10"]]), Qt = { class: "app-main" }, Zt = /* @__PURE__ */ D({
|
|
735
735
|
__name: "index",
|
|
736
736
|
setup(i) {
|
|
737
737
|
const e = B(() => we().cachedViews);
|
|
@@ -762,7 +762,7 @@ const It = { class: "flex flex-wrap justify-around w-full h-12" }, Rt = /* @__PU
|
|
|
762
762
|
]);
|
|
763
763
|
};
|
|
764
764
|
}
|
|
765
|
-
}), en = /* @__PURE__ */ q(Zt, [["__scopeId", "data-v-
|
|
765
|
+
}), en = /* @__PURE__ */ q(Zt, [["__scopeId", "data-v-f32946ce"]]), tn = {
|
|
766
766
|
viewBox: "0 0 1024 1024",
|
|
767
767
|
width: "1.2em",
|
|
768
768
|
height: "1.2em"
|
|
@@ -1199,7 +1199,7 @@ const Re = /* @__PURE__ */ je(Ie), ln = { class: "tags-container" }, sn = /* @__
|
|
|
1199
1199
|
]);
|
|
1200
1200
|
};
|
|
1201
1201
|
}
|
|
1202
|
-
}), rn = /* @__PURE__ */ q(sn, [["__scopeId", "data-v-
|
|
1202
|
+
}), rn = /* @__PURE__ */ q(sn, [["__scopeId", "data-v-77bfe9a5"]]), cn = /* @__PURE__ */ D({
|
|
1203
1203
|
name: "AppLink",
|
|
1204
1204
|
inheritAttrs: !1,
|
|
1205
1205
|
__name: "index",
|
|
@@ -1260,7 +1260,7 @@ const Re = /* @__PURE__ */ je(Ie), ln = { class: "tags-container" }, sn = /* @__
|
|
|
1260
1260
|
], 64);
|
|
1261
1261
|
};
|
|
1262
1262
|
}
|
|
1263
|
-
}), fn = /* @__PURE__ */ q(dn, [["__scopeId", "data-v-
|
|
1263
|
+
}), fn = /* @__PURE__ */ q(dn, [["__scopeId", "data-v-992a058f"]]), mn = { key: 0 }, pn = /* @__PURE__ */ D({
|
|
1264
1264
|
name: "SidebarMenuItem",
|
|
1265
1265
|
inheritAttrs: !1,
|
|
1266
1266
|
__name: "SidebarMenuItem",
|
|
@@ -1348,7 +1348,7 @@ const Re = /* @__PURE__ */ je(Ie), ln = { class: "tags-container" }, sn = /* @__
|
|
|
1348
1348
|
])) : T("", !0);
|
|
1349
1349
|
};
|
|
1350
1350
|
}
|
|
1351
|
-
}), _n = "
|
|
1351
|
+
}), _n = "_dark_1sua6_13", ae = {
|
|
1352
1352
|
"sidebar-width": "210px",
|
|
1353
1353
|
"navbar-height": "50px",
|
|
1354
1354
|
"menu-background": "var(--menu-background)",
|
|
@@ -1504,7 +1504,7 @@ const Re = /* @__PURE__ */ je(Ie), ln = { class: "tags-container" }, sn = /* @__
|
|
|
1504
1504
|
]);
|
|
1505
1505
|
};
|
|
1506
1506
|
}
|
|
1507
|
-
}), Sn = /* @__PURE__ */ q(kn, [["__scopeId", "data-v-
|
|
1507
|
+
}), Sn = /* @__PURE__ */ q(kn, [["__scopeId", "data-v-210c85a9"]]), Cn = {
|
|
1508
1508
|
key: 0,
|
|
1509
1509
|
class: "flex w-full"
|
|
1510
1510
|
}, Vn = /* @__PURE__ */ D({
|
|
@@ -1542,7 +1542,7 @@ const Re = /* @__PURE__ */ je(Ie), ln = { class: "tags-container" }, sn = /* @__
|
|
|
1542
1542
|
], 2);
|
|
1543
1543
|
};
|
|
1544
1544
|
}
|
|
1545
|
-
}), Tn = /* @__PURE__ */ q(Vn, [["__scopeId", "data-v-
|
|
1545
|
+
}), Tn = /* @__PURE__ */ q(Vn, [["__scopeId", "data-v-a6d3f8e9"]]), $n = {
|
|
1546
1546
|
key: 1,
|
|
1547
1547
|
class: "mix-container"
|
|
1548
1548
|
}, An = { class: "mix-container__left" }, Mn = { class: "sidebar-toggle" }, En = 992, Ln = /* @__PURE__ */ D({
|
|
@@ -1627,7 +1627,7 @@ const Re = /* @__PURE__ */ je(Ie), ln = { class: "tags-container" }, sn = /* @__
|
|
|
1627
1627
|
], 2);
|
|
1628
1628
|
};
|
|
1629
1629
|
}
|
|
1630
|
-
}), Nn = /* @__PURE__ */ q(Ln, [["__scopeId", "data-v-
|
|
1630
|
+
}), Nn = /* @__PURE__ */ q(Ln, [["__scopeId", "data-v-71891bc2"]]);
|
|
1631
1631
|
export {
|
|
1632
1632
|
Nn as default
|
|
1633
1633
|
};
|
|
@@ -1,44 +1,44 @@
|
|
|
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
|
|
2
|
-
import { b as p, o as
|
|
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 { b as p, o as B, f as R, h as b } from "./index-g1S95t7X.mjs";
|
|
3
3
|
import { useRoute as q, useRouter as A } from "vue-router";
|
|
4
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
7
|
const h = q(), m = A(), f = p(), i = y([]);
|
|
8
|
-
|
|
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 = h.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, m.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", L, [
|
|
24
24
|
n[0] || (n[0] = s("h1", null, "请选择一个组织进入", -1)),
|
|
25
25
|
s("div", N, [
|
|
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
|
-
src: _(
|
|
33
|
-
|
|
32
|
+
src: _(R).imageUrl(
|
|
33
|
+
t.logoUrl || "/wxapp/images/user/avatar.png",
|
|
34
34
|
60,
|
|
35
35
|
60
|
|
36
36
|
),
|
|
37
37
|
alt: "logo"
|
|
38
38
|
}, null, 8, S),
|
|
39
|
-
s("div", U, C(
|
|
39
|
+
s("div", U, C(t.organName), 1),
|
|
40
40
|
g(o, null, {
|
|
41
|
-
default:
|
|
41
|
+
default: w(() => [
|
|
42
42
|
g(a)
|
|
43
43
|
]),
|
|
44
44
|
_: 1
|
|
@@ -48,7 +48,7 @@ const L = { class: "organ-container" }, N = { class: "organ-content" }, O = ["on
|
|
|
48
48
|
]);
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
}), F = /* @__PURE__ */
|
|
51
|
+
}), F = /* @__PURE__ */ b(E, [["__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 q from "./BarChart-
|
|
4
|
-
import { h as B, f as F, b as G, p as f, q as p, _ as H } from "./index-
|
|
5
|
-
import { createElementBlock as
|
|
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-BQw2KdAJ.mjs";
|
|
4
|
+
import { h as B, f as F, b as G, p as f, q as p, _ as H } from "./index-g1S95t7X.mjs";
|
|
5
|
+
import { createElementBlock as C, openBlock as y, 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
6
|
const J = {}, K = {
|
|
7
7
|
href: "https://github.com/haoxianrui",
|
|
8
8
|
target: "_blank",
|
|
@@ -16,8 +16,8 @@ const J = {}, K = {
|
|
|
16
16
|
"aria-hidden": "true"
|
|
17
17
|
};
|
|
18
18
|
function W(I, _) {
|
|
19
|
-
return
|
|
20
|
-
(
|
|
19
|
+
return y(), C("a", K, [
|
|
20
|
+
(y(), C("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,16 +33,16 @@ function W(I, _) {
|
|
|
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" }, 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" }, Ct = { class: "text-lg text-right" }, yt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, v = 5e3, bt = /* @__PURE__ */ R({
|
|
37
37
|
name: "Dashboard",
|
|
38
38
|
inheritAttrs: !1,
|
|
39
39
|
__name: "index",
|
|
40
40
|
setup(I) {
|
|
41
|
-
const _ = k(() => F.imageUrl(
|
|
41
|
+
const _ = k(() => F.imageUrl(b.user.avatar, 160, 160)), N = (o) => {
|
|
42
42
|
o.target.src = "https://gh.sooyie.cn/v1/file/path/wxapp/images/user/avatar.png";
|
|
43
|
-
},
|
|
43
|
+
}, b = G(), P = /* @__PURE__ */ new Date(), V = k(() => {
|
|
44
44
|
const o = P.getHours();
|
|
45
|
-
let e =
|
|
45
|
+
let e = b.user.realName;
|
|
46
46
|
if (o >= 6 && o < 8)
|
|
47
47
|
return "晨起披衣出草堂,轩窗已自喜微凉🌅!";
|
|
48
48
|
if (o >= 8 && o < 12)
|
|
@@ -74,7 +74,7 @@ const X = /* @__PURE__ */ B(J, [["render", W], ["__scopeId", "data-v-5088dedb"]]
|
|
|
74
74
|
});
|
|
75
75
|
return L.value = 2e3, (o, e) => {
|
|
76
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
|
|
77
|
+
return y(), C("div", Y, [
|
|
78
78
|
s(D, { class: "github-corner" }),
|
|
79
79
|
s(d, { shadow: "never" }, {
|
|
80
80
|
default: n(() => [
|
|
@@ -173,8 +173,7 @@ const X = /* @__PURE__ */ B(J, [["render", W], ["__scopeId", "data-v-5088dedb"]]
|
|
|
173
173
|
default: n(() => e[5] || (e[5] = [
|
|
174
174
|
u("日")
|
|
175
175
|
])),
|
|
176
|
-
_: 1
|
|
177
|
-
__: [5]
|
|
176
|
+
_: 1
|
|
178
177
|
})
|
|
179
178
|
])
|
|
180
179
|
]),
|
|
@@ -210,8 +209,7 @@ const X = /* @__PURE__ */ B(J, [["render", W], ["__scopeId", "data-v-5088dedb"]]
|
|
|
210
209
|
default: n(() => e[8] || (e[8] = [
|
|
211
210
|
u("日")
|
|
212
211
|
])),
|
|
213
|
-
_: 1
|
|
214
|
-
__: [8]
|
|
212
|
+
_: 1
|
|
215
213
|
})
|
|
216
214
|
])
|
|
217
215
|
]),
|
|
@@ -247,8 +245,7 @@ const X = /* @__PURE__ */ B(J, [["render", W], ["__scopeId", "data-v-5088dedb"]]
|
|
|
247
245
|
default: n(() => e[11] || (e[11] = [
|
|
248
246
|
u("月")
|
|
249
247
|
])),
|
|
250
|
-
_: 1
|
|
251
|
-
__: [11]
|
|
248
|
+
_: 1
|
|
252
249
|
})
|
|
253
250
|
])
|
|
254
251
|
]),
|
|
@@ -284,20 +281,19 @@ const X = /* @__PURE__ */ B(J, [["render", W], ["__scopeId", "data-v-5088dedb"]]
|
|
|
284
281
|
default: n(() => e[14] || (e[14] = [
|
|
285
282
|
u("季")
|
|
286
283
|
])),
|
|
287
|
-
_: 1
|
|
288
|
-
__: [14]
|
|
284
|
+
_: 1
|
|
289
285
|
})
|
|
290
286
|
])
|
|
291
287
|
]),
|
|
292
288
|
default: n(() => [
|
|
293
289
|
t("div", gt, [
|
|
294
|
-
t("div",
|
|
290
|
+
t("div", Ct, r(Math.round(l($))), 1),
|
|
295
291
|
s(i, {
|
|
296
292
|
"icon-class": "order",
|
|
297
293
|
size: "2em"
|
|
298
294
|
})
|
|
299
295
|
]),
|
|
300
|
-
t("div",
|
|
296
|
+
t("div", yt, [
|
|
301
297
|
e[16] || (e[16] = t("span", null, " 总订单量 ", -1)),
|
|
302
298
|
t("span", null, r(Math.round(l($) * 15)), 1)
|
|
303
299
|
])
|
|
@@ -368,7 +364,7 @@ const X = /* @__PURE__ */ B(J, [["render", W], ["__scopeId", "data-v-5088dedb"]]
|
|
|
368
364
|
]);
|
|
369
365
|
};
|
|
370
366
|
}
|
|
371
|
-
}), zt = /* @__PURE__ */ B(
|
|
367
|
+
}), zt = /* @__PURE__ */ B(bt, [["__scopeId", "data-v-3f78985d"]]);
|
|
372
368
|
export {
|
|
373
369
|
zt as default
|
|
374
370
|
};
|