|
@@ -54,6 +54,16 @@
|
|
>
|
|
>
|
|
预览
|
|
预览
|
|
</el-button>
|
|
</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
|
|
<el-button
|
|
type="primary"
|
|
type="primary"
|
|
link
|
|
link
|
|
@@ -102,6 +112,7 @@
|
|
<ImportExcel ref="dialogRef" />
|
|
<ImportExcel ref="dialogRef" />
|
|
<PreviewCompareImages ref="previewImagesRef" />
|
|
<PreviewCompareImages ref="previewImagesRef" />
|
|
<ViewLog ref="viewLogRef" :get-log-api="getLogToInfraredApi" />
|
|
<ViewLog ref="viewLogRef" :get-log-api="getLogToInfraredApi" />
|
|
|
|
+ <ShowStatisticResult ref="showStatisticResultRef" :api="getStatisticsResultToInfraredApi" />
|
|
<el-dialog v-model="showModelDialogVisible" title="模型列表" width="900">
|
|
<el-dialog v-model="showModelDialogVisible" title="模型列表" width="900">
|
|
<el-scrollbar ref="scrollbarRef" id="scrollbarRef1" height="500px">
|
|
<el-scrollbar ref="scrollbarRef" id="scrollbarRef1" height="500px">
|
|
<template v-for="model in model_list" :key="model">
|
|
<template v-for="model in model_list" :key="model">
|
|
@@ -121,7 +132,7 @@
|
|
>下载
|
|
>下载
|
|
</el-link>
|
|
</el-link>
|
|
<el-button type="success" link @click="addToInfraredModel(model.path)"
|
|
<el-button type="success" link @click="addToInfraredModel(model.path)"
|
|
- ><el-icon><Plus /></el-icon>添加模型</el-button
|
|
|
|
|
|
+ ><el-icon> <Plus /> </el-icon>添加模型</el-button
|
|
>
|
|
>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
@@ -155,7 +166,8 @@ import {
|
|
getToInfraredApi,
|
|
getToInfraredApi,
|
|
getLogToInfraredApi,
|
|
getLogToInfraredApi,
|
|
showToInfraredModelApi,
|
|
showToInfraredModelApi,
|
|
- previewPredictResultToInfraredModelApi
|
|
|
|
|
|
+ previewPredictResultToInfraredModelApi,
|
|
|
|
+ getStatisticsResultToInfraredApi
|
|
} from '@/api/modules/demo/toInfrared'
|
|
} from '@/api/modules/demo/toInfrared'
|
|
|
|
|
|
import { getImagesApi, listDataSeqApi } from '@/api/modules/demo/DataSeq'
|
|
import { getImagesApi, listDataSeqApi } from '@/api/modules/demo/DataSeq'
|
|
@@ -169,10 +181,13 @@ import PreviewImages from '@/views/demo/components/PreviewImages.vue'
|
|
import PreviewCompareImages from '@/views/demo/components/PreviewCompareImages.vue'
|
|
import PreviewCompareImages from '@/views/demo/components/PreviewCompareImages.vue'
|
|
import { addAlgorithmModelTrackApi } from '@/api/modules/demo/AlgorithmModelTrack'
|
|
import { addAlgorithmModelTrackApi } from '@/api/modules/demo/AlgorithmModelTrack'
|
|
import ViewLog from '@/views/demo/components/ViewLog.vue'
|
|
import ViewLog from '@/views/demo/components/ViewLog.vue'
|
|
-
|
|
|
|
import useWebSocketStore from '@/stores/modules/websocket'
|
|
import useWebSocketStore from '@/stores/modules/websocket'
|
|
import { resetHeart } from '@/utils/websocket'
|
|
import { resetHeart } from '@/utils/websocket'
|
|
|
|
|
|
|
|
+import ShowStatisticResult from '@/views/demo/components/ShowStatisticResult.vue'
|
|
|
|
+
|
|
|
|
+const showStatisticResultRef = ref()
|
|
|
|
+
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
const websocketStore = useWebSocketStore()
|
|
const websocketStore = useWebSocketStore()
|
|
websocketStore.websocket.onmessage = (e: any) => {
|
|
websocketStore.websocket.onmessage = (e: any) => {
|