|
@@ -24,7 +24,7 @@
|
|
</template>
|
|
</template>
|
|
<!-- 表格操作 -->
|
|
<!-- 表格操作 -->
|
|
<template #operation="scope">
|
|
<template #operation="scope">
|
|
- <el-button type="primary" link icon="View" @click="openDialog(3, '详情', scope.row)"> 详情 </el-button>
|
|
|
|
|
|
+ <el-button type="primary" link icon="View" @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 type="primary" link icon="EditPen" v-auth="['demo:toInfrared:edit']" @click="openDialog(2, '编辑', scope.row)"> 编辑 </el-button>
|
|
<el-button
|
|
<el-button
|
|
type="primary"
|
|
type="primary"
|
|
@@ -170,6 +170,7 @@ import {
|
|
} 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'
|
|
|
|
+import { getDictsApi } from '@/api/modules/system/dictData'
|
|
|
|
|
|
import { enumAlgorithmModelTrackApi, addAlgorithmModelTrackApi, getAlgorithmModelTrackApi } from '@/api/modules/demo/AlgorithmModelTrack'
|
|
import { enumAlgorithmModelTrackApi, addAlgorithmModelTrackApi, getAlgorithmModelTrackApi } from '@/api/modules/demo/AlgorithmModelTrack'
|
|
import { enumAlgorithmConfigTrackApi, getAlgorithmConfigTrackApi } from '@/api/modules/demo/AlgorithmConfigTrack'
|
|
import { enumAlgorithmConfigTrackApi, getAlgorithmConfigTrackApi } from '@/api/modules/demo/AlgorithmConfigTrack'
|
|
@@ -180,8 +181,18 @@ 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'
|
|
import ShowStatisticResult from '@/views/demo/components/ShowStatisticResult.vue'
|
|
|
|
+
|
|
const showStatisticResultRef = ref()
|
|
const showStatisticResultRef = ref()
|
|
|
|
|
|
|
|
+const zipFileDescDict = ref<any>({})
|
|
|
|
+onMounted(async () => {
|
|
|
|
+ const res = await getDictsApi('zip_file_format_description')
|
|
|
|
+ for (let i = 0; i < res.data.length; i++) {
|
|
|
|
+ const item = res.data[i]
|
|
|
|
+ zipFileDescDict.value[item.dictValue] = item.remark
|
|
|
|
+ }
|
|
|
|
+})
|
|
|
|
+
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
const websocketStore = useWebSocketStore()
|
|
const websocketStore = useWebSocketStore()
|
|
websocketStore.websocket.onmessage = (e: any) => {
|
|
websocketStore.websocket.onmessage = (e: any) => {
|
|
@@ -610,6 +621,7 @@ const setItemsOptions = () => {
|
|
label: '上传数据集',
|
|
label: '上传数据集',
|
|
prop: 'inputOssId',
|
|
prop: 'inputOssId',
|
|
rules: [{ required: false, message: '数据集不能为空', trigger: 'blur' }],
|
|
rules: [{ required: false, message: '数据集不能为空', trigger: 'blur' }],
|
|
|
|
+ tooltip: zipFileDescDict.value['to_infrared'],
|
|
compOptions: {
|
|
compOptions: {
|
|
elTagName: 'file-upload',
|
|
elTagName: 'file-upload',
|
|
fileSize: 4096,
|
|
fileSize: 4096,
|