Commit 26a7a504 authored by 李苏's avatar 李苏 💬

判定日期请求

parent fbe7dc04
...@@ -307,6 +307,9 @@ ...@@ -307,6 +307,9 @@
if(this.queryParams1.rwlx=='W'){ if(this.queryParams1.rwlx=='W'){
this.queryParams1.ksrq=new Date(new Date(this.getFirstWeek()).Format('yyyy/MM/dd')+" 00:00:00").getTime(); this.queryParams1.ksrq=new Date(new Date(this.getFirstWeek()).Format('yyyy/MM/dd')+" 00:00:00").getTime();
this.queryParams1.jsrq=new Date(new Date(this.getlastWeek()).Format('yyyy/MM/dd')+" 23:59:59").getTime(); this.queryParams1.jsrq=new Date(new Date(this.getlastWeek()).Format('yyyy/MM/dd')+" 23:59:59").getTime();
}else if(this.queryParams1.rwlx=='D'){
this.queryParams1.ksrq=new Date().getTime();
this.queryParams1.jsrq=new Date().getTime();
} }
doQueryfx(this.queryParams1).then(res=>{ doQueryfx(this.queryParams1).then(res=>{
if(res.success){ if(res.success){
......
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