Showing
1 changed file
with
3 additions
and
3 deletions
| @@ -123,19 +123,19 @@ | @@ -123,19 +123,19 @@ | ||
| 123 | { | 123 | { |
| 124 | label: '详情', | 124 | label: '详情', |
| 125 | icon: 'ant-design:eye-outlined', | 125 | icon: 'ant-design:eye-outlined', |
| 126 | - auth: 'api:yt:admin:viewDeviceList', | 126 | + auth: 'api:yt:device:get', |
| 127 | onClick: handleDetail.bind(null, record), | 127 | onClick: handleDetail.bind(null, record), |
| 128 | }, | 128 | }, |
| 129 | { | 129 | { |
| 130 | label: '编辑', | 130 | label: '编辑', |
| 131 | - auth: 'api:yt:admin:editDeviceList', | 131 | + auth: 'api:yt:device:update', |
| 132 | icon: 'clarity:note-edit-line', | 132 | icon: 'clarity:note-edit-line', |
| 133 | ifShow: authBtn(role) && record.customerId === undefined, | 133 | ifShow: authBtn(role) && record.customerId === undefined, |
| 134 | onClick: handleEdit.bind(null, record), | 134 | onClick: handleEdit.bind(null, record), |
| 135 | }, | 135 | }, |
| 136 | { | 136 | { |
| 137 | label: '删除', | 137 | label: '删除', |
| 138 | - auth: 'api:yt:admin:deleteDeviceList', | 138 | + auth: 'api:yt:device:delete', |
| 139 | icon: 'ant-design:delete-outlined', | 139 | icon: 'ant-design:delete-outlined', |
| 140 | ifShow: authBtn(role) && record.customerId === undefined, | 140 | ifShow: authBtn(role) && record.customerId === undefined, |
| 141 | color: 'error', | 141 | color: 'error', |