| | |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | * 查询项目管理列表 |
| | | */ |
| | | @ApiOperation(value = "查询项目管理列表(分页)") |
| | | @PreAuthorize("@ss.hasPermi('system:management:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:management:list')") |
| | | @GetMapping("/list") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", name = "pageNum", dataType = "int", required = false, value = "当前页,默认1"), |
| | |
| | | /** |
| | | * 获取项目管理详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:management:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:management:query')") |
| | | @GetMapping(value = "/{id}") |
| | | @ApiOperation(value = "获取项目管理详细信息") |
| | | @ApiImplicitParams({ |
| | |
| | | /** |
| | | * 新增项目管理 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:management:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:management:add')") |
| | | @ApiOperation(value = "新增编辑项目管理") |
| | | @PostMapping("/saveProject") |
| | | @RepeatSubmit |
| | |
| | | /** |
| | | * 修改项目管理 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:management:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:management:edit')") |
| | | @ApiOperation(value = "项目专家选取保存-修改") |
| | | @PostMapping("/projectExpert") |
| | | @RepeatSubmit |
| | |
| | | return R.ok(); |
| | | } |
| | | |
| | | @PreAuthorize("@ss.hasPermi('system:management:info')") |
| | | //@PreAuthorize("@ss.hasPermi('system:management:info')") |
| | | @ApiOperation(value = "获取项目专家审批用(获取项目信息和专家数据)") |
| | | @GetMapping("/projectExpertCheckInfo") |
| | | @ApiImplicitParams({ |
| | |
| | | return R.ok(projectManagementService.projectExpertCheckInfo(id)); |
| | | } |
| | | |
| | | @PreAuthorize("@ss.hasPermi('system:management:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:management:edit')") |
| | | @ApiOperation(value = "项目专家审批") |
| | | @PostMapping("/projectCheck") |
| | | @RepeatSubmit |
| | |
| | | return R.ok(); |
| | | } |
| | | |
| | | @PreAuthorize("@ss.hasPermi('system:management:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:management:edit')") |
| | | @ApiOperation(value = "项目归档") |
| | | @PostMapping("/projectArchive") |
| | | @RepeatSubmit |
| | |
| | | /** |
| | | * 删除项目管理 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:management:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:management:remove')") |
| | | @DeleteMapping("/{ids}") |
| | | @ApiOperation(value = "删除项目管理") |
| | | @RepeatSubmit |
| | |
| | | * 事后考评列表 |
| | | */ |
| | | @ApiOperation(value = "事后考评——事后考评(分页)") |
| | | @PreAuthorize("@ss.hasPermi('system:management:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:management:list')") |
| | | @GetMapping("/projectExpertList") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", name = "pageNum", dataType = "int", required = false, value = "当前页,默认1"), |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "事后考评——项目专家考评列表(分页)") |
| | | @PreAuthorize("@ss.hasPermi('system:management:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:management:list')") |
| | | @GetMapping("/projectExpertEvaluationList") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", name = "pageNum", dataType = "int", required = false, value = "当前页,默认1"), |
| | |
| | | return getDataTable(projectExpertEvaluationResps); |
| | | } |
| | | |
| | | @PreAuthorize("@ss.hasPermi('system:management:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:management:edit')") |
| | | @ApiOperation(value = "事后考评——项目专家考评") |
| | | @PostMapping("/ProjectExpertDetailSave") |
| | | @RepeatSubmit |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "专家考评记录——专家考评记录列表(分页)") |
| | | @PreAuthorize("@ss.hasPermi('system:management:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:management:list')") |
| | | @GetMapping("/projectExpertEvaList") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", name = "pageNum", dataType = "int", required = false, value = "当前页,默认1"), |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "专家考评记录——专家考评记明细") |
| | | @PreAuthorize("@ss.hasPermi('system:management:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:management:list')") |
| | | @GetMapping("/selectProjectExpertDetailList") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", name = "projectExpertId", dataType = "long", required = true, value = "项目专家id") |