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)
CreateCategory 创建工单分类
func (*CategoryGroupHandler) DeleteCategory ¶
func (h *CategoryGroupHandler) DeleteCategory(ctx *gin.Context)
DeleteCategory 删除工单分类
func (*CategoryGroupHandler) DetailCategory ¶
func (h *CategoryGroupHandler) DetailCategory(ctx *gin.Context)
DetailCategory 获取工单分类详情
func (*CategoryGroupHandler) ListCategory ¶
func (h *CategoryGroupHandler) ListCategory(ctx *gin.Context)
ListCategory 获取工单分类列表
func (*CategoryGroupHandler) RegisterRouters ¶
func (h *CategoryGroupHandler) RegisterRouters(server *gin.Engine)
func (*CategoryGroupHandler) UpdateCategory ¶
func (h *CategoryGroupHandler) UpdateCategory(ctx *gin.Context)
UpdateCategory 更新工单分类
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)
CreateFormDesign 创建表单设计
func (*FormDesignHandler) DeleteFormDesign ¶
func (h *FormDesignHandler) DeleteFormDesign(ctx *gin.Context)
DeleteFormDesign 删除表单设计
func (*FormDesignHandler) DetailFormDesign ¶
func (h *FormDesignHandler) DetailFormDesign(ctx *gin.Context)
DetailFormDesign 获取表单设计详情
func (*FormDesignHandler) ListFormDesign ¶
func (h *FormDesignHandler) ListFormDesign(ctx *gin.Context)
ListFormDesign 获取表单设计列表
func (*FormDesignHandler) RegisterRouters ¶
func (h *FormDesignHandler) RegisterRouters(server *gin.Engine)
func (*FormDesignHandler) UpdateFormDesign ¶
func (h *FormDesignHandler) UpdateFormDesign(ctx *gin.Context)
UpdateFormDesign 更新表单设计
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)
CreateInstanceComment 创建工单评论 CreateInstanceComment 创建工单评论
func (*InstanceCommentHandler) DeleteInstanceComment ¶
func (h *InstanceCommentHandler) DeleteInstanceComment(ctx *gin.Context)
DeleteInstanceComment 删除工单评论 DeleteInstanceComment 删除工单评论
func (*InstanceCommentHandler) GetInstanceComment ¶
func (h *InstanceCommentHandler) GetInstanceComment(ctx *gin.Context)
GetInstanceComment 获取工单评论详情 GetInstanceComment 获取工单评论详情
func (*InstanceCommentHandler) GetInstanceCommentsTree ¶
func (h *InstanceCommentHandler) GetInstanceCommentsTree(ctx *gin.Context)
GetInstanceCommentsTree 获取工单评论树结构 GetInstanceCommentsTree 获取工单评论树结构
func (*InstanceCommentHandler) ListInstanceComments ¶
func (h *InstanceCommentHandler) ListInstanceComments(ctx *gin.Context)
ListInstanceComments 获取工单评论列表 ListInstanceComments 获取工单评论列表
func (*InstanceCommentHandler) RegisterRouters ¶
func (h *InstanceCommentHandler) RegisterRouters(server *gin.Engine)
func (*InstanceCommentHandler) UpdateInstanceComment ¶
func (h *InstanceCommentHandler) UpdateInstanceComment(ctx *gin.Context)
UpdateInstanceComment 更新工单评论 UpdateInstanceComment 更新工单评论
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)
DetailInstanceFlow 获取工单流转记录详情 获取工单流转记录详情
func (*InstanceFlowHandler) ListInstanceFlows ¶
func (h *InstanceFlowHandler) ListInstanceFlows(ctx *gin.Context)
ListInstanceFlows 获取工单流转记录列表 获取工单流转记录列表
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)
CreateInstance 创建工单实例
func (*InstanceHandler) CreateInstanceFromTemplate ¶
func (h *InstanceHandler) CreateInstanceFromTemplate(ctx *gin.Context)
CreateInstanceFromTemplate 从模板创建工单实例
func (*InstanceHandler) DeleteInstance ¶
func (h *InstanceHandler) DeleteInstance(ctx *gin.Context)
DeleteInstance 删除工单实例
func (*InstanceHandler) DetailInstance ¶
func (h *InstanceHandler) DetailInstance(ctx *gin.Context)
DetailInstance 获取工单实例详情
func (*InstanceHandler) GetAvailableActions ¶
func (h *InstanceHandler) GetAvailableActions(ctx *gin.Context)
GetAvailableActions 获取可执行动作
func (*InstanceHandler) GetCurrentStep ¶
func (h *InstanceHandler) GetCurrentStep(ctx *gin.Context)
GetCurrentStep 获取当前步骤
func (*InstanceHandler) ListInstance ¶
func (h *InstanceHandler) ListInstance(ctx *gin.Context)
ListInstance 获取工单实例列表
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)
UpdateInstance 更新工单实例
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)
CreateInstanceTimeLine 创建工单时间线记录 CreateInstanceTimeLine 创建工单时间线记录
func (*InstanceTimeLineHandler) DetailInstanceTimeLine ¶
func (h *InstanceTimeLineHandler) DetailInstanceTimeLine(ctx *gin.Context)
DetailInstanceTimeLine 获取工单时间线记录详情 DetailInstanceTimeLine 获取工单时间线记录详情
func (*InstanceTimeLineHandler) ListInstanceTimeLine ¶
func (h *InstanceTimeLineHandler) ListInstanceTimeLine(ctx *gin.Context)
ListInstanceTimeLine 获取工单时间线记录列表 ListInstanceTimeLine 获取工单时间线记录列表
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)
CreateNotification 创建通知配置
func (*NotificationHandler) DeleteNotification ¶
func (h *NotificationHandler) DeleteNotification(ctx *gin.Context)
DeleteNotification 删除通知配置
func (*NotificationHandler) DetailNotification ¶
func (h *NotificationHandler) DetailNotification(ctx *gin.Context)
DetailNotification 获取通知配置详情
func (*NotificationHandler) GetAvailableChannels ¶
func (h *NotificationHandler) GetAvailableChannels(ctx *gin.Context)
GetAvailableChannels 获取可用的通知渠道
func (*NotificationHandler) GetSendLogs ¶
func (h *NotificationHandler) GetSendLogs(ctx *gin.Context)
GetSendLogs 获取通知发送日志
func (*NotificationHandler) ListNotification ¶
func (h *NotificationHandler) ListNotification(ctx *gin.Context)
ListNotification 获取通知配置列表
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)
UpdateNotification 更新通知配置
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)
CreateTemplate 创建模板
func (*TemplateHandler) DeleteTemplate ¶
func (h *TemplateHandler) DeleteTemplate(ctx *gin.Context)
DeleteTemplate 删除模板
func (*TemplateHandler) DetailTemplate ¶
func (h *TemplateHandler) DetailTemplate(ctx *gin.Context)
DetailTemplate 获取模板详情
func (*TemplateHandler) ListTemplate ¶
func (h *TemplateHandler) ListTemplate(ctx *gin.Context)
ListTemplate 获取模板列表
func (*TemplateHandler) RegisterRouters ¶
func (h *TemplateHandler) RegisterRouters(server *gin.Engine)
func (*TemplateHandler) UpdateTemplate ¶
func (h *TemplateHandler) UpdateTemplate(ctx *gin.Context)
UpdateTemplate 更新模板
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)
CreateWorkorderProcess 创建工单流程
func (*WorkorderProcessHandler) DeleteWorkorderProcess ¶
func (h *WorkorderProcessHandler) DeleteWorkorderProcess(ctx *gin.Context)
DeleteWorkorderProcess 删除工单流程
func (*WorkorderProcessHandler) DetailWorkorderProcess ¶
func (h *WorkorderProcessHandler) DetailWorkorderProcess(ctx *gin.Context)
DetailWorkorderProcess 获取工单流程详情
func (*WorkorderProcessHandler) ListWorkorderProcess ¶
func (h *WorkorderProcessHandler) ListWorkorderProcess(ctx *gin.Context)
ListWorkorderProcess 获取工单流程列表
func (*WorkorderProcessHandler) RegisterRouters ¶
func (h *WorkorderProcessHandler) RegisterRouters(server *gin.Engine)
func (*WorkorderProcessHandler) UpdateWorkorderProcess ¶
func (h *WorkorderProcessHandler) UpdateWorkorderProcess(ctx *gin.Context)
UpdateWorkorderProcess 更新工单流程