diff --git a/src/pages/Container/BranchCompany/ControlRoom/List/index.js b/src/pages/Container/BranchCompany/ControlRoom/List/index.js index d43e1d3..cf4a46a 100644 --- a/src/pages/Container/BranchCompany/ControlRoom/List/index.js +++ b/src/pages/Container/BranchCompany/ControlRoom/List/index.js @@ -175,8 +175,22 @@ function List(props) { values={query.eqCorpId ? { eqCorpId: query.eqCorpId } : {}} onFinish={handleSearch} /> - ( + + {query.corpName} + + ) + : undefined + } toolBarRender={() => ( {hasPermission("add", "xfkzs-add") && ( diff --git a/src/pages/Container/BranchCompany/PumpRoom/List/index.js b/src/pages/Container/BranchCompany/PumpRoom/List/index.js index 086a260..2d862a7 100644 --- a/src/pages/Container/BranchCompany/PumpRoom/List/index.js +++ b/src/pages/Container/BranchCompany/PumpRoom/List/index.js @@ -156,8 +156,22 @@ function List(props) { values={query.eqCorpId ? { eqCorpId: query.eqCorpId } : {}} onFinish={handleSearch} /> -
( + + {query.corpName} + + ) + : undefined + } toolBarRender={() => ( {hasPermission("add", "xfbf-add") && ( diff --git a/src/pages/Container/BranchCompany/RescueTeam/List/index.js b/src/pages/Container/BranchCompany/RescueTeam/List/index.js index 841adfa..5e97cf4 100644 --- a/src/pages/Container/BranchCompany/RescueTeam/List/index.js +++ b/src/pages/Container/BranchCompany/RescueTeam/List/index.js @@ -142,6 +142,21 @@ function List(props) { />
( + + {query.corpName} + + ) + : undefined + } toolBarRender={() => ( {canAdd && ( diff --git a/src/pages/Container/BranchCompany/WaterSource/List/index.js b/src/pages/Container/BranchCompany/WaterSource/List/index.js index d748e47..bbbb1b9 100644 --- a/src/pages/Container/BranchCompany/WaterSource/List/index.js +++ b/src/pages/Container/BranchCompany/WaterSource/List/index.js @@ -169,8 +169,22 @@ function List(props) { values={query.eqCorpId ? { eqCorpId: query.eqCorpId } : {}} onFinish={handleSearch} /> -
( + + {query.corpName} + + ) + : undefined + } toolBarRender={() => ( {hasPermission("add", "xfsy-add") && ( diff --git a/src/pages/Container/Supervision/FireResourceStats/index.js b/src/pages/Container/Supervision/FireResourceStats/index.js index b18064e..213c790 100644 --- a/src/pages/Container/Supervision/FireResourceStats/index.js +++ b/src/pages/Container/Supervision/FireResourceStats/index.js @@ -27,7 +27,8 @@ function FireResourceStats(props) { if (routeMap[type]) { const corpId = record.corpId || record.companyId || ""; - const searchParams = new URLSearchParams({ eqCorpId: corpId }); + const corpName = record.corpName || record.companyName || ""; + const searchParams = new URLSearchParams({ eqCorpId: corpId, corpName }); const permissionConfig = FIRE_RESOURCE_SUPERVISION_PERMISSION_MAP[type] || {}; Object.entries(permissionConfig).forEach(([action, permissionKey]) => {