From 600adfb6d8748193d5e9887f388b2298e8fc1711 Mon Sep 17 00:00:00 2001 From: zlwu <704541015@qq.com> Date: Wed, 22 Jul 2026 23:04:06 +0800 Subject: [PATCH] feat(web-admin): print relatedApproval as recursive multi-line blocks PDF export fetches summaries and renders up to three nested levels with dedupe, instead of dumping raw instance ids. Co-authored-by: Cursor --- .../oa-approval/OaApprovalPrintSheet.vue | 6 +- .../oa-approval/OaPrintRelatedTree.vue | 67 +++++++++++++++++++ web-admin/src/utils/oa-approval-print.ts | 49 +++++++++++--- 3 files changed, 113 insertions(+), 9 deletions(-) create mode 100644 web-admin/src/components/oa-approval/OaPrintRelatedTree.vue diff --git a/web-admin/src/components/oa-approval/OaApprovalPrintSheet.vue b/web-admin/src/components/oa-approval/OaApprovalPrintSheet.vue index 95af3d3f..f940881c 100644 --- a/web-admin/src/components/oa-approval/OaApprovalPrintSheet.vue +++ b/web-admin/src/components/oa-approval/OaApprovalPrintSheet.vue @@ -39,7 +39,10 @@ {{ row.label }} -