@witlink/usercenter 1.2.28 → 1.2.30
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 +185 -85
- 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,195 @@ 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)
|
2832
2872
|
]),
|
2833
2873
|
default: withCtx(() => [
|
2834
|
-
|
2835
|
-
|
2836
|
-
|
2874
|
+
createVNode(_component_uc_btn_edit, {
|
2875
|
+
onClick: ($event) => onUpdate(record),
|
2876
|
+
type: "b",
|
2877
|
+
style: { "color": "rgba(0, 0, 0, 0.25)" },
|
2878
|
+
disabled: ""
|
2879
|
+
}, null, 8, ["onClick"])
|
2880
|
+
]),
|
2881
|
+
_: 2
|
2882
|
+
}, 1024),
|
2883
|
+
createVNode(_component_a_divider, { type: "vertical" }),
|
2884
|
+
createVNode(_component_a_tooltip, { placement: "top" }, {
|
2885
|
+
title: withCtx(() => [
|
2886
|
+
createElementVNode("span", null, toDisplayString(_ctx.$t("organ.nopermission")), 1)
|
2887
|
+
]),
|
2888
|
+
default: withCtx(() => [
|
2889
|
+
withDirectives(createVNode(_component_uc_btn_remove, {
|
2890
|
+
onClick: ($event) => onDelete(record),
|
2891
|
+
type: "c",
|
2892
|
+
style: { "color": "rgba(0, 0, 0, 0.25)" },
|
2893
|
+
disabled: "",
|
2894
|
+
title: _ctx.$t("organ.remove"),
|
2895
|
+
content: _ctx.$t("organ.remove1")
|
2896
|
+
}, null, 8, ["onClick", "title", "content"]), [
|
2897
|
+
[vShow, record.type == 3]
|
2898
|
+
])
|
2899
|
+
]),
|
2900
|
+
_: 2
|
2901
|
+
}, 1024),
|
2902
|
+
createVNode(_component_a_tooltip, { placement: "top" }, {
|
2903
|
+
title: withCtx(() => [
|
2904
|
+
createElementVNode("span", null, toDisplayString(_ctx.$t("organ.nopermission")), 1)
|
2905
|
+
]),
|
2906
|
+
default: withCtx(() => [
|
2907
|
+
withDirectives(createVNode(_component_uc_btn_add, {
|
2908
|
+
type: "b",
|
2909
|
+
style: { "color": "rgba(0, 0, 0, 0.25)" },
|
2910
|
+
disabled: "",
|
2911
|
+
onClick: ($event) => onAddDep(record),
|
2912
|
+
text: _ctx.$t("organ.add2")
|
2913
|
+
}, null, 8, ["onClick", "text"]), [
|
2914
|
+
[vShow, record.type == 2]
|
2915
|
+
])
|
2916
|
+
]),
|
2917
|
+
_: 2
|
2918
|
+
}, 1024),
|
2919
|
+
createVNode(_component_a_tooltip, { placement: "top" }, {
|
2920
|
+
title: withCtx(() => [
|
2921
|
+
createElementVNode("span", null, toDisplayString(_ctx.$t("organ.nopermission")), 1)
|
2922
|
+
]),
|
2923
|
+
default: withCtx(() => [
|
2924
|
+
withDirectives(createElementVNode("span", null, [
|
2925
|
+
createVNode(_component_a_dropdown, { disabled: "" }, {
|
2926
|
+
overlay: withCtx(() => _cache[2] || (_cache[2] = [])),
|
2927
|
+
default: withCtx(() => [
|
2928
|
+
createElementVNode("a", _hoisted_6$4, [
|
2929
|
+
createTextVNode(toDisplayString(_ctx.$t("common.btn_more")) + " ", 1),
|
2930
|
+
createVNode(unref(DownOutlined))
|
2931
|
+
])
|
2932
|
+
]),
|
2933
|
+
_: 1
|
2934
|
+
})
|
2935
|
+
], 512), [
|
2936
|
+
[vShow, record.type != 3 && record.type != 2]
|
2837
2937
|
])
|
2838
2938
|
]),
|
2839
2939
|
_: 2
|
2840
2940
|
}, 1024)
|
2841
2941
|
], 512), [
|
2842
|
-
[vShow, record.
|
2942
|
+
[vShow, record.operationPermissions]
|
2843
2943
|
])
|
2844
|
-
])) : createCommentVNode("v-if", true)
|
2944
|
+
], 64)) : createCommentVNode("v-if", true)
|
2845
2945
|
]),
|
2846
2946
|
_: 1
|
2847
2947
|
}, 8, ["columns", "data-source", "expandedRowKeys"])
|
@@ -6996,7 +7096,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
6996
7096
|
{
|
6997
7097
|
title: t("user.mainRoleName"),
|
6998
7098
|
dataIndex: "mainRoleName",
|
6999
|
-
width: "
|
7099
|
+
width: "200px",
|
7000
7100
|
key: "mainRoleName",
|
7001
7101
|
filters: roleSelsect.value,
|
7002
7102
|
defaultFilteredValue: [],
|
@@ -7009,7 +7109,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
7009
7109
|
{
|
7010
7110
|
title: t("user.user_status"),
|
7011
7111
|
dataIndex: "userStatus",
|
7012
|
-
width: "
|
7112
|
+
width: "200px",
|
7013
7113
|
key: "userStatus",
|
7014
7114
|
filters: [
|
7015
7115
|
{ text: t("dct.USER_STATUS0"), value: "0" },
|
@@ -12223,8 +12323,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
12223
12323
|
return false;
|
12224
12324
|
}
|
12225
12325
|
formData.fileName = file;
|
12226
|
-
getBase64(file, (
|
12227
|
-
|
12326
|
+
getBase64(file, (url) => {
|
12327
|
+
imageUrl.value = url;
|
12228
12328
|
});
|
12229
12329
|
return false;
|
12230
12330
|
};
|