| | |
| | | import com.doumee.core.model.PageData; |
| | | import com.doumee.core.model.PageWrap; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.dao.admin.response.PCWorkPlatformDataVO; |
| | | import com.doumee.dao.admin.response.StagingDataVO; |
| | | import com.doumee.dao.business.model.Visits; |
| | | import com.doumee.dao.system.dto.NoticesDTO; |
| | |
| | | |
| | | |
| | | |
| | | @ApiOperation(value = "任务中心头部", notes = "H5") |
| | | @ApiOperation(value = "任务中心头部 - H5", notes = "H5") |
| | | @GetMapping("/taskCenterHead") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", dataType = "Integer", name = "isDetail", value = " 是否查询详细 1是;0否", required = true), |
| | | }) |
| | | public ApiResponse<InternalHomeVO> taskCenterHead(@RequestParam Integer isDetail,@RequestHeader(Constants.HEADER_USER_TOKEN) String token) { |
| | | return ApiResponse.success("查询成功",approveService.getHomeData(getLoginUser(token).getMemberId(),isDetail)); |
| | | return ApiResponse.success("查询成功",approveService.getHomeDataH5(getLoginUser(token).getMemberId(),isDetail)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "任务中心头部 - PC", notes = "PC") |
| | | @PostMapping("/taskCenterHeadPC") |
| | | public ApiResponse<InternalHomeVO> taskCenterHeadPC(@RequestBody NoticesDTO noticesDTO,@RequestHeader(Constants.HEADER_USER_TOKEN) String token) { |
| | | noticesDTO.setMemberId(getLoginUser(token).getMemberId()); |
| | | return ApiResponse.success("查询成功",approveService.getHomeDataPC(noticesDTO)); |
| | | } |
| | | |
| | | |
| | |
| | | pageWrap.getModel().setMemberId(loginUserInfo.getMemberId()); |
| | | return ApiResponse.success(noticesService.taskCanterPage(pageWrap)); |
| | | } |
| | | |
| | | |
| | | |
| | | @ApiOperation("标记已读") |
| | | @GetMapping("/signRead") |
| | |
| | | } |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | | |
| | | @ApiOperation("PC工作台") |
| | | @GetMapping("/pCWorkPlatformData") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", dataType = "Integer", name = "queryType", value = "查询类型:1=在园人数;2=报表数据;3=待办事项;4=超时预警", required = true), |
| | | }) |
| | | public ApiResponse<PCWorkPlatformDataVO> pCWorkPlatformData (@RequestParam Integer queryType, @RequestHeader(Constants.HEADER_USER_TOKEN) String token) { |
| | | PCWorkPlatformDataVO pcWorkPlatformDataVO = visitsService.getPcWorkPlatformData(queryType,getLoginUser(token)); |
| | | return ApiResponse.success("查询成功",pcWorkPlatformDataVO); |
| | | } |
| | | } |