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