|
@@ -1305,9 +1305,15 @@ func ActivityButtonShow(item *models.ActivityDetail) (articleDetail *models.Acti
|
|
|
//IsShowSignup bool `description:"是否展示我要报名"`
|
|
|
|
|
|
//如果后台在添加活的时候,关联的报告类型不隐藏预约纪要按钮,而且满足以下展示预约纪要按钮类型就展示
|
|
|
- if articleDetail.IsHideAppointment == 0 {
|
|
|
- articleDetail.IsShowAppointment = IsShowAppointmentByactivityInfo(articleDetail, articleDetail.ChartPermissionName)
|
|
|
+ //if articleDetail.IsHideAppointment == 0 {
|
|
|
+ // articleDetail.IsShowAppointment = IsShowAppointmentByactivityInfo(articleDetail, articleDetail.ChartPermissionName)
|
|
|
+ //}
|
|
|
+
|
|
|
+ //新的是否展示规则
|
|
|
+ if articleDetail.IsCanAppointmentMinutes == 1 {
|
|
|
+ articleDetail.IsShowAppointment = true
|
|
|
}
|
|
|
+
|
|
|
//专家电话会 1
|
|
|
if articleDetail.ActivityTypeId == 1 {
|
|
|
articleDetail.IsShowOutboundCall = true
|