Documentation ¶
Index ¶
- Constants
- func ApproveLeave(params *ApproveLeaveRequest) error
- func ConditionJudgeCallback(flowExecuteId string, conditionGroupId string) (bool, error)
- func CreateCustomForm(req *CreateWorkflowCustomFormParam) (string, error)
- func CreateCwsFlow(req *CreateCwsFlowParam) error
- func CreateDefaultCopyTo(req *CreateDefaultCopyToRequest) (string, error)
- func CreateLeave(params *CreateLeaveRequest) (string, error)
- func DeleteDefaultCopyTo(id string) error
- func DeleteWorkflow(req *ChangeWorkflowStateRequest) error
- func Destroy()
- func DisableWorkflow(req *ChangeWorkflowStateRequest) error
- func EnableWorkflow(req *ChangeWorkflowStateRequest) error
- func GetFlowExprOfExecute(req *GetFlowExprOfExecuteRequest) (string, error)
- func GetFlowExprOfWorkflow(req *GetFlowExprOfWorkflowRequest) (string, error)
- func GetWorkflowCatalogs() ([]string, error)
- func HasWaitingApproval(req *HasWaitingApprovalParam) (bool, error)
- func Init(baseUrl string, timeoutSec time.Duration)
- func LaunchWorkflow(req *LaunchWorkflowParam) error
- func NotifyHumanTaskCallback(req *HumanTaskNotifyRequest) error
- func PassApproval(req *PassApprovalRequest) error
- func RejectApproval(req *RejectApprovalRequest) error
- func RevokeLeave(params *RevokeLeaveRequest) error
- func SetWorkflowCommon(req *SetWorkflowCommonParam) error
- func SideEffectTaskCallback(flowExecuteId string, body []byte) error
- func TerminateWorkflow(req *TerminateFlowRequest) error
- func UpdateCustomForm(req *UpdateCustomFormParam) error
- func UpdateCwsFlow(req *UpdateCwsFlowParam) error
- func UpdateLeave(params *UpdateLeaveRequest) error
- func UploadFormPic(req *UploadFormPicRequest) (string, error)
- type ApplyInfo
- type ApprovalTask
- type ApproveInfo
- type ApproveLeaveRequest
- type ApproveLeaveResponse
- type AvailableWorkflow
- type AvailableWorkflowsPagingResult
- type ChangeWorkflowStateRequest
- type ChangeWorkflowStateResponse
- type Cond
- type CondGroup
- type ConditionJudgeResponse
- type Copy
- type CreateCustomFormResponse
- type CreateCwsFlowParam
- type CreateCwsFlowResponse
- type CreateDefaultCopyToRequest
- type CreateDefaultCopyToResponse
- type CreateLeaveRequest
- type CreateLeaveResponse
- type CreateWorkflowCustomFormParam
- type CustomForm
- type CustomFormAndValue
- type CustomFormField
- type DefaultCopyToEntity
- type DeleteDefaultCopyToResponse
- type FlowExecuteProgress
- type FlowNodeExecuteLog
- type FlowNodeItemExecuteLog
- type GetApproveQuery
- type GetAvailableWorkflowsRequest
- type GetAvailableWorkflowsResponse
- type GetCustomFormFieldsOfExecuteRequest
- type GetCustomTableFieldsRequest
- type GetCustomTableFieldsResponse
- type GetDefaultCopyToInfosRequest
- type GetDefaultCopyToInfosResponse
- type GetFlowExecuteLogQuery
- type GetFlowExecuteLogResponse
- type GetFlowExprOfExecuteRequest
- type GetFlowExprOfExecuteResponse
- type GetFlowExprOfWorkflowRequest
- type GetFlowExprOfWorkflowResponse
- type GetFormExprOfExecuteRequest
- type GetFormExprOfWorkflowExecuteResponse
- type GetFormExprOfWorkflowRequest
- type GetFormExprOfWorkflowResponse
- type GetLeaveOneQuery
- type GetLeaveOneResponse
- type GetLeavePageQuery
- type GetLeavePageResponse
- type GetMultiResponse
- type GetMyApprovalTaskParam
- type GetMyApprovalTaskResponse
- type GetMyCommonWorkflowParam
- type GetMyCommonWorkflowResponse
- type GetMyCopyParam
- type GetMyCopyResponse
- type GetOneResult
- type GetWorkflowCatalogsResponse
- type GetWorkflowExecutesRequest
- type GetWorkflowExecutesResponse
- type GetWorkflowsRequest
- type GetWorkflowsResponse
- type HasWaitingApprovalParam
- type HasWaitingApprovalResponse
- type HumanTaskNotifyRequest
- type HumanTaskNotifyResponse
- type LaunchWorkflowParam
- type LaunchWorkflowResponse
- type MyApproveQuery
- type MyApproveResponse
- type Node
- type PagingApprovalTask
- type PagingCopy
- type PagingDefaultCopyTo
- type PassApprovalRequest
- type PassApprovalResponse
- type RejectApprovalRequest
- type RejectApprovalResponse
- type RevokeLeaveRequest
- type RevokeLeaveResponse
- type SetWorkflowCommonParam
- type SetWorkflowCommonResponse
- type SideEffectTaskResponse
- type Subject
- type TerminateFlowRequest
- type TerminateFlowResponse
- type UpdateCustomFormParam
- type UpdateCustomFormResponse
- type UpdateCwsFlowParam
- type UpdateCwsFlowResponse
- type UpdateLeaveRequest
- type UpdateLeaveResponse
- type UploadFormPicRequest
- type UploadFormPicResponse
- type Workflow
- type WorkflowExecute
- type WorkflowExecutesPagingResult
- type WorkflowsPagingResult
Constants ¶
View Source
const (
GetLeavePageFormatMethodName = methodNamePrefix + "/leave/apply"
)
Variables ¶
This section is empty.
Functions ¶
func ApproveLeave ¶
func ApproveLeave(params *ApproveLeaveRequest) error
func ConditionJudgeCallback ¶ added in v0.9.55
func CreateCustomForm ¶ added in v0.9.5
func CreateCustomForm(req *CreateWorkflowCustomFormParam) (string, error)
func CreateCwsFlow ¶ added in v0.9.5
func CreateCwsFlow(req *CreateCwsFlowParam) error
func CreateDefaultCopyTo ¶ added in v0.8.8
func CreateDefaultCopyTo(req *CreateDefaultCopyToRequest) (string, error)
func CreateLeave ¶
func CreateLeave(params *CreateLeaveRequest) (string, error)
func DeleteDefaultCopyTo ¶ added in v0.8.8
func DeleteWorkflow ¶ added in v0.9.55
func DeleteWorkflow(req *ChangeWorkflowStateRequest) error
func DisableWorkflow ¶ added in v0.9.55
func DisableWorkflow(req *ChangeWorkflowStateRequest) error
func EnableWorkflow ¶ added in v0.9.55
func EnableWorkflow(req *ChangeWorkflowStateRequest) error
func GetFlowExprOfExecute ¶ added in v0.11.6
func GetFlowExprOfExecute(req *GetFlowExprOfExecuteRequest) (string, error)
func GetFlowExprOfWorkflow ¶ added in v0.9.50
func GetFlowExprOfWorkflow(req *GetFlowExprOfWorkflowRequest) (string, error)
func GetWorkflowCatalogs ¶ added in v0.13.57
func HasWaitingApproval ¶ added in v0.13.82
func HasWaitingApproval(req *HasWaitingApprovalParam) (bool, error)
func LaunchWorkflow ¶ added in v0.9.5
func LaunchWorkflow(req *LaunchWorkflowParam) error
func NotifyHumanTaskCallback ¶ added in v0.9.55
func NotifyHumanTaskCallback(req *HumanTaskNotifyRequest) error
func PassApproval ¶ added in v0.9.5
func PassApproval(req *PassApprovalRequest) error
func RejectApproval ¶ added in v0.9.5
func RejectApproval(req *RejectApprovalRequest) error
func RevokeLeave ¶
func RevokeLeave(params *RevokeLeaveRequest) error
func SetWorkflowCommon ¶ added in v0.13.62
func SetWorkflowCommon(req *SetWorkflowCommonParam) error
func SideEffectTaskCallback ¶ added in v0.9.55
func TerminateWorkflow ¶ added in v0.9.5
func TerminateWorkflow(req *TerminateFlowRequest) error
func UpdateCustomForm ¶ added in v0.9.5
func UpdateCustomForm(req *UpdateCustomFormParam) error
func UpdateCwsFlow ¶ added in v0.9.5
func UpdateCwsFlow(req *UpdateCwsFlowParam) error
func UpdateLeave ¶
func UpdateLeave(params *UpdateLeaveRequest) error
func UploadFormPic ¶ added in v0.12.25
func UploadFormPic(req *UploadFormPicRequest) (string, error)
Types ¶
type ApplyInfo ¶
type ApplyInfo struct { ID string `json:"id"` Type uint8 `json:"type"` StartTime string `json:"startTime"` EndTime string `json:"endTime"` Duration float32 `json:"duration"` Reason string `json:"reason"` CompanyID string `json:"CompanyId"` DeptID string `json:"deptId"` FlowLevel uint8 `json:"flowLevel"` Status uint8 `json:"status"` CurrApprovedMemberID string `json:"currApprovedMemberId"` ApplyMemberID string `json:"applyMemberId"` ApplyTime string `json:"applyTime"` }
func GetLeavePage ¶
func GetLeavePage(params *GetLeavePageQuery) ([]ApplyInfo, int64, float64, error)
type ApprovalTask ¶ added in v0.9.53
type ApprovalTask struct { Id string `json:"id"` ExecuteName string `json:"executeName"` WorkflowName string `json:"workflowName"` WorkflowExecuteId string `json:"workflowExecuteId"` CreatePersonName string `json:"createPersonName"` CreateTime string `json:"createTime"` State string `json:"state"` }
type ApproveInfo ¶
type ApproveInfo struct { ID string `json:"id"` ApplyID string `json:"applyId"` Type uint8 `json:"type"` Result uint8 `json:"result"` Remark string `json:"remark"` MemberID string `json:"MemberId"` CompanyID string `json:"companyId"` ExecTime string `json:"execTime"` ApplyMemberID string `json:"applyMemberId"` }
type ApproveLeaveRequest ¶
type ApproveLeaveRequest struct { ApplyID string `json:"applyId"` ApplyMemberID string `json:"applyMemberId"` CompanyID string `json:"companyId"` Level uint8 `json:"level"` ApproveMemberID string `json:"approveMemberId"` ApproveResult uint8 `json:"approveResult"` ApproveRemark string `json:"approveRemark"` }
type ApproveLeaveResponse ¶
type ApproveLeaveResponse struct {
// contains filtered or unexported fields
}
type AvailableWorkflow ¶ added in v0.13.62
type AvailableWorkflowsPagingResult ¶ added in v0.13.62
type AvailableWorkflowsPagingResult struct { PageNo int `json:"pageNo"` TotalCount int64 `json:"totalCount"` Workflows []AvailableWorkflow `json:"workflows"` }
func GetAvailableWorkflows ¶ added in v0.11.7
func GetAvailableWorkflows(req *GetAvailableWorkflowsRequest) (*AvailableWorkflowsPagingResult, error)
type ChangeWorkflowStateRequest ¶ added in v0.9.55
type ChangeWorkflowStateRequest struct {
WorkflowId string `json:"workflowId"`
}
禁用、启用、删除审批流的request
type ChangeWorkflowStateResponse ¶ added in v0.9.55
type ChangeWorkflowStateResponse struct {
// contains filtered or unexported fields
}
禁用、启用、删除审批流的response
type ConditionJudgeResponse ¶ added in v0.9.55
type ConditionJudgeResponse struct { Fit bool `json:"fit"` // contains filtered or unexported fields }
type CreateCustomFormResponse ¶ added in v0.9.5
type CreateCustomFormResponse struct { WorkflowId string `json:"workflowId"` // contains filtered or unexported fields }
type CreateCwsFlowParam ¶ added in v0.9.5
type CreateCwsFlowResponse ¶ added in v0.9.5
type CreateCwsFlowResponse struct {
// contains filtered or unexported fields
}
type CreateDefaultCopyToRequest ¶ added in v0.8.8
type CreateDefaultCopyToResponse ¶ added in v0.8.8
type CreateDefaultCopyToResponse struct { Id string `json:"id"` // contains filtered or unexported fields }
type CreateLeaveRequest ¶
type CreateLeaveRequest struct { ID string `json:"id"` Type uint8 `json:"type"` StartTime string `json:"startTime"` EndTime string `json:"endTime"` Duration float32 `json:"duration"` Reason string `json:"reason"` CompanyID string `json:"companyId"` DeptID string `json:"deptId"` ApplyMemberID string `json:"applyMemberId"` ApproveMemberIds string `json:"approveMemberIds"` CopyMemberIds string `json:"copyMemberIds"` }
type CreateLeaveResponse ¶
type CreateLeaveResponse struct { ID string `json:"id" binding:"required"` // contains filtered or unexported fields }
type CreateWorkflowCustomFormParam ¶ added in v0.9.5
type CustomForm ¶ added in v0.9.51
type CustomForm struct { WorkflowId string `json:"workflowId"` FormExpr string `json:"formExpr"` Version uint `json:"version"` }
func GetFormExprOfWorkflow ¶ added in v0.9.49
func GetFormExprOfWorkflow(req *GetFormExprOfWorkflowRequest) (*CustomForm, error)
type CustomFormAndValue ¶ added in v0.9.49
type CustomFormAndValue struct { FormExpr string `json:"formExpr"` FormValue string `json:"formValue"` }
func GetFormExprOfExecute ¶ added in v0.9.49
func GetFormExprOfExecute(req *GetFormExprOfExecuteRequest) (*CustomFormAndValue, error)
type CustomFormField ¶ added in v0.9.48
type CustomFormField struct { FieldName string `json:"fieldName"` FieldIdentity string `json:"fieldIdentity"` }
func GetCustomFormFieldsOfExecute ¶ added in v0.11.13
func GetCustomFormFieldsOfExecute(req *GetCustomFormFieldsOfExecuteRequest) ([]CustomFormField, error)
func GetCustomTableFields ¶ added in v0.9.48
func GetCustomTableFields(req *GetCustomTableFieldsRequest) ([]CustomFormField, error)
type DefaultCopyToEntity ¶ added in v0.8.8
type DeleteDefaultCopyToResponse ¶ added in v0.8.8
type DeleteDefaultCopyToResponse struct {
// contains filtered or unexported fields
}
type FlowExecuteProgress ¶ added in v0.9.5
type FlowExecuteProgress struct { FlowExecuteId string `json:"flowExecuteId"` ExecuteName string `json:"executeName"` StartTime string `json:"startTime"` StopTime string `json:"stopTime"` State string `json:"state"` ErrMsg string `json:"errMsg"` NodeExecuteLogs []*FlowNodeExecuteLog `json:"nodeExecuteLogs"` }
func GetWorkflowExecuteProgress ¶ added in v0.9.5
func GetWorkflowExecuteProgress(req *GetFlowExecuteLogQuery) (*FlowExecuteProgress, error)
type FlowNodeExecuteLog ¶ added in v0.9.5
type FlowNodeExecuteLog struct { FlowNodeName string `json:"flowNodeName"` NodeType uint8 `json:"nodeType"` CreateTime string `json:"createTime"` Remark string `json:"remark"` ItemExecuteLogs []*FlowNodeItemExecuteLog `json:"itemExecuteLogs"` }
type FlowNodeItemExecuteLog ¶ added in v0.9.5
type GetApproveQuery ¶
type GetAvailableWorkflowsRequest ¶ added in v0.13.62
type GetAvailableWorkflowsResponse ¶ added in v0.13.62
type GetAvailableWorkflowsResponse struct { Data *AvailableWorkflowsPagingResult `json:"data"` // contains filtered or unexported fields }
type GetCustomFormFieldsOfExecuteRequest ¶ added in v0.11.13
type GetCustomFormFieldsOfExecuteRequest struct {
WorkflowExecuteId string `form:"workflowExecuteId"`
}
type GetCustomTableFieldsRequest ¶ added in v0.9.48
type GetCustomTableFieldsRequest struct {
WorkflowId string `form:"workflowId"`
}
type GetCustomTableFieldsResponse ¶ added in v0.9.48
type GetCustomTableFieldsResponse struct { Fields []CustomFormField `json:"fields"` // contains filtered or unexported fields }
type GetDefaultCopyToInfosRequest ¶ added in v0.8.8
type GetDefaultCopyToInfosResponse ¶ added in v0.8.8
type GetDefaultCopyToInfosResponse struct { PagingDefaultCopyTo // contains filtered or unexported fields }
type GetFlowExecuteLogQuery ¶ added in v0.9.8
type GetFlowExecuteLogQuery struct {
FlowExecuteId string `form:"flowExecuteId"`
}
type GetFlowExecuteLogResponse ¶ added in v0.9.5
type GetFlowExecuteLogResponse struct { *FlowExecuteProgress // contains filtered or unexported fields }
type GetFlowExprOfExecuteRequest ¶ added in v0.11.6
type GetFlowExprOfExecuteRequest struct {
WorkflowExecuteId string `form:"workflowExecuteId"`
}
type GetFlowExprOfExecuteResponse ¶ added in v0.11.6
type GetFlowExprOfExecuteResponse struct { FlowExpr string `json:"flowExpr"` // contains filtered or unexported fields }
type GetFlowExprOfWorkflowRequest ¶ added in v0.9.50
type GetFlowExprOfWorkflowRequest struct {
WorkflowId string `form:"workflowId"`
}
type GetFlowExprOfWorkflowResponse ¶ added in v0.9.50
type GetFlowExprOfWorkflowResponse struct { FlowExpr string `json:"flowExpr"` // contains filtered or unexported fields }
type GetFormExprOfExecuteRequest ¶ added in v0.9.49
type GetFormExprOfExecuteRequest struct {
WorkflowExecuteId string `form:"workflowExecuteId"`
}
type GetFormExprOfWorkflowExecuteResponse ¶ added in v0.9.49
type GetFormExprOfWorkflowExecuteResponse struct { FormAndValue *CustomFormAndValue `json:"formAndValue"` // contains filtered or unexported fields }
type GetFormExprOfWorkflowRequest ¶ added in v0.9.49
type GetFormExprOfWorkflowRequest struct {
WorkflowId string `form:"workflowId"`
}
type GetFormExprOfWorkflowResponse ¶ added in v0.9.49
type GetFormExprOfWorkflowResponse struct { Form *CustomForm `json:"form"` // contains filtered or unexported fields }
type GetLeaveOneQuery ¶
type GetLeaveOneResponse ¶
type GetLeaveOneResponse struct { Info *GetOneResult // contains filtered or unexported fields }
type GetLeavePageQuery ¶
type GetLeavePageQuery struct { ID string `form:"id"` Type uint8 `form:"type"` Duration float64 `form:"duration"` CompanyID string `form:"companyId"` DeptID string `form:"deptId"` FlowLevel uint8 `form:"flowLevel"` Status string `form:"status"` CurrApprovedMemberID string `form:"currApprovedMemberId"` ApplyMemberID string `form:"applyMemberId"` PageNo int `form:"pageNo"` PageSize int `form:"pageSize"` }
type GetLeavePageResponse ¶
type GetMultiResponse ¶
type GetMultiResponse struct { Infos []GetOneResult // contains filtered or unexported fields }
type GetMyApprovalTaskParam ¶ added in v0.9.53
type GetMyApprovalTaskResponse ¶ added in v0.9.53
type GetMyApprovalTaskResponse struct { Data *PagingApprovalTask // contains filtered or unexported fields }
type GetMyCommonWorkflowParam ¶ added in v0.13.62
type GetMyCommonWorkflowResponse ¶ added in v0.13.62
type GetMyCommonWorkflowResponse struct { Data []Workflow `json:"data"` // contains filtered or unexported fields }
type GetMyCopyParam ¶ added in v0.9.55
type GetMyCopyResponse ¶ added in v0.9.55
type GetMyCopyResponse struct { Data *PagingCopy `json:"data"` // contains filtered or unexported fields }
type GetOneResult ¶
type GetOneResult struct { ApplyInfo *ApplyInfo ApproveInfos []ApproveInfo }
func GetLeaveCopy ¶
func GetLeaveCopy(params *GetApproveQuery) ([]GetOneResult, error)
func GetLeaveExec ¶
func GetLeaveExec(params *GetApproveQuery) ([]GetOneResult, error)
func GetLeaveOne ¶
func GetLeaveOne(params *GetLeaveOneQuery) (*GetOneResult, error)
func GetLeaveWait ¶
func GetLeaveWait(params *GetApproveQuery) ([]GetOneResult, error)
type GetWorkflowCatalogsResponse ¶ added in v0.13.57
type GetWorkflowCatalogsResponse struct { Data []string `json:"data"` // contains filtered or unexported fields }
type GetWorkflowExecutesRequest ¶ added in v0.9.50
type GetWorkflowExecutesResponse ¶ added in v0.9.50
type GetWorkflowExecutesResponse struct { Data *WorkflowExecutesPagingResult `json:"data"` // contains filtered or unexported fields }
type GetWorkflowsRequest ¶ added in v0.9.49
type GetWorkflowsResponse ¶ added in v0.9.49
type GetWorkflowsResponse struct { Data *WorkflowsPagingResult `json:"data"` // contains filtered or unexported fields }
type HasWaitingApprovalParam ¶ added in v0.13.82
type HasWaitingApprovalResponse ¶ added in v0.13.82
type HasWaitingApprovalResponse struct { HasWaitingTask bool `json:"hasWaitingTask"` // contains filtered or unexported fields }
type HumanTaskNotifyRequest ¶ added in v0.9.55
type HumanTaskNotifyResponse ¶ added in v0.9.55
type HumanTaskNotifyResponse struct {
// contains filtered or unexported fields
}
type LaunchWorkflowParam ¶ added in v0.9.5
type LaunchWorkflowParam struct { WorkflowId string `json:"workflowId"` ExecuteName string `json:"executeName"` CreatePersonId string `json:"createPersonId"` CreatePersonName string `json:"createPersonName"` FormJsonValue map[string]any `json:"formJsonValue"` FormVersion uint `json:"formVersion"` CompanyId string `json:"companyId"` }
type LaunchWorkflowResponse ¶ added in v0.9.5
type LaunchWorkflowResponse struct {
// contains filtered or unexported fields
}
type MyApproveQuery ¶ added in v0.9.35
type MyApproveResponse ¶ added in v0.9.35
type MyApproveResponse struct { TotalCount int64 `json:"totalCount"` PageNo int `json:"pageNo"` Applies []ApplyInfo `json:"applies"` // contains filtered or unexported fields }
func MyAwait ¶ added in v0.9.35
func MyAwait(req *MyApproveQuery) (*MyApproveResponse, error)
func MyCopy ¶ added in v0.9.35
func MyCopy(req *MyApproveQuery) (*MyApproveResponse, error)
func MyExec ¶ added in v0.9.35
func MyExec(req *MyApproveQuery) (*MyApproveResponse, error)
type Node ¶ added in v0.9.5
type Node struct { NodeName string `json:"nodeName"` NodeType int `json:"nodeType"` ApprovalType string `json:"approvalType"` //审批类型,只对审批节点有意义 Subjects []*Subject `json:"subjects"` //审批主体,只对审批节点有意义 Conditions CondGroup `json:"condGroup"` //条件组,只对条件节点有意义 ConditionNodes []*Node `json:"conditionNodes"` //条件节点,只对路由节点有意义 CopyTo []*Subject `json:"copyTo"` //抄送人ID,只对副作用节点有意义 ChildNode *Node `json:"childNode"` //下一节点,对所有节点都有意义 }
type PagingApprovalTask ¶ added in v0.9.53
type PagingApprovalTask struct { PageNo int `json:"pageNo"` TotalCount int64 `json:"totalCount"` Tasks []ApprovalTask `json:"tasks"` }
func GetMyApprovalTask ¶ added in v0.9.53
func GetMyApprovalTask(req *GetMyApprovalTaskParam) (*PagingApprovalTask, error)
type PagingCopy ¶ added in v0.9.55
type PagingCopy struct { PageNo int `json:"pageNo"` TotalCount int64 `json:"totalCount"` Tasks []Copy `json:"copies"` }
func GetMyCopy ¶ added in v0.9.55
func GetMyCopy(req *GetMyCopyParam) (*PagingCopy, error)
type PagingDefaultCopyTo ¶ added in v0.8.8
type PagingDefaultCopyTo struct { PageNo int `json:"pageNo"` Total int64 `json:"total"` Infos []DefaultCopyToEntity `json:"infos"` }
func GetDefaultCopyToInfos ¶ added in v0.8.8
func GetDefaultCopyToInfos(req *GetDefaultCopyToInfosRequest) (*PagingDefaultCopyTo, error)
type PassApprovalRequest ¶ added in v0.9.5
type PassApprovalResponse ¶ added in v0.9.5
type PassApprovalResponse struct {
// contains filtered or unexported fields
}
type RejectApprovalRequest ¶ added in v0.9.5
type RejectApprovalResponse ¶ added in v0.9.5
type RejectApprovalResponse struct {
// contains filtered or unexported fields
}
type RevokeLeaveRequest ¶
type RevokeLeaveRequest struct {
ID string `json:"id"`
}
type RevokeLeaveResponse ¶
type RevokeLeaveResponse struct {
// contains filtered or unexported fields
}
type SetWorkflowCommonParam ¶ added in v0.13.62
type SetWorkflowCommonResponse ¶ added in v0.13.62
type SetWorkflowCommonResponse struct {
// contains filtered or unexported fields
}
type SideEffectTaskResponse ¶ added in v0.9.55
type SideEffectTaskResponse struct {
// contains filtered or unexported fields
}
type TerminateFlowRequest ¶ added in v0.9.5
type TerminateFlowRequest struct {
FlowExecuteId string `json:"flowExecuteId"`
}
type TerminateFlowResponse ¶ added in v0.9.5
type TerminateFlowResponse struct {
// contains filtered or unexported fields
}
type UpdateCustomFormParam ¶ added in v0.9.5
type UpdateCustomFormResponse ¶ added in v0.9.5
type UpdateCustomFormResponse struct {
// contains filtered or unexported fields
}
type UpdateCwsFlowParam ¶ added in v0.9.5
type UpdateCwsFlowResponse ¶ added in v0.9.5
type UpdateCwsFlowResponse struct {
// contains filtered or unexported fields
}
type UpdateLeaveRequest ¶
type UpdateLeaveResponse ¶
type UpdateLeaveResponse struct {
// contains filtered or unexported fields
}
type UploadFormPicRequest ¶ added in v0.12.25
type UploadFormPicRequest struct {
Pic *multipart.FileHeader `form:"file"`
}
动态表单上层图片
type UploadFormPicResponse ¶ added in v0.12.25
type UploadFormPicResponse struct { Url string `json:"url"` // contains filtered or unexported fields }
type Workflow ¶ added in v0.9.49
type Workflow struct { ID string `json:"id"` Name string `json:"name"` State int `json:"state"` StateRemark string `json:"stateRemark"` CreateTime string `json:"createTime"` Catalog string `json:"catalog"` }
func GetMyCommonWorkflow ¶ added in v0.13.62
func GetMyCommonWorkflow(req *GetMyCommonWorkflowParam) ([]Workflow, error)
type WorkflowExecute ¶ added in v0.9.50
type WorkflowExecutesPagingResult ¶ added in v0.9.50
type WorkflowExecutesPagingResult struct { WorkflowExecutes []WorkflowExecute `json:"executes"` PageNo int `json:"pageNo"` TotalCount int64 `json:"totalCount"` }
func GetWorkflowExecutes ¶ added in v0.9.50
func GetWorkflowExecutes(req *GetWorkflowExecutesRequest) (*WorkflowExecutesPagingResult, error)
type WorkflowsPagingResult ¶ added in v0.9.49
type WorkflowsPagingResult struct { Workflows []Workflow `json:"workflows"` PageNo int `json:"pageNo"` TotalCount int64 `json:"totalCount"` }
func GetWorkflows ¶ added in v0.9.49
func GetWorkflows(req *GetWorkflowsRequest) (*WorkflowsPagingResult, error)
Click to show internal directories.
Click to hide internal directories.