吉安感知网项目-前端
罗广辉
2026-06-06 2fa2c869c3613bc3d7af6baf13eb7fab2a9aa179
applications/task-work-order/src/views/orderView/orderManage/inspectionRequest/ViewDiaLog.vue
@@ -87,8 +87,8 @@
                     >
                        <el-image
                           v-if="item.attachmentType === 1 || item.attachmentType === 2"
                           :src="item.attachmentType === 1 ? item.resultUrl : getAiImg(item.resultUrl,item.geojson)"
                           :preview-src-list="[item.attachmentType === 1 ? item.resultUrl : getAiImg(item.resultUrl,item.geojson)]"
                           :src="item.attachmentType === 1 ? item.resultUrl : item.aiImg"
                           :preview-src-list="[item.attachmentType === 1 ? item.resultUrl : item.aiImg]"
                           fit="cover"
                           preview-teleported
                        />
@@ -512,8 +512,13 @@
   if (!formData.value?.id) return
   try {
      const res = await gdTaskResultListApi({ patrolTaskId: formData.value.id })
      taskResultList.value = res?.data?.data ?? []
      console.log(taskResultList.value, '8989')
      taskResultList.value = await Promise.all(
         (res?.data?.data ?? []).map(async item => {
            if (item.attachmentType !== 2) return item
            const aiImg = await getAiImg(item.resultUrl,item.geojson)
            return { ...item, aiImg }
         })
      )
   } finally {
   }
}