소스 검색

活动报告详情跳转修改

jwyu 2 년 전
부모
커밋
dc13f43961
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 9 0
      src/views/activity/Detail.vue

+ 9 - 0
src/views/activity/Detail.vue

@@ -125,6 +125,15 @@ const formatAudioTime=(e)=>{
 
 // 跳转报告详情
 const goDetail=()=>{
+    if(info.value.is_new_report){
+        router.push({
+            path:'/report/detail',
+            query:{
+                reportId:info.value.report_id
+            }
+        })
+        return
+    }
     let params=info.value.reportLink.split('?')[1]
     let research_report_id=params.split('=')[1]
     router.push({