@witlink/usercenter 1.0.26 → 1.0.28

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.
@@ -3,7 +3,9 @@ var ea = (C, H, W) => H in C ? Qr(C, H, { enumerable: !0, configurable: !0, writ
3
3
  var mr = (C, H, W) => (ea(C, typeof H != "symbol" ? H + "" : H, W), W);
4
4
  import { useI18n } from "vue-i18n";
5
5
  import { defineStore, createPinia } from "pinia";
6
- import { Fragment, isVNode, Comment, Text, defineComponent, reactive, getCurrentInstance, onMounted, onUpdated, onUnmounted, watch, computed, inject, provide, ref, unref, shallowRef, watchEffect, onBeforeUnmount, triggerRef, createVNode, h as h$1, Transition, withDirectives, resolveDirective, cloneVNode, render, nextTick, toRef, withModifiers, vShow, onBeforeMount, Teleport, createTextVNode, isRef, toRefs, toRaw, useAttrs, onBeforeUpdate, getCurrentScope, onScopeDispose, TransitionGroup, onActivated, resolveComponent, openBlock, createBlock, withCtx, KeepAlive, resolveDynamicComponent, createElementBlock, normalizeClass, createElementVNode, toDisplayString, normalizeStyle as normalizeStyle$1, createCommentVNode, withKeys, mergeProps, renderList, renderSlot, useSlots, createSlots, normalizeProps, guardReactiveProps, defineAsyncComponent, onDeactivated, readonly } from "vue";
6
+ import { notification as notification$1, Menu as Menu$1, Modal as Modal$1, message as message$1 } from "ant-design-vue";
7
+ import { defineComponent, computed, resolveComponent, openBlock, createBlock, withCtx, KeepAlive, resolveDynamicComponent, onMounted, onBeforeUnmount, createElementBlock, normalizeClass, createElementVNode, unref, toDisplayString, createVNode, Fragment, isVNode, Comment, Text, reactive, getCurrentInstance, onUpdated, onUnmounted, watch, inject, provide, ref, shallowRef, watchEffect, triggerRef, h as h$1, Transition, withDirectives, resolveDirective, cloneVNode, render, nextTick, toRef, withModifiers, vShow, onBeforeMount, Teleport, createTextVNode, isRef, toRefs, toRaw, useAttrs, onBeforeUpdate, getCurrentScope, onScopeDispose, TransitionGroup, onActivated, normalizeStyle as normalizeStyle$1, createCommentVNode, withKeys, mergeProps, renderList, renderSlot, useSlots, createSlots, normalizeProps, guardReactiveProps, defineAsyncComponent, onDeactivated, readonly } from "vue";
8
+ import { useRoute, useRouter } from "vue-router";
7
9
  const suspectProtoRx = /"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/, suspectConstructorRx = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/, JsonSigRx = /^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;
8
10
  function jsonParseTransform(C, H) {
9
11
  if (C === "__proto__" || C === "constructor" && H && typeof H == "object" && "prototype" in H) {
@@ -1899,7 +1901,401 @@ axios.formToJSON = (C) => formDataToJSON(utils$c.isHTMLForm(C) ? new FormData(C)
1899
1901
  axios.getAdapter = adapters.getAdapter;
1900
1902
  axios.HttpStatusCode = HttpStatusCode$1;
1901
1903
  axios.default = axios;
1902
- const Axios = axios;
1904
+ const Axios = axios, toString$1 = Object.prototype.toString;
1905
+ function is(C, H) {
1906
+ return toString$1.call(C) === `[object ${H}]`;
1907
+ }
1908
+ function isNumber$b(C) {
1909
+ return is(C, "Number");
1910
+ }
1911
+ const instance = Axios.create({
1912
+ baseURL: APIBASEURL,
1913
+ timeout: TIMEOUT
1914
+ });
1915
+ function handleReqConfig(C) {
1916
+ const H = storage.get(ACCESS_TOKEN);
1917
+ return H && (C.headers = {
1918
+ ...C.headers,
1919
+ [ACCESS_TOKEN]: H
1920
+ }), C;
1921
+ }
1922
+ instance.interceptors.request.use(handleReqConfig, (C) => Promise.reject(C));
1923
+ function handleResp(C) {
1924
+ const H = C.data;
1925
+ if (!(H instanceof Blob) && (!H || H.code === void 0))
1926
+ notification$1.error({
1927
+ message: "Error in return value",
1928
+ description: "result: " + H
1929
+ });
1930
+ else {
1931
+ const W = C.headers.refresh_token, G = Number(C.headers.refresh_exp);
1932
+ if (W && isNumber$b(G) && storage.set(ACCESS_TOKEN, W, G * 1e3), !(H instanceof Blob) && H.code < 0) {
1933
+ let X = $lang("err", String(H.code));
1934
+ X || (X = H.message ? H.message : "unknow error");
1935
+ const { ignoreNotify: Z = !1 } = C.config;
1936
+ Z || notification$1.error({
1937
+ message: H.code,
1938
+ description: X
1939
+ }), H.code == -100017 || H.code == -100018 || H.code == -120042, H.result = null;
1940
+ }
1941
+ }
1942
+ return C;
1943
+ }
1944
+ function handleResErr(C) {
1945
+ if (C.response) {
1946
+ const H = C.response.data, W = storage.get(ACCESS_TOKEN);
1947
+ C.response.status === 403 ? notification$1.error({ message: "Forbidden", description: H.message }) : C.response.status === 401 && (notification$1.error({
1948
+ message: "Unauthorized",
1949
+ description: "Authorization verification failed"
1950
+ }), W && (console.error("token is invalid"), storage.set(ACCESS_TOKEN, "")));
1951
+ } else
1952
+ notification$1.error({ message: "Unknow error", description: C + "" });
1953
+ return Promise.reject(C);
1954
+ }
1955
+ instance.interceptors.response.use(handleResp, handleResErr);
1956
+ function handleRespPost(C) {
1957
+ const { onlyResData: H = !0 } = C;
1958
+ return instance(C).then((W) => H ? W.data : W);
1959
+ }
1960
+ function getLangList() {
1961
+ return handleRespPost({
1962
+ url: "/api/auth/lang-list",
1963
+ method: "get",
1964
+ headers: {
1965
+ "Content-Type": "application/json;charset=UTF-8"
1966
+ }
1967
+ });
1968
+ }
1969
+ function getLang(C) {
1970
+ return handleRespPost({
1971
+ url: "/api/auth/lang-info",
1972
+ method: "get",
1973
+ params: { isoCode: C },
1974
+ headers: {
1975
+ "Content-Type": "application/json;charset=UTF-8"
1976
+ }
1977
+ });
1978
+ }
1979
+ function getWebClientParams(C) {
1980
+ return handleRespPost({
1981
+ url: "/api/auth/web-client-params",
1982
+ method: "get",
1983
+ params: { orgId: C || "" },
1984
+ headers: {
1985
+ "Content-Type": "application/json;charset=UTF-8"
1986
+ }
1987
+ });
1988
+ }
1989
+ function getMenu() {
1990
+ return handleRespPost({
1991
+ url: "/api/auth/menu-info",
1992
+ method: "get",
1993
+ headers: {
1994
+ "Content-Type": "application/json;charset=UTF-8"
1995
+ }
1996
+ });
1997
+ }
1998
+ function getDictComboEx(C) {
1999
+ return handleRespPost({
2000
+ url: "/api/sys/dictionary/public-dict-combo-ex",
2001
+ method: "get",
2002
+ params: C
2003
+ });
2004
+ }
2005
+ function getLangCombo(C) {
2006
+ return handleRespPost({
2007
+ url: "/api/sys/lang/public-lang-combo",
2008
+ method: "get",
2009
+ params: C
2010
+ });
2011
+ }
2012
+ function getRegionRootCombo(C) {
2013
+ return handleRespPost({
2014
+ url: "/api/sys/region/public-combo-root",
2015
+ method: "get",
2016
+ params: C
2017
+ });
2018
+ }
2019
+ function getRegionChildCombo(C) {
2020
+ return handleRespPost({
2021
+ url: "/api/sys/region/public-combo-child",
2022
+ method: "get",
2023
+ params: C
2024
+ });
2025
+ }
2026
+ function getRegionDetail(C) {
2027
+ return handleRespPost({
2028
+ url: "/api/sys/region/public-detail",
2029
+ method: "get",
2030
+ params: C
2031
+ });
2032
+ }
2033
+ function getTimezoneCombo(C) {
2034
+ return handleRespPost({
2035
+ url: "/api/sys/timezone/public-timezone-combo",
2036
+ method: "get",
2037
+ params: C
2038
+ });
2039
+ }
2040
+ function getPublicBranchRoot() {
2041
+ return handleRespPost({
2042
+ url: "/api/sys/branch/public-combo-root",
2043
+ method: "get",
2044
+ params: { sync: !0 }
2045
+ });
2046
+ }
2047
+ function getPublicBranchChild(C) {
2048
+ return handleRespPost({
2049
+ url: "/api/sys/branch/public-combo-child",
2050
+ method: "get",
2051
+ params: C
2052
+ });
2053
+ }
2054
+ function getPublicALlDepartment(C) {
2055
+ return handleRespPost({
2056
+ url: "/api/sys/organ/public-search-all-department",
2057
+ method: "get",
2058
+ params: C
2059
+ });
2060
+ }
2061
+ const useAppStore = defineStore({
2062
+ id: `${TOKEN_PREFIX}app`,
2063
+ state: () => ({
2064
+ sidebar: {
2065
+ opened: !1,
2066
+ withoutAnimation: !1
2067
+ },
2068
+ device: "desktop",
2069
+ theme: "light",
2070
+ layout: "sidemenu",
2071
+ contentWidth: "Fixed",
2072
+ fixedHeader: !1,
2073
+ fixSiderbar: !1,
2074
+ autoHideHeader: !1,
2075
+ color: "#52C41A",
2076
+ weak: !1,
2077
+ multiPages: !0,
2078
+ langId: "en_US",
2079
+ headTitle: "",
2080
+ headIcon: "",
2081
+ menuTitle: "",
2082
+ footTitle: "",
2083
+ fullScreen: !1,
2084
+ g6ImgPrefix: (process.env.NODE_ENV === "production", "/"),
2085
+ antConfigToken: {
2086
+ colorPrimary: "#1677ff",
2087
+ colorPrimaryBorder: "#91caff",
2088
+ colorPrimaryBorderHover: "#69b1ff",
2089
+ colorPrimaryText: "#1677ff",
2090
+ colorPrimaryTextActive: "#0958d9",
2091
+ colorPrimaryTextHover: "#4096ff",
2092
+ colorLink: "#1677ff",
2093
+ colorLinkHover: "#4096ff",
2094
+ colorLinkActive: "#0958d9"
2095
+ }
2096
+ }),
2097
+ getters: {
2098
+ token() {
2099
+ return storage.get(ACCESS_TOKEN);
2100
+ },
2101
+ isMobile(C) {
2102
+ return C.device === "mobile";
2103
+ },
2104
+ isDesktop(C) {
2105
+ return C.device === "desktop";
2106
+ },
2107
+ isTopmenu(C) {
2108
+ return C.layout === "topmenu";
2109
+ },
2110
+ isSideMenu() {
2111
+ return !this.isTopmenu();
2112
+ }
2113
+ },
2114
+ actions: {
2115
+ async LoadWebParams({ orgId: C }) {
2116
+ const { result: H } = await getWebClientParams(C);
2117
+ H.HEAD_ICON = (process.env.NODE_ENV === "production", "/" + H.HEAD_ICON), document.title = "USER CENTER";
2118
+ let W = document.head.querySelector("link[rel=icon]");
2119
+ W ? W.href = H.HEAD_ICON : (W = document.createElement("link"), W.rel = "icon", W.href = H.HEAD_ICON, document.head.appendChild(W)), this.setHeadTitle(H.HEAD_TITLE), this.setHeadIcon(H.HEAD_ICON), this.setMenuTitle(H.MENU_TITLE), this.setFootTitle(H.FOOT_TITLE);
2120
+ },
2121
+ setWeak(C) {
2122
+ this.weak = C;
2123
+ },
2124
+ setMultiPages(C) {
2125
+ this.multiPages = C;
2126
+ },
2127
+ setTheme(C) {
2128
+ this.theme = C;
2129
+ },
2130
+ setLayoutMode(C) {
2131
+ this.layout = C;
2132
+ },
2133
+ setContentWidth(C) {
2134
+ this.contentWidth = C;
2135
+ },
2136
+ setColor(C) {
2137
+ this.color = C;
2138
+ },
2139
+ setFixedHeader(C) {
2140
+ this.fixedHeader = C;
2141
+ },
2142
+ setFixedHeaderHidden(C) {
2143
+ this.autoHideHeader = C;
2144
+ },
2145
+ setFixSiderbar(C) {
2146
+ this.fixSiderbar = C;
2147
+ },
2148
+ setSidebar(C) {
2149
+ this.sidebar = {
2150
+ ...this.sidebar,
2151
+ ...C
2152
+ };
2153
+ },
2154
+ setHeadTitle(C) {
2155
+ this.headTitle = C;
2156
+ },
2157
+ setHeadIcon(C) {
2158
+ this.headIcon = C;
2159
+ },
2160
+ setMenuTitle(C) {
2161
+ this.menuTitle = C;
2162
+ },
2163
+ setFootTitle(C) {
2164
+ this.footTitle = C;
2165
+ },
2166
+ setLangId(C) {
2167
+ this.langId = C;
2168
+ },
2169
+ setDevice(C) {
2170
+ this.device = C;
2171
+ },
2172
+ setAntConfigToken(C) {
2173
+ this.antConfigToken = {
2174
+ ...this.antConfigToken,
2175
+ ...C
2176
+ };
2177
+ }
2178
+ },
2179
+ persist: !0
2180
+ }), getCode = (C) => handleRespPost({
2181
+ url: "/api/auth/2step-code",
2182
+ method: "get",
2183
+ params: C
2184
+ }), login = (C) => handleRespPost({
2185
+ url: "/api/auth/login",
2186
+ method: "post",
2187
+ data: C
2188
+ }), getAppInfo = (C) => handleRespPost({
2189
+ url: "/api/member/myapp/public-search-list-main",
2190
+ method: "get",
2191
+ params: C
2192
+ }), logout = (C) => handleRespPost({
2193
+ url: "/api/auth/logout",
2194
+ method: "post",
2195
+ data: C
2196
+ }), getUserInfo = () => handleRespPost({
2197
+ url: "/api/auth/user-info",
2198
+ method: "get",
2199
+ headers: {
2200
+ "Content-Type": "application/json;charset=UTF-8"
2201
+ }
2202
+ }), routeModuleList = [
2203
+ {
2204
+ path: "/",
2205
+ redirect: {
2206
+ name: "login"
2207
+ }
2208
+ },
2209
+ {
2210
+ path: "/login",
2211
+ name: "login",
2212
+ component: () => import("./index.1d9c34ff.mjs")
2213
+ },
2214
+ {
2215
+ path: "/index",
2216
+ name: "index",
2217
+ component: () => import("./index.bff339ca.mjs")
2218
+ },
2219
+ {
2220
+ path: "/dashboard",
2221
+ name: "dashboard",
2222
+ component: () => import("./index.e4a2e26e.mjs")
2223
+ },
2224
+ {
2225
+ path: "/404",
2226
+ name: "404",
2227
+ component: () => import("./404.05ad638f.mjs"),
2228
+ meta: {
2229
+ title: "404 \u627E\u4E0D\u5230\u9875\u9762"
2230
+ }
2231
+ }
2232
+ ], _sfc_main$1b = /* @__PURE__ */ defineComponent({
2233
+ name: "RouteView",
2234
+ __name: "RouteView",
2235
+ setup(C) {
2236
+ const H = useRoute(), W = computed(() => H.meta.keepAlive);
2237
+ return (G, X) => {
2238
+ const Z = resolveComponent("router-view");
2239
+ return W.value ? (openBlock(), createBlock(Z, { key: 0 }, {
2240
+ default: withCtx(({ Component: Q }) => [
2241
+ (openBlock(), createBlock(KeepAlive, null, [
2242
+ (openBlock(), createBlock(resolveDynamicComponent(Q)))
2243
+ ], 1024))
2244
+ ]),
2245
+ _: 1
2246
+ })) : (openBlock(), createBlock(Z, { key: 1 }));
2247
+ };
2248
+ }
2249
+ }), _export_sfc = (C, H) => {
2250
+ const W = C.__vccOpts || C;
2251
+ for (const [G, X] of H)
2252
+ W[G] = X;
2253
+ return W;
2254
+ }, RouteView = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter1/src/components/layouts/RouteView.vue"]]), UserLogoIcon = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABYCAYAAAADWlKCAAAACXBIWXMAABYlAAAWJQFJUiTwAAAF0WlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDE5LTA4LTIzVDEwOjU2OjU3KzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA4LTIzVDEwOjU2OjU3KzA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}, _hoisted_3$l = { class: "header" }, _hoisted_4$f = { href: "/" }, _hoisted_5$9 = ["src"], _hoisted_6$8 = { class: "title" }, _sfc_main$1a = /* @__PURE__ */ defineComponent({
2255
+ __name: "UserLayout",
2256
+ setup(C) {
2257
+ const H = useAppStore(), W = computed(() => H.device), G = computed(() => H.menuTitle);
2258
+ return onMounted(() => {
2259
+ document.body.classList.add("userLayout");
2260
+ }), onBeforeUnmount(() => {
2261
+ document.body.classList.remove("userLayout");
2262
+ }), (X, Z) => {
2263
+ const Q = RouteView;
2264
+ return openBlock(), createElementBlock("div", {
2265
+ id: "userLayout",
2266
+ class: normalizeClass(["user-layout-wrapper", W.value])
2267
+ }, [
2268
+ createElementVNode("div", _hoisted_1$N, [
2269
+ createElementVNode("div", _hoisted_2$p, [
2270
+ createElementVNode("div", _hoisted_3$l, [
2271
+ createElementVNode("a", _hoisted_4$f, [
2272
+ createElementVNode("img", {
2273
+ src: unref(UserLogoIcon),
2274
+ class: "logo",
2275
+ alt: "logo"
2276
+ }, null, 8, _hoisted_5$9),
2277
+ createElementVNode("span", _hoisted_6$8, toDisplayString(G.value), 1)
2278
+ ])
2279
+ ]),
2280
+ Z[0] || (Z[0] = createElementVNode("div", { class: "desc" }, null, -1))
2281
+ ]),
2282
+ createVNode(Q)
2283
+ ])
2284
+ ], 2);
2285
+ };
2286
+ }
2287
+ }), UserLayout_vue_vue_type_style_index_0_scoped_641ac3cc_lang = "", UserLayout = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-641ac3cc"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter1/src/components/layouts/UserLayout.vue"]]), _sfc_main$19 = /* @__PURE__ */ defineComponent({
2288
+ name: "BlankLayout",
2289
+ __name: "BlankLayout",
2290
+ setup(C) {
2291
+ return (H, W) => {
2292
+ const G = resolveComponent("router-view");
2293
+ return openBlock(), createElementBlock("div", null, [
2294
+ createVNode(G)
2295
+ ]);
2296
+ };
2297
+ }
2298
+ }), BlankLayout_vue_vue_type_style_index_0_scoped_ab08a19e_lang = "", BlankLayout = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-ab08a19e"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter1/src/components/layouts/BlankLayout.vue"]]);
1903
2299
  function _typeof$1(C) {
1904
2300
  return _typeof$1 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(H) {
1905
2301
  return typeof H;
@@ -13179,11 +13575,11 @@ var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\
13179
13575
  }), H;
