@witlink/usercenter 1.1.39 → 1.1.41
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/{RegionSelect.5000a3d7.mjs → RegionSelect.7a0fedc5.mjs} +1 -1
- package/dist/{UpOutlined.ce0a499b.mjs → UpOutlined.f48f7084.mjs} +1 -1
- package/dist/assets/index.857022a9.css +1 -0
- package/dist/{index.d4ca3d82.mjs → index.019de39c.mjs} +4 -3
- package/dist/{index.738ec027.mjs → index.0cd14a27.mjs} +113 -123
- package/dist/{index.ada55993.mjs → index.18018f9f.mjs} +1 -1
- package/dist/{index.d83edaf9.mjs → index.1b0a4457.mjs} +1 -1
- package/dist/{index.d1e3864a.mjs → index.4ea74bdf.mjs} +2 -2
- package/dist/{index.e36e76ad.mjs → index.50875c0d.mjs} +1 -1
- package/dist/{index.7c8b3c1b.mjs → index.8ee285bf.mjs} +2 -2
- package/dist/{index.18b3c4ca.mjs → index.a37ac060.mjs} +1 -1
- package/dist/index.a64f614b.mjs +393 -0
- package/dist/{index.6792322e.mjs → index.ac6ee6f1.mjs} +132 -95
- package/dist/{index.b1d79192.mjs → index.ee9991d4.mjs} +1 -1
- package/dist/usercenter.es.js +1 -1
- package/dist/usercenter.umd.js +66 -54
- package/package.json +1 -1
- package/dist/Standard.bdead4bb.mjs +0 -113
- package/dist/WebClient.0c21dd5b.mjs +0 -155
- package/dist/assets/Standard.badeec91.css +0 -1
- package/dist/assets/WebClient.3b709666.css +0 -1
- package/dist/assets/index.28bdbdc3.css +0 -1
- package/dist/index.2e0ba979.mjs +0 -142
@@ -203,7 +203,7 @@ function createPersistedState(C = {}) {
|
|
203
203
|
};
|
204
204
|
}
|
205
205
|
var src_default = createPersistedState();
|
206
|
-
const APIBASEURL = "/usercenter/", TIMEOUT =
|
206
|
+
const APIBASEURL = "/usercenter/", TIMEOUT = 30 * 1e3, ACCESS_TOKEN = "Access-Token", DEFAULT_CACHE_TIME = null, TOKEN_PREFIX = "witlink_uc_", baseSysConfig = {
|
207
207
|
primaryColor: "#52C41A",
|
208
208
|
navTheme: "light",
|
209
209
|
layout: "sidemenu",
|
@@ -2203,22 +2203,22 @@ const useAppStore = defineStore({
|
|
2203
2203
|
{
|
2204
2204
|
path: "/login",
|
2205
2205
|
name: "login",
|
2206
|
-
component: () => import("./index.
|
2206
|
+
component: () => import("./index.019de39c.mjs")
|
2207
2207
|
},
|
2208
2208
|
{
|
2209
2209
|
path: "/index",
|
2210
2210
|
name: "index",
|
2211
|
-
component: () => import("./index.
|
2211
|
+
component: () => import("./index.18018f9f.mjs")
|
2212
2212
|
},
|
2213
2213
|
{
|
2214
2214
|
path: "/dashboard",
|
2215
2215
|
name: "dashboard",
|
2216
|
-
component: () => import("./index.
|
2216
|
+
component: () => import("./index.ee9991d4.mjs")
|
2217
2217
|
},
|
2218
2218
|
{
|
2219
2219
|
path: "/404",
|
2220
2220
|
name: "404",
|
2221
|
-
component: () => import("./index.
|
2221
|
+
component: () => import("./index.50875c0d.mjs"),
|
2222
2222
|
meta: {
|
2223
2223
|
title: "404 \u627E\u4E0D\u5230\u9875\u9762"
|
2224
2224
|
}
|
@@ -29984,7 +29984,7 @@ const formItemProps = () => ({
|
|
29984
29984
|
tooltip: String
|
29985
29985
|
});
|
29986
29986
|
let indexGuid$1 = 0;
|
29987
|
-
const defaultItemNamePrefixCls = "form_item",
|
29987
|
+
const defaultItemNamePrefixCls = "form_item", __unplugin_components_1$3 = defineComponent({
|
29988
29988
|
compatConfig: {
|
29989
29989
|
MODE: 3
|
29990
29990
|
},
|
@@ -30436,7 +30436,7 @@ const Form = defineComponent({
|
|
30436
30436
|
hideRequiredMark: !1,
|
30437
30437
|
colon: !0
|
30438
30438
|
}),
|
30439
|
-
Item:
|
30439
|
+
Item: __unplugin_components_1$3,
|
30440
30440
|
useForm,
|
30441
30441
|
setup(C, H) {
|
30442
30442
|
let {
|
@@ -31274,7 +31274,7 @@ const Checkbox = defineComponent({
|
|
31274
31274
|
}), null), he.length ? createVNode("span", null, [he]) : null]));
|
31275
31275
|
};
|
31276
31276
|
}
|
31277
|
-
}), __unplugin_components_3$
|
31277
|
+
}), __unplugin_components_3$5 = defineComponent({
|
31278
31278
|
compatConfig: {
|
31279
31279
|
MODE: 3
|
31280
31280
|
},
|
@@ -31354,9 +31354,9 @@ const Checkbox = defineComponent({
|
|
31354
31354
|
};
|
31355
31355
|
}
|
31356
31356
|
});
|
31357
|
-
Checkbox.Group = __unplugin_components_3$
|
31357
|
+
Checkbox.Group = __unplugin_components_3$5;
|
31358
31358
|
Checkbox.install = function(C) {
|
31359
|
-
return C.component(Checkbox.name, Checkbox), C.component(__unplugin_components_3$
|
31359
|
+
return C.component(Checkbox.name, Checkbox), C.component(__unplugin_components_3$5.name, __unplugin_components_3$5), C;
|
31360
31360
|
};
|
31361
31361
|
const __unplugin_components_2$4 = withInstall(Col);
|
31362
31362
|
let runtimeLocale = _extends$1({}, en_US.Modal);
|
@@ -33430,7 +33430,7 @@ Tag.CheckableTag = CheckableTag$1;
|
|
33430
33430
|
Tag.install = function(C) {
|
33431
33431
|
return C.component(Tag.name, Tag), C.component(CheckableTag$1.name, CheckableTag$1), C;
|
33432
33432
|
};
|
33433
|
-
const __unplugin_components_1$
|
33433
|
+
const __unplugin_components_1$2 = Tag;
|
33434
33434
|
var ClockCircleOutlined$2 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { tag: "path", attrs: { d: "M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z" } }] }, name: "clock-circle", theme: "outlined" };
|
33435
33435
|
const ClockCircleOutlinedSvg = ClockCircleOutlined$2;
|
33436
33436
|
function _objectSpread$B(C) {
|
@@ -33647,7 +33647,7 @@ const ClockCircleOutlined$1 = ClockCircleOutlined, genSharedDividerStyle = (C) =
|
|
33647
33647
|
}, [ie]) : null]));
|
33648
33648
|
};
|
33649
33649
|
}
|
33650
|
-
}), __unplugin_components_3$
|
33650
|
+
}), __unplugin_components_3$4 = withInstall(Divider);
|
33651
33651
|
Dropdown$1.Button = __unplugin_components_2$6;
|
33652
33652
|
Dropdown$1.install = function(C) {
|
33653
33653
|
return C.component(Dropdown$1.name, Dropdown$1), C.component(__unplugin_components_2$6.name, __unplugin_components_2$6), C;
|
@@ -34545,7 +34545,7 @@ const PlacementTypes = ["top", "right", "bottom", "left"], defaultPushState = {
|
|
34545
34545
|
}));
|
34546
34546
|
};
|
34547
34547
|
}
|
34548
|
-
}), __unplugin_components_3$
|
34548
|
+
}), __unplugin_components_3$3 = withInstall(Drawer), isValid$1 = (C) => C != null && (Array.isArray(C) ? filterEmpty(C).length : !0);
|
34549
34549
|
function hasPrefixSuffix(C) {
|
34550
34550
|
return isValid$1(C.prefix) || isValid$1(C.suffix) || isValid$1(C.allowClear);
|
34551
34551
|
}
|
@@ -39003,7 +39003,7 @@ const paginationProps = () => ({
|
|
39003
39003
|
description: PropTypes$1.any,
|
39004
39004
|
prefixCls: String,
|
39005
39005
|
title: PropTypes$1.any
|
39006
|
-
}), __unplugin_components_1$
|
39006
|
+
}), __unplugin_components_1$1 = defineComponent({
|
39007
39007
|
compatConfig: {
|
39008
39008
|
MODE: 3
|
39009
39009
|
},
|
@@ -39054,13 +39054,13 @@ const listItemProps$1 = () => ({
|
|
39054
39054
|
type: Object,
|
39055
39055
|
default: void 0
|
39056
39056
|
}
|
39057
|
-
}), __unplugin_components_3$
|
39057
|
+
}), __unplugin_components_3$2 = defineComponent({
|
39058
39058
|
compatConfig: {
|
39059
39059
|
MODE: 3
|
39060
39060
|
},
|
39061
39061
|
name: "AListItem",
|
39062
39062
|
inheritAttrs: !1,
|
39063
|
-
Meta: __unplugin_components_1$
|
39063
|
+
Meta: __unplugin_components_1$1,
|
39064
39064
|
props: listItemProps$1(),
|
39065
39065
|
slots: Object,
|
39066
39066
|
setup(C, H) {
|
@@ -39437,7 +39437,7 @@ const listItemProps$1 = () => ({
|
|
39437
39437
|
},
|
39438
39438
|
name: "AList",
|
39439
39439
|
inheritAttrs: !1,
|
39440
|
-
Item: __unplugin_components_3$
|
39440
|
+
Item: __unplugin_components_3$2,
|
39441
39441
|
props: initDefaultProps$1(listProps(), {
|
39442
39442
|
dataSource: [],
|
39443
39443
|
bordered: !1,
|
@@ -41393,7 +41393,7 @@ const StarFilled$1 = StarFilled, starProps = {
|
|
41393
41393
|
}), [De]));
|
41394
41394
|
};
|
41395
41395
|
}
|
41396
|
-
}), __unplugin_components_0$1 = withInstall(Rate), __unplugin_components_3 = withInstall(Row), genSwitchSmallStyle = (C) => {
|
41396
|
+
}), __unplugin_components_0$1 = withInstall(Rate), __unplugin_components_3$1 = withInstall(Row), genSwitchSmallStyle = (C) => {
|
41397
41397
|
const {
|
41398
41398
|
componentCls: H
|
41399
41399
|
} = C, U = `${H}-inner`;
|
@@ -46312,7 +46312,7 @@ const DirectoryTree = defineComponent({
|
|
46312
46312
|
}), W);
|
46313
46313
|
};
|
46314
46314
|
}
|
46315
|
-
}), TreeNode = VcTreeNode, __unplugin_components_1
|
46315
|
+
}), TreeNode = VcTreeNode, __unplugin_components_1 = _extends$1(Tree, {
|
46316
46316
|
DirectoryTree,
|
46317
46317
|
TreeNode,
|
46318
46318
|
install: (C) => (C.component(Tree.name, Tree), C.component(TreeNode.name, TreeNode), C.component(DirectoryTree.name, DirectoryTree), C)
|
@@ -46583,7 +46583,7 @@ const FilterDropdown = defineComponent({
|
|
46583
46583
|
indeterminate: Re.length > 0 && Re.length < te.value.length
|
46584
46584
|
}, {
|
46585
46585
|
default: () => [je.filterCheckall]
|
46586
|
-
}) : null, createVNode(__unplugin_components_1
|
46586
|
+
}) : null, createVNode(__unplugin_components_1, {
|
46587
46587
|
checkable: !0,
|
46588
46588
|
selectable: !1,
|
46589
46589
|
blockNode: !0,
|
@@ -50219,7 +50219,7 @@ const Dragger = defineComponent({
|
|
50219
50219
|
return createVNode(Upload, ne, U);
|
50220
50220
|
};
|
50221
50221
|
}
|
50222
|
-
}),
|
50222
|
+
}), __unplugin_components_3 = _extends$1(Upload, {
|
50223
50223
|
Dragger,
|
50224
50224
|
LIST_IGNORE,
|
50225
50225
|
install(C) {
|
@@ -58114,7 +58114,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
58114
58114
|
}), onBeforeUnmount(() => {
|
58115
58115
|
X && clearTimeout(X);
|
58116
58116
|
}), ($e, xe) => {
|
58117
|
-
const _e = Button$1, Se = Input, Ae =
|
58117
|
+
const _e = Button$1, Se = Input, Ae = __unplugin_components_1$3, we = __unplugin_components_0$1, Oe = Form$1, Me = Modal;
|
58118
58118
|
return openBlock(), createBlock(Me, {
|
58119
58119
|
maskClosable: !1,
|
58120
58120
|
width: 500,
|
@@ -58795,7 +58795,7 @@ const bus = mitt(), _hoisted_1$w = {
|
|
58795
58795
|
W.value = !1;
|
58796
58796
|
}, 16), H.color !== baseSysConfig.primaryColor && updateTheme(H.color), H.colorWeak !== baseSysConfig.colorWeak && updateColorWeak(H.colorWeak), bus.on("toggle", ie);
|
58797
58797
|
}), (ue, me) => {
|
58798
|
-
const ge = __unplugin_components_0$5, he = __unplugin_components_1$
|
58798
|
+
const ge = __unplugin_components_0$5, he = __unplugin_components_1$2, pe = __unplugin_components_3$4, ve = SelectOption, be = Select, $e = __unplugin_components_1$1, xe = __unplugin_components_3$2, _e = __unplugin_components_2, Se = __unplugin_components_4, Ae = __unplugin_components_9, we = __unplugin_components_3$3;
|
58799
58799
|
return openBlock(), createElementBlock(Fragment, null, [
|
58800
58800
|
createCommentVNode(" \u4E34\u65F6\u89E3\u51B3F5\u5237\u65B0\u65F6,\u8BBE\u7F6E\u62BD\u5C49\u95EA\u73B0\u95EE\u9898,\u5982\u9700\u5F00\u542F,\u8BF7\u5C06\u4E0B\u9762\u7684\u4EE3\u7801\u653E\u5F00 "),
|
58801
58801
|
createCommentVNode(' <div class="setting-drawer" ref="settingDrawer" > '),
|
@@ -59349,7 +59349,7 @@ const bus = mitt(), _hoisted_1$w = {
|
|
59349
59349
|
const ae = re(ie);
|
59350
59350
|
ae == null ? U.push("/404") : H.path !== ae.path && U.push(ae.path);
|
59351
59351
|
}), (ie, ae) => {
|
59352
|
-
const se = __unplugin_components_3$
|
59352
|
+
const se = __unplugin_components_3$4, ce = __unplugin_components_0$4, fe = __unplugin_components_4$1, ue = Menu, me = Dropdown$1, ge = Tabs, he = resolveComponent("router-view");
|
59353
59353
|
return openBlock(), createElementBlock("div", {
|
59354
59354
|
style: normalizeStyle$1(ie.$route.meta.pageHeader ? null : "padding: -24px -24px 0px;"),
|
59355
59355
|
class: "page-layout"
|
@@ -59454,7 +59454,7 @@ const bus = mitt(), _hoisted_1$w = {
|
|
59454
59454
|
TabsLayout
|
59455
59455
|
};
|
59456
59456
|
let router = null;
|
59457
|
-
const viewModules = /* @__PURE__ */ Object.assign({ "/src/views/dashboard/index.vue": () => import("./index.
|
59457
|
+
const viewModules = /* @__PURE__ */ Object.assign({ "/src/views/dashboard/index.vue": () => import("./index.ee9991d4.mjs"), "/src/views/error/404/index.vue": () => import("./index.50875c0d.mjs"), "/src/views/index/index.vue": () => import("./index.18018f9f.mjs"), "/src/views/login/index.vue": () => import("./index.019de39c.mjs"), "/src/views/sys/dictionary/index.vue": () => import("./index.1b0a4457.mjs"), "/src/views/sys/functions/index.vue": () => Promise.resolve().then(() => index$7), "/src/views/sys/lang/index.vue": () => import("./index.a37ac060.mjs"), "/src/views/sys/org/index.vue": () => import("./index.0cd14a27.mjs"), "/src/views/sys/organ/index.vue": () => Promise.resolve().then(() => index$5), "/src/views/sys/parameter/index.vue": () => import("./index.a64f614b.mjs"), "/src/views/sys/role/index.vue": () => Promise.resolve().then(() => index$3), "/src/views/sys/user/index.vue": () => Promise.resolve().then(() => index$1), "/src/views/sys/userinfo/index.vue": () => import("./index.4ea74bdf.mjs") });
|
59458
59458
|
function hasPermission(C, H) {
|
59459
59459
|
if (H.meta && H.meta.permission) {
|
59460
59460
|
let U = !1;
|
@@ -59491,7 +59491,7 @@ function addRoutes(C, H = "") {
|
|
59491
59491
|
}
|
59492
59492
|
});
|
59493
59493
|
}
|
59494
|
-
function getBrowserLang() {
|
59494
|
+
function getBrowserLang$1() {
|
59495
59495
|
return (navigator.language || navigator.languages && navigator.languages[0] || "en-US").toLowerCase() === "zh-cn" ? "zh_CN" : "en_US";
|
59496
59496
|
}
|
59497
59497
|
const useUserStore = defineStore({
|
@@ -59543,9 +59543,14 @@ const useUserStore = defineStore({
|
|
59543
59543
|
}
|
59544
59544
|
}), Z.permissionList = Z.permissions.map((oe) => oe.permissionId);
|
59545
59545
|
const ne = Z.roleTypeId === "0", ee = Q ? Q.some((oe) => oe.roleTypeId === "0") : !1, te = ne || ee;
|
59546
|
-
this.userLanguage = W.userLanguage || getBrowserLang(), this.userId = W.userId, this.moneyUnit = W.monetaryyUnit, this.timezone = W.timezone, this.branchId = W.branchId, this.dateFormat = W.dateFormat, this.mobile = W.mobile, this.email = W.email, this.roles = [W.role], this.roleIdOthers = W.roleIdOthers, this.changePwd = W.changePwd, this.info = W, this.buttonPermission = G, this.name = W.name, this.welcome = W.name, this.isWarehouseManager = te, this.avatar = "usercenter/" + W.avatar;
|
59547
|
-
} else
|
59546
|
+
this.userLanguage = W.userLanguage || getBrowserLang$1(), this.userId = W.userId, this.moneyUnit = W.monetaryyUnit, this.timezone = W.timezone, this.branchId = W.branchId, this.dateFormat = W.dateFormat, this.mobile = W.mobile, this.email = W.email, this.roles = [W.role], this.roleIdOthers = W.roleIdOthers, this.changePwd = W.changePwd, this.info = W, this.buttonPermission = G, this.name = W.name, this.welcome = W.name, this.isWarehouseManager = te, this.avatar = "usercenter/" + W.avatar;
|
59547
|
+
} else {
|
59548
59548
|
H("getInfo: roles must be a non-null array !");
|
59549
|
+
const Z = $lang("login", "noperssionInfo");
|
59550
|
+
message$1.error(Z), storage.remove(ACCESS_TOKEN), setTimeout(() => {
|
59551
|
+
window.location.href = window.location.origin + "/#/login";
|
59552
|
+
}, 500);
|
59553
|
+
}
|
59549
59554
|
C(U);
|
59550
59555
|
}).catch((U) => {
|
59551
59556
|
H(U);
|
@@ -59958,6 +59963,9 @@ const DatePicker$1 = locale$3, typeTemplate$1 = "${label}\u4E0D\u662F\u4E00\u4E2
|
|
59958
59963
|
}, fr_FR = localeValues;
|
59959
59964
|
let i18n, langList = null;
|
59960
59965
|
const localMap = /* @__PURE__ */ new Map();
|
59966
|
+
function getBrowserLang() {
|
59967
|
+
return (navigator.language || navigator.languages && navigator.languages[0] || "en-US").toLowerCase() === "zh-cn" ? "zh_CN" : "en_US";
|
59968
|
+
}
|
59961
59969
|
function setI18n$1(C) {
|
59962
59970
|
i18n = C;
|
59963
59971
|
}
|
@@ -59990,6 +59998,7 @@ async function loadLangs() {
|
|
59990
59998
|
}
|
59991
59999
|
async function changeLang({ langId: C }) {
|
59992
60000
|
var U;
|
60001
|
+
C || (C = getBrowserLang());
|
59993
60002
|
const H = useUserStore();
|
59994
60003
|
if (H.setUserLanguage(C), ((U = H.roles) == null ? void 0 : U.length) !== 0 && C === i18n.global.locale.value)
|
59995
60004
|
return C;
|
@@ -60349,7 +60358,7 @@ const index_vue_vue_type_style_index_0_scoped_6ed6a16f_lang = "", _sfc_main$D =
|
|
60349
60358
|
}), onMounted(() => {
|
60350
60359
|
te();
|
60351
60360
|
}), (ae, se) => {
|
60352
|
-
const ce = __unplugin_components_1
|
60361
|
+
const ce = __unplugin_components_1;
|
60353
60362
|
return openBlock(), createElementBlock("div", null, [
|
60354
60363
|
createVNode(ce, {
|
60355
60364
|
loadData: oe,
|
@@ -60476,7 +60485,7 @@ const index_vue_vue_type_style_index_0_scoped_6ed6a16f_lang = "", _sfc_main$D =
|
|
60476
60485
|
), onMounted(() => {
|
60477
60486
|
te();
|
60478
60487
|
}), (le, ie) => {
|
60479
|
-
const ae = Input, se =
|
60488
|
+
const ae = Input, se = __unplugin_components_1$3, ce = __unplugin_components_3$5, fe = Form$1, ue = Button$1, me = Spin;
|
60480
60489
|
return openBlock(), createBlock(me, { spinning: ne.value }, {
|
60481
60490
|
default: withCtx(() => [
|
60482
60491
|
createVNode(fe, {
|
@@ -60739,7 +60748,7 @@ const _hoisted_1$s = { class: "functions-wrap" }, _hoisted_2$7 = { style: { padd
|
|
60739
60748
|
deep: !0
|
60740
60749
|
}
|
60741
60750
|
), (Me, De) => {
|
60742
|
-
const Ne = __unplugin_components_2$4, Le = resolveComponent("uc-btn-add"), Ie = Form$1, Re = resolveComponent("uc-btn-switch"), Fe = resolveComponent("uc-btn-edit"), je = __unplugin_components_3$
|
60751
|
+
const Ne = __unplugin_components_2$4, Le = resolveComponent("uc-btn-add"), Ie = Form$1, Re = resolveComponent("uc-btn-switch"), Fe = resolveComponent("uc-btn-edit"), je = __unplugin_components_3$4, He = resolveComponent("uc-btn-remove"), We = __unplugin_components_0$5, Ge = Card$1, Ze = __unplugin_components_3$1, Xe = __unplugin_components_2$3;
|
60743
60752
|
return openBlock(), createBlock(Xe, {
|
60744
60753
|
locale: unref(antLocaleMap)[unref(U).userLanguage],
|
60745
60754
|
theme: {
|
@@ -74313,7 +74322,21 @@ const _hoisted_1$r = { class: "textarea-wrapper" }, _sfc_main$x = /* @__PURE__ *
|
|
74313
74322
|
type: ee.type,
|
74314
74323
|
opType: ee.opType
|
74315
74324
|
});
|
74316
|
-
const ae = await (ee.opType == "1" ? setOrganInsertDepartment(
|
74325
|
+
const ae = await (ee.opType == "1" ? setOrganInsertDepartment(
|
74326
|
+
JSON.stringify({
|
74327
|
+
id: ne.id,
|
74328
|
+
name: ne.name,
|
74329
|
+
remarks: ne.remarks,
|
74330
|
+
type: ne.type
|
74331
|
+
})
|
74332
|
+
) : setOrganUpdateDepartment(
|
74333
|
+
JSON.stringify({
|
74334
|
+
id: ne.id,
|
74335
|
+
name: ne.name,
|
74336
|
+
remarks: ne.remarks,
|
74337
|
+
type: ne.type
|
74338
|
+
})
|
74339
|
+
));
|
74317
74340
|
Z.value = !1, ae && (message$1.success(
|
74318
74341
|
`${ne.name} ${ee.opType == "1" ? W("organ.ins_successtip") : W("organ.up_successtip")}`,
|
74319
74342
|
5
|
@@ -74323,7 +74346,7 @@ const _hoisted_1$r = { class: "textarea-wrapper" }, _sfc_main$x = /* @__PURE__ *
|
|
74323
74346
|
return H({
|
74324
74347
|
showModal: le
|
74325
74348
|
}), (ae, se) => {
|
74326
|
-
const ce = Button$1, fe = Input, ue =
|
74349
|
+
const ce = Button$1, fe = Input, ue = __unplugin_components_1$3, me = Form$1, ge = Modal;
|
74327
74350
|
return openBlock(), createElementBlock("div", null, [
|
74328
74351
|
createElementVNode("div", { spinning: Z.value }, [
|
74329
74352
|
createVNode(ge, {
|
@@ -74460,7 +74483,21 @@ const _hoisted_1$r = { class: "textarea-wrapper" }, _sfc_main$x = /* @__PURE__ *
|
|
74460
74483
|
opType: ee.opType
|
74461
74484
|
});
|
74462
74485
|
let ae = null;
|
74463
|
-
ee.opType == "1" ? ae = await setOrganInsertBranch(
|
74486
|
+
ee.opType == "1" ? ae = await setOrganInsertBranch(
|
74487
|
+
JSON.stringify({
|
74488
|
+
id: Q.id,
|
74489
|
+
name: Q.name,
|
74490
|
+
remarks: Q.remarks,
|
74491
|
+
type: Q.type
|
74492
|
+
})
|
74493
|
+
) : ae = await setOrganUpdateBranch(
|
74494
|
+
JSON.stringify({
|
74495
|
+
id: Q.id,
|
74496
|
+
name: Q.name,
|
74497
|
+
remarks: Q.remarks,
|
74498
|
+
type: Q.type
|
74499
|
+
})
|
74500
|
+
), ae && (G("ok", { ...Q }), message$1.success(
|
74464
74501
|
`${Q.name} ${ee.opType == "1" ? W("organ.ins_successtip") : W("organ.up_successtip")}`,
|
74465
74502
|
5
|
74466
74503
|
)), ne.value = !1, X.value = !1;
|
@@ -74469,7 +74506,7 @@ const _hoisted_1$r = { class: "textarea-wrapper" }, _sfc_main$x = /* @__PURE__ *
|
|
74469
74506
|
return H({
|
74470
74507
|
showModal: re
|
74471
74508
|
}), (ae, se) => {
|
74472
|
-
const ce = Button$1, fe = Input, ue =
|
74509
|
+
const ce = Button$1, fe = Input, ue = __unplugin_components_1$3, me = Form$1, ge = Modal;
|
74473
74510
|
return openBlock(), createElementBlock("div", null, [
|
74474
74511
|
createElementVNode("div", { spinning: ne.value }, [
|
74475
74512
|
createVNode(ge, {
|
@@ -74608,7 +74645,7 @@ const _hoisted_1$r = { class: "textarea-wrapper" }, _sfc_main$x = /* @__PURE__ *
|
|
74608
74645
|
showModal: X,
|
74609
74646
|
onCancel: Z
|
74610
74647
|
}), (Q, ne) => {
|
74611
|
-
const ee = __unplugin_components_3$
|
74648
|
+
const ee = __unplugin_components_3$4, te = resolveComponent("uc-pick-label"), oe = Button$1, re = __unplugin_components_3$3;
|
74612
74649
|
return openBlock(), createBlock(re, {
|
74613
74650
|
open: U.value,
|
74614
74651
|
"onUpdate:open": ne[1] || (ne[1] = (le) => U.value = le),
|
@@ -74714,7 +74751,7 @@ const _hoisted_1$r = { class: "textarea-wrapper" }, _sfc_main$x = /* @__PURE__ *
|
|
74714
74751
|
showModal: X,
|
74715
74752
|
onCancel: Z
|
74716
74753
|
}), (Q, ne) => {
|
74717
|
-
const ee = __unplugin_components_3$
|
74754
|
+
const ee = __unplugin_components_3$4, te = resolveComponent("uc-pick-label"), oe = Button$1, re = __unplugin_components_3$3;
|
74718
74755
|
return openBlock(), createBlock(re, {
|
74719
74756
|
open: U.value,
|
74720
74757
|
"onUpdate:open": ne[1] || (ne[1] = (le) => U.value = le),
|
@@ -74836,7 +74873,7 @@ const _hoisted_1$r = { class: "textarea-wrapper" }, _sfc_main$x = /* @__PURE__ *
|
|
74836
74873
|
}), onMounted(() => {
|
74837
74874
|
ae.value = X("002"), se.value = X("004"), ce();
|
74838
74875
|
}), (be, $e) => {
|
74839
|
-
const xe = __unplugin_components_0$2, _e = resolveComponent("uc-pick-label"), Se = resolveComponent("uc-btn-edit"), Ae = __unplugin_components_3$
|
74876
|
+
const xe = __unplugin_components_0$2, _e = resolveComponent("uc-pick-label"), Se = resolveComponent("uc-btn-edit"), Ae = __unplugin_components_3$4, we = resolveComponent("uc-btn-remove"), Oe = resolveComponent("uc-btn-add"), Me = __unplugin_components_4$1, De = Menu, Ne = Dropdown$1, Le = __unplugin_components_2$3;
|
74840
74877
|
return openBlock(), createBlock(Le, {
|
74841
74878
|
locale: unref(antLocaleMap)[unref(W).userLanguage],
|
74842
74879
|
theme: {
|
@@ -75115,7 +75152,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
75115
75152
|
});
|
75116
75153
|
};
|
75117
75154
|
return (le, ie) => {
|
75118
|
-
const ae = Input, se =
|
75155
|
+
const ae = Input, se = __unplugin_components_1$3, ce = __unplugin_components_2$2, fe = Form$1, ue = Spin, me = Modal;
|
75119
75156
|
return openBlock(), createBlock(me, {
|
75120
75157
|
open: Z.value,
|
75121
75158
|
"onUpdate:open": ie[2] || (ie[2] = (ge) => Z.value = ge),
|
@@ -75206,13 +75243,13 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
75206
75243
|
X.value = !1;
|
75207
75244
|
const { systemId: te, authList: oe } = ee;
|
75208
75245
|
G.value = oe, U("reday", te), ((re = G.value) == null ? void 0 : re.length) > 0 && nextTick(() => {
|
75209
|
-
Q(G.value[0], 0, "init");
|
75246
|
+
te == "usercenter" ? Q(G.value[0], 0, "init") : U("select", G.value[0], "init", !0, 0);
|
75210
75247
|
});
|
75211
75248
|
};
|
75212
75249
|
return onMounted(() => {
|
75213
75250
|
ne();
|
75214
75251
|
}), (ee, te) => {
|
75215
|
-
const oe = Card$1, re = Checkbox, le = __unplugin_components_3$
|
75252
|
+
const oe = Card$1, re = Checkbox, le = __unplugin_components_3$2, ie = __unplugin_components_4;
|
75216
75253
|
return openBlock(), createElementBlock("div", null, [
|
75217
75254
|
createVNode(ie, {
|
75218
75255
|
size: "small",
|
@@ -75321,7 +75358,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
75321
75358
|
deep: !0
|
75322
75359
|
}
|
75323
75360
|
), (re, le) => {
|
75324
|
-
const ie = Checkbox, ae = __unplugin_components_2$4, se = __unplugin_components_3, ce = __unplugin_components_3$
|
75361
|
+
const ie = Checkbox, ae = __unplugin_components_2$4, se = __unplugin_components_3$1, ce = __unplugin_components_3$5;
|
75325
75362
|
return openBlock(), createElementBlock("div", null, [
|
75326
75363
|
G.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$k, [
|
75327
75364
|
C.mode !== "view" ? (openBlock(), createBlock(se, {
|
@@ -75452,7 +75489,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
75452
75489
|
Z.value = !1, ie.value = (Se == null ? void 0 : Se.result) || [];
|
75453
75490
|
});
|
75454
75491
|
}, be = async (Se, Ae, we, Oe) => {
|
75455
|
-
|
75492
|
+
le.value.authId = Se.authId, we ? le.value.authFlag = 0 : le.value.authFlag = Se.authFlag, ve(), ae.value = Oe;
|
75456
75493
|
}, $e = (Se) => {
|
75457
75494
|
Se === "usercenter" ? te.value = !0 : te.value = !1;
|
75458
75495
|
}, xe = async (Se) => {
|
@@ -75469,7 +75506,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
75469
75506
|
}), onMounted(() => {
|
75470
75507
|
_e();
|
75471
75508
|
}), (Se, Ae) => {
|
75472
|
-
const we = Modal, Oe = Card$1, Me = __unplugin_components_2$4, De = Input, Ne =
|
75509
|
+
const we = Modal, Oe = Card$1, Me = __unplugin_components_2$4, De = Input, Ne = __unplugin_components_1$3, Le = Form$1, Ie = Spin, Re = __unplugin_components_3$1, Fe = Button$1;
|
75473
75510
|
return openBlock(), createElementBlock("div", _hoisted_1$j, [
|
75474
75511
|
createVNode(Re, {
|
75475
75512
|
gutter: 16,
|
@@ -75706,7 +75743,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
75706
75743
|
}), onMounted(() => {
|
75707
75744
|
se("0");
|
75708
75745
|
}), (xe, _e) => {
|
75709
|
-
const Se = __unplugin_components_0$2, Ae = resolveComponent("uc-btn-add"), we = __unplugin_components_2$4, Oe = __unplugin_components_3, Me = resolveComponent("uc-pick-label"), De = resolveComponent("uc-btn-switch"), Ne = resolveComponent("uc-btn-edit"), Le = __unplugin_components_3$
|
75746
|
+
const Se = __unplugin_components_0$2, Ae = resolveComponent("uc-btn-add"), we = __unplugin_components_2$4, Oe = __unplugin_components_3$1, Me = resolveComponent("uc-pick-label"), De = resolveComponent("uc-btn-switch"), Ne = resolveComponent("uc-btn-edit"), Le = __unplugin_components_3$4, Ie = resolveComponent("uc-btn-detail"), Re = Card$1, Fe = __unplugin_components_2$3;
|
75710
75747
|
return openBlock(), createBlock(Fe, {
|
75711
75748
|
locale: unref(antLocaleMap)[unref(W).userLanguage],
|
75712
75749
|
theme: {
|
@@ -76240,7 +76277,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
76240
76277
|
return H({
|
76241
76278
|
showModal: ve
|
76242
76279
|
}), (xe, _e) => {
|
76243
|
-
const Se = Input, Ae =
|
76280
|
+
const Se = Input, Ae = __unplugin_components_1$3, we = __unplugin_components_2$4, Oe = __unplugin_components_3$1, Me = Form$1, De = Button$1, Ne = __unplugin_components_3$3;
|
76244
76281
|
return openBlock(), createBlock(Ne, {
|
76245
76282
|
open: Z.value,
|
76246
76283
|
"onUpdate:open": _e[10] || (_e[10] = (Le) => Z.value = Le),
|
@@ -76559,7 +76596,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
76559
76596
|
return H({
|
76560
76597
|
showModal: X
|
76561
76598
|
}), (Q, ne) => {
|
76562
|
-
const ee = __unplugin_components_2$4, te = __unplugin_components_3, oe = __unplugin_components_3$
|
76599
|
+
const ee = __unplugin_components_2$4, te = __unplugin_components_3$1, oe = __unplugin_components_3$4, re = resolveComponent("uc-pick-label"), le = __unplugin_components_3$3;
|
76563
76600
|
return openBlock(), createBlock(le, {
|
76564
76601
|
open: U.value,
|
76565
76602
|
"onUpdate:open": ne[0] || (ne[0] = (ie) => U.value = ie),
|
@@ -76944,7 +76981,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
76944
76981
|
return H({
|
76945
76982
|
showModal: re
|
76946
76983
|
}), (ae, se) => {
|
76947
|
-
const ce = Input, fe =
|
76984
|
+
const ce = Input, fe = __unplugin_components_1$3, ue = Form$1, me = Modal;
|
76948
76985
|
return openBlock(), createBlock(me, {
|
76949
76986
|
onOk: ie,
|
76950
76987
|
onCancel: le,
|
@@ -77130,7 +77167,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
77130
77167
|
return onMounted(() => {
|
77131
77168
|
ve("0"), be(), $e();
|
77132
77169
|
}), (Ie, Re) => {
|
77133
|
-
const Fe = __unplugin_components_0$2, je = resolveComponent("uc-btn-add"), He = __unplugin_components_1
|
77170
|
+
const Fe = __unplugin_components_0$2, je = resolveComponent("uc-btn-add"), He = __unplugin_components_1, We = __unplugin_components_3$4, Ge = Button$1, Ze = resolveComponent("uc-btn-switch"), Xe = resolveComponent("uc-btn-edit"), Ve = resolveComponent("uc-btn-reset-pwd"), ze = resolveComponent("uc-btn-remove"), Qe = Card$1, Je = __unplugin_components_2$3;
|
77134
77171
|
return openBlock(), createBlock(Je, {
|
77135
77172
|
locale: unref(antLocaleMap)[unref(U).userLanguage],
|
77136
77173
|
theme: {
|
@@ -77893,7 +77930,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
77893
77930
|
return onMounted(() => {
|
77894
77931
|
Q.value = U(Z.value), ne["Access-Token"] = W.token;
|
77895
77932
|
}), (re, le) => {
|
77896
|
-
const ie = Button$1, ae =
|
77933
|
+
const ie = Button$1, ae = __unplugin_components_3;
|
77897
77934
|
return Q.value ? (openBlock(), createElementBlock("span", _hoisted_1$7, [
|
77898
77935
|
C.uploadType == "all" ? (openBlock(), createBlock(ae, {
|
77899
77936
|
key: 0,
|
@@ -78533,9 +78570,9 @@ export {
|
|
78533
78570
|
Icon$1 as I,
|
78534
78571
|
JSEncrypt as J,
|
78535
78572
|
__unplugin_components_2$4 as K,
|
78536
|
-
__unplugin_components_3 as L,
|
78573
|
+
__unplugin_components_3$1 as L,
|
78537
78574
|
Menu as M,
|
78538
|
-
__unplugin_components_3$
|
78575
|
+
__unplugin_components_3$2 as N,
|
78539
78576
|
__unplugin_components_4 as O,
|
78540
78577
|
PropTypes$1 as P,
|
78541
78578
|
__unplugin_components_0$5 as Q,
|
@@ -78550,9 +78587,9 @@ export {
|
|
78550
78587
|
Card$1 as Z,
|
78551
78588
|
_export_sfc as _,
|
78552
78589
|
_objectSpread2$1 as a,
|
78553
|
-
|
78590
|
+
enUS as a$,
|
78554
78591
|
__unplugin_components_0$2 as a0,
|
78555
|
-
__unplugin_components_3$
|
78592
|
+
__unplugin_components_3$4 as a1,
|
78556
78593
|
bus as a2,
|
78557
78594
|
getRegionRootCombo as a3,
|
78558
78595
|
getRegionChildCombo as a4,
|
@@ -78563,31 +78600,31 @@ export {
|
|
78563
78600
|
warning$4 as a9,
|
78564
78601
|
cloneElement as aA,
|
78565
78602
|
AllAntdIcon as aB,
|
78566
|
-
|
78567
|
-
|
78568
|
-
|
78569
|
-
|
78570
|
-
|
78571
|
-
|
78572
|
-
|
78573
|
-
|
78574
|
-
|
78575
|
-
|
78576
|
-
|
78577
|
-
|
78578
|
-
|
78579
|
-
|
78580
|
-
|
78581
|
-
|
78582
|
-
|
78583
|
-
|
78584
|
-
|
78585
|
-
|
78586
|
-
|
78587
|
-
|
78588
|
-
|
78589
|
-
|
78590
|
-
|
78603
|
+
__unplugin_components_3 as aC,
|
78604
|
+
__unplugin_components_2 as aD,
|
78605
|
+
commonjsGlobal as aE,
|
78606
|
+
noteOnce as aF,
|
78607
|
+
isVisible as aG,
|
78608
|
+
useMergedState as aH,
|
78609
|
+
Trigger as aI,
|
78610
|
+
useMemo as aJ,
|
78611
|
+
shallowequal as aK,
|
78612
|
+
warningOnce as aL,
|
78613
|
+
useState as aM,
|
78614
|
+
slideDownIn as aN,
|
78615
|
+
slideUpIn as aO,
|
78616
|
+
slideDownOut as aP,
|
78617
|
+
slideUpOut as aQ,
|
78618
|
+
roundedArrow as aR,
|
78619
|
+
textEllipsis as aS,
|
78620
|
+
initSlideMotion as aT,
|
78621
|
+
initMoveMotion as aU,
|
78622
|
+
TinyColor as aV,
|
78623
|
+
__unplugin_components_1$2 as aW,
|
78624
|
+
objectType as aX,
|
78625
|
+
arrayType as aY,
|
78626
|
+
devWarning as aZ,
|
78627
|
+
useLocaleReceiver as a_,
|
78591
78628
|
wrapperRaf as aa,
|
78592
78629
|
_extends$1 as ab,
|
78593
78630
|
booleanType as ac,
|
@@ -78615,21 +78652,21 @@ export {
|
|
78615
78652
|
NoCompactStyle as ay,
|
78616
78653
|
NoFormStatus as az,
|
78617
78654
|
CloseCircleFilled$1 as b,
|
78618
|
-
|
78619
|
-
|
78620
|
-
|
78621
|
-
|
78622
|
-
|
78623
|
-
|
78624
|
-
|
78625
|
-
|
78626
|
-
|
78627
|
-
|
78628
|
-
|
78629
|
-
|
78630
|
-
|
78631
|
-
|
78632
|
-
__unplugin_components_2 as be,
|
78655
|
+
ClockCircleOutlined$1 as b0,
|
78656
|
+
__unplugin_components_1$1 as b1,
|
78657
|
+
EditModal as b2,
|
78658
|
+
toFormatDate as b3,
|
78659
|
+
__unplugin_components_0$1 as b4,
|
78660
|
+
getOffset as b5,
|
78661
|
+
toUTC as b6,
|
78662
|
+
UploadOutlined$1 as b7,
|
78663
|
+
PlusOutlined$1 as b8,
|
78664
|
+
useInitUserinfo as b9,
|
78665
|
+
useAppStore as ba,
|
78666
|
+
antLocaleMap as bb,
|
78667
|
+
__unplugin_components_0$4 as bc,
|
78668
|
+
Tabs as bd,
|
78669
|
+
__unplugin_components_2$3 as be,
|
78633
78670
|
changeTheme as bf,
|
78634
78671
|
setToken as bg,
|
78635
78672
|
index$6 as bh,
|
@@ -78651,7 +78688,7 @@ export {
|
|
78651
78688
|
merge$2 as m,
|
78652
78689
|
getCode as n,
|
78653
78690
|
Input as o,
|
78654
|
-
|
78691
|
+
__unplugin_components_1$3 as p,
|
78655
78692
|
__unplugin_components_4$1 as q,
|
78656
78693
|
Dropdown$1 as r,
|
78657
78694
|
storage as s,
|
package/dist/usercenter.es.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { bh as e, bi as b, bj as n, bk as g, bm as r, bl as o, bf as h, bg as t } from "./index.
|
1
|
+
import { bh as e, bi as b, bj as n, bk as g, bm as r, bl as o, bf as h, bg as t } from "./index.ac6ee6f1.mjs";
|
2
2
|
export {
|
3
3
|
e as SysFunctions,
|
4
4
|
b as SysOrgan,
|