haogh il y a 6 mois
Parent
commit
e1f2db1e58

+ 3 - 3
src/app/routes/art/score/score-first-ym-detail/score-first-ym-detail.component.html

@@ -9,7 +9,7 @@
     </div>
     <label class="col-lg-2 col-form-label text-lg-right">准考证号</label>
     <div class="col-lg-4 col-md-4">
-      <input class="form-control" type="text" [value]="currentEntity.aspect_ticket_no" [readOnly]="true"/>
+      <input class="form-control" type="text" [value]="currentEntity.ticket_no" [readOnly]="true"/>
     </div>
   </div>
 
@@ -40,7 +40,7 @@
     </div>
     <label class="col-lg-2 col-form-label text-lg-right">科目分1</label>
     <div class="col-lg-4 col-md-4">
-      <input class="form-control" type="text" formControlName="subject_score_1" [value]="currentEntity.subject_score_1"/>
+      <input class="form-control" type="text" formControlName="subject_score_1" [value]="currentEntity.subject_score_1" [readOnly]="true"/>
     </div>
   </div>
   <div class="form-group row">
@@ -52,7 +52,7 @@
     <div class="col-lg-4 col-md-4">
       <input class="form-control" type="text" formControlName="subject_score_2" [value]="currentEntity.subject_score_2" [readOnly]="true"/>
     </div>
-  </div>  
+  </div>
   <div class="form-group row">
     <label class="col-lg-2 col-form-label text-lg-right">合格状态</label>
     <div class="col-lg-4 col-md-4">

+ 20 - 1
src/app/routes/art/score/score-first-ym/score-first-ym.component.html

@@ -12,6 +12,8 @@
            (click)="FuncService.ajaxDownload('frame/report/download.htm', {report_name:'YmFirstScoreExport', report_title :'央美2021校考初试成绩'})">导出初试成绩</a>
         <div class="dropdown-divider"></div>
         <a class="dropdown-item" href="#" (click)="requestWithThread('./score/ym/make/decision.htm', {}, {confirmMsg:'确定要重新生成所有违规处理决定书吗?'})">生成违规处理决定书</a>
+        <div class="dropdown-divider"></div>
+        <a class="dropdown-item" href="#" (click)="requestWithThread('./score/ym/make/review/log.htm', {}, {confirmMsg:'确定要重新生成所有成绩复核日志吗?'})">生成成绩复核日志</a>
       </div>
     </div>
   </div>
@@ -35,7 +37,8 @@
       <th><span class="table-sort">复核成绩时间</span></th>
       <th><span class="table-sort">复核结论</span></th>
       <th><span class="table-sort">复核答复时间</span></th>
-      <th></th>
+      <th>决定书</th>
+      <th>成绩复核日志</th>
     </tr>
     </thead>
     <tbody>
@@ -75,6 +78,22 @@
           </div>
         </div>
       </td>
+
+      <td>
+        <div class="btn-group" dropdown style="margin-top: -2px;"  *ngIf="v.wei_gui=='是'">
+          <button class="btn dropdown-toggle btn-secondary btn-sm" type="button" dropdownToggle>成绩复核日志
+            <span class="caret"></span>
+          </button>
+          <div *dropdownMenu class="dropdown-menu modal-lg" role="menu">
+            <a class="dropdown-item" href="#" (click)="downloadReviewLog(v)" *ngIf="v.review_log_file">下载</a>
+            <div class="dropdown-divider"*ngIf="!v.review_log_file"></div>
+            <a class="dropdown-item" href="#" (click)="makeStdReviewLog(v,false)" *ngIf="!v.review_log_file">生成</a>
+            <div class="dropdown-divider"*ngIf="v.review_log_file"></div>
+            <a class="dropdown-item" href="#" (click)="makeStdReviewLog(v,true)"  *ngIf="v.review_log_file">重制</a>
+          </div>
+        </div>
+      </td>
+
     </tr>
     </tbody>
   </table>

+ 16 - 0
src/app/routes/art/score/score-first-ym/score-first-ym.component.ts

@@ -55,4 +55,20 @@ export class ScoreFirstYmComponent extends FramePageComponent implements OnInit
       this.FuncService.ajaxDownload('score/ym/make/decision.htm', { cert_id: v.cert_id, aspect_name: v.aspect_name, batch: v.batch });
     });
   }
+
+  downloadReviewLog(v) {
+    window.open(this.FrameService.getParamValue('EnrolMaterialWebPath') + '/' + v.review_log_file);
+  }
+
+  makeStdReviewLog(v, flag) {
+    let msg = '确定要生成该考生的成绩复核日志吗!';
+    if (flag) {
+      msg = '确定要重新生成该考生的成绩复核日志吗?';
+    }
+    this.MsgService.confirmAlert(msg, () => {
+      this.FuncService.ajaxDownload('score/ym/make/review/log.htm', { cert_id: v.cert_id, aspect_name: v.aspect_name, batch: v.batch });
+    });
+  }
+
+
 }