jmash-core 0.1.11 → 0.1.12
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-B-zsepse.mjs +103 -0
- package/dist/404-CONZYh8l.mjs +37 -0
- package/dist/{BarChart-DOObTQ_q.mjs → BarChart-4TUTUasV.mjs} +1 -1
- package/dist/index-B1SSOakk.mjs +235 -0
- package/dist/{index-DrGL8ZkC.mjs → index-DY2ILYJ5.mjs} +3 -3
- package/dist/{index-BC5xos_O.mjs → index-DoIpmzAF.mjs} +3 -3
- package/dist/index-SONmoe7f.mjs +54 -0
- package/dist/{index-BpualbXj.mjs → index-jbciilFG.mjs} +4 -4
- package/dist/index.mjs +1 -1
- package/dist/{profile-CrxGndFz.mjs → profile-BJH0YwW_.mjs} +1 -1
- package/dist/{runAs-CEo8Wx7S.mjs → runAs-DqrDuOUP.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-CunYsZlj.mjs → runAs.vue_vue_type_script_setup_true_lang-D24eVmlS.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{types-Cr1cXfOV.mjs → types-B9fYCnd0.mjs} +1 -1
- package/dist/{updatePwd-BCiT4xRx.mjs → updatePwd--OT3Q2JS.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-CiTeLB9V.mjs → updatePwd.vue_vue_type_script_setup_true_lang-DgBnToSJ.mjs} +1 -1
- package/package.json +1 -2
- package/dist/401-Brud7tNX.mjs +0 -103
- package/dist/404-CndYXbdW.mjs +0 -37
- package/dist/images/401.gif +0 -0
- package/dist/images/404.png +0 -0
- package/dist/images/404_cloud.png +0 -0
- package/dist/images/login-bg-dark.jpg +0 -0
- package/dist/images/login-bg-small.png +0 -0
- package/dist/images/login-bg.jpg +0 -0
- package/dist/images/qrcode-success.jpg +0 -0
- package/dist/index-BmHTGI3d.mjs +0 -54
- package/dist/index-CW4c2Adf.mjs +0 -235
|
@@ -0,0 +1,54 @@
|
|
|
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 b } from "vue";
|
|
2
|
+
import { b as p, o as w, f as B, h as R } from "./index-DY2ILYJ5.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
|
+
__name: "index",
|
|
6
|
+
setup(I) {
|
|
7
|
+
const h = q(), m = A(), f = p(), i = y([]);
|
|
8
|
+
w().then((t) => {
|
|
9
|
+
t.data.results.length === 1 && u(t.data.results[0]), i.value = t.data.results;
|
|
10
|
+
});
|
|
11
|
+
const u = (t) => {
|
|
12
|
+
f.loginOrgan(t.tenant).then(() => {
|
|
13
|
+
p().user.tenant = t.tenant;
|
|
14
|
+
const n = h.query, a = n.redirect ?? "/", o = Object.keys(n).reduce(
|
|
15
|
+
(e, r) => (r !== "redirect" && (e[r] = n[r]), e),
|
|
16
|
+
{}
|
|
17
|
+
);
|
|
18
|
+
o.tenant = t.tenant, m.push({ path: a, query: o });
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
return (t, n) => {
|
|
22
|
+
const a = d("ArrowRightBold"), o = d("el-icon");
|
|
23
|
+
return l(), c("div", L, [
|
|
24
|
+
n[0] || (n[0] = s("h1", null, "请选择一个组织进入", -1)),
|
|
25
|
+
s("div", N, [
|
|
26
|
+
(l(!0), c(x, null, k(_(i), (e) => (l(), c("div", {
|
|
27
|
+
class: "organ-content_item",
|
|
28
|
+
key: e.organId,
|
|
29
|
+
onClick: (r) => u(e)
|
|
30
|
+
}, [
|
|
31
|
+
s("img", {
|
|
32
|
+
src: _(B).imageUrl(
|
|
33
|
+
e.logoUrl || "/wxapp/images/user/avatar.png",
|
|
34
|
+
60,
|
|
35
|
+
60
|
|
36
|
+
),
|
|
37
|
+
alt: "logo"
|
|
38
|
+
}, null, 8, S),
|
|
39
|
+
s("div", U, C(e.organName), 1),
|
|
40
|
+
g(o, null, {
|
|
41
|
+
default: b(() => [
|
|
42
|
+
g(a)
|
|
43
|
+
]),
|
|
44
|
+
_: 1
|
|
45
|
+
})
|
|
46
|
+
], 8, O))), 128))
|
|
47
|
+
])
|
|
48
|
+
]);
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
}), F = /* @__PURE__ */ R(E, [["__scopeId", "data-v-648bd33b"]]);
|
|
52
|
+
export {
|
|
53
|
+
F as default
|
|
54
|
+
};
|
|
@@ -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-DY2ILYJ5.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-DgBnToSJ.mjs";
|
|
5
|
+
import { _ as rt, E as ct } from "./runAs.vue_vue_type_script_setup_true_lang-D24eVmlS.mjs";
|
|
6
6
|
import { storeToRefs as ut } from "pinia";
|
|
7
7
|
const dt = /* @__PURE__ */ D({
|
|
8
8
|
__name: "index",
|
|
@@ -53,7 +53,7 @@ const dt = /* @__PURE__ */ D({
|
|
|
53
53
|
const e = new Fe(), t = Z(), o = we(), r = Ue(), n = te();
|
|
54
54
|
pe();
|
|
55
55
|
const a = ke(), s = B(() => t.device === _e.MOBILE), c = U(!1), f = U(!1), { isFullscreen: m, toggle: u } = qe(), _ = B(() => He.imageUrl(r.user.avatar, 48, 48)), g = (C) => {
|
|
56
|
-
C.target.src = "https://gh.sooyie.cn/v1/file/path/wxapp/
|
|
56
|
+
C.target.src = "https://gh.sooyie.cn/v1/file/path/wxapp/images/user/avatar.png";
|
|
57
57
|
};
|
|
58
58
|
function y() {
|
|
59
59
|
f.value = !0;
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a_ as t, a$ as r, bn as o, b0 as i, bl as n, b2 as u, A as b, bj as d, bk as g, bf as l, bg as p, bh as c, bi as m, bm as P, S, b7 as v, aO as E, aJ as y, aK as M, aF as f, aR as k, z as C, aS as D, aH as L, g as h, aG as A, b1 as R, f as H, aT as z, t as U, aQ as B, aU as O, i as T, b4 as V, aI as w, o as I, y as Q, aE as W, bd as j, r as x, b5 as F, aC as K, b3 as N, b8 as q, aL as G, be as J, aP as X, aM as Y, aN as Z, u as _, b9 as $, bc as aa, j as ea, ba as sa, c as ta, b6 as ra, a as oa, b as ia, bb as na, aX as ua, aZ as ba, aY as da, aV as ga, aW as la, w as pa } from "./index-
|
|
1
|
+
import { a_ as t, a$ as r, bn as o, b0 as i, bl as n, b2 as u, A as b, bj as d, bk as g, bf as l, bg as p, bh as c, bi as m, bm as P, S, b7 as v, aO as E, aJ as y, aK as M, aF as f, aR as k, z as C, aS as D, aH as L, g as h, aG as A, b1 as R, f as H, aT as z, t as U, aQ as B, aU as O, i as T, b4 as V, aI as w, o as I, y as Q, aE as W, bd as j, r as x, b5 as F, aC as K, b3 as N, b8 as q, aL as G, be as J, aP as X, aM as Y, aN as Z, u as _, b9 as $, bc as aa, j as ea, ba as sa, c as ta, b6 as ra, a as oa, b as ia, bb as na, aX as ua, aZ as ba, aY as da, aV as ga, aW as la, w as pa } from "./index-DY2ILYJ5.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 { A as z, b as H, B as T, C as K, F as Q, G as W, H as X, h as Z } from "./index-
|
|
4
|
+
import { A as z, b as H, B as T, C as K, F as Q, G as W, H as X, h as Z } from "./index-DY2ILYJ5.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 {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as Kn, J as Wn, K as dn, L as Yn, M as Ft, N as fn, O as Et, P as vn, Q as $t, R as Gn, U as se, V as Ht, W as Qe, X as de, Y as Xn, Z as Ee, $ as Xe, a0 as pn, a1 as fe, a2 as jn, a3 as qn, a4 as Jn, a5 as Zn, a6 as ke, a7 as xe, a8 as Be, a9 as Re, aa as ve, ab as Qn, ac as eo, ad as to, ae as no, af as ae, ag as Ke, ah as oo, ai as je, aj as hn, ak as wt, al as ao, am as dt, an as ro, ao as Vt, ap as so, aq as zt, ar as io, as as lo, at as uo, au as co, av as fo, aw as vo, ax as Dt, ay as Ut, az as po, b as _e, aA as ho, aB as mo, _ as go, aC as bo, E as yo } from "./index-
|
|
1
|
+
import { I as Kn, J as Wn, K as dn, L as Yn, M as Ft, N as fn, O as Et, P as vn, Q as $t, R as Gn, U as se, V as Ht, W as Qe, X as de, Y as Xn, Z as Ee, $ as Xe, a0 as pn, a1 as fe, a2 as jn, a3 as qn, a4 as Jn, a5 as Zn, a6 as ke, a7 as xe, a8 as Be, a9 as Re, aa as ve, ab as Qn, ac as eo, ad as to, ae as no, af as ae, ag as Ke, ah as oo, ai as je, aj as hn, ak as wt, al as ao, am as dt, an as ro, ao as Vt, ap as so, aq as zt, ar as io, as as lo, at as uo, au as co, av as fo, aw as vo, ax as Dt, ay as Ut, az as po, b as _e, aA as ho, aB as mo, _ as go, aC as bo, E as yo } from "./index-DY2ILYJ5.mjs";
|
|
2
2
|
import { computed as E, getCurrentInstance as et, inject as pe, unref as u, ref as x, onMounted as ie, watch as G, toRef as qe, onUnmounted as Eo, shallowRef as We, nextTick as V, defineComponent as J, useAttrs as wo, useSlots as mn, createElementBlock as N, openBlock as y, normalizeStyle as Je, normalizeClass as S, createCommentVNode as T, Fragment as Ye, createElementVNode as _, renderSlot as Y, createBlock as M, withCtx as A, resolveDynamicComponent as W, mergeProps as ft, withModifiers as Ie, createVNode as q, toDisplayString as z, onBeforeUnmount as Le, provide as gn, Text as So, reactive as St, h as Co, watchEffect as To, isRef as ko, onScopeDispose as Io, markRaw as vt, toRefs as Mo, resolveComponent as be, Transition as Ao, withDirectives as Me, withKeys as Fe, createTextVNode as we, vShow as Ae, isVNode as bn, render as yn, useModel as xo } from "vue";
|
|
3
3
|
function Bo(e) {
|
|
4
4
|
return e;
|