Merge discussion comments into the existing printed approval flow on Web and mobile OA, preserving detail timeline order and hiding revoked content. Include mentions and absolute attachment URLs, and add PDF link annotations so rasterized exports retain usable links. Add regression tests for ordering, attachments, mentions and revoked comments. Related to Gitea issue #30.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
当前状态:按用户2026-11-05最新指令先合并到 V2.0,再由用户测试。已合并,验收仍待用户确认,工单 #30 保持开放。
Summary
OA 审批单 PDF 原先只打印审批节点,遗漏讨论评论。Web 与小程序承载的移动 OA 现在沿用详情页时间顺序,打印评论作者、时间、正文、@人员及附件链接;撤回评论只显示撤回状态。
关联工单:#30
用户已确认范围:web-admin、mobile-h5、mobile-oa-h5。小程序入口代码无需更改,实际修复位于 web-admin 和 mobile-oa-h5;后端未改动。复用原打印表格 OaApprovalPrintSheet.vue,属于缺失数据修复,无新增界面或视觉改版,P01–P27 页面模式不适用。
Evidence
After: Web 5项测试、移动 OA 7项测试通过,覆盖同秒排序、纯附件/提及、撤回保护及既有流程。
Merge Danger
Door: two-way
纯前端打印修复,可回退,无数据库/API变更。
Blast Radius: OA打印
新增评论会增加 PDF 页数;沿用已有分页方式和附件访问权限。