@witlink/usercenter 1.2.5 → 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.451f7c45.mjs → RegionSelect.3791e16e.mjs} +1 -1
- package/dist/{UpOutlined.5d01baca.mjs → UpOutlined.07b7d748.mjs} +1 -1
- package/dist/{index.54a632d1.mjs → index.01fcde3a.mjs} +1 -1
- package/dist/{index.bb22d468.mjs → index.0214f88b.mjs} +74 -69
- package/dist/{index.62f3a136.mjs → index.13dbe5bb.mjs} +2 -2
- package/dist/{index.9237bba3.mjs → index.3188d9c8.mjs} +132 -134
- package/dist/{index.14e969da.mjs → index.558278fa.mjs} +1 -1
- package/dist/{index.5b57af1e.mjs → index.77c11f9b.mjs} +2 -2
- package/dist/{index.fc9896b4.mjs → index.8952bb11.mjs} +10 -10
- package/dist/{index.d92bb909.mjs → index.8bbe2ca7.mjs} +27 -27
- package/dist/{index.8beda320.mjs → index.937fb591.mjs} +1 -1
- package/dist/{index.f0b0226f.mjs → index.d193e992.mjs} +1 -1
- package/dist/{index.472d902e.mjs → index.d9701a76.mjs} +15 -15
- package/dist/usercenter.es.js +4 -4
- package/dist/usercenter.umd.js +4 -4
- package/package.json +1 -1
@@ -1922,7 +1922,7 @@ function handleResp(C) {
|
|
1922
1922
|
if (H.code == -100017 || H.code == -100018 || H.code == -120042 || H.code == -120041) {
|
1923
1923
|
storage.remove(ACCESS_TOKEN);
|
1924
1924
|
const G = storage.get("logoutToUrl");
|
1925
|
-
|
1925
|
+
window.location.href = G;
|
1926
1926
|
} else {
|
1927
1927
|
let G = $lang("err", String(H.code));
|
1928
1928
|
G || (G = H.message ? H.message : "unknow error");
|
@@ -2210,22 +2210,22 @@ const useAppStore = defineStore({
|
|
2210
2210
|
{
|
2211
2211
|
path: "/login",
|
2212
2212
|
name: "login",
|
2213
|
-
component: () => import("./index.
|
2213
|
+
component: () => import("./index.0214f88b.mjs")
|
2214
2214
|
},
|
2215
2215
|
{
|
2216
2216
|
path: "/index",
|
2217
2217
|
name: "index",
|
2218
|
-
component: () => import("./index.
|
2218
|
+
component: () => import("./index.937fb591.mjs")
|
2219
2219
|
},
|
2220
2220
|
{
|
2221
2221
|
path: "/dashboard",
|
2222
2222
|
name: "dashboard",
|
2223
|
-
component: () => import("./index.
|
2223
|
+
component: () => import("./index.558278fa.mjs")
|
2224
2224
|
},
|
2225
2225
|
{
|
2226
2226
|
path: "/404",
|
2227
2227
|
name: "404",
|
2228
|
-
component: () => import("./index.
|
2228
|
+
component: () => import("./index.01fcde3a.mjs"),
|
2229
2229
|
meta: {
|
2230
2230
|
title: "404 \u627E\u4E0D\u5230\u9875\u9762"
|
2231
2231
|
}
|
@@ -58033,7 +58033,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
58033
58033
|
email: "",
|
58034
58034
|
captcha: "",
|
58035
58035
|
userCode: ""
|
58036
|
-
});
|
58036
|
+
}), ee.value = 0;
|
58037
58037
|
}, ge = () => {
|
58038
58038
|
Z.value && Z.value.validate().then(() => {
|
58039
58039
|
te.value = !0, ne.value = {
|
@@ -58052,7 +58052,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
58052
58052
|
email: "",
|
58053
58053
|
captcha: "",
|
58054
58054
|
userCode: ""
|
58055
|
-
}));
|
58055
|
+
}), ee.value = 0);
|
58056
58056
|
});
|
58057
58057
|
});
|
58058
58058
|
}, he = ($e, xe) => xe ? (ee.value = 0, /[0-9]/.test(xe) && ee.value++, /[a-zA-Z]/.test(xe) && ee.value++, /[^0-9a-zA-Z_]/.test(xe) && ee.value++, Promise.resolve()) : Promise.reject(W("personal_center.user_pwd1_msg1")), pe = reactive({
|
@@ -59459,9 +59459,12 @@ const bus = mitt(), _hoisted_1$w = {
|
|
59459
59459
|
BasicLayout,
|
59460
59460
|
RouteView,
|
59461
59461
|
TabsLayout
|
59462
|
+
}, getBrowserLang = () => {
|
59463
|
+
const C = navigator.language || navigator.userLanguage || navigator.browserLanguage || navigator.systemLanguage;
|
59464
|
+
return C.indexOf("zh") > -1 ? "zh_CN" : C.indexOf("en") > -1 ? "en_US" : C.indexOf("fr") > -1 ? "fr_FR" : C.indexOf("nl") > -1 ? "nl-NL" : C.indexOf("de") > -1 ? "de-DE" : C.indexOf("ja") > -1 ? "ja-JP" : C.indexOf("it") > -1 ? "it-IT" : C.indexOf("pt") > -1 ? "pt-PT" : C.indexOf("es") > -1 ? "es" : C.indexOf("sv") > -1 ? "sv-fi" : "en_US";
|
59462
59465
|
};
|
59463
59466
|
let router = null;
|
59464
|
-
const viewModules = /* @__PURE__ */ Object.assign({ "/src/views/dashboard/index.vue": () => import("./index.
|
59467
|
+
const viewModules = /* @__PURE__ */ Object.assign({ "/src/views/dashboard/index.vue": () => import("./index.558278fa.mjs"), "/src/views/error/404/index.vue": () => import("./index.01fcde3a.mjs"), "/src/views/index/index.vue": () => import("./index.937fb591.mjs"), "/src/views/login/index.vue": () => import("./index.0214f88b.mjs"), "/src/views/sys/dictionary/index.vue": () => import("./index.d193e992.mjs"), "/src/views/sys/functions/index.vue": () => Promise.resolve().then(() => index$7), "/src/views/sys/lang/index.vue": () => import("./index.8952bb11.mjs"), "/src/views/sys/org/index.vue": () => import("./index.d9701a76.mjs"), "/src/views/sys/organ/index.vue": () => Promise.resolve().then(() => index$5), "/src/views/sys/parameter/index.vue": () => import("./index.8bbe2ca7.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.13dbe5bb.mjs") });
|
59465
59468
|
function hasPermission(C, H) {
|
59466
59469
|
if (H.meta && H.meta.permission) {
|
59467
59470
|
let U = !1;
|
@@ -59498,9 +59501,6 @@ function addRoutes(C, H = "") {
|
|
59498
59501
|
}
|
59499
59502
|
});
|
59500
59503
|
}
|
59501
|
-
function getBrowserLang$1() {
|
59502
|
-
return (navigator.language || navigator.languages && navigator.languages[0] || "en-US").toLowerCase() === "zh-cn" ? "zh_CN" : "en_US";
|
59503
|
-
}
|
59504
59504
|
const useUserStore = defineStore({
|
59505
59505
|
id: `${TOKEN_PREFIX}user`,
|
59506
59506
|
state: () => ({
|
@@ -59550,7 +59550,7 @@ const useUserStore = defineStore({
|
|
59550
59550
|
}
|
59551
59551
|
}), Z.permissionList = Z.permissions.map((oe) => oe.permissionId);
|
59552
59552
|
const ne = Z.roleTypeId === "0", ee = Q ? Q.some((oe) => oe.roleTypeId === "0") : !1, te = ne || ee;
|
59553
|
-
this.userLanguage = W.userLanguage || getBrowserLang
|
59553
|
+
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;
|
59554
59554
|
} else {
|
59555
59555
|
H("getInfo: roles must be a non-null array !");
|
59556
59556
|
const Z = $lang("login", "noperssionInfo");
|
@@ -59971,9 +59971,6 @@ const DatePicker$1 = locale$3, typeTemplate$1 = "${label}\u4E0D\u662F\u4E00\u4E2
|
|
59971
59971
|
}, fr_FR = localeValues;
|
59972
59972
|
let i18n, langList = null;
|
59973
59973
|
const localMap = /* @__PURE__ */ new Map();
|
59974
|
-
function getBrowserLang() {
|
59975
|
-
return (navigator.language || navigator.languages && navigator.languages[0] || "en-US").toLowerCase() === "zh-cn" ? "zh_CN" : "en_US";
|
59976
|
-
}
|
59977
59974
|
function setI18n$1(C) {
|
59978
59975
|
i18n = C;
|
59979
59976
|
}
|
@@ -78586,146 +78583,147 @@ const UserCenter = {
|
|
78586
78583
|
}
|
78587
78584
|
};
|
78588
78585
|
export {
|
78589
|
-
|
78586
|
+
useDistByType as $,
|
78590
78587
|
AntdIcon as A,
|
78591
78588
|
Button$1 as B,
|
78592
78589
|
CheckCircleFilled$1 as C,
|
78593
78590
|
DownOutlined$1 as D,
|
78594
78591
|
ExclamationCircleFilled$1 as E,
|
78595
78592
|
Form$1 as F,
|
78596
|
-
|
78597
|
-
|
78593
|
+
Modal as G,
|
78594
|
+
STable as H,
|
78598
78595
|
Icon$1 as I,
|
78599
78596
|
JSEncrypt as J,
|
78600
|
-
|
78601
|
-
__unplugin_components_3$
|
78597
|
+
__unplugin_components_2$4 as K,
|
78598
|
+
__unplugin_components_3$1 as L,
|
78602
78599
|
Menu as M,
|
78603
|
-
|
78604
|
-
|
78600
|
+
__unplugin_components_3$2 as N,
|
78601
|
+
__unplugin_components_4 as O,
|
78605
78602
|
PropTypes$1 as P,
|
78606
|
-
|
78607
|
-
|
78603
|
+
__unplugin_components_0$5 as Q,
|
78604
|
+
getTimezoneCombo as R,
|
78608
78605
|
Spin as S,
|
78609
78606
|
TOKEN_PREFIX as T,
|
78610
|
-
|
78611
|
-
|
78612
|
-
|
78613
|
-
|
78614
|
-
|
78615
|
-
|
78607
|
+
SelectOption as U,
|
78608
|
+
Select as V,
|
78609
|
+
getLangCombo as W,
|
78610
|
+
DictEx as X,
|
78611
|
+
FooterToolBar as Y,
|
78612
|
+
Card$1 as Z,
|
78616
78613
|
_export_sfc as _,
|
78617
78614
|
_objectSpread2$1 as a,
|
78618
|
-
|
78619
|
-
|
78620
|
-
|
78621
|
-
|
78622
|
-
|
78623
|
-
|
78624
|
-
|
78625
|
-
|
78626
|
-
|
78627
|
-
|
78628
|
-
|
78629
|
-
|
78630
|
-
|
78631
|
-
|
78632
|
-
|
78633
|
-
|
78634
|
-
|
78635
|
-
|
78636
|
-
|
78637
|
-
|
78638
|
-
|
78639
|
-
|
78640
|
-
|
78641
|
-
|
78642
|
-
|
78643
|
-
|
78644
|
-
|
78645
|
-
|
78646
|
-
|
78647
|
-
|
78648
|
-
|
78649
|
-
|
78650
|
-
|
78651
|
-
|
78652
|
-
|
78653
|
-
|
78654
|
-
|
78655
|
-
|
78656
|
-
|
78657
|
-
|
78658
|
-
|
78659
|
-
|
78660
|
-
|
78661
|
-
|
78662
|
-
|
78663
|
-
|
78664
|
-
|
78665
|
-
|
78666
|
-
|
78667
|
-
|
78668
|
-
|
78669
|
-
|
78670
|
-
|
78671
|
-
|
78672
|
-
|
78673
|
-
|
78674
|
-
|
78675
|
-
|
78676
|
-
|
78677
|
-
|
78678
|
-
|
78679
|
-
|
78680
|
-
|
78681
|
-
|
78615
|
+
enUS as a$,
|
78616
|
+
__unplugin_components_0$2 as a0,
|
78617
|
+
__unplugin_components_3$4 as a1,
|
78618
|
+
bus as a2,
|
78619
|
+
getRegionRootCombo as a3,
|
78620
|
+
getRegionChildCombo as a4,
|
78621
|
+
getRegionDetail as a5,
|
78622
|
+
__unplugin_components_0$3 as a6,
|
78623
|
+
functionType as a7,
|
78624
|
+
isMobile as a8,
|
78625
|
+
warning$4 as a9,
|
78626
|
+
cloneElement as aA,
|
78627
|
+
AllAntdIcon as aB,
|
78628
|
+
__unplugin_components_3 as aC,
|
78629
|
+
__unplugin_components_2 as aD,
|
78630
|
+
commonjsGlobal as aE,
|
78631
|
+
noteOnce as aF,
|
78632
|
+
isVisible as aG,
|
78633
|
+
useMergedState as aH,
|
78634
|
+
Trigger as aI,
|
78635
|
+
useMemo as aJ,
|
78636
|
+
shallowequal as aK,
|
78637
|
+
warningOnce as aL,
|
78638
|
+
useState as aM,
|
78639
|
+
slideDownIn as aN,
|
78640
|
+
slideUpIn as aO,
|
78641
|
+
slideDownOut as aP,
|
78642
|
+
slideUpOut as aQ,
|
78643
|
+
roundedArrow as aR,
|
78644
|
+
textEllipsis as aS,
|
78645
|
+
initSlideMotion as aT,
|
78646
|
+
initMoveMotion as aU,
|
78647
|
+
TinyColor as aV,
|
78648
|
+
__unplugin_components_1$2 as aW,
|
78649
|
+
objectType as aX,
|
78650
|
+
arrayType as aY,
|
78651
|
+
devWarning as aZ,
|
78652
|
+
useLocaleReceiver as a_,
|
78653
|
+
wrapperRaf as aa,
|
78654
|
+
_extends$1 as ab,
|
78655
|
+
booleanType as ac,
|
78656
|
+
someType as ad,
|
78657
|
+
stringType as ae,
|
78658
|
+
KeyCode$1 as af,
|
78659
|
+
initInputToken as ag,
|
78660
|
+
genCompactItemStyle as ah,
|
78661
|
+
resetComponent as ai,
|
78662
|
+
genBasicInputStyle as aj,
|
78663
|
+
genStatusStyle as ak,
|
78664
|
+
genHoverStyle as al,
|
78665
|
+
genActiveStyle as am,
|
78666
|
+
genDisabledStyle as an,
|
78667
|
+
genInputGroupStyle as ao,
|
78668
|
+
genPlaceholderStyle as ap,
|
78669
|
+
resetIcon as aq,
|
78670
|
+
useInjectFormItemContext as ar,
|
78671
|
+
FormItemInputContext as as,
|
78672
|
+
getMergedStatus as at,
|
78673
|
+
useCompactItemContext as au,
|
78674
|
+
useInjectDisabled as av,
|
78675
|
+
getStatusClassNames as aw,
|
78676
|
+
omit$4 as ax,
|
78677
|
+
NoCompactStyle as ay,
|
78678
|
+
NoFormStatus as az,
|
78682
78679
|
CloseCircleFilled$1 as b,
|
78683
|
-
|
78684
|
-
|
78685
|
-
|
78686
|
-
|
78687
|
-
|
78688
|
-
|
78689
|
-
|
78690
|
-
|
78691
|
-
|
78692
|
-
|
78693
|
-
|
78694
|
-
|
78695
|
-
|
78696
|
-
|
78697
|
-
|
78698
|
-
|
78699
|
-
|
78700
|
-
|
78701
|
-
|
78702
|
-
index$
|
78703
|
-
index$
|
78704
|
-
index as bl,
|
78705
|
-
|
78706
|
-
|
78680
|
+
ClockCircleOutlined$1 as b0,
|
78681
|
+
__unplugin_components_1$1 as b1,
|
78682
|
+
EditModal as b2,
|
78683
|
+
toFormatDate as b3,
|
78684
|
+
__unplugin_components_0$1 as b4,
|
78685
|
+
getOffset as b5,
|
78686
|
+
toUTC as b6,
|
78687
|
+
UploadOutlined$1 as b7,
|
78688
|
+
PlusOutlined$1 as b8,
|
78689
|
+
useInitUserinfo as b9,
|
78690
|
+
useAppStore as ba,
|
78691
|
+
antLocaleMap as bb,
|
78692
|
+
__unplugin_components_0$4 as bc,
|
78693
|
+
Tabs as bd,
|
78694
|
+
__unplugin_components_2$3 as be,
|
78695
|
+
changeTheme as bf,
|
78696
|
+
setToken as bg,
|
78697
|
+
removeToken as bh,
|
78698
|
+
setLogoutToUrl as bi,
|
78699
|
+
index$6 as bj,
|
78700
|
+
index$4 as bk,
|
78701
|
+
index$2 as bl,
|
78702
|
+
index as bm,
|
78703
|
+
changeLanguage as bn,
|
78704
|
+
UserCenter as bo,
|
78707
78705
|
classNames as c,
|
78708
78706
|
useUserStore as d,
|
78709
78707
|
ACCESS_TOKEN as e,
|
78710
|
-
|
78708
|
+
getBrowserLang as f,
|
78711
78709
|
genComponentStyleHook as g,
|
78712
78710
|
hash as h,
|
78713
|
-
|
78714
|
-
|
78715
|
-
|
78716
|
-
|
78711
|
+
changeLang as i,
|
78712
|
+
CheckOutlined$1 as j,
|
78713
|
+
CaretUpOutlined$1 as k,
|
78714
|
+
CaretDownOutlined$1 as l,
|
78717
78715
|
merge$2 as m,
|
78718
|
-
|
78719
|
-
|
78720
|
-
|
78721
|
-
|
78722
|
-
|
78716
|
+
getAppInfo as n,
|
78717
|
+
getCode as o,
|
78718
|
+
Input as p,
|
78719
|
+
__unplugin_components_1$3 as q,
|
78720
|
+
__unplugin_components_4$1 as r,
|
78723
78721
|
storage as s,
|
78724
|
-
|
78722
|
+
Dropdown$1 as t,
|
78725
78723
|
useConfigInject as u,
|
78726
|
-
|
78727
|
-
|
78728
|
-
|
78729
|
-
|
78730
|
-
|
78724
|
+
Avatar$1 as v,
|
78725
|
+
login as w,
|
78726
|
+
setUpdateUserLanguage as x,
|
78727
|
+
logout as y,
|
78728
|
+
handleRespPost as z
|
78731
78729
|
};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { a7 as A, a8 as et, c as j, a as T, a9 as tt, aa as Ae, ab as v, ac as F, ad as Z, ae as xe, af as ie, g as nt, ag as at, ah as rt, ai as Te, aj as je, ak as We, al as He, am as lt, an as it, ao as ot, ap as st, aq as ut, ar as dt, as as ct, at as ft, u as pt, au as mt, av as gt, aw as Se, ax as vt, D as ht, ay as Ve, az as Oe, aA as bt, P as $e } from "./index.3188d9c8.mjs";
|
2
2
|
import { defineComponent as Ee, ref as Ge, onBeforeUnmount as qe, createVNode as b, shallowRef as M, computed as W, watch as ee } from "vue";
|
3
|
-
import { U as St } from "./UpOutlined.
|
3
|
+
import { U as St } from "./UpOutlined.07b7d748.mjs";
|
4
4
|
function we() {
|
5
5
|
return typeof BigInt == "function";
|
6
6
|
}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { createVNode as e, defineComponent as
|
1
|
+
import { createVNode as e, defineComponent as G, ref as v, reactive as Q, onMounted as X, openBlock as I, createBlock as V, withCtx as l, mergeProps as P, createElementBlock as q, Fragment as ve, renderList as ye, computed as Y, normalizeStyle as he, renderSlot as be, resolveComponent as w, createElementVNode as S, createTextVNode as k, toDisplayString as E, unref as W, createCommentVNode as xe } from "vue";
|
2
2
|
import { message as R } from "ant-design-vue";
|
3
3
|
import { useI18n as Z } from "vue-i18n";
|
4
|
-
import { A as we,
|
4
|
+
import { A as we, z as L, p as ee, q as ne, F as te, S as le, G as ke, _ as K, H as Ie, I as Le, B as $e, K as Ce, L as Oe, N as Ue, O as Se } from "./index.3188d9c8.mjs";
|
5
5
|
import './assets/index.ca7d4055.css';var Re = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z" } }, { tag: "path", attrs: { d: "M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z" } }] }, name: "form", theme: "outlined" };
|
6
6
|
const Te = Re;
|
7
7
|
function J(s) {
|
@@ -69,7 +69,7 @@ function ze() {
|
|
69
69
|
responseType: "blob"
|
70
70
|
});
|
71
71
|
}
|
72
|
-
const Pe = /* @__PURE__ */
|
72
|
+
const Pe = /* @__PURE__ */ G({
|
73
73
|
name: "LangAdd",
|
74
74
|
__name: "LangAdd",
|
75
75
|
emits: ["ok", "cancel"],
|
@@ -160,7 +160,7 @@ const Pe = /* @__PURE__ */ q({
|
|
160
160
|
]),
|
161
161
|
_: 1
|
162
162
|
}, 16, ["label", "rules"]),
|
163
|
-
(I(!0),
|
163
|
+
(I(!0), q(ve, null, ye(c.value, (d, N) => (I(), q("div", {
|
164
164
|
key: d.langId
|
165
165
|
}, [
|
166
166
|
e(O, P({
|
@@ -192,7 +192,7 @@ const Pe = /* @__PURE__ */ q({
|
|
192
192
|
}, 8, ["open", "title"]);
|
193
193
|
};
|
194
194
|
}
|
195
|
-
}), Ee = /* @__PURE__ */ K(Pe, [["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/views/sys/lang/LangAdd.vue"]]), Ve = /* @__PURE__ */
|
195
|
+
}), Ee = /* @__PURE__ */ K(Pe, [["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/views/sys/lang/LangAdd.vue"]]), Ve = /* @__PURE__ */ G({
|
196
196
|
__name: "FormItemBtnGroup",
|
197
197
|
props: {
|
198
198
|
top: {
|
@@ -205,7 +205,7 @@ const Pe = /* @__PURE__ */ q({
|
|
205
205
|
let o = a.top;
|
206
206
|
return typeof o == "string" && (o = parseInt(o)), isNaN(o) && (o = 0), o + "px";
|
207
207
|
});
|
208
|
-
return (o, c) => (I(),
|
208
|
+
return (o, c) => (I(), q("div", {
|
209
209
|
class: "btn-group",
|
210
210
|
style: he({ "margin-top": r.value })
|
211
211
|
}, [
|
@@ -213,10 +213,10 @@ const Pe = /* @__PURE__ */ q({
|
|
213
213
|
], 4));
|
214
214
|
}
|
215
215
|
});
|
216
|
-
const
|
216
|
+
const qe = /* @__PURE__ */ K(Ve, [["__scopeId", "data-v-ffd7f8e3"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/components/FormItemBtnGroup/FormItemBtnGroup.vue"]]), Ge = {
|
217
217
|
bordered: !1,
|
218
218
|
class: "lang-warp"
|
219
|
-
}, Ke = { style: { margin: "10px 0 6px 10px" } }, Me = { class: "table-page-search-wrapper" }, He = /* @__PURE__ */
|
219
|
+
}, Ke = { style: { margin: "10px 0 6px 10px" } }, Me = { class: "table-page-search-wrapper" }, He = /* @__PURE__ */ G({
|
220
220
|
__name: "index",
|
221
221
|
setup(s) {
|
222
222
|
const { t: a } = Z(), r = v(!1), o = v([]), c = v(), m = v(!1), g = Q({
|
@@ -316,7 +316,7 @@ const Ge = /* @__PURE__ */ K(Ve, [["__scopeId", "data-v-ffd7f8e3"], ["__file", "
|
|
316
316
|
size: "large"
|
317
317
|
}, {
|
318
318
|
default: l(() => [
|
319
|
-
S("div",
|
319
|
+
S("div", Ge, [
|
320
320
|
S("div", Ke, [
|
321
321
|
S("div", null, [
|
322
322
|
e(re, {
|
@@ -363,7 +363,7 @@ const Ge = /* @__PURE__ */ K(Ve, [["__scopeId", "data-v-ffd7f8e3"], ["__file", "
|
|
363
363
|
]),
|
364
364
|
_: 1
|
365
365
|
}, 8, ["label"]),
|
366
|
-
e(
|
366
|
+
e(qe, null, {
|
367
367
|
default: l(() => [
|
368
368
|
e(oe, {
|
369
369
|
onClick: b,
|
@@ -1,24 +1,24 @@
|
|
1
|
-
import { defineComponent as T, ref as p, onMounted as
|
2
|
-
import {
|
3
|
-
import { message as
|
1
|
+
import { defineComponent as T, ref as p, onMounted as z, openBlock as a, createElementBlock as D, createVNode as y, withCtx as r, createElementVNode as S, normalizeClass as M, createBlock as v, resolveDynamicComponent as V, unref as se, createCommentVNode as h, createTextVNode as F, toDisplayString as U, reactive as Y, watch as ce, Fragment as B, renderList as J, mergeProps as K, normalizeStyle as x, computed as re } from "vue";
|
2
|
+
import { z as H, aB as le, N as _e, O as ue, _ as E, p as q, aC as de, q as Z, F as G, B as Q, S as X, aD as pe, Z as ie, K as ve, L as fe } from "./index.3188d9c8.mjs";
|
3
|
+
import { message as W } from "ant-design-vue";
|
4
4
|
import { useI18n as ee } from "vue-i18n";
|
5
|
-
import { _ as me } from "./index.
|
5
|
+
import { _ as me } from "./index.77c11f9b.mjs";
|
6
6
|
import './assets/index.857022a9.css';function ye(f) {
|
7
|
-
return
|
7
|
+
return H({
|
8
8
|
url: "/api/sys/parameter/search-type",
|
9
9
|
method: "get",
|
10
10
|
params: f
|
11
11
|
});
|
12
12
|
}
|
13
13
|
function te(f) {
|
14
|
-
return
|
14
|
+
return H({
|
15
15
|
url: "/api/sys/parameter/search-type-detail",
|
16
16
|
method: "get",
|
17
17
|
params: f
|
18
18
|
});
|
19
19
|
}
|
20
20
|
function ae(f) {
|
21
|
-
return
|
21
|
+
return H({
|
22
22
|
url: "/api/sys/parameter/update",
|
23
23
|
method: "post",
|
24
24
|
headers: {
|
@@ -37,7 +37,7 @@ const he = ["onClick"], be = { class: "title1" }, ke = /* @__PURE__ */ T({
|
|
37
37
|
const { result: l } = await ye({});
|
38
38
|
b.value = l, l.length > 0 && i(l[0], 0);
|
39
39
|
};
|
40
|
-
return
|
40
|
+
return z(() => {
|
41
41
|
m();
|
42
42
|
}), (l, _) => {
|
43
43
|
const d = _e, O = ue;
|
@@ -57,7 +57,7 @@ const he = ["onClick"], be = { class: "title1" }, ke = /* @__PURE__ */ T({
|
|
57
57
|
default: r(() => [
|
58
58
|
S("div", {
|
59
59
|
onClick: (s) => i(k, n),
|
60
|
-
class:
|
60
|
+
class: M(u.value == n ? "active" : "")
|
61
61
|
}, [
|
62
62
|
S("span", be, [
|
63
63
|
(a(), v(V(se(le)[k.v1]))),
|
@@ -76,7 +76,7 @@ const he = ["onClick"], be = { class: "title1" }, ke = /* @__PURE__ */ T({
|
|
76
76
|
};
|
77
77
|
}
|
78
78
|
});
|
79
|
-
const ge = /* @__PURE__ */
|
79
|
+
const ge = /* @__PURE__ */ E(ke, [["__scopeId", "data-v-a72d57cc"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/views/sys/parameter/TypeList.vue"]]), Ce = { class: "web-client" }, we = ["src"], Se = {
|
80
80
|
key: 2,
|
81
81
|
class: "color-choose"
|
82
82
|
}, De = { class: "color" }, $e = ["onClick"], Oe = { class: "tips" }, Ie = "/", Ne = /* @__PURE__ */ T({
|
@@ -129,7 +129,7 @@ const ge = /* @__PURE__ */ A(ke, [["__scopeId", "data-v-a72d57cc"], ["__file", "
|
|
129
129
|
o.addEventListener("load", () => g(o.result)), o.readAsDataURL(t);
|
130
130
|
}, c = (t) => t.type === "image/jpeg" || t.type === "image/png" ? t.size / 1024 / 1024 < 2 ? (_.fileName = t, s(t, (N) => {
|
131
131
|
N.value = N;
|
132
|
-
}), !1) : (
|
132
|
+
}), !1) : (W.error(C("param.tips2")), !1) : (W.error(C("param.tips1")), !1), I = async () => {
|
133
133
|
console.log(d.value, "source");
|
134
134
|
const t = {};
|
135
135
|
d.value.forEach((o) => {
|
@@ -137,7 +137,7 @@ const ge = /* @__PURE__ */ A(ke, [["__scopeId", "data-v-a72d57cc"], ["__file", "
|
|
137
137
|
}), _.items = JSON.stringify(t);
|
138
138
|
const { result: g } = await ae(_);
|
139
139
|
g && b("ok");
|
140
|
-
},
|
140
|
+
}, A = (t) => {
|
141
141
|
i.value = t;
|
142
142
|
};
|
143
143
|
return ce(
|
@@ -145,10 +145,10 @@ const ge = /* @__PURE__ */ A(ke, [["__scopeId", "data-v-a72d57cc"], ["__file", "
|
|
145
145
|
() => {
|
146
146
|
n();
|
147
147
|
}
|
148
|
-
),
|
148
|
+
), z(() => {
|
149
149
|
n();
|
150
150
|
}), (t, g) => {
|
151
|
-
const o = q, N = de, e =
|
151
|
+
const o = q, N = de, e = Z, P = G, w = Q, ne = X;
|
152
152
|
return a(), D("div", Ce, [
|
153
153
|
y(ne, { spinning: m.value }, {
|
154
154
|
default: r(() => [
|
@@ -157,7 +157,7 @@ const ge = /* @__PURE__ */ A(ke, [["__scopeId", "data-v-a72d57cc"], ["__file", "
|
|
157
157
|
ref: "formRef"
|
158
158
|
}, {
|
159
159
|
default: r(() => [
|
160
|
-
(a(!0), D(B, null,
|
160
|
+
(a(!0), D(B, null, J(d.value, (L, oe) => (a(), v(e, K({
|
161
161
|
key: oe,
|
162
162
|
label: t.$t("dct.PARAMS" + L.code),
|
163
163
|
ref_for: !0
|
@@ -193,14 +193,14 @@ const ge = /* @__PURE__ */ A(ke, [["__scopeId", "data-v-a72d57cc"], ["__file", "
|
|
193
193
|
})) : h("v-if", !0),
|
194
194
|
L.v2 == "HEAD_ICON" ? (a(), D("div", Se, [
|
195
195
|
S("div", De, [
|
196
|
-
(a(), D(B, null,
|
196
|
+
(a(), D(B, null, J(l, (R, j) => S("div", {
|
197
197
|
key: j,
|
198
198
|
class: "color-item"
|
199
199
|
}, [
|
200
200
|
S("div", {
|
201
201
|
style: x("background:" + R),
|
202
|
-
onClick: (
|
203
|
-
class:
|
202
|
+
onClick: (Ae) => A(j),
|
203
|
+
class: M(i.value == j ? "active" : "")
|
204
204
|
}, null, 14, $e)
|
205
205
|
])), 64))
|
206
206
|
]),
|
@@ -230,7 +230,7 @@ const ge = /* @__PURE__ */ A(ke, [["__scopeId", "data-v-a72d57cc"], ["__file", "
|
|
230
230
|
};
|
231
231
|
}
|
232
232
|
});
|
233
|
-
const Le = /* @__PURE__ */
|
233
|
+
const Le = /* @__PURE__ */ E(Ne, [["__scopeId", "data-v-7c2314b0"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/views/sys/parameter/WebClient.vue"]]), Ue = { class: "web-client" }, xe = /* @__PURE__ */ T({
|
234
234
|
name: "Standard",
|
235
235
|
__name: "Standard",
|
236
236
|
props: {
|
@@ -272,10 +272,10 @@ const Le = /* @__PURE__ */ A(Ne, [["__scopeId", "data-v-7c2314b0"], ["__file", "
|
|
272
272
|
const { result: s } = await ae(m);
|
273
273
|
s && C("ok");
|
274
274
|
};
|
275
|
-
return
|
275
|
+
return z(() => {
|
276
276
|
O();
|
277
277
|
}), (n, s) => {
|
278
|
-
const c = q, I = me,
|
278
|
+
const c = q, I = me, A = pe, t = Z, g = G, o = Q, N = X;
|
279
279
|
return a(), D("div", Ue, [
|
280
280
|
y(N, { spinning: i.value }, {
|
281
281
|
default: r(() => [
|
@@ -286,7 +286,7 @@ const Le = /* @__PURE__ */ A(Ne, [["__scopeId", "data-v-7c2314b0"], ["__file", "
|
|
286
286
|
ref: u
|
287
287
|
}, {
|
288
288
|
default: r(() => [
|
289
|
-
(a(!0), D(B, null,
|
289
|
+
(a(!0), D(B, null, J(_.value, (e, P) => (a(), v(t, K({
|
290
290
|
key: P,
|
291
291
|
label: n.$t("dct.SYS" + e.code),
|
292
292
|
ref_for: !0
|
@@ -314,7 +314,7 @@ const Le = /* @__PURE__ */ A(Ne, [["__scopeId", "data-v-7c2314b0"], ["__file", "
|
|
314
314
|
value: e.v1,
|
315
315
|
"onUpdate:value": (w) => e.v1 = w
|
316
316
|
}, null, 8, ["style", "value", "onUpdate:value"])) : h("v-if", !0),
|
317
|
-
e.v2 instanceof Object && e.v2.field && e.v2.field == "2" ? (a(), v(
|
317
|
+
e.v2 instanceof Object && e.v2.field && e.v2.field == "2" ? (a(), v(A, {
|
318
318
|
key: 3,
|
319
319
|
checked: e.isChecked,
|
320
320
|
"onUpdate:checked": (w) => e.isChecked = w
|
@@ -343,7 +343,7 @@ const Le = /* @__PURE__ */ A(Ne, [["__scopeId", "data-v-7c2314b0"], ["__file", "
|
|
343
343
|
};
|
344
344
|
}
|
345
345
|
});
|
346
|
-
const Te = /* @__PURE__ */
|
346
|
+
const Te = /* @__PURE__ */ E(xe, [["__scopeId", "data-v-7829cd8b"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/views/sys/parameter/Standard.vue"]]), Ee = /* @__PURE__ */ T({
|
347
347
|
name: "Function4",
|
348
348
|
__name: "index",
|
349
349
|
setup(f) {
|
@@ -353,7 +353,7 @@ const Te = /* @__PURE__ */ A(xe, [["__scopeId", "data-v-7829cd8b"], ["__file", "
|
|
353
353
|
}, m = re(() => i[u.value]), l = (d) => {
|
354
354
|
d.v3 ? u.value = d.v3 : u.value = "Standard", C.value = d;
|
355
355
|
}, _ = () => {
|
356
|
-
|
356
|
+
W.success($("param.tips3"));
|
357
357
|
};
|
358
358
|
return (d, O) => {
|
359
359
|
const k = ie, n = ve, s = fe;
|
@@ -399,7 +399,7 @@ const Te = /* @__PURE__ */ A(xe, [["__scopeId", "data-v-7829cd8b"], ["__file", "
|
|
399
399
|
};
|
400
400
|
}
|
401
401
|
});
|
402
|
-
const
|
402
|
+
const We = /* @__PURE__ */ E(Ee, [["__scopeId", "data-v-2b42dd95"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/views/sys/parameter/index.vue"]]);
|
403
403
|
export {
|
404
|
-
|
404
|
+
We as default
|
405
405
|
};
|