@witlink/usercenter 1.2.75 → 1.2.77
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/usercenter.es.js +155 -127
- package/dist/usercenter.umd.js +1 -1
- package/package.json +1 -1
package/dist/usercenter.es.js
CHANGED
|
@@ -307,12 +307,12 @@ const useUserStore = defineStore(`${TOKEN_PREFIX}user`, {
|
|
|
307
307
|
});
|
|
308
308
|
},
|
|
309
309
|
setUserInfo(result) {
|
|
310
|
-
var _a;
|
|
310
|
+
var _a, _b;
|
|
311
311
|
const curButtonPermission = {};
|
|
312
|
-
if (result.role
|
|
312
|
+
if (result.role) {
|
|
313
313
|
const role = result.role;
|
|
314
314
|
const otherRoles = result.otherRoles;
|
|
315
|
-
role.permissions.
|
|
315
|
+
(_a = role.permissions) == null ? void 0 : _a.forEach((per) => {
|
|
316
316
|
var _a2;
|
|
317
317
|
if (per.actionEntitySet != null && ((_a2 = per.actionEntitySet) == null ? void 0 : _a2.length) > 0) {
|
|
318
318
|
const action = per.actionEntitySet.map((action2) => {
|
|
@@ -322,9 +322,9 @@ const useUserStore = defineStore(`${TOKEN_PREFIX}user`, {
|
|
|
322
322
|
curButtonPermission[per.permissionId] = action;
|
|
323
323
|
}
|
|
324
324
|
});
|
|
325
|
-
role.permissionList = role.permissions.map((permission2) => {
|
|
325
|
+
role.permissionList = ((_b = role.permissions) == null ? void 0 : _b.map((permission2) => {
|
|
326
326
|
return permission2.permissionId;
|
|
327
|
-
});
|
|
327
|
+
})) || [];
|
|
328
328
|
const mainWarehouseManager = role.roleTypeId === "0";
|
|
329
329
|
const othersWarehouseManager = otherRoles ? otherRoles.some((item) => item.roleTypeId === "0") : false;
|
|
330
330
|
const isWarehouseManager = mainWarehouseManager || othersWarehouseManager;
|
|
@@ -346,8 +346,6 @@ const useUserStore = defineStore(`${TOKEN_PREFIX}user`, {
|
|
|
346
346
|
this.isWarehouseManager = isWarehouseManager;
|
|
347
347
|
this.avatar = "usercenter/" + result.avatar;
|
|
348
348
|
this.passwordSecurityLevel = result.passwordSecurityLevel;
|
|
349
|
-
} else {
|
|
350
|
-
storage.remove(ACCESS_TOKEN);
|
|
351
349
|
}
|
|
352
350
|
},
|
|
353
351
|
setIsLock(val) {
|
|
@@ -13047,11 +13045,14 @@ const usePasswordStrength = () => {
|
|
|
13047
13045
|
};
|
|
13048
13046
|
};
|
|
13049
13047
|
const _hoisted_1$k = { class: "pwd-strength-tip" };
|
|
13048
|
+
const FORCE_RESET_PWD_SYNC_KEY$1 = "forceResetPwdSync";
|
|
13050
13049
|
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
13051
13050
|
__name: "ForceResetPwdModal",
|
|
13052
|
-
|
|
13051
|
+
emits: ["success"],
|
|
13052
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
13053
13053
|
const { t: t2 } = useI18n();
|
|
13054
13054
|
const { passwordStrengthTip, validate } = usePasswordStrength();
|
|
13055
|
+
const emit = __emit;
|
|
13055
13056
|
const formRef = ref();
|
|
13056
13057
|
const form = reactive({
|
|
13057
13058
|
oldPwd: "",
|
|
@@ -13108,13 +13109,25 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
13108
13109
|
resetCallback = callback || null;
|
|
13109
13110
|
visible.value = true;
|
|
13110
13111
|
};
|
|
13111
|
-
const
|
|
13112
|
+
const resetForm = () => {
|
|
13112
13113
|
Object.assign(form, {
|
|
13113
13114
|
oldPwd: "",
|
|
13114
13115
|
newPwd: "",
|
|
13115
13116
|
userPwd1: ""
|
|
13116
13117
|
});
|
|
13117
13118
|
};
|
|
13119
|
+
const onReset = () => {
|
|
13120
|
+
resetForm();
|
|
13121
|
+
};
|
|
13122
|
+
const onSwitchAccount = () => {
|
|
13123
|
+
visible.value = false;
|
|
13124
|
+
resetForm();
|
|
13125
|
+
storage.set(FORCE_RESET_PWD_SYNC_KEY$1, Date.now());
|
|
13126
|
+
emit("success");
|
|
13127
|
+
if (resetCallback) {
|
|
13128
|
+
resetCallback();
|
|
13129
|
+
}
|
|
13130
|
+
};
|
|
13118
13131
|
const onSubmit = () => {
|
|
13119
13132
|
formRef.value && formRef.value.validate().then(async () => {
|
|
13120
13133
|
loading.value = true;
|
|
@@ -13124,20 +13137,17 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
13124
13137
|
};
|
|
13125
13138
|
try {
|
|
13126
13139
|
const res = await updatePassword(paramsData);
|
|
13127
|
-
if (res.code
|
|
13140
|
+
if (res.code == 0) {
|
|
13128
13141
|
visible.value = false;
|
|
13129
|
-
|
|
13130
|
-
oldPwd: "",
|
|
13131
|
-
newPwd: "",
|
|
13132
|
-
userPwd1: ""
|
|
13133
|
-
});
|
|
13142
|
+
resetForm();
|
|
13134
13143
|
message.success({
|
|
13135
13144
|
content: t2("uc_user.resetPwdSucc")
|
|
13136
13145
|
});
|
|
13146
|
+
storage.set(FORCE_RESET_PWD_SYNC_KEY$1, Date.now());
|
|
13147
|
+
emit("success");
|
|
13137
13148
|
if (resetCallback) {
|
|
13138
13149
|
resetCallback();
|
|
13139
13150
|
}
|
|
13140
|
-
window.dispatchEvent(new CustomEvent("forceResetPwdSuccess"));
|
|
13141
13151
|
}
|
|
13142
13152
|
} finally {
|
|
13143
13153
|
loading.value = false;
|
|
@@ -13166,6 +13176,15 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
13166
13176
|
createElementVNode("span", null, toDisplayString(_ctx.$t("uc_user.resetPwd")), 1)
|
|
13167
13177
|
]),
|
|
13168
13178
|
footer: withCtx(() => [
|
|
13179
|
+
createVNode(_component_a_button, {
|
|
13180
|
+
key: "switch",
|
|
13181
|
+
onClick: onSwitchAccount
|
|
13182
|
+
}, {
|
|
13183
|
+
default: withCtx(() => [
|
|
13184
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_common.switchAccount")), 1)
|
|
13185
|
+
]),
|
|
13186
|
+
_: 1
|
|
13187
|
+
}),
|
|
13169
13188
|
createVNode(_component_a_button, {
|
|
13170
13189
|
key: "reset",
|
|
13171
13190
|
onClick: onReset
|
|
@@ -38101,7 +38120,7 @@ const _hoisted_2$a = {
|
|
|
38101
38120
|
key: 0,
|
|
38102
38121
|
class: "left-syslist"
|
|
38103
38122
|
};
|
|
38104
|
-
const _hoisted_3$
|
|
38123
|
+
const _hoisted_3$6 = { class: "page-title" };
|
|
38105
38124
|
const _hoisted_4$6 = ["onClick"];
|
|
38106
38125
|
const _hoisted_5$4 = ["src"];
|
|
38107
38126
|
const _hoisted_6$4 = { class: "sys-item-name" };
|
|
@@ -38314,7 +38333,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
38314
38333
|
default: withCtx(() => [
|
|
38315
38334
|
createElementVNode("div", _hoisted_1$i, [
|
|
38316
38335
|
unref(systemId) == 1 ? (openBlock(), createElementBlock("div", _hoisted_2$a, [
|
|
38317
|
-
createElementVNode("div", _hoisted_3$
|
|
38336
|
+
createElementVNode("div", _hoisted_3$6, toDisplayString(_ctx.$t("uc_fun.syslist")), 1),
|
|
38318
38337
|
(openBlock(true), createElementBlock(Fragment, null, renderList(sysList.value, (item) => {
|
|
38319
38338
|
return openBlock(), createElementBlock("div", {
|
|
38320
38339
|
class: normalizeClass(["sys-item", { "sys-item-active": selectedSys.value === item.systemId }]),
|
|
@@ -38818,7 +38837,6 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
38818
38837
|
default: withCtx(() => [
|
|
38819
38838
|
createVNode(_component_a_textarea, {
|
|
38820
38839
|
placeholder: _ctx.$t("uc_organ.parentBranch"),
|
|
38821
|
-
maxLength: 256,
|
|
38822
38840
|
disabled: "",
|
|
38823
38841
|
value: form.parentBranch,
|
|
38824
38842
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.parentBranch = $event),
|
|
@@ -38834,7 +38852,6 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
38834
38852
|
default: withCtx(() => [
|
|
38835
38853
|
createVNode(_component_a_textarea, {
|
|
38836
38854
|
placeholder: _ctx.$t("uc_organ.superiorRegion"),
|
|
38837
|
-
maxLength: 256,
|
|
38838
38855
|
disabled: "",
|
|
38839
38856
|
value: form.parentRegion,
|
|
38840
38857
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.parentRegion = $event),
|
|
@@ -39126,7 +39143,6 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
39126
39143
|
default: withCtx(() => [
|
|
39127
39144
|
createVNode(_component_a_input, {
|
|
39128
39145
|
placeholder: _ctx.$t("uc_organ.parentBranch"),
|
|
39129
|
-
maxLength: 20,
|
|
39130
39146
|
disabled: "",
|
|
39131
39147
|
value: form.parentBranch,
|
|
39132
39148
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.parentBranch = $event)
|
|
@@ -39478,7 +39494,7 @@ const DeptDetail_vue_vue_type_style_index_0_scoped_7ab63a77_lang = "";
|
|
|
39478
39494
|
const DeptDetail = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-7ab63a77"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/organ/DeptDetail.vue"]]);
|
|
39479
39495
|
const _hoisted_1$d = { class: "organ-wrap" };
|
|
39480
39496
|
const _hoisted_2$9 = { class: "topInfo" };
|
|
39481
|
-
const _hoisted_3$
|
|
39497
|
+
const _hoisted_3$5 = { class: "form-btns" };
|
|
39482
39498
|
const _hoisted_4$5 = ["onClick"];
|
|
39483
39499
|
const _hoisted_5$3 = { class: "show_more_button" };
|
|
39484
39500
|
const _hoisted_6$3 = { key: 1 };
|
|
@@ -39511,6 +39527,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
39511
39527
|
const addShow = ref(false);
|
|
39512
39528
|
const removeShow = ref(false);
|
|
39513
39529
|
const editShow = ref(false);
|
|
39530
|
+
const detailShow = ref(false);
|
|
39514
39531
|
ref([]);
|
|
39515
39532
|
const tableRef = ref();
|
|
39516
39533
|
const systemId = storage.get("systemId");
|
|
@@ -39777,7 +39794,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
39777
39794
|
addOrDeleRefresh(activeEditRow.value);
|
|
39778
39795
|
} else {
|
|
39779
39796
|
activeEditRow.value.hasChild = true;
|
|
39780
|
-
activeEditRow.value.
|
|
39797
|
+
activeEditRow.value.deletable = 0;
|
|
39781
39798
|
tableRef.value.updateStatus(activeEditRow.value);
|
|
39782
39799
|
}
|
|
39783
39800
|
}
|
|
@@ -39856,6 +39873,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
39856
39873
|
addShow.value = hasPermissionId("002");
|
|
39857
39874
|
editShow.value = hasPermissionId("003");
|
|
39858
39875
|
removeShow.value = hasPermissionId("004");
|
|
39876
|
+
detailShow.value = hasPermissionId("005");
|
|
39859
39877
|
init2();
|
|
39860
39878
|
});
|
|
39861
39879
|
return (_ctx, _cache) => {
|
|
@@ -39901,7 +39919,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
39901
39919
|
]),
|
|
39902
39920
|
_: 1
|
|
39903
39921
|
}, 8, ["label"]),
|
|
39904
|
-
createElementVNode("div", _hoisted_3$
|
|
39922
|
+
createElementVNode("div", _hoisted_3$5, [
|
|
39905
39923
|
createCommentVNode(' <uc-btn-search\r\n @click="queryById"\r\n :showInput="false"\r\n ></uc-btn-search> '),
|
|
39906
39924
|
createVNode(_component_a_button, {
|
|
39907
39925
|
onClick: handleReset,
|
|
@@ -39960,6 +39978,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
39960
39978
|
}, toDisplayString(_ctx.$t("uc_organ.type" + row.type)), 3),
|
|
39961
39979
|
withDirectives(createVNode(_component_a_button, {
|
|
39962
39980
|
type: "link",
|
|
39981
|
+
disabled: !detailShow.value,
|
|
39982
|
+
style: { "padding-left": "8px" },
|
|
39963
39983
|
onClick: ($event) => onDetail(row),
|
|
39964
39984
|
class: "wrap-btn"
|
|
39965
39985
|
}, {
|
|
@@ -39967,21 +39987,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
39967
39987
|
createTextVNode(toDisplayString(row.name), 1)
|
|
39968
39988
|
]),
|
|
39969
39989
|
_: 2
|
|
39970
|
-
}, 1032, ["onClick"]), [
|
|
39971
|
-
[vShow, row.hasOperationPermissions
|
|
39972
|
-
]),
|
|
39973
|
-
withDirectives(createVNode(_component_a_button, {
|
|
39974
|
-
type: "link",
|
|
39975
|
-
style: { "padding-left": "16px" },
|
|
39976
|
-
onClick: ($event) => onDetail(row),
|
|
39977
|
-
class: "wrap-btn"
|
|
39978
|
-
}, {
|
|
39979
|
-
default: withCtx(() => [
|
|
39980
|
-
createTextVNode(toDisplayString(row.name), 1)
|
|
39981
|
-
]),
|
|
39982
|
-
_: 2
|
|
39983
|
-
}, 1032, ["onClick"]), [
|
|
39984
|
-
[vShow, row.hasOperationPermissions && row.type == "3"]
|
|
39990
|
+
}, 1032, ["disabled", "onClick"]), [
|
|
39991
|
+
[vShow, row.hasOperationPermissions]
|
|
39985
39992
|
]),
|
|
39986
39993
|
createVNode(_component_a_tooltip, { placement: "top" }, {
|
|
39987
39994
|
title: withCtx(() => [
|
|
@@ -40117,7 +40124,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
40117
40124
|
_: 2
|
|
40118
40125
|
}, 1024)
|
|
40119
40126
|
], 512), [
|
|
40120
|
-
[
|
|
40127
|
+
[
|
|
40128
|
+
vShow,
|
|
40129
|
+
row.type == "1" && row.hasChild == false && addShow.value
|
|
40130
|
+
]
|
|
40121
40131
|
]),
|
|
40122
40132
|
withDirectives(createElementVNode("div", null, [
|
|
40123
40133
|
createVNode(_component_a_menu_item, { key: "2" }, {
|
|
@@ -40589,7 +40599,7 @@ const _hoisted_1$c = {
|
|
|
40589
40599
|
class: "role-wrap"
|
|
40590
40600
|
};
|
|
40591
40601
|
const _hoisted_2$8 = { class: "form-btns" };
|
|
40592
|
-
const _hoisted_3$
|
|
40602
|
+
const _hoisted_3$4 = { style: { "height": "32px", "margin-bottom": "10px" } };
|
|
40593
40603
|
const _hoisted_4$4 = {
|
|
40594
40604
|
key: 1,
|
|
40595
40605
|
class: "role-auth"
|
|
@@ -41187,9 +41197,10 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
41187
41197
|
const _component_a_button = Button$1;
|
|
41188
41198
|
const _component_a_form = Form;
|
|
41189
41199
|
const _component_uc_btn_add = resolveComponent("uc-btn-add");
|
|
41190
|
-
const _component_uc_btn_detail = resolveComponent("uc-btn-detail");
|
|
41191
41200
|
const _component_uc_btn_switch = resolveComponent("uc-btn-switch");
|
|
41192
41201
|
const _component_uc_btn_edit = resolveComponent("uc-btn-edit");
|
|
41202
|
+
const _component_a_divider = Divider;
|
|
41203
|
+
const _component_uc_btn_detail = resolveComponent("uc-btn-detail");
|
|
41193
41204
|
const _component_a_col = Col;
|
|
41194
41205
|
const _component_a_row = Row;
|
|
41195
41206
|
const _component_a_checkbox = Checkbox;
|
|
@@ -41254,7 +41265,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
41254
41265
|
]),
|
|
41255
41266
|
_: 1
|
|
41256
41267
|
}),
|
|
41257
|
-
createElementVNode("div", _hoisted_3$
|
|
41268
|
+
createElementVNode("div", _hoisted_3$4, [
|
|
41258
41269
|
createVNode(_component_uc_btn_add, {
|
|
41259
41270
|
onClick: _cache[2] || (_cache[2] = ($event) => handleAddRole()),
|
|
41260
41271
|
text: _ctx.$t("uc_role.create_role"),
|
|
@@ -41272,12 +41283,10 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
41272
41283
|
class: "table-bordered"
|
|
41273
41284
|
}, {
|
|
41274
41285
|
bodyCell: withCtx(({ record, column }) => [
|
|
41275
|
-
column.key === "name" ? (openBlock(), createBlock(
|
|
41286
|
+
column.key === "name" ? (openBlock(), createBlock(TextEllipsis, {
|
|
41276
41287
|
key: 0,
|
|
41277
|
-
onClick: ($event) => handleDetail(record),
|
|
41278
|
-
type: "link",
|
|
41279
41288
|
text: record.name
|
|
41280
|
-
}, null, 8, ["
|
|
41289
|
+
}, null, 8, ["text"])) : createCommentVNode("v-if", true),
|
|
41281
41290
|
column.key === "status" ? (openBlock(), createBlock(_component_uc_btn_switch, {
|
|
41282
41291
|
key: 1,
|
|
41283
41292
|
checked: record.status == 0,
|
|
@@ -41290,11 +41299,17 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
41290
41299
|
column.key === "createTime" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
41291
41300
|
createTextVNode(toDisplayString(unref(formatDate)(record.createTime) || "-"), 1)
|
|
41292
41301
|
], 64)) : createCommentVNode("v-if", true),
|
|
41293
|
-
column.key === "action" ? (openBlock(),
|
|
41294
|
-
|
|
41295
|
-
|
|
41296
|
-
|
|
41297
|
-
|
|
41302
|
+
column.key === "action" ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
|
|
41303
|
+
createVNode(_component_uc_btn_edit, {
|
|
41304
|
+
onClick: ($event) => handleEdit(record),
|
|
41305
|
+
type: "link"
|
|
41306
|
+
}, null, 8, ["onClick"]),
|
|
41307
|
+
createVNode(_component_a_divider, { type: "vertical" }),
|
|
41308
|
+
createVNode(_component_uc_btn_detail, {
|
|
41309
|
+
onClick: ($event) => handleDetail(record),
|
|
41310
|
+
type: "link"
|
|
41311
|
+
}, null, 8, ["onClick"])
|
|
41312
|
+
], 64)) : createCommentVNode("v-if", true)
|
|
41298
41313
|
]),
|
|
41299
41314
|
_: 1
|
|
41300
41315
|
}, 8, ["columns"])
|
|
@@ -41769,7 +41784,7 @@ function getUserDetail(params) {
|
|
|
41769
41784
|
}
|
|
41770
41785
|
const _hoisted_1$b = { class: "add-user" };
|
|
41771
41786
|
const _hoisted_2$7 = { style: { "font-size": "12px", "color": "#86909c", "margin-left": "8px" } };
|
|
41772
|
-
const _hoisted_3$
|
|
41787
|
+
const _hoisted_3$3 = { style: { "font-size": "12px", "color": "#86909c", "margin-left": "8px" } };
|
|
41773
41788
|
const _hoisted_4$3 = ["onClick"];
|
|
41774
41789
|
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
41775
41790
|
__name: "UserEdit",
|
|
@@ -41799,18 +41814,22 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
41799
41814
|
roleIdOthers: []
|
|
41800
41815
|
});
|
|
41801
41816
|
const roleId = ref("");
|
|
41802
|
-
const roleIdOthers = ref([]);
|
|
41803
41817
|
const roles = ref([]);
|
|
41804
41818
|
const handleRoleSelectChange = (val) => {
|
|
41805
41819
|
roleId.value = val;
|
|
41806
41820
|
form.value.roleIdOthers = [];
|
|
41807
41821
|
};
|
|
41822
|
+
const normalizeMobile = (value = "") => value.replace(/\D/g, "").slice(0, 15);
|
|
41823
|
+
const handleMobileInput = (e) => {
|
|
41824
|
+
const target = e.target;
|
|
41825
|
+
form.value.mobile = normalizeMobile((target == null ? void 0 : target.value) || "");
|
|
41826
|
+
};
|
|
41808
41827
|
const handleUserCodeValidator = (rule, value) => {
|
|
41809
41828
|
if (!value) {
|
|
41810
41829
|
return Promise.reject(t2("uc_user.user_code_msg1"));
|
|
41811
41830
|
}
|
|
41812
41831
|
if (/^[a-zA-Z0-9]+$/.test(value)) {
|
|
41813
|
-
if (/^.{1,
|
|
41832
|
+
if (/^.{1,50}$/.test(value)) {
|
|
41814
41833
|
return Promise.resolve();
|
|
41815
41834
|
} else {
|
|
41816
41835
|
return Promise.reject(t2("uc_user.user_code_msg3"));
|
|
@@ -41834,15 +41853,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
41834
41853
|
name: [
|
|
41835
41854
|
{
|
|
41836
41855
|
required: true,
|
|
41837
|
-
|
|
41838
|
-
message: t2("uc_user.user_name_msg1"),
|
|
41839
|
-
validator: (rule, value) => {
|
|
41840
|
-
if (!value || /^\s+$/.test(value)) {
|
|
41841
|
-
return Promise.reject(t2("uc_user.user_name_msg1"));
|
|
41842
|
-
} else {
|
|
41843
|
-
return Promise.resolve();
|
|
41844
|
-
}
|
|
41845
|
-
}
|
|
41856
|
+
message: t2("uc_user.user_name_msg1")
|
|
41846
41857
|
}
|
|
41847
41858
|
],
|
|
41848
41859
|
branchId: [
|
|
@@ -41972,11 +41983,11 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
41972
41983
|
});
|
|
41973
41984
|
branchDisabled.value = result.businessFlag === "1";
|
|
41974
41985
|
roleId.value = result.roleId;
|
|
41975
|
-
roleIdOthers.value = !result.roleIdOthers ? [] : result.roleIdOthers.split(",");
|
|
41976
41986
|
form.value = {
|
|
41977
41987
|
...result,
|
|
41988
|
+
mobile: normalizeMobile(result.mobile || ""),
|
|
41978
41989
|
roleId: result.roleId,
|
|
41979
|
-
roleIdOthers: result.roleIdOthers ? result.roleIdOthers.split(",") : [],
|
|
41990
|
+
roleIdOthers: result.roleIdOthers ? result.roleIdOthers.split(",").map((item) => Number(item)) : [],
|
|
41980
41991
|
branchId: result.branchId
|
|
41981
41992
|
};
|
|
41982
41993
|
};
|
|
@@ -42055,14 +42066,14 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
42055
42066
|
}, {
|
|
42056
42067
|
label: withCtx(() => [
|
|
42057
42068
|
createTextVNode(toDisplayString(_ctx.$t("uc_user.userCode")) + " ", 1),
|
|
42058
|
-
createElementVNode("span", _hoisted_3$
|
|
42069
|
+
createElementVNode("span", _hoisted_3$3, toDisplayString(_ctx.$t("uc_user.pwdCodeSameNote")), 1)
|
|
42059
42070
|
]),
|
|
42060
42071
|
default: withCtx(() => [
|
|
42061
42072
|
createVNode(_component_a_input, {
|
|
42062
42073
|
placeholder: _ctx.$t("uc_common.plsEnter"),
|
|
42063
42074
|
value: form.value.code,
|
|
42064
42075
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.value.code = $event),
|
|
42065
|
-
maxlength:
|
|
42076
|
+
maxlength: 50,
|
|
42066
42077
|
autocomplete: "off"
|
|
42067
42078
|
}, null, 8, ["placeholder", "value"])
|
|
42068
42079
|
]),
|
|
@@ -42080,14 +42091,14 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
42080
42091
|
default: withCtx(() => [
|
|
42081
42092
|
createVNode(_component_a_form_item, {
|
|
42082
42093
|
label: _ctx.$t("uc_user.userName"),
|
|
42083
|
-
name: "
|
|
42094
|
+
name: "name"
|
|
42084
42095
|
}, {
|
|
42085
42096
|
default: withCtx(() => [
|
|
42086
42097
|
createVNode(_component_a_input, {
|
|
42087
42098
|
placeholder: _ctx.$t("uc_common.plsEnter"),
|
|
42088
42099
|
value: form.value.name,
|
|
42089
42100
|
"onUpdate:value": _cache[2] || (_cache[2] = ($event) => form.value.name = $event),
|
|
42090
|
-
maxlength:
|
|
42101
|
+
maxlength: 100,
|
|
42091
42102
|
autocomplete: "off"
|
|
42092
42103
|
}, null, 8, ["placeholder", "value"])
|
|
42093
42104
|
]),
|
|
@@ -42208,7 +42219,8 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
42208
42219
|
"onUpdate:value": _cache[6] || (_cache[6] = ($event) => form.value.mobile = $event),
|
|
42209
42220
|
disabled: props.params.opType == "2",
|
|
42210
42221
|
autocomplete: "off",
|
|
42211
|
-
maxlength: 15
|
|
42222
|
+
maxlength: 15,
|
|
42223
|
+
onInput: handleMobileInput
|
|
42212
42224
|
}, null, 8, ["placeholder", "value", "disabled"])
|
|
42213
42225
|
]),
|
|
42214
42226
|
_: 1
|
|
@@ -42234,7 +42246,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
42234
42246
|
"onUpdate:value": _cache[7] || (_cache[7] = ($event) => form.value.email = $event),
|
|
42235
42247
|
disabled: props.params.opType == "2",
|
|
42236
42248
|
autocomplete: "off",
|
|
42237
|
-
maxlength:
|
|
42249
|
+
maxlength: 32
|
|
42238
42250
|
}, null, 8, ["placeholder", "value", "disabled"])
|
|
42239
42251
|
]),
|
|
42240
42252
|
_: 1
|
|
@@ -42685,7 +42697,6 @@ const UserDetail_vue_vue_type_style_index_0_scoped_167248a6_lang = "";
|
|
|
42685
42697
|
const UserDetail = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-167248a6"], ["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/user/UserDetail.vue"]]);
|
|
42686
42698
|
const _hoisted_1$8 = { class: "user-info" };
|
|
42687
42699
|
const _hoisted_2$6 = { class: "form-btns" };
|
|
42688
|
-
const _hoisted_3$3 = { key: 5 };
|
|
42689
42700
|
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
42690
42701
|
__name: "index",
|
|
42691
42702
|
setup(__props) {
|
|
@@ -42759,7 +42770,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
42759
42770
|
title: t2("uc_user.action"),
|
|
42760
42771
|
key: "action",
|
|
42761
42772
|
fixed: "right",
|
|
42762
|
-
width: "
|
|
42773
|
+
width: "180px"
|
|
42763
42774
|
}
|
|
42764
42775
|
]);
|
|
42765
42776
|
const onSwitch = async (checked, record) => {
|
|
@@ -42873,11 +42884,11 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
42873
42884
|
const _component_a_button = Button$1;
|
|
42874
42885
|
const _component_a_form = Form;
|
|
42875
42886
|
const _component_uc_btn_add = resolveComponent("uc-btn-add");
|
|
42876
|
-
const _component_uc_btn_detail = resolveComponent("uc-btn-detail");
|
|
42877
42887
|
const _component_uc_btn_switch = resolveComponent("uc-btn-switch");
|
|
42878
42888
|
const _component_uc_btn_edit = resolveComponent("uc-btn-edit");
|
|
42879
42889
|
const _component_a_divider = Divider;
|
|
42880
42890
|
const _component_uc_btn_reset_pwd = resolveComponent("uc-btn-reset-pwd");
|
|
42891
|
+
const _component_uc_btn_detail = resolveComponent("uc-btn-detail");
|
|
42881
42892
|
const _component_a_config_provider = ConfigProvider$1;
|
|
42882
42893
|
return openBlock(), createBlock(_component_a_config_provider, {
|
|
42883
42894
|
locale: unref(antLocaleMap)[unref(userStore).userLanguage],
|
|
@@ -42894,13 +42905,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
42894
42905
|
}, {
|
|
42895
42906
|
default: withCtx(() => [
|
|
42896
42907
|
createVNode(_component_a_form_item, {
|
|
42897
|
-
label: _ctx.$t("uc_user.
|
|
42898
|
-
name: "
|
|
42908
|
+
label: _ctx.$t("uc_user.userCode"),
|
|
42909
|
+
name: "code"
|
|
42899
42910
|
}, {
|
|
42900
42911
|
default: withCtx(() => [
|
|
42901
42912
|
createVNode(_component_a_input, {
|
|
42902
|
-
value: queryParam.value.
|
|
42903
|
-
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => queryParam.value.
|
|
42913
|
+
value: queryParam.value.code,
|
|
42914
|
+
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => queryParam.value.code = $event),
|
|
42904
42915
|
placeholder: _ctx.$t("uc_common.plsEnter"),
|
|
42905
42916
|
autocomplete: "off"
|
|
42906
42917
|
}, null, 8, ["value", "placeholder"])
|
|
@@ -42908,13 +42919,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
42908
42919
|
_: 1
|
|
42909
42920
|
}, 8, ["label"]),
|
|
42910
42921
|
createVNode(_component_a_form_item, {
|
|
42911
|
-
label: _ctx.$t("uc_user.
|
|
42912
|
-
name: "
|
|
42922
|
+
label: _ctx.$t("uc_user.userName"),
|
|
42923
|
+
name: "name"
|
|
42913
42924
|
}, {
|
|
42914
42925
|
default: withCtx(() => [
|
|
42915
42926
|
createVNode(_component_a_input, {
|
|
42916
|
-
value: queryParam.value.
|
|
42917
|
-
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => queryParam.value.
|
|
42927
|
+
value: queryParam.value.name,
|
|
42928
|
+
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => queryParam.value.name = $event),
|
|
42918
42929
|
placeholder: _ctx.$t("uc_common.plsEnter"),
|
|
42919
42930
|
autocomplete: "off"
|
|
42920
42931
|
}, null, 8, ["value", "placeholder"])
|
|
@@ -43000,27 +43011,18 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
43000
43011
|
key: 1,
|
|
43001
43012
|
text: record.name
|
|
43002
43013
|
}, null, 8, ["text"])) : createCommentVNode("v-if", true),
|
|
43003
|
-
column.key === "userCode" ? (openBlock(),
|
|
43004
|
-
|
|
43005
|
-
type: "link",
|
|
43006
|
-
onClick: ($event) => onDetail(record)
|
|
43007
|
-
}, {
|
|
43008
|
-
default: withCtx(() => [
|
|
43009
|
-
createTextVNode(toDisplayString(record.code), 1)
|
|
43010
|
-
]),
|
|
43011
|
-
_: 2
|
|
43012
|
-
}, 1032, ["onClick"])) : createCommentVNode("v-if", true),
|
|
43013
|
-
column.key === "userStatus" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
43014
|
-
[0, 1].includes(Number(record.status)) ? (openBlock(), createBlock(_component_uc_btn_switch, {
|
|
43015
|
-
key: 0,
|
|
43016
|
-
checked: record.status == 0,
|
|
43017
|
-
onClick: (checked) => onSwitch(checked, record)
|
|
43018
|
-
}, null, 8, ["checked", "onClick"])) : createCommentVNode("v-if", true)
|
|
43014
|
+
column.key === "userCode" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
43015
|
+
createTextVNode(toDisplayString(record.code), 1)
|
|
43019
43016
|
], 64)) : createCommentVNode("v-if", true),
|
|
43017
|
+
column.key === "userStatus" ? (openBlock(), createBlock(_component_uc_btn_switch, {
|
|
43018
|
+
key: 3,
|
|
43019
|
+
checked: record.status == 0,
|
|
43020
|
+
onClick: (checked) => onSwitch(checked, record)
|
|
43021
|
+
}, null, 8, ["checked", "onClick"])) : createCommentVNode("v-if", true),
|
|
43020
43022
|
column.key === "createTime" ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
|
|
43021
43023
|
createTextVNode(toDisplayString(unref(formatDate)(record.createTime) || "-"), 1)
|
|
43022
43024
|
], 64)) : createCommentVNode("v-if", true),
|
|
43023
|
-
column.key === "action" ?
|
|
43025
|
+
column.key === "action" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
|
|
43024
43026
|
createVNode(_component_uc_btn_edit, {
|
|
43025
43027
|
onClick: ($event) => onUpdate(record),
|
|
43026
43028
|
type: "link"
|
|
@@ -43029,10 +43031,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
43029
43031
|
createVNode(_component_uc_btn_reset_pwd, {
|
|
43030
43032
|
onClick: ($event) => onRsPwd(record),
|
|
43031
43033
|
type: "link"
|
|
43034
|
+
}, null, 8, ["onClick"]),
|
|
43035
|
+
createVNode(_component_a_divider, { type: "vertical" }),
|
|
43036
|
+
createVNode(_component_uc_btn_detail, {
|
|
43037
|
+
type: "link",
|
|
43038
|
+
onClick: ($event) => onDetail(record)
|
|
43032
43039
|
}, null, 8, ["onClick"])
|
|
43033
|
-
],
|
|
43034
|
-
[vShow, record.status != 2]
|
|
43035
|
-
]) : createCommentVNode("v-if", true)
|
|
43040
|
+
], 64)) : createCommentVNode("v-if", true)
|
|
43036
43041
|
]),
|
|
43037
43042
|
_: 1
|
|
43038
43043
|
}, 8, ["columns"]),
|
|
@@ -43169,7 +43174,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
43169
43174
|
value: formState.userName,
|
|
43170
43175
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => formState.userName = $event),
|
|
43171
43176
|
placeholder: _ctx.$t("uc_common.plsEnter"),
|
|
43172
|
-
maxlength:
|
|
43177
|
+
maxlength: 100,
|
|
43173
43178
|
"show-count": "",
|
|
43174
43179
|
autocomplete: "off"
|
|
43175
43180
|
}, null, 8, ["value", "placeholder"])
|
|
@@ -43200,6 +43205,11 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
43200
43205
|
pwd: "",
|
|
43201
43206
|
mobile: ""
|
|
43202
43207
|
});
|
|
43208
|
+
const normalizeMobile = (value = "") => value.replace(/\D/g, "").slice(0, 15);
|
|
43209
|
+
const handleMobileInput = (e) => {
|
|
43210
|
+
const target = e.target;
|
|
43211
|
+
formState.mobile = normalizeMobile((target == null ? void 0 : target.value) || "");
|
|
43212
|
+
};
|
|
43203
43213
|
const rules = computed(() => ({
|
|
43204
43214
|
pwd: [
|
|
43205
43215
|
{
|
|
@@ -43304,7 +43314,6 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
43304
43314
|
value: formState.pwd,
|
|
43305
43315
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => formState.pwd = $event),
|
|
43306
43316
|
placeholder: _ctx.$t("uc_common.plsEnter"),
|
|
43307
|
-
maxlength: 20,
|
|
43308
43317
|
autocomplete: "new-password"
|
|
43309
43318
|
}, null, 8, ["value", "placeholder"])
|
|
43310
43319
|
]),
|
|
@@ -43319,7 +43328,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
43319
43328
|
value: formState.mobile,
|
|
43320
43329
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => formState.mobile = $event),
|
|
43321
43330
|
placeholder: _ctx.$t("uc_common.plsEnter"),
|
|
43322
|
-
maxlength: 15
|
|
43331
|
+
maxlength: 15,
|
|
43332
|
+
autocomplete: "off",
|
|
43333
|
+
onInput: handleMobileInput
|
|
43323
43334
|
}, null, 8, ["value", "placeholder"])
|
|
43324
43335
|
]),
|
|
43325
43336
|
_: 1
|
|
@@ -43517,7 +43528,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
43517
43528
|
value: formState.email,
|
|
43518
43529
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => formState.email = $event),
|
|
43519
43530
|
placeholder: _ctx.$t("uc_common.plsEnter"),
|
|
43520
|
-
maxlength:
|
|
43531
|
+
maxlength: 32
|
|
43521
43532
|
}, null, 8, ["value", "placeholder"])
|
|
43522
43533
|
]),
|
|
43523
43534
|
_: 1
|
|
@@ -45728,6 +45739,11 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
45728
45739
|
}
|
|
45729
45740
|
return "";
|
|
45730
45741
|
});
|
|
45742
|
+
const normalizeMobile = (value = "") => value.replace(/\D/g, "").slice(0, 15);
|
|
45743
|
+
const handlePhoneInput = (e) => {
|
|
45744
|
+
const target = e.target;
|
|
45745
|
+
form.userMobile = normalizeMobile((target == null ? void 0 : target.value) || "");
|
|
45746
|
+
};
|
|
45731
45747
|
const initData = () => {
|
|
45732
45748
|
Object.assign(form, {
|
|
45733
45749
|
organType: props.params.organType,
|
|
@@ -46151,7 +46167,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
46151
46167
|
placeholder: _ctx.$t("uc_common.plsEnter"),
|
|
46152
46168
|
value: form.userMobile,
|
|
46153
46169
|
"onUpdate:value": _cache[10] || (_cache[10] = ($event) => form.userMobile = $event),
|
|
46154
|
-
maxlength: 15
|
|
46170
|
+
maxlength: 15,
|
|
46171
|
+
onInput: handlePhoneInput
|
|
46155
46172
|
}, null, 8, ["disabled", "placeholder", "value"])
|
|
46156
46173
|
]),
|
|
46157
46174
|
_: 1
|
|
@@ -46177,7 +46194,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
46177
46194
|
placeholder: _ctx.$t("uc_common.plsEnter"),
|
|
46178
46195
|
value: form.userEmail,
|
|
46179
46196
|
"onUpdate:value": _cache[11] || (_cache[11] = ($event) => form.userEmail = $event),
|
|
46180
|
-
maxlength:
|
|
46197
|
+
maxlength: 32
|
|
46181
46198
|
}, null, 8, ["disabled", "placeholder", "value"])
|
|
46182
46199
|
]),
|
|
46183
46200
|
_: 1
|
|
@@ -47747,15 +47764,10 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
47747
47764
|
return visible.value ? (openBlock(), createBlock(_component_a_button, mergeProps({
|
|
47748
47765
|
key: 0,
|
|
47749
47766
|
type: props.type
|
|
47750
|
-
}, _ctx.$attrs, {
|
|
47751
|
-
class: curLinkClass.value,
|
|
47752
|
-
style: { "width": "100%", "text-align": "left" }
|
|
47753
|
-
}), {
|
|
47767
|
+
}, _ctx.$attrs, { class: curLinkClass.value }), {
|
|
47754
47768
|
default: withCtx(() => [
|
|
47755
47769
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
47756
|
-
|
|
47757
|
-
text: props.text || _ctx.$t("usercenter_button._005")
|
|
47758
|
-
}, null, 8, ["text"])
|
|
47770
|
+
createTextVNode(toDisplayString(props.text || _ctx.$t("usercenter_button._005")), 1)
|
|
47759
47771
|
], true)
|
|
47760
47772
|
]),
|
|
47761
47773
|
_: 3
|
|
@@ -47779,7 +47791,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
47779
47791
|
});
|
|
47780
47792
|
return (_ctx, _cache) => {
|
|
47781
47793
|
const _component_a_switch = Switch;
|
|
47782
|
-
return
|
|
47794
|
+
return openBlock(), createBlock(_component_a_switch, mergeProps(_ctx.$attrs, {
|
|
47795
|
+
disabled: !visible.value
|
|
47796
|
+
}), null, 16, ["disabled"]);
|
|
47783
47797
|
};
|
|
47784
47798
|
}
|
|
47785
47799
|
});
|
|
@@ -48183,6 +48197,7 @@ const inhe = {
|
|
|
48183
48197
|
Vue.component("uc-pick-label", PickLabel);
|
|
48184
48198
|
}
|
|
48185
48199
|
};
|
|
48200
|
+
const FORCE_RESET_PWD_SYNC_KEY = "forceResetPwdSync";
|
|
48186
48201
|
let forceResetPwdModalInstance = null;
|
|
48187
48202
|
function changeTheme(options) {
|
|
48188
48203
|
changeTheme$1(options);
|
|
@@ -48194,6 +48209,20 @@ function openResetPassword(callback) {
|
|
|
48194
48209
|
}
|
|
48195
48210
|
const container = document.createElement("div");
|
|
48196
48211
|
let compRef = null;
|
|
48212
|
+
function handleForceResetPwdStorage(event) {
|
|
48213
|
+
if (event.key === `${TOKEN_PREFIX}${FORCE_RESET_PWD_SYNC_KEY}` && event.newValue) {
|
|
48214
|
+
forceResetPwdModalInstance == null ? void 0 : forceResetPwdModalInstance.close();
|
|
48215
|
+
}
|
|
48216
|
+
}
|
|
48217
|
+
function closeModal() {
|
|
48218
|
+
if (!forceResetPwdModalInstance) {
|
|
48219
|
+
return;
|
|
48220
|
+
}
|
|
48221
|
+
app.unmount();
|
|
48222
|
+
container.remove();
|
|
48223
|
+
forceResetPwdModalInstance = null;
|
|
48224
|
+
window.removeEventListener("storage", handleForceResetPwdStorage);
|
|
48225
|
+
}
|
|
48197
48226
|
const app = createApp({
|
|
48198
48227
|
setup() {
|
|
48199
48228
|
compRef = ref();
|
|
@@ -48208,7 +48237,12 @@ function openResetPassword(callback) {
|
|
|
48208
48237
|
height: "100%"
|
|
48209
48238
|
}
|
|
48210
48239
|
},
|
|
48211
|
-
[
|
|
48240
|
+
[
|
|
48241
|
+
h(ForceResetPwdModal, {
|
|
48242
|
+
ref: compRef,
|
|
48243
|
+
onSuccess: closeModal
|
|
48244
|
+
})
|
|
48245
|
+
]
|
|
48212
48246
|
);
|
|
48213
48247
|
}
|
|
48214
48248
|
});
|
|
@@ -48224,19 +48258,13 @@ function openResetPassword(callback) {
|
|
|
48224
48258
|
});
|
|
48225
48259
|
},
|
|
48226
48260
|
destroy: () => {
|
|
48227
|
-
|
|
48228
|
-
container.remove();
|
|
48229
|
-
forceResetPwdModalInstance = null;
|
|
48261
|
+
closeModal();
|
|
48230
48262
|
},
|
|
48231
48263
|
close: () => {
|
|
48232
|
-
|
|
48233
|
-
container.remove();
|
|
48234
|
-
forceResetPwdModalInstance = null;
|
|
48264
|
+
closeModal();
|
|
48235
48265
|
}
|
|
48236
48266
|
};
|
|
48237
|
-
window.addEventListener("
|
|
48238
|
-
forceResetPwdModalInstance == null ? void 0 : forceResetPwdModalInstance.close();
|
|
48239
|
-
});
|
|
48267
|
+
window.addEventListener("storage", handleForceResetPwdStorage);
|
|
48240
48268
|
forceResetPwdModalInstance.showModal(callback);
|
|
48241
48269
|
}
|
|
48242
48270
|
function setToken(token) {
|