update: 隐藏坐席分组管理状态栏,应急中心添加管理员、大屏账号、编辑按钮权限
This commit is contained in:
@@ -36,13 +36,13 @@ export const columns: BasicColumn[] = [
|
|||||||
title: '所属应急中心',
|
title: '所属应急中心',
|
||||||
dataIndex: 'centerName',
|
dataIndex: 'centerName',
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
title: '坐席状态',
|
// title: '坐席状态',
|
||||||
dataIndex: 'seatStatus',
|
// dataIndex: 'seatStatus',
|
||||||
customRender: ({ text }) => {
|
// customRender: ({ text }) => {
|
||||||
return SeatStatus[text] || '';
|
// return SeatStatus[text] || '';
|
||||||
},
|
// },
|
||||||
},
|
// },
|
||||||
];
|
];
|
||||||
export const searchFormSchema: FormSchema[] = [
|
export const searchFormSchema: FormSchema[] = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -172,14 +172,17 @@
|
|||||||
{
|
{
|
||||||
label: '管理员',
|
label: '管理员',
|
||||||
onClick: handleManage.bind(null, record),
|
onClick: handleManage.bind(null, record),
|
||||||
|
auth: 'emergency:center:admin:btn',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '大屏账号',
|
label: '大屏账号',
|
||||||
onClick: bigScreenUser.bind(null, record),
|
onClick: bigScreenUser.bind(null, record),
|
||||||
|
auth: 'emergency:center:large:screen:account:btn',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '编辑',
|
label: '编辑',
|
||||||
onClick: handleEdit.bind(null, record),
|
onClick: handleEdit.bind(null, record),
|
||||||
|
auth: 'emergency:center:edit:btn',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user