Browse Source

[完善]修改bug

master
邵佳豪 3 years ago
parent
commit
b75735564c
  1. 2
      src/app/examiner/create-test-score/create-test-score.component.html
  2. 959
      src/app/examiner/create-test-score/create-test-score.component.ts
  3. 8
      src/app/examiner/examiner-index/examiner-index.component.ts

2
src/app/examiner/create-test-score/create-test-score.component.html

@ -267,7 +267,7 @@
<div class="addPlan" (click)="addPlan()" *ngIf="!(pattern=='look')">
<mat-icon style="vertical-align: text-top">add_circle_outline</mat-icon>添加预案
</div>
<div class="planList" *ngIf="unitId[selectedUnitIndex]">
<div class="planList" *ngIf="unitId && unitId[selectedUnitIndex]">
<table>
<tr >
<td>预案名称</td>

959
src/app/examiner/create-test-score/create-test-score.component.ts

File diff suppressed because it is too large Load Diff

8
src/app/examiner/examiner-index/examiner-index.component.ts

@ -139,17 +139,13 @@ export class ExaminerIndexComponent implements OnInit {
this.snackBar.open('开考中,不能编辑','确定',config);
}
else{
/* const dialogRef = this.dialog.open(editorsDia, {
width: '650px',
data: item
}); */
sessionStorage.setItem("paperId",item.id)
this.router.navigateByUrl("/examiner/create-test-score?pattern=edit")
this.router.navigateByUrl(`/examiner/create-test-score?pattern=edit&status=${item.status}`)
}
}
lookPaper(item){
sessionStorage.setItem("paperId",item.id)
this.router.navigateByUrl("/examiner/create-test-score?pattern=look")
this.router.navigateByUrl(`/examiner/create-test-score?pattern=look&status=${item.status}`)
}
//获得所有组织机构
getOrganizations(){

Loading…
Cancel
Save