浏览代码

学情报告

shilipojs 2 年之前
父节点
当前提交
0501c238c7
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6 2
      src/views/evaluating/main.vue

+ 6 - 2
src/views/evaluating/main.vue

@@ -47,7 +47,7 @@
         </el-row>
       </index-card>
       <index-card title="学情报告" class="mt20 index-block">
-        <el-button type="primary" @click="$router.push('/elective/report/test?path=https%3A%2F%2Fonline.fliphtml5.com%2Fjkrou%2Fybov%2F')">查看报告</el-button>
+        <el-button type="primary" @click="openNew">查看报告</el-button>
       </index-card>
     </div>
   </div>
@@ -126,7 +126,11 @@ export default {
       ]
     }
   },
-  methods: {}
+  methods: {
+    openNew(){
+      window.open('https://online.fliphtml5.com/jkrou/hjig/#p=1','_blank')
+    }
+  }
 }
 </script>
 <style scoped lang="scss">