|
@@ -2577,8 +2577,6 @@ func (this *ActivityCoAntroller) ActivityListNew() {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
var conditionOrder string
|
|
|
if activeState == "2" || activeState == "3" {
|
|
|
conditionOrder = ` ORDER BY art.activity_time DESC `
|
|
@@ -4692,7 +4690,7 @@ func (this *ActivityCoAntroller) OverActivityList() {
|
|
|
isPower, _ := this.GetInt("IsPower")
|
|
|
chartPermissionIds := this.GetString("ChartPermissionIds")
|
|
|
whichDay := this.GetString("WhichDay")
|
|
|
- fmt.Println("whichDay:",whichDay)
|
|
|
+ fmt.Println("whichDay:", whichDay)
|
|
|
typeName := this.GetString("TypeName")
|
|
|
|
|
|
//入参为 undefined 时的处理
|
|
@@ -4703,7 +4701,6 @@ func (this *ActivityCoAntroller) OverActivityList() {
|
|
|
whichDay = ""
|
|
|
}
|
|
|
|
|
|
-
|
|
|
userType, permissionStr, err := services.GetUserType(user.CompanyId)
|
|
|
if err != nil {
|
|
|
br.Msg = "获取失败"
|
|
@@ -4811,7 +4808,7 @@ func (this *ActivityCoAntroller) OverActivityList() {
|
|
|
} else if whichDay == "4" {
|
|
|
startDate = utils.GetLastWeekMonday().Format(utils.FormatDate)
|
|
|
endDate = utils.GetLastWeekSunday().Format(utils.FormatDate)
|
|
|
- } else if whichDay == "5" {
|
|
|
+ } else if whichDay == "5" {
|
|
|
startDate = utils.GetNowMonthFirstDay().Format(utils.FormatDate)
|
|
|
endDate = utils.GetNowMonthLastDay().Format(utils.FormatDate)
|
|
|
} else if whichDay == "6" {
|
|
@@ -4833,11 +4830,11 @@ func (this *ActivityCoAntroller) OverActivityList() {
|
|
|
if len(chartPermissionIds) > 0 {
|
|
|
condition += ` AND art.chart_permission_id IN (` + chartPermissionIds + `)`
|
|
|
}
|
|
|
- if typeName != ""{
|
|
|
+ if typeName != "" {
|
|
|
typeSlice := strings.Split(typeName, ",")
|
|
|
tempCondition := ""
|
|
|
for _, s := range typeSlice {
|
|
|
- if s == "1"{
|
|
|
+ if s == "1" {
|
|
|
tempCondition += "'专家电话会',"
|
|
|
} else if s == "2" {
|
|
|
tempCondition += "'分析师电话会',"
|