jmash-core 0.1.22 → 0.1.24

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 (28) hide show
  1. package/README.md +57 -57
  2. package/dist/{401-FlrXOPgS.mjs → 401-DqAdWHXD.mjs} +2 -2
  3. package/dist/{404-BTMSldle.mjs → 404-DvKHgPjP.mjs} +8 -8
  4. package/dist/{BarChart-BaOcg-v6.mjs → BarChart-CR3KD-Zz.mjs} +2 -2
  5. package/dist/{index-Dsqb5KPh.mjs → index-BWD_ZioM.mjs} +168 -168
  6. package/dist/{index-Zq3WC6V2.mjs → index-BWr16fyD.mjs} +2 -2
  7. package/dist/{index-Dj2YZyEO.mjs → index-BtKMrW6i.mjs} +2 -2
  8. package/dist/{index-PIpAW35H.mjs → index-Ce1ZrKTN.mjs} +4 -4
  9. package/dist/{index-wvG4Qrkd.mjs → index-CmF7Kcr8.mjs} +17 -16
  10. package/dist/{index-Dk6VNvme.mjs → index-D7vTRuz9.mjs} +15 -15
  11. package/dist/index.mjs +1 -1
  12. package/dist/{profile-DFeb2tVZ.mjs → profile-CKbFk8vD.mjs} +46 -46
  13. package/dist/{runAs-B8Gt1PLf.mjs → runAs-Dyyygrg6.mjs} +1 -1
  14. package/dist/{runAs.vue_vue_type_script_setup_true_lang-CE3AKpKn.mjs → runAs.vue_vue_type_script_setup_true_lang-DVT9dLOD.mjs} +1 -1
  15. package/dist/style.css +1 -1
  16. package/dist/{types-LQSRjWu2.mjs → types-CByYd7DM.mjs} +1 -1
  17. package/dist/{updatePwd-CcvECiqR.mjs → updatePwd-CvnUJYG1.mjs} +1 -1
  18. package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-D1WT6rSV.mjs → updatePwd.vue_vue_type_script_setup_true_lang-BYJY3MWz.mjs} +1 -1
  19. package/dts/src/api/auth/index.d.ts +1 -1
  20. package/dts/src/components/ForgetPwd/index.vue.d.ts +6 -0
  21. package/dts/src/components/GraphicVerification/index.vue.d.ts +8 -0
  22. package/dts/src/components/NameValidate/index.vue.d.ts +2 -2
  23. package/dts/src/layout/components/Sidebar/components/SidebarMenuItemTitle.vue.d.ts +1 -1
  24. package/dts/src/views/dashboard/components/BarChart.vue.d.ts +1 -1
  25. package/dts/src/views/dashboard/components/FunnelChart.vue.d.ts +1 -1
  26. package/dts/src/views/dashboard/components/PieChart.vue.d.ts +1 -1
  27. package/dts/src/views/dashboard/components/RadarChart.vue.d.ts +1 -1
  28. package/package.json +82 -82
@@ -1,4 +1,4 @@
1
- import { v as k, u as _, a as G, w as J, k as X, l as Y, F as Z, H as ee, A as te, e as le, f as oe } from "./index-wvG4Qrkd.mjs";
1
+ import { v as k, u as _, a as G, w as J, k as X, l as Y, F as Z, H as ee, A as te, e as le, f as oe } from "./index-CmF7Kcr8.mjs";
2
2
  import { defineComponent as se, ref as d, computed as re, watchEffect as ae, resolveComponent as c, createElementBlock as ne, openBlock as D, createElementVNode as l, createVNode as o, withDirectives as Q, createBlock as ie, createCommentVNode as ue, unref as V, withCtx as u, normalizeStyle as de, vShow as j, withKeys as z, withModifiers as ce, createTextVNode as pe, toDisplayString as B, normalizeClass as me } from "vue";
3
3
  import fe from "./assets/0cda52992278af9e.png";
4
4
  import { useI18n as ve } from "vue-i18n";
@@ -252,7 +252,7 @@ const we = { class: "login-container" }, ye = { class: "absolute top-0 flex item
252
252
  ]);
253
253
  };
254
254
  }
255
- }), Qe = /* @__PURE__ */ oe(Te, [["__scopeId", "data-v-82b2f074"]]);
255
+ }), Qe = /* @__PURE__ */ oe(Te, [["__scopeId", "data-v-83025e7f"]]);
256
256
  export {
257
257
  Qe as default
258
258
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, resolveComponent as n, createElementBlock as s, openBlock as a, createVNode as t, unref as c, withCtx as d, createElementVNode as _ } from "vue";
2
- import { u as i, aK as p, f as l } from "./index-wvG4Qrkd.mjs";
2
+ import { u as i, aK as p, f as l } from "./index-CmF7Kcr8.mjs";
3
3
  const m = { class: "register-container" }, f = /* @__PURE__ */ r({
4
4
  __name: "index",
5
5
  setup(u) {
@@ -20,7 +20,7 @@ const m = { class: "register-container" }, f = /* @__PURE__ */ r({
20
20
  ]);
21
21
  };
22
22
  }
23
- }), w = /* @__PURE__ */ l(f, [["__scopeId", "data-v-5242a4f5"]]);
23
+ }), w = /* @__PURE__ */ l(f, [["__scopeId", "data-v-321a6d52"]]);
24
24
  export {
25
25
  w as default
26
26
  };
@@ -1,7 +1,7 @@
1
1
  import { _ as A } from "./RadarChart.vue_vue_type_script_setup_true_lang-Dmh0_OQ4.mjs";
2
2
  import { _ as Z } from "./PieChart.vue_vue_type_script_setup_true_lang-Bw7ozgOv.mjs";
3
- import F from "./BarChart-BaOcg-v6.mjs";
4
- import { f as B, j as G, a as H, y as f, z as p, _ as R } from "./index-wvG4Qrkd.mjs";
3
+ import F from "./BarChart-CR3KD-Zz.mjs";
4
+ import { f as B, j as G, a as H, y as f, z as p, _ as R } from "./index-CmF7Kcr8.mjs";
5
5
  import { createElementBlock as y, openBlock as C, createElementVNode as t, defineComponent as q, 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",
@@ -33,7 +33,7 @@ function W(I, _) {
33
33
  ])))
34
34
  ]);
35
35
  }
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" }, yt = { class: "text-lg text-right" }, Ct = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, v = 5e3, bt = /* @__PURE__ */ q({
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" }, yt = { class: "text-lg text-right" }, Ct = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, v = 5e3, bt = /* @__PURE__ */ q({
37
37
  name: "Dashboard",
38
38
  inheritAttrs: !1,
39
39
  __name: "index",
@@ -368,7 +368,7 @@ const X = /* @__PURE__ */ B(J, [["render", W], ["__scopeId", "data-v-5088dedb"]]
368
368
  ]);
369
369
  };
370
370
  }
371
- }), Ot = /* @__PURE__ */ B(bt, [["__scopeId", "data-v-b08e560e"]]);
371
+ }), Ot = /* @__PURE__ */ B(bt, [["__scopeId", "data-v-3f78985d"]]);
372
372
  export {
373
373
  Ot as default
374
374
  };
@@ -400,9 +400,9 @@ const pn = $r({
400
400
  APP_TIMEOUT: 6e4
401
401
  }), ls = /* @__PURE__ */ new Map(), w_ = [];
402
402
  let j1 = `${Ot.APP_API_URL}v1/file/path/pc`;
403
- const Hb = () => import("./index-Dsqb5KPh.mjs");
403
+ const Hb = () => import("./index-BWD_ZioM.mjs");
404
404
  ls.set("Layout", Hb);
405
- const Vb = /* @__PURE__ */ Object.assign({ "./views/change-organ/index.vue": () => import("./index-Dk6VNvme.mjs"), "./views/dashboard/components/BarChart.vue": () => import("./BarChart-BaOcg-v6.mjs"), "./views/dashboard/components/FunnelChart.vue": () => import("./FunnelChart-Bdwa_Dl7.mjs"), "./views/dashboard/components/PieChart.vue": () => import("./PieChart-mjcVGXoE.mjs"), "./views/dashboard/components/RadarChart.vue": () => import("./RadarChart-Dkl7lCAh.mjs"), "./views/dashboard/index.vue": () => import("./index-PIpAW35H.mjs"), "./views/error-page/401.vue": () => import("./401-FlrXOPgS.mjs"), "./views/error-page/404.vue": () => import("./404-BTMSldle.mjs"), "./views/login/components/types.vue": () => import("./types-LQSRjWu2.mjs"), "./views/login/index.vue": () => import("./index-Zq3WC6V2.mjs"), "./views/my/profile.vue": () => import("./profile-DFeb2tVZ.mjs"), "./views/my/runAs.vue": () => import("./runAs-B8Gt1PLf.mjs"), "./views/my/updatePwd.vue": () => import("./updatePwd-CcvECiqR.mjs"), "./views/redirect/index.vue": () => import("./index-JBmY6Vt0.mjs"), "./views/register/index.vue": () => import("./index-Dj2YZyEO.mjs") });
405
+ const Vb = /* @__PURE__ */ Object.assign({ "./views/change-organ/index.vue": () => import("./index-D7vTRuz9.mjs"), "./views/dashboard/components/BarChart.vue": () => import("./BarChart-CR3KD-Zz.mjs"), "./views/dashboard/components/FunnelChart.vue": () => import("./FunnelChart-Bdwa_Dl7.mjs"), "./views/dashboard/components/PieChart.vue": () => import("./PieChart-mjcVGXoE.mjs"), "./views/dashboard/components/RadarChart.vue": () => import("./RadarChart-Dkl7lCAh.mjs"), "./views/dashboard/index.vue": () => import("./index-Ce1ZrKTN.mjs"), "./views/error-page/401.vue": () => import("./401-DqAdWHXD.mjs"), "./views/error-page/404.vue": () => import("./404-DvKHgPjP.mjs"), "./views/login/components/types.vue": () => import("./types-CByYd7DM.mjs"), "./views/login/index.vue": () => import("./index-BWr16fyD.mjs"), "./views/my/profile.vue": () => import("./profile-CKbFk8vD.mjs"), "./views/my/runAs.vue": () => import("./runAs-Dyyygrg6.mjs"), "./views/my/updatePwd.vue": () => import("./updatePwd-CvnUJYG1.mjs"), "./views/redirect/index.vue": () => import("./index-JBmY6Vt0.mjs"), "./views/register/index.vue": () => import("./index-BtKMrW6i.mjs") });
406
406
  $b(Vb, 7);
407
407
  function $b(e, t) {
408
408
  for (const r in e) {
@@ -665,7 +665,7 @@ function rC(e) {
665
665
  data: e
666
666
  });
667
667
  }
668
- const Ws = () => import("./index-Dsqb5KPh.mjs"), nC = () => import("./index-Zq3WC6V2.mjs"), aC = () => import("./index-Dj2YZyEO.mjs"), oC = () => import("./types-LQSRjWu2.mjs"), iC = () => import("./profile-DFeb2tVZ.mjs"), sC = () => import("./401-FlrXOPgS.mjs"), uC = () => import("./404-BTMSldle.mjs"), lC = () => import("./index-PIpAW35H.mjs"), cC = () => import("./index-JBmY6Vt0.mjs"), dC = () => import("./index-Dk6VNvme.mjs"), D_ = [
668
+ const Ws = () => import("./index-BWD_ZioM.mjs"), nC = () => import("./index-BWr16fyD.mjs"), aC = () => import("./index-BtKMrW6i.mjs"), oC = () => import("./types-CByYd7DM.mjs"), iC = () => import("./profile-CKbFk8vD.mjs"), sC = () => import("./401-DqAdWHXD.mjs"), uC = () => import("./404-DvKHgPjP.mjs"), lC = () => import("./index-Ce1ZrKTN.mjs"), cC = () => import("./index-JBmY6Vt0.mjs"), dC = () => import("./index-D7vTRuz9.mjs"), D_ = [
669
669
  {
670
670
  path: "/redirect",
671
671
  component: Ws,
@@ -2113,8 +2113,8 @@ const gQ = Ha("setting", () => {
2113
2113
  }
2114
2114
  function a(f) {
2115
2115
  return new Promise((v, g) => {
2116
- Kb(f).then(({ data: h }) => {
2117
- t.value = h.accessToken, h.expiresDate = (/* @__PURE__ */ new Date()).getTime() + h.expiresIn * 1e3, r.value = h, v(h);
2116
+ Kb(f).then(({ status: h, data: m }) => {
2117
+ h === 200 ? (t.value = m.accessToken, m.expiresDate = (/* @__PURE__ */ new Date()).getTime() + m.expiresIn * 1e3, r.value = m, v(m)) : g(m);
2118
2118
  }).catch((h) => {
2119
2119
  console.log(h), g(h);
2120
2120
  });
@@ -2179,8 +2179,8 @@ const gQ = Ha("setting", () => {
2179
2179
  }
2180
2180
  function p() {
2181
2181
  return new Promise((f, v) => {
2182
- Xb(t.value).then(() => {
2183
- t.value = "", e.roleCodes = [], e.permCodes = [], r.value = {}, f();
2182
+ Xb(t.value).then(({ data: g }) => {
2183
+ g ? (t.value = "", e.roleCodes = [], e.permCodes = [], r.value = {}, f(g)) : v("注销失败");
2184
2184
  }).catch((g) => {
2185
2185
  v(g);
2186
2186
  });
@@ -10888,7 +10888,7 @@ const pz = { name: "ep-search", render: fz }, hz = /* @__PURE__ */ M({
10888
10888
  for (const [n, a] of t)
10889
10889
  r[n] = a;
10890
10890
  return r;
10891
- }, To = /* @__PURE__ */ v0(hz, [["__scopeId", "data-v-c88d620b"]]), vz = { class: "table-list" }, gz = ["onClick"], mz = { class: "table-footer" }, _z = /* @__PURE__ */ M({
10891
+ }, To = /* @__PURE__ */ v0(hz, [["__scopeId", "data-v-4f4db0dd"]]), vz = { class: "table-list" }, gz = ["onClick"], mz = { class: "table-footer" }, _z = /* @__PURE__ */ M({
10892
10892
  __name: "index",
10893
10893
  props: /* @__PURE__ */ l0({
10894
10894
  labelName: {
@@ -18007,7 +18007,7 @@ const pR = { class: "icon-list" }, hR = ["onClick"], vR = /* @__PURE__ */ M({
18007
18007
  ], 512);
18008
18008
  };
18009
18009
  }
18010
- }), gR = /* @__PURE__ */ v0(vR, [["__scopeId", "data-v-e85de0de"]]), mR = { key: 0 }, _R = { key: 1 }, xR = {
18010
+ }), gR = /* @__PURE__ */ v0(vR, [["__scopeId", "data-v-ed332d64"]]), mR = { key: 0 }, _R = { key: 1 }, xR = {
18011
18011
  key: 2,
18012
18012
  class: "distance-left"
18013
18013
  }, yR = /* @__PURE__ */ M({
@@ -19669,7 +19669,7 @@ const Ea = OV(V0, "$message"), E$ = ["src"], D$ = /* @__PURE__ */ M({
19669
19669
  ], 64);
19670
19670
  };
19671
19671
  }
19672
- }), O$ = /* @__PURE__ */ v0(T$, [["__scopeId", "data-v-37c5c25a"]]), k$ = { class: "el-upload__text" }, M$ = { style: { color: "var(--el-color-primary)" } }, P$ = { class: "dialog-footer" }, c6 = /* @__PURE__ */ M({
19672
+ }), O$ = /* @__PURE__ */ v0(T$, [["__scopeId", "data-v-86ee428f"]]), k$ = { class: "el-upload__text" }, M$ = { style: { color: "var(--el-color-primary)" } }, P$ = { class: "dialog-footer" }, c6 = /* @__PURE__ */ M({
19673
19673
  __name: "index",
19674
19674
  props: {
19675
19675
  uploadVisible: {
@@ -19884,7 +19884,7 @@ const I$ = {
19884
19884
  await N$(a.apiKey), i();
19885
19885
  }), (l, p) => (O(), P("div", I$));
19886
19886
  }
19887
- }), z$ = /* @__PURE__ */ v0(L$, [["__scopeId", "data-v-30f8a45f"]]);
19887
+ }), z$ = /* @__PURE__ */ v0(L$, [["__scopeId", "data-v-62997f7f"]]);
19888
19888
  async function R$() {
19889
19889
  return new Promise((e, t) => {
19890
19890
  const r = document.createElement("script");
@@ -19983,7 +19983,7 @@ const H$ = {
19983
19983
  await R$(), await i();
19984
19984
  }), (d, f) => (O(), P("div", H$));
19985
19985
  }
19986
- }), $$ = /* @__PURE__ */ v0(V$, [["__scopeId", "data-v-61a5dd51"]]);
19986
+ }), $$ = /* @__PURE__ */ v0(V$, [["__scopeId", "data-v-8808d3de"]]);
19987
19987
  var d6, f6, p6, h6, Lu, v6, g6, m6, _6, x6, y6, w6, b6, C6, E6, D6, ii, A6, yt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
19988
19988
  function Mr(e) {
19989
19989
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
@@ -36284,7 +36284,7 @@ const yZ = { class: "wangeditor-container" }, wZ = /* @__PURE__ */ M({
36284
36284
  }, null, 8, ["modelValue", "default-config"])
36285
36285
  ]));
36286
36286
  }
36287
- }), bZ = /* @__PURE__ */ v0(wZ, [["__scopeId", "data-v-106236ae"]]), CZ = { class: "register" }, EZ = { class: "flex justify-between items-center w-full" }, DZ = ["src"], AZ = { class: "flex justify-between items-center w-full" }, BZ = /* @__PURE__ */ M({
36287
+ }), bZ = /* @__PURE__ */ v0(wZ, [["__scopeId", "data-v-de873bbf"]]), CZ = { class: "register" }, EZ = { class: "flex justify-between items-center w-full" }, DZ = ["src"], AZ = { class: "flex justify-between items-center w-full" }, BZ = /* @__PURE__ */ M({
36288
36288
  __name: "index",
36289
36289
  props: {
36290
36290
  emit: {
@@ -36525,7 +36525,7 @@ const yZ = { class: "wangeditor-container" }, wZ = /* @__PURE__ */ M({
36525
36525
  ]);
36526
36526
  };
36527
36527
  }
36528
- }), SZ = /* @__PURE__ */ v0(BZ, [["__scopeId", "data-v-5e021e00"]]), FZ = { class: "flex justify-between items-center w-full" }, TZ = /* @__PURE__ */ M({
36528
+ }), SZ = /* @__PURE__ */ v0(BZ, [["__scopeId", "data-v-5e0dbd01"]]), FZ = { class: "flex justify-between items-center w-full" }, TZ = /* @__PURE__ */ M({
36529
36529
  __name: "index",
36530
36530
  props: /* @__PURE__ */ l0({
36531
36531
  name: {
@@ -36650,7 +36650,7 @@ const yZ = { class: "wangeditor-container" }, wZ = /* @__PURE__ */ M({
36650
36650
  ]);
36651
36651
  };
36652
36652
  }
36653
- }), PZ = /* @__PURE__ */ v0(MZ, [["__scopeId", "data-v-8fb5fcef"]]), NZ = /* @__PURE__ */ M({
36653
+ }), PZ = /* @__PURE__ */ v0(MZ, [["__scopeId", "data-v-d51752aa"]]), NZ = /* @__PURE__ */ M({
36654
36654
  __name: "index",
36655
36655
  props: {
36656
36656
  modelValue: { type: Boolean },
@@ -36736,7 +36736,8 @@ const yZ = { class: "wangeditor-container" }, wZ = /* @__PURE__ */ M({
36736
36736
  ref_key: "formRef",
36737
36737
  ref: a,
36738
36738
  model: o.value,
36739
- rules: Se(u)
36739
+ rules: Se(u),
36740
+ size: "large"
36740
36741
  }, {
36741
36742
  default: Ie(() => [
36742
36743
  Te(y, null, {
@@ -1,42 +1,42 @@
1
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 { a as p, x as B, j as R, f as q } from "./index-wvG4Qrkd.mjs";
2
+ import { a as p, x as B, j as R, f as q } from "./index-CmF7Kcr8.mjs";
3
3
  import { useRoute as A, useRouter as L } from "vue-router";
4
4
  const N = { class: "organ-container" }, O = { class: "organ-content" }, S = ["onClick"], U = ["src"], b = { style: { "margin-right": "auto" } }, j = /* @__PURE__ */ v({
5
5
  __name: "index",
6
6
  setup(E) {
7
7
  const m = A(), h = L(), f = p(), i = y([]);
8
- B().then((t) => {
9
- t.data.results.length === 1 && u(t.data.results[0]), i.value = t.data.results;
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 = (t) => {
12
- f.loginOrgan(t.tenant).then(() => {
13
- p().user.tenant = t.tenant;
11
+ const u = (e) => {
12
+ f.loginOrgan(e.tenant).then(() => {
13
+ p().user.tenant = e.tenant;
14
14
  const n = m.query, a = n.redirect ?? "/", o = Object.keys(n).reduce(
15
- (e, r) => (r !== "redirect" && (e[r] = n[r]), e),
15
+ (t, r) => (r !== "redirect" && (t[r] = n[r]), t),
16
16
  {}
17
17
  );
18
- o.tenant = t.tenant, h.push({ path: a, query: o });
18
+ o.tenant = e.tenant, h.push({ path: a, query: o });
19
19
  });
20
20
  };
21
- return (t, n) => {
21
+ return (e, n) => {
22
22
  const a = d("ArrowRightBold"), o = d("el-icon");
23
23
  return l(), c("div", N, [
24
24
  n[0] || (n[0] = s("h1", null, "请选择一个组织进入", -1)),
25
25
  s("div", O, [
26
- (l(!0), c(x, null, k(_(i), (e) => (l(), c("div", {
26
+ (l(!0), c(x, null, k(_(i), (t) => (l(), c("div", {
27
27
  class: "organ-content_item",
28
- key: e.organId,
29
- onClick: (r) => u(e)
28
+ key: t.organId,
29
+ onClick: (r) => u(t)
30
30
  }, [
31
31
  s("img", {
32
32
  src: _(R).imageUrl(
33
- e.logoUrl || "/wxapp/images/user/avatar.png",
33
+ t.logoUrl || "/wxapp/images/user/avatar.png",
34
34
  60,
35
35
  60
36
36
  ),
37
37
  alt: "logo"
38
38
  }, null, 8, U),
39
- s("div", b, C(e.organName), 1),
39
+ s("div", b, C(t.organName), 1),
40
40
  g(o, null, {
41
41
  default: w(() => [
42
42
  g(a)
@@ -48,7 +48,7 @@ const N = { class: "organ-container" }, O = { class: "organ-content" }, S = ["on
48
48
  ]);
49
49
  };
50
50
  }
51
- }), F = /* @__PURE__ */ q(j, [["__scopeId", "data-v-1b55656a"]]);
51
+ }), F = /* @__PURE__ */ q(j, [["__scopeId", "data-v-30bc9ae2"]]);
52
52
  export {
53
53
  F as default
54
54
  };
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { b4 as t, b5 as r, bw as o, b6 as i, bu as b, b8 as n, I as u, bs as g, bt as d, F as l, bo as p, bp as m, bq as c, br as P, bv as S, aK as v, bx as E, S as h, bg as A, aV as M, aQ as R, aR as f, aL as k, aZ as y, e as D, aX as L, a_ as C, aN as H, l as U, aM as I, b7 as V, j as w, bd as x, a$ as z, A as B, aY as F, b0 as O, m as T, aP as Q, bc as W, ba as j, aO as q, x as K, H as N, bb as X, s as Y, bm as Z, r as _, be as $, aI as G, b9 as J, bh as aa, aS as ea, bn as sa, aW as ta, aT as ra, aU as oa, u as ia, bi as ba, bl as na, n as ua, bj as ga, h as da, bf as la, g as pa, a as ma, bk as ca, b2 as Pa, d as Sa, b3 as va, c as Ea, b1 as ha, v as Aa } from "./index-wvG4Qrkd.mjs";
1
+ import { b4 as t, b5 as r, bw as o, b6 as i, bu as b, b8 as n, I as u, bs as g, bt as d, F as l, bo as p, bp as m, bq as c, br as P, bv as S, aK as v, bx as E, S as h, bg as A, aV as M, aQ as R, aR as f, aL as k, aZ as y, e as D, aX as L, a_ as C, aN as H, l as U, aM as I, b7 as V, j as w, bd as x, a$ as z, A as B, aY as F, b0 as O, m as T, aP as Q, bc as W, ba as j, aO as q, x as K, H as N, bb as X, s as Y, bm as Z, r as _, be as $, aI as G, b9 as J, bh as aa, aS as ea, bn as sa, aW as ta, aT as ra, aU as oa, u as ia, bi as ba, bl as na, n as ua, bj as ga, h as da, bf as la, g as pa, a as ma, bk as ca, b2 as Pa, d as Sa, b3 as va, c as Ea, b1 as ha, v as Aa } from "./index-CmF7Kcr8.mjs";
2
2
  import "element-plus";
3
3
  export {
4
4
  t as BizDict,
@@ -1,9 +1,9 @@
1
1
  var B = Object.defineProperty;
2
2
  var z = (m, p, i) => p in m ? B(m, p, { enumerable: !0, configurable: !0, writable: !0, value: i }) : m[p] = i;
3
3
  var y = (m, p, i) => z(m, typeof p != "symbol" ? p + "" : p, i);
4
- import { I as F, a as K, J as T, K as H, L as Q, M as W, N as X, f as Z } from "./index-wvG4Qrkd.mjs";
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 a, withCtx as s, createElementVNode as le, Fragment as N, renderList as $, createBlock as h, createCommentVNode as J, createTextVNode as te, toDisplayString as ae } from "vue";
6
- import { ElMessage as se } from "element-plus";
4
+ import { I as F, a as K, J as T, K as H, L as Q, M as W, N as X, f as Z } from "./index-CmF7Kcr8.mjs";
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 N, renderList as $, createBlock as h, createCommentVNode as J, createTextVNode as te, toDisplayString as se } from "vue";
6
+ import { ElMessage as ae } from "element-plus";
7
7
  class U {
8
8
  }
9
9
  //模块
@@ -62,7 +62,7 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
62
62
  }
63
63
  const w = () => {
64
64
  X(l.user).then((e) => {
65
- l.user.requestId = Math.random() * 10 + "", e.status === 200 && se({
65
+ l.user.requestId = Math.random() * 10 + "", e.status === 200 && ae({
66
66
  message: "个人信息修改成功",
67
67
  type: "success"
68
68
  });
@@ -74,16 +74,16 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
74
74
  t(L, {
75
75
  ref_key: "userInfoRef",
76
76
  ref: p,
77
- mode: a(l).user,
77
+ mode: s(l).user,
78
78
  "label-width": "80px"
79
79
  }, {
80
- default: s(() => [
80
+ default: a(() => [
81
81
  t(u, {
82
82
  label: e.$t("sysUser.avatar")
83
83
  }, {
84
- default: s(() => [
84
+ default: a(() => [
85
85
  t(C, {
86
- "picture-url": a(l).user.avatar,
86
+ "picture-url": s(l).user.avatar,
87
87
  onImageSrc: j
88
88
  }, null, 8, ["picture-url"])
89
89
  ]),
@@ -92,10 +92,10 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
92
92
  t(u, {
93
93
  label: e.$t("sysUser.phoneNumber")
94
94
  }, {
95
- default: s(() => [
95
+ default: a(() => [
96
96
  t(f, {
97
- modelValue: a(l).user.mobilePhone,
98
- "onUpdate:modelValue": o[0] || (o[0] = (r) => a(l).user.mobilePhone = r),
97
+ modelValue: s(l).user.mobilePhone,
98
+ "onUpdate:modelValue": o[0] || (o[0] = (r) => s(l).user.mobilePhone = r),
99
99
  readonly: ""
100
100
  }, null, 8, ["modelValue"])
101
101
  ]),
@@ -104,31 +104,31 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
104
104
  t(u, {
105
105
  label: e.$t("sysUser.email")
106
106
  }, {
107
- default: s(() => [
107
+ default: a(() => [
108
108
  t(f, {
109
- modelValue: a(l).user.email,
110
- "onUpdate:modelValue": o[1] || (o[1] = (r) => a(l).user.email = r),
109
+ modelValue: s(l).user.email,
110
+ "onUpdate:modelValue": o[1] || (o[1] = (r) => s(l).user.email = r),
111
111
  readonly: ""
112
112
  }, null, 8, ["modelValue"])
113
113
  ]),
114
114
  _: 1
115
115
  }, 8, ["label"]),
116
116
  le("div", re, [
117
- (c(!0), k(N, null, $(a(l).user.userJobs, (r, d) => (c(), h(A, {
117
+ (c(!0), k(N, null, $(s(l).user.userJobs, (r, d) => (c(), h(A, {
118
118
  key: d,
119
119
  style: { width: "100%" }
120
120
  }, {
121
- default: s(() => [
121
+ default: a(() => [
122
122
  t(b, { span: 12 }, {
123
- default: s(() => [
123
+ default: a(() => [
124
124
  t(u, {
125
125
  label: e.$t("sysUser.department"),
126
126
  prop: `userJobs.${d}.deptId`
127
127
  }, {
128
- default: s(() => [
128
+ default: a(() => [
129
129
  t(g, {
130
- modelValue: a(l).user.userJobs[d].deptId,
131
- "onUpdate:modelValue": (_) => a(l).user.userJobs[d].deptId = _,
130
+ modelValue: s(l).user.userJobs[d].deptId,
131
+ "onUpdate:modelValue": (_) => s(l).user.userJobs[d].deptId = _,
132
132
  data: i.value,
133
133
  "render-after-expand": !1,
134
134
  filterable: "",
@@ -143,15 +143,15 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
143
143
  _: 2
144
144
  }, 1024),
145
145
  t(b, { span: 11 }, {
146
- default: s(() => [
146
+ default: a(() => [
147
147
  t(u, {
148
148
  label: e.$t("sysUser.position"),
149
149
  prop: `userJobs.${d}.jobId`
150
150
  }, {
151
- default: s(() => [
151
+ default: a(() => [
152
152
  t(g, {
153
- modelValue: a(l).user.userJobs[d].jobId,
154
- "onUpdate:modelValue": (_) => a(l).user.userJobs[d].jobId = _,
153
+ modelValue: s(l).user.userJobs[d].jobId,
154
+ "onUpdate:modelValue": (_) => s(l).user.userJobs[d].jobId = _,
155
155
  data: v.value,
156
156
  "render-after-expand": !1,
157
157
  filterable: "",
@@ -170,12 +170,12 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
170
170
  span: 1,
171
171
  class: "position-center"
172
172
  }, {
173
- default: s(() => [
173
+ default: a(() => [
174
174
  t(I, {
175
175
  size: "16",
176
176
  onClick: E
177
177
  }, {
178
- default: s(() => [
178
+ default: a(() => [
179
179
  t(q)
180
180
  ]),
181
181
  _: 1
@@ -188,12 +188,12 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
188
188
  span: 1,
189
189
  class: "position-center"
190
190
  }, {
191
- default: s(() => [
191
+ default: a(() => [
192
192
  t(I, {
193
193
  size: "16",
194
194
  onClick: (_) => M(d)
195
195
  }, {
196
- default: s(() => [
196
+ default: a(() => [
197
197
  t(Y)
198
198
  ]),
199
199
  _: 2
@@ -209,10 +209,10 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
209
209
  label: e.$t("sysUser.nickname"),
210
210
  prop: "nickName"
211
211
  }, {
212
- default: s(() => [
212
+ default: a(() => [
213
213
  t(f, {
214
- modelValue: a(l).user.nickName,
215
- "onUpdate:modelValue": o[2] || (o[2] = (r) => a(l).user.nickName = r),
214
+ modelValue: s(l).user.nickName,
215
+ "onUpdate:modelValue": o[2] || (o[2] = (r) => s(l).user.nickName = r),
216
216
  clearable: "",
217
217
  placeholder: e.$t("sysUser.nicknameRequired")
218
218
  }, null, 8, ["modelValue", "placeholder"])
@@ -223,10 +223,10 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
223
223
  label: e.$t("sysUser.fullName"),
224
224
  prop: "realName"
225
225
  }, {
226
- default: s(() => [
226
+ default: a(() => [
227
227
  t(f, {
228
- modelValue: a(l).user.realName,
229
- "onUpdate:modelValue": o[3] || (o[3] = (r) => a(l).user.realName = r),
228
+ modelValue: s(l).user.realName,
229
+ "onUpdate:modelValue": o[3] || (o[3] = (r) => s(l).user.realName = r),
230
230
  clearable: "",
231
231
  placeholder: e.$t("sysUser.fullNameRequired")
232
232
  }, null, 8, ["modelValue", "placeholder"])
@@ -237,15 +237,15 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
237
237
  label: e.$t("sysUser.gender"),
238
238
  prop: "gender"
239
239
  }, {
240
- default: s(() => [
240
+ default: a(() => [
241
241
  t(G, {
242
- modelValue: a(l).user.gender,
243
- "onUpdate:modelValue": o[4] || (o[4] = (r) => a(l).user.gender = r),
242
+ modelValue: s(l).user.gender,
243
+ "onUpdate:modelValue": o[4] || (o[4] = (r) => s(l).user.gender = r),
244
244
  placeholder: e.$t("sysUser.genderRequired"),
245
245
  clearable: ""
246
246
  }, {
247
- default: s(() => [
248
- (c(!0), k(N, null, $(a(D).genderEnum.values, (r) => (c(), h(P, {
247
+ default: a(() => [
248
+ (c(!0), k(N, null, $(s(D).genderEnum.values, (r) => (c(), h(P, {
249
249
  key: r.key,
250
250
  label: r.value,
251
251
  value: r.key
@@ -260,10 +260,10 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
260
260
  label: e.$t("sysUser.birthday"),
261
261
  prop: "birthDate"
262
262
  }, {
263
- default: s(() => [
263
+ default: a(() => [
264
264
  t(O, {
265
- modelValue: a(l).user.birthDate,
266
- "onUpdate:modelValue": o[5] || (o[5] = (r) => a(l).user.birthDate = r),
265
+ modelValue: s(l).user.birthDate,
266
+ "onUpdate:modelValue": o[5] || (o[5] = (r) => s(l).user.birthDate = r),
267
267
  type: "date",
268
268
  placeholder: e.$t("sysUser.birthdayRequired"),
269
269
  format: "YYYY-MM-DD",
@@ -274,13 +274,13 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
274
274
  _: 1
275
275
  }, 8, ["label"]),
276
276
  t(u, null, {
277
- default: s(() => [
277
+ default: a(() => [
278
278
  t(S, {
279
279
  type: "primary",
280
280
  onClick: w
281
281
  }, {
282
- default: s(() => [
283
- te(ae(e.$t("common.save")), 1)
282
+ default: a(() => [
283
+ te(se(e.$t("common.save")), 1)
284
284
  ]),
285
285
  _: 1
286
286
  })
@@ -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-9884a5a1"]]);
296
+ }), ie = /* @__PURE__ */ Z(ne, [["__scopeId", "data-v-cc68cd6e"]]);
297
297
  export {
298
298
  ie as default
299
299
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./runAs.vue_vue_type_script_setup_true_lang-CE3AKpKn.mjs";
1
+ import { _ as f } from "./runAs.vue_vue_type_script_setup_true_lang-DVT9dLOD.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { O as Yn, P as jn, Q as hn, R as Xn, U as $t, V as mn, W as yt, X as gn, Y as Ht, Z as qn, $ as ye, a0 as Vt, a1 as Zn, a2 as et, a3 as de, a4 as oe, a5 as Jn, a6 as Ie, a7 as Qn, a8 as bn, a9 as eo, aa as to, ab as no, ac as oo, ad as rt, ae as Be, af as Le, ag as fe, ah as ao, ai as ro, aj as so, ak as io, al as ie, am as We, an as qe, ao as yn, ap as Et, aq as wt, ar as lo, as as ft, at as uo, au as zt, av as Dt, aw as co, ax as fo, ay as vo, az as po, aA as ho, aB as mo, aC as Ut, aD as Kt, aE as Wt, aF as go, a as _e, aG as bo, aH as yo, _ as Eo, aI as wo, E as So } from "./index-wvG4Qrkd.mjs";
1
+ import { O as Yn, P as jn, Q as hn, R as Xn, U as $t, V as mn, W as yt, X as gn, Y as Ht, Z as qn, $ as ye, a0 as Vt, a1 as Zn, a2 as et, a3 as de, a4 as oe, a5 as Jn, a6 as Ie, a7 as Qn, a8 as bn, a9 as eo, aa as to, ab as no, ac as oo, ad as rt, ae as Be, af as Le, ag as fe, ah as ao, ai as ro, aj as so, ak as io, al as ie, am as We, an as qe, ao as yn, ap as Et, aq as wt, ar as lo, as as ft, at as uo, au as zt, av as Dt, aw as co, ax as fo, ay as vo, az as po, aA as ho, aB as mo, aC as Ut, aD as Kt, aE as Wt, aF as go, a as _e, aG as bo, aH as yo, _ as Eo, aI as wo, E as So } from "./index-CmF7Kcr8.mjs";
2
2
  import { computed as y, getCurrentInstance as Re, inject as ve, unref as d, ref as x, onMounted as pe, watch as Y, toRef as Ze, onUnmounted as Co, shallowRef as Ge, nextTick as D, defineComponent as Q, useAttrs as To, useSlots as En, createElementBlock as L, openBlock as b, normalizeStyle as Je, normalizeClass as S, createCommentVNode as I, Fragment as Ye, createElementVNode as H, renderSlot as G, createBlock as A, withCtx as B, resolveDynamicComponent as K, mergeProps as vt, withModifiers as ke, toDisplayString as W, onBeforeUnmount as Pe, provide as wn, Text as ko, reactive as St, createVNode as J, h as Io, watchEffect as Mo, isRef as Ao, onScopeDispose as xo, markRaw as pt, toRefs as Bo, resolveComponent as ge, Transition as No, withDirectives as Me, withKeys as $e, vShow as Ae, createTextVNode as xe, isVNode as Sn, render as Cn, useModel as Lo } from "vue";
3
3
  function Ro(e) {
4
4
  return e;