Showing
2 changed files
with
8 additions
and
8 deletions
... | ... | @@ -96,13 +96,13 @@ |
96 | 96 | :actions="[ |
97 | 97 | { |
98 | 98 | label: '编辑', |
99 | - auth: 'api:yt:streaming:update', | |
99 | + auth: 'api:yt:video:platform:update', | |
100 | 100 | icon: 'clarity:note-edit-line', |
101 | 101 | onClick: handleUpdateStreamingMedia.bind(null, record), |
102 | 102 | }, |
103 | 103 | { |
104 | 104 | label: '删除', |
105 | - auth: 'api:yt:streaming:delete', | |
105 | + auth: 'api:yt:video:platform:delete', | |
106 | 106 | icon: 'ant-design:delete-outlined', |
107 | 107 | color: 'error', |
108 | 108 | popConfirm: { |
... | ... | @@ -114,10 +114,10 @@ |
114 | 114 | /> |
115 | 115 | </template> |
116 | 116 | <template #toolbar> |
117 | - <Authority value="api:yt:streaming:post"> | |
117 | + <Authority value="api:yt:video:platform:post"> | |
118 | 118 | <a-button type="primary" @click="handleCreateStreamingMedia">新增流媒体</a-button> |
119 | 119 | </Authority> |
120 | - <Authority value="api:yt:streaming:delete"> | |
120 | + <Authority value="api:yt:video:platform:delete"> | |
121 | 121 | <Popconfirm |
122 | 122 | title="您确定要批量删除数据" |
123 | 123 | ok-text="确定" | ... | ... |
... | ... | @@ -2,13 +2,13 @@ |
2 | 2 | <div> |
3 | 3 | <BasicTable :clickToRowSelect="false" @register="registerTable" :searchInfo="searchInfo"> |
4 | 4 | <template #toolbar> |
5 | - <Authority value="api:yt:report:post"> | |
5 | + <Authority value="api:yt:report_form:config:post"> | |
6 | 6 | <a-button type="primary" @click="handleCreateOrEdit(null)"> 新增报表 </a-button> |
7 | 7 | </Authority> |
8 | 8 | <Authority value="api:yt:report:get"> |
9 | 9 | <a-button type="primary" @click="go('/report/export')"> 下载报表 </a-button> |
10 | 10 | </Authority> |
11 | - <Authority value="api:yt:report:delete"> | |
11 | + <Authority value="api:yt:report_form:config:delete"> | |
12 | 12 | <Popconfirm |
13 | 13 | title="您确定要批量删除数据" |
14 | 14 | ok-text="确定" |
... | ... | @@ -36,14 +36,14 @@ |
36 | 36 | { |
37 | 37 | label: '编辑', |
38 | 38 | icon: 'clarity:note-edit-line', |
39 | - auth: 'api:yt:report:update', | |
39 | + auth: 'api:yt:report_form:config:update', | |
40 | 40 | onClick: handleCreateOrEdit.bind(null, record), |
41 | 41 | ifShow: record.status === 0, |
42 | 42 | }, |
43 | 43 | { |
44 | 44 | label: '删除', |
45 | 45 | icon: 'ant-design:delete-outlined', |
46 | - auth: 'api:yt:report:delete', | |
46 | + auth: 'api:yt:report_form:config:delete', | |
47 | 47 | color: 'error', |
48 | 48 | ifShow: record.status === 0, |
49 | 49 | popConfirm: { | ... | ... |