Files
HIS_Sur_Data_Deal/README.md
2026-05-08 22:14:08 +08:00

35 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# HIS_Sur_Data_Deal
网页端检测数据处理工具。上传 `待处理检测数据.zip` 后,服务会自动识别 V1/V2 数据结构,调用原处理脚本生成 Excel并在网页中展示结果摘要、工作表统计和数据预览用户可调整每个工作表的预览行数并按需导出单个 Excel 或全部 Excel 压缩包。
## 本地运行
```bash
pip install -r requirements.txt
uvicorn app.main:app --host 0.0.0.0 --port 8000
```
访问 `http://localhost:8000`
## Docker 构建与运行
```bash
docker build -t his-sur-data-deal .
docker run --rm -p 8000:8000 his-sur-data-deal
```
## 推送镜像示例
```bash
docker tag his-sur-data-deal 192.168.31.5:5002/admin/his-sur-data-deal:latest
docker push 192.168.31.5:5002/admin/his-sur-data-deal:latest
```
## 数据模式
V1zip 解压后包含 `Patients_info.csv``Tests_List``Tests_Detail_List`,输出一个汇总 Excel。
V2zip 解压后包含 `Patients_info.csv`,并按患者目录分别保存检测汇总和具体检测,输出多个患者 Excel。
导出的压缩包默认只包含 Excel 结果,不包含处理日志。系统默认输出全部检测记录,并保留“未匹配检测内容”列作为额外辅助信息。