|
@@ -475,7 +475,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 无未批改作业 v-if="monitorTeacherList.unCorrectCount==0"-->
|
|
|
- <div class="no-homework" v-if="isNocheck">
|
|
|
+ <div class="no-homework" v-if="isNocheck" id="noHomework">
|
|
|
<div>无可分配作业</div>
|
|
|
<img src="../../assets/img/wu_fen_pei_zuo_ye.png" alt="">
|
|
|
</div>
|
|
@@ -1121,19 +1121,23 @@ export default {
|
|
|
},
|
|
|
// 去分配
|
|
|
allocation(){
|
|
|
+ var _this = this;
|
|
|
this.InfoWatch()
|
|
|
if (this.monitorTeacherList.unCorrectCount == 0){
|
|
|
- this.isNocheck = true;
|
|
|
- var time = setTimeout(function () {
|
|
|
- console.log('2222')
|
|
|
- this.isNocheck = true;
|
|
|
- clearTimeout(time);
|
|
|
- }, 1000);
|
|
|
+ _this.isNocheck = true;
|
|
|
+ _this.setTimeoutHomework()
|
|
|
} else {
|
|
|
this.isShow(this.monitorTeacherList,2)
|
|
|
}
|
|
|
|
|
|
},
|
|
|
+ // 定时器
|
|
|
+ setTimeoutHomework(){
|
|
|
+ var noHomework = document.getElementById('noHomework');
|
|
|
+ setTimeout(function () {
|
|
|
+ noHomework.remove()
|
|
|
+ }, 1000);
|
|
|
+ },
|
|
|
//关闭弹框
|
|
|
allShowModel(str) {
|
|
|
let _this = this;
|