فهرست منبع

fix: add absolute path and loading

allen 7 ماه پیش
والد
کامیت
2d17bce943
2فایلهای تغییر یافته به همراه3 افزوده شده و 8 حذف شده
  1. 1 1
      src/api/modules/task/task.ts
  2. 2 7
      src/views/task/bizProcess/index.vue

+ 1 - 1
src/api/modules/task/task.ts

@@ -7,7 +7,7 @@ import { TaskVO, TaskForm, TaskQuery } from '@/api/interface/task/task'
  * @returns returns
  */
 export const createTaskApi = (data: any) => {
-  return http.post<any>('/identification/identificationTask/create', data, { loading: false })
+  return http.post<any>('/identification/identificationTask/create', data, { loading: true })
 }
 export const createExTaskApi = (data: any) => {
   return http.post<any>('/demo/data/amplify', data, { loading: false })

+ 2 - 7
src/views/task/bizProcess/index.vue

@@ -744,18 +744,13 @@ const columns = reactive<ColumnProps<any>[]>([
     label: '调用算法时所用的参数'
   },
   {
-    prop: 'preprocessPath',
+    prop: 'absolutePreprocessPath',
     label: '预处理数据路径'
   },
   {
-    prop: 'resultPath',
+    prop: 'absoluteResultPath',
     label: '结果数据路径'
   },
-  {
-    prop: 'index',
-    label: '序号',
-    width: 120
-  },
   {
     prop: 'startTime',
     label: '开始时间'