zwxi hai 5 meses
pai
achega
a313e26d45
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      controllers/bi_dashboard.go

+ 3 - 1
controllers/bi_dashboard.go

@@ -885,10 +885,12 @@ func (this *BIDaShboardController) Public() {
 			br.ErrMsg = "提交审批失败, Err: " + err.Error()
 			return
 		}
+		item.State = 4
+	} else {
+		item.State = 6
 	}
 	
 	item.BiDashboardClassifyId = req.ClassifyId
-	item.State = 4
 
 	err = bi_dashboard.EditDashboard(item)
 	if err != nil {