| | |
| | | <div v-else class="width-100" style="height: 90%; background: rgba(0, 0, 0, 0.35)">N/A</div> |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- // 机场是否启动 --> |
| | | <div class="mt5 flex-align-center flex-row flex-justify-between" style="background: #595959;"> |
| | | <div class="flex-row"> |
| | |
| | | <RocketOutlined/> |
| | | </span> |
| | | <div class="font-bold text-hidden" style="max-width: 80px" |
| | | :style="deviceInfo[dock.sn] && deviceInfo[dock.sn].mode_code !== EModeCode.Disconnected ? 'color: #00ee8b' : 'color: red;'"> |
| | | :style="deviceInfo[dock.sn] && deviceInfo[dock.sn].mode_code !== EModeCode.Disconnected || dockInfo[dock.gateway.sn].basic_osd?.drone_in_dock === 1 ? 'color: #00ee8b' : 'color: red;'"> |
| | | {{ |
| | | deviceInfo[dock.sn] ? EModeText[deviceInfo[dock.sn].mode_code] : |
| | | EModeText[EModeCode.Disconnected] |
| | | dockInfo[dock.gateway.sn].basic_osd?.drone_in_dock === 1 ? '舱内关机' : EModeText[EModeCode.Disconnected] |
| | | }} |
| | | </div> |
| | | </div> |
| | |
| | | model: gateway?.device_name, |
| | | callsign: gateway?.nickname, |
| | | sn: gateway?.device_sn, |
| | | domain: gateway?.domain |
| | | domain: gateway?.domain, |
| | | device_domain: child.domain, |
| | | device_type: child.type, |
| | | device_sub_type: child.sub_type |
| | | }, |
| | | payload: [] |
| | | } |
| | |
| | | osdVisible.value.is_dock = isDock |
| | | osdVisible.value.gateway_callsign = device.gateway.callsign |
| | | osdVisible.value.payloads = device.payload |
| | | osdVisible.value.device_domain = device.gateway.device_domain |
| | | osdVisible.value.device_sub_type = device.gateway.device_sub_type |
| | | osdVisible.value.device_type = device.gateway.device_type |
| | | } |
| | | console.log(osdVisible.value, 'value') |
| | | store.commit('SET_OSD_VISIBLE_INFO', osdVisible.value) |
| | | store.commit('SET_HMSInfo_DetailSn', sn) |
| | | } |