提交 a6b45542 authored 作者: matian's avatar matian

Merge remote-tracking branch 'origin/vite' into vite

...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</div> </div>
</div> </div>
<template v-if="dataInfo.paper_info"> <template v-if="dataInfo.paper_info && isShow">
<el-row :gutter="10" class="row-bg"> <el-row :gutter="10" class="row-bg">
<el-col :span="8" class="col"><exam-info :dataInfo="dataInfo" /></el-col> <el-col :span="8" class="col"><exam-info :dataInfo="dataInfo" /></el-col>
<el-col :span="8" class="col"><submission :dataInfo="dataInfo" /></el-col> <el-col :span="8" class="col"><submission :dataInfo="dataInfo" /></el-col>
...@@ -83,7 +83,8 @@ export default { ...@@ -83,7 +83,8 @@ export default {
value: '', value: '',
dataInfo: { dataInfo: {
need_check_num: '' need_check_num: ''
} },
isShow: true
} }
}, },
...@@ -92,6 +93,7 @@ export default { ...@@ -92,6 +93,7 @@ export default {
}, },
methods: { methods: {
refreshPage() { refreshPage() {
this.isShow = true
this.getExamDataInfo() this.getExamDataInfo()
// this.$refs.scoreRankingRef.getScoreRanking() // this.$refs.scoreRankingRef.getScoreRanking()
// this.$refs.titleDataRef.refetch() // this.$refs.titleDataRef.refetch()
...@@ -109,7 +111,7 @@ export default { ...@@ -109,7 +111,7 @@ export default {
this.dataInfo = res.data this.dataInfo = res.data
}) })
.catch(() => { .catch(() => {
this.dataInfo = {} this.isShow = false
}) })
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论