| 
					
				 | 
			
			
				@@ -1,3 +1,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<!--  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  @Date: 2024-10-29 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  @Author: ©WANGKANG 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  @Email: 1686617586@qq.com 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <div class="table-box"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <ProTable ref="proTable" :columns="columns" row-key="id" :request-api="listTrackSequenceApi"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -58,6 +64,15 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           下载 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          type="primary" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          link 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          icon="View" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          v-if="scope.row.status == '2' && scope.row.type === AlgorithmType2['预测/推理']" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          @click="showEvaluate(scope.row)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          评估 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <!-- <el-button type="primary" link icon="View" v-auth="['demo:toInfrared:query']" @click="openDialog(3, '查看', scope.row)"> 查看 </el-button> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <!-- <el-button type="primary" link icon="EditPen"v-auth="['demo:toInfrared:edit']" @click="openDialog(2, '编辑', scope.row)"> 编辑 </el-button> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-button 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -100,7 +115,8 @@ import { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   stopTrackSequenceApi, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   dowloadTrackSequenceApi, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   getLogTrackSequenceApi, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  getLDetailTrackSequenceApi 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  getLDetailTrackSequenceApi, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  addEvaluateTrackSequenceApi 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } from '@/api/modules/demo/trackSequence' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { enumAlgorithmModelTrackApi } from '@/api/modules/demo/AlgorithmModelTrack' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { getAlgorithmModelTrackApi } from '@/api/modules/demo/AlgorithmModelTrack' 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -111,6 +127,59 @@ import statusEnums from '@/utils/status' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { AlgorithmType, SubSystem, SubSystem__, enumsAlgorithmType, enumsSubSystem, AlgorithmType2 } from '@/views/demo/utils' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import ViewLog from '@/views/demo/components/ViewLog.vue' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+const showEvaluate = (row: any) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  const newItem = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    id: row.id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  const enumsAlgorithmConfigTrack__: Array<any> = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  for (const item of enumsAlgorithmConfigTrack.value) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    if (item.subsystem === SubSystem__['注释轨迹序列'] && item.type === AlgorithmType2['测试']) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      enumsAlgorithmConfigTrack__.push(item) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  itemsOptions = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      label: '任务名称', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      prop: 'name', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      rules: [{ required: true, message: '任务名称不能为空', trigger: 'blur' }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      compOptions: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        placeholder: '请输入任务名称' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      label: '选择算法', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      prop: 'algorithmId', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      rules: [{ required: true, message: '请选择算法', trigger: 'blur' }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      compOptions: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        disabled: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        elTagName: 'select', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        placeholder: '请输入算法', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        enum: enumsAlgorithmConfigTrack__ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      label: '备注', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      prop: 'remarks', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      rules: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      compOptions: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        placeholder: '请输入备注' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  ] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  const params = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    title: '新增评估', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    width: 580, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    isEdit: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    itemsOptions: itemsOptions, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    model: newItem, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    api: addEvaluateTrackSequenceApi, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    getTableList: proTable.value?.getTableList 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  formDialogRef.value?.openDialog(params) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const viewLogRef = ref() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const enumsAlgorithmConfigTrack = ref<any>([]) 
			 |