@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.
- package/README.md +3 -2
- package/dist/{RegionSelect.af66fae0.mjs → RegionSelect.3791e16e.mjs} +1 -1
- package/dist/{UpOutlined.04b2108e.mjs → UpOutlined.07b7d748.mjs} +1 -1
- package/dist/{index.ca53b811.mjs → index.01fcde3a.mjs} +1 -1
- package/dist/{index.f8723642.mjs → index.0214f88b.mjs} +74 -69
- package/dist/{index.ba1785ba.mjs → index.13dbe5bb.mjs} +2 -2
- package/dist/{index.f2d73da3.mjs → index.3188d9c8.mjs} +130 -132
- package/dist/{index.61da1f51.mjs → index.558278fa.mjs} +1 -1
- package/dist/{index.7381010f.mjs → index.77c11f9b.mjs} +2 -2
- package/dist/{index.4a0a23bd.mjs → index.8952bb11.mjs} +10 -10
- package/dist/{index.82d36d39.mjs → index.8bbe2ca7.mjs} +27 -27
- package/dist/{index.ba728c96.mjs → index.937fb591.mjs} +1 -1
- package/dist/{index.db1786f2.mjs → index.d193e992.mjs} +1 -1
- package/dist/{index.dcca7299.mjs → index.d9701a76.mjs} +15 -15
- package/dist/usercenter.es.js +4 -4
- package/dist/usercenter.umd.js +3 -3
- package/package.json +1 -1
@@ -1,8 +1,8 @@
|
|
1
|
-
import { defineComponent as T, ref as b, computed as
|
2
|
-
import { d as ve,
|
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.
|
5
|
-
import { _ as Se } from "./index.
|
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 =
|
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
|
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
|
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,
|
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(
|
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(
|
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
|
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
|
-
|
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 =
|
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,
|
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(
|
1029
|
+
t(L, null, {
|
1030
1030
|
default: o(() => [
|
1031
1031
|
t(Y, { md: 16 }, {
|
1032
1032
|
default: o(() => [
|
package/dist/usercenter.es.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
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
|
-
|
5
|
-
|
6
|
-
|
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,
|