From 462f6e7e3cd869b3b0b4a5b788c988ecb9e611bc Mon Sep 17 00:00:00 2001 From: shenzhidan Date: Wed, 4 Mar 2026 10:45:17 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E5=A2=9E=E5=8A=A0=E7=9B=91=E7=AE=A1?= =?UTF-8?q?=E7=AB=AF=E8=BF=9B=E5=85=A5=E4=BA=8C=E7=BA=A7=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=88=97=E5=A4=B4=E5=B1=95=E7=A4=BA=E4=BC=81?= =?UTF-8?q?=E4=B8=9A=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BranchCompany/ControlRoom/List/index.js | 16 +++++++++++++++- .../BranchCompany/PumpRoom/List/index.js | 16 +++++++++++++++- .../BranchCompany/RescueTeam/List/index.js | 15 +++++++++++++++ .../BranchCompany/WaterSource/List/index.js | 16 +++++++++++++++- .../Supervision/FireResourceStats/index.js | 3 ++- 5 files changed, 62 insertions(+), 4 deletions(-) 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]) => {