update: 隐藏坐席分组管理状态栏,应急中心添加管理员、大屏账号、编辑按钮权限

This commit is contained in:
xf
2025-08-06 14:07:24 +08:00
parent d85e40e83d
commit 6ed0a91f5d
2 changed files with 10 additions and 7 deletions
@@ -36,13 +36,13 @@ export const columns: BasicColumn[] = [
title: '所属应急中心',
dataIndex: 'centerName',
},
{
title: '坐席状态',
dataIndex: 'seatStatus',
customRender: ({ text }) => {
return SeatStatus[text] || '';
},
},
// {
// title: '坐席状态',
// dataIndex: 'seatStatus',
// customRender: ({ text }) => {
// return SeatStatus[text] || '';
// },
// },
];
export const searchFormSchema: FormSchema[] = [
{
@@ -172,14 +172,17 @@
{
label: '管理员',
onClick: handleManage.bind(null, record),
auth: 'emergency:center:admin:btn',
},
{
label: '大屏账号',
onClick: bigScreenUser.bind(null, record),
auth: 'emergency:center:large:screen:account:btn',
},
{
label: '编辑',
onClick: handleEdit.bind(null, record),
auth: 'emergency:center:edit:btn',
},
];
}