Showing
1 changed file
with
6 additions
and
6 deletions
| ... | ... | @@ -15,10 +15,10 @@ |
| 15 | 15 | </Tag> |
| 16 | 16 | </template> |
| 17 | 17 | <template #toolbar> |
| 18 | - <Authority value="api:yt:admin:addConfiguration"> | |
| 18 | + <Authority value="api:yt:configuration:center:post"> | |
| 19 | 19 | <a-button type="primary" @click="handleCreateOrEdit(null)"> 新增组态 </a-button> |
| 20 | 20 | </Authority> |
| 21 | - <Authority value="api:yt:admin:deleteConfiguration"> | |
| 21 | + <Authority value="api:yt:configuration:center:delete"> | |
| 22 | 22 | <Popconfirm |
| 23 | 23 | title="您确定要批量删除数据" |
| 24 | 24 | ok-text="确定" |
| ... | ... | @@ -36,25 +36,25 @@ |
| 36 | 36 | :actions="[ |
| 37 | 37 | { |
| 38 | 38 | label: '设计', |
| 39 | - auth: 'api:yt:admin:designConfiguration', | |
| 39 | + auth: 'api:yt:configuration:center:get_configuration_info:get', | |
| 40 | 40 | icon: 'clarity:note-edit-line', |
| 41 | 41 | onClick: handleDesign.bind(null, record), |
| 42 | 42 | }, |
| 43 | 43 | { |
| 44 | 44 | label: '预览', |
| 45 | - auth: 'api:yt:admin:viewConfiguration', | |
| 45 | + auth: 'api:yt:configuration:center:get_configuration_info:get', | |
| 46 | 46 | icon: 'ant-design:eye-outlined', |
| 47 | 47 | onClick: handlePreview.bind(null, record), |
| 48 | 48 | }, |
| 49 | 49 | { |
| 50 | 50 | label: '编辑', |
| 51 | - auth: 'api:yt:admin:editConfiguration', | |
| 51 | + auth: 'api:yt:configuration:center:update', | |
| 52 | 52 | icon: 'clarity:note-edit-line', |
| 53 | 53 | onClick: handleCreateOrEdit.bind(null, record), |
| 54 | 54 | }, |
| 55 | 55 | { |
| 56 | 56 | label: '删除', |
| 57 | - auth: 'api:yt:admin:deleteConfiguration', | |
| 57 | + auth: 'api:yt:configuration:center:delete', | |
| 58 | 58 | icon: 'ant-design:delete-outlined', |
| 59 | 59 | color: 'error', |
| 60 | 60 | popConfirm: { | ... | ... |