修复首页报表展示不出的问题

master
zhaochencheng 3 years ago
parent 6802b1991d
commit 2c436fffdb

@ -229,9 +229,7 @@ export default {
}, },
initOrderCountDate(){ initOrderCountDate(){
let start = new Date(); let start = new Date();
start.setFullYear(2018); start.setFullYear(2018, 10, 1);
start.setMonth(10);
start.setDate(1);
const end = new Date(); const end = new Date();
end.setTime(start.getTime() + 1000 * 60 * 60 * 24 * 7); end.setTime(start.getTime() + 1000 * 60 * 60 * 24 * 7);
this.orderCountDate=[start,end]; this.orderCountDate=[start,end];
@ -293,20 +291,6 @@ export default {
}, },
showTimes() { showTimes() {
this.timeFormate(new Date()) this.timeFormate(new Date())
// if(date.getHours()>=0&&date.getHours()<12){
//     this.hello=""
//   }else if(date.getHours()>=12&&date.getHours()<18){
//     this.hello=""
//   }else{
//     this.hello=""
//   }
}, },
helloTimes() { helloTimes() {
let hh = new Date().getHours() let hh = new Date().getHours()

Loading…
Cancel
Save