Commit 27d9f3d3d3445d117bd2475fd4d0dd6cf3e45927

Authored by fengtao
1 parent 4d83c66d

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

... ... @@ -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: {
... ...