huangxz
2026-05-26 5ddd9d3e8a92ccba748e5239ad35b984dd984608
fix: 修正获取车辆进度列表时的参数及刷新批次数据的调用方式
1个文件已修改
7 ■■■■■ 已修改文件
src/views/testDemo/testPlanList/add.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/testDemo/testPlanList/add.vue
@@ -947,15 +947,16 @@
}
async function getVehicleProgressList() {
  if (!planId.value) return
  const res = await fetchVehicleProgress(planId.value)
  if (!batchProgress.value || !batchProgress.value.batchId) return
  const res = await fetchVehicleProgress(batchProgress.value.batchId)
  if (res.code === 200) {
    vehicleProgressList.value = res.data || []
  }
}
async function refreshBatchData() {
  await Promise.all([getBatchProgress(), getVehicleProgressList()])
  await getBatchProgress()
  await getVehicleProgressList()
}
function startBatchPolling() {