|
@@ -347,10 +347,7 @@ func (this *CompanyController) SearchList() {
|
|
|
if sysProductId > 0 {
|
|
|
list[i].ApproveStatus = approveStatusMap[sysProductId]
|
|
|
}
|
|
|
- //如果是权益客户,操作者又是权益管理员,那么就对他进行展示研选详情按钮
|
|
|
- if strings.Contains(item.CompanyType, utils.COMPANY_CLASSIFY_RAI) && sysUser.RoleName == utils.ROLE_TYPE_RAI_PRODUCT {
|
|
|
- list[i].IsResearchShow = 1
|
|
|
- }
|
|
|
+
|
|
|
list[i].Duration = duration
|
|
|
//按钮显示控制
|
|
|
/*btnItem := services.GetCompanySearchPermissionButton(roleTypeCode, itemStatus, item.GroupId, sysUser.GroupId, item.SellerId, sysUser.AdminId, sysUser.Authority, item.ProductId)
|
|
@@ -362,6 +359,10 @@ func (this *CompanyController) SearchList() {
|
|
|
//根据销售"领取客户"的权限对部分按钮做限制
|
|
|
btnItem = services.GetCompanyPermissionButtonByReceiveEnabled(btnItem, receiveEnabled)
|
|
|
}
|
|
|
+ //如果是权益客户,操作者又是权益管理员,那么就对他进行展示研选详情按钮
|
|
|
+ if strings.Contains(item.CompanyType, utils.COMPANY_CLASSIFY_RAI) && sysUser.RoleName == utils.ROLE_TYPE_RAI_PRODUCT {
|
|
|
+ btnItem.IsResearchShow = true
|
|
|
+ }
|
|
|
list[i].BtnItem = btnItem
|
|
|
}
|
|
|
if list == nil {
|