@witlink/usercenter 1.2.35 → 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 +83 -228
- package/dist/usercenter.umd.js +1 -1
- package/package.json +1 -1
- package/version.md +4 -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 }) {
|
@@ -1937,8 +1930,9 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
1937
1930
|
});
|
1938
1931
|
return (_ctx, _cache) => {
|
1939
1932
|
const _component_a_button = Button;
|
1940
|
-
const
|
1933
|
+
const _component_a_textarea = Textarea;
|
1941
1934
|
const _component_a_form_item = FormItem;
|
1935
|
+
const _component_a_input = Input;
|
1942
1936
|
const _component_a_form = Form;
|
1943
1937
|
const _component_a_modal = Modal$1;
|
1944
1938
|
return openBlock(), createElementBlock("div", null, [
|
@@ -1987,12 +1981,13 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
1987
1981
|
name: "parentBranch"
|
1988
1982
|
}, {
|
1989
1983
|
default: withCtx(() => [
|
1990
|
-
createVNode(
|
1984
|
+
createVNode(_component_a_textarea, {
|
1991
1985
|
placeholder: _ctx.$t("organ.parentBranch"),
|
1992
|
-
maxLength:
|
1986
|
+
maxLength: 256,
|
1993
1987
|
disabled: "",
|
1994
1988
|
value: form.parentBranch,
|
1995
|
-
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.parentBranch = $event)
|
1989
|
+
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.parentBranch = $event),
|
1990
|
+
"auto-size": { minRows: 1, maxRows: 4 }
|
1996
1991
|
}, null, 8, ["placeholder", "value"])
|
1997
1992
|
]),
|
1998
1993
|
_: 1
|
@@ -2002,12 +1997,13 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
2002
1997
|
name: "superiorRegion"
|
2003
1998
|
}, {
|
2004
1999
|
default: withCtx(() => [
|
2005
|
-
createVNode(
|
2000
|
+
createVNode(_component_a_textarea, {
|
2006
2001
|
placeholder: _ctx.$t("organ.superiorRegion"),
|
2007
|
-
maxLength:
|
2002
|
+
maxLength: 256,
|
2008
2003
|
disabled: "",
|
2009
2004
|
value: form.parentRegion,
|
2010
|
-
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.parentRegion = $event)
|
2005
|
+
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.parentRegion = $event),
|
2006
|
+
"auto-size": { minRows: 1, maxRows: 4 }
|
2011
2007
|
}, null, 8, ["placeholder", "value"])
|
2012
2008
|
]),
|
2013
2009
|
_: 1
|
@@ -2056,9 +2052,9 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
2056
2052
|
}
|
2057
2053
|
});
|
2058
2054
|
const DeptEdit_vue_vue_type_style_index_0_scoped_58074060_lang = "";
|
2059
|
-
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"]]);
|
2060
2056
|
const _hoisted_1$B = ["spinning"];
|
2061
|
-
const _sfc_main$
|
2057
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
2062
2058
|
__name: "BranchEdit",
|
2063
2059
|
emits: ["ok"],
|
2064
2060
|
setup(__props, { expose: __expose, emit: __emit }) {
|
@@ -2262,7 +2258,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
2262
2258
|
}
|
2263
2259
|
});
|
2264
2260
|
const BranchEdit_vue_vue_type_style_index_0_scoped_db8da10b_lang = "";
|
2265
|
-
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"]]);
|
2266
2262
|
const _hoisted_1$A = { class: "pay_info" };
|
2267
2263
|
const _hoisted_2$h = { class: "pay_span" };
|
2268
2264
|
const _hoisted_3$f = { class: "pay_span1" };
|
@@ -2292,7 +2288,7 @@ const _hoisted_19 = { style: {
|
|
2292
2288
|
textAlign: "center",
|
2293
2289
|
zIndex: 1
|
2294
2290
|
} };
|
2295
|
-
const _sfc_main$
|
2291
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
2296
2292
|
__name: "BranDetail",
|
2297
2293
|
setup(__props, { expose: __expose }) {
|
2298
2294
|
const visible = ref(false);
|
@@ -2400,7 +2396,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
2400
2396
|
}
|
2401
2397
|
});
|
2402
2398
|
const BranDetail_vue_vue_type_style_index_0_scoped_207f1e3e_lang = "";
|
2403
|
-
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"]]);
|
2404
2400
|
const _hoisted_1$z = { class: "pay_info" };
|
2405
2401
|
const _hoisted_2$g = { class: "pay_span" };
|
2406
2402
|
const _hoisted_3$e = { class: "pay_span1" };
|
@@ -2428,7 +2424,7 @@ const _hoisted_17 = { style: {
|
|
2428
2424
|
textAlign: "center",
|
2429
2425
|
zIndex: 1
|
2430
2426
|
} };
|
2431
|
-
const _sfc_main$
|
2427
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
2432
2428
|
__name: "DeptDetail",
|
2433
2429
|
setup(__props, { expose: __expose }) {
|
2434
2430
|
const visible = ref(false);
|
@@ -2527,7 +2523,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
2527
2523
|
}
|
2528
2524
|
});
|
2529
2525
|
const DeptDetail_vue_vue_type_style_index_0_scoped_7ab63a77_lang = "";
|
2530
|
-
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"]]);
|
2531
2527
|
const _hoisted_1$y = { class: "organ-wrap" };
|
2532
2528
|
const _hoisted_2$f = { class: "topInfo" };
|
2533
2529
|
const _hoisted_3$d = { class: "topAdd" };
|
@@ -2537,7 +2533,7 @@ const _hoisted_6$4 = {
|
|
2537
2533
|
class: "ant-dropdown-link",
|
2538
2534
|
style: { "color": "rgba(0, 0, 0, 0.25)" }
|
2539
2535
|
};
|
2540
|
-
const _sfc_main$
|
2536
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
2541
2537
|
__name: "index",
|
2542
2538
|
setup(__props, { expose: __expose }) {
|
2543
2539
|
const appStore = useAppStore();
|
@@ -3129,7 +3125,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
3129
3125
|
}
|
3130
3126
|
});
|
3131
3127
|
const index_vue_vue_type_style_index_0_scoped_32a76766_lang = "";
|
3132
|
-
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"]]);
|
3133
3129
|
function mitt(n) {
|
3134
3130
|
return { all: n = n || /* @__PURE__ */ new Map(), on: function(t, e) {
|
3135
3131
|
var i = n.get(t);
|
@@ -3196,7 +3192,7 @@ function insertRole(params) {
|
|
3196
3192
|
params
|
3197
3193
|
});
|
3198
3194
|
}
|
3199
|
-
const _sfc_main$
|
3195
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
3200
3196
|
__name: "RoleAddModal",
|
3201
3197
|
emits: ["ok", "cancel"],
|
3202
3198
|
setup(__props, { emit: __emit }) {
|
@@ -3309,9 +3305,9 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
3309
3305
|
};
|
3310
3306
|
}
|
3311
3307
|
});
|
3312
|
-
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"]]);
|
3313
3309
|
const _hoisted_1$x = { class: "name" };
|
3314
|
-
const _sfc_main$
|
3310
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
3315
3311
|
__name: "AuthList",
|
3316
3312
|
props: {
|
3317
3313
|
roleId: {
|
@@ -3405,12 +3401,12 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
3405
3401
|
}
|
3406
3402
|
});
|
3407
3403
|
const AuthList_vue_vue_type_style_index_0_scoped_16e7804b_lang = "";
|
3408
|
-
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"]]);
|
3409
3405
|
const _hoisted_1$w = { key: 0 };
|
3410
3406
|
const _hoisted_2$e = { style: { "color": "rgba(0, 0, 0, 0.88)" } };
|
3411
3407
|
const _hoisted_3$c = { style: { "color": "rgba(0, 0, 0, 0.88)" } };
|
3412
3408
|
const _hoisted_4$9 = { key: 1 };
|
3413
|
-
const _sfc_main$
|
3409
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
3414
3410
|
__name: "ActDetail",
|
3415
3411
|
props: {
|
3416
3412
|
params: {
|
@@ -3609,9 +3605,9 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
3609
3605
|
}
|
3610
3606
|
});
|
3611
3607
|
const ActDetail_vue_vue_type_style_index_0_scoped_96c1fdf2_lang = "";
|
3612
|
-
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"]]);
|
3613
3609
|
const _hoisted_1$v = { class: "role-detail-wrap" };
|
3614
|
-
const _sfc_main$
|
3610
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
3615
3611
|
__name: "RoleDetail",
|
3616
3612
|
props: {
|
3617
3613
|
params: {
|
@@ -3897,7 +3893,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
3897
3893
|
}
|
3898
3894
|
});
|
3899
3895
|
const RoleDetail_vue_vue_type_style_index_0_scoped_41930af1_lang = "";
|
3900
|
-
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"]]);
|
3901
3897
|
const _hoisted_1$u = { class: "role-wrap" };
|
3902
3898
|
const _hoisted_2$d = { bordered: false };
|
3903
3899
|
const _hoisted_3$b = { style: { "margin": "10px 0 16px" } };
|
@@ -3908,7 +3904,7 @@ const _hoisted_4$8 = {
|
|
3908
3904
|
const _hoisted_5$3 = { key: 1 };
|
3909
3905
|
const _hoisted_6$3 = { key: 2 };
|
3910
3906
|
const _hoisted_7$2 = { key: 3 };
|
3911
|
-
const _sfc_main$
|
3907
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
3912
3908
|
...{
|
3913
3909
|
name: "Function6"
|
3914
3910
|
},
|
@@ -4154,9 +4150,9 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
4154
4150
|
}
|
4155
4151
|
});
|
4156
4152
|
const index_vue_vue_type_style_index_0_scoped_79d9b716_lang = "";
|
4157
|
-
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"]]);
|
4158
4154
|
const _hoisted_1$t = { key: 1 };
|
4159
|
-
const _sfc_main$
|
4155
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
4160
4156
|
__name: "BranchSelect",
|
4161
4157
|
props: {
|
4162
4158
|
value: {
|
@@ -4321,7 +4317,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
4321
4317
|
};
|
4322
4318
|
}
|
4323
4319
|
});
|
4324
|
-
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"]]);
|
4325
4321
|
function getSearchList$1(params) {
|
4326
4322
|
return handleRespPost({
|
4327
4323
|
url: "/api/sys/user/search-list",
|
@@ -4385,7 +4381,7 @@ function setUserResetPwd(params) {
|
|
4385
4381
|
params
|
4386
4382
|
});
|
4387
4383
|
}
|
4388
|
-
const _sfc_main$
|
4384
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
4389
4385
|
__name: "RoleSelect",
|
4390
4386
|
props: {
|
4391
4387
|
mode: {
|
@@ -4485,112 +4481,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
4485
4481
|
};
|
4486
4482
|
}
|
4487
4483
|
});
|
4488
|
-
const RoleSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
4489
|
-
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
4490
|
-
__name: "DeptSelect",
|
4491
|
-
props: {
|
4492
|
-
mode: {
|
4493
|
-
type: String,
|
4494
|
-
default: "default"
|
4495
|
-
},
|
4496
|
-
value: {
|
4497
|
-
type: Array,
|
4498
|
-
default: null
|
4499
|
-
},
|
4500
|
-
placeholder: {
|
4501
|
-
type: String,
|
4502
|
-
default: ""
|
4503
|
-
},
|
4504
|
-
branchId: {
|
4505
|
-
type: String,
|
4506
|
-
default: ""
|
4507
|
-
}
|
4508
|
-
},
|
4509
|
-
emits: [
|
4510
|
-
"change",
|
4511
|
-
"changeDeptId",
|
4512
|
-
"update:value",
|
4513
|
-
"changeVisible"
|
4514
|
-
],
|
4515
|
-
setup(__props, { emit: __emit }) {
|
4516
|
-
const emit = __emit;
|
4517
|
-
const props = __props;
|
4518
|
-
const currValue = ref([]);
|
4519
|
-
const depts = ref([]);
|
4520
|
-
const init2 = async () => {
|
4521
|
-
const { result } = await getPublicALlDepartment({ branchId: props.branchId });
|
4522
|
-
depts.value = result;
|
4523
|
-
if (!depts.value || depts.value && depts.value.length === 0) {
|
4524
|
-
currValue.value = [];
|
4525
|
-
emit("changeDeptId", []);
|
4526
|
-
}
|
4527
|
-
};
|
4528
|
-
const onChange = (value) => {
|
4529
|
-
if (typeof value == "string") {
|
4530
|
-
emit("change", [value]);
|
4531
|
-
emit("update:value", [value]);
|
4532
|
-
} else {
|
4533
|
-
emit("change", value);
|
4534
|
-
emit("update:value", value);
|
4535
|
-
}
|
4536
|
-
};
|
4537
|
-
const handleDropdownVisibleChange = (visible) => {
|
4538
|
-
if (visible) {
|
4539
|
-
emit("changeVisible");
|
4540
|
-
}
|
4541
|
-
};
|
4542
|
-
watch(
|
4543
|
-
() => props.value,
|
4544
|
-
(val) => {
|
4545
|
-
if (val && val[0]) {
|
4546
|
-
currValue.value = val;
|
4547
|
-
}
|
4548
|
-
}
|
4549
|
-
);
|
4550
|
-
watch(
|
4551
|
-
() => props.branchId,
|
4552
|
-
(newVal, oldVal) => {
|
4553
|
-
if (oldVal !== "") {
|
4554
|
-
currValue.value = [];
|
4555
|
-
emit("changeDeptId", newVal);
|
4556
|
-
}
|
4557
|
-
init2();
|
4558
|
-
}
|
4559
|
-
);
|
4560
|
-
return (_ctx, _cache) => {
|
4561
|
-
const _component_a_select_option = SelectOption;
|
4562
|
-
const _component_a_select = Select;
|
4563
|
-
return openBlock(), createElementBlock("div", null, [
|
4564
|
-
createVNode(_component_a_select, {
|
4565
|
-
style: { "width": "100%" },
|
4566
|
-
value: currValue.value,
|
4567
|
-
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => currValue.value = $event),
|
4568
|
-
placeholder: __props.placeholder,
|
4569
|
-
mode: __props.mode,
|
4570
|
-
allowClear: true,
|
4571
|
-
onChange,
|
4572
|
-
onDropdownVisibleChange: handleDropdownVisibleChange
|
4573
|
-
}, {
|
4574
|
-
default: withCtx(() => [
|
4575
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(depts.value, (text, key) => {
|
4576
|
-
return openBlock(), createBlock(_component_a_select_option, {
|
4577
|
-
key,
|
4578
|
-
value: text.deptId
|
4579
|
-
}, {
|
4580
|
-
default: withCtx(() => [
|
4581
|
-
createTextVNode(toDisplayString(text.deptName), 1)
|
4582
|
-
]),
|
4583
|
-
_: 2
|
4584
|
-
}, 1032, ["value"]);
|
4585
|
-
}), 128))
|
4586
|
-
]),
|
4587
|
-
_: 1
|
4588
|
-
}, 8, ["value", "placeholder", "mode"])
|
4589
|
-
]);
|
4590
|
-
};
|
4591
|
-
}
|
4592
|
-
});
|
4593
|
-
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"]]);
|
4594
4485
|
const _hoisted_1$s = { style: {
|
4595
4486
|
position: "absolute",
|
4596
4487
|
right: 0,
|
@@ -4637,18 +4528,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
4637
4528
|
form.branchId = "";
|
4638
4529
|
}
|
4639
4530
|
};
|
4640
|
-
const handleDepChange = (val) => {
|
4641
|
-
};
|
4642
4531
|
const handleRoleSelectChange = (val) => {
|
4643
4532
|
roleId.value = val.join(",");
|
4644
4533
|
};
|
4645
4534
|
const handleRoleOthersChange = (val) => {
|
4646
4535
|
};
|
4647
|
-
const handleDropdownVisibleChange = () => {
|
4648
|
-
if (form.branchId == "" || form.branchId == null || Array.isArray(form.branchId) && form.branchId.length == 0) {
|
4649
|
-
message.error(t("user.branch_msg2"));
|
4650
|
-
}
|
4651
|
-
};
|
4652
4536
|
const handleUserCodeValidator = (rule, value) => {
|
4653
4537
|
if (!value) {
|
4654
4538
|
return Promise.reject(t("user.user_code_msg1"));
|
@@ -4778,7 +4662,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
4778
4662
|
const _component_a_drawer = Drawer;
|
4779
4663
|
return openBlock(), createBlock(_component_a_drawer, {
|
4780
4664
|
open: visible.value,
|
4781
|
-
"onUpdate:open": _cache[
|
4665
|
+
"onUpdate:open": _cache[9] || (_cache[9] = ($event) => visible.value = $event),
|
4782
4666
|
onClose: onCancel,
|
4783
4667
|
width: 800,
|
4784
4668
|
title: _ctx.$t("user.title" + params.opType),
|
@@ -4894,32 +4778,24 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
4894
4778
|
]),
|
4895
4779
|
_: 1
|
4896
4780
|
}),
|
4897
|
-
|
4898
|
-
|
4899
|
-
|
4900
|
-
|
4901
|
-
|
4902
|
-
|
4903
|
-
|
4904
|
-
|
4905
|
-
|
4906
|
-
|
4907
|
-
|
4908
|
-
|
4909
|
-
|
4910
|
-
|
4911
|
-
|
4912
|
-
|
4913
|
-
|
4914
|
-
|
4915
|
-
_: 1
|
4916
|
-
}, 16, ["label"])
|
4917
|
-
]),
|
4918
|
-
_: 1
|
4919
|
-
})
|
4920
|
-
]),
|
4921
|
-
_: 1
|
4922
|
-
}),
|
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> `),
|
4923
4799
|
createVNode(_component_a_row, null, {
|
4924
4800
|
default: withCtx(() => [
|
4925
4801
|
createVNode(_component_a_col, { span: 24 }, {
|
@@ -4932,7 +4808,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
4932
4808
|
placeholder: _ctx.$t("user.role_placeholder"),
|
4933
4809
|
mode: "combobox",
|
4934
4810
|
value: form.roleId,
|
4935
|
-
"onUpdate:value": _cache[
|
4811
|
+
"onUpdate:value": _cache[4] || (_cache[4] = ($event) => form.roleId = $event),
|
4936
4812
|
onChange: handleRoleSelectChange
|
4937
4813
|
}, null, 8, ["placeholder", "value"])
|
4938
4814
|
]),
|
@@ -4957,7 +4833,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
4957
4833
|
mode: "multiple",
|
4958
4834
|
roleId: String(roleId.value),
|
4959
4835
|
value: form.roleIdOthers,
|
4960
|
-
"onUpdate:value": _cache[
|
4836
|
+
"onUpdate:value": _cache[5] || (_cache[5] = ($event) => form.roleIdOthers = $event),
|
4961
4837
|
onChangeRoleIdOthers: handleRoleOthersChange
|
4962
4838
|
}, null, 8, ["placeholder", "roleId", "value"])
|
4963
4839
|
]),
|
@@ -4982,7 +4858,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
4982
4858
|
placeholder: _ctx.$t("user.mobile_placeholder"),
|
4983
4859
|
disabled: params.opType == "2",
|
4984
4860
|
value: form.mobile,
|
4985
|
-
"onUpdate:value": _cache[
|
4861
|
+
"onUpdate:value": _cache[6] || (_cache[6] = ($event) => form.mobile = $event)
|
4986
4862
|
}, null, 8, ["placeholder", "disabled", "value"])
|
4987
4863
|
]),
|
4988
4864
|
_: 1
|
@@ -5005,7 +4881,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
5005
4881
|
placeholder: _ctx.$t("user.email_placeholder"),
|
5006
4882
|
disabled: params.opType == "2",
|
5007
4883
|
value: form.email,
|
5008
|
-
"onUpdate:value": _cache[
|
4884
|
+
"onUpdate:value": _cache[7] || (_cache[7] = ($event) => form.email = $event)
|
5009
4885
|
}, null, 8, ["placeholder", "disabled", "value"])
|
5010
4886
|
]),
|
5011
4887
|
_: 1
|
@@ -5027,7 +4903,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
5027
4903
|
createVNode(_component_a_input, {
|
5028
4904
|
placeholder: _ctx.$t("user.user_desc_placeholder"),
|
5029
4905
|
value: form.userDesc,
|
5030
|
-
"onUpdate:value": _cache[
|
4906
|
+
"onUpdate:value": _cache[8] || (_cache[8] = ($event) => form.userDesc = $event)
|
5031
4907
|
}, null, 8, ["placeholder", "value"])
|
5032
4908
|
]),
|
5033
4909
|
_: 1
|
@@ -5191,29 +5067,14 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
5191
5067
|
]),
|
5192
5068
|
_: 1
|
5193
5069
|
}),
|
5194
|
-
|
5195
|
-
|
5196
|
-
|
5197
|
-
|
5198
|
-
|
5199
|
-
|
5200
|
-
|
5201
|
-
|
5202
|
-
]),
|
5203
|
-
_: 1
|
5204
|
-
}),
|
5205
|
-
createVNode(_component_a_col, {
|
5206
|
-
span: 20,
|
5207
|
-
style: { "padding-left": "10px" }
|
5208
|
-
}, {
|
5209
|
-
default: withCtx(() => [
|
5210
|
-
createTextVNode(toDisplayString(data.departmentName), 1)
|
5211
|
-
]),
|
5212
|
-
_: 1
|
5213
|
-
})
|
5214
|
-
]),
|
5215
|
-
_: 1
|
5216
|
-
}),
|
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> `),
|
5217
5078
|
createVNode(_component_a_row, { style: { "margin-bottom": "30px" } }, {
|
5218
5079
|
default: withCtx(() => [
|
5219
5080
|
createVNode(_component_a_col, {
|
@@ -7248,16 +7109,10 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
7248
7109
|
customRender: ({ record }) => !record.branchId ? "" : deptRef.value && deptRef.value.getLabel(record.branchId),
|
7249
7110
|
customFilterDropdown: true
|
7250
7111
|
},
|
7251
|
-
{
|
7252
|
-
title: t("user.deptName"),
|
7253
|
-
dataIndex: "deptName",
|
7254
|
-
width: "150px",
|
7255
|
-
key: "deptName"
|
7256
|
-
},
|
7257
7112
|
{
|
7258
7113
|
title: t("user.mainRoleName"),
|
7259
7114
|
dataIndex: "mainRoleName",
|
7260
|
-
width: "
|
7115
|
+
width: "180px",
|
7261
7116
|
key: "mainRoleName",
|
7262
7117
|
filters: roleSelsect.value,
|
7263
7118
|
defaultFilteredValue: [],
|
@@ -7270,7 +7125,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
7270
7125
|
{
|
7271
7126
|
title: t("user.user_status"),
|
7272
7127
|
dataIndex: "userStatus",
|
7273
|
-
width: "
|
7128
|
+
width: "80px",
|
7274
7129
|
key: "userStatus",
|
7275
7130
|
filters: [
|
7276
7131
|
{ text: t("dct.USER_STATUS0"), value: "0" },
|
@@ -7289,7 +7144,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
7289
7144
|
title: t("user.action"),
|
7290
7145
|
key: "action",
|
7291
7146
|
fixed: "right",
|
7292
|
-
width: "
|
7147
|
+
width: "180px"
|
7293
7148
|
}
|
7294
7149
|
]);
|
7295
7150
|
const handleInputSearch = () => {
|