Commit 73b015dc authored by youjie's avatar youjie

no message

parent 3063dec3
...@@ -276,6 +276,9 @@ ...@@ -276,6 +276,9 @@
if (this.$route.query.QEndTime) { if (this.$route.query.QEndTime) {
this.msg.EndTime = this.$route.query.QEndTime; this.msg.EndTime = this.$route.query.QEndTime;
} }
if (this.$route.query.RankEndTime) {
this.msg.EndTime = this.$route.query.RankEndTime;
}
if (this.$route.query.EnterID) { if (this.$route.query.EnterID) {
this.msg.EnterID = Number(this.$route.query.EnterID); this.msg.EnterID = Number(this.$route.query.EnterID);
} }
......
...@@ -222,16 +222,20 @@ ...@@ -222,16 +222,20 @@
}, },
gobaoming(row){//跳转到报名列表 gobaoming(row){//跳转到报名列表
let EndTime = this.msg.EndMonth let EndTime = this.msg.EndMonth
let MonthDayNum
if(new Date(this.msg.StartMonth).getTime() == new Date(this.msg.EndMonth).getTime()){ if(new Date(this.msg.StartMonth).getTime() == new Date(this.msg.EndMonth).getTime()){
var d1=new Date( this.msg.EndMonth); var d1=new Date( this.msg.EndMonth);
d1.setMonth(d1.getMonth()+1); d1.setMonth(d1.getMonth()+1);
var month = d1.getMonth()+1; var month = d1.getMonth()+1;
EndTime = d1.getFullYear()+'-'+month EndTime = d1.getFullYear()+'-'+month
MonthDayNum = new Date(d1.getFullYear(), month, 0).getDate(); //计算当月的天数
}else{
MonthDayNum = new Date(EndTime.slice(0,4), EndTime.slice(5,7), 0).getDate()
} }
this.OpenNewUrl('/sale/orderStatistics' , { this.OpenNewUrl('/sale/orderStatistics' , {
EnterID:row.CourseConsultantId, EnterID:row.CourseConsultantId,
StartTime:this.msg.StartMonth, StartTime:this.msg.StartMonth,
EndTime:EndTime, RankEndTime:EndTime+'-'+ MonthDayNum,
}); });
} }
......
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