constant.go 748 B

123456789101112131415161718192021222324252627282930
  1. package knowledge_approve
  2. // 看板状态
  3. const (
  4. KnowledgeStateUnpublished = 0 // 未公开
  5. KnowledgeStateWaitApprove = 2 // 待审批
  6. KnowledgeStateRefused = 3 // 已驳回
  7. KnowledgeStatePass = 4 // 已通过
  8. )
  9. // 节点审批方式
  10. const (
  11. NodeApproveTypeRoll = 1 // 依次审批
  12. NodeApproveTypeAll = 2 // 会签
  13. NodeApproveTypeAny = 3 // 或签
  14. )
  15. // 节点审批人类型
  16. const (
  17. NodeUserTypeNormal = "user" // 用户
  18. NodeUserTypeRole = "role" // 角色
  19. )
  20. // 报告审批状态
  21. const (
  22. KnowledgeResourceApproveStateApproving = 1 // 待审批
  23. KnowledgeResourceApproveStatePass = 2 // 已审批
  24. KnowledgeResourceApproveStateRefuse = 3 // 已驳回
  25. KnowledgeResourceApproveStateCancel = 4 // 已撤销
  26. )