package response // DataApproveDetail 审批详情信息 type DataApproveDetail struct { Approve *DataApproveDetailItem `description:"审批信息"` ApproveFlowNodes []*DataApproveDetailNodes `description:"审批节点信息"` DataList []DataApproveDetailData `description:"指标/图表列表"` } // DataApproveDetailData 审批详情-报告信息 type DataApproveDetailData struct { DataId int `description:"数据ID"` DataName string `description:"数据名称"` DataCode string `description:"数据code"` DataClassifyId int `description:"数据所属分类id"` DataClassifyName string `description:"数据所属分类名称"` } // DataApproveDetailItem 审批详情-审批信息 type DataApproveDetailItem struct { DataApproveId int `description:"审批ID"` State int `description:"审批状态:1-待审批;2-已审批;3-已驳回;4-已撤回"` FlowId int `description:"审批流ID"` FlowVersion int `description:"审批流版本"` StartNodeId int `description:"开始节点ID"` CurrNodeId int `description:"当前节点ID"` ApplyUserId int `description:"申请人ID"` ApplyUserName string `description:"申请人姓名"` ApproveRemark string `description:"申请理由"` ApproveTime string `description:"审批时间"` CreateTime string `description:"创建时间"` ModifyTime string `description:"修改时间"` } // DataApproveDetailNodes 审批详情-节点信息 type DataApproveDetailNodes struct { DataApproveNodeId int `description:"看板审批节点ID"` DataApproveFlowId int `description:"看板审批流ID"` PrevNodeId int `description:"上一个节点ID(0为开始节点)"` NextNodeId int `description:"下一个节点ID(0为结束节点)"` NodeType int `description:"节点类型:0-审批;1-抄送"` ApproveType int `description:"审批类型:1-依次审批;2-会签;3-或签"` Users []*DataApproveDetailNodeUser `description:"审批人信息"` } // DataApproveDetailNodeUser 审批详情-节点用户信息 type DataApproveDetailNodeUser struct { DataApproveNodeUserReq ApproveRecord *DataApproveDetailNodeUserRecord `description:"用户审批记录"` } // DataApproveNodeUserReq 报告审批节点用户请求体 type DataApproveNodeUserReq struct { UserType string `description:"审批人类型: user-用户; role-角色"` UserId int `description:"用户/角色ID"` UserName string `description:"用户/角色姓名"` Sort int `description:"排序"` } // DataApproveDetailNodeUserRecord 审批详情-节点用户审批记录 type DataApproveDetailNodeUserRecord struct { DataApproveRecordId int `description:"审批记录ID"` State int `description:"审批状态:1-待审批;2-已审批;3-已驳回;4-已撤回"` ApproveUserId int `description:"审批人ID"` ApproveUserName string `description:"审批人姓名"` ApproveRemark string `description:"审批备注"` ApproveTime string `description:"审批时间"` } type DataApproveItemOrmResp struct { DataApproveId int `description:"审批ID"` DataApproveRecordId int `description:"审批记录ID"` Title string `description:"审批标题"` DataType int `description:"自查类型"` State int `description:"审批状态:1-待审批;2-已审批;3-已驳回;4-已撤回"` RecordState int `description:"审批记录状态:1-待审批;2-已通过;3-已驳回"` FlowId int `description:"审批流ID"` FlowVersion int `description:"审批流版本"` StartNodeId int `description:"开始节点ID"` CurrNodeId int `description:"当前节点ID"` ApplyUserId int `description:"申请人ID"` ApplyUserName string `description:"申请人姓名"` ApproveRemark string `description:"审批备注"` ApproveTime string `description:"审批时间"` HandleTime string `description:"处理时间"` CreateTime string `description:"创建时间"` ModifyTime string `description:"修改时间"` NodeState int `description:"当前节点审批状态:1-待审批;2-已审批;3-已驳回;4-已撤回" json:"-"` NodeApproveTime string `description:"当前节点审批时间" json:"-"` }