mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-25 09:06:34 +08:00
feat: 工单流程新增ai任务,支持退回、数据导出支持excel、其他优化等
This commit is contained in:
@@ -96,7 +96,11 @@ func (p *ProcinstTask) RejectTask(rc *req.Ctx) {
|
||||
func (p *ProcinstTask) BackTask(rc *req.Ctx) {
|
||||
auditForm := req.BindJson[*form.ProcinstTaskAudit](rc)
|
||||
rc.ReqParam = auditForm
|
||||
biz.ErrIsNil(p.procinstTaskApp.BackTask(rc.MetaCtx, dto.UserTaskOp{TaskId: auditForm.Id, Remark: auditForm.Remark}))
|
||||
|
||||
la := rc.GetLoginAccount()
|
||||
op := dto.UserTaskOp{TaskId: auditForm.Id, Remark: auditForm.Remark, Handler: la.Username}
|
||||
op.Candidate = p.GetLaCandidates(la)
|
||||
biz.ErrIsNil(p.procinstTaskApp.BackTask(rc.MetaCtx, op))
|
||||
}
|
||||
|
||||
func (p *ProcinstTask) GetLaCandidates(la *model.LoginAccount) []string {
|
||||
|
||||
Reference in New Issue
Block a user