@witlink/usercenter 1.2.6 → 1.2.7

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.
@@ -1,8 +1,8 @@
1
- import { defineComponent as T, ref as b, computed as L, openBlock as f, createBlock as R, withCtx as o, renderSlot as Q, createElementVNode as E, normalizeClass as ee, createElementBlock as I, watch as ae, onMounted as K, createVNode as t, Fragment as j, renderList as oe, createTextVNode as k, toDisplayString as z, reactive as F, createCommentVNode as $, mergeProps as te, resolveComponent as x, withDirectives as _e, unref as ye, vShow as fe } from "vue";
2
- import { d as ve, O as be, _ as D, Q as he, R as le, U as re, V as we, y as O, W as H, X as Ce, o as ne, p as se, H as ue, K as de, F as ie, S as Ae, B as Ne, Y as me, h as ke, z as Ie, Z as Pe, G as ze, $ as Ue, a0 as $e, a1 as Re } from "./index.f2d73da3.mjs";
1
+ import { defineComponent as T, ref as b, computed as V, openBlock as f, createBlock as R, withCtx as o, renderSlot as Q, createElementVNode as E, normalizeClass as ee, createElementBlock as I, watch as ae, onMounted as K, createVNode as t, Fragment as j, renderList as oe, createTextVNode as k, toDisplayString as z, reactive as F, createCommentVNode as $, mergeProps as te, resolveComponent as x, withDirectives as _e, unref as ye, vShow as fe } from "vue";
2
+ import { d as ve, Q as be, _ as D, R as he, U as le, V as re, W as we, z as O, X as H, Y as Ce, p as ne, q as se, K as ue, L as de, F as ie, S as Ae, B as Ne, Z as me, h as ke, G as Ie, $ as Pe, H as ze, a0 as Ue, a1 as $e, a2 as Re } from "./index.3188d9c8.mjs";
3
3
  import { useI18n as W } from "vue-i18n";
4
- import { R as qe } from "./RegionSelect.af66fae0.mjs";
5
- import { _ as Se } from "./index.7381010f.mjs";
4
+ import { R as qe } from "./RegionSelect.3791e16e.mjs";
5
+ import { _ as Se } from "./index.77c11f9b.mjs";
6
6
  import { message as Te } from "ant-design-vue";
7
7
  import './assets/index.b965b94b.css';const De = /* @__PURE__ */ T({
8
8
  __name: "index",
@@ -13,7 +13,7 @@ import './assets/index.b965b94b.css';const De = /* @__PURE__ */ T({
13
13
  }
14
14
  },
15
15
  setup(n) {
16
- const m = ve(), r = n, g = b(!1), c = L(() => m.userLanguage), u = L(() => c.value === "en_US"), v = L(() => {
16
+ const m = ve(), r = n, g = b(!1), c = V(() => m.userLanguage), u = V(() => c.value === "en_US"), v = V(() => {
17
17
  let e = "ctrl-wrapper";
18
18
  return typeof r.className == "string" || Array.isArray(r.className) ? e = ["ctrl-wrapper"].concat(r.className) : typeof r.className == "object" && (e = {
19
19
  "ctrl-wrapper": !0,
@@ -186,14 +186,14 @@ function Fe(n) {
186
186
  params: n
187
187
  });
188
188
  }
189
- function Ve(n) {
189
+ function Le(n) {
190
190
  return O({
191
191
  url: "/api/sys/org/search-list",
192
192
  method: "get",
193
193
  params: n
194
194
  });
195
195
  }
196
- function Le(n) {
196
+ function Ve(n) {
197
197
  return O({
198
198
  url: "/api/sys/org/delete",
199
199
  method: "post",
@@ -387,7 +387,7 @@ const Ge = /* @__PURE__ */ T({
387
387
  return K(() => {
388
388
  h(c.params);
389
389
  }), (a, l) => {
390
- const P = ne, p = se, s = ue, A = de, S = Se, M = ie, Y = Ae, V = Ne, G = me;
390
+ const P = ne, p = se, s = ue, A = de, S = Se, M = ie, Y = Ae, L = Ne, G = me;
391
391
  return f(), R(G, {
392
392
  bordered: !1,
393
393
  title: n.params.opType == "1" ? a.$t("org.title") : a.$t("org.title4")
@@ -775,14 +775,14 @@ const Ge = /* @__PURE__ */ T({
775
775
  }, 8, ["spinning"]),
776
776
  t(Ce, { style: { width: "100%" } }, {
777
777
  default: o(() => [
778
- t(V, { onClick: y }, {
778
+ t(L, { onClick: y }, {
779
779
  default: o(() => [
780
780
  k(z(a.$t("common.btn_cancel")), 1)
781
781
  ]),
782
782
  _: 1
783
783
  }),
784
784
  l[12] || (l[12] = k("\xA0\xA0 ")),
785
- t(V, {
785
+ t(L, {
786
786
  onClick: C,
787
787
  type: "primary"
788
788
  }, {
@@ -908,7 +908,7 @@ const Qe = /* @__PURE__ */ D(Ge, [["__scopeId", "data-v-bc1e3beb"], ["__file", "
908
908
  opType: "",
909
909
  orgId: ""
910
910
  }), i = async (s) => {
911
- const A = Object.assign(s, _), { result: S } = await Ve(A);
911
+ const A = Object.assign(s, _), { result: S } = await Le(A);
912
912
  return S;
913
913
  }, N = () => {
914
914
  c.value = !1;
@@ -926,14 +926,14 @@ const Qe = /* @__PURE__ */ D(Ge, [["__scopeId", "data-v-bc1e3beb"], ["__file", "
926
926
  }, q = (s) => {
927
927
  h("3"), v.value = s, c.value = !0;
928
928
  }, a = (s) => {
929
- Le({ orgId: s.orgId }).then(() => {
929
+ Ve({ orgId: s.orgId }).then(() => {
930
930
  g.value.refresh(), Te.success(m("assetclass.del_success"));
931
931
  });
932
932
  }, l = () => {
933
933
  h("0"), u.value = !1, g.value.refresh();
934
934
  }, P = () => {
935
935
  u.value = !1;
936
- }, p = L(() => [
936
+ }, p = V(() => [
937
937
  {
938
938
  title: m("device.index1"),
939
939
  width: "50px",
@@ -1001,7 +1001,7 @@ const Qe = /* @__PURE__ */ D(Ge, [["__scopeId", "data-v-bc1e3beb"], ["__file", "
1001
1001
  }
1002
1002
  ]);
1003
1003
  return (s, A) => {
1004
- const S = Ue, M = x("uc-btn-add"), Y = ue, V = de, G = x("uc-pick-label"), d = x("uc-btn-edit"), X = $e, pe = x("uc-btn-reset-pwd"), ce = x("uc-btn-remove"), ge = me;
1004
+ const S = Ue, M = x("uc-btn-add"), Y = ue, L = de, G = x("uc-pick-label"), d = x("uc-btn-edit"), X = $e, pe = x("uc-btn-reset-pwd"), ce = x("uc-btn-remove"), ge = me;
1005
1005
  return f(), I("div", null, [
1006
1006
  t(ge, null, {
1007
1007
  default: o(() => [
@@ -1026,7 +1026,7 @@ const Qe = /* @__PURE__ */ D(Ge, [["__scopeId", "data-v-bc1e3beb"], ["__file", "
1026
1026
  })
1027
1027
  ]),
1028
1028
  E("div", Je, [
1029
- t(V, null, {
1029
+ t(L, null, {
1030
1030
  default: o(() => [
1031
1031
  t(Y, { md: 16 }, {
1032
1032
  default: o(() => [
@@ -1,9 +1,9 @@
1
- import { bi as a, bj as b, bk as n, bl as o, bn as r, bm as g, be as t, bg as h, bh as m, bf as y } from "./index.f2d73da3.mjs";
1
+ import { bj as a, bk as o, bl as b, bm as n, bo as r, bn as g, bf as t, bh as h, bi as m, bg as y } from "./index.3188d9c8.mjs";
2
2
  export {
3
3
  a as SysFunctions,
4
- b as SysOrgan,
5
- n as SysRole,
6
- o as SysUser,
4
+ o as SysOrgan,
5
+ b as SysRole,
6
+ n as SysUser,
7
7
  r as UserCenter,
8
8
  g as changeLanguage,
9
9
  t as changeTheme,