法规清单--带入相关人员(修改请求方式为post)

This commit is contained in:
zhn
2022-08-25 14:38:09 +08:00
parent 95e0d4cc43
commit b60f0312e7
2 changed files with 3 additions and 3 deletions
@@ -220,8 +220,8 @@ public class ProjectLawsInventoryEOController extends JeroController<ProjectLaws
*/ */
@AutoLog(value = "项目库-法规清单表-匹配相关人员") @AutoLog(value = "项目库-法规清单表-匹配相关人员")
@ApiOperation(value="项目库-法规清单表-匹配相关人员", notes="项目库-法规清单表-匹配相关人员") @ApiOperation(value="项目库-法规清单表-匹配相关人员", notes="项目库-法规清单表-匹配相关人员")
@GetMapping(value = "/matchRelevantPeople") @PostMapping(value = "/matchRelevantPeople")
public Result<?> matchRelevantPeople(@RequestParam Map<String,Object> params){ public Result<?> matchRelevantPeople(@RequestBody Map<String,Object> params){
return this.projectLawsInventoryEOService.matchRelevantPeople(params); return this.projectLawsInventoryEOService.matchRelevantPeople(params);
} }
@@ -2129,7 +2129,7 @@
content: _this.$t('confirmBringInRelevantPersonnel'), content: _this.$t('confirmBringInRelevantPersonnel'),
onOk() { onOk() {
let selectedRowKeys = JSON.parse(JSON.stringify(_this.selectedRowKeys)) let selectedRowKeys = JSON.parse(JSON.stringify(_this.selectedRowKeys))
getAction(_this.url.matchRelevantPeople, { postAction(_this.url.matchRelevantPeople, {
ids: selectedRowKeys.join(','), ids: selectedRowKeys.join(','),
projectLibraryId: _this.$route.query.id projectLibraryId: _this.$route.query.id
}).then((res) => { }).then((res) => {