| | |
| | | @size-change="handleSizeChange" @current-change="handleCurrentChange" /> |
| | | </div> |
| | | </div> |
| | | <el-dialog class="ztzf-dialog" append-to-body v-model="isShowView" title="查看" |
| | | :width="pxToRem(1000)" :close-on-click-modal="false" :destroy-on-close="true"> |
| | | <el-dialog class="ztzf-dialog" append-to-body v-model="isShowView" title="查看" :width="pxToRem(1000)" :close-on-click-modal="false" :destroy-on-close="true"> |
| | | <el-table border :data="tableDataDetails" height="466"> |
| | | <el-table-column label="序号" type="index" width="60"></el-table-column> |
| | | <el-table-column prop="flight_type" label="飞行类型" align="center" show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="latitude" label="经度" align="center"></el-table-column> |
| | | <el-table-column prop="longitude" label="纬度" align="center"></el-table-column> |
| | | <el-table-column prop="height" label="高度" align="center"></el-table-column> |
| | | <el-table-column prop="elevation" label="海拔高度" align="center"></el-table-column> |
| | | <el-table-column prop="longitude" label="经度" align="center"></el-table-column> |
| | | <el-table-column prop="latitude" label="纬度" align="center"></el-table-column> |
| | | <el-table-column prop="height" label="绝对高度" align="center"></el-table-column> |
| | | <el-table-column prop="elevation" label="实时真高" align="center"></el-table-column> |
| | | </el-table> |
| | | <div class="pagination" style="display: flex;justify-content: end;margin-top: 10px;"> |
| | | <el-pagination class="ztzf-pagination" popper-class="custom-pagination-dropdown" background |
| | |
| | | startTime: '', |
| | | endTime: '', |
| | | isFavorite: tabType.value === '收藏' ? true : false, |
| | | page: '1', |
| | | page_size: '10', |
| | | page: 1, |
| | | page_size: 10, |
| | | jobName: '', |
| | | jobInfoNum: '', |
| | | } |
| | |
| | | // } |
| | | initMap(); |
| | | |
| | | detailParams.value.size = 9999; |
| | | detailParams.value.size = 9999 |
| | | detailParams.value.current = 1 |
| | | detailParams.value.flightId = row.id; |
| | | |
| | | const res = await droneFlightLogInfoPage(detailParams.value); |
| | | tableDataDetails.value = res.data.data.records; |
| | | |
| | |
| | | console.log(validPositions, tableDataDetails.value) |
| | | |
| | | if (validPositions.length > 0) { |
| | | // previewDataSource.entities.add({ |
| | | // polyline: { |
| | | // width: 4, |
| | | // positions: validPositions, |
| | | // material: arrowLineMaterialProperty, |
| | | // clampToGround: false, |
| | | // }, |
| | | // }); |
| | | previewDataSource.entities.add({ |
| | | polyline: { |
| | | width: 4, |
| | | positions: validPositions, |
| | | material: arrowLineMaterialProperty, |
| | | clampToGround: false, |
| | | }, |
| | | }); |
| | | // 起点 |
| | | previewDataSource.entities.add({ |
| | | position: validPositions[0], |
| | | billboard: { |
| | | image: rwqfdImg, |
| | | width: 50, |
| | | height: 50, |
| | | }, |
| | | }) |
| | | // previewDataSource.entities.add({ |
| | | // position: validPositions[0], |
| | | // billboard: { |
| | | // image: rwqfdImg, |
| | | // width: 50, |
| | | // height: 50, |
| | | // }, |
| | | // }) |
| | | // 终点 |
| | | previewDataSource.entities.add({ |
| | | position: validPositions[validPositions.length - 1], |
| | | billboard: { |
| | | image: new Cesium.ConstantProperty(endPointImg), |
| | | width: 30, |
| | | height: 30, |
| | | verticalOrigin: Cesium.VerticalOrigin.BOTTOM, // 底部对齐 |
| | | }, |
| | | }) |
| | | // previewDataSource.entities.add({ |
| | | // position: validPositions[validPositions.length - 1], |
| | | // billboard: { |
| | | // image: new Cesium.ConstantProperty(endPointImg), |
| | | // width: 30, |
| | | // height: 30, |
| | | // verticalOrigin: Cesium.VerticalOrigin.BOTTOM, // 底部对齐 |
| | | // }, |
| | | // }) |
| | | |
| | | |
| | | flyVisual({ |
| | |
| | | Number(i.height) |
| | | ]), |
| | | viewer, |
| | | multiple: 20 |
| | | multiple: 10 |
| | | }); |
| | | } else { |
| | | console.warn('No valid positions data'); |