Documentation
¶
Index ¶
- type CategoryGroupHandler
- func (h *CategoryGroupHandler) CreateCategory(ctx *gin.Context)
- func (h *CategoryGroupHandler) DeleteCategory(ctx *gin.Context)
- func (h *CategoryGroupHandler) DetailCategory(ctx *gin.Context)
- func (h *CategoryGroupHandler) ListCategory(ctx *gin.Context)
- func (h *CategoryGroupHandler) RegisterRouters(server *gin.Engine)
- func (h *CategoryGroupHandler) UpdateCategory(ctx *gin.Context)
- type FormDesignHandler
- func (h *FormDesignHandler) CreateFormDesign(ctx *gin.Context)
- func (h *FormDesignHandler) DeleteFormDesign(ctx *gin.Context)
- func (h *FormDesignHandler) DetailFormDesign(ctx *gin.Context)
- func (h *FormDesignHandler) ListFormDesign(ctx *gin.Context)
- func (h *FormDesignHandler) RegisterRouters(server *gin.Engine)
- func (h *FormDesignHandler) UpdateFormDesign(ctx *gin.Context)
- type InstanceCommentHandler
- func (h *InstanceCommentHandler) CreateInstanceComment(ctx *gin.Context)
- func (h *InstanceCommentHandler) DeleteInstanceComment(ctx *gin.Context)
- func (h *InstanceCommentHandler) GetInstanceComment(ctx *gin.Context)
- func (h *InstanceCommentHandler) GetInstanceCommentsTree(ctx *gin.Context)
- func (h *InstanceCommentHandler) ListInstanceComments(ctx *gin.Context)
- func (h *InstanceCommentHandler) RegisterRouters(server *gin.Engine)
- func (h *InstanceCommentHandler) UpdateInstanceComment(ctx *gin.Context)
- type InstanceFlowHandler
- type InstanceHandler
- func (h *InstanceHandler) ApproveInstance(ctx *gin.Context)
- func (h *InstanceHandler) AssignInstance(ctx *gin.Context)
- func (h *InstanceHandler) CancelInstance(ctx *gin.Context)
- func (h *InstanceHandler) CompleteInstance(ctx *gin.Context)
- func (h *InstanceHandler) CreateInstance(ctx *gin.Context)
- func (h *InstanceHandler) CreateInstanceFromTemplate(ctx *gin.Context)
- func (h *InstanceHandler) DeleteInstance(ctx *gin.Context)
- func (h *InstanceHandler) DetailInstance(ctx *gin.Context)
- func (h *InstanceHandler) GetAvailableActions(ctx *gin.Context)
- func (h *InstanceHandler) GetCurrentStep(ctx *gin.Context)
- func (h *InstanceHandler) ListInstance(ctx *gin.Context)
- func (h *InstanceHandler) RegisterRouters(server *gin.Engine)
- func (h *InstanceHandler) RejectInstance(ctx *gin.Context)
- func (h *InstanceHandler) ReturnInstance(ctx *gin.Context)
- func (h *InstanceHandler) SubmitInstance(ctx *gin.Context)
- func (h *InstanceHandler) UpdateInstance(ctx *gin.Context)
- type InstanceTimeLineHandler
- type NotificationHandler
- func (h *NotificationHandler) CreateNotification(ctx *gin.Context)
- func (h *NotificationHandler) DeleteNotification(ctx *gin.Context)
- func (h *NotificationHandler) DetailNotification(ctx *gin.Context)
- func (h *NotificationHandler) GetAvailableChannels(ctx *gin.Context)
- func (h *NotificationHandler) GetSendLogs(ctx *gin.Context)
- func (h *NotificationHandler) ListNotification(ctx *gin.Context)
- func (h *NotificationHandler) RegisterRouters(server *gin.Engine)
- func (h *NotificationHandler) SendNotificationManually(ctx *gin.Context)
- func (h *NotificationHandler) TestSendNotification(ctx *gin.Context)
- func (h *NotificationHandler) UpdateNotification(ctx *gin.Context)
- type TemplateHandler
- func (h *TemplateHandler) CreateTemplate(ctx *gin.Context)
- func (h *TemplateHandler) DeleteTemplate(ctx *gin.Context)
- func (h *TemplateHandler) DetailTemplate(ctx *gin.Context)
- func (h *TemplateHandler) ListTemplate(ctx *gin.Context)
- func (h *TemplateHandler) RegisterRouters(server *gin.Engine)
- func (h *TemplateHandler) UpdateTemplate(ctx *gin.Context)
- type WorkorderProcessHandler
- func (h *WorkorderProcessHandler) CreateWorkorderProcess(ctx *gin.Context)
- func (h *WorkorderProcessHandler) DeleteWorkorderProcess(ctx *gin.Context)
- func (h *WorkorderProcessHandler) DetailWorkorderProcess(ctx *gin.Context)
- func (h *WorkorderProcessHandler) ListWorkorderProcess(ctx *gin.Context)
- func (h *WorkorderProcessHandler) RegisterRouters(server *gin.Engine)
- func (h *WorkorderProcessHandler) UpdateWorkorderProcess(ctx *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CategoryGroupHandler ¶
type CategoryGroupHandler struct {
// contains filtered or unexported fields
}
func NewCategoryGroupHandler ¶
func NewCategoryGroupHandler(service service.CategoryGroupService) *CategoryGroupHandler
func (*CategoryGroupHandler) CreateCategory ¶
func (h *CategoryGroupHandler) CreateCategory(ctx *gin.Context)
func (*CategoryGroupHandler) DeleteCategory ¶
func (h *CategoryGroupHandler) DeleteCategory(ctx *gin.Context)
func (*CategoryGroupHandler) DetailCategory ¶
func (h *CategoryGroupHandler) DetailCategory(ctx *gin.Context)
func (*CategoryGroupHandler) ListCategory ¶
func (h *CategoryGroupHandler) ListCategory(ctx *gin.Context)
func (*CategoryGroupHandler) RegisterRouters ¶
func (h *CategoryGroupHandler) RegisterRouters(server *gin.Engine)
func (*CategoryGroupHandler) UpdateCategory ¶
func (h *CategoryGroupHandler) UpdateCategory(ctx *gin.Context)
type FormDesignHandler ¶
type FormDesignHandler struct {
// contains filtered or unexported fields
}
func NewFormDesignHandler ¶
func NewFormDesignHandler(service service.FormDesignService) *FormDesignHandler
func (*FormDesignHandler) CreateFormDesign ¶
func (h *FormDesignHandler) CreateFormDesign(ctx *gin.Context)
func (*FormDesignHandler) DeleteFormDesign ¶
func (h *FormDesignHandler) DeleteFormDesign(ctx *gin.Context)
func (*FormDesignHandler) DetailFormDesign ¶
func (h *FormDesignHandler) DetailFormDesign(ctx *gin.Context)
func (*FormDesignHandler) ListFormDesign ¶
func (h *FormDesignHandler) ListFormDesign(ctx *gin.Context)
func (*FormDesignHandler) RegisterRouters ¶
func (h *FormDesignHandler) RegisterRouters(server *gin.Engine)
func (*FormDesignHandler) UpdateFormDesign ¶
func (h *FormDesignHandler) UpdateFormDesign(ctx *gin.Context)
type InstanceCommentHandler ¶
type InstanceCommentHandler struct {
// contains filtered or unexported fields
}
func NewInstanceCommentHandler ¶
func NewInstanceCommentHandler(commentService service.InstanceCommentService) *InstanceCommentHandler
func (*InstanceCommentHandler) CreateInstanceComment ¶
func (h *InstanceCommentHandler) CreateInstanceComment(ctx *gin.Context)
func (*InstanceCommentHandler) DeleteInstanceComment ¶
func (h *InstanceCommentHandler) DeleteInstanceComment(ctx *gin.Context)
func (*InstanceCommentHandler) GetInstanceComment ¶
func (h *InstanceCommentHandler) GetInstanceComment(ctx *gin.Context)
func (*InstanceCommentHandler) GetInstanceCommentsTree ¶
func (h *InstanceCommentHandler) GetInstanceCommentsTree(ctx *gin.Context)
func (*InstanceCommentHandler) ListInstanceComments ¶
func (h *InstanceCommentHandler) ListInstanceComments(ctx *gin.Context)
func (*InstanceCommentHandler) RegisterRouters ¶
func (h *InstanceCommentHandler) RegisterRouters(server *gin.Engine)
func (*InstanceCommentHandler) UpdateInstanceComment ¶
func (h *InstanceCommentHandler) UpdateInstanceComment(ctx *gin.Context)
type InstanceFlowHandler ¶
type InstanceFlowHandler struct {
// contains filtered or unexported fields
}
func NewInstanceFlowHandler ¶
func NewInstanceFlowHandler(flowService service.InstanceFlowService) *InstanceFlowHandler
func (*InstanceFlowHandler) DetailInstanceFlow ¶
func (h *InstanceFlowHandler) DetailInstanceFlow(ctx *gin.Context)
func (*InstanceFlowHandler) ListInstanceFlows ¶
func (h *InstanceFlowHandler) ListInstanceFlows(ctx *gin.Context)
func (*InstanceFlowHandler) RegisterRouters ¶
func (h *InstanceFlowHandler) RegisterRouters(server *gin.Engine)
type InstanceHandler ¶
type InstanceHandler struct {
// contains filtered or unexported fields
}
func NewInstanceHandler ¶
func NewInstanceHandler(service service.InstanceService) *InstanceHandler
func (*InstanceHandler) ApproveInstance ¶
func (h *InstanceHandler) ApproveInstance(ctx *gin.Context)
ApproveInstance 审批通过工单
func (*InstanceHandler) AssignInstance ¶
func (h *InstanceHandler) AssignInstance(ctx *gin.Context)
AssignInstance 指派工单
func (*InstanceHandler) CancelInstance ¶
func (h *InstanceHandler) CancelInstance(ctx *gin.Context)
CancelInstance 取消工单
func (*InstanceHandler) CompleteInstance ¶
func (h *InstanceHandler) CompleteInstance(ctx *gin.Context)
CompleteInstance 完成工单
func (*InstanceHandler) CreateInstance ¶
func (h *InstanceHandler) CreateInstance(ctx *gin.Context)
func (*InstanceHandler) CreateInstanceFromTemplate ¶
func (h *InstanceHandler) CreateInstanceFromTemplate(ctx *gin.Context)
func (*InstanceHandler) DeleteInstance ¶
func (h *InstanceHandler) DeleteInstance(ctx *gin.Context)
func (*InstanceHandler) DetailInstance ¶
func (h *InstanceHandler) DetailInstance(ctx *gin.Context)
func (*InstanceHandler) GetAvailableActions ¶
func (h *InstanceHandler) GetAvailableActions(ctx *gin.Context)
func (*InstanceHandler) GetCurrentStep ¶
func (h *InstanceHandler) GetCurrentStep(ctx *gin.Context)
func (*InstanceHandler) ListInstance ¶
func (h *InstanceHandler) ListInstance(ctx *gin.Context)
func (*InstanceHandler) RegisterRouters ¶
func (h *InstanceHandler) RegisterRouters(server *gin.Engine)
func (*InstanceHandler) RejectInstance ¶
func (h *InstanceHandler) RejectInstance(ctx *gin.Context)
RejectInstance 拒绝工单
func (*InstanceHandler) ReturnInstance ¶
func (h *InstanceHandler) ReturnInstance(ctx *gin.Context)
ReturnInstance 退回工单
func (*InstanceHandler) SubmitInstance ¶
func (h *InstanceHandler) SubmitInstance(ctx *gin.Context)
SubmitInstance 提交工单
func (*InstanceHandler) UpdateInstance ¶
func (h *InstanceHandler) UpdateInstance(ctx *gin.Context)
type InstanceTimeLineHandler ¶
type InstanceTimeLineHandler struct {
// contains filtered or unexported fields
}
func NewInstanceTimeLineHandler ¶
func NewInstanceTimeLineHandler(service service.WorkorderInstanceTimeLineService) *InstanceTimeLineHandler
func (*InstanceTimeLineHandler) CreateInstanceTimeLine ¶
func (h *InstanceTimeLineHandler) CreateInstanceTimeLine(ctx *gin.Context)
func (*InstanceTimeLineHandler) DetailInstanceTimeLine ¶
func (h *InstanceTimeLineHandler) DetailInstanceTimeLine(ctx *gin.Context)
func (*InstanceTimeLineHandler) ListInstanceTimeLine ¶
func (h *InstanceTimeLineHandler) ListInstanceTimeLine(ctx *gin.Context)
func (*InstanceTimeLineHandler) RegisterRouters ¶
func (h *InstanceTimeLineHandler) RegisterRouters(server *gin.Engine)
type NotificationHandler ¶
type NotificationHandler struct {
// contains filtered or unexported fields
}
func NewNotificationHandler ¶
func NewNotificationHandler(service service.WorkorderNotificationService) *NotificationHandler
func (*NotificationHandler) CreateNotification ¶
func (h *NotificationHandler) CreateNotification(ctx *gin.Context)
func (*NotificationHandler) DeleteNotification ¶
func (h *NotificationHandler) DeleteNotification(ctx *gin.Context)
func (*NotificationHandler) DetailNotification ¶
func (h *NotificationHandler) DetailNotification(ctx *gin.Context)
func (*NotificationHandler) GetAvailableChannels ¶
func (h *NotificationHandler) GetAvailableChannels(ctx *gin.Context)
func (*NotificationHandler) GetSendLogs ¶
func (h *NotificationHandler) GetSendLogs(ctx *gin.Context)
func (*NotificationHandler) ListNotification ¶
func (h *NotificationHandler) ListNotification(ctx *gin.Context)
func (*NotificationHandler) RegisterRouters ¶
func (h *NotificationHandler) RegisterRouters(server *gin.Engine)
func (*NotificationHandler) SendNotificationManually ¶
func (h *NotificationHandler) SendNotificationManually(ctx *gin.Context)
SendNotificationManually 手动发送通知
func (*NotificationHandler) TestSendNotification ¶
func (h *NotificationHandler) TestSendNotification(ctx *gin.Context)
TestSendNotification 测试发送通知
func (*NotificationHandler) UpdateNotification ¶
func (h *NotificationHandler) UpdateNotification(ctx *gin.Context)
type TemplateHandler ¶
type TemplateHandler struct {
// contains filtered or unexported fields
}
func NewTemplateHandler ¶
func NewTemplateHandler(service service.WorkorderTemplateService) *TemplateHandler
func (*TemplateHandler) CreateTemplate ¶
func (h *TemplateHandler) CreateTemplate(ctx *gin.Context)
func (*TemplateHandler) DeleteTemplate ¶
func (h *TemplateHandler) DeleteTemplate(ctx *gin.Context)
func (*TemplateHandler) DetailTemplate ¶
func (h *TemplateHandler) DetailTemplate(ctx *gin.Context)
func (*TemplateHandler) ListTemplate ¶
func (h *TemplateHandler) ListTemplate(ctx *gin.Context)
func (*TemplateHandler) RegisterRouters ¶
func (h *TemplateHandler) RegisterRouters(server *gin.Engine)
func (*TemplateHandler) UpdateTemplate ¶
func (h *TemplateHandler) UpdateTemplate(ctx *gin.Context)
type WorkorderProcessHandler ¶
type WorkorderProcessHandler struct {
// contains filtered or unexported fields
}
func NewWorkorderProcessHandler ¶
func NewWorkorderProcessHandler(service service.WorkorderProcessService) *WorkorderProcessHandler
func (*WorkorderProcessHandler) CreateWorkorderProcess ¶
func (h *WorkorderProcessHandler) CreateWorkorderProcess(ctx *gin.Context)
func (*WorkorderProcessHandler) DeleteWorkorderProcess ¶
func (h *WorkorderProcessHandler) DeleteWorkorderProcess(ctx *gin.Context)
func (*WorkorderProcessHandler) DetailWorkorderProcess ¶
func (h *WorkorderProcessHandler) DetailWorkorderProcess(ctx *gin.Context)
func (*WorkorderProcessHandler) ListWorkorderProcess ¶
func (h *WorkorderProcessHandler) ListWorkorderProcess(ctx *gin.Context)
func (*WorkorderProcessHandler) RegisterRouters ¶
func (h *WorkorderProcessHandler) RegisterRouters(server *gin.Engine)
func (*WorkorderProcessHandler) UpdateWorkorderProcess ¶
func (h *WorkorderProcessHandler) UpdateWorkorderProcess(ctx *gin.Context)
Click to show internal directories.
Click to hide internal directories.