From cc4e45a2556e97158d9f2bcad495e7f7cf33853f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=BD=95=E7=BE=8E=E8=8D=A3?=
<10755671+mei-rong-he@user.noreply.gitee.com>
Date: Tue, 16 Jun 2026 16:47:59 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=8A=A5=E8=A1=A8=E8=B0=83?=
=?UTF-8?q?=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/CustomPages/BI/BI054HomeDetail.js | 2 +-
src/components/CustomPages/BI/BI055HomeDetail.js | 2 +-
src/components/CustomPages/SK/SK035ShowPrint.js | 4 +++-
src/components/CustomPages/SK/SK037ShowPrint.js | 4 +++-
src/utils/customConfig.js | 10 +++++-----
5 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/src/components/CustomPages/BI/BI054HomeDetail.js b/src/components/CustomPages/BI/BI054HomeDetail.js
index c1fc74a..4401edb 100644
--- a/src/components/CustomPages/BI/BI054HomeDetail.js
+++ b/src/components/CustomPages/BI/BI054HomeDetail.js
@@ -56,7 +56,7 @@ class BI054HomeDetail extends React.Component {
loadData = () => {
this.state.showLoading = true;
// let json = initFilter(this.props.login.OrgId, this.props.data.mineType, "NUM");
- let json = initFilter(this.props.login.OrgId, (this.props.data.mineType == null ? this.props.formParam.mineType : this.props.data.mineType), "NUM");
+ let json = initFilter(this.props.login.OrgId, (this.props.data?.mineType == null ? this.props.formParam?.mineType : this.props.data?.mineType), "NUM");
this.props.dispatch({
type: 'app/getDataByPost',
diff --git a/src/components/CustomPages/BI/BI055HomeDetail.js b/src/components/CustomPages/BI/BI055HomeDetail.js
index 83903ba..c7f343f 100644
--- a/src/components/CustomPages/BI/BI055HomeDetail.js
+++ b/src/components/CustomPages/BI/BI055HomeDetail.js
@@ -56,7 +56,7 @@ class BI055HomeDetail extends React.Component {
// mineType = this.props.formParam.mineType;
// }
// debugger
- let json = initFilter(this.props.login.OrgId, (this.props.data.mineType == null ? this.props.formParam.mineType : this.props.data.mineType));
+ let json = initFilter(this.props.login.OrgId, (this.props.data?.mineType == null ? this.props.formParam?.mineType : this.props.data?.mineType));
this.props.dispatch({
type: "app/getDataByPost",
url: "BI/BIHome/GetHomeDetailMonthRisk",
diff --git a/src/components/CustomPages/SK/SK035ShowPrint.js b/src/components/CustomPages/SK/SK035ShowPrint.js
index 46cad7a..944679c 100644
--- a/src/components/CustomPages/SK/SK035ShowPrint.js
+++ b/src/components/CustomPages/SK/SK035ShowPrint.js
@@ -109,7 +109,9 @@ class SK035ShowPrint extends React.Component {
{data.YEAR}
{moment(data.START_DATE).format('YYYY-MM-DD')}
{moment(data.END_DATE).format('YYYY-MM-DD')}
- {data.Nav_Require ? data.Nav_Require.NAME : ''}
+ { data?.Nav_Requires && data?.Nav_Requires?.map((item2, i) => {
+ return item2?.Nav_Require?.NAME + ' '
+ })}
{
showFiles(data?.Nav_Files, config.picServerHost, this)
diff --git a/src/components/CustomPages/SK/SK037ShowPrint.js b/src/components/CustomPages/SK/SK037ShowPrint.js
index 4918b9f..434a15c 100644
--- a/src/components/CustomPages/SK/SK037ShowPrint.js
+++ b/src/components/CustomPages/SK/SK037ShowPrint.js
@@ -110,7 +110,9 @@ class SK037ShowPrint extends React.Component {
{data.YEAR}
{moment(data.START_DATE).format('YYYY-MM-DD')}
{moment(data.END_DATE).format('YYYY-MM-DD')}
- {data.Nav_Require ? data.Nav_Require.NAME : ''}
+ { data?.Nav_Requires && data?.Nav_Requires?.map((item2, i) => {
+ return item2?.Nav_Require?.NAME + ' '
+ })}
{
showFiles(data?.Nav_Files, config.picServerHost, this)
diff --git a/src/utils/customConfig.js b/src/utils/customConfig.js
index fd49137..3a2387c 100644
--- a/src/utils/customConfig.js
+++ b/src/utils/customConfig.js
@@ -163,8 +163,8 @@ const SE007ShowPrint = createLoadableComponent(() => import('../components/Custo
const BI001HomeDetail = createLoadableComponent(() => import('../components/CustomPages/BI/BI001HomeDetail'));
const BI002HomeDetail = createLoadableComponent(() => import('../components/CustomPages/BI/BI002HomeDetail'));
-// const BI054HomeDetail = createLoadableComponent(() => import('../components/CustomPages/BI/BI054HomeDetail'))
-// const BI055HomeDetail = createLoadableComponent(() => import('../components/CustomPages/BI/BI055HomeDetail'))
+const BI054HomeDetail = createLoadableComponent(() => import('../components/CustomPages/BI/BI054HomeDetail'))
+const BI055HomeDetail = createLoadableComponent(() => import('../components/CustomPages/BI/BI055HomeDetail'))
// const BI004FormRunAnalysis = createLoadableComponent(() => import('../components/CustomPages/BI/BI004FormRunAnalysis'))
const BI005LoginRecord = createLoadableComponent(() => import('../components/CustomPages/BI/BI005LoginRecord'));
// const BI006FormRunAnalysis = createLoadableComponent(() => import('../components/CustomPages/BI/BI006FormRunAnalysis'))
@@ -428,8 +428,8 @@ export default function (componentName, formId, formParam, data, formCode, formD
// BI051BSCompanyYear: ,
// BI052BSSafeCheckYear: ,
// BI053BSSafeCheckYear: ,
- // BI054HomeDetail: ,
- // BI055HomeDetail: ,
+ BI054HomeDetail: ,
+ BI055HomeDetail: ,
BI056Performance: ,
// BI056Dilg1_1: ,
// BI056Dilg1_2: ,
@@ -439,7 +439,7 @@ export default function (componentName, formId, formParam, data, formCode, formD
// BI056Dilg3_2: ,
// BI003StatiscialAnalysis: ,
BI001HomeDetail: ,
- // BI002HomeDetail: ,
+ BI002HomeDetail: ,
// BI004FormRunAnalysis: ,
BI005LoginRecord: ,
// BI006FormRunAnalysis: ,