|
@@ -91,6 +91,23 @@ func (this *ActivityCoAntroller) ActivityList() {
|
|
|
keyWord := this.GetString("KeyWord")
|
|
|
activeState := this.GetString("ActiveState")
|
|
|
label := this.GetString("Label")
|
|
|
+
|
|
|
+ //入参为 undefined 时的处理
|
|
|
+ if chartPermissionIds == "undefined" {
|
|
|
+ chartPermissionIds = ""
|
|
|
+ }
|
|
|
+ if activityTypeIds == "undefined" {
|
|
|
+ activityTypeIds = ""
|
|
|
+ }
|
|
|
+ if whichDay == "undefined" {
|
|
|
+ whichDay = ""
|
|
|
+ }
|
|
|
+ if activeState == "undefined" {
|
|
|
+ activeState = ""
|
|
|
+ }
|
|
|
+ if label == "undefined" {
|
|
|
+ label = ""
|
|
|
+ }
|
|
|
//更新用户的搜索信息
|
|
|
itemSearch := new(models.CygxActivityUserSearchContent)
|
|
|
itemSearch.UserId = uid
|
|
@@ -1643,6 +1660,23 @@ func (this *ActivityCoAntroller) LabelList() {
|
|
|
isShowJurisdiction, _ := this.GetInt("IsShowJurisdiction")
|
|
|
activeState := this.GetString("ActiveState")
|
|
|
label := this.GetString("Label")
|
|
|
+
|
|
|
+ //入参为 undefined 时的处理
|
|
|
+ if chartPermissionIds == "undefined" {
|
|
|
+ chartPermissionIds = ""
|
|
|
+ }
|
|
|
+ if activityTypeIds == "undefined" {
|
|
|
+ activityTypeIds = ""
|
|
|
+ }
|
|
|
+ if whichDay == "undefined" {
|
|
|
+ whichDay = ""
|
|
|
+ }
|
|
|
+ if activeState == "undefined" {
|
|
|
+ activeState = ""
|
|
|
+ }
|
|
|
+ if label == "undefined" {
|
|
|
+ label = ""
|
|
|
+ }
|
|
|
var userType int
|
|
|
var permissionStr string
|
|
|
if user.CompanyId <= 1 {
|