Commit 90f53f08 authored by wanghao's avatar wanghao

1 解绑错误数据显示调整

parent fba4c1d8
...@@ -277,11 +277,11 @@ export default { ...@@ -277,11 +277,11 @@ export default {
// 计算初始异常设备数量(标定完成状态) // 计算初始异常设备数量(标定完成状态)
if (this.trayStatus === '3') { if (this.trayStatus === '3') {
this.abnormalCount = this.devices.filter( this.abnormalCount = this.devices.filter(
d => d.deviceCode && d.status !== '1' d => d.deviceCode && (d.status !== '1'
&& d.realTimeStatus === '0' || d.realTimeStatus === '0'
&& d.calibrationConcentrationStatus !== '4' || d.calibrationConcentrationStatus !== '4'
&& d.writeTimeStatus === '0' || d.writeTimeStatus === '0'
&& d.runTimeStatus === '0' || d.runTimeStatus === '0')
).length; ).length;
this.initialAbnormalCount = this.abnormalCount; this.initialAbnormalCount = this.abnormalCount;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment