Commit d0935986d286d4be1682186970ecd17c935cbdbd
1 parent
861f5e84
录分层级问题
Showing
3 changed files
with
5 additions
and
3 deletions
src/views/basic/test/components/scoreSet.vue
src/views/basic/test/components/test.vue
| ... | ... | @@ -443,7 +443,7 @@ |
| 443 | 443 | @click="openScoreSet(2)" |
| 444 | 444 | >答卷录分</el-button |
| 445 | 445 | > |
| 446 | - <el-popover v-else placement="bottom" width="194"> | |
| 446 | + <el-popover v-else placement="bottom" width="194" ref="popoverRef"> | |
| 447 | 447 | <div style="display: flex"> |
| 448 | 448 | <el-button size="mini" @click="openScoreSet(1)" |
| 449 | 449 | >录入总得分</el-button |
| ... | ... | @@ -622,6 +622,7 @@ export default { |
| 622 | 622 | }, |
| 623 | 623 | //打开答卷录分 |
| 624 | 624 | openScoreSet(type) { |
| 625 | + this.$refs.main.click(); | |
| 625 | 626 | this.diaScoreSet = true; |
| 626 | 627 | this.showAllSetScore = type == 1 ? true : false; |
| 627 | 628 | this.showSetScore = type == 2 ? true : false; | ... | ... |
src/views/basic/test/list.vue
| ... | ... | @@ -157,7 +157,7 @@ |
| 157 | 157 | v-if="role != 'ROLE_BANZHUREN' && scoped.row.examPaperId != 0" |
| 158 | 158 | > |
| 159 | 159 | <template> |
| 160 | - <el-popover placement="bottom" width="194"> | |
| 160 | + <el-popover placement="bottom" width="194" ref="popoverRef"> | |
| 161 | 161 | <div |
| 162 | 162 | style="display: flex" |
| 163 | 163 | v-loading=" |
| ... | ... | @@ -454,6 +454,7 @@ export default { |
| 454 | 454 | }, |
| 455 | 455 | //打开答卷录分 |
| 456 | 456 | openScoreSet(obj, type) { |
| 457 | + this.$refs.main.click(); | |
| 457 | 458 | this.showAllSetScore = type == 1 ? true : false; |
| 458 | 459 | this.showSetScore = type == 2 ? true : false; |
| 459 | 460 | this.examId = String(obj.id); | ... | ... |