Documentation ¶
Index ¶
- func CheckInputForUpdateTaskView(input *vo.UpdateIssueViewReq) *vo.UpdateIssueViewReq
- func CheckIssueViewAuthForCreate(orgId, userId, projectId int64, isPrivate bool) errs.SystemErrorInfo
- func CheckIssueViewAuthForUpdate(orgId, userId, projectId int64, oldView *po.PpmPriIssueView, ...) errs.SystemErrorInfo
- func CreateTaskView(orgId, userId int64, input *vo.CreateIssueViewReq) (*vo.GetIssueViewListItem, errs.SystemErrorInfo)
- func DeleteTaskView(orgId, userId, viewId int64) (*vo.Void, errs.SystemErrorInfo)
- func GetTaskViewList(orgId, userId int64, input *vo.GetIssueViewListReq) (*vo.GetIssueViewListResp, errs.SystemErrorInfo)
- func UpdateTaskView(orgId, userId int64, input *vo.UpdateIssueViewReq) (*vo.Void, errs.SystemErrorInfo)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckInputForUpdateTaskView ¶
func CheckInputForUpdateTaskView(input *vo.UpdateIssueViewReq) *vo.UpdateIssueViewReq
func CheckIssueViewAuthForCreate ¶
func CheckIssueViewAuthForCreate(orgId, userId, projectId int64, isPrivate bool) errs.SystemErrorInfo
func CheckIssueViewAuthForUpdate ¶
func CheckIssueViewAuthForUpdate(orgId, userId, projectId int64, oldView *po.PpmPriIssueView, input *vo.UpdateIssueViewReq) errs.SystemErrorInfo
func CreateTaskView ¶
func CreateTaskView(orgId, userId int64, input *vo.CreateIssueViewReq) (*vo.GetIssueViewListItem, errs.SystemErrorInfo)
创建视图 项目参与人可以创建私有视图 公有视图只能项目负责人才能创建。
func DeleteTaskView ¶
func DeleteTaskView(orgId, userId, viewId int64) (*vo.Void, errs.SystemErrorInfo)
func GetTaskViewList ¶
func GetTaskViewList(orgId, userId int64, input *vo.GetIssueViewListReq) (*vo.GetIssueViewListResp, errs.SystemErrorInfo)
获取我的视图列表。在这里封装一下默认条件。
func UpdateTaskView ¶
func UpdateTaskView(orgId, userId int64, input *vo.UpdateIssueViewReq) (*vo.Void, errs.SystemErrorInfo)
更新任务视图 公共视图:项目负责人、管理员才能更新;私有视图:自己可以更新。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.