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