无人机管理后台前端(已迁走)
张含笑
2025-12-09 505d0e86f60daf6df6c73bff42b3d4a1e55508c8
feat:历史任务详情修改参数
1 files modified
32 ■■■■ changed files
src/views/job/components/DeviceJobDetails.vue 32 ●●●● patch | view | raw | blame | history
src/views/job/components/DeviceJobDetails.vue
@@ -229,22 +229,24 @@
      if (item.name === '自定义识别区') {
        item.value = res.data.data.enable_custom_area ? '是' : '否'
      }
      getJobsAllFiles({
        wayLineJobId: detailsData.value.way_lines.map(item => item.job_id).join(','),
        resultTypes: [0, 1, 2, 4, 5],
        orderByCreateTime: true,
      }).then(result => {
        if (result.data.code !== 200) return
        achievementList.value = res.data.data.records.map(i => ({
          ...i,
          checked: false,
          smallUrl: i.resultType === 4 ? getzsSmallImg(i.link) : getSmallImg(i.link),
          showUrl: i.resultType === 4 ? getzsShowImg(i.link) : getShowImg(i.link),
        }))
        total.value = res.data.data.total
        yuanImages.value = res.data.data.records.filter(item => item.resultType !== 1)
      })
    })
    getJobsAllFiles({
      wayLineJobId: detailsData.value.way_lines.map(item => item.job_id).join(','),
      resultTypes: [0, 1, 2, 4, 5],
      orderByCreateTime: true,
    }).then(res => {
      if (res.data.code !== 200) return
      achievementList.value = res.data.data.records.map(i => ({
        ...i,
        checked: false,
        smallUrl: i.resultType === 4 ? getzsSmallImg(i.link) : getSmallImg(i.link),
        showUrl: i.resultType === 4 ? getzsShowImg(i.link) : getShowImg(i.link),
      }))
      total.value = res.data.data.total
      yuanImages.value = res.data.data.records.filter(item => item.resultType !== 1)
    })
    // flystatus.value = res.data.data.ai_type_str
  })