吉安感知网项目-前端
shuishen
2026-01-29 0ef47a49fa6dce546be2d0f23b4949734e6a0cf9
applications/task-work-order/src/views/orderView/orderManage/inspectionRequest/ViewDiaLog.vue
@@ -134,6 +134,7 @@
                           v-model="formData.patrolRouteUrl"
                           placeholder="请选择"
                           clearable
                           @change="getAirDetails"
                        >
                           <el-option v-for="item in routeOptions" :key="item.id" :label="item.name" :value="item.id" />
                        </el-select>
@@ -371,7 +372,7 @@
// 获取飞手列表
async function getFlyerList() {
   const res = await gdFlyerPageApi({ size: 999 })
   const res = await gdFlyerPageApi({ size: 999,current: 1 })
   flyerList.value = res?.data?.data?.records ?? []
}
@@ -428,7 +429,14 @@
   } finally {
   }
}
import { ArrowLineMaterialProperty } from '@/utils/cesium/Material'
let arrowLineMaterialProperty = new ArrowLineMaterialProperty({
   color: new Cesium.Color(128 / 255, 215 / 255, 255 / 255, 1),
   directionColor: new Cesium.Color(1, 1, 1, 1),
   outlineColor: new Cesium.Color(1, 1, 1, 1),
   outlineWidth: 0,
   speed: 5,
})
// 获取航线详情
function getAirDetails() {
   queryAirById(formData.value.patrolRouteUrl).then(res => {
@@ -439,8 +447,8 @@
         polyline: {
            positions: Cesium.Cartesian3.fromDegreesArray(result),
            clampToGround: true,
            width: 3,
            material: Cesium.Color.RED,
            width: 4,
            material: arrowLineMaterialProperty,
         },
      })
      // 渲染起点(蓝色)
@@ -531,7 +539,20 @@
         }
  }
}
.imgBox {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   > div {
      width: calc((100% - 40px) / 5); /* 5列布局,减去4个10px间隙 */
      height: 110px;
      flex-shrink: 0;
   }
   .el-image {
      width: 100%;
      height: 100%;
   }
}
:deep(.el-timeline-item__timestamp) {
  font-size: 12px;
  color: #999;