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