|
|
|
@ -19,7 +19,7 @@
|
|
|
|
|
<div class="headerRight"> |
|
|
|
|
<label (click)='togglePaperType(1)' [ngClass]="{'selectPaperType': selectPaperType == '1'}">基本信息</label> |
|
|
|
|
<label (click)='togglePaperType(2)' [ngClass]="{'selectPaperType': selectPaperType == '2'}">作战部署</label> |
|
|
|
|
<button (click)='submitResult()' style="width: 100px;">提交阅卷结果</button> |
|
|
|
|
<button (click)='submitResult()' style="width: 100px;" *ngIf="paperType==1">提交阅卷结果</button> |
|
|
|
|
<label style="float: right;margin-right: 25px;opacity: 1;width: 150px;" *ngIf="selectPaperType == '1'">基本信息总分: |
|
|
|
|
{{selectPaper.basicInfoTotalPoints+selectPaper.adjoinTotalPoints+selectPaper.importLocationTotalPoints+selectPaper.functionalDivisionTotalPoints+selectPaper.facilityTotalPoints}}分 |
|
|
|
|
</label> |
|
|
|
@ -33,7 +33,7 @@
|
|
|
|
|
<mat-expansion-panel-header class="panelHeader"> |
|
|
|
|
<label class="mariginRight">基本信息</label> |
|
|
|
|
<label>总分: <label class="mark"> {{selectPaper.basicInfoScore}}</label>分, </label><label>单项<label class="mark"> {{selectPaper.basicInfoItemScore}}</label>分</label> |
|
|
|
|
<button class="headerButton" *ngIf="selectPaper.basicInfoScore == selectPaper.basicInfoTotalPoints">全部正确</button> |
|
|
|
|
<button class="headerButton" *ngIf="selectPaper.basicInfoScore == selectPaper.basicInfoTotalPoints && paperType==1">全部正确</button> |
|
|
|
|
</mat-expansion-panel-header> |
|
|
|
|
<div class="publicTest" *ngFor="let item of selectPaper.basicInfoData;let itemkey = index"> |
|
|
|
|
<div class="publicTitle">{{item.name}}</div> |
|
|
|
@ -46,8 +46,8 @@
|
|
|
|
|
<input type="text" [(ngModel)]="elements.userAnswer" name="userAnswer" *ngIf="key!=0" readonly> |
|
|
|
|
<mat-icon *ngIf="key!=0 && elements.isRight" class="rightWrong">done</mat-icon> |
|
|
|
|
<mat-icon *ngIf="key!=0 && !elements.isRight" class="mistakeIcon rightWrong">clear</mat-icon> |
|
|
|
|
<mat-icon *ngIf="key!=0" title="修改结果" (click)='editResults(elements)'>create</mat-icon> |
|
|
|
|
<p *ngIf="key!=0" class="rightKey">{{elements.result}}</p> |
|
|
|
|
<mat-icon *ngIf="key!=0 && paperType==1" title="修改结果" (click)='editResults(elements)'>create</mat-icon> |
|
|
|
|
<p *ngIf="key!=0 && paperType==1" class="rightKey">{{elements.result}}</p> |
|
|
|
|
</div> |
|
|
|
|
</ng-container> |
|
|
|
|
</div> |
|
|
|
@ -57,8 +57,8 @@
|
|
|
|
|
<label>{{element.name}}:</label><input type="text" [(ngModel)]="element.userAnswer" name="userAnswer" readonly> |
|
|
|
|
<mat-icon *ngIf="element.isRight">done</mat-icon> |
|
|
|
|
<mat-icon class="mistakeIcon" *ngIf="!element.isRight">clear</mat-icon> |
|
|
|
|
<button class="modificationResults" (click)='editResults(element)'>修改结果</button> |
|
|
|
|
<p class="rightKey">{{element.result}}</p> |
|
|
|
|
<button class="modificationResults" (click)='editResults(element)' *ngIf="paperType==1">修改结果</button> |
|
|
|
|
<p class="rightKey" *ngIf="paperType==1">{{element.result}}</p> |
|
|
|
|
</div> |
|
|
|
|
</ng-container> |
|
|
|
|
</div> |
|
|
|
@ -69,7 +69,7 @@
|
|
|
|
|
<mat-expansion-panel-header class="panelHeader"> |
|
|
|
|
<label class="mariginRight">四周毗邻</label> |
|
|
|
|
<label>总分: <label class="mark"> {{selectPaper.adjoinScore}}</label>分, </label><label>单项<label class="mark"> {{selectPaper.adjoinItemScore}}</label>分</label> |
|
|
|
|
<button class="headerButton" *ngIf="selectPaper.adjoinScore == selectPaper.adjoinTotalPoints">全部正确</button> |
|
|
|
|
<button class="headerButton" *ngIf="selectPaper.adjoinScore == selectPaper.adjoinTotalPoints && paperType==1">全部正确</button> |
|
|
|
|
</mat-expansion-panel-header> |
|
|
|
|
<div class="publicTest" *ngFor="let item of selectPaper.adjoinData"> |
|
|
|
|
<div class="publicTitle">{{item.name}}</div> |
|
|
|
@ -77,8 +77,8 @@
|
|
|
|
|
<label>{{element.name}}:</label><input type="text" [(ngModel)]="element.userAnswer" name="userAnswer" readonly> |
|
|
|
|
<mat-icon *ngIf="element.isRight">done</mat-icon> |
|
|
|
|
<mat-icon class="mistakeIcon" *ngIf="!element.isRight">clear</mat-icon> |
|
|
|
|
<button class="modificationResults" (click)='editResults(element)'>修改结果</button> |
|
|
|
|
<p class="rightKey">{{element.result}}</p> |
|
|
|
|
<button class="modificationResults" (click)='editResults(element)' *ngIf="paperType==1">修改结果</button> |
|
|
|
|
<p class="rightKey" *ngIf="paperType==1">{{element.result}}</p> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</mat-expansion-panel> |
|
|
|
@ -88,7 +88,7 @@
|
|
|
|
|
<mat-expansion-panel-header class="panelHeader"> |
|
|
|
|
<label class="mariginRight">重点部位</label> |
|
|
|
|
<label>总分: <label class="mark"> {{selectPaper.importLocationScore}}</label>分, </label><label>单项<label class="mark"> {{selectPaper.importLocationItemScore}}</label>分</label> |
|
|
|
|
<button class="headerButton" *ngIf="selectPaper.importLocationScore == selectPaper.importLocationTotalPoints">全部正确</button> |
|
|
|
|
<button class="headerButton" *ngIf="selectPaper.importLocationScore == selectPaper.importLocationTotalPoints && paperType==1">全部正确</button> |
|
|
|
|
</mat-expansion-panel-header> |
|
|
|
|
<div class="publicTest" *ngFor="let item of selectPaper.importLocationData"> |
|
|
|
|
<div class="publicTitle">{{item.name}}</div> |
|
|
|
@ -100,8 +100,8 @@
|
|
|
|
|
<input type="text" [(ngModel)]="elements.userAnswer" name="userAnswer" *ngIf="key!=0" readonly> |
|
|
|
|
<mat-icon *ngIf="key!=0 && elements.isRight">done</mat-icon> |
|
|
|
|
<mat-icon *ngIf="key!=0 && !elements.isRight" class="mistakeIcon">clear</mat-icon> |
|
|
|
|
<mat-icon *ngIf="key!=0" title="修改结果" (click)='editResults(elements)'>create</mat-icon> |
|
|
|
|
<p *ngIf="key!=0" class="rightKey">{{elements.result}}</p> |
|
|
|
|
<mat-icon *ngIf="key!=0 && paperType==1" title="修改结果" (click)='editResults(elements)'>create</mat-icon> |
|
|
|
|
<p *ngIf="key!=0 && paperType==1" class="rightKey">{{elements.result}}</p> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -113,7 +113,7 @@
|
|
|
|
|
<mat-expansion-panel-header class="panelHeader"> |
|
|
|
|
<label class="mariginRight">功能分区</label> |
|
|
|
|
<label>总分: <label class="mark"> {{selectPaper.functionalDivisionScore}}</label>分, </label><label>单项<label class="mark"> {{selectPaper.functionalDivisionItemSocre}}</label>分</label> |
|
|
|
|
<button class="headerButton" *ngIf="selectPaper.functionalDivisionScore == selectPaper.functionalDivisionTotalPoints">全部正确</button> |
|
|
|
|
<button class="headerButton" *ngIf="selectPaper.functionalDivisionScore == selectPaper.functionalDivisionTotalPoints && paperType==1">全部正确</button> |
|
|
|
|
</mat-expansion-panel-header> |
|
|
|
|
<div class="publicTest" *ngFor="let item of selectPaper.functionalDivisionData"> |
|
|
|
|
<div class="publicTitle">{{item.name}}</div> |
|
|
|
@ -125,8 +125,8 @@
|
|
|
|
|
<input type="text" [(ngModel)]="elements.userAnswer" name="userAnswer" *ngIf="key!=0" readonly> |
|
|
|
|
<mat-icon *ngIf="key!=0 && elements.isRight">done</mat-icon> |
|
|
|
|
<mat-icon *ngIf="key!=0 && !elements.isRight" class="mistakeIcon">clear</mat-icon> |
|
|
|
|
<mat-icon *ngIf="key!=0" title="修改结果" (click)='editResults(elements)'>create</mat-icon> |
|
|
|
|
<p *ngIf="key!=0" class="rightKey">{{elements.result}}</p> |
|
|
|
|
<mat-icon *ngIf="key!=0 && paperType==1" title="修改结果" (click)='editResults(elements)'>create</mat-icon> |
|
|
|
|
<p *ngIf="key!=0 && paperType==1" class="rightKey">{{elements.result}}</p> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -138,7 +138,7 @@
|
|
|
|
|
<mat-expansion-panel-header class="panelHeader"> |
|
|
|
|
<label class="mariginRight">数据核验</label> |
|
|
|
|
<label>总分: <label class="mark"> {{selectPaper.facilityScore}}</label>分, </label><label>单项<label class="mark"> {{selectPaper.facilityItemScore}}</label>分</label> |
|
|
|
|
<button class="headerButton" *ngIf="selectPaper.facilityScore == selectPaper.facilityTotalPoints">全部正确</button> |
|
|
|
|
<button class="headerButton" *ngIf="selectPaper.facilityScore == selectPaper.facilityTotalPoints && paperType==1">全部正确</button> |
|
|
|
|
</mat-expansion-panel-header> |
|
|
|
|
<div class="publicTest" *ngFor="let item of selectPaper.facilityData"> |
|
|
|
|
<div class="publicTitle">{{item.name}}</div> |
|
|
|
@ -146,8 +146,8 @@
|
|
|
|
|
<label>{{element.name}}:</label><input type="text" [(ngModel)]="element.userAnswer" name="userAnswer" readonly> |
|
|
|
|
<mat-icon *ngIf="element.isRight">done</mat-icon> |
|
|
|
|
<mat-icon class="mistakeIcon" *ngIf="!element.isRight">clear</mat-icon> |
|
|
|
|
<button class="modificationResults" (click)='editResults(element)'>修改结果</button> |
|
|
|
|
<p class="rightKey">{{element.result}}</p> |
|
|
|
|
<button class="modificationResults" (click)='editResults(element)' *ngIf="paperType==1">修改结果</button> |
|
|
|
|
<p class="rightKey" *ngIf="paperType==1">{{element.result}}</p> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</mat-expansion-panel> |
|
|
|
@ -176,12 +176,13 @@
|
|
|
|
|
<td style="color: #FF8678;">{{item.score || '暂未评分'}}</td> |
|
|
|
|
<td>{{item.score ? '已阅' : '未阅'}}</td> |
|
|
|
|
<td> |
|
|
|
|
<span style="color: #07CDCF;" (click)="readExam(item)">阅卷</span> |
|
|
|
|
<span style="color: #07CDCF;" (click)="readExam(item,0)" *ngIf="paperType==1">阅卷</span> |
|
|
|
|
<span style="color: #07CDCF;" (click)="readExam(item,1)" *ngIf="paperType!=1">查看</span> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
</div> |
|
|
|
|
<div class="refresh"> |
|
|
|
|
<div class="refresh" *ngIf="paperType==1"> |
|
|
|
|
<mat-icon style="margin-left: 14%;" (click)="refreshTable()">refresh</mat-icon> |
|
|
|
|
<span style="font-size: 12px;">(阅卷完成后请点击此按钮刷新表格数据)</span> |
|
|
|
|
</div> |
|
|
|
|