|
@@ -38,7 +38,7 @@
|
38
|
38
|
<button class="btn default ml8" (click)='reset()'>重置</button>
|
39
|
39
|
<button *ngIf="coopBtns.add" class="btn default ml8" (click)="showModal()">新增</button>
|
40
|
40
|
<button class="btn default ml8" nzType="primary" nz-button [disabled]="!checkedDepIds.length"
|
41
|
|
- (click)="print($event,true)">批量打印</button>
|
|
41
|
+ (click)="print($event,true)" *ngIf="coopBtns.print">批量打印</button>
|
42
|
42
|
<button class="btn default ml8" nzType="primary" nz-button *ngIf="coopBtns.del"
|
43
|
43
|
[disabled]="!checkedDepIds.length" (click)="showDelModal($event,true,checkedDepIds)">批量删除</button>
|
44
|
44
|
</div>
|
|
@@ -79,7 +79,7 @@
|
79
|
79
|
<span *ngIf="coopBtns.look" (click)="detail($event,data.id)">查看</span>
|
80
|
80
|
<span *ngIf="coopBtns.edit" (click)="edit($event,data)">编辑</span>
|
81
|
81
|
<span *ngIf="coopBtns.del" (click)="showDelModal($event,false,data.id)">删除</span>
|
82
|
|
- <span (click)="print($event,false,data.id)">打印</span>
|
|
82
|
+ <span *ngIf="coopBtns.print" (click)="print($event,false,data.id)">打印</span>
|
83
|
83
|
</div>
|
84
|
84
|
</td>
|
85
|
85
|
</tr>
|