feat:等保
feat:等保-对/role/auth 接口可以支持权限配置全部和4个菜单,按钮,字段,表单 开分。 feat:用户权限-支持手动登出角色.
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
<PageWrapper dense fixedHeight contentFullHeight>
|
||||
<BasicTable @register="registerTable">
|
||||
<template #toolbar>
|
||||
<a-button type="primary" v-auth="'index:add'" @click="handleCreate">
|
||||
<a-button type="primary" v-auth="'dataAuth:add'" @click="handleCreate">
|
||||
{{ t('新增') }}
|
||||
</a-button>
|
||||
</template>
|
||||
@ -20,12 +20,12 @@
|
||||
:actions="[
|
||||
{
|
||||
icon: 'clarity:note-edit-line',
|
||||
auth: 'index:edit',
|
||||
auth: 'dataAuth:edit',
|
||||
onClick: handleEdit.bind(null, record),
|
||||
},
|
||||
{
|
||||
icon: 'ant-design:delete-outlined',
|
||||
auth: 'index:delete',
|
||||
auth: 'dataAuth:delete',
|
||||
color: 'error',
|
||||
popConfirm: {
|
||||
title: t('是否确认删除'),
|
||||
|
||||
Reference in New Issue
Block a user