吉安感知网项目-前端
罗广辉
2026-05-22 daeb81442579b4b7bf99d4f2d0af9fba2d3491e7
applications/task-work-order/src/views/orderView/orderManage/inspectionRequest/FormDiaLog.vue
@@ -166,7 +166,7 @@
                           placeholder="请选择"
                           filterable
                           :disabled="dialogReadonly || !taskList[$index].patrolTaskType"
                           @change="handleFlyerChange($index, $event)"
                        >
                           <el-option
                              v-for="item in flyerListMap[$index] || []"
@@ -258,7 +258,6 @@
   executeTime: '',
   patrolRouteUrl: '',
   deviceFlyerId: '',
   recommendFlyerName: '',
   deviceId: null,
   taskDesc: '',
})
@@ -372,15 +371,11 @@
async function handlePatrolTaskTypeChange(index, skilledTaskType) {
   // 清空该行已选择的飞手
   taskList.value[index].deviceFlyerId = ''
   taskList.value[index].recommendFlyerName = ''
   // 获取对应的飞手列表
   await getFlyerList(index, skilledTaskType)
}
function handleFlyerChange(index, flyerId) {
   const selectedFlyer = (flyerListMap.value[index] || []).find(item => item.flyerId === flyerId)
   taskList.value[index].recommendFlyerName = selectedFlyer?.flyerName || ''
}
import * as turf from '@turf/turf'