@witlink/usercenter 1.2.36 → 1.2.37
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 +70 -218
- package/dist/usercenter.umd.js +1 -1
- package/package.json +1 -1
- package/version.md +2 -0
package/dist/usercenter.es.js
CHANGED
@@ -485,13 +485,6 @@ function getPublicBranchChild(params) {
|
|
485
485
|
params
|
486
486
|
});
|
487
487
|
}
|
488
|
-
function getPublicALlDepartment(params) {
|
489
|
-
return handleRespPost({
|
490
|
-
url: "/api/sys/organ/public-search-all-department",
|
491
|
-
method: "get",
|
492
|
-
params
|
493
|
-
});
|
494
|
-
}
|
495
488
|
let i18n;
|
496
489
|
const localMap = /* @__PURE__ */ new Map();
|
497
490
|
function setI18n(instance2) {
|
@@ -604,7 +597,7 @@ const _export_sfc = (sfc, props) => {
|
|
604
597
|
}
|
605
598
|
return target;
|
606
599
|
};
|
607
|
-
const _sfc_main$
|
600
|
+
const _sfc_main$Z = Object.assign({
|
608
601
|
inheritAttrs: false
|
609
602
|
}, {
|
610
603
|
__name: "index",
|
@@ -706,10 +699,10 @@ const _sfc_main$_ = Object.assign({
|
|
706
699
|
};
|
707
700
|
}
|
708
701
|
});
|
709
|
-
const STable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
702
|
+
const STable = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-6ed6a16f"], ["__file", "D:/inhe-code/1.0.6-js/1.0.6_refactor/witlink-platform-usercenter-web/witlink-usercenter/src/components/table/index.vue"]]);
|
710
703
|
const _hoisted_1$G = { key: 1 };
|
711
704
|
const _hoisted_2$k = { key: 2 };
|
712
|
-
const _sfc_main$
|
705
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
713
706
|
__name: "DictEx",
|
714
707
|
props: {
|
715
708
|
server: {
|
@@ -917,8 +910,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
917
910
|
};
|
918
911
|
}
|
919
912
|
});
|
920
|
-
const DictEx = /* @__PURE__ */ _export_sfc(_sfc_main$
|
921
|
-
const _sfc_main$
|
913
|
+
const DictEx = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__file", "D:/inhe-code/1.0.6-js/1.0.6_refactor/witlink-platform-usercenter-web/witlink-usercenter/src/components/public/DictEx.vue"]]);
|
914
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
922
915
|
...{
|
923
916
|
name: "FunTree"
|
924
917
|
},
|
@@ -1044,11 +1037,11 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
1044
1037
|
};
|
1045
1038
|
}
|
1046
1039
|
});
|
1047
|
-
const FunTree = /* @__PURE__ */ _export_sfc(_sfc_main$
|
1040
|
+
const FunTree = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__file", "D:/inhe-code/1.0.6-js/1.0.6_refactor/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/functions/FunTree.vue"]]);
|
1048
1041
|
const _hoisted_1$F = { class: "uc-pro-footer-toolbar" };
|
1049
1042
|
const _hoisted_2$j = { style: { "float": "left" } };
|
1050
1043
|
const _hoisted_3$h = { style: { "text-align": "center" } };
|
1051
|
-
const _sfc_main$
|
1044
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
1052
1045
|
...{
|
1053
1046
|
name: "FooterToolBar"
|
1054
1047
|
},
|
@@ -1080,8 +1073,8 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
1080
1073
|
}
|
1081
1074
|
});
|
1082
1075
|
const FooterToolBar_vue_vue_type_style_index_0_scoped_040ae207_lang = "";
|
1083
|
-
const FooterToolBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
1084
|
-
const _sfc_main$
|
1076
|
+
const FooterToolBar = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-040ae207"], ["__file", "D:/inhe-code/1.0.6-js/1.0.6_refactor/witlink-platform-usercenter-web/witlink-usercenter/src/components/FooterToolbar/FooterToolBar.vue"]]);
|
1077
|
+
const _sfc_main$V = {
|
1085
1078
|
__name: "FunEdit",
|
1086
1079
|
props: {
|
1087
1080
|
params: {
|
@@ -1309,7 +1302,7 @@ const _sfc_main$W = {
|
|
1309
1302
|
};
|
1310
1303
|
}
|
1311
1304
|
};
|
1312
|
-
const FunEdit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
1305
|
+
const FunEdit = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__file", "D:/inhe-code/1.0.6-js/1.0.6_refactor/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/functions/FunEdit.vue"]]);
|
1313
1306
|
const dictMap = {};
|
1314
1307
|
async function getDictListByType(curType) {
|
1315
1308
|
if (dictMap[curType]) {
|
@@ -1368,7 +1361,7 @@ const _hoisted_3$g = { style: { "margin-top": "16px", "height": "calc(100% - 80p
|
|
1368
1361
|
const _hoisted_4$d = { style: { "height": "32px" } };
|
1369
1362
|
const _hoisted_5$7 = { key: 1 };
|
1370
1363
|
const _hoisted_6$7 = { key: 2 };
|
1371
|
-
const _sfc_main$
|
1364
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
1372
1365
|
...{
|
1373
1366
|
name: "Function13"
|
1374
1367
|
},
|
@@ -1709,7 +1702,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
1709
1702
|
}
|
1710
1703
|
});
|
1711
1704
|
const index_vue_vue_type_style_index_0_scoped_04710d5f_lang = "";
|
1712
|
-
const index$8 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
1705
|
+
const index$8 = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-04710d5f"], ["__file", "D:/inhe-code/1.0.6-js/1.0.6_refactor/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/functions/index.vue"]]);
|
1713
1706
|
function usePermissionId() {
|
1714
1707
|
const hasPermissionId = (id) => {
|
1715
1708
|
const hasPermission = _(id);
|
@@ -1800,7 +1793,7 @@ function setUpdateBranchType(params) {
|
|
1800
1793
|
});
|
1801
1794
|
}
|
1802
1795
|
const _hoisted_1$D = { class: "textarea-wrapper" };
|
1803
|
-
const _sfc_main$
|
1796
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
1804
1797
|
__name: "InputTextarea",
|
1805
1798
|
props: {
|
1806
1799
|
showCount: {
|
@@ -1846,9 +1839,9 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
1846
1839
|
}
|
1847
1840
|
});
|
1848
1841
|
const InputTextarea_vue_vue_type_style_index_0_scoped_939f274f_lang = "";
|
1849
|
-
const InputTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
1842
|
+
const InputTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-939f274f"], ["__file", "D:/inhe-code/1.0.6-js/1.0.6_refactor/witlink-platform-usercenter-web/witlink-usercenter/src/components/inhe/input/InputTextarea.vue"]]);
|
1850
1843
|
const _hoisted_1$C = ["spinning"];
|
1851
|
-
const _sfc_main$
|
1844
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
1852
1845
|
__name: "DeptEdit",
|
1853
1846
|
emits: ["ok"],
|
1854
1847
|
setup(__props, { expose: __expose, emit: __emit }) {
|
@@ -2059,9 +2052,9 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
2059
2052
|
}
|
2060
2053
|
});
|
2061
2054
|
const DeptEdit_vue_vue_type_style_index_0_scoped_58074060_lang = "";
|
2062
|
-
const DeptEdit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
2055
|
+
const DeptEdit = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-58074060"], ["__file", "D:/inhe-code/1.0.6-js/1.0.6_refactor/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/organ/DeptEdit.vue"]]);
|
2063
2056
|
const _hoisted_1$B = ["spinning"];
|
2064
|
-
const _sfc_main$
|
2057
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
2065
2058
|
__name: "BranchEdit",
|
2066
2059
|
emits: ["ok"],
|
2067
2060
|
setup(__props, { expose: __expose, emit: __emit }) {
|
@@ -2265,7 +2258,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
2265
2258
|
}
|
2266
2259
|
});
|
2267
2260
|
const BranchEdit_vue_vue_type_style_index_0_scoped_db8da10b_lang = "";
|
2268
|
-
const BranchEdit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
2261
|
+
const BranchEdit = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-db8da10b"], ["__file", "D:/inhe-code/1.0.6-js/1.0.6_refactor/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/organ/BranchEdit.vue"]]);
|
2269
2262
|
const _hoisted_1$A = { class: "pay_info" };
|
2270
2263
|
const _hoisted_2$h = { class: "pay_span" };
|
2271
2264
|
const _hoisted_3$f = { class: "pay_span1" };
|
@@ -2295,7 +2288,7 @@ const _hoisted_19 = { style: {
|
|
2295
2288
|
textAlign: "center",
|
2296
2289
|
zIndex: 1
|
2297
2290
|
} };
|
2298
|
-
const _sfc_main$
|
2291
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
2299
2292
|
__name: "BranDetail",
|
2300
2293
|
setup(__props, { expose: __expose }) {
|
2301
2294
|
const visible = ref(false);
|
@@ -2403,7 +2396,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
2403
2396
|
}
|
2404
2397
|
});
|
2405
2398
|
const BranDetail_vue_vue_type_style_index_0_scoped_207f1e3e_lang = "";
|
2406
|
-
const BranDetail = /* @__PURE__ */ _export_sfc(_sfc_main$
|
2399
|
+
const BranDetail = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-207f1e3e"], ["__file", "D:/inhe-code/1.0.6-js/1.0.6_refactor/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/organ/BranDetail.vue"]]);
|
2407
2400
|
const _hoisted_1$z = { class: "pay_info" };
|
2408
2401
|
const _hoisted_2$g = { class: "pay_span" };
|
2409
2402
|
const _hoisted_3$e = { class: "pay_span1" };
|
@@ -2431,7 +2424,7 @@ const _hoisted_17 = { style: {
|
|
2431
2424
|
textAlign: "center",
|
2432
2425
|
zIndex: 1
|
2433
2426
|
} };
|
2434
|
-
const _sfc_main$
|
2427
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
2435
2428
|
__name: "DeptDetail",
|
2436
2429
|
setup(__props, { expose: __expose }) {
|
2437
2430
|
const visible = ref(false);
|
@@ -2530,7 +2523,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
2530
2523
|
}
|
2531
2524
|
});
|
2532
2525
|
const DeptDetail_vue_vue_type_style_index_0_scoped_7ab63a77_lang = "";
|
2533
|
-
const DeptDetail = /* @__PURE__ */ _export_sfc(_sfc_main$
|
2526
|
+
const DeptDetail = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-7ab63a77"], ["__file", "D:/inhe-code/1.0.6-js/1.0.6_refactor/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/organ/DeptDetail.vue"]]);
|
2534
2527
|
const _hoisted_1$y = { class: "organ-wrap" };
|
2535
2528
|
const _hoisted_2$f = { class: "topInfo" };
|
2536
2529
|
const _hoisted_3$d = { class: "topAdd" };
|
@@ -2540,7 +2533,7 @@ const _hoisted_6$4 = {
|
|
2540
2533
|
class: "ant-dropdown-link",
|
2541
2534
|
style: { "color": "rgba(0, 0, 0, 0.25)" }
|
2542
2535
|
};
|
2543
|
-
const _sfc_main$
|
2536
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
2544
2537
|
__name: "index",
|
2545
2538
|
setup(__props, { expose: __expose }) {
|
2546
2539
|
const appStore = useAppStore();
|
@@ -3132,7 +3125,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
3132
3125
|
}
|
3133
3126
|
});
|
3134
3127
|
const index_vue_vue_type_style_index_0_scoped_32a76766_lang = "";
|
3135
|
-
const index$7 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
3128
|
+
const index$7 = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-32a76766"], ["__file", "D:/inhe-code/1.0.6-js/1.0.6_refactor/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/organ/index.vue"]]);
|
3136
3129
|
function mitt(n) {
|
3137
3130
|
return { all: n = n || /* @__PURE__ */ new Map(), on: function(t, e) {
|
3138
3131
|
var i = n.get(t);
|
@@ -3199,7 +3192,7 @@ function insertRole(params) {
|
|
3199
3192
|
params
|
3200
3193
|
});
|
3201
3194
|
}
|
3202
|
-
const _sfc_main$
|
3195
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
3203
3196
|
__name: "RoleAddModal",
|
3204
3197
|
emits: ["ok", "cancel"],
|
3205
3198
|
setup(__props, { emit: __emit }) {
|
@@ -3312,9 +3305,9 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
3312
3305
|
};
|
3313
3306
|
}
|
3314
3307
|
});
|
3315
|
-
const RoleAddModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
3308
|
+
const RoleAddModal = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__file", "D:/inhe-code/1.0.6-js/1.0.6_refactor/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/role/RoleAddModal.vue"]]);
|
3316
3309
|
const _hoisted_1$x = { class: "name" };
|
3317
|
-
const _sfc_main$
|
3310
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
3318
3311
|
__name: "AuthList",
|
3319
3312
|
props: {
|
3320
3313
|
roleId: {
|
@@ -3408,12 +3401,12 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
3408
3401
|
}
|
3409
3402
|
});
|
3410
3403
|
const AuthList_vue_vue_type_style_index_0_scoped_16e7804b_lang = "";
|
3411
|
-
const AuthList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
3404
|
+
const AuthList = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-16e7804b"], ["__file", "D:/inhe-code/1.0.6-js/1.0.6_refactor/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/role/AuthList.vue"]]);
|
3412
3405
|
const _hoisted_1$w = { key: 0 };
|
3413
3406
|
const _hoisted_2$e = { style: { "color": "rgba(0, 0, 0, 0.88)" } };
|
3414
3407
|
const _hoisted_3$c = { style: { "color": "rgba(0, 0, 0, 0.88)" } };
|
3415
3408
|
const _hoisted_4$9 = { key: 1 };
|
3416
|
-
const _sfc_main$
|
3409
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
3417
3410
|
__name: "ActDetail",
|
3418
3411
|
props: {
|
3419
3412
|
params: {
|
@@ -3612,9 +3605,9 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
3612
3605
|
}
|
3613
3606
|
});
|
3614
3607
|
const ActDetail_vue_vue_type_style_index_0_scoped_96c1fdf2_lang = "";
|
3615
|
-
const ActDetail = /* @__PURE__ */ _export_sfc(_sfc_main$
|
3608
|
+
const ActDetail = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-96c1fdf2"], ["__file", "D:/inhe-code/1.0.6-js/1.0.6_refactor/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/role/ActDetail.vue"]]);
|
3616
3609
|
const _hoisted_1$v = { class: "role-detail-wrap" };
|
3617
|
-
const _sfc_main$
|
3610
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
3618
3611
|
__name: "RoleDetail",
|
3619
3612
|
props: {
|
3620
3613
|
params: {
|
@@ -3900,7 +3893,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
3900
3893
|
}
|
3901
3894
|
});
|
3902
3895
|
const RoleDetail_vue_vue_type_style_index_0_scoped_41930af1_lang = "";
|
3903
|
-
const RoleDetail = /* @__PURE__ */ _export_sfc(_sfc_main$
|
3896
|
+
const RoleDetail = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-41930af1"], ["__file", "D:/inhe-code/1.0.6-js/1.0.6_refactor/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/role/RoleDetail.vue"]]);
|
3904
3897
|
const _hoisted_1$u = { class: "role-wrap" };
|
3905
3898
|
const _hoisted_2$d = { bordered: false };
|
3906
3899
|
const _hoisted_3$b = { style: { "margin": "10px 0 16px" } };
|
@@ -3911,7 +3904,7 @@ const _hoisted_4$8 = {
|
|
3911
3904
|
const _hoisted_5$3 = { key: 1 };
|
3912
3905
|
const _hoisted_6$3 = { key: 2 };
|
3913
3906
|
const _hoisted_7$2 = { key: 3 };
|
3914
|
-
const _sfc_main$
|
3907
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
3915
3908
|
...{
|
3916
3909
|
name: "Function6"
|
3917
3910
|
},
|
@@ -4157,9 +4150,9 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
4157
4150
|
}
|
4158
4151
|
});
|
4159
4152
|
const index_vue_vue_type_style_index_0_scoped_79d9b716_lang = "";
|
4160
|
-
const index$6 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
4153
|
+
const index$6 = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-79d9b716"], ["__file", "D:/inhe-code/1.0.6-js/1.0.6_refactor/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/role/index.vue"]]);
|
4161
4154
|
const _hoisted_1$t = { key: 1 };
|
4162
|
-
const _sfc_main$
|
4155
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
4163
4156
|
__name: "BranchSelect",
|
4164
4157
|
props: {
|
4165
4158
|
value: {
|
@@ -4324,7 +4317,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
4324
4317
|
};
|
4325
4318
|
}
|
4326
4319
|
});
|
4327
|
-
const BranchSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
4320
|
+
const BranchSelect = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__file", "D:/inhe-code/1.0.6-js/1.0.6_refactor/witlink-platform-usercenter-web/witlink-usercenter/src/components/public/BranchSelect.vue"]]);
|
4328
4321
|
function getSearchList$1(params) {
|
4329
4322
|
return handleRespPost({
|
4330
4323
|
url: "/api/sys/user/search-list",
|
@@ -4388,7 +4381,7 @@ function setUserResetPwd(params) {
|
|
4388
4381
|
params
|
4389
4382
|
});
|
4390
4383
|
}
|
4391
|
-
const _sfc_main$
|
4384
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
4392
4385
|
__name: "RoleSelect",
|
4393
4386
|
props: {
|
4394
4387
|
mode: {
|
@@ -4488,112 +4481,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
4488
4481
|
};
|
4489
4482
|
}
|
4490
4483
|
});
|
4491
|
-
const RoleSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
4492
|
-
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
4493
|
-
__name: "DeptSelect",
|
4494
|
-
props: {
|
4495
|
-
mode: {
|
4496
|
-
type: String,
|
4497
|
-
default: "default"
|
4498
|
-
},
|
4499
|
-
value: {
|
4500
|
-
type: Array,
|
4501
|
-
default: null
|
4502
|
-
},
|
4503
|
-
placeholder: {
|
4504
|
-
type: String,
|
4505
|
-
default: ""
|
4506
|
-
},
|
4507
|
-
branchId: {
|
4508
|
-
type: String,
|
4509
|
-
default: ""
|
4510
|
-
}
|
4511
|
-
},
|
4512
|
-
emits: [
|
4513
|
-
"change",
|
4514
|
-
"changeDeptId",
|
4515
|
-
"update:value",
|
4516
|
-
"changeVisible"
|
4517
|
-
],
|
4518
|
-
setup(__props, { emit: __emit }) {
|
4519
|
-
const emit = __emit;
|
4520
|
-
const props = __props;
|
4521
|
-
const currValue = ref([]);
|
4522
|
-
const depts = ref([]);
|
4523
|
-
const init2 = async () => {
|
4524
|
-
const { result } = await getPublicALlDepartment({ branchId: props.branchId });
|
4525
|
-
depts.value = result;
|
4526
|
-
if (!depts.value || depts.value && depts.value.length === 0) {
|
4527
|
-
currValue.value = [];
|
4528
|
-
emit("changeDeptId", []);
|
4529
|
-
}
|
4530
|
-
};
|
4531
|
-
const onChange = (value) => {
|
4532
|
-
if (typeof value == "string") {
|
4533
|
-
emit("change", [value]);
|
4534
|
-
emit("update:value", [value]);
|
4535
|
-
} else {
|
4536
|
-
emit("change", value);
|
4537
|
-
emit("update:value", value);
|
4538
|
-
}
|
4539
|
-
};
|
4540
|
-
const handleDropdownVisibleChange = (visible) => {
|
4541
|
-
if (visible) {
|
4542
|
-
emit("changeVisible");
|
4543
|
-
}
|
4544
|
-
};
|
4545
|
-
watch(
|
4546
|
-
() => props.value,
|
4547
|
-
(val) => {
|
4548
|
-
if (val && val[0]) {
|
4549
|
-
currValue.value = val;
|
4550
|
-
}
|
4551
|
-
}
|
4552
|
-
);
|
4553
|
-
watch(
|
4554
|
-
() => props.branchId,
|
4555
|
-
(newVal, oldVal) => {
|
4556
|
-
if (oldVal !== "") {
|
4557
|
-
currValue.value = [];
|
4558
|
-
emit("changeDeptId", newVal);
|
4559
|
-
}
|
4560
|
-
init2();
|
4561
|
-
}
|
4562
|
-
);
|
4563
|
-
return (_ctx, _cache) => {
|
4564
|
-
const _component_a_select_option = SelectOption;
|
4565
|
-
const _component_a_select = Select;
|
4566
|
-
return openBlock(), createElementBlock("div", null, [
|
4567
|
-
createVNode(_component_a_select, {
|
4568
|
-
style: { "width": "100%" },
|
4569
|
-
value: currValue.value,
|
4570
|
-
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => currValue.value = $event),
|
4571
|
-
placeholder: __props.placeholder,
|
4572
|
-
mode: __props.mode,
|
4573
|
-
allowClear: true,
|
4574
|
-
onChange,
|
4575
|
-
onDropdownVisibleChange: handleDropdownVisibleChange
|
4576
|
-
}, {
|
4577
|
-
default: withCtx(() => [
|
4578
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(depts.value, (text, key) => {
|
4579
|
-
return openBlock(), createBlock(_component_a_select_option, {
|
4580
|
-
key,
|
4581
|
-
value: text.deptId
|
4582
|
-
}, {
|
4583
|
-
default: withCtx(() => [
|
4584
|
-
createTextVNode(toDisplayString(text.deptName), 1)
|
4585
|
-
]),
|
4586
|
-
_: 2
|
4587
|
-
}, 1032, ["value"]);
|
4588
|
-
}), 128))
|
4589
|
-
]),
|
4590
|
-
_: 1
|
4591
|
-
}, 8, ["value", "placeholder", "mode"])
|
4592
|
-
]);
|
4593
|
-
};
|
4594
|
-
}
|
4595
|
-
});
|
4596
|
-
const DeptSelect = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__file", "D:/inhe-code/1.0.6-js/1.0.6_refactor/witlink-platform-usercenter-web/witlink-usercenter/src/components/public/DeptSelect.vue"]]);
|
4484
|
+
const RoleSelect = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__file", "D:/inhe-code/1.0.6-js/1.0.6_refactor/witlink-platform-usercenter-web/witlink-usercenter/src/components/public/RoleSelect.vue"]]);
|
4597
4485
|
const _hoisted_1$s = { style: {
|
4598
4486
|
position: "absolute",
|
4599
4487
|
right: 0,
|
@@ -4640,18 +4528,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
4640
4528
|
form.branchId = "";
|
4641
4529
|
}
|
4642
4530
|
};
|
4643
|
-
const handleDepChange = (val) => {
|
4644
|
-
};
|
4645
4531
|
const handleRoleSelectChange = (val) => {
|
4646
4532
|
roleId.value = val.join(",");
|
4647
4533
|
};
|
4648
4534
|
const handleRoleOthersChange = (val) => {
|
4649
4535
|
};
|
4650
|
-
const handleDropdownVisibleChange = () => {
|
4651
|
-
if (form.branchId == "" || form.branchId == null || Array.isArray(form.branchId) && form.branchId.length == 0) {
|
4652
|
-
message.error(t("user.branch_msg2"));
|
4653
|
-
}
|
4654
|
-
};
|
4655
4536
|
const handleUserCodeValidator = (rule, value) => {
|
4656
4537
|
if (!value) {
|
4657
4538
|
return Promise.reject(t("user.user_code_msg1"));
|
@@ -4781,7 +4662,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
4781
4662
|
const _component_a_drawer = Drawer;
|
4782
4663
|
return openBlock(), createBlock(_component_a_drawer, {
|
4783
4664
|
open: visible.value,
|
4784
|
-
"onUpdate:open": _cache[
|
4665
|
+
"onUpdate:open": _cache[9] || (_cache[9] = ($event) => visible.value = $event),
|
4785
4666
|
onClose: onCancel,
|
4786
4667
|
width: 800,
|
4787
4668
|
title: _ctx.$t("user.title" + params.opType),
|
@@ -4897,32 +4778,24 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
4897
4778
|
]),
|
4898
4779
|
_: 1
|
4899
4780
|
}),
|
4900
|
-
|
4901
|
-
|
4902
|
-
|
4903
|
-
|
4904
|
-
|
4905
|
-
|
4906
|
-
|
4907
|
-
|
4908
|
-
|
4909
|
-
|
4910
|
-
|
4911
|
-
|
4912
|
-
|
4913
|
-
|
4914
|
-
|
4915
|
-
|
4916
|
-
|
4917
|
-
|
4918
|
-
_: 1
|
4919
|
-
}, 16, ["label"])
|
4920
|
-
]),
|
4921
|
-
_: 1
|
4922
|
-
})
|
4923
|
-
]),
|
4924
|
-
_: 1
|
4925
|
-
}),
|
4781
|
+
createCommentVNode(` <a-row>\r
|
4782
|
+
<a-col :span="24">\r
|
4783
|
+
<a-form-item\r
|
4784
|
+
:label="$t('user.depyId')"\r
|
4785
|
+
v-bind="formItemLayout"\r
|
4786
|
+
name="deptId"\r
|
4787
|
+
>\r
|
4788
|
+
<dept-select\r
|
4789
|
+
:placeholder="$t('user.depyId_placeholder')"\r
|
4790
|
+
mode="default"\r
|
4791
|
+
v-model:value="form.deptId"\r
|
4792
|
+
:branchId="form.branchId"\r
|
4793
|
+
@changeDeptId="handleDepChange"\r
|
4794
|
+
@changeVisible="handleDropdownVisibleChange"\r
|
4795
|
+
></dept-select>\r
|
4796
|
+
</a-form-item>\r
|
4797
|
+
</a-col>\r
|
4798
|
+
</a-row> `),
|
4926
4799
|
createVNode(_component_a_row, null, {
|
4927
4800
|
default: withCtx(() => [
|
4928
4801
|
createVNode(_component_a_col, { span: 24 }, {
|
@@ -4935,7 +4808,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
4935
4808
|
placeholder: _ctx.$t("user.role_placeholder"),
|
4936
4809
|
mode: "combobox",
|
4937
4810
|
value: form.roleId,
|
4938
|
-
"onUpdate:value": _cache[
|
4811
|
+
"onUpdate:value": _cache[4] || (_cache[4] = ($event) => form.roleId = $event),
|
4939
4812
|
onChange: handleRoleSelectChange
|
4940
4813
|
}, null, 8, ["placeholder", "value"])
|
4941
4814
|
]),
|
@@ -4960,7 +4833,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
4960
4833
|
mode: "multiple",
|
4961
4834
|
roleId: String(roleId.value),
|
4962
4835
|
value: form.roleIdOthers,
|
4963
|
-
"onUpdate:value": _cache[
|
4836
|
+
"onUpdate:value": _cache[5] || (_cache[5] = ($event) => form.roleIdOthers = $event),
|
4964
4837
|
onChangeRoleIdOthers: handleRoleOthersChange
|
4965
4838
|
}, null, 8, ["placeholder", "roleId", "value"])
|
4966
4839
|
]),
|
@@ -4985,7 +4858,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
4985
4858
|
placeholder: _ctx.$t("user.mobile_placeholder"),
|
4986
4859
|
disabled: params.opType == "2",
|
4987
4860
|
value: form.mobile,
|
4988
|
-
"onUpdate:value": _cache[
|
4861
|
+
"onUpdate:value": _cache[6] || (_cache[6] = ($event) => form.mobile = $event)
|
4989
4862
|
}, null, 8, ["placeholder", "disabled", "value"])
|
4990
4863
|
]),
|
4991
4864
|
_: 1
|
@@ -5008,7 +4881,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
5008
4881
|
placeholder: _ctx.$t("user.email_placeholder"),
|
5009
4882
|
disabled: params.opType == "2",
|
5010
4883
|
value: form.email,
|
5011
|
-
"onUpdate:value": _cache[
|
4884
|
+
"onUpdate:value": _cache[7] || (_cache[7] = ($event) => form.email = $event)
|
5012
4885
|
}, null, 8, ["placeholder", "disabled", "value"])
|
5013
4886
|
]),
|
5014
4887
|
_: 1
|
@@ -5030,7 +4903,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
5030
4903
|
createVNode(_component_a_input, {
|
5031
4904
|
placeholder: _ctx.$t("user.user_desc_placeholder"),
|
5032
4905
|
value: form.userDesc,
|
5033
|
-
"onUpdate:value": _cache[
|
4906
|
+
"onUpdate:value": _cache[8] || (_cache[8] = ($event) => form.userDesc = $event)
|
5034
4907
|
}, null, 8, ["placeholder", "value"])
|
5035
4908
|
]),
|
5036
4909
|
_: 1
|
@@ -5194,29 +5067,14 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
5194
5067
|
]),
|
5195
5068
|
_: 1
|
5196
5069
|
}),
|
5197
|
-
|
5198
|
-
|
5199
|
-
|
5200
|
-
|
5201
|
-
|
5202
|
-
|
5203
|
-
|
5204
|
-
|
5205
|
-
]),
|
5206
|
-
_: 1
|
5207
|
-
}),
|
5208
|
-
createVNode(_component_a_col, {
|
5209
|
-
span: 20,
|
5210
|
-
style: { "padding-left": "10px" }
|
5211
|
-
}, {
|
5212
|
-
default: withCtx(() => [
|
5213
|
-
createTextVNode(toDisplayString(data.departmentName), 1)
|
5214
|
-
]),
|
5215
|
-
_: 1
|
5216
|
-
})
|
5217
|
-
]),
|
5218
|
-
_: 1
|
5219
|
-
}),
|
5070
|
+
createCommentVNode(` <a-row style="margin-bottom: 30px">\r
|
5071
|
+
<a-col :span="4" style="text-align: right; color: #333"\r
|
5072
|
+
>{{ $t('user.depyId') }}:</a-col\r
|
5073
|
+
>\r
|
5074
|
+
<a-col :span="20" style="padding-left: 10px">\r
|
5075
|
+
{{ data.departmentName }}\r
|
5076
|
+
</a-col>\r
|
5077
|
+
</a-row> `),
|
5220
5078
|
createVNode(_component_a_row, { style: { "margin-bottom": "30px" } }, {
|
5221
5079
|
default: withCtx(() => [
|
5222
5080
|
createVNode(_component_a_col, {
|
@@ -7251,12 +7109,6 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
7251
7109
|
customRender: ({ record }) => !record.branchId ? "" : deptRef.value && deptRef.value.getLabel(record.branchId),
|
7252
7110
|
customFilterDropdown: true
|
7253
7111
|
},
|
7254
|
-
{
|
7255
|
-
title: t("user.deptName"),
|
7256
|
-
dataIndex: "deptName",
|
7257
|
-
width: "150px",
|
7258
|
-
key: "deptName"
|
7259
|
-
},
|
7260
7112
|
{
|
7261
7113
|
title: t("user.mainRoleName"),
|
7262
7114
|
dataIndex: "mainRoleName",
|