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 ce95834..12fa532 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
@@ -90,7 +90,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'))
//获取单位基本信息
getUnitData(){
this.unitId.forEach((element,index) => {
@@ -1198,6 +1198,7 @@ export class FinishDialog{
this.http.post('/api/Papers',params).subscribe(data => {
this.snackBar.open('创建成功','确定',config);
this.dialogRef.close();
+ sessionStorage.removeItem("checkedWork")
},err => {
this.snackBar.open(err,'确定',config);
})
diff --git a/src/app/examiner/examiner-index/examiner-index.component.html b/src/app/examiner/examiner-index/examiner-index.component.html
index 44cf7b5..0c24a83 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
-->