Commit 6e154e70 authored by wangqinghua's avatar wangqinghua

update

parent 15f6183e
...@@ -71,7 +71,7 @@ export class AuditComponent implements OnInit { ...@@ -71,7 +71,7 @@ export class AuditComponent implements OnInit {
searchKey(){ searchKey(){
this.pageNumber = 1; this.pageNumber = 1;
this.getList(); this.search();
} }
changePage(e){ changePage(e){
...@@ -104,8 +104,8 @@ export class AuditComponent implements OnInit { ...@@ -104,8 +104,8 @@ export class AuditComponent implements OnInit {
//查询 //查询
search() { search() {
if (this.timeType == '5') { if (this.timeType == '5') {
this.obj.start = new Date ( this.datePipe.transform(this.startTime, 'yyyy-MM-dd HH:mm:ss') ); this.obj.start = new Date ( this.datePipe.transform(this.startTime, 'yyyy-MM-dd')+ ' 00:00:00' );
this.obj.end = new Date ( this.datePipe.transform(this.endTime, 'yyyy-MM-dd HH:mm:ss') ); this.obj.end = new Date ( this.datePipe.transform(this.endTime, 'yyyy-MM-dd') + ' 23:59:59' );
} }
this.getList(); 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