Commit 4d83c66ddcd57dc6087c54cd66c3291236f0b79e

Authored by fengtao
1 parent cd4f1697

fix:修改租户列表CRUD权限标识

@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 <div> 2 <div>
3 <BasicTable @register="tenantTable"> 3 <BasicTable @register="tenantTable">
4 <template #toolbar> 4 <template #toolbar>
5 - <Authority value="api:yt:admin:saveTenant"> 5 + <Authority value="api:yt:admin:tenant:post">
6 <a-button type="primary" @click="handleCreate"> 新增租户</a-button> 6 <a-button type="primary" @click="handleCreate"> 新增租户</a-button>
7 </Authority> 7 </Authority>
8 </template> 8 </template>
@@ -48,13 +48,13 @@ @@ -48,13 +48,13 @@
48 { 48 {
49 icon: 'clarity:note-edit-line', 49 icon: 'clarity:note-edit-line',
50 label: '编辑', 50 label: '编辑',
51 - auth: 'api:yt:admin:editTenant', 51 + auth: 'api:yt:admin:tenant:update',
52 onClick: handleEdit.bind(null, record), 52 onClick: handleEdit.bind(null, record),
53 }, 53 },
54 { 54 {
55 icon: 'ant-design:delete-outlined', 55 icon: 'ant-design:delete-outlined',
56 label: '删除', 56 label: '删除',
57 - auth: 'api:yt:admin:deleteTenant', 57 + auth: 'api:yt:admin:tenant:delete',
58 color: 'error', 58 color: 'error',
59 popConfirm: { 59 popConfirm: {
60 title: '是否确认删除', 60 title: '是否确认删除',