Showing
1 changed file
with
4 additions
and
4 deletions
| ... | ... | @@ -7,10 +7,10 @@ |
| 7 | 7 | :clickToRowSelect="false" |
| 8 | 8 | > |
| 9 | 9 | <template #toolbar> |
| 10 | - <Authority value="api:yt:admin:addTenantConfig"> | |
| 10 | + <Authority value="api:yt:tenantProfile:post"> | |
| 11 | 11 | <a-button type="primary" @click="handleAdd"> 新增租户配置 </a-button> |
| 12 | 12 | </Authority> |
| 13 | - <Authority value="api:yt:admin:deleteTenantConfig"> | |
| 13 | + <Authority value="api:yt:tenantProfile:delete"> | |
| 14 | 14 | <a-button color="error" :disabled="disabled" @click="handleMutilteDelete"> |
| 15 | 15 | 批量删除 |
| 16 | 16 | </a-button> |
| ... | ... | @@ -27,13 +27,13 @@ |
| 27 | 27 | }, |
| 28 | 28 | { |
| 29 | 29 | label: '编辑', |
| 30 | - auth: 'api:yt:admin:editTenantConfig', | |
| 30 | + auth: 'api:yt:tenantProfile:update', | |
| 31 | 31 | icon: 'clarity:note-edit-line', |
| 32 | 32 | onClick: handleEdit.bind(null, record), |
| 33 | 33 | }, |
| 34 | 34 | { |
| 35 | 35 | label: '删除', |
| 36 | - auth: 'api:yt:admin:deleteTenantConfig', | |
| 36 | + auth: 'api:yt:tenantProfile:delete', | |
| 37 | 37 | icon: 'ant-design:delete-outlined', |
| 38 | 38 | color: 'error', |
| 39 | 39 | popConfirm: { | ... | ... |