|
@@ -1,7 +1,7 @@
|
1
|
1
|
<div class="list-template">
|
2
|
2
|
<div class="list-template__content">
|
3
|
3
|
<div class="list-template__top" nz-row>
|
4
|
|
- <div nz-col nzLg='17' class="list-template__searchBox">
|
|
4
|
+ <div nz-col nzLg='14' class="list-template__searchBox">
|
5
|
5
|
<div class="list-template__searchItem">
|
6
|
6
|
<span class="label">科室名称:</span>
|
7
|
7
|
<input nz-input class="formItem" [(ngModel)]="name" placeholder="请输入科室名称" nzSize="default" />
|
|
@@ -22,12 +22,14 @@
|
22
|
22
|
</nz-select>
|
23
|
23
|
</div>
|
24
|
24
|
</div>
|
25
|
|
- <div nz-col nzLg="7" class="list-template__btns">
|
|
25
|
+ <div nz-col nzLg="10" class="list-template__btns">
|
26
|
26
|
<button class="btn default" (click)='search()'>搜索</button>
|
27
|
27
|
<button class="btn default ml8" (click)='reset()'>重置</button>
|
28
|
28
|
<button *ngIf="coopBtns.add" class="btn default ml8" (click)="showModal()">新增</button>
|
29
|
29
|
<button class="btn default ml8" nzType="primary" nz-button [disabled]="!checkedDepIds.length"
|
30
|
30
|
(click)="print($event,true)">批量打印</button>
|
|
31
|
+ <button class="btn default ml8" nzType="primary" nz-button *ngIf="coopBtns.del"
|
|
32
|
+ [disabled]="!checkedDepIds.length" (click)="showDelModal($event,true,checkedDepIds)">批量删除</button>
|
31
|
33
|
</div>
|
32
|
34
|
</div>
|
33
|
35
|
<div class="list-template__bottom">
|
|
@@ -63,7 +65,7 @@
|
63
|
65
|
<div class="coop">
|
64
|
66
|
<span *ngIf="coopBtns.look" (click)="detail($event,data.id)">查看</span>
|
65
|
67
|
<span *ngIf="coopBtns.edit" (click)="edit($event,data)">编辑</span>
|
66
|
|
- <span *ngIf="coopBtns.del" (click)="showDelModal($event,data.id)">删除</span>
|
|
68
|
+ <span *ngIf="coopBtns.del" (click)="showDelModal($event,false,data.id)">删除</span>
|
67
|
69
|
<span (click)="print($event,false,data.id)">打印</span>
|
68
|
70
|
</div>
|
69
|
71
|
</td>
|
|
@@ -199,7 +201,7 @@
|
199
|
201
|
</div>
|
200
|
202
|
<!-- 删除模态框 -->
|
201
|
203
|
<app-dialog-delete [delModal]="delModal" (hideDelModalEvent)="hideDelModal()" [btnLoading]="btnLoading"
|
202
|
|
- (confirmDelEvent)="confirmDel()" content="您确认要删除此科室吗?"></app-dialog-delete>
|
|
204
|
+ (confirmDelEvent)="confirmDel()" content="您确认要删除科室吗?"></app-dialog-delete>
|
203
|
205
|
|
204
|
206
|
<!-- 二维码打印 -->
|
205
|
207
|
<div id="report" style="display: none">
|