|
@@ -114,7 +114,8 @@ import {
|
|
|
getCompareImageCountApi,
|
|
|
getDialogApi,
|
|
|
getTaskDictData,
|
|
|
- getMetricApi
|
|
|
+ getMetricApi,
|
|
|
+ getVideoUrl
|
|
|
} from '@/api/modules/demo/dataAugmentation'
|
|
|
// import { } from '@/api/modules/system/dictData'
|
|
|
|
|
@@ -136,10 +137,11 @@ const openMetricDialog = async (id: string | number) => {
|
|
|
const dialogVisible = ref(false)
|
|
|
const inputVideoUrl = ref()
|
|
|
const outputVideoUrl = ref()
|
|
|
-const openResultDialog = (id: string | number) => {
|
|
|
- inputVideoUrl.value = '/api/profile/upload/2024/11/17/schoolgirls_20241117233329A001_input/schoolgirls.mp4'
|
|
|
- outputVideoUrl.value = '/api/profile/upload/2024/11/17/schoolgirls_20241117233329A001_input/schoolgirls.mp4'
|
|
|
- //console.log(inputVideoUrl)
|
|
|
+const openResultDialog = async (id: string | number) => {
|
|
|
+ const res: any = await getVideoUrl(id)
|
|
|
+ inputVideoUrl.value = res.data.input
|
|
|
+ outputVideoUrl.value = res.data.output
|
|
|
+ console.log(inputVideoUrl)
|
|
|
dialogVisible.value = true
|
|
|
}
|
|
|
const imageIdx = ref(0)
|