feat(inspection): 添加菜单路径参数到检查记录统计接口

- 在 inspectionCount 接口中添加 menuPath 参数
- 使用当前页面路径作为菜单路径值
- 为检查记录列表功能提供更准确的统计支持
master
fangjiakai 2026-02-04 09:06:10 +08:00
parent c1fb29b46f
commit 8c629309b3
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ function List(props) {
}); });
const getCount = async () => { const getCount = async () => {
const {data} = await props["inspectionCount"]({ const {data} = await props["inspectionCount"]({
menuPath: window.location.pathname,
status: "", status: "",
entrance: "0", entrance: "0",
corpId: query.corpId, corpId: query.corpId,