吉安感知网项目-前端
chenyao
2026-02-04 6b9ea251bce3356c4d43d54b6d06caf3ff507584
applications/task-work-order/src/views/orderView/flyingHand/index.vue
@@ -113,7 +113,7 @@
import { getDictionaryByCode } from '@/api/system/dictbiz'
import { getDictLabel } from '@ztzf/utils'
import { getFlyingHandPage, removeFlyingHand } from './flyingHandApi'
import { deviceFlyerApi } from '@/api/zkxt'
import { deviceFlyerApi,deviceFlyerDetailApi } from '@/api/zkxt'
import FlyingHandDialog from './FlyingHandDialog.vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import { prod } from 'mathjs'
@@ -178,8 +178,18 @@
// 查看飞手
function viewFlyingHand(row) {
   dialogType.value = 'view'
   flyingHandData.value = { ...row }
   dialogVisible.value = true
   if (row.flyerId) {
      deviceFlyerDetailApi(row.flyerId).then(res => {
         flyingHandData.value = { ...row }
         flyingHandData.value.licenseFrontFileUrl = res.data.data.licenseFrontFileUrl
         flyingHandData.value.licenseBackFileUrl = res.data.data.licenseBackFileUrl
         flyingHandData.value.certification = [res.data.data.licenseFrontFileUrl, res.data.data.licenseBackFileUrl]
         dialogVisible.value = true
      })
   } else {
      flyingHandData.value = { ...row }
      dialogVisible.value = true
   }
}
// 编辑飞手