Browse Source

fix: bug fix

28968 4 months ago
parent
commit
edd15c816b
2 changed files with 2 additions and 9 deletions
  1. 1 0
      src/views/demo/dataAugmentation/index.vue
  2. 1 9
      src/views/demo/imageMosaic/index.vue

+ 1 - 0
src/views/demo/dataAugmentation/index.vue

@@ -328,6 +328,7 @@ const batchDelete = async (ids: string[]) => {
 
 // 导出视频去抖动列表
 const downloadFile = async task => {
+  //console.log(task.outputPath)
   ElMessageBox.confirm('确认导出任务数据?', '温馨提示', { type: 'warning' }).then(() =>
     useDownload(exportDataAugmentationApi, 'export', task.outputPath)
   )

+ 1 - 9
src/views/demo/imageMosaic/index.vue

@@ -27,15 +27,7 @@
         </el-popconfirm>
         <el-button type="primary" link icon="View" @click="compareDataAugmentation(scope.row)" v-if="scope.row.status == '2'"> 预览 </el-button>
         <el-button type="primary" link icon="View" @click="downloadFile(scope.row)" v-if="scope.row.status == '2'"> 导出 </el-button>
-        <el-button
-          type="primary"
-          link
-          icon="View"
-          @click="openMetricDialog(scope.row.id)"
-          v-if="(scope.row.taskType == '图像增强' || scope.row.taskType == '图像逆光') && scope.row.status == '2'"
-        >
-          指标
-        </el-button>
+        <el-button type="primary" link icon="View" @click="openMetricDialog(scope.row.id)" v-if="scope.row.status == '2'"> 指标 </el-button>
         <el-button type="primary" link icon="View" v-auth="['demo:DataAugmentation:query']" @click="openDialog(3, '任务查看', scope.row)">
           查看
         </el-button>