package qual import ( "github.com/flipped-aurora/gin-vue-admin/server/commonus" "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" "github.com/gin-gonic/gin" ) //企业微信回调 type ApiGroup struct { } //入口 func (a *ApiGroup) Index(c *gin.Context) { outPut := commonus.MapOut() response.Result(0, outPut, "定性审批端获取成功", c) } //审批参数 type ApprovalParameters struct { OrderId string `json:"orderid"` //流程单KEY YesOrNo int `json:"yesorno"` //1:同意;2:驳回 Content string `json:"content"` //审批意见 } type orderIdOrNumber struct { OrderId string `json:"id"` //流程单KEY Number string `json:"number"` //1:同意;2:驳回 } type DivisionPeople struct { orderIdOrNumber UserList []DivisionResponsibilityUsers `json:"userlist"` //责任人 } type DivisionResponsibilityUsers struct { Type int `json:"type"` //责任类型(1、主要责任人;2、互保责任人;3、责任班组;4、责任班组长;5、主管;6、三大员;7、厂长;8、主任) UserKey []string `json:"userkey"` //责任人key // UserName string `json:"username"` //责任人姓名 Weight int64 `json:"weight"` //权重 } type MainResponsiblePersonType struct { UserKey int64 `json:"userkey"` Department int64 `json:"department"` Group int64 `json:"group"` WorkshopId int64 `json:"workshopid"` Tema int64 `json:"tema"` Weight int64 `json:"weight"` } type AmendType struct { orderIdOrNumber Content string `json:"content"` //整改内容 Enclosure []commonus.EnclosureFormat `json:"enclosure"` //附件 }