refactor(X-Pack): 数据填报界面优化

This commit is contained in:
ulleo 2024-08-29 16:29:45 +08:00
parent 405e0c1a52
commit 4ed0a389b0
2 changed files with 4 additions and 3 deletions

@ -1 +1 @@
Subproject commit 601d8c33f29ab0921b53a2847add0afdc7af9f90 Subproject commit 0b94df2af3e212aa0b6fee2e6b848818392c5b74

View File

@ -67,6 +67,7 @@ public interface DataFillingApi {
@PostMapping("/form/{formId}/batch-delete") @PostMapping("/form/{formId}/batch-delete")
void batchDeleteRowData(@PathVariable("formId") Long formId, @RequestBody List<Long> ids) throws Exception; void batchDeleteRowData(@PathVariable("formId") Long formId, @RequestBody List<Long> ids) throws Exception;
@DePermit({"#p0+':manage'"})
@PostMapping("/form/{formId}/rowData/save") @PostMapping("/form/{formId}/rowData/save")
DataFillFormTableDataResponse saveRowData(@PathVariable("formId") Long formId, @RequestBody Map<String, Object> data) throws Exception; DataFillFormTableDataResponse saveRowData(@PathVariable("formId") Long formId, @RequestBody Map<String, Object> data) throws Exception;
@ -105,8 +106,8 @@ public interface DataFillingApi {
@GetMapping("/sub-task/{id}/users/list/{type}") @GetMapping("/sub-task/{id}/users/list/{type}")
List<Map<String, Object>> listSubTaskUser(@PathVariable("id") Long id, @PathVariable("type") String type) throws Exception; List<Map<String, Object>> listSubTaskUser(@PathVariable("id") Long id, @PathVariable("type") String type) throws Exception;
@PostMapping("/user-task") @PostMapping("/user-task/page/{goPage}/{pageSize}")
List<DfUserTaskVo> listUserTask(@RequestBody DfUserTaskRequest request) throws Exception; IPage<DfUserTaskVo> listUserTask(@PathVariable("goPage") int goPage, @PathVariable("pageSize") int pageSize,@RequestBody DfUserTaskRequest request) throws Exception;
@GetMapping("/user-task/list/{id}") @GetMapping("/user-task/list/{id}")
DfUserTaskData listUserTaskData(@PathVariable("id") Long id) throws Exception; DfUserTaskData listUserTaskData(@PathVariable("id") Long id) throws Exception;