export const getStandardDateBeforeWeek=(num)=>{
var _date = new Date(); //获取今天日期
_date.setDate(_date.getDate() + num);//日期七天后
var year=_date.getFullYear();
var month=_date.getMonth()+1;
var day=_date.getDate();
if (month<10) {
month='0'+month;
}else {
month=''+month;
}
if (day<10) {
day='0'+day;
}else {
day=''+day;
}
var dateTemp = year+'-'+month+'-'+day;
return dateTemp;
}