|
|
|
@ -161,7 +161,7 @@ export class ExaminationDetailsComponent implements OnInit {
|
|
|
|
|
body.examinationDataInfo = uploadPaper |
|
|
|
|
this.http.put(`/api/Examinations/UpdateExaminationData/${this.route.snapshot.queryParams.examId}`,body).subscribe(data=>{ |
|
|
|
|
this.surplusTime = -1 |
|
|
|
|
window.setTimeout(()=>{ window.close() },8000) //8秒后关闭页面
|
|
|
|
|
window.setTimeout(()=>{ window.close() },5000) //5秒后关闭页面
|
|
|
|
|
const config = new MatSnackBarConfig(); |
|
|
|
|
config.verticalPosition = 'top'; |
|
|
|
|
config.duration = 3000 |
|
|
|
|