管理员点击早孕检查管理;在早孕检查管理页面对用户名、姓名、分娩日期、时间、接生方法、分娩方式、出血量、羊水量、产后血压、账号、医生姓名等信息,进行查询或删除早孕检查等操作;如图所示。
管理员点击分娩记录管理;在分娩记录管理页面对用户名、姓名、分娩日期、时间、接生方法、分娩方式、出血量、羊水量、产后血压、账号、医生姓名等信息,进行查询或删除分娩记录等操作;如图所示。
4.3医生功能实现效果
医生登录到系统,主要包括对统首页、个人中心、预约检查管理、早孕检查管理、分娩记录管理、新生儿记录管理、后续跟进管理、健康指导管理、医嘱管理、课程信息管理等功能进行操作。医生主页面如图所示:
4.4用户功能实现效果
用户登录进入系统后,在用户主页面,主要包括对系统首页、个人中心、预约检查管理、早孕检查管理、分娩记录管理、新生儿记录管理、后续跟进管理、健康指导管理、医嘱管理等功能进行操作。用户主页面如图所示:
部分功能代码
/**
* 上传文件
*/
@RequestMapping(“/upload”)
public R upload(@RequestParam(“file”) MultipartFile file,String type) throws Exception {
if (file.isEmpty()) {
throw new EIException(“上传文件不能为空”);
}
String fileExt = file.getOriginalFilename().substring(file.getOriginalFilename().lastIndexOf(“.”)+1);
File path = new File(ResourceUtils.getURL(“classpath:static”).getPath());
if(!path.exists()) {
path = new File(“”);
}
File upload = new File(path.getAbsolutePath(),“/upload/”);
if(!upload.exists()) {
upload.mkdirs();
}
String fileName = new Date().getTime()+“.”+fileExt;
File dest = new File(upload.getAbsolutePath()+“/”+fileName);
file.transferTo(dest);
if(StringUtils.isNotBlank(type) && type.equals(“1”)) {
ConfigEntity configEntity = configService.selectOne(new EntityWrapper().eq(“name”, “faceFile”));
if(configEntity==null) {
configEntity = new ConfigEntity();
configEntity.setName(“faceFile”);
configEntity.setValue(fileName);
} else {
configEntity.setValue(fileName);
}
configService.insertOrUpdate(configEntity);
}
return R.ok().put(“file”, fileName);
}
/**
* 下载文件
*/
@IgnoreAuth
@RequestMapping(“/download”)
public ResponseEntity<byte[]> download(@RequestParam String fileName) {
try {
File path = new File(ResourceUtils.getURL(“classpath:static”).getPath());
if(!path.exists()) {
path = new File(“”);
}
File upload = new File(path.getAbsolutePath(),“/upload/”);
if(!upload.exists()) {
upload.mkdirs();
}
File file = new File(upload.getAbsolutePath()+“/”+fileName);
if(file.exists()){
/*if(!fileService.canRead(file, SessionManager.getSessionUser())){
getResponse().sendError(403);
}*/
HttpHeaders headers = new HttpHeaders();
headers.setContentType(MediaType.APPLICATION_OCTET_STREAM);
headers.setContentDispositionFormData(“attachment”, fileName);
return new ResponseEntity<byte[]>(FileUtils.readFileToByteArray(file),headers, HttpStatus.CREATED);
}
} catch (IOException e) {
e.printStackTrace();
}
return new ResponseEntity<byte[]>(HttpStatus.INTERNAL_SERVER_ERROR);
}
最后
💕💕
自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。
深知大多数Python工程师,想要提升技能,往往是自己摸索成长或者是报班学习,但对于培训机构动则几千的学费,着实压力不小。自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!
因此收集整理了一份《2024年Python开发全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友,同时减轻大家的负担。
既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,基本涵盖了95%以上Python开发知识点,真正体系化!
由于文件比较大,这里只是将部分目录大纲截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频,并且后续会持续更新
如果你觉得这些内容对你有帮助,可以添加V获取:vip1024c (备注Python)
学习笔记、源码讲义、实战项目、讲解视频,并且后续会持续更新**
如果你觉得这些内容对你有帮助,可以添加V获取:vip1024c (备注Python)
[外链图片转存中…(img-667kLDw7-1712508191146)]