| | |
| | | <div class="droneName" :title="taskDetails.name">{{ taskDetails.name }}</div> |
| | | <div class="infoListBox"> |
| | | <div v-for="item in infoList"> |
| | | <div class="infoValue">{{ item.value }}{{ item.unit }}</div> |
| | | <div class="infoValue" :title="item.value">{{ item.value }}{{ item.unit }}</div> |
| | | <div class="infoTitle">{{ item.title }}</div> |
| | | </div> |
| | | </div> |
| | |
| | | } |
| | | |
| | | function refreshLive(){ |
| | | EventBus.emit('CurrentTaskDetails-getAiLiveUrl') |
| | | EventBus.emit('CurrentTaskDetails-getDroneLiveUrl') |
| | | } |
| | | |
| | | function getFlightStatisticsFun() { |
| | |
| | | infoList.value[4].value = _.round(longitude || 0, 2) |
| | | infoList.value[5].value = _.round(latitude || 0, 2) |
| | | infoList.value[6].value = _.round(wind_speed || 0, 0) |
| | | if (newFourG !== undefined) infoList.value[7].value = newFourG |
| | | if (newSdr !== undefined) infoList.value[8].value = newSdr |
| | | if (newFourG !== undefined) infoList.value[7].value = fourGQuality[newFourG] |
| | | if (newSdr !== undefined) infoList.value[8].value = SDRQuality[newSdr] |
| | | if (newGPSNum !== undefined) infoList.value[9].value = newGPSNum |
| | | if (newRTKNum !== undefined) infoList.value[10].value = newRTKNum |
| | | infoList.value[11].value = dist |
| | |
| | | width: 90px; |
| | | |
| | | .infoValue { |
| | | white-space: nowrap; |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | | font-size: 20px; |
| | | color: #ffffff; |
| | | line-height: 15px; |
| | | line-height: 18px; |
| | | margin-bottom: 10px; |
| | | |
| | | } |
| | | |
| | | .infoTitle { |