|
|
@@ -41,7 +41,7 @@ import editIndex from './editIndex.vue';
|
|
|
import { copyCase, updateCaseInfo, exportCaseDetailInfo, getCaseDetailInfo, getCaseInquestInfo, exportCaseInquestInfo } from "@/store/case";
|
|
|
import { getCaseInfoOffline as getCaseInfo, getCaseSceneListOffline as getCaseSceneList, uploadRecordFragments, getUploadRecordProgress } from "@/store/editCsae";
|
|
|
import { RouteName, router } from "@/router";
|
|
|
-import { getFusionAndSceneList, caseFilesTypeGetTree, getRecordCaseVideo } from '@/store/editCsae';
|
|
|
+import { getFusionAndSceneList, caseFilesTypeGetTree, getRecordCaseVideo, getFfmpegImageList } from '@/store/editCsae';
|
|
|
import shot from './components/shot.vue';
|
|
|
import headerTop from './components/headerTop.vue';
|
|
|
import editFilePage from './editFilePage.vue';
|
|
|
@@ -154,9 +154,10 @@ const initData = async () => {
|
|
|
showObj.value.mix3d = res.length
|
|
|
})
|
|
|
|
|
|
- caseFilesTypeGetTree(caseId.value).then(res => {
|
|
|
- showObj.value.siteInspection = recursiveSearch(res.filter(item => item.filesTypeName != '其他资料'))
|
|
|
+ caseFilesTypeGetTree(caseId.value).then(async res => {
|
|
|
showObj.value.otherFiles = recursiveSearch(res.filter(item => item.filesTypeName == '其他资料'))
|
|
|
+ const FfmpegList: any = await getFfmpegImageList(caseId.value!);
|
|
|
+ showObj.value.siteInspection = FfmpegList.length || recursiveSearch(res.filter(item => item.filesTypeName != '其他资料'))
|
|
|
console.log('caseFilesTypeGetTree', res, showObj.value)
|
|
|
// fusionList.value = res || []
|
|
|
})
|