This commit is contained in:
@@ -803,12 +803,16 @@
|
||||
|
||||
// 跳转到设备详情页面
|
||||
const goToDeviceSearchDetail = (deviceNo: string) => {
|
||||
router.push({
|
||||
path: '/asset-management/device-detail',
|
||||
query: {
|
||||
device_no: deviceNo
|
||||
}
|
||||
})
|
||||
if (hasAuth('device:view_detail')) {
|
||||
router.push({
|
||||
path: '/asset-management/device-detail',
|
||||
query: {
|
||||
device_no: deviceNo
|
||||
}
|
||||
})
|
||||
} else {
|
||||
ElMessage.warning('您没有查看详情的权限')
|
||||
}
|
||||
}
|
||||
|
||||
// 查看设备绑定的卡片
|
||||
|
||||
Reference in New Issue
Block a user