jmash-core 0.1.11 → 0.1.13

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.
Files changed (27) hide show
  1. package/dist/401-BcGTgHAm.mjs +104 -0
  2. package/dist/{404-CndYXbdW.mjs → 404-CnraIJ2H.mjs} +13 -11
  3. package/dist/{BarChart-DOObTQ_q.mjs → BarChart-DJ-wSXB4.mjs} +1 -1
  4. package/dist/assets/6582a007b98ef74f.png +0 -0
  5. package/dist/{index-DrGL8ZkC.mjs → index-BjBVwnHW.mjs} +9931 -9781
  6. package/dist/{index-BpualbXj.mjs → index-C8JpbA4n.mjs} +4 -4
  7. package/dist/index-Dbzm9SAW.mjs +54 -0
  8. package/dist/{index-CW4c2Adf.mjs → index-DhsGavW6.mjs} +40 -38
  9. package/dist/{index-BC5xos_O.mjs → index-VZhyMSwH.mjs} +3 -3
  10. package/dist/index.mjs +1 -1
  11. package/dist/{profile-CrxGndFz.mjs → profile-DlEftq9N.mjs} +1 -1
  12. package/dist/{runAs-CEo8Wx7S.mjs → runAs-CgbfNv4R.mjs} +1 -1
  13. package/dist/{runAs.vue_vue_type_script_setup_true_lang-CunYsZlj.mjs → runAs.vue_vue_type_script_setup_true_lang-msF4q50T.mjs} +1 -1
  14. package/dist/style.css +1 -1
  15. package/dist/{types-Cr1cXfOV.mjs → types-CaRkLleQ.mjs} +1 -1
  16. package/dist/{updatePwd-BCiT4xRx.mjs → updatePwd-B2hzJU2l.mjs} +1 -1
  17. package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-CiTeLB9V.mjs → updatePwd.vue_vue_type_script_setup_true_lang-DDjbAy5V.mjs} +1 -1
  18. package/package.json +2 -2
  19. package/dist/401-Brud7tNX.mjs +0 -103
  20. package/dist/images/login-bg-dark.jpg +0 -0
  21. package/dist/index-BmHTGI3d.mjs +0 -54
  22. /package/dist/{images/qrcode-success.jpg → assets/09fcc36c527efda6.jpg} +0 -0
  23. /package/dist/{images/login-bg-small.png → assets/0cda52992278af9e.png} +0 -0
  24. /package/dist/{images/404_cloud.png → assets/1fa4b4a419330812.png} +0 -0
  25. /package/dist/{images/404.png → assets/53044ba5490eb488.png} +0 -0
  26. /package/dist/{images/login-bg.jpg → assets/749f2ccf565925d5.jpg} +0 -0
  27. /package/dist/{images/401.gif → assets/a6029a1ec37b99c2.gif} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as I, openBlock as y, createElementVNode as u, defineComponent as B, ref as V, reactive as f, resolveComponent as i, Fragment as D, createVNode as t, withCtx as l, createTextVNode as _, toDisplayString as v } from "vue";
2
- import { t as E, b as w, v as N, w as q, x as R } from "./index-DrGL8ZkC.mjs";
2
+ import { t as E, b as w, v as N, w as q, x as R } from "./index-BjBVwnHW.mjs";
3
3
  const S = {
4
4
  viewBox: "0 0 1024 1024",
5
5
  width: "1.2em",
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./updatePwd.vue_vue_type_script_setup_true_lang-CiTeLB9V.mjs";
1
+ import { _ as f } from "./updatePwd.vue_vue_type_script_setup_true_lang-DDjbAy5V.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as q, ref as v, toRefs as E, reactive as V, resolveComponent as i, createBlock as O, openBlock as A, unref as t, isRef as D, withCtx as n, createVNode as r, createElementVNode as U, createTextVNode as g, toDisplayString as _ } from "vue";
2
2
  import { ElMessage as B } from "element-plus";
3
- import { y as b, aD as I } from "./index-DrGL8ZkC.mjs";
3
+ import { y as b, aD as I } from "./index-BjBVwnHW.mjs";
4
4
  import { useI18n as S } from "vue-i18n";
5
5
  const z = { class: "dialog-footer" }, G = /* @__PURE__ */ q({
6
6
  __name: "updatePwd",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmash-core",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/src/index.d.ts",
@@ -62,6 +62,7 @@
62
62
  },
63
63
  "dependencies": {
64
64
  "@element-plus/icons-vue": "^2.3.1",
65
+ "@laynezh/vite-plugin-lib-assets": "^2.1.0",
65
66
  "@vueuse/core": "^10.11.1",
66
67
  "@wangeditor-next/editor": "^5.6.34",
67
68
  "@wangeditor-next/editor-for-vue": "^5.1.14",
@@ -75,7 +76,6 @@
75
76
  "path-browserify": "^1.0.1",
76
77
  "path-to-regexp": "^6.3.0",
77
78
  "qs": "^6.14.0",
78
- "public-path-replace": "^0.0.1",
79
79
  "sm-crypto": "^0.3.13",
80
80
  "sortablejs": "^1.15.6"
81
81
  }
@@ -1,103 +0,0 @@
1
- import { defineComponent as u, reactive as v, toRefs as V, resolveComponent as n, createElementBlock as x, openBlock as C, createVNode as o, withCtx as l, createTextVNode as r, createElementVNode as e, withModifiers as R, unref as i, isRef as y } from "vue";
2
- import { useRouter as z } from "vue-router";
3
- import { h as G } from "./index-DrGL8ZkC.mjs";
4
- const N = { class: "errPage-container" }, h = { class: "list-unstyled" }, B = { class: "link-type" }, E = ["src"], P = ["src"], U = /* @__PURE__ */ u({
5
- __name: "401",
6
- setup(j) {
7
- u({
8
- name: "Page401"
9
- });
10
- const p = v({
11
- errGif: new URL("/node_modules/jmash-core/dist/images/401.gif", import.meta.url).href,
12
- ewizardClap: "https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646",
13
- dialogVisible: !1
14
- }), { errGif: m, ewizardClap: f, dialogVisible: s } = V(p), _ = z();
15
- function b() {
16
- _.back();
17
- }
18
- return (I, t) => {
19
- const g = n("el-button"), c = n("router-link"), a = n("el-col"), w = n("el-row"), k = n("el-dialog");
20
- return C(), x("div", N, [
21
- o(g, {
22
- icon: "el-icon-arrow-left",
23
- class: "pan-back-btn",
24
- onClick: b
25
- }, {
26
- default: l(() => t[2] || (t[2] = [
27
- r(" 返回 ")
28
- ])),
29
- _: 1,
30
- __: [2]
31
- }),
32
- o(w, null, {
33
- default: l(() => [
34
- o(a, { span: 12 }, {
35
- default: l(() => [
36
- t[6] || (t[6] = e("h1", { class: "text-jumbo text-ginormous" }, "Oops!", -1)),
37
- t[7] || (t[7] = r(" gif来源")),
38
- t[8] || (t[8] = e("a", {
39
- href: "https://zh.airbnb.com/",
40
- target: "_blank"
41
- }, "airbnb", -1)),
42
- t[9] || (t[9] = r(" 页面 ")),
43
- t[10] || (t[10] = e("h2", null, "你没有权限去该页面", -1)),
44
- t[11] || (t[11] = e("h6", null, "如有不满请联系你领导", -1)),
45
- e("ul", h, [
46
- t[4] || (t[4] = e("li", null, "或者你可以去:", -1)),
47
- e("li", B, [
48
- o(c, { to: "/dashboard" }, {
49
- default: l(() => t[3] || (t[3] = [
50
- r(" 回首页 ")
51
- ])),
52
- _: 1,
53
- __: [3]
54
- })
55
- ]),
56
- t[5] || (t[5] = e("li", { class: "link-type" }, [
57
- e("a", { href: "https://www.taobao.com/" }, "随便看看")
58
- ], -1)),
59
- e("li", null, [
60
- e("a", {
61
- href: "#",
62
- onClick: t[0] || (t[0] = R((d) => s.value = !0, ["prevent"]))
63
- }, "点我看图")
64
- ])
65
- ])
66
- ]),
67
- _: 1,
68
- __: [6, 7, 8, 9, 10, 11]
69
- }),
70
- o(a, { span: 12 }, {
71
- default: l(() => [
72
- e("img", {
73
- src: i(m),
74
- width: "313",
75
- height: "428",
76
- alt: "Girl has dropped her ice cream."
77
- }, null, 8, E)
78
- ]),
79
- _: 1
80
- })
81
- ]),
82
- _: 1
83
- }),
84
- o(k, {
85
- modelValue: i(s),
86
- "onUpdate:modelValue": t[1] || (t[1] = (d) => y(s) ? s.value = d : null),
87
- title: "随便看"
88
- }, {
89
- default: l(() => [
90
- e("img", {
91
- src: i(f),
92
- class: "pan-img"
93
- }, null, 8, P)
94
- ]),
95
- _: 1
96
- }, 8, ["modelValue"])
97
- ]);
98
- };
99
- }
100
- }), T = /* @__PURE__ */ G(U, [["__scopeId", "data-v-044982c3"]]);
101
- export {
102
- T as default
103
- };
Binary file
@@ -1,54 +0,0 @@
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 q } from "./index-DrGL8ZkC.mjs";
3
- import { useRoute as A, useRouter as L } from "vue-router";
4
- const N = { class: "organ-container" }, O = { class: "organ-content" }, S = ["onClick"], U = ["src"], b = { style: { "margin-right": "auto" } }, E = /* @__PURE__ */ v({
5
- __name: "index",
6
- setup(I) {
7
- const h = A(), m = L(), f = p(), i = y([]);
8
- B().then((e) => {
9
- e.data.results.length === 1 && u(e.data.results[0]), i.value = e.data.results;
10
- });
11
- const u = (e) => {
12
- f.loginOrgan(e.tenant).then(() => {
13
- p().user.tenant = e.tenant;
14
- const n = h.query, a = n.redirect ?? "/", o = Object.keys(n).reduce(
15
- (t, r) => (r !== "redirect" && (t[r] = n[r]), t),
16
- {}
17
- );
18
- o.tenant = e.tenant, m.push({ path: a, query: o });
19
- });
20
- };
21
- return (e, n) => {
22
- const a = d("ArrowRightBold"), o = d("el-icon");
23
- return l(), c("div", N, [
24
- n[0] || (n[0] = s("h1", null, "请选择一个组织进入", -1)),
25
- s("div", O, [
26
- (l(!0), c(x, null, k(_(i), (t) => (l(), c("div", {
27
- class: "organ-content_item",
28
- key: t.organId,
29
- onClick: (r) => u(t)
30
- }, [
31
- s("img", {
32
- src: _(R).imageUrl(
33
- t.logoUrl || "/wxapp/node_modules/jmash-core/dist/images/user/avatar.png",
34
- 60,
35
- 60
36
- ),
37
- alt: "logo"
38
- }, null, 8, U),
39
- s("div", b, C(t.organName), 1),
40
- g(o, null, {
41
- default: w(() => [
42
- g(a)
43
- ]),
44
- _: 1
45
- })
46
- ], 8, S))), 128))
47
- ])
48
- ]);
49
- };
50
- }
51
- }), F = /* @__PURE__ */ q(E, [["__scopeId", "data-v-0e362977"]]);
52
- export {
53
- F as default
54
- };