diff --git a/src/views/demo/workmanagement/device/Airport/DeviceControl/index.vue b/src/views/demo/workmanagement/device/Airport/DeviceControl/index.vue new file mode 100644 index 0000000..3f43890 --- /dev/null +++ b/src/views/demo/workmanagement/device/Airport/DeviceControl/index.vue @@ -0,0 +1,87 @@ + + + + 远程调试 + + + + 机场控制 + + + + + + {{getCoverState(props.deviceInfoList[props.controlSN].cover_state)}} + 舱盖 + + + + {{props.deviceInfoList[props.controlSN].cover_state == 0? '打开': '关闭'}} + + + + 飞行器控制 + + + + + + {{props.deviceInfoList[props.controlSN].sub_device.device_online_status == 0? "关机": "开机"}} + 飞行器电源 + + + + {{props.deviceInfoList[props.controlSN].sub_device.device_online_status == 0? '开机': '关机'}} + + + + + + + + diff --git a/src/views/demo/workmanagement/device/Airport/index.vue b/src/views/demo/workmanagement/device/Airport/index.vue index 8d07b91..cdce661 100644 --- a/src/views/demo/workmanagement/device/Airport/index.vue +++ b/src/views/demo/workmanagement/device/Airport/index.vue @@ -29,6 +29,7 @@ { icon: 'carbon:calendar-tools', onClick: () => { + openDeviceControl(record) }, }, ]" @@ -39,8 +40,8 @@ - - + + @@ -50,12 +51,14 @@