Browse Source

Merge branch 'dev_lsk_sjkz' of www/taais-web into develop

Sk18834839360 3 months ago
parent
commit
c435e9e8ae
2 changed files with 12 additions and 4 deletions
  1. 4 4
      src/views/task/amplify/index.vue
  2. 8 0
      src/views/task/bizProcess/index.vue

+ 4 - 4
src/views/task/amplify/index.vue

@@ -715,7 +715,7 @@ const columns = reactive<ColumnProps<any>[]>([
   },
   {
     prop: 'inputImagePath',
-    label: '预处理数据路径'
+    label: '剩余任务数'
   },
   {
     prop: 'outputImagePath',
@@ -736,7 +736,7 @@ const columns = reactive<ColumnProps<any>[]>([
   },
   {
     prop: 'costSecond',
-    label: '耗时(ms)'
+    label: '耗时'
   },
   {
     prop: 'log',
@@ -806,10 +806,10 @@ const setItemsOptions = () => {
       }
     },
     {
-      label: '预处理数据路径',
+      label: '剩余任务数',
       prop: 'inputImagePath',
       compOptions: {
-        placeholder: '请输入预处理数据路径'
+        placeholder: '剩余任务数'
       }
     },
     {

+ 8 - 0
src/views/task/bizProcess/index.vue

@@ -60,6 +60,7 @@
           查看日志
         </el-button>
 
+        <el-button type="primary" link icon="Refresh" @click="openDir(scope.row)"> 打开文件夹 </el-button>
         <el-button type="primary" link icon="Refresh" @click="exportData(scope.row)"> 导出结果 </el-button>
       </template>
     </ProTable>
@@ -323,6 +324,13 @@ const exportData = row => {
   })
 }
 
+const openDir = row => {
+  console.log(row)
+  http.get<any>('/identification/identificationSubtaskDetails/openDir', { directory: row.preprocessPath }, { loading: true }).then(res => {
+    console.log(res)
+  })
+}
+
 let imgDataList = ref(reactive([]))
 let titleMsg = ref('')
 let valDialogVisible = ref(false)