|
|
@@ -1527,7 +1527,7 @@ export default { |
|
|
|
// 固定截取7个 |
|
|
|
const index = 7; |
|
|
|
let total = this.allOverdueProject.length; |
|
|
|
|
|
|
|
this.timer && clearInterval(this.timer); |
|
|
|
this.timer = setInterval(() => { |
|
|
|
if (this.timerIndex < total) { |
|
|
|
this.timerIndex += index; |
|
|
@@ -1821,6 +1821,7 @@ export default { |
|
|
|
xAxis: [], |
|
|
|
legend: [], |
|
|
|
series: [], |
|
|
|
minInterval: 'auto', |
|
|
|
}; |
|
|
|
|
|
|
|
let par1 = { |
|
|
@@ -1858,7 +1859,7 @@ export default { |
|
|
|
}; |
|
|
|
|
|
|
|
this.equipmentMonitoringCenter.forEach((org) => { |
|
|
|
par.data.push(org["openActionTime"] || 0); |
|
|
|
par1.data.push(org["openActionTime"] || 0); |
|
|
|
|
|
|
|
obj2.xAxis.push(org.date); |
|
|
|
|
|
|
@@ -2307,6 +2308,7 @@ export default { |
|
|
|
console.log(res); |
|
|
|
if (res.code == 10000) { |
|
|
|
this.$message.success(res.message); |
|
|
|
this.initPage() |
|
|
|
} else { |
|
|
|
this.$message.error(res.message); |
|
|
|
} |
|
|
@@ -3430,7 +3432,6 @@ export default { |
|
|
|
lineStyle: { |
|
|
|
color: "#fff", |
|
|
|
}, |
|
|
|
minInterval: 5, |
|
|
|
axisLabel: { |
|
|
|
textStyle: { |
|
|
|
color: "#fff", //字体颜色 |
|
|
@@ -3467,6 +3468,9 @@ export default { |
|
|
|
}, |
|
|
|
]; |
|
|
|
} |
|
|
|
if (!obj.minInterval) { |
|
|
|
option.yAxis[0].minInterval = 5 |
|
|
|
} |
|
|
|
|
|
|
|
// 使用刚指定的配置项和数据显示图表。 |
|
|
|
option && myChart.setOption(option); |
|
|
@@ -4896,6 +4900,16 @@ export default { |
|
|
|
height: 270px; |
|
|
|
overflow: auto; |
|
|
|
|
|
|
|
&::-webkit-scrollbar { |
|
|
|
// 整个滚动条 |
|
|
|
width: 0; // 纵向滚动条的宽度 |
|
|
|
background: rgba(213, 215, 220, 0.3); |
|
|
|
border: none; |
|
|
|
} |
|
|
|
&::-webkit-scrollbar-track { |
|
|
|
// 滚动条轨道 |
|
|
|
border: none; |
|
|
|
} |
|
|
|
/deep/ .box-grow { |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|