|
@ -62,12 +62,10 @@ public class RehabilitationManageController extends EnvelopRestEndpoint {
|
|
|
@PostMapping(value = "completePlan")
|
|
|
@ApiOperation("确认完成服务,填写服务笔记")
|
|
|
public Envelop completePlan(
|
|
|
@ApiParam(name = "id", value = "执行计划id", required = true)
|
|
|
@RequestParam(value = "id", required = true) String id,
|
|
|
@ApiParam(name = "content", value = "服务完成笔记", required = false)
|
|
|
@RequestParam(value = "content", required = false) String content,
|
|
|
@ApiParam(name = "appendixs", value = "附件", required = false)
|
|
|
@RequestParam(value = "appendixs", required = false) String appendixs) {
|
|
|
@ApiParam(name = "id", value = "执行计划id", required = true) @RequestParam(value = "id", required = true) String id,
|
|
|
@ApiParam(name = "content", value = "服务完成笔记", required = false) @RequestParam(value = "content", required = false) String content,
|
|
|
@ApiParam(name = "appendixs", value = "附件", required = false) @RequestParam(value = "appendixs", required = false) String appendixs
|
|
|
) {
|
|
|
try {
|
|
|
rehabilitationManageService.completePlan(id,content,appendixs,getUID());
|
|
|
return Envelop.getSuccess("操作成功");
|
|
@ -82,12 +80,10 @@ public class RehabilitationManageController extends EnvelopRestEndpoint {
|
|
|
@GetMapping(value = "rehabilitationDetailInfo")
|
|
|
@ApiOperation("康复计划服务项列表")
|
|
|
public Envelop rehabilitationDetailInfo(
|
|
|
@ApiParam(name = "planId", value = "康复计划id", required = true)
|
|
|
@RequestParam(value = "planId", required = true) String planId,
|
|
|
@ApiParam(name = "searchTask", value = "快速查找任务:(1电话/短信关怀,2康复咨询,3健康监测,4上门服务,5康复指导,6康复随访,7康复复诊)", required = false)
|
|
|
@RequestParam(value = "searchTask", required = false) String searchTask,
|
|
|
@ApiParam(name = "status", value = "任务状态(0未完成,1已完成,2已预约)", required = false)
|
|
|
@RequestParam(value = "status", required = false) String status) {
|
|
|
@ApiParam(name = "planId", value = "康复计划id", required = true) @RequestParam(value = "planId", required = true) String planId,
|
|
|
@ApiParam(name = "searchTask", value = "快速查找任务:(1电话/短信关怀,2康复咨询,3健康监测,4上门服务,5康复指导,6康复随访,7康复复诊)", required = false) @RequestParam(value = "searchTask", required = false) String searchTask,
|
|
|
@ApiParam(name = "status", value = "任务状态(0未完成,1已完成,2已预约)", required = false) @RequestParam(value = "status", required = false) String status
|
|
|
) {
|
|
|
try {
|
|
|
return ListEnvelop.getSuccess("查询成功",rehabilitationManageService.rehabilitationDetailInfo(planId,status,searchTask));
|
|
|
}catch (ServiceException se){
|
|
@ -103,8 +99,7 @@ public class RehabilitationManageController extends EnvelopRestEndpoint {
|
|
|
public Envelop selectPlanDetailByPlanId(
|
|
|
@ApiParam(name = "planId", value = "康复计划id", required = true) @RequestParam(value = "planId", required = true) String planId,
|
|
|
@ApiParam(name = "itemId", value = "执行计划id", required = true) @RequestParam(value = "itemId", required = true) String itemId,
|
|
|
@ApiParam(name = "searchTask", value = "快速查找任务:(1电话/短信关怀,2康复咨询,3健康监测,4上门服务,5康复指导,6康复随访,7康复复诊)", required = true)
|
|
|
@RequestParam(value = "searchTask", required = true) String searchTask
|
|
|
@ApiParam(name = "searchTask", value = "快速查找任务:(1电话/短信关怀,2康复咨询,3健康监测,4上门服务,5康复指导,6康复随访,7康复复诊)", required = true) @RequestParam(value = "searchTask", required = true) String searchTask
|
|
|
) {
|
|
|
try {
|
|
|
return ListEnvelop.getSuccess("查询成功",rehabilitationManageService.selectPlanDetailByPlan(planId, itemId, searchTask));
|
|
@ -114,6 +109,9 @@ public class RehabilitationManageController extends EnvelopRestEndpoint {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@GetMapping(value = "findServiceItemPlanDetail")
|
|
|
@ApiOperation("执行计划详情")
|
|
|
public Envelop findServiceItemPlanDetail(
|
|
@ -318,12 +316,11 @@ public class RehabilitationManageController extends EnvelopRestEndpoint {
|
|
|
|
|
|
@RequestMapping(value = "saveGuidandceTemplate", method = RequestMethod.POST)
|
|
|
@ApiOperation("康复管理-保存指导模板")
|
|
|
public Envelop saveGuidandceTemplate(@ApiParam(name = "type", value = "康复指导类型", required = true)
|
|
|
@RequestParam(value = "type", required = true) String type,
|
|
|
@ApiParam(name = "content", value = "模板内容", required = true)
|
|
|
@RequestParam(value = "content", required = true) String content,
|
|
|
@ApiParam(name = "typeName", value = "类型名称", required = true)
|
|
|
@RequestParam(value = "typeName", required = true) String typeName) {
|
|
|
public Envelop saveGuidandceTemplate(
|
|
|
@ApiParam(name = "type", value = "康复指导类型", required = true) @RequestParam(value = "type", required = true) String type,
|
|
|
@ApiParam(name = "content", value = "模板内容", required = true) @RequestParam(value = "content", required = true) String content,
|
|
|
@ApiParam(name = "typeName", value = "类型名称", required = true) @RequestParam(value = "typeName", required = true) String typeName
|
|
|
) {
|
|
|
try {
|
|
|
rehabilitationGuidanceService.saveGuidandceTemplate(content,type,typeName,getUID());
|
|
|
return Envelop.getSuccess("保存成功");
|