+
+
+
+
+
+
+
+
+
diff --git a/apps/src/views/team/manager-list.vue b/apps/src/views/team/manager-list.vue
index d64bec9..594d88a 100644
--- a/apps/src/views/team/manager-list.vue
+++ b/apps/src/views/team/manager-list.vue
@@ -23,6 +23,7 @@ import {
Pagination,
Space,
Table,
+ Tag,
message,
} from 'antdv-next';
@@ -55,12 +56,20 @@ const columns = [
{ dataIndex: 'userProfile', key: 'userProfile', title: '经理', width: 240 },
{ dataIndex: 'regionName', key: 'regionName', title: '区域', width: 140 },
{ dataIndex: 'contact', key: 'contact', title: '联系方式', width: 180 },
+ { dataIndex: 'features', key: 'features', title: '功能开关', width: 280 },
{ dataIndex: 'createUserName', key: 'createUserName', title: '创建人', width: 140 },
{ dataIndex: 'updateUserName', key: 'updateUserName', title: '修改人', width: 140 },
{ dataIndex: 'createTime', key: 'createTime', title: '创建时间', width: 180 },
{ dataIndex: 'actions', key: 'actions', title: '操作', width: 120 },
];
+const managerFeatureSwitches = [
+ { key: 'canAddBdLeader', label: '加BD Leader' },
+ { key: 'canGiftProps', label: '赠送道具' },
+ { key: 'canBanUser', label: '封禁用户' },
+ { key: 'canUnbanUser', label: '解封用户' },
+];
+
function hasPermission(code: string) {
const codes = accessStore.accessCodes || [];
return codes.length === 0 || codes.includes(code);
@@ -75,6 +84,10 @@ function getUserShortId(profile?: Record