|
|
|
@ -32,6 +32,14 @@ export class MarkPapersTwoComponent implements OnInit {
|
|
|
|
|
this.getname=param.name |
|
|
|
|
}); |
|
|
|
|
this.getAlltabledate() |
|
|
|
|
|
|
|
|
|
//监听 此HTML标签焦点事件
|
|
|
|
|
document.addEventListener('visibilitychange', ()=>{ |
|
|
|
|
let isHidden = document.hidden |
|
|
|
|
if (!isHidden) { |
|
|
|
|
this.getAlltabledate() |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
headtext |
|
|
|
@ -58,7 +66,6 @@ export class MarkPapersTwoComponent implements OnInit {
|
|
|
|
|
SortType: null, |
|
|
|
|
} |
|
|
|
|
this.http.get("/api/Examinations",{params:paramsdata}).subscribe((data:any)=>{ |
|
|
|
|
console.log(data.items) |
|
|
|
|
this.dataSource=data.items |
|
|
|
|
this.length=data.totalCount |
|
|
|
|
}) |
|
|
|
|