首页报表调整

This commit is contained in:
何美荣 2026-06-16 16:47:59 +08:00
parent e3383b507f
commit cc4e45a255
5 changed files with 13 additions and 9 deletions

View File

@ -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',

View File

@ -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",

View File

@ -109,7 +109,9 @@ class SK035ShowPrint extends React.Component {
<Descriptions.Item label="辨识年度">{data.YEAR}</Descriptions.Item>
<Descriptions.Item label="开始时间">{moment(data.START_DATE).format('YYYY-MM-DD')}</Descriptions.Item>
<Descriptions.Item label="结束时间">{moment(data.END_DATE).format('YYYY-MM-DD')}</Descriptions.Item>
<Descriptions.Item label="辨识要求">{data.Nav_Require ? data.Nav_Require.NAME : ''}</Descriptions.Item>
<Descriptions.Item label="辨识要求">{ data?.Nav_Requires && data?.Nav_Requires?.map((item2, i) => {
return item2?.Nav_Require?.NAME + ' '
})}</Descriptions.Item>
<Descriptions.Item label="附件">{
showFiles(data?.Nav_Files, config.picServerHost, this)

View File

@ -110,7 +110,9 @@ class SK037ShowPrint extends React.Component {
<Descriptions.Item label="辨识年度">{data.YEAR}</Descriptions.Item>
<Descriptions.Item label="开始时间">{moment(data.START_DATE).format('YYYY-MM-DD')}</Descriptions.Item>
<Descriptions.Item label="结束时间">{moment(data.END_DATE).format('YYYY-MM-DD')}</Descriptions.Item>
<Descriptions.Item label="辨识要求">{data.Nav_Require ? data.Nav_Require.NAME : ''}</Descriptions.Item>
<Descriptions.Item label="辨识要求">{ data?.Nav_Requires && data?.Nav_Requires?.map((item2, i) => {
return item2?.Nav_Require?.NAME + ' '
})}</Descriptions.Item>
<Descriptions.Item label="附件">{
showFiles(data?.Nav_Files, config.picServerHost, this)

View File

@ -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: <BI051BSCompanyYear formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI052BSSafeCheckYear: <BI052BSSafeCheckYear formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI053BSSafeCheckYear: <BI053BSSafeCheckYear formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI054HomeDetail: <BI054HomeDetail formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI055HomeDetail: <BI055HomeDetail formId={formId} formParam={formParam} data={data} formCode={formCode} />,
BI054HomeDetail: <BI054HomeDetail formId={formId} formParam={formParam} data={data} formCode={formCode} />,
BI055HomeDetail: <BI055HomeDetail formId={formId} formParam={formParam} data={data} formCode={formCode} />,
BI056Performance: <BI056Performance formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI056Dilg1_1: <BI056Dilg1_1 formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI056Dilg1_2: <BI056Dilg1_2 formId={formId} formParam={formParam} data={data} formCode={formCode} />,
@ -439,7 +439,7 @@ export default function (componentName, formId, formParam, data, formCode, formD
// BI056Dilg3_2: <BI056Dilg3_2 formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI003StatiscialAnalysis: <BI003StatiscialAnalysis formId={formId} formParam={formParam} data={data} formCode={formCode} />,
BI001HomeDetail: <BI001HomeDetail formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI002HomeDetail: <BI002HomeDetail formId={formId} formParam={formParam} data={data} formCode={formCode} />,
BI002HomeDetail: <BI002HomeDetail formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI004FormRunAnalysis: <BI004FormRunAnalysis formId={formId} formParam={formParam} data={data} formCode={formCode} />,
BI005LoginRecord: <BI005LoginRecord formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI006FormRunAnalysis: <BI006FormRunAnalysis formId={formId} formParam={formParam} data={data} formCode={formCode} />,