Browse Source

fix-kanban

tags/v1.22.11.2^2^2
liuzx 3 years ago
parent
commit
fbf371069b
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      routers/api/v1/repo/cloudbrain_dashboard.go

+ 14
- 0
routers/api/v1/repo/cloudbrain_dashboard.go View File

@@ -713,6 +713,20 @@ func GetCloudbrainsDetailData(ctx *context.Context) {
if cloudBrainType == models.TypeCDCenter && aiCenter == models.AICenterOfChengdu {
aiCenter = ""
}
if cloudBrainType == models.TypeCloudBrainAll {
if aiCenter == models.AICenterOfCloudBrainOne {
cloudBrainType = models.TypeCloudBrainOne
aiCenter = ""
}
if aiCenter == models.AICenterOfCloudBrainTwo {
cloudBrainType = models.TypeCloudBrainTwo
aiCenter = ""
}
if aiCenter == models.AICenterOfChengdu {
cloudBrainType = models.TypeCDCenter
aiCenter = ""
}
}

page := ctx.QueryInt("page")
pageSize := ctx.QueryInt("pagesize")


Loading…
Cancel
Save