@Controller @RequestMapping(value="/leave") public class UserLeaveController extends BaseController
Constructor and Description |
---|
UserLeaveController() |
Modifier and Type | Method and Description |
---|---|
String |
addLeave() |
JsonUtil |
addLeave(org.springframework.ui.Model model,
UserLeave userLeave) |
String |
agent(org.springframework.ui.Model model,
String taskId) |
JsonUtil |
complete(LeaveOpinion op,
javax.servlet.http.HttpServletRequest request) |
InputStream |
generateStream(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse resp,
String processInstanceId,
boolean needCurrent) |
void |
getProcImage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse resp,
String processInstanceId)
追踪图片成图
增加历史流程
|
String |
getShineProcImage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse resp,
String processInstanceId) |
String |
leaveDetail(org.springframework.ui.Model model,
String processId)
根据 执行对象id获取审批信息
|
String |
readOnlyLeave(org.springframework.ui.Model model,
String billId) |
String |
shinePics(org.springframework.ui.Model model,
String processInstanceId) |
ReType |
showLeaveList(org.springframework.ui.Model model,
UserLeave userLeave,
String page,
String limit) |
String |
showMain(org.springframework.ui.Model model) |
String |
showMain2(org.springframework.ui.Model model) |
String |
showTask(org.springframework.ui.Model model)
---------我的任务---------
|
String |
showTaskList(org.springframework.ui.Model model,
Task task,
String page,
String limit) |
String |
showUser(org.springframework.ui.Model model) |
String |
updateLeave(org.springframework.ui.Model model,
String taskId) |
JsonUtil |
updateLeave(UserLeave leave,
String taskId,
String id,
boolean flag) |
authorizationException, initBinder
@GetMapping(value="showMain") public String showMain(org.springframework.ui.Model model)
@GetMapping(value="showMain2") public String showMain2(org.springframework.ui.Model model)
@GetMapping(value="showLeave") public String showUser(org.springframework.ui.Model model)
@GetMapping(value="showLeaveList") @ResponseBody public ReType showLeaveList(org.springframework.ui.Model model, UserLeave userLeave, String page, String limit)
@GetMapping(value="leaveDetail") public String leaveDetail(org.springframework.ui.Model model, String processId)
model
- processId
- @GetMapping(value="addLeave") public String addLeave()
@GetMapping(value="updateLeave/{taskId}") public String updateLeave(org.springframework.ui.Model model, @PathVariable String taskId)
@PostMapping(value="updateLeave/updateLeave/{taskId}/{id}/{flag}") @ResponseBody public JsonUtil updateLeave(UserLeave leave, @PathVariable String taskId, @PathVariable String id, @PathVariable boolean flag)
@PostMapping(value="addLeave") @ResponseBody public JsonUtil addLeave(org.springframework.ui.Model model, UserLeave userLeave)
@GetMapping(value="readOnlyLeave/{billId}") public String readOnlyLeave(org.springframework.ui.Model model, @PathVariable String billId)
@GetMapping(value="showTask") public String showTask(org.springframework.ui.Model model)
@GetMapping(value="showTaskList") @ResponseBody public String showTaskList(org.springframework.ui.Model model, Task task, String page, String limit)
@GetMapping(value="agent/{id}") public String agent(org.springframework.ui.Model model, @PathVariable(value="id") String taskId)
@PostMapping(value="agent/complete") @ResponseBody public JsonUtil complete(LeaveOpinion op, javax.servlet.http.HttpServletRequest request)
@GetMapping(value="getProcImage") public void getProcImage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse resp, String processInstanceId) throws IOException
request
- resp
- processInstanceId
- IOException
@GetMapping(value="shinePics/{processInstanceId}") public String shinePics(org.springframework.ui.Model model, @PathVariable String processInstanceId)
@GetMapping(value="getShineProcImage") @ResponseBody public String getShineProcImage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse resp, String processInstanceId) throws IOException
IOException
public InputStream generateStream(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse resp, String processInstanceId, boolean needCurrent)
Copyright © 2019. All rights reserved.