fix:光芯合格数统计查询参数时间规范化
This commit is contained in:
parent
14a079ae0b
commit
ba0bfc0ff3
|
@ -1087,13 +1087,12 @@ export default {
|
|||
dateArr.push(item);
|
||||
}
|
||||
that.weekDateList = dateArr;
|
||||
console.log('dateArr',dateArr);
|
||||
that.query.start_date =first.getFullYear() +"-" +(first.getMonth() + 1) +"-" +first.getDate();
|
||||
that.query.end_date =last.getFullYear() +"-" +(last.getMonth() + 1) +"-" +last.getDate();
|
||||
// console.log('dateArr',dateArr);
|
||||
that.query.start_date =first.toISOString().split('T')[0];
|
||||
that.query.end_date =last.toISOString().split('T')[0];
|
||||
that.options.forEach((item,index)=>{
|
||||
that.getData(item,index);
|
||||
})
|
||||
|
||||
},
|
||||
setChart(name, option = null) {
|
||||
// 根据name 渲染数据, option需填写,否则option为模拟数据
|
||||
|
|
Loading…
Reference in New Issue