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