소스 검색

被无效历史跳转到报告新增一个网页

zhuliu 1 년 전
부모
커밋
9a6b03e6ad
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/views/project/patentDetails/components/patentMessage/history/mixins/index.js

+ 2 - 1
src/views/project/patentDetails/components/patentMessage/history/mixins/index.js

@@ -55,7 +55,7 @@ export default{
             })
         },
         checkReport(row){
-            this.$router.push({
+            let router = this.$router.resolve({
                 path: '/reportDetails',
                 query: {
                   projectId: row.projectId,
@@ -65,6 +65,7 @@ export default{
                   status:row.status,
                 }
             })
+            window.open(router.href, '_blank')
         },
     },
 }