正在显示
1 个修改的文件
包含
3 行增加
和
4 行删除
@@ -548,15 +548,14 @@ func GetChanceType(chanceTypeId int) protocol.NameItem { | @@ -548,15 +548,14 @@ func GetChanceType(chanceTypeId int) protocol.NameItem { | ||
548 | func GetChanceSelfChecks(chanceInfo *models.Chance) []protocol.SelfCheck { | 548 | func GetChanceSelfChecks(chanceInfo *models.Chance) []protocol.SelfCheck { |
549 | var selfChecks []protocol.SelfCheck = make([]protocol.SelfCheck, 0) | 549 | var selfChecks []protocol.SelfCheck = make([]protocol.SelfCheck, 0) |
550 | switch chanceInfo.CheckResultStatus { | 550 | switch chanceInfo.CheckResultStatus { |
551 | - case protocol.None: //未提交筛查结果 | 551 | + case protocol.None: //未提交筛查结果/未被后台审核过 |
552 | + fallthrough | ||
553 | + case protocol.Waiting: | ||
552 | utils.JsonUnmarshal(chanceInfo.SelfChecks, &selfChecks) | 554 | utils.JsonUnmarshal(chanceInfo.SelfChecks, &selfChecks) |
553 | if len(selfChecks) != 0 { | 555 | if len(selfChecks) != 0 { |
554 | protocol.SelfChecks(selfChecks).SetSelfChecksLevel1ByRule() | 556 | protocol.SelfChecks(selfChecks).SetSelfChecksLevel1ByRule() |
555 | } | 557 | } |
556 | break | 558 | break |
557 | - case protocol.Waiting: //未通过审核的返回所有筛查结果(一级/二级) | ||
558 | - utils.JsonUnmarshal(chanceInfo.CheckResult, &selfChecks) | ||
559 | - break | ||
560 | default: //审核通过/不通过只显示一级 | 559 | default: //审核通过/不通过只显示一级 |
561 | utils.JsonUnmarshal(chanceInfo.CheckResult, &selfChecks) | 560 | utils.JsonUnmarshal(chanceInfo.CheckResult, &selfChecks) |
562 | var lv1List []protocol.SelfCheck | 561 | var lv1List []protocol.SelfCheck |
-
请 注册 或 登录 后发表评论