|
@@ -958,6 +958,8 @@ export default { |
|
|
let dang=this.getCurrentTime() |
|
|
let dang=this.getCurrentTime() |
|
|
let timevt=this.timestampToTime(new Date(dang).getTime() + num); |
|
|
let timevt=this.timestampToTime(new Date(dang).getTime() + num); |
|
|
let newtime=[dang,timevt] |
|
|
let newtime=[dang,timevt] |
|
|
|
|
|
// console.log(newtime) |
|
|
|
|
|
// return |
|
|
if(ind==1){ |
|
|
if(ind==1){ |
|
|
this.$router.push({ |
|
|
this.$router.push({ |
|
|
path: "/Customer/AgentManagement", |
|
|
path: "/Customer/AgentManagement", |
|
@@ -991,7 +993,14 @@ export default { |
|
|
//获取当前时间并打印 |
|
|
//获取当前时间并打印 |
|
|
let yy = new Date().getFullYear(); |
|
|
let yy = new Date().getFullYear(); |
|
|
let mm = new Date().getMonth()+1; |
|
|
let mm = new Date().getMonth()+1; |
|
|
|
|
|
if(mm<10){ |
|
|
|
|
|
mm='0'+mm |
|
|
|
|
|
} |
|
|
let dd = new Date().getDate(); |
|
|
let dd = new Date().getDate(); |
|
|
|
|
|
// console.log(dd,'时间') |
|
|
|
|
|
if(dd<10){ |
|
|
|
|
|
dd='0'+dd |
|
|
|
|
|
} |
|
|
let gettime = yy+'-'+mm+'-'+dd |
|
|
let gettime = yy+'-'+mm+'-'+dd |
|
|
return gettime |
|
|
return gettime |
|
|
}, |
|
|
}, |
|
|