| | |
| | | </el-row> |
| | | </el-form> |
| | | |
| | | <div class="detail-title" :style="{ marginTop: pxToRem(10) }">任务航线</div> |
| | | <!-- 地图组件 --> |
| | | <CommonCesiumMap |
| | | ref="mapRef" |
| | |
| | | // 渲染起点(蓝色) |
| | | const startPoint = list[0] |
| | | viewer.entities.add({ |
| | | position: Cesium.Cartesian3.fromDegrees(Number(startPoint.longitude), Number(startPoint.latitude), startPoint.height || 0), |
| | | position: Cesium.Cartesian3.fromDegrees( |
| | | Number(startPoint.longitude), |
| | | Number(startPoint.latitude), |
| | | startPoint.height || 0 |
| | | ), |
| | | point: { |
| | | pixelSize: 12, |
| | | color: Cesium.Color.BLUE, |
| | |
| | | // 渲染终点(红色) |
| | | const endPoint = list[list.length - 1] |
| | | viewer.entities.add({ |
| | | position: Cesium.Cartesian3.fromDegrees(Number(endPoint.longitude), Number(endPoint.latitude), endPoint.height || 0), |
| | | position: Cesium.Cartesian3.fromDegrees( |
| | | Number(endPoint.longitude), |
| | | Number(endPoint.latitude), |
| | | endPoint.height || 0 |
| | | ), |
| | | point: { |
| | | pixelSize: 12, |
| | | color: Cesium.Color.RED, |
| | |
| | | .content { |
| | | display: flex; |
| | | gap: 0 20px; |
| | | height: 900px; |
| | | |
| | | .leftBox { |
| | | width: 920px; |
| | | flex: 1; |
| | | overflow: auto; |
| | | display: flex; |
| | | flex-direction: column; |
| | | .gd-cesium { |
| | | padding-top: 10px; |
| | | width: 100%; |
| | | height: 423px; |
| | | min-height: 400px; |
| | | flex: 1; |
| | | } |
| | | } |
| | | .processBox { |
| | | margin-right: 20px; |
| | | width: 312px; |
| | | padding: 24px 0; |
| | | border: 1px solid #e4e4e4; |
| | | overflow: auto; |
| | | |
| | | .item-content { |
| | | position: relative; |
| | | .flowName { |
| | |
| | | <div class="detail-title" :style="{ marginTop: pxToRem(20) }">工单执行范围</div> |
| | | <CommonCesiumMap |
| | | ref="mapRef" |
| | | class="leftMap gd-cesium" |
| | | class="gd-cesium" |
| | | :active="visible" |
| | | :flat-mode="false" |
| | | :terrain="true" |
| | |
| | | position: position, |
| | | billboard: { |
| | | image: droneIcon, |
| | | width: 20, |
| | | height: 20, |
| | | width: 30, |
| | | height: 30, |
| | | verticalOrigin: Cesium.VerticalOrigin.CENTER, |
| | | }, |
| | | label: { |
| | |
| | | .content { |
| | | display: flex; |
| | | gap: 0 20px; |
| | | height: 900px; |
| | | |
| | | .leftBox { |
| | | width: 0; |
| | | flex: 1; |
| | | display: flex; |
| | | overflow: auto; |
| | | flex-direction: column; |
| | | |
| | | .gd-cesium { |
| | | width: 100%; |
| | | height: 423px; |
| | | min-height: 400px; |
| | | flex: 1; |
| | | } |
| | | } |
| | | |
| | |
| | | margin-right: 20px; |
| | | padding: 24px 0; |
| | | width: 312px; |
| | | border: 1px solid #E4E4E4; |
| | | border: 1px solid #e4e4e4; |
| | | overflow: auto; |
| | | |
| | | .item-content { |
| | | position: relative; |