瀏覽代碼

bug修复

haogh 7 月之前
父節點
當前提交
5ad6b1b385

+ 1 - 0
src/app/routes/art/layout/material/layout-material-ticket-result/layout-material-ticket-result.component.html

@@ -8,6 +8,7 @@
 
 
         <div class="ml-3 mr-2">
         <div class="ml-3 mr-2">
           <select class="form-control mt-1" [(ngModel)]="batch_id" (ngModelChange)="reloadTicket()">
           <select class="form-control mt-1" [(ngModel)]="batch_id" (ngModelChange)="reloadTicket()">
+            <option value="" >全部</option>
             <option [value]="v.dict_value" *ngFor="let v of batchArr">{{v.dict_text}}</option>
             <option [value]="v.dict_value" *ngFor="let v of batchArr">{{v.dict_text}}</option>
           </select>
           </select>
         </div>
         </div>

+ 0 - 1
src/app/routes/art/layout/material/layout-material-ticket-result/layout-material-ticket-result.component.ts

@@ -21,7 +21,6 @@ export class LayoutMaterialTicketResultComponent extends FramePageComponent impl
     this.modalComponent = LayoutMaterialParamComponent;
     this.modalComponent = LayoutMaterialParamComponent;
 
 
     this.batchArr = this.FrameService.DictMap['ExamBatchName'];
     this.batchArr = this.FrameService.DictMap['ExamBatchName'];
-    this.batchArr.unshift({ dict_text: '全部', dict_value: '' });
 
 
     // 获取缓存中的考点编号
     // 获取缓存中的考点编号
     let agent_id = this.cookies.get('CurrentAgentId');
     let agent_id = this.cookies.get('CurrentAgentId');