feat:无人机控制面板详情

master
zhoulexin 4 weeks ago
parent bdd4bfd582
commit 8c86a233d9

@ -31,6 +31,12 @@ const routes = [
component: () => import('@/views/detail/index.vue'),
meta: { title: '设备详情', requiresAuth: true }
},
{
path: 'drone-detail',
name: 'DroneDetail',
component: () => import('@/views/detail/drone.vue'),
meta: { title: '无人机详情', requiresAuth: true }
},
{
path: 'dataset',
name: 'Dataset',

File diff suppressed because it is too large Load Diff

@ -31,7 +31,8 @@
</el-dropdown>
</div>
<div class="camera-video" ref="videoContainers">
<WebRtcPlayer :src="`${camera.defaultVideo}/whep`"/>
<!-- <WebRtcPlayer :src="`${camera.defaultVideo}/whep`"/> -->
<WebRtcPlayer src="http://10.23.22.43:8889/camera4_detected/whep"/>
</div>
</div>
<!-- 第二个摄像头用于画人脸框测试 -->

@ -131,8 +131,10 @@ const editData = ref(null)
const isEdit = ref(false)
//
const viewDetail = (item) => {
// groupType=1
const isDrone = item.groupType === 1
router.push({
path: '/detail',
path: isDrone ? '/drone-detail' : '/detail',
query: {
groupId: item.groupId
}

Loading…
Cancel
Save