fix:光芯大屏工段图标坐标轴变动

This commit is contained in:
shijing 2025-08-06 08:59:15 +08:00
parent bf0a9fd5a2
commit 7a1168239d
1 changed files with 11 additions and 4 deletions

View File

@ -609,16 +609,23 @@ export default {
that.addListener(); that.addListener();
}) })
that.setIntervals = setInterval(function () { that.setIntervals = setInterval(function () {
let nowDate = new Date();
that.currentYear = nowDate.getFullYear();
that.currentMonth = nowDate.getMonth() + 1;
that.currentDay = nowDate.getDate();
let dayArr = [];
for(let i=6;i>-1;i--){
let date = new Date(nowDate.getTime()-i*24*60*60*1000);
let day = date.getDate();
dayArr.push(day);
}
that.dayArr = dayArr;
that.getCountnotok(); that.getCountnotok();
that.getMaterials(); that.getMaterials();
that.getMgroup(); that.getMgroup();
that.getTaskNumber(); that.getTaskNumber();
that.getArticles(); that.getArticles();
that.getpurinrate(); that.getpurinrate();
let nowDate = new Date();
that.currentYear = nowDate.getFullYear();
that.currentMonth = nowDate.getMonth() + 1;
that.currentDay = nowDate.getDate();
}, 300000); }, 300000);
}, },
// //