feat(inspection): 添加菜单路径参数到检查记录统计接口
- 在 inspectionCount 接口中添加 menuPath 参数 - 使用当前页面路径作为菜单路径值 - 为检查记录列表功能提供更准确的统计支持master
parent
c1fb29b46f
commit
8c629309b3
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue