jmash-core 0.0.108 → 0.0.110
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-Cje8e0iQ.mjs → 401-Uu9uc5AZ.mjs} +1 -1
- package/dist/{404-Dcy7ErNt.mjs → 404-Bv4HWETa.mjs} +1 -1
- package/dist/{BarChart-oW-R1RXw.mjs → BarChart-CYiicJy4.mjs} +1 -1
- package/dist/{index-BnPTCkJp.mjs → index-BLFj1FIB.mjs} +6855 -6559
- package/dist/{index-C1KAa9PO.mjs → index-CSpzpS5Q.mjs} +3 -3
- package/dist/index-CyDktxrD.mjs +45 -0
- package/dist/{index-CAh0BAJl.mjs → index-Ywpo9w9-.mjs} +15 -15
- package/dist/index-yDhj6f4D.mjs +227 -0
- package/dist/index.mjs +55 -51
- package/dist/{profile-DSyIwcjT.mjs → profile-DLMrjX4f.mjs} +6 -6
- package/dist/{runAs-ByT2IRUb.mjs → runAs-CLd5eBdV.mjs} +1 -1
- package/dist/runAs.vue_vue_type_script_setup_true_lang-Chc0acxM.mjs +141 -0
- package/dist/style.css +1 -1
- package/dist/{types-DaRQE9AI.mjs → types-BEVVO8kD.mjs} +79 -63
- package/dist/{updatePwd-BW1ZcKeg.mjs → updatePwd-BggDYrPh.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-CASn5sxv.mjs → updatePwd.vue_vue_type_script_setup_true_lang-473g6F8e.mjs} +9 -9
- package/dts/src/api/auth/index.d.ts +5 -1
- package/dts/src/api/auth/types.d.ts +54 -4
- package/dts/src/components/{DictRadio → JmashAMap}/index.vue.d.ts +17 -11
- package/dts/src/components/{Upload → JmashTMaps}/index.vue.d.ts +7 -5
- package/dts/src/components/SvgIcon/index.vue.d.ts +1 -1
- package/dts/src/index.d.ts +4 -4
- package/dts/src/lang/package/zh-cn.d.ts +1 -0
- package/dts/src/layout/components/Sidebar/components/SidebarMenuItemTitle.vue.d.ts +1 -1
- package/dts/src/router/index.d.ts +1 -0
- package/dts/src/types/index.d.ts +12 -0
- package/dts/src/utils/AMap.d.ts +4 -0
- package/dts/src/utils/TMap.d.ts +1 -0
- package/dts/src/utils/common.d.ts +8 -5
- package/dts/src/views/change-organ/index.vue.d.ts +2 -0
- 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 +85 -85
- package/dist/index-pfRSPpqI.mjs +0 -268
- package/dist/picture-CBRsHLZl.mjs +0 -22
- package/dist/runAs.vue_vue_type_script_setup_true_lang-CKnm9qB3.mjs +0 -140
- 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/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
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as Q, E as Ue,
|
|
1
|
+
import { u as Q, E as Ue, _ as ae, S as qe, a as be, b as He, c as te, D as me, d as We, f as Ke, e as ce, g as Xe, h as je, i as F, j as Se, r as Ce, k as de, T as he, m as Ge, s as Ye, l as Je, n as ue, o as Qe } from "./index-BLFj1FIB.mjs";
|
|
2
2
|
import { defineComponent as I, ref as z, resolveComponent as V, openBlock as u, createBlock as k, withCtx as g, createVNode as _, createElementBlock as x, Fragment as K, renderList as le, unref as l, createTextVNode as B, toDisplayString as P, createElementVNode as w, computed as R, createCommentVNode as T, isRef as _e, watch as ne, onBeforeMount as Ze, TransitionGroup as et, withModifiers as re, normalizeClass as H, pushScopeId as tt, popScopeId as nt, Transition as Te, KeepAlive as ot, resolveDynamicComponent as xe, getCurrentInstance as it, nextTick as $e, onMounted as Ae, withDirectives as at, normalizeStyle as lt, vShow as st, normalizeProps as rt, guardReactiveProps as ct, renderSlot as ut, watchEffect as dt } from "vue";
|
|
3
3
|
import { useRoute as fe, useRouter as ye } from "vue-router";
|
|
4
|
-
import { _ as ft } from "./updatePwd.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as mt } from "./runAs.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as ft } from "./updatePwd.vue_vue_type_script_setup_true_lang-473g6F8e.mjs";
|
|
5
|
+
import { _ as mt } from "./runAs.vue_vue_type_script_setup_true_lang-Chc0acxM.mjs";
|
|
6
6
|
import { storeToRefs as _t } from "pinia";
|
|
7
7
|
const pt = /* @__PURE__ */ I({
|
|
8
8
|
__name: "index",
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { defineComponent as f, ref as v, resolveComponent as _, openBlock as i, createElementBlock as l, createElementVNode as a, Fragment as y, renderList as x, unref as u, toDisplayString as b, createVNode as p, withCtx as k, pushScopeId as C, popScopeId as w } from "vue";
|
|
2
|
+
import { p as I, f as S, b as B, i as R } from "./index-BLFj1FIB.mjs";
|
|
3
|
+
import { useRoute as q, useRouter as A } from "vue-router";
|
|
4
|
+
const L = (o) => (C("data-v-9cb06b94"), o = o(), w(), o), N = { class: "organ-container" }, U = /* @__PURE__ */ L(() => /* @__PURE__ */ a("h1", null, "请选择一个组织加入", -1)), E = { class: "organ-content" }, O = ["onClick"], V = ["src"], j = { style: { "margin-right": "auto" } }, D = /* @__PURE__ */ f({
|
|
5
|
+
__name: "index",
|
|
6
|
+
setup(o) {
|
|
7
|
+
const g = q(), h = A(), d = v([]);
|
|
8
|
+
I().then((e) => {
|
|
9
|
+
console.log(e.data, "=> data"), d.value = e.data.results;
|
|
10
|
+
});
|
|
11
|
+
const m = (e) => {
|
|
12
|
+
B().user.tenant = e.tenant;
|
|
13
|
+
const n = g.query, c = n.redirect ?? "/", r = Object.keys(n).reduce((t, s) => (s !== "redirect" && (t[s] = n[s]), t), {});
|
|
14
|
+
r.tenant = e.tenant, h.push({ path: c, query: r }), console.log(e);
|
|
15
|
+
};
|
|
16
|
+
return (e, n) => {
|
|
17
|
+
const c = _("ArrowRightBold"), r = _("el-icon");
|
|
18
|
+
return i(), l("div", N, [
|
|
19
|
+
U,
|
|
20
|
+
a("div", E, [
|
|
21
|
+
(i(!0), l(y, null, x(u(d), (t) => (i(), l("div", {
|
|
22
|
+
class: "organ-content_item",
|
|
23
|
+
key: t.organId,
|
|
24
|
+
onClick: (s) => m(t)
|
|
25
|
+
}, [
|
|
26
|
+
a("img", {
|
|
27
|
+
src: u(S).imageUrl(t.logoUrl || "/wxapp/images/user/avatar.png", 60, 60),
|
|
28
|
+
alt: "logo"
|
|
29
|
+
}, null, 8, V),
|
|
30
|
+
a("div", j, b(t.organName), 1),
|
|
31
|
+
p(r, null, {
|
|
32
|
+
default: k(() => [
|
|
33
|
+
p(c)
|
|
34
|
+
]),
|
|
35
|
+
_: 1
|
|
36
|
+
})
|
|
37
|
+
], 8, O))), 128))
|
|
38
|
+
])
|
|
39
|
+
]);
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
}), $ = /* @__PURE__ */ R(D, [["__scopeId", "data-v-9cb06b94"]]);
|
|
43
|
+
export {
|
|
44
|
+
$ as default
|
|
45
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as F } from "./RadarChart.vue_vue_type_script_setup_true_lang-BNLujpKR.mjs";
|
|
2
2
|
import { _ as G } from "./PieChart.vue_vue_type_script_setup_true_lang-D1-1NDvg.mjs";
|
|
3
|
-
import H from "./BarChart-
|
|
4
|
-
import { i as N, f as R,
|
|
3
|
+
import H from "./BarChart-CYiicJy4.mjs";
|
|
4
|
+
import { i as N, f as R, b as J, q as f, t as p, _ as K } from "./index-BLFj1FIB.mjs";
|
|
5
5
|
import { openBlock as C, createElementBlock as y, pushScopeId as P, popScopeId as V, createElementVNode as t, defineComponent as Q, computed as B, ref as x, resolveComponent as d, createVNode as e, withCtx as s, unref as a, toDisplayString as i, createTextVNode as u } from "vue";
|
|
6
6
|
const W = {}, w = (c) => (P("data-v-5088dedb"), c = c(), V(), c), X = {
|
|
7
7
|
href: "https://github.com/haoxianrui",
|
|
@@ -33,7 +33,7 @@ function nt(c, j) {
|
|
|
33
33
|
(C(), y("svg", Y, ot))
|
|
34
34
|
]);
|
|
35
35
|
}
|
|
36
|
-
const at = /* @__PURE__ */ N(W, [["render", nt], ["__scopeId", "data-v-5088dedb"]]), o = (c) => (P("data-v-496f50be"), c = c(), V(), c), ct = { class: "dashboard-container" }, lt = { class: "flex h-full items-center" }, it = ["src"], rt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("p", { class: "text-sm text-gray" }, "今日天气晴朗,气温在15℃至25℃之间,东南风。", -1)), _t = { class: "flex h-full items-center justify-around" }, dt = { class: "flex items-center" }, ut = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "消息", -1)), ht = { class: "flex items-center" }, mt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "待办", -1)), ft = { class: "flex items-center" }, pt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "项目", -1)), xt = { class: "flex items-center justify-between" }, vt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "访客数", -1)), 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)]" }, yt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", null, " 总访客数 ", -1)), wt = { class: "flex items-center justify-between" }, jt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "IP数", -1)), Mt = { class: "flex items-center justify-between mt-5" }, $t = { class: "text-lg text-right" }, It = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" },
|
|
36
|
+
const at = /* @__PURE__ */ N(W, [["render", nt], ["__scopeId", "data-v-5088dedb"]]), o = (c) => (P("data-v-496f50be"), c = c(), V(), c), ct = { class: "dashboard-container" }, lt = { class: "flex h-full items-center" }, it = ["src"], rt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("p", { class: "text-sm text-gray" }, "今日天气晴朗,气温在15℃至25℃之间,东南风。", -1)), _t = { class: "flex h-full items-center justify-around" }, dt = { class: "flex items-center" }, ut = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "消息", -1)), ht = { class: "flex items-center" }, mt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "待办", -1)), ft = { class: "flex items-center" }, pt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "项目", -1)), xt = { class: "flex items-center justify-between" }, vt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "访客数", -1)), 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)]" }, yt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", null, " 总访客数 ", -1)), wt = { class: "flex items-center justify-between" }, jt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "IP数", -1)), Mt = { class: "flex items-center justify-between mt-5" }, $t = { class: "text-lg text-right" }, It = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Ot = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", null, " 总IP数 ", -1)), zt = { class: "flex items-center justify-between" }, Lt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "销售额", -1)), St = { class: "flex items-center justify-between mt-5" }, Et = { class: "text-lg text-right" }, kt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Bt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", null, " 总销售额 ", -1)), Nt = { class: "flex items-center justify-between" }, Pt = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "订单量", -1)), Vt = { class: "flex items-center justify-between mt-5" }, Dt = { class: "text-lg text-right" }, Tt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Ut = /* @__PURE__ */ o(() => /* @__PURE__ */ t("span", null, " 总订单量 ", -1)), v = 5e3, At = /* @__PURE__ */ Q({
|
|
37
37
|
name: "Dashboard",
|
|
38
38
|
inheritAttrs: !1,
|
|
39
39
|
__name: "index",
|
|
@@ -56,16 +56,16 @@ const at = /* @__PURE__ */ N(W, [["render", nt], ["__scopeId", "data-v-5088dedb"
|
|
|
56
56
|
transition: p.easeOutExpo
|
|
57
57
|
});
|
|
58
58
|
$.value = 2e3;
|
|
59
|
-
const
|
|
59
|
+
const O = x(0), z = f(O, {
|
|
60
60
|
duration: v,
|
|
61
61
|
transition: p.easeOutExpo
|
|
62
62
|
});
|
|
63
|
-
|
|
64
|
-
const
|
|
63
|
+
O.value = 2e3;
|
|
64
|
+
const L = x(0), S = f(L, {
|
|
65
65
|
duration: v,
|
|
66
66
|
transition: p.easeOutExpo
|
|
67
67
|
});
|
|
68
|
-
|
|
68
|
+
L.value = 2e3;
|
|
69
69
|
const E = x(0), k = f(E, {
|
|
70
70
|
duration: v,
|
|
71
71
|
transition: p.easeOutExpo
|
|
@@ -176,7 +176,7 @@ const at = /* @__PURE__ */ N(W, [["render", nt], ["__scopeId", "data-v-5088dedb"
|
|
|
176
176
|
]),
|
|
177
177
|
default: s(() => [
|
|
178
178
|
t("div", gt, [
|
|
179
|
-
t("div", bt, i(Math.round(a(
|
|
179
|
+
t("div", bt, i(Math.round(a(z))), 1),
|
|
180
180
|
e(r, {
|
|
181
181
|
"icon-class": "visit",
|
|
182
182
|
size: "2em"
|
|
@@ -184,7 +184,7 @@ const at = /* @__PURE__ */ N(W, [["render", nt], ["__scopeId", "data-v-5088dedb"
|
|
|
184
184
|
]),
|
|
185
185
|
t("div", Ct, [
|
|
186
186
|
yt,
|
|
187
|
-
t("span", null, i(Math.round(a(
|
|
187
|
+
t("span", null, i(Math.round(a(z) * 15)), 1)
|
|
188
188
|
])
|
|
189
189
|
]),
|
|
190
190
|
_: 1
|
|
@@ -212,15 +212,15 @@ const at = /* @__PURE__ */ N(W, [["render", nt], ["__scopeId", "data-v-5088dedb"
|
|
|
212
212
|
]),
|
|
213
213
|
default: s(() => [
|
|
214
214
|
t("div", Mt, [
|
|
215
|
-
t("div", $t, i(Math.round(a(
|
|
215
|
+
t("div", $t, i(Math.round(a(S))), 1),
|
|
216
216
|
e(r, {
|
|
217
217
|
"icon-class": "ip",
|
|
218
218
|
size: "2em"
|
|
219
219
|
})
|
|
220
220
|
]),
|
|
221
221
|
t("div", It, [
|
|
222
|
-
|
|
223
|
-
t("span", null, i(Math.round(a(
|
|
222
|
+
Ot,
|
|
223
|
+
t("span", null, i(Math.round(a(S))), 1)
|
|
224
224
|
])
|
|
225
225
|
]),
|
|
226
226
|
_: 1
|
|
@@ -236,8 +236,8 @@ const at = /* @__PURE__ */ N(W, [["render", nt], ["__scopeId", "data-v-5088dedb"
|
|
|
236
236
|
default: s(() => [
|
|
237
237
|
e(_, { shadow: "never" }, {
|
|
238
238
|
header: s(() => [
|
|
239
|
-
t("div",
|
|
240
|
-
|
|
239
|
+
t("div", zt, [
|
|
240
|
+
Lt,
|
|
241
241
|
e(m, null, {
|
|
242
242
|
default: s(() => [
|
|
243
243
|
u("月")
|
|
@@ -247,7 +247,7 @@ const at = /* @__PURE__ */ N(W, [["render", nt], ["__scopeId", "data-v-5088dedb"
|
|
|
247
247
|
])
|
|
248
248
|
]),
|
|
249
249
|
default: s(() => [
|
|
250
|
-
t("div",
|
|
250
|
+
t("div", St, [
|
|
251
251
|
t("div", Et, i(Math.round(a(I))), 1),
|
|
252
252
|
e(r, {
|
|
253
253
|
"icon-class": "money",
|