| | |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "导出专家数据") |
| | | //@PreAuthorize("@ss.hasPermi('system:management:list')") |
| | | @GetMapping("/selectProjectData") |
| | | public R<List<ProjectDataResp>> selectProjectData(ProjectManagement projectManagement) |
| | | { |
| | | return R.ok(projectManagementService.selectProjectData(projectManagement)); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 获取项目管理详细信息 |
| | | */ |
| | |
| | | projectManagementService.updateProjectManagement(projectManagement); |
| | | return R.ok(); |
| | | } |
| | | |
| | | @ApiOperation(value = "项目生成审批单") |
| | | @PostMapping("/projectBuildCheck") |
| | | @RepeatSubmit |
| | | public R projectBuildCheck(@Validated @RequestBody ProjectExpertSaveBatchReqDto projectManagement) |
| | | { |
| | | projectManagementService.projectBuildCheck(projectManagement); |
| | | return R.ok(); |
| | | } |
| | | |
| | | |
| | | |
| | | //@PreAuthorize("@ss.hasPermi('system:management:info')") |
| | | @ApiOperation(value = "获取项目专家审批用(获取项目信息和专家数据)") |
| | |
| | | return R.ok(projectManagementService.selectProjectExpertDetailList(projectExpertId)); |
| | | } |
| | | |
| | | @ApiOperation(value = "专家考评记录——专家考评详情") |
| | | //@PreAuthorize("@ss.hasPermi('system:management:list')") |
| | | @GetMapping("/selectProjectExpertDetail") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", name = "projectExpertId", dataType = "long", required = true, value = "项目专家id"), |
| | | @ApiImplicitParam(paramType = "query", name = "expertType", dataType = "long", required = true, value = "专家类型1库内2库外") |
| | | }) |
| | | public R<ProjectDetailResp> selectProjectExpertDetail(@RequestParam("projectExpertId") Long projectExpertId,@RequestParam("expertType") Long expertType) |
| | | { |
| | | return R.ok(projectManagementService.selectProjectExpertDetail(projectExpertId,expertType)); |
| | | } |
| | | |
| | | |
| | | @GetMapping("/selectProjectFileList") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", name = "projectId", dataType = "long", required = true, value = "项目id"), |
| | |
| | | return R.ok(projectManagementService.getProjectNum()); |
| | | } |
| | | |
| | | @ApiOperation(value = "项目管理----导出专家报销") |
| | | //@PreAuthorize("@ss.hasPermi('system:management:list')") |
| | | @GetMapping("/projectExpertExportList") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", name = "projectId", dataType = "long", required = true, value = "项目id") |
| | | }) |
| | | public R<List<ProjectExpertExportInfoRes>> projectExpertExportList(@RequestParam("projectId") Long projectId) |
| | | { |
| | | return R.ok(projectManagementService.projectExpertExportList(projectId)); |
| | | } |
| | | |
| | | } |