Commit c661abcd authored by wangqinghua's avatar wangqinghua

update

parent 1b846338
......@@ -223,9 +223,11 @@ export class ExamineComponent implements OnInit {
search(){
if(this.tabNum == 0){
this.getListNo();
this.pageNoNo = 1;
}
if(this.tabNum == 1){
this.getListAlready();
this.pageNoAlready = 1;
}
}
......
......@@ -40,7 +40,7 @@
<input type="text" nz-input [(ngModel)]="obj.searchStr" placeholder="计划名称/负责人">
</div>
<div nz-col nzSpan="2">
<button (click)="getList()" nz-button nzType="default"><i class="anticon anticon-search" style="color: #6097b7"></i>搜索
<button (click)="search()" nz-button nzType="default"><i class="anticon anticon-search" style="color: #6097b7"></i>搜索
</button>
</div>
</div>
......
......@@ -83,6 +83,11 @@ export class InspectPlanComponent implements OnInit {
this.getList();
}
search(){
this.pageNum = 1;
this.getList();
}
//新增计划
addPlan() {
this.smartPlanMoadl.showAddModal();
......@@ -114,7 +119,7 @@ export class InspectPlanComponent implements OnInit {
(res) => {
if (res.errCode == 10000) {
this.message.success('删除成功');
this.getList();
this.search();
} else {
this.message.error(res.errMsg);
}
......
......@@ -148,9 +148,9 @@ export class WorkHandleComponent implements OnInit {
//搜索
search() {
this.pageNum = 1;
this.obj.startTime = this.datePipe.transform(this.startTime, 'yyyy-MM-dd HH:mm:ss');
this.obj.endTime = this.datePipe.transform(this.endTime, 'yyyy-MM-dd HH:mm:ss');
this.getList();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment