|
@ -98,10 +98,10 @@ const Information = (props) => { |
|
|
if (ext2) { |
|
|
if (ext2) { |
|
|
ext2.num++; |
|
|
ext2.num++; |
|
|
if(repairOk){ |
|
|
if(repairOk){ |
|
|
ext2.repairNum += l.patrolRecordIssueHandles[0]?.yanshoucishu; |
|
|
ext2.repairNum ++; |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
let repairNum = repairOk ? l?.patrolRecordIssueHandles[0]?.yanshoucishu : 0; |
|
|
let repairNum = repairOk ? 1 : 0; |
|
|
arr2?.push({ name: l?.point?.name, num: 1, repairNum }) |
|
|
arr2?.push({ name: l?.point?.name, num: 1, repairNum }) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|