From 21c4e91f41bbbd15c31cc95c9cdbcc2365d00141 Mon Sep 17 00:00:00 2001 From: wkc <978997012@qq.com> Date: Thu, 2 Jul 2026 17:04:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=93=E9=A1=B9=E6=A0=B8?= =?UTF-8?q?=E6=9F=A5=E5=9B=BE=E8=B0=B1=E9=A1=B9=E7=9B=AEID=E4=BC=A0?= =?UTF-8?q?=E9=80=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...2026-07-02-special-check-graph-project-id.md | 17 +++++++++++++++++ .../components/detail/SpecialCheck.vue | 5 ++++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 docs/reports/implementation/2026-07-02-special-check-graph-project-id.md diff --git a/docs/reports/implementation/2026-07-02-special-check-graph-project-id.md b/docs/reports/implementation/2026-07-02-special-check-graph-project-id.md new file mode 100644 index 00000000..f794d0b9 --- /dev/null +++ b/docs/reports/implementation/2026-07-02-special-check-graph-project-id.md @@ -0,0 +1,17 @@ +# 专项核查图谱项目ID传递修复实施记录 + +## 修改内容 + +- 修复专项核查页内嵌图谱组件未传递 `projectId` 的问题。 +- 将 `SpecialCheck.vue` 中的 `fund-graph-section` 补充绑定 `:project-id="projectId"`,保证图谱查询接口携带当前项目ID。 + +## 影响范围 + +- 仅影响项目详情页专项核查模块中的图谱查询入口。 +- 不修改图谱接口、后端校验逻辑和其他图谱入口。 + +## 验证情况 + +- 已通过源码链路核对:`FundGraphSection` 使用 `projectId` prop 构造资金图谱和关系图谱查询参数,专项核查页补充绑定后可随父组件项目上下文传入。 +- 已执行 `cd ruoyi-ui && nvm use && npm run build:prod`,构建通过,仅存在既有资源体积 warning。 +- 已启动前端开发服务并通过应用内浏览器打开真实项目详情页 `http://localhost:1025/ccdiProject/detail/1`,切换至“专项排查”后确认图谱组件可正常渲染,点击图谱查询未再出现项目ID缺失提示。 diff --git a/ruoyi-ui/src/views/ccdiProject/components/detail/SpecialCheck.vue b/ruoyi-ui/src/views/ccdiProject/components/detail/SpecialCheck.vue index ccd86baa..178207e6 100644 --- a/ruoyi-ui/src/views/ccdiProject/components/detail/SpecialCheck.vue +++ b/ruoyi-ui/src/views/ccdiProject/components/detail/SpecialCheck.vue @@ -23,7 +23,10 @@ @evidence-confirm="$emit('evidence-confirm', $event)" /> - +