|
@@ -238,7 +238,7 @@
|
|
|
link
|
|
|
icon="View"
|
|
|
v-if="scope.row.status == '2' && scope.row.type == AlgorithmType2['测试']"
|
|
|
- @click="showEvaluateResultSubTask(scope.row.id)"
|
|
|
+ @click="showEvaluateResultSubTask(scope.row)"
|
|
|
>
|
|
|
结果
|
|
|
</el-button>
|
|
@@ -298,6 +298,7 @@ import {
|
|
|
getLogTrackSequenceApi,
|
|
|
getStatisticsResultTrackSequenceApi,
|
|
|
getTrackSequenceApi,
|
|
|
+ previewEvaluateTrackSequenceApi,
|
|
|
previewPredictResultTrackSequenceModelApi,
|
|
|
startTrackSequenceApi,
|
|
|
stopTrackSequenceApi,
|
|
@@ -405,7 +406,22 @@ const showStatisticResultSubTask = async (row: any) => {
|
|
|
return
|
|
|
}
|
|
|
}
|
|
|
-const showEvaluateResultSubTask = async (row: any) => {}
|
|
|
+const showEvaluateResultSubTask = async (row: any) => {
|
|
|
+ console.log('=============')
|
|
|
+ console.log(row.subsystem)
|
|
|
+ if (row.subsystem === SubSystem__['可见光转红外']) {
|
|
|
+ ElMessage.error('暂不支持该子任务类型')
|
|
|
+ return
|
|
|
+ } else if (row.subsystem === SubSystem__['目标检测']) {
|
|
|
+ ElMessage.error('暂不支持该子任务类型')
|
|
|
+ return
|
|
|
+ } else if (row.subsystem === SubSystem__['注释轨迹序列']) {
|
|
|
+ showStatisticResultRef.value.get_statistics_result(row.id, previewEvaluateTrackSequenceApi, '评估结果')
|
|
|
+ } else {
|
|
|
+ ElMessage.error('暂不支持该子任务类型')
|
|
|
+ return
|
|
|
+ }
|
|
|
+}
|
|
|
const showEvaluateSubTask = async (row: any) => {}
|
|
|
|
|
|
const deletSubTask = async (row: any) => {
|