@witlink/usercenter 1.2.29 → 1.2.31
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 +193 -84
- package/dist/usercenter.umd.js +1 -1
- package/package.json +1 -1
- package/version.md +2 -0
package/dist/usercenter.es.js
CHANGED
|
@@ -2497,8 +2497,11 @@ const _hoisted_1$y = { class: "organ-wrap" };
|
|
|
2497
2497
|
const _hoisted_2$f = { class: "topInfo" };
|
|
2498
2498
|
const _hoisted_3$d = { class: "topAdd" };
|
|
2499
2499
|
const _hoisted_4$a = { class: "table-wrap" };
|
|
2500
|
-
const _hoisted_5$4 = {
|
|
2501
|
-
const _hoisted_6$4 = {
|
|
2500
|
+
const _hoisted_5$4 = { class: "ant-dropdown-link" };
|
|
2501
|
+
const _hoisted_6$4 = {
|
|
2502
|
+
class: "ant-dropdown-link",
|
|
2503
|
+
style: { "color": "rgba(0, 0, 0, 0.25)" }
|
|
2504
|
+
};
|
|
2502
2505
|
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
2503
2506
|
__name: "index",
|
|
2504
2507
|
setup(__props, { expose: __expose }) {
|
|
@@ -2679,6 +2682,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
2679
2682
|
return (_ctx, _cache) => {
|
|
2680
2683
|
const _component_a_input_search = InputSearch;
|
|
2681
2684
|
const _component_a_button = Button;
|
|
2685
|
+
const _component_a_tooltip = Tooltip;
|
|
2682
2686
|
const _component_uc_pick_label = resolveComponent("uc-pick-label");
|
|
2683
2687
|
const _component_uc_btn_edit = resolveComponent("uc-btn-edit");
|
|
2684
2688
|
const _component_a_divider = Divider;
|
|
@@ -2749,99 +2753,194 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
2749
2753
|
}, 1032, ["onClick"]), [
|
|
2750
2754
|
[vShow, !record.operationPermissions]
|
|
2751
2755
|
]),
|
|
2752
|
-
|
|
2753
|
-
[
|
|
2754
|
-
|
|
2756
|
+
createVNode(_component_a_tooltip, { placement: "top" }, {
|
|
2757
|
+
title: withCtx(() => [
|
|
2758
|
+
createElementVNode("span", null, toDisplayString(_ctx.$t("organ.nopermission")), 1)
|
|
2759
|
+
]),
|
|
2760
|
+
default: withCtx(() => [
|
|
2761
|
+
withDirectives(createVNode(_component_a_button, {
|
|
2762
|
+
type: "link",
|
|
2763
|
+
disabled: ""
|
|
2764
|
+
}, {
|
|
2765
|
+
default: withCtx(() => [
|
|
2766
|
+
createTextVNode(toDisplayString(record.name), 1)
|
|
2767
|
+
]),
|
|
2768
|
+
_: 2
|
|
2769
|
+
}, 1536), [
|
|
2770
|
+
[vShow, record.operationPermissions]
|
|
2771
|
+
])
|
|
2772
|
+
]),
|
|
2773
|
+
_: 2
|
|
2774
|
+
}, 1024)
|
|
2755
2775
|
], 64)) : createCommentVNode("v-if", true),
|
|
2756
2776
|
column.key === "cdate" ? (openBlock(), createBlock(_component_uc_pick_label, {
|
|
2757
2777
|
key: 1,
|
|
2758
2778
|
defaultValue: record.cdate
|
|
2759
2779
|
}, null, 8, ["defaultValue"])) : createCommentVNode("v-if", true),
|
|
2760
|
-
column.key === "action" ? (openBlock(), createElementBlock(
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
[
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2780
|
+
column.key === "action" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
2781
|
+
withDirectives(createElementVNode("div", null, [
|
|
2782
|
+
createVNode(_component_uc_btn_edit, {
|
|
2783
|
+
onClick: ($event) => onUpdate(record),
|
|
2784
|
+
type: "a"
|
|
2785
|
+
}, null, 8, ["onClick"]),
|
|
2786
|
+
createVNode(_component_a_divider, { type: "vertical" }),
|
|
2787
|
+
withDirectives(createVNode(_component_uc_btn_remove, {
|
|
2788
|
+
onClick: ($event) => onDelete(record),
|
|
2789
|
+
type: "c",
|
|
2790
|
+
title: _ctx.$t("organ.remove"),
|
|
2791
|
+
content: _ctx.$t("organ.remove1")
|
|
2792
|
+
}, null, 8, ["onClick", "title", "content"]), [
|
|
2793
|
+
[vShow, record.type == 3]
|
|
2794
|
+
]),
|
|
2795
|
+
withDirectives(createVNode(_component_uc_btn_add, {
|
|
2796
|
+
type: "d",
|
|
2797
|
+
onClick: ($event) => onAddDep(record),
|
|
2798
|
+
text: _ctx.$t("organ.add2")
|
|
2799
|
+
}, null, 8, ["onClick", "text"]), [
|
|
2800
|
+
[vShow, record.type == 2]
|
|
2801
|
+
]),
|
|
2802
|
+
withDirectives(createElementVNode("span", null, [
|
|
2803
|
+
createVNode(_component_a_dropdown, null, {
|
|
2804
|
+
overlay: withCtx(() => [
|
|
2805
|
+
createVNode(_component_a_menu, null, {
|
|
2806
|
+
default: withCtx(() => [
|
|
2807
|
+
withDirectives(createElementVNode("div", null, [
|
|
2808
|
+
createVNode(_component_a_menu_item, { key: "1" }, {
|
|
2809
|
+
default: withCtx(() => [
|
|
2810
|
+
createVNode(_component_uc_btn_add, {
|
|
2811
|
+
type: "d",
|
|
2812
|
+
text: _ctx.$t("organ.add1"),
|
|
2813
|
+
onClick: ($event) => onAdd(record)
|
|
2814
|
+
}, null, 8, ["text", "onClick"])
|
|
2815
|
+
]),
|
|
2816
|
+
_: 2
|
|
2817
|
+
}, 1024)
|
|
2818
|
+
], 512), [
|
|
2819
|
+
[vShow, addShow.value]
|
|
2820
|
+
]),
|
|
2821
|
+
withDirectives(createElementVNode("div", null, [
|
|
2822
|
+
createVNode(_component_a_menu_item, { key: "2" }, {
|
|
2823
|
+
default: withCtx(() => [
|
|
2824
|
+
createVNode(_component_uc_btn_add, {
|
|
2825
|
+
type: "d",
|
|
2826
|
+
text: _ctx.$t("organ.add2"),
|
|
2827
|
+
onClick: ($event) => onAddDep(record)
|
|
2828
|
+
}, null, 8, ["text", "onClick"])
|
|
2829
|
+
]),
|
|
2830
|
+
_: 2
|
|
2831
|
+
}, 1024)
|
|
2832
|
+
], 512), [
|
|
2833
|
+
[vShow, addShow.value]
|
|
2834
|
+
]),
|
|
2835
|
+
withDirectives(createElementVNode("div", null, [
|
|
2836
|
+
createVNode(_component_a_menu_item, { key: "3" }, {
|
|
2837
|
+
default: withCtx(() => [
|
|
2838
|
+
createVNode(_component_uc_btn_remove, {
|
|
2839
|
+
onClick: ($event) => onDelete(record),
|
|
2840
|
+
type: "c",
|
|
2841
|
+
title: _ctx.$t("organ.remove"),
|
|
2842
|
+
content: _ctx.$t("organ.remove1")
|
|
2843
|
+
}, null, 8, ["onClick", "title", "content"])
|
|
2844
|
+
]),
|
|
2845
|
+
_: 2
|
|
2846
|
+
}, 1024)
|
|
2847
|
+
], 512), [
|
|
2848
|
+
[vShow, record.type != 0 && removeShow.value]
|
|
2849
|
+
])
|
|
2813
2850
|
]),
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2851
|
+
_: 2
|
|
2852
|
+
}, 1024)
|
|
2853
|
+
]),
|
|
2854
|
+
default: withCtx(() => [
|
|
2855
|
+
createElementVNode("a", _hoisted_5$4, [
|
|
2856
|
+
createTextVNode(toDisplayString(_ctx.$t("common.btn_more")) + " ", 1),
|
|
2857
|
+
createVNode(unref(DownOutlined))
|
|
2858
|
+
])
|
|
2859
|
+
]),
|
|
2860
|
+
_: 2
|
|
2861
|
+
}, 1024)
|
|
2862
|
+
], 512), [
|
|
2863
|
+
[vShow, record.type != 3 && record.type != 2]
|
|
2864
|
+
])
|
|
2865
|
+
], 512), [
|
|
2866
|
+
[vShow, !record.operationPermissions]
|
|
2867
|
+
]),
|
|
2868
|
+
withDirectives(createElementVNode("div", null, [
|
|
2869
|
+
createVNode(_component_a_tooltip, { placement: "top" }, {
|
|
2870
|
+
title: withCtx(() => [
|
|
2871
|
+
createElementVNode("span", null, toDisplayString(_ctx.$t("organ.nopermission")), 1)
|
|
2872
|
+
]),
|
|
2873
|
+
default: withCtx(() => [
|
|
2874
|
+
createVNode(_component_uc_btn_edit, {
|
|
2875
|
+
type: "bt4",
|
|
2876
|
+
style: { "color": "rgba(0, 0, 0, 0.25)" },
|
|
2877
|
+
disabled: ""
|
|
2878
|
+
})
|
|
2879
|
+
]),
|
|
2880
|
+
_: 1
|
|
2881
|
+
}),
|
|
2882
|
+
createVNode(_component_a_divider, { type: "vertical" }),
|
|
2883
|
+
createVNode(_component_a_tooltip, { placement: "top" }, {
|
|
2884
|
+
title: withCtx(() => [
|
|
2885
|
+
createElementVNode("span", null, toDisplayString(_ctx.$t("organ.nopermission")), 1)
|
|
2886
|
+
]),
|
|
2887
|
+
default: withCtx(() => [
|
|
2888
|
+
withDirectives(createVNode(_component_uc_btn_remove, {
|
|
2889
|
+
onClick: ($event) => onDelete(record),
|
|
2890
|
+
type: "c",
|
|
2891
|
+
style: { "color": "rgba(0, 0, 0, 0.25)" },
|
|
2892
|
+
disabled: "",
|
|
2893
|
+
title: _ctx.$t("organ.remove"),
|
|
2894
|
+
content: _ctx.$t("organ.remove1")
|
|
2895
|
+
}, null, 8, ["onClick", "title", "content"]), [
|
|
2896
|
+
[vShow, record.type == 3]
|
|
2897
|
+
])
|
|
2898
|
+
]),
|
|
2899
|
+
_: 2
|
|
2900
|
+
}, 1024),
|
|
2901
|
+
createVNode(_component_a_tooltip, { placement: "top" }, {
|
|
2902
|
+
title: withCtx(() => [
|
|
2903
|
+
createElementVNode("span", null, toDisplayString(_ctx.$t("organ.nopermission")), 1)
|
|
2904
|
+
]),
|
|
2905
|
+
default: withCtx(() => [
|
|
2906
|
+
withDirectives(createVNode(_component_uc_btn_add, {
|
|
2907
|
+
type: "b",
|
|
2908
|
+
style: { "color": "rgba(0, 0, 0, 0.25)" },
|
|
2909
|
+
disabled: "",
|
|
2910
|
+
onClick: ($event) => onAddDep(record),
|
|
2911
|
+
text: _ctx.$t("organ.add2")
|
|
2912
|
+
}, null, 8, ["onClick", "text"]), [
|
|
2913
|
+
[vShow, record.type == 2]
|
|
2914
|
+
])
|
|
2915
|
+
]),
|
|
2916
|
+
_: 2
|
|
2917
|
+
}, 1024),
|
|
2918
|
+
createVNode(_component_a_tooltip, { placement: "top" }, {
|
|
2919
|
+
title: withCtx(() => [
|
|
2920
|
+
createElementVNode("span", null, toDisplayString(_ctx.$t("organ.nopermission")), 1)
|
|
2832
2921
|
]),
|
|
2833
2922
|
default: withCtx(() => [
|
|
2834
|
-
createElementVNode("
|
|
2835
|
-
|
|
2836
|
-
|
|
2923
|
+
withDirectives(createElementVNode("span", null, [
|
|
2924
|
+
createVNode(_component_a_dropdown, { disabled: "" }, {
|
|
2925
|
+
overlay: withCtx(() => _cache[2] || (_cache[2] = [])),
|
|
2926
|
+
default: withCtx(() => [
|
|
2927
|
+
createElementVNode("a", _hoisted_6$4, [
|
|
2928
|
+
createTextVNode(toDisplayString(_ctx.$t("common.btn_more")) + " ", 1),
|
|
2929
|
+
createVNode(unref(DownOutlined))
|
|
2930
|
+
])
|
|
2931
|
+
]),
|
|
2932
|
+
_: 1
|
|
2933
|
+
})
|
|
2934
|
+
], 512), [
|
|
2935
|
+
[vShow, record.type != 3 && record.type != 2]
|
|
2837
2936
|
])
|
|
2838
2937
|
]),
|
|
2839
2938
|
_: 2
|
|
2840
2939
|
}, 1024)
|
|
2841
2940
|
], 512), [
|
|
2842
|
-
[vShow, record.
|
|
2941
|
+
[vShow, record.operationPermissions]
|
|
2843
2942
|
])
|
|
2844
|
-
])) : createCommentVNode("v-if", true)
|
|
2943
|
+
], 64)) : createCommentVNode("v-if", true)
|
|
2845
2944
|
]),
|
|
2846
2945
|
_: 1
|
|
2847
2946
|
}, 8, ["columns", "data-source", "expandedRowKeys"])
|
|
@@ -6996,7 +7095,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
6996
7095
|
{
|
|
6997
7096
|
title: t("user.mainRoleName"),
|
|
6998
7097
|
dataIndex: "mainRoleName",
|
|
6999
|
-
width: "
|
|
7098
|
+
width: "200px",
|
|
7000
7099
|
key: "mainRoleName",
|
|
7001
7100
|
filters: roleSelsect.value,
|
|
7002
7101
|
defaultFilteredValue: [],
|
|
@@ -7009,7 +7108,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
7009
7108
|
{
|
|
7010
7109
|
title: t("user.user_status"),
|
|
7011
7110
|
dataIndex: "userStatus",
|
|
7012
|
-
width: "
|
|
7111
|
+
width: "200px",
|
|
7013
7112
|
key: "userStatus",
|
|
7014
7113
|
filters: [
|
|
7015
7114
|
{ text: t("dct.USER_STATUS0"), value: "0" },
|
|
@@ -12816,7 +12915,17 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
12816
12915
|
key: 7,
|
|
12817
12916
|
class: normalizeClass(["edit", { disabled: __props.disabled }]),
|
|
12818
12917
|
style: { "width": "17px", "height": "17px" }
|
|
12819
|
-
}, null, 2)) : createCommentVNode("v-if", true)
|
|
12918
|
+
}, null, 2)) : createCommentVNode("v-if", true),
|
|
12919
|
+
__props.type == "bt4" ? (openBlock(), createBlock(_component_a_button, {
|
|
12920
|
+
key: 8,
|
|
12921
|
+
disabled: __props.disabled,
|
|
12922
|
+
type: "link"
|
|
12923
|
+
}, {
|
|
12924
|
+
default: withCtx(() => [
|
|
12925
|
+
createTextVNode(toDisplayString(!__props.text ? _ctx.$t("button._003") : __props.text), 1)
|
|
12926
|
+
]),
|
|
12927
|
+
_: 1
|
|
12928
|
+
}, 8, ["disabled"])) : createCommentVNode("v-if", true)
|
|
12820
12929
|
])) : createCommentVNode("v-if", true);
|
|
12821
12930
|
};
|
|
12822
12931
|
}
|