Showing
1 changed file
with
2 additions
and
0 deletions
| @@ -138,6 +138,7 @@ | @@ -138,6 +138,7 @@ | ||
| 138 | }, | 138 | }, |
| 139 | { | 139 | { |
| 140 | label: record?.customerAdditionalInfo?.isPublic ? '私有' : '公开', | 140 | label: record?.customerAdditionalInfo?.isPublic ? '私有' : '公开', |
| 141 | + auth: 'api:yt:device:public', | ||
| 141 | icon: record?.customerAdditionalInfo?.isPublic | 142 | icon: record?.customerAdditionalInfo?.isPublic |
| 142 | ? 'ant-design:lock-outlined' | 143 | ? 'ant-design:lock-outlined' |
| 143 | : 'ant-design:unlock-outlined', | 144 | : 'ant-design:unlock-outlined', |
| @@ -145,6 +146,7 @@ | @@ -145,6 +146,7 @@ | ||
| 145 | }, | 146 | }, |
| 146 | { | 147 | { |
| 147 | label: '上下线记录', | 148 | label: '上下线记录', |
| 149 | + auth: 'api:yt:device:online:record', | ||
| 148 | icon: 'ant-design:rise-outlined', | 150 | icon: 'ant-design:rise-outlined', |
| 149 | onClick: handleUpAndDownRecord.bind(null, record), | 151 | onClick: handleUpAndDownRecord.bind(null, record), |
| 150 | }, | 152 | }, |