| | |
| | | } |
| | | |
| | | |
| | | @GetMapping("/detail/{projectId}/{processId}") |
| | | @PostMapping("/detail") |
| | | @ApiOperation(value = "获取项目流程详情信息", notes = "获取项目流程详情信息") |
| | | // @PreAuthorize("@ss.hasPermi('projectProcess:detail')") |
| | | public Result detail(ProjectProcessForm form) { |
| | | public Result detail(@RequestBody ProjectProcessForm form) { |
| | | return projectProcessService.detail(form); |
| | | } |
| | | |
| | |
| | | return projectProcessService.taskJump(form); |
| | | } |
| | | |
| | | @PostMapping("/detail/task/wait") |
| | | @ApiOperation(value = "容缺任务", notes = "容缺任务,不带表单数据的完成任务") |
| | | // @PreAuthorize("@ss.hasPermi('projectProcess:detail')") |
| | | public Result taskWait(@RequestBody TaskWaitForm form) { |
| | | return projectProcessService.taskWait(form); |
| | | } |
| | | |
| | | @GetMapping("/to_do_task") |
| | | @ApiOperation(value = "分页", notes = "分页") |
| | | // @PreAuthorize("@ss.hasPermi('projectProcess:page')") |
| | |
| | | return result; |
| | | } |
| | | |
| | | @GetMapping("/wait_task") |
| | | @ApiOperation(value = "分页", notes = "分页") |
| | | // @PreAuthorize("@ss.hasPermi('projectProcess:page')") |
| | | public Result getWaitTask(ProjectProcessQuery query) { |
| | | Result result = Result.ok(); |
| | | projectProcessService.getIndexWaitTask("", (int) query.getPageSize(), (int) query.getCurrentPage(), result); |
| | | return result; |
| | | } |
| | | |
| | | @GetMapping("/detail-by-process_ins_id") |
| | | @ApiOperation(value = "获取详情", notes = "获取详情") |
| | | // @PreAuthorize("@ss.hasPermi('projectProcess:detail')") |