|
@@ -725,6 +725,8 @@ func ActivityButtonShow(item *models.ActivityDetail, user *models.WxUserItem, pe
|
|
ActivityName: v.ActivityName,
|
|
ActivityName: v.ActivityName,
|
|
OnlineParticipation: v.OnlineParticipation,
|
|
OnlineParticipation: v.OnlineParticipation,
|
|
ReportLink: v.ReportLink,
|
|
ReportLink: v.ReportLink,
|
|
|
|
+ AppAttendance: v.AppAttendance,
|
|
|
|
+ ConferencePassword: v.ConferencePassword,
|
|
City: v.City,
|
|
City: v.City,
|
|
Address: v.Address,
|
|
Address: v.Address,
|
|
Highlights: v.Highlights,
|
|
Highlights: v.Highlights,
|
|
@@ -967,6 +969,21 @@ func GetActivityDetailUserPower(user *models.WxUserItem, activityInfo *models.Ac
|
|
err = errors.New("GetCompanyPermissionUpgrade, Err: " + e.Error())
|
|
err = errors.New("GetCompanyPermissionUpgrade, Err: " + e.Error())
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ if (activityInfo.ActivityTypeId == 3 || activityInfo.ActivityTypeId == 5) && activityInfo.YidongActivityId == "" && strings.Contains(activityInfo.ChartPermissionName, utils.CHART_PERMISSION_NAME_YANXUAN) {
|
|
|
|
+ isResearchSpecial = true
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if activityInfo.IsResearchPoints {
|
|
|
|
+ if !strings.Contains(permissionStr, utils.CHART_PERMISSION_NAME_YANXUAN) {
|
|
|
|
+
|
|
|
|
+ isResearchSpecial = false
|
|
|
|
+ }
|
|
|
|
+ if !strings.Contains(permissionStrZhengShi, activityInfo.ChartPermissionName) {
|
|
|
|
+ havePower = false
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
if user.IsMaker == 0 && activityInfo.IsMakerShow == 1 {
|
|
if user.IsMaker == 0 && activityInfo.IsMakerShow == 1 {
|
|
@@ -1001,6 +1018,7 @@ func GetActivityDetailUserPower(user *models.WxUserItem, activityInfo *models.Ac
|
|
havePower = true
|
|
havePower = true
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
|
|
if strings.Contains(utils.YI_YAO_NAME+utils.XIAO_FEI_NAME+utils.KE_JI_NAME+utils.ZHI_ZAO_NAME, activityInfo.ChartPermissionName) {
|
|
if strings.Contains(utils.YI_YAO_NAME+utils.XIAO_FEI_NAME+utils.KE_JI_NAME+utils.ZHI_ZAO_NAME, activityInfo.ChartPermissionName) {
|
|
if activityInfo.ActivityTypeId == 2 || activityInfo.ActivityTypeId == 6 || activityInfo.ActivityTypeId == 7 {
|
|
if activityInfo.ActivityTypeId == 2 || activityInfo.ActivityTypeId == 6 || activityInfo.ActivityTypeId == 7 {
|