13180
13576
  });
13181
13577
  const stringToPath$1 = stringToPath;
13182
- function toString$1(C) {
13578
+ function toString(C) {
13183
13579
  return C == null ? "" : baseToString(C);
13184
13580
  }
13185
13581
  function castPath(C, H) {
13186
- return isArray$u(C) ? C : isKey(C, H) ? [C] : stringToPath$1(toString$1(C));
13582
+ return isArray$u(C) ? C : isKey(C, H) ? [C] : stringToPath$1(toString(C));
13187
13583
  }
13188
13584
  var INFINITY$1 = 1 / 0;
13189
13585
  function toKey(C) {
@@ -56961,430 +57357,7 @@ Icon.props = {
56961
57357
  };
56962
57358
  Icon.inheritAttrs = !1;
56963
57359
  Icon.displayName = "Icon";
56964
- const Icon$1 = Icon, toString = Object.prototype.toString;
56965
- function is(C, H) {
56966
- return toString.call(C) === `[object ${H}]`;
56967
- }
56968
- function isNumber$b(C) {
56969
- return is(C, "Number");
56970
- }
56971
- const instance = Axios.create({
56972
- baseURL: APIBASEURL,
56973
- timeout: TIMEOUT
56974
- });
56975
- function handleReqConfig(C) {
56976
- const H = storage.get(ACCESS_TOKEN);
56977
- return H && (C.headers = {
56978
- ...C.headers,
56979
- [ACCESS_TOKEN]: H
56980
- }), C;
56981
- }
56982
- instance.interceptors.request.use(handleReqConfig, (C) => Promise.reject(C));
56983
- function handleResp(C) {
56984
- const H = C.data;
56985
- if (!(H instanceof Blob) && (!H || H.code === void 0))
56986
- notification.error({
56987
- message: "Error in return value",
56988
- description: "result: " + H
56989
- });
56990
- else {
56991
- const W = C.headers.refresh_token, G = Number(C.headers.refresh_exp);
56992
- if (W && isNumber$b(G) && storage.set(ACCESS_TOKEN, W, G * 1e3), !(H instanceof Blob) && H.code < 0) {
56993
- let X = $lang("err", String(H.code));
56994
- X || (X = H.message ? H.message : "unknow error");
56995
- const { ignoreNotify: Z = !1 } = C.config;
56996
- Z || notification.error({
56997
- message: H.code,
56998
- description: X
56999
- }), H.code == -100017 || H.code == -100018 || H.code == -120042, H.result = null;
57000
- }
57001
- }
57002
- return C;
57003
- }
57004
- function handleResErr(C) {
57005
- if (C.response) {
57006
- const H = C.response.data, W = storage.get(ACCESS_TOKEN);
57007
- C.response.status === 403 ? notification.error({ message: "Forbidden", description: H.message }) : C.response.status === 401 && (notification.error({
57008
- message: "Unauthorized",
57009
- description: "Authorization verification failed"
57010
- }), W && (console.error("token is invalid"), storage.set(ACCESS_TOKEN, "")));
57011
- } else
57012
- notification.error({ message: "Unknow error", description: C + "" });
57013
- return Promise.reject(C);
57014
- }
57015
- instance.interceptors.response.use(handleResp, handleResErr);
57016
- function handleRespPost(C) {
57017
- const { onlyResData: H = !0 } = C;
57018
- return instance(C).then((W) => H ? W.data : W);
57019
- }
57020
- function getLangList() {
57021
- return handleRespPost({
57022
- url: "/api/auth/lang-list",
57023
- method: "get",
57024
- headers: {
57025
- "Content-Type": "application/json;charset=UTF-8"
57026
- }
57027
- });
57028
- }
57029
- function getLang(C) {
57030
- return handleRespPost({
57031
- url: "/api/auth/lang-info",
57032
- method: "get",
57033
- params: { isoCode: C },
57034
- headers: {
57035
- "Content-Type": "application/json;charset=UTF-8"
57036
- }
57037
- });
57038
- }
57039
- function getWebClientParams(C) {
57040
- return handleRespPost({
57041
- url: "/api/auth/web-client-params",
57042
- method: "get",
57043
- params: { orgId: C || "" },
57044
- headers: {
57045
- "Content-Type": "application/json;charset=UTF-8"
57046
- }
57047
- });
57048
- }
57049
- function getMenu() {
57050
- return handleRespPost({
57051
- url: "/api/auth/menu-info",
57052
- method: "get",
57053
- headers: {
57054
- "Content-Type": "application/json;charset=UTF-8"
57055
- }
57056
- });
57057
- }
57058
- function getDictComboEx(C) {
57059
- return handleRespPost({
57060
- url: "/api/sys/dictionary/public-dict-combo-ex",
57061
- method: "get",
57062
- params: C
57063
- });
57064
- }
57065
- function getLangCombo(C) {
57066
- return handleRespPost({
57067
- url: "/api/sys/lang/public-lang-combo",
57068
- method: "get",
57069
- params: C
57070
- });
57071
- }
57072
- function getRegionRootCombo(C) {
57073
- return handleRespPost({
57074
- url: "/api/sys/region/public-combo-root",
57075
- method: "get",
57076
- params: C
57077
- });
57078
- }
57079
- function getRegionChildCombo(C) {
57080
- return handleRespPost({
57081
- url: "/api/sys/region/public-combo-child",
57082
- method: "get",
57083
- params: C
57084
- });
57085
- }
57086
- function getRegionDetail(C) {
57087
- return handleRespPost({
57088
- url: "/api/sys/region/public-detail",
57089
- method: "get",
57090
- params: C
57091
- });
57092
- }
57093
- function getTimezoneCombo(C) {
57094
- return handleRespPost({
57095
- url: "/api/sys/timezone/public-timezone-combo",
57096
- method: "get",
57097
- params: C
57098
- });
57099
- }
57100
- function getPublicBranchRoot() {
57101
- return handleRespPost({
57102
- url: "/api/sys/branch/public-combo-root",
57103
- method: "get",
57104
- params: { sync: !0 }
57105
- });
57106
- }
57107
- function getPublicBranchChild(C) {
57108
- return handleRespPost({
57109
- url: "/api/sys/branch/public-combo-child",
57110
- method: "get",
57111
- params: C
57112
- });
57113
- }
57114
- function getPublicALlDepartment(C) {
57115
- return handleRespPost({
57116
- url: "/api/sys/organ/public-search-all-department",
57117
- method: "get",
57118
- params: C
57119
- });
57120
- }
57121
- const useAppStore = defineStore({
57122
- id: `${TOKEN_PREFIX}app`,
57123
- state: () => ({
57124
- sidebar: {
57125
- opened: !1,
57126
- withoutAnimation: !1
57127
- },
57128
- device: "desktop",
57129
- theme: "light",
57130
- layout: "sidemenu",
57131
- contentWidth: "Fixed",
57132
- fixedHeader: !1,
57133
- fixSiderbar: !1,
57134
- autoHideHeader: !1,
57135
- color: "#52C41A",
57136
- weak: !1,
57137
- multiPages: !0,
57138
- langId: "en_US",
57139
- headTitle: "",
57140
- headIcon: "",
57141
- menuTitle: "",
57142
- footTitle: "",
57143
- fullScreen: !1,
57144
- g6ImgPrefix: (process.env.NODE_ENV === "production", "/"),
57145
- antConfigToken: {
57146
- colorPrimary: "#1677ff",
57147
- colorPrimaryBorder: "#91caff",
57148
- colorPrimaryBorderHover: "#69b1ff",
57149
- colorPrimaryText: "#1677ff",
57150
- colorPrimaryTextActive: "#0958d9",
57151
- colorPrimaryTextHover: "#4096ff",
57152
- colorLink: "#1677ff",
57153
- colorLinkHover: "#4096ff",
57154
- colorLinkActive: "#0958d9"
57155
- }
57156
- }),
57157
- getters: {
57158
- token() {
57159
- return storage.get(ACCESS_TOKEN);
57160
- },
57161
- isMobile(C) {
57162
- return C.device === "mobile";
57163
- },
57164
- isDesktop(C) {
57165
- return C.device === "desktop";
57166
- },
57167
- isTopmenu(C) {
57168
- return C.layout === "topmenu";
57169
- },
57170
- isSideMenu() {
57171
- return !this.isTopmenu();
57172
- }
57173
- },
57174
- actions: {
57175
- async LoadWebParams({ orgId: C }) {
57176
- const { result: H } = await getWebClientParams(C);
57177
- H.HEAD_ICON = (process.env.NODE_ENV === "production", "/" + H.HEAD_ICON), document.title = "USER CENTER";
57178
- let W = document.head.querySelector("link[rel=icon]");
57179
- W ? W.href = H.HEAD_ICON : (W = document.createElement("link"), W.rel = "icon", W.href = H.HEAD_ICON, document.head.appendChild(W)), this.setHeadTitle(H.HEAD_TITLE), this.setHeadIcon(H.HEAD_ICON), this.setMenuTitle(H.MENU_TITLE), this.setFootTitle(H.FOOT_TITLE);
57180
- },
57181
- setWeak(C) {
57182
- this.weak = C;
57183
- },
57184
- setMultiPages(C) {
57185
- this.multiPages = C;
57186
- },
57187
- setTheme(C) {
57188
- this.theme = C;
57189
- },
57190
- setLayoutMode(C) {
57191
- this.layout = C;
57192
- },
57193
- setContentWidth(C) {
57194
- this.contentWidth = C;
57195
- },
57196
- setColor(C) {
57197
- this.color = C;
57198
- },
57199
- setFixedHeader(C) {
57200
- this.fixedHeader = C;
57201
- },
57202
- setFixedHeaderHidden(C) {
57203
- this.autoHideHeader = C;
57204
- },
57205
- setFixSiderbar(C) {
57206
- this.fixSiderbar = C;
57207
- },
57208
- setSidebar(C) {
57209
- this.sidebar = {
57210
- ...this.sidebar,
57211
- ...C
57212
- };
57213
- },
57214
- setHeadTitle(C) {
57215
- this.headTitle = C;
57216
- },
57217
- setHeadIcon(C) {
57218
- this.headIcon = C;
57219
- },
57220
- setMenuTitle(C) {
57221
- this.menuTitle = C;
57222
- },
57223
- setFootTitle(C) {
57224
- this.footTitle = C;
57225
- },
57226
- setLangId(C) {
57227
- this.langId = C;
57228
- },
57229
- setDevice(C) {
57230
- this.device = C;
57231
- },
57232
- setAntConfigToken(C) {
57233
- this.antConfigToken = {
57234
- ...this.antConfigToken,
57235
- ...C
57236
- };
57237
- }
57238
- },
57239
- persist: !0
57240
- }), getCode = (C) => handleRespPost({
57241
- url: "/api/auth/2step-code",
57242
- method: "get",
57243
- params: C
57244
- }), login = (C) => handleRespPost({
57245
- url: "/api/auth/login",
57246
- method: "post",
57247
- data: C
57248
- }), getAppInfo = (C) => handleRespPost({
57249
- url: "/api/member/myapp/public-search-list-main",
57250
- method: "get",
57251
- params: C
57252
- }), logout = (C) => handleRespPost({
57253
- url: "/api/auth/logout",
57254
- method: "post",
57255
- data: C
57256
- }), getUserInfo = () => handleRespPost({
57257
- url: "/api/auth/user-info",
57258
- method: "get",
57259
- headers: {
57260
- "Content-Type": "application/json;charset=UTF-8"
57261
- }
57262
- }), routeModuleList = [
57263
- {
57264
- path: "/",
57265
- redirect: {
57266
- name: "login"
57267
- }
57268
- },
57269
- {
57270
- path: "/login",
57271
- name: "login",
57272
- component: () => import("./index.1bf5e673.mjs")
57273
- },
57274
- {
57275
- path: "/index",
57276
- name: "index",
57277
- component: () => import("./index.1057d7a2.mjs")
57278
- },
57279
- {
57280
- path: "/dashboard",
57281
- name: "dashboard",
57282
- component: () => import("./index.33c5c55d.mjs")
57283
- },
57284
- {
57285
- path: "/404",
57286
- name: "404",
57287
- component: () => import("./404.f300b083.mjs"),
57288
- meta: {
57289
- title: "404 \u627E\u4E0D\u5230\u9875\u9762"
57290
- }
57291
- }
57292
- ];
57293
- /*!
57294
- * vue-router v4.5.0
57295
- * (c) 2024 Eduardo San Martin Morote
57296
- * @license MIT
57297
- */
57298
- var NavigationType;
57299
- (function(C) {
57300
- C.pop = "pop", C.push = "push";
57301
- })(NavigationType || (NavigationType = {}));
57302
- var NavigationDirection;
57303
- (function(C) {
57304
- C.back = "back", C.forward = "forward", C.unknown = "";
57305
- })(NavigationDirection || (NavigationDirection = {}));
57306
- Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
57307
- var NavigationFailureType;
57308
- (function(C) {
57309
- C[C.aborted = 4] = "aborted", C[C.cancelled = 8] = "cancelled", C[C.duplicated = 16] = "duplicated";
57310
- })(NavigationFailureType || (NavigationFailureType = {}));
57311
- Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
57312
- Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
57313
- const routerKey = Symbol(process.env.NODE_ENV !== "production" ? "router" : ""), routeLocationKey = Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
57314
- Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
57315
- function useRouter() {
57316
- return inject(routerKey);
57317
- }
57318
- function useRoute(C) {
57319
- return inject(routeLocationKey);
57320
- }
57321
- const _sfc_main$1b = /* @__PURE__ */ defineComponent({
57322
- name: "RouteView",
57323
- __name: "RouteView",
57324
- setup(C) {
57325
- const H = useRoute(), W = computed(() => H.meta.keepAlive);
57326
- return (G, X) => {
57327
- const Z = resolveComponent("router-view");
57328
- return W.value ? (openBlock(), createBlock(Z, { key: 0 }, {
57329
- default: withCtx(({ Component: Q }) => [
57330
- (openBlock(), createBlock(KeepAlive, null, [
57331
- (openBlock(), createBlock(resolveDynamicComponent(Q)))
57332
- ], 1024))
57333
- ]),
57334
- _: 1
57335
- })) : (openBlock(), createBlock(Z, { key: 1 }));
57336
- };
57337
- }
57338
- }), _export_sfc = (C, H) => {
57339
- const W = C.__vccOpts || C;
57340
- for (const [G, X] of H)
57341
- W[G] = X;
57342
- return W;
57343
- }, RouteView = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter1/src/components/layouts/RouteView.vue"]]), UserLogoIcon = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABYCAYAAAADWlKCAAAACXBIWXMAABYlAAAWJQFJUiTwAAAF0WlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2V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P+zZagjxMBc5KDM0k5pthH1ilj7fhUQ77pA3hHgNn6ENH4SEyHycw/bWIemfqpB8XC1toFgZF+PCkapojUCOCmQ6KcEexGb2nEqCLfr1SbkgxI8y5NjYYJ1BVUS3Ju9TUXw+khNlLumzGbUYFOa4/jok8uN5/VysUtqJSK6pLjQZFTsgHsUEYnDcreL2JtUX1iJH0laQ/OWOeYH/A4qUgcVa9sd7AAAAAElFTkSuQmCC", _hoisted_1$N = { class: "container" }, _hoisted_2$p = { class: "top" }, _hoisted_3$l = { class: "header" }, _hoisted_4$f = { href: "/" }, _hoisted_5$9 = ["src"], _hoisted_6$8 = { class: "title" }, _sfc_main$1a = /* @__PURE__ */ defineComponent({
57344
- __name: "UserLayout",
57345
- setup(C) {
57346
- const H = useAppStore(), W = computed(() => H.device), G = computed(() => H.menuTitle);
57347
- return onMounted(() => {
57348
- document.body.classList.add("userLayout");
57349
- }), onBeforeUnmount(() => {
57350
- document.body.classList.remove("userLayout");
57351
- }), (X, Z) => {
57352
- const Q = RouteView;
57353
- return openBlock(), createElementBlock("div", {
57354
- id: "userLayout",
57355
- class: normalizeClass(["user-layout-wrapper", W.value])
57356
- }, [
57357
- createElementVNode("div", _hoisted_1$N, [
57358
- createElementVNode("div", _hoisted_2$p, [
57359
- createElementVNode("div", _hoisted_3$l, [
57360
- createElementVNode("a", _hoisted_4$f, [
57361
- createElementVNode("img", {
57362
- src: unref(UserLogoIcon),
57363
- class: "logo",
57364
- alt: "logo"
57365
- }, null, 8, _hoisted_5$9),
57366
- createElementVNode("span", _hoisted_6$8, toDisplayString(G.value), 1)
57367
- ])
57368
- ]),
57369
- Z[0] || (Z[0] = createElementVNode("div", { class: "desc" }, null, -1))
57370
- ]),
57371
- createVNode(Q)
57372
- ])
57373
- ], 2);
57374
- };
57375
- }
57376
- }), UserLayout_vue_vue_type_style_index_0_scoped_641ac3cc_lang = "", UserLayout = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-641ac3cc"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter1/src/components/layouts/UserLayout.vue"]]), _sfc_main$19 = /* @__PURE__ */ defineComponent({
57377
- name: "BlankLayout",
57378
- __name: "BlankLayout",
57379
- setup(C) {
57380
- return (H, W) => {
57381
- const G = resolveComponent("router-view");
57382
- return openBlock(), createElementBlock("div", null, [
57383
- createVNode(G)
57384
- ]);
57385
- };
57386
- }
57387
- }), BlankLayout_vue_vue_type_style_index_0_scoped_ab08a19e_lang = "", BlankLayout = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-ab08a19e"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter1/src/components/layouts/BlankLayout.vue"]]), _hoisted_1$M = { class: "logo" }, _hoisted_2$o = ["src"], _hoisted_3$k = { style: { "font-family": "Arial, Helvetica, sans-serif", "font-size": "16px", "font-weight": "bold", color: "#272e3b", position: "relative", top: "5px", left: "8px" } }, _sfc_main$18 = /* @__PURE__ */ defineComponent({
57360
+ const Icon$1 = Icon, _hoisted_1$M = { class: "logo" }, _hoisted_2$o = ["src"], _hoisted_3$k = { style: { "font-family": "Arial, Helvetica, sans-serif", "font-size": "16px", "font-weight": "bold", color: "#272e3b", position: "relative", top: "5px", left: "8px" } }, _sfc_main$18 = /* @__PURE__ */ defineComponent({
57388
57361
  name: "Logo",
57389
57362
  __name: "Logo",
57390
57363
  setup(C) {
@@ -57466,7 +57439,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
57466
57439
  global: GlobalOutlined$1,
57467
57440
  appstore: AppstoreOutlined$1,
57468
57441
  setting: SettingOutlined$1
57469
- }, { Item, SubMenu } = Menu, SMenu = defineComponent({
57442
+ }, { Item, SubMenu } = Menu$1, SMenu = defineComponent({
57470
57443
  name: "SMenu",
57471
57444
  components: {
57472
57445
  MenuTip
@@ -57572,7 +57545,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
57572
57545
  immediate: !0
57573
57546
  }
57574
57547
  ), () => h$1(
57575
- Menu,
57548
+ Menu$1,
57576
57549
  {
57577
57550
  theme: C.theme,
57578
57551
  mode: C.mode,
@@ -65086,7 +65059,7 @@ const JSEncrypt = /* @__PURE__ */ getDefaultExportFromCjs(jsencrypt.exports), _h
65086
65059
  }, ie = () => {
65087
65060
  storage.get("login_type") === "ssoMulti" && (te.value = !0);
65088
65061
  }, ue = () => {
65089
- Modal.confirm({
65062
+ Modal$1.confirm({
65090
65063
  title: Z("user_menu.msg1"),
65091
65064
  content: Z("user_menu.msg2"),
65092
65065
  onOk() {
@@ -65346,7 +65319,7 @@ let lessNodesAppended;
65346
65319
  const updateTheme = (C) => {
65347
65320
  if (!C)
65348
65321
  return;
65349
- const H = message.loading("\u6B63\u5728\u7F16\u8BD1\u4E3B\u9898\uFF01", 0);
65322
+ const H = message$1.loading("\u6B63\u5728\u7F16\u8BD1\u4E3B\u9898\uFF01", 0);
65350
65323
  function W() {
65351
65324
  !window.less || setTimeout(() => {
65352
65325
  window.less.modifyVars({
@@ -66159,7 +66132,7 @@ const bus = mitt(), _hoisted_1$G = {
66159
66132
  TabsLayout
66160
66133
  };
66161
66134
  let router = null;
66162
- const viewModules = /* @__PURE__ */ Object.assign({ "/src/views/dashboard/index.vue": () => import("./index.33c5c55d.mjs"), "/src/views/index/index.vue": () => import("./index.1057d7a2.mjs"), "/src/views/login/index.vue": () => import("./index.1bf5e673.mjs"), "/src/views/sys/dictionary/index.vue": () => import("./index.34da58ce.mjs"), "/src/views/sys/functions/index.vue": () => Promise.resolve().then(() => index$g), "/src/views/sys/lang/index.vue": () => Promise.resolve().then(() => index$e), "/src/views/sys/org/index.vue": () => Promise.resolve().then(() => index$c), "/src/views/sys/organ/index.vue": () => Promise.resolve().then(() => index$a), "/src/views/sys/parameter/index.vue": () => Promise.resolve().then(() => index$8), "/src/views/sys/role/index.vue": () => Promise.resolve().then(() => index$6), "/src/views/sys/user/index.vue": () => Promise.resolve().then(() => index$4), "/src/views/sys/userinfo/index.vue": () => Promise.resolve().then(() => index$1) });
66135
+ const viewModules = /* @__PURE__ */ Object.assign({ "/src/views/dashboard/index.vue": () => import("./index.e4a2e26e.mjs"), "/src/views/index/index.vue": () => import("./index.bff339ca.mjs"), "/src/views/login/index.vue": () => import("./index.1d9c34ff.mjs"), "/src/views/sys/dictionary/index.vue": () => import("./index.5290402a.mjs"), "/src/views/sys/functions/index.vue": () => Promise.resolve().then(() => index$g), "/src/views/sys/lang/index.vue": () => Promise.resolve().then(() => index$e), "/src/views/sys/org/index.vue": () => Promise.resolve().then(() => index$c), "/src/views/sys/organ/index.vue": () => Promise.resolve().then(() => index$a), "/src/views/sys/parameter/index.vue": () => Promise.resolve().then(() => index$8), "/src/views/sys/role/index.vue": () => Promise.resolve().then(() => index$6), "/src/views/sys/user/index.vue": () => Promise.resolve().then(() => index$4), "/src/views/sys/userinfo/index.vue": () => Promise.resolve().then(() => index$1) });
66163
66136
  function hasPermission(C, H) {
66164
66137
  if (H.meta && H.meta.permission) {
66165
66138
  let W = !1;
@@ -72511,7 +72484,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
72511
72484
  Z.value && Z.value.validate().then(async () => {
72512
72485
  te.value = !0;
72513
72486
  const { result: se } = await setLangInsert(ne);
72514
- te.value = !1, se && (G("ok", se), message.success(W("lang.msg1")));
72487
+ te.value = !1, se && (G("ok", se), message$1.success(W("lang.msg1")));
72515
72488
  });
72516
72489
  };
72517
72490
  return onMounted(() => {
@@ -72688,7 +72661,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
72688
72661
  W.value = !0;
72689
72662
  }, se = async (fe) => {
72690
72663
  const { result: he } = await setLangUpdate(fe);
72691
- he && message.success(H("lang.msg1"));
72664
+ he && message$1.success(H("lang.msg1"));
72692
72665
  }, ce = () => {
72693
72666
  Object.assign(Q, {
72694
72667
  langType: "",
@@ -72697,7 +72670,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
72697
72670
  }), ne();
72698
72671
  }, le = async (fe) => {
72699
72672
  const { result: he } = await setLangDelete(fe);
72700
- he && (message.success(H("lang.msg1")), ne());
72673
+ he && (message$1.success(H("lang.msg1")), ne());
72701
72674
  }, ie = (fe) => fe.langType + fe.id, ue = (fe) => {
72702
72675
  let he = !1, ge = "";
72703
72676
  for (let ye = 0; ye < G.value.length; ye++)
@@ -72705,7 +72678,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
72705
72678
  he = !0;
72706
72679
  break;
72707
72680
  }
72708
- return he ? !0 : (message.error(H("lang.msg2") + ge, 10), !1);
72681
+ return he ? !0 : (message$1.error(H("lang.msg2") + ge, 10), !1);
72709
72682
  }, pe = async () => {
72710
72683
  Z.value = !0;
72711
72684
  const fe = await setLangExport();
@@ -74284,7 +74257,7 @@ const _hoisted_1$z = { class: "textarea-wrapper" }, _sfc_main$H = /* @__PURE__ *
74284
74257
  opType: te.opType
74285
74258
  });
74286
74259
  const le = await (te.opType == "1" ? setOrganInsertDepartment(JSON.stringify({ ...ne })) : setOrganUpdateDepartment(JSON.stringify({ ...ne })));
74287
- Q.value = !1, le && (message.success(
74260
+ Q.value = !1, le && (message$1.success(
74288
74261
  `${ne.name} ${te.opType == "1" ? G("organ.ins_successtip") : G("organ.up_successtip")}`,
74289
74262
  5
74290
74263
  ), X("ok", te), Z.value = !1);
@@ -74430,7 +74403,7 @@ const _hoisted_1$z = { class: "textarea-wrapper" }, _sfc_main$H = /* @__PURE__ *
74430
74403
  opType: te.opType
74431
74404
  });
74432
74405
  let le = null;
74433
- te.opType == "1" ? le = await setOrganInsertBranch(JSON.stringify({ ...ee })) : le = await setOrganUpdateBranch(JSON.stringify({ ...ee })), le && (X("ok", { ...ee }), message.success(
74406
+ te.opType == "1" ? le = await setOrganInsertBranch(JSON.stringify({ ...ee })) : le = await setOrganUpdateBranch(JSON.stringify({ ...ee })), le && (X("ok", { ...ee }), message$1.success(
74434
74407
  `${ee.name} ${te.opType == "1" ? G("organ.ins_successtip") : G("organ.up_successtip")}`,
74435
74408
  5
74436
74409
  )), ne.value = !1, Z.value = !1;
@@ -74792,9 +74765,9 @@ const _hoisted_1$z = { class: "textarea-wrapper" }, _sfc_main$H = /* @__PURE__ *
74792
74765
  le();
74793
74766
  }, he = (ge) => {
74794
74767
  ge.type == "3" ? setOrganDeleteDepartment({ id: ge.id }).then((ye) => {
74795
- ye != null && ye.result && (le(), message.success(`${ge.name} ${G("organ.del_successtip")}`, 5));
74768
+ ye != null && ye.result && (le(), message$1.success(`${ge.name} ${G("organ.del_successtip")}`, 5));
74796
74769
  }) : setOrganDeleteBranch({ id: ge.id }).then((ye) => {
74797
- ye != null && ye.result && (le(), message.success(`${ge.name} ${G("organ.del_successtip")}`, 5));
74770
+ ye != null && ye.result && (le(), message$1.success(`${ge.name} ${G("organ.del_successtip")}`, 5));
74798
74771
  });
74799
74772
  };
74800
74773
  return H({
@@ -75084,12 +75057,12 @@ const _hoisted_1$t = ["onClick"], _hoisted_2$b = { class: "title1" }, _sfc_main$
75084
75057
  __name: "index",
75085
75058
  setup(C) {
75086
75059
  const { t: H } = useI18n(), W = ref({}), G = ref(), X = ref("WebClient"), Z = {
75087
- WebClient: defineAsyncComponent(() => import("./WebClient.a05efa53.mjs")),
75088
- Standard: defineAsyncComponent(() => import("./Standard.1faf5448.mjs"))
75060
+ WebClient: defineAsyncComponent(() => import("./WebClient.af9a3cfc.mjs")),
75061
+ Standard: defineAsyncComponent(() => import("./Standard.3eb35d4c.mjs"))
75089
75062
  }, Q = computed(() => Z[X.value]), ee = (te) => {
75090
75063
  te.v3 ? X.value = te.v3 : X.value = "Standard", W.value = te;
75091
75064
  }, ne = () => {
75092
- message.success(H("param.tips3"));
75065
+ message$1.success(H("param.tips3"));
75093
75066
  };
75094
75067
  return (te, oe) => {
75095
75068
  const re = Card$1, ae = __unplugin_components_2$5, se = __unplugin_components_3;
@@ -75525,7 +75498,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
75525
75498
  remark: oe.value.remark,
75526
75499
  detail: Ie
75527
75500
  }, { result: De } = await updateRole(we);
75528
- De && (se.value = JSON.stringify(Ie), Q.value.platFlag = !1, X("ok"), notification.success({
75501
+ De && (se.value = JSON.stringify(Ie), Q.value.platFlag = !1, X("ok"), notification$1.success({
75529
75502
  message: W("common.msg3"),
75530
75503
  description: W("common.msg4")
75531
75504
  }));
@@ -77017,7 +76990,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
77017
76990
  ie && (ee.value = !1, Object.assign(Q, {
77018
76991
  userPwd: "",
77019
76992
  userPwd1: ""
77020
- }), X("ok", ie), message.success({
76993
+ }), X("ok", ie), message$1.success({
77021
76994
  title: G("register.msg5"),
77022
76995
  content: G("user.tip1")
77023
76996
  }));
@@ -78900,11 +78873,11 @@ const M = /* @__PURE__ */ $(z, [["render", U], ["__scopeId", "data-v-a742df44"]]
78900
78873
  pe = pe || 1, Q.value.changeScale(pe);
78901
78874
  }, le = (pe) => {
78902
78875
  if (!(pe.type === "image/png")) {
78903
- message.error(G("personal_center.tips3"));
78876
+ message$1.error(G("personal_center.tips3"));
78904
78877
  return;
78905
78878
  }
78906
78879
  if (!(pe.size / 1024 / 10 < 2)) {
78907
- message.error(G("personal_center.tips4"));
78880
+ message$1.error(G("personal_center.tips4"));
78908
78881
  return;
78909
78882
  }
78910
78883
  te.value = [pe];
@@ -78914,14 +78887,14 @@ const M = /* @__PURE__ */ $(z, [["render", U], ["__scopeId", "data-v-a742df44"]]
78914
78887
  }, !1;
78915
78888
  }, ie = () => {
78916
78889
  if (!te.value.length) {
78917
- message.info(G("personal_center.tips5"));
78890
+ message$1.info(G("personal_center.tips5"));
78918
78891
  return;
78919
78892
  }
78920
78893
  const pe = new FormData();
78921
78894
  te.value.forEach((de) => {
78922
78895
  pe.append("fileName", de);
78923
78896
  }), userInfoUpdateHead(pe).then(({ result: de }) => {
78924
- de ? (message.info(G("personal_center.tips1")), X("ok"), ee.value = !1) : message.info(G("personal_center.tips2"));
78897
+ de ? (message$1.info(G("personal_center.tips1")), X("ok"), ee.value = !1) : message$1.info(G("personal_center.tips2"));
78925
78898
  });
78926
78899
  }, ue = (pe) => {
78927
78900
  oe.value = pe;
@@ -79111,7 +79084,7 @@ const M = /* @__PURE__ */ $(z, [["render", U], ["__scopeId", "data-v-a742df44"]]
79111
79084
  ...Z,
79112
79085
  sex: Z.sex[0]
79113
79086
  }, { result: le } = await userInfoUpdateBase(ce);
79114
- le ? message.info(W("personal_center.tips1")) : message.info(W("personal_center.tips2"));
79087
+ le ? message$1.info(W("personal_center.tips1")) : message$1.info(W("personal_center.tips2"));
79115
79088
  });
79116
79089
  }, se = () => {
79117
79090
  oe(), re();
@@ -89405,7 +89378,7 @@ const style = "", cssvar = "", _hoisted_1$d = { key: 0 }, _sfc_main$f = /* @__PU
89405
89378
  emits: ["click"],
89406
89379
  setup(C, { emit: H }) {
89407
89380
  const { t: W } = useI18n(), { hasPermissionId: G } = usePermissionId(), X = H, Z = C, Q = ref("003"), ee = ref(!1), ne = () => {
89408
- Z.confirm ? Modal.confirm({
89381
+ Z.confirm ? Modal$1.confirm({
89409
89382
  title: W("button._004_msg1"),
89410
89383
  content: W("button._003_msg2"),
89411
89384
  okType: "danger",
@@ -89592,7 +89565,7 @@ const style = "", cssvar = "", _hoisted_1$d = { key: 0 }, _sfc_main$f = /* @__PU
89592
89565
  emits: ["click"],
89593
89566
  setup(C, { emit: H }) {
89594
89567
  const { t: W } = useI18n(), { hasPermissionId: G } = usePermissionId(), X = H, Z = C, Q = ref("004"), ee = ref(!1), ne = () => {
89595
- Z.disabled || (Z.confirm ? Modal.confirm({
89568
+ Z.disabled || (Z.confirm ? Modal$1.confirm({
89596
89569
  title: Z.title ? Z.title : W("button._004_msg1"),
89597
89570
  content: Z.content ? Z.content : W("button._004_msg2"),
89598
89571
  okType: "danger",
@@ -89763,7 +89736,7 @@ const style = "", cssvar = "", _hoisted_1$d = { key: 0 }, _sfc_main$f = /* @__PU
89763
89736
  emits: ["change"],
89764
89737
  setup(C, { emit: H }) {
89765
89738
  const { hasPermissionId: W } = usePermissionId(), { t: G } = useI18n(), X = H, Z = C, Q = ref(Z.defaultChecked), ee = ref(!0), ne = ref("006"), te = () => btnTypeDiction, oe = (re) => {
89766
- Z.confirm ? Modal.confirm({
89739
+ Z.confirm ? Modal$1.confirm({
89767
89740
  title: G("button._006_msg1"),
89768
89741
  content: G(re ? "button._006_msg2" : "button._006_msg3"),
89769
89742
  okType: "danger",
@@ -89877,13 +89850,13 @@ const style = "", cssvar = "", _hoisted_1$d = { key: 0 }, _sfc_main$f = /* @__PU
89877
89850
  emits: ["preview", "uploading", "done", "error", "change"],
89878
89851
  setup(C, { emit: H }) {
89879
89852
  const { hasPermissionId: W } = usePermissionId(), G = useAppStore(), { t: X } = useI18n(), Z = H, Q = ref("007"), ee = ref(!1), ne = reactive({}), te = (ae) => {
89880
- ae.file.status == "uploading" ? Z("uploading") : ae.file.status == "done" ? ae.file.response.code == 0 ? (Z("done", ae.file.response), notification.success({
89853
+ ae.file.status == "uploading" ? Z("uploading") : ae.file.status == "done" ? ae.file.response.code == 0 ? (Z("done", ae.file.response), notification$1.success({
89881
89854
  message: "Upload file",
89882
89855
  description: X("common.msg2")
89883
- })) : notification.error({
89856
+ })) : notification$1.error({
89884
89857
  message: ae.file.response.code,
89885
89858
  description: ae.file.response.message ? ae.file.response.message : "unknow error"
89886
- }) : ae.file.status == "error" && (Z("error"), notification.error({
89859
+ }) : ae.file.status == "error" && (Z("error"), notification$1.error({
89887
89860
  message: -1e5,
89888
89861
  description: X("common.msg1")
89889
89862
  }));
@@ -89995,7 +89968,7 @@ const style = "", cssvar = "", _hoisted_1$d = { key: 0 }, _sfc_main$f = /* @__PU
89995
89968
  emits: ["click"],
89996
89969
  setup(C, { emit: H }) {
89997
89970
  const { hasPermissionId: W } = usePermissionId(), { t: G } = useI18n(), X = H, Z = C, Q = ref("008"), ee = ref(!1), ne = () => {
89998
- Z.confirm ? Modal.confirm({
89971
+ Z.confirm ? Modal$1.confirm({
89999
89972
  title: G("button._008_msg1"),
90000
89973
  content: G("button._008_msg2"),
90001
89974
  okType: "danger",
@@ -90076,7 +90049,7 @@ const style = "", cssvar = "", _hoisted_1$d = { key: 0 }, _sfc_main$f = /* @__PU
90076
90049
  emits: ["click"],
90077
90050
  setup(C, { emit: H }) {
90078
90051
  const { hasPermissionId: W } = usePermissionId(), { t: G } = useI18n(), X = H, Z = C, Q = ref("009"), ee = ref(!1), ne = () => {
90079
- Z.confirm ? Modal.confirm({
90052
+ Z.confirm ? Modal$1.confirm({
90080
90053
  title: G("button._009_msg1"),
90081
90054
  content: G("button._009_msg2"),
90082
90055
  okType: "danger",
@@ -90183,7 +90156,7 @@ const style = "", cssvar = "", _hoisted_1$d = { key: 0 }, _sfc_main$f = /* @__PU
90183
90156
  emits: ["click"],
90184
90157
  setup(C, { emit: H }) {
90185
90158
  const { hasPermissionId: W } = usePermissionId(), { t: G } = useI18n(), X = H, Z = C, Q = ref("011"), ee = ref(!1), ne = () => {
90186
- Z.confirm ? Modal.confirm({
90159
+ Z.confirm ? Modal$1.confirm({
90187
90160
  title: G("button._011_msg1"),
90188
90161
  content: G("button._011_msg2"),
90189
90162
  okType: "danger",
@@ -90235,7 +90208,7 @@ const style = "", cssvar = "", _hoisted_1$d = { key: 0 }, _sfc_main$f = /* @__PU
90235
90208
  emits: ["click"],
90236
90209
  setup(C, { emit: H }) {
90237
90210
  const { t: W } = useI18n(), { hasPermissionId: G } = usePermissionId(), X = H, Z = C, Q = ref("012"), ee = ref(!1), ne = () => {
90238
- Z.confirm ? Modal.confirm({
90211
+ Z.confirm ? Modal$1.confirm({
90239
90212
  title: W("button._012_msg1"),
90240
90213
  content: W("button._012_msg2"),
90241
90214
  okType: "danger",
@@ -90290,7 +90263,7 @@ const style = "", cssvar = "", _hoisted_1$d = { key: 0 }, _sfc_main$f = /* @__PU
90290
90263
  emits: ["click"],
90291
90264
  setup(C, { emit: H }) {
90292
90265
  const { t: W } = useI18n(), { hasPermissionId: G } = usePermissionId(), X = H, Z = C, Q = ref("015"), ee = ref(!1), ne = () => {
90293
- Z.confirm ? Modal.confirm({
90266
+ Z.confirm ? Modal$1.confirm({
90294
90267
  title: W("button._015_msg1"),
90295
90268
  content: W("button._015_msg2"),
90296
90269
  okType: "danger",
@@ -90656,7 +90629,7 @@ let handleClick;
90656
90629
  const copy = {
90657
90630
  beforeMount(C, H, W) {
90658
90631
  handleClick = () => {
90659
- useClipboardReturn.copy(H.value), message.success(
90632
+ useClipboardReturn.copy(H.value), message$1.success(
90660
90633
  W.ctx.appContext.config.globalProperties.$t(
90661
90634
  "install_meter.copy_success"
90662
90635
  )
@@ -90686,10 +90659,10 @@ function setupVxeTable(C) {
90686
90659
  C.directive(H, directives[H]);
90687
90660
  });
90688
90661
  }
90689
- const usercenterInit = {
90662
+ const UserCenter = {
90690
90663
  install(C, H = {}) {
90691
90664
  const { lang: W, i18n: G, pinia: X, themeColor: Z } = H;
90692
- W && changeLanguage(W), X && setStore(X), changeTheme(Z), setI18n(G), C.use(inhe), setupVxeTable(C);
90665
+ W && changeLanguage(W), X && setStore(X), Z && changeTheme(Z), setI18n(G), C.use(inhe), setupVxeTable(C);
90693
90666
  }
90694
90667
  };
90695
90668
  export {
@@ -90698,6 +90671,7 @@ export {
90698
90671
  Form$1 as F,
90699
90672
  Input as I,
90700
90673
  JSEncrypt as J,
90674
+ UserCenter as U,
90701
90675
  _export_sfc as _,
90702
90676
  getCode as a,
90703
90677
  __unplugin_components_3$4 as b,
@@ -90711,18 +90685,15 @@ export {
90711
90685
  __unplugin_components_2 as j,
90712
90686
  changeLanguage as k,
90713
90687
  logout as l,
90714
- message as m,
90715
- changeTheme as n,
90716
- setToken as o,
90717
- index$f as p,
90718
- index$d as q,
90719
- index$b as r,
90688
+ changeTheme as m,
90689
+ setToken as n,
90690
+ index$f as o,
90691
+ index$d as p,
90692
+ index$b as q,
90693
+ index$9 as r,
90720
90694
  storage as s,
90721
- index$9 as t,
90722
- useRouter as u,
90723
- index$7 as v,
90724
- index$5 as w,
90725
- index$3 as x,
90726
- index as y,
90727
- usercenterInit as z
90695
+ index$7 as t,
90696
+ index$5 as u,
90697
+ index$3 as v,
90698
+ index as w
90728
90699
  };