|
@@ -67,6 +67,16 @@
|
|
|
>
|
|
|
预览
|
|
|
</el-button>
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ link
|
|
|
+ icon="View"
|
|
|
+ v-auth="['demo:DataSeq:query']"
|
|
|
+ v-if="scope.row.status == '2' && scope.row.type == AlgorithmType2['预测/推理']"
|
|
|
+ @click="showStatisticResultRef.get_statistics_result(scope.row.id)"
|
|
|
+ >
|
|
|
+ 结果
|
|
|
+ </el-button>
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
link
|
|
@@ -124,6 +134,7 @@
|
|
|
<ImportExcel ref="dialogRef" />
|
|
|
<ViewLog ref="viewLogRef" :get-log-api="getLogTrackSequenceApi" />
|
|
|
<PreviewCompareImages ref="previewImagesRef" />
|
|
|
+ <ShowStatisticResult ref="showStatisticResultRef" :api="getStatisticsResultToInfraredApi" />
|
|
|
<el-dialog v-model="showModelDialogVisible" title="模型列表" width="1000">
|
|
|
<el-scrollbar ref="scrollbarRef" id="scrollbarRef1" height="500px">
|
|
|
<template v-for="model in model_list" :key="model">
|
|
@@ -198,7 +209,8 @@ import {
|
|
|
addEvaluateTrackSequenceApi,
|
|
|
showCATModelApi,
|
|
|
previewPredictResultTrackSequenceModelApi,
|
|
|
- previewEvaluateTrackSequenceApi
|
|
|
+ previewEvaluateTrackSequenceApi,
|
|
|
+ getStatisticsResultToInfraredApi
|
|
|
} from '@/api/modules/demo/trackSequence'
|
|
|
import { enumAlgorithmModelTrackApi } from '@/api/modules/demo/AlgorithmModelTrack'
|
|
|
import { getAlgorithmModelTrackApi } from '@/api/modules/demo/AlgorithmModelTrack'
|
|
@@ -213,6 +225,10 @@ import useWebSocketStore from '@/stores/modules/websocket'
|
|
|
import { resetHeart } from '@/utils/websocket'
|
|
|
import PreviewCompareImages from '@/views/demo/components/PreviewCompareImages.vue'
|
|
|
|
|
|
+import ShowStatisticResult from '@/views/demo/components/ShowStatisticResult.vue'
|
|
|
+
|
|
|
+const showStatisticResultRef = ref()
|
|
|
+
|
|
|
const dialogEvaluateVisable = ref(false)
|
|
|
const evaluateData = ref({})
|
|
|
const previewEvaluate = async (row: any) => {
|