Commit Graph

188 Commits

Author SHA1 Message Date
zpc
5f5501dd0d 21
All checks were successful
continuous-integration/drone/push Build is passing
2026-03-24 02:05:42 +08:00
zpc
8f8353f17a 优化 2026-03-24 01:55:56 +08:00
zpc
988241c2c4 调整页面 2026-03-24 01:40:36 +08:00
zpc
faca50a972 21
All checks were successful
continuous-integration/drone/push Build is passing
2026-03-24 00:05:09 +08:00
zpc
3d78b31256 修改成ip推送,速度更快
Some checks failed
continuous-integration/drone/push Build is failing
2026-03-24 00:00:36 +08:00
zpc
9a2b4ce50b 修改打包文件
All checks were successful
continuous-integration/drone/push Build is passing
2026-03-23 23:53:37 +08:00
zpc
661b19ee63 21
All checks were successful
continuous-integration/drone/push Build is passing
2026-03-23 23:34:57 +08:00
code@server
f579c8f8c5 ci: 添加 Api 和 Admin 的 Dockerfile
Some checks failed
continuous-integration/drone/push Build is failing
2026-03-23 23:27:08 +08:00
code@server
87d3f450f9 ci: 更新 Harbor 镜像仓库地址为 mi-assessment/api 和 mi-assessment/admin
Some checks failed
continuous-integration/drone/push Build is failing
2026-03-23 23:20:06 +08:00
code@server
e4d837428f chore: update Harbor image repo to mi-assessment/api and mi-assessment/admin
Some checks failed
continuous-integration/drone/push Build is failing
2026-03-23 21:45:57 +08:00
code@server
0134173d9a feat: add drone ci/cd pipeline
Some checks failed
continuous-integration/drone/push Build is failing
2026-03-23 18:19:13 +08:00
zpc
9b160e0775 21 2026-03-22 22:56:16 +08:00
zpc
996d51d2f5 12 2026-03-19 08:27:21 +08:00
zpc
4bbe43bf3e 21 2026-03-19 08:27:06 +08:00
zpc
54605a0736 1 2026-03-19 08:12:32 +08:00
zpc
15357e0fec 21 2026-03-19 08:11:34 +08:00
zpc
da590c2939 2121 2026-03-19 07:59:16 +08:00
zpc
f2e2a5d052 21 2026-03-19 07:38:48 +08:00
zpc
304431010e 21 2026-03-19 07:28:17 +08:00
zpc
003665dd23 21 2026-03-19 07:20:25 +08:00
zpc
4c0c96baea 21 2026-03-19 07:19:30 +08:00
zpc
a7f3e85a1d 21 2026-03-19 07:13:46 +08:00
zpc
98974ecb45 21 2026-03-19 07:13:19 +08:00
zpc
ec6f74ecaa 21 2026-03-19 07:06:59 +08:00
zpc
a88f31e5e2 21 2026-03-19 07:06:41 +08:00
zpc
9f17e03c00 21 2026-03-19 06:54:15 +08:00
zpc
eeb5fa36fc 21 2026-03-19 06:52:57 +08:00
zpc
6bcce64408 21 2026-03-19 06:51:46 +08:00
zpc
d47cd5ca1e 21 2026-03-19 06:35:30 +08:00
zpc
992a463bc1 21 2026-03-19 06:19:11 +08:00
zpc
8a6635bc52 21 2026-03-19 06:05:12 +08:00
zpc
c7bf419208 21 2026-03-19 05:55:06 +08:00
zpc
01efec146c 21 2026-03-19 05:48:36 +08:00
zpc
2f75cc611b 32 2026-03-18 11:53:46 +08:00
zpc
86584798a3 21 2026-03-18 01:14:05 +08:00
zpc
c683a28d98 21 2026-03-18 01:13:44 +08:00
zpc
2c7693c4e3 21 2026-03-18 00:56:17 +08:00
zpc
79f313ddf5 21 2026-03-18 00:44:46 +08:00
zpc
139e780158 21 2026-03-18 00:43:55 +08:00
zpc
56f0f76721 21 2026-03-18 00:32:05 +08:00
zpc
736f11b356 2121 2026-03-18 00:31:34 +08:00
zpc
2e470397e4 21 2026-03-18 00:18:14 +08:00
zpc
d2f4fb27d8 21 2026-03-18 00:16:13 +08:00
zpc
eecdcf6f19 21 2026-03-18 00:15:19 +08:00
zpc
b7c5fe1bab 21 2026-03-18 00:08:28 +08:00
zpc
b39b218743 21 2026-03-17 23:49:37 +08:00
zpc
173ad579e5 feat(assessment): 小程序测评结果页增加PDF下载功能
- ResultStatusDto/AssessmentResultDto 增加 ReportUrl 属性
- AssessmentService 的 GetResultStatusAsync/GetResultAsync 返回 ReportUrl
- loading 页面修复状态码映射(4=已完成/5=失败),传递 reportUrl 到结果页
- result 页面实现 PDF 下载:uni.downloadFile + uni.openDocument
2026-03-17 23:33:07 +08:00
zpc
0b70ef0471 feat(report): PDF生成后才标记已完成,后台增加PDF查看下载
- ReportGenerationService: 结论持久化后保持Status=3,不再设置Status=4
- PdfGenerationService: PDF生成+COS上传成功后设置Status=4和CompleteTime
- ReportQueueConsumer: PDF生成失败时更新Status=5(生成失败)
- AssessmentRecordDto: 增加ReportUrl字段
- AssessmentRecordService: 列表查询增加ReportUrl映射
- Admin.Business实体: AssessmentRecord增加ReportUrl属性
- 前端API类型: AssessmentRecordItem增加reportUrl字段
- 后台记录页面: 增加查看PDF和下载PDF按钮
- Core项目: 增加Tencent.QCloud.Cos.Sdk依赖,支持COS上传
2026-03-17 23:24:42 +08:00
zpc
6d81fa45f4 feat(report): 添加 PDF 报告生成功能
- 实现 ScreenshotService,通过 HtmlToImage 异步任务 API 截图
- 实现 PdfGenerationService,将截图合并为 PDF 并保存到本地
- 在 ReportQueueConsumer 中集成 PDF 生成流程
- 添加 HtmlToImageSettings、ReportSettings 配置模型
- AssessmentRecord 新增 ReportUrl 字段
- 添加 DebugController 用于手动触发 PDF 生成测试
- 添加 PdfSharpCore NuGet 包依赖
- 更新 .gitignore 忽略生成的 PDF 文件
2026-03-17 23:05:53 +08:00
zpc
7b4a8732a6 21 2026-03-17 21:38:54 +08:00