|
@@ -36,9 +36,9 @@
|
36
|
36
|
<div class="dropdown">
|
37
|
37
|
<button [disabled]="!checkedDepIds.length" nz-button class="btn default ml8" *ngIf="coopBtns.del || coopBtns.print || coopBtns.reset" (mouseenter)="showDropdown = (checkedDepIds.length ? true : false)" (mouseleave)="showDropdown = false">批量操作</button>
|
38
|
38
|
<div class="dropdown-content" [hidden]="!showDropdown" (mouseenter)="showDropdown = true" (mouseleave)="showDropdown = false">
|
39
|
|
- <div class="dropdownItem" (click)="showDelModal(data,'删除后您配置的相关巡检计划,下次执行时不在生成巡检任务,您确认要删除吗?','删除','delList')" *ngIf="coopBtns.del">批量删除</div>
|
|
39
|
+ <div class="dropdownItem" (click)="showDelModal($event, data,'删除后您配置的相关巡检计划,下次执行时不在生成巡检任务,您确认要删除吗?','删除','delList')" *ngIf="coopBtns.del">批量删除</div>
|
40
|
40
|
<div class="dropdownItem" *ngIf="coopBtns.print" (click)="print($event,true)">批量打印</div>
|
41
|
|
- <div class="dropdownItem" *ngIf="coopBtns.reset" (click)="showDelModal(data,'您确认要重置二维码吗?','重置','resetList')">批量重置</div>
|
|
41
|
+ <div class="dropdownItem" *ngIf="coopBtns.reset" (click)="showDelModal($event, data,'您确认要重置二维码吗?','重置','resetList')">批量重置</div>
|
42
|
42
|
</div>
|
43
|
43
|
</div>
|
44
|
44
|
<button nz-button class="btn default ml8" (click)='search()'>搜索</button>
|
|
@@ -104,7 +104,7 @@
|
104
|
104
|
<nz-form-item>
|
105
|
105
|
<nz-form-label [nzSpan]="5" nzRequired nzFor="deptId">关联科室</nz-form-label>
|
106
|
106
|
<nz-form-control [nzSpan]="19" nzErrorTip="请选择关联科室!">
|
107
|
|
- <nz-select (nzOnSearch)="changeInp('add', 'department', $event)" [nzDropdownMatchSelectWidth]="false" nzServerSearch nzShowSearch nzAllowClear formControlName="deptId" nzPlaceHolder="请选择关联科室" (ngModelChange)="changeDepartment($event)" [nzDisabled]="!add">
|
|
107
|
+ <nz-select (nzOnSearch)="changeInp('add', 'department', $event)" [nzDropdownMatchSelectWidth]="false" nzServerSearch nzShowSearch nzAllowClear formControlName="deptId" nzPlaceHolder="请选择关联科室" (ngModelChange)="changeDepartment($event)" [nzDisabled]="!add" (nzOpenChange)="changeInp('add', 'department', '')">
|
108
|
108
|
<ng-container *ngFor="let option of departmentAddList">
|
109
|
109
|
<nz-option *ngIf="!isLoading" [nzLabel]="option.dept" [nzValue]="option.id"></nz-option>
|
110
|
110
|
</ng-container>
|