diff --git a/src/app/examiner/create-test-score/create-test-score.component.ts b/src/app/examiner/create-test-score/create-test-score.component.ts
index b8ec060..f8af142 100644
--- a/src/app/examiner/create-test-score/create-test-score.component.ts
+++ b/src/app/examiner/create-test-score/create-test-score.component.ts
@@ -47,7 +47,7 @@ export class CreateTestScoreComponent implements OnInit {
// {name:'华南城集团有限公司',id:'5ee19fe06f91049f5e23e937'},
// {name:'贵港油库',id:'5fa35d68f8eb762cb03c662e'}
// ]
- unitId:any = JSON.parse(localStorage.getItem('checkedWork'))
+ unitId:any = JSON.parse(sessionStorage.getItem('checkedWork'))
//获取单位基本信息
async getUnitData(){
@@ -1231,6 +1231,7 @@ export class FinishDialog{
this.http.post('/api/Papers',params).subscribe(data => {
this.snackBar.open('创建成功','确定',config);
this.dialogRef.close();
+ sessionStorage.removeItem("checkedWork")
this.router.navigate(['/home/createexam-index']) //跳转试卷列表页面
},err => {
this.snackBar.open(err,'确定',config);
diff --git a/src/app/examiner/create-test-score/finishDialog.html b/src/app/examiner/create-test-score/finishDialog.html
index af4096d..b2a3cde 100644
--- a/src/app/examiner/create-test-score/finishDialog.html
+++ b/src/app/examiner/create-test-score/finishDialog.html
@@ -8,7 +8,7 @@
-->
diff --git a/src/app/examiner/examiner-index/examiner-index.component.html b/src/app/examiner/examiner-index/examiner-index.component.html
index 074f5b9..44b848d 100644
--- a/src/app/examiner/examiner-index/examiner-index.component.html
+++ b/src/app/examiner/examiner-index/examiner-index.component.html
@@ -4,7 +4,7 @@
* @Author: sueRimn
* @Date: 2020-12-11 09:06:03
* @LastEditors: sueRimn
- * @LastEditTime: 2020-12-14 15:59:51
+ * @LastEditTime: 2020-12-15 11:36:19
-->