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