|
|
|
@ -227,10 +227,15 @@ export class uploadQuestions {
|
|
|
|
|
examPlanType:this.route.snapshot.queryParams.openType == 1 ? 0 : 1 |
|
|
|
|
} |
|
|
|
|
this.http.post("/api/PaperPlans",body,{params:params}).subscribe(data => { |
|
|
|
|
|
|
|
|
|
const config = new MatSnackBarConfig(); |
|
|
|
|
config.verticalPosition = 'top'; |
|
|
|
|
config.duration = 3000 |
|
|
|
|
this.snackBar.open('设置完成','确定',config); |
|
|
|
|
this.snackBar.open('设置完成,页面将于一秒后关闭','确定',config); |
|
|
|
|
setTimeout(() => { |
|
|
|
|
window.close() |
|
|
|
|
}, 1000); |
|
|
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|