Showing
2 changed files
with
4 additions
and
4 deletions
... | ... | @@ -5,7 +5,7 @@ |
5 | 5 | <Authority value="api:yt:notice:send:post"> |
6 | 6 | <a-button type="primary" @click="handleAdd">新增通知</a-button> |
7 | 7 | </Authority> |
8 | - <Authority value="api:yt:notice:delete"> | |
8 | + <Authority value="api:yt:notice:delete:delete"> | |
9 | 9 | <Popconfirm |
10 | 10 | title="您确定要批量删除数据" |
11 | 11 | ok-text="确定" |
... | ... | @@ -41,7 +41,7 @@ |
41 | 41 | }, |
42 | 42 | { |
43 | 43 | label: '删除', |
44 | - auth: 'api:yt:notice:delete', | |
44 | + auth: 'api:yt:notice:delete:delete', | |
45 | 45 | icon: 'ant-design:delete-outlined', |
46 | 46 | color: 'error', |
47 | 47 | ifShow: record.creator === userId, | ... | ... |
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 | <div> |
3 | 3 | <BasicTable :clickToRowSelect="false" @register="registerTable" :searchInfo="searchInfo"> |
4 | 4 | <template #toolbar> |
5 | - <Authority value="api:yt:reportExport:delete"> | |
5 | + <Authority value="api:yt:report:generate:record:delete"> | |
6 | 6 | <Popconfirm |
7 | 7 | title="您确定要批量删除数据" |
8 | 8 | ok-text="确定" |
... | ... | @@ -35,7 +35,7 @@ |
35 | 35 | { |
36 | 36 | label: '删除', |
37 | 37 | icon: 'ant-design:delete-outlined', |
38 | - auth: 'api:yt:reportExport:delete', | |
38 | + auth: 'api:yt:report:generate:record:delete', | |
39 | 39 | color: 'error', |
40 | 40 | popConfirm: { |
41 | 41 | title: '是否确认删除', | ... | ... |