Commit ca7d3c56cabaed31ed0f8b540da66f962fc73c2d

Authored by ww
1 parent bed96757

feat: 设备列表新增公开和上下线记录控制

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