Showing
1 changed file
with
4 additions
and
4 deletions
@@ -8,10 +8,10 @@ | @@ -8,10 +8,10 @@ | ||
8 | /> | 8 | /> |
9 | <BasicTable @register="registerTable" :searchInfo="searchInfo" class="w-3/4 xl:w-4/5"> | 9 | <BasicTable @register="registerTable" :searchInfo="searchInfo" class="w-3/4 xl:w-4/5"> |
10 | <template #toolbar> | 10 | <template #toolbar> |
11 | - <Authority value="api:yt:admin:addAlarmContact"> | 11 | + <Authority value="api:yt:alarmContact:post"> |
12 | <a-button type="primary" @click="handleCreateOrEdit(null)"> 新增告警联系人 </a-button> | 12 | <a-button type="primary" @click="handleCreateOrEdit(null)"> 新增告警联系人 </a-button> |
13 | </Authority> | 13 | </Authority> |
14 | - <Authority value="api:yt:admin:deleteAlarmContact"> | 14 | + <Authority value="api:yt:alarmContact:delete"> |
15 | <a-button | 15 | <a-button |
16 | type="primary" | 16 | type="primary" |
17 | color="error" | 17 | color="error" |
@@ -27,13 +27,13 @@ | @@ -27,13 +27,13 @@ | ||
27 | :actions="[ | 27 | :actions="[ |
28 | { | 28 | { |
29 | label: '编辑', | 29 | label: '编辑', |
30 | - auth: 'api:yt:admin:editAlarmContact', | 30 | + auth: 'api:yt:alarmContact:update', |
31 | icon: 'clarity:note-edit-line', | 31 | icon: 'clarity:note-edit-line', |
32 | onClick: handleCreateOrEdit.bind(null, record), | 32 | onClick: handleCreateOrEdit.bind(null, record), |
33 | }, | 33 | }, |
34 | { | 34 | { |
35 | label: '删除', | 35 | label: '删除', |
36 | - auth: 'api:yt:admin:deleteAlarmContact', | 36 | + auth: 'api:yt:alarmContact:delete', |
37 | icon: 'ant-design:delete-outlined', | 37 | icon: 'ant-design:delete-outlined', |
38 | color: 'error', | 38 | color: 'error', |
39 | popConfirm: { | 39 | popConfirm: { |