作者 唐旭辉

修改

@@ -36,6 +36,9 @@ func (c *AuditController) AuditList() { @@ -36,6 +36,9 @@ func (c *AuditController) AuditList() {
36 if err == nil && len(param.CreateTimeEndS) > 0 { 36 if err == nil && len(param.CreateTimeEndS) > 0 {
37 param.CreateTimeEnd = endTime.Unix() + 864399 37 param.CreateTimeEnd = endTime.Unix() + 864399
38 } 38 }
  39 + param.EnableStatus, _ = strconv.Atoi(param.EnableStatusS)
  40 + param.ReviewStatus, _ = strconv.Atoi(param.ReviewStatusS)
  41 + param.PublishStatus, _ = strconv.Atoi(param.PublishStatusS)
39 uid := c.GetUserId() 42 uid := c.GetUserId()
40 companyId := c.GetCompanyId() 43 companyId := c.GetCompanyId()
41 list, err := serveaudit.GetAuditList(param, companyId, uid) 44 list, err := serveaudit.GetAuditList(param, companyId, uid)
@@ -232,9 +232,12 @@ type RequestAuditList struct { @@ -232,9 +232,12 @@ type RequestAuditList struct {
232 RequestPageInfo 232 RequestPageInfo
233 ChanceTypeId int `json:"chance_type_id"` //一级分类 233 ChanceTypeId int `json:"chance_type_id"` //一级分类
234 TempalteId int `json:"template_id"` // 二级分类 234 TempalteId int `json:"template_id"` // 二级分类
235 - PublishStatus int `json:"publish_status"` //公开状态  
236 - ReviewStatus int `json:"review_status"` //  
237 - EnableStatus int `json:"enable_status"` //关闭状态 235 + PublishStatusS string `json:"publish_status"` //公开状态码字符串
  236 + PublishStatus int `json:"-"` //公开状态
  237 + ReviewStatus int `json:"-"` //
  238 + ReviewStatusS string `json:"review_status"` //
  239 + EnableStatus int `json:"-"` //关闭状态
  240 + EnableStatusS string `json:"enable_status"` //关闭状态
238 DepartmentID int `json:"department_id"` //提交部门 241 DepartmentID int `json:"department_id"` //提交部门
239 CreateTimeBegin int64 `json:"-"` // 242 CreateTimeBegin int64 `json:"-"` //
240 CreateTimeBeginS string `json:"create_time_begin"` 243 CreateTimeBeginS string `json:"create_time_begin"`