Commit 27d9f3d3d3445d117bd2475fd4d0dd6cf3e45927

Authored by fengtao
1 parent 4d83c66d

fix:修改租户配置CRUD权限标识

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