作者 tangxvhui

bug 修复

... ... @@ -453,8 +453,8 @@ func getChanceSelfChecks(chanceInfo *models.Chance) []ChanceSelfCheckData {
break
case models.CheckResultStatusPass, models.CheckResultStatusNOPass: //审核通过/不通过只显示一级
checkResult := chanceInfo.GetCheckResultData()
for i := 0; i < len(checkResult); i++ {
if selfChecks[i].ParentId == 0 {
for i := range checkResult {
if checkResult[i].ParentId == 0 {
selfChecks = append(selfChecks, checkResult[i])
}
}
... ...