中国の標準時間はyyy-mm-dd形式に転換します.


//    
    dateFormFunc(val){
     
         var d = new Date(val);  
         var month = d.getMonth()+1; 
         //    ,             0
 month = month < 10 ? "0" + month : month;
return d.getFullYear() + '-' + month ;

    },
 //      
    d.getFullYear() + '-' + (d.getMonth() + 1) + '-' + d.getDate() + ' ' + d.getHours() + ':' + d.getMinutes() + ':' + d.getSeconds(); 


//        
 export function getDefaultVal() {
     
	
	var date = new Date();
	var year = date.getFullYear();
	var month = date.getMonth() + 1;
	var time = date.getDate() ;
	month = month < 10 ? "0" + month : month;
	time = time < 10 ? "0" + time : time;
	return year.toString() + "-" + month.toString()+"-"+time.toString()

  }