Showing
1 changed file
with
6 additions
and
4 deletions
... | ... | @@ -2,8 +2,10 @@ |
2 | 2 | <div style="background-color: #f0f2f5"> |
3 | 3 | <BasicTable @register="registerTable"> |
4 | 4 | <template #toolbar> |
5 | - <a-button type="primary" @click="handleExport"> 导出 </a-button> | |
6 | - <Authority value="api:yt:admin:deleteMessageLog"> | |
5 | + <Authority value="api:yt:smsLog:export"> | |
6 | + <a-button type="primary" @click="handleExport"> 导出 </a-button> | |
7 | + </Authority> | |
8 | + <Authority value="api:yt:smsLog:delete"> | |
7 | 9 | <a-button |
8 | 10 | type="primary" |
9 | 11 | color="error" |
... | ... | @@ -19,13 +21,13 @@ |
19 | 21 | :actions="[ |
20 | 22 | { |
21 | 23 | label: '查看', |
22 | - auth: 'api:yt:admin:viewMessageLog', | |
24 | + auth: 'api:yt:smsLog:get', | |
23 | 25 | icon: 'ant-design:fund-view-outlined', |
24 | 26 | onClick: handleQuery.bind(null, record), |
25 | 27 | }, |
26 | 28 | { |
27 | 29 | label: '删除', |
28 | - auth: 'api:yt:admin:deleteMessageLog', | |
30 | + auth: 'api:yt:smsLog:delete', | |
29 | 31 | icon: 'ant-design:delete-outlined', |
30 | 32 | color: 'error', |
31 | 33 | popConfirm: { | ... | ... |