取消报错,放出报表

This commit is contained in:
何美荣 2025-11-20 18:49:30 +08:00
parent 2a88a5a21c
commit 9aefffb9ed
36 changed files with 67 additions and 93 deletions

View File

@ -93,7 +93,7 @@ class FO015ShowPrint extends React.Component {
this.setState({ BtnAgreeDisplay: 'inline' })
}
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}

View File

@ -82,7 +82,7 @@ class FO017ShowPrint extends React.Component {
}
this.onClickApprove(false);
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}

View File

@ -82,7 +82,6 @@ class FO017ShowPrintJD extends React.Component {
}
this.onClickApprove(false);
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}

View File

@ -85,8 +85,6 @@ class FO019ShowPrint extends React.Component {
this.setState({ BtnAgreeDisplay: 'inline' })
}
}
else
{ message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!');}
}
});
}

View File

@ -88,7 +88,6 @@ class FO021ShowPrint extends React.Component {
this.setState({ BtnAgreeDisplay: 'inline' })
}
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}

View File

@ -104,7 +104,7 @@ class FO022ShowPrint extends React.Component {
this.setState({ BtnAgreeDisplay: 'inline' })
}
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}

View File

@ -82,7 +82,7 @@ class FO025ShowPrint extends React.Component {
}
this.onClickApprove(false);
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}

View File

@ -74,8 +74,6 @@ class FO035ShowPrint extends React.Component {
this.setState({ BtnAgreeDisplay: 'inline' })
}
}
else
{ message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!');}
}
});
}

View File

@ -74,8 +74,7 @@ class FO037ShowPrint extends React.Component {
this.setState({ BtnAgreeDisplay: 'inline' })
}
}
else
{ message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!');}
}
});
}

View File

@ -74,8 +74,7 @@ class FO041ShowPrint extends React.Component {
this.setState({ BtnAgreeDisplay: 'inline' })
}
}
else
{ message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!');}
}
});
}

View File

@ -74,8 +74,7 @@ class FO043ShowPrint extends React.Component {
this.setState({ BtnAgreeDisplay: 'inline' })
}
}
else
{ message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!');}
}
});
}

View File

@ -74,8 +74,7 @@ class FO045ShowPrint extends React.Component {
this.setState({ BtnAgreeDisplay: 'inline' })
}
}
else
{ message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!');}
}
});
}

View File

@ -145,8 +145,6 @@ class SK002ShowPrint extends React.Component {
// this.setState({ isFinished: 'inline' })
// }
}
else
{ message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!');}
}
});
}

View File

@ -203,8 +203,6 @@ class SK004ShowPrint extends React.Component {
// this.setState({ isFinished: 'inline' })
// }
}
else
{ message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!');}
}
});
}

View File

@ -79,7 +79,7 @@ class SK006ShowPrint extends React.Component {
}
this.onClickApprove(false);
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}
@ -115,7 +115,7 @@ class SK006ShowPrint extends React.Component {
}
this.onClickApprove(false);
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}

View File

@ -91,7 +91,7 @@ class SK010ShowPrint extends React.Component {
}
this.onClickApprove(false);
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}

View File

@ -112,7 +112,7 @@ class SK012ShowPrint extends React.Component {
}
this.onClickApprove(false);
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}

View File

@ -91,7 +91,7 @@ class SK014ShowPrint extends React.Component {
}
this.onClickApprove(false);
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}

View File

@ -71,7 +71,7 @@ class SK016ShowPrint extends React.Component {
}
this.onClickApprove(false);
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}

View File

@ -102,7 +102,7 @@ class SK018ShowPrint extends React.Component {
}
this.onClickApprove(false);
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}

View File

@ -91,7 +91,7 @@ class SK020ShowPrint extends React.Component {
}
this.onClickApprove(false);
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}

View File

@ -92,7 +92,7 @@ class SK022ShowPrint extends React.Component {
}
this.onClickApprove(false);
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}
@ -171,11 +171,9 @@ class SK022ShowPrint extends React.Component {
<Descriptions.Item label="预案或方案">{
showFiles(data?.Nav_RectifyFiles, config.picServerHost, this)
}</Descriptions.Item>
<div style={{display:(data.STATUS ==20 ||data.STATUS==30)?"inline":"none"}}>
<Descriptions.Item label="验收时间">{data.ACCEPT_DATE?moment(data.ACCEPT_DATE).format('YYYY-MM-DD'):null}</Descriptions.Item>
<Descriptions.Item label="验收结论">{enums.SKAcceptResultEnum.enums[data.ACCEPT_RESULTE]}</Descriptions.Item>
<Descriptions.Item label="验收意见">{data.ACCEPT_OPINION}</Descriptions.Item>
</div>
<Descriptions.Item style={{display:(data.STATUS ==20 ||data.STATUS==30)?"inline":"none"}} label="验收时间">{data.ACCEPT_DATE?moment(data.ACCEPT_DATE).format('YYYY-MM-DD'):null}</Descriptions.Item>
<Descriptions.Item style={{display:(data.STATUS ==20 ||data.STATUS==30)?"inline":"none"}} label="验收结论">{enums.SKAcceptResultEnum.enums[data.ACCEPT_RESULTE]}</Descriptions.Item>
<Descriptions.Item style={{display:(data.STATUS ==20 ||data.STATUS==30)?"inline":"none"}} label="验收意见">{data.ACCEPT_OPINION}</Descriptions.Item>
<Descriptions.Item label="整改责任人签名">{
data.STATUS == 20 &&
data.Nav_RecitifyUser && data.Nav_RecitifyUser.FILE_PATH ?

View File

@ -84,7 +84,7 @@ class SK024ShowPrint extends React.Component {
}
this.onClickApprove(false);
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}

View File

@ -272,7 +272,7 @@ class SK026ShowPrint extends React.Component {
// this.setState({ isFinished: 'inline' })
// }
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}

View File

@ -77,7 +77,7 @@ class SK027ShowPrint extends React.Component {
}
this.onClickApprove(false);
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}

View File

@ -68,7 +68,7 @@ class SK031ShowPrint extends React.Component {
}
this.onClickApprove(false);
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}

View File

@ -72,7 +72,7 @@ class SK033ShowPrint extends React.Component {
}
this.onClickApprove(true);
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}

View File

@ -210,8 +210,7 @@ class SK035CheckLibrary extends React.Component {
}
});
}
else
{ message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!');}
}
});
}

View File

@ -72,7 +72,7 @@ class SK035ShowPrint extends React.Component {
}
this.onClickApprove(false);
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}

View File

@ -73,7 +73,7 @@ class SK037ShowPrint extends React.Component {
}
this.onClickApprove(false);
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}

View File

@ -73,7 +73,7 @@ class SK039ShowPrint extends React.Component {
}
this.onClickApprove(false);
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}

View File

@ -73,7 +73,7 @@ class SK041ShowPrint extends React.Component {
}
this.onClickApprove(false);
}
else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); }
}
});
}

View File

@ -67,8 +67,7 @@ class SK043ShowPrint extends React.Component {
// this.setState({ isFinished: 'inline' })
// }
}
else
{ message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!');}
}
});
}

View File

@ -71,8 +71,7 @@ class SK045ShowPrint extends React.Component {
// this.setState({ isFinished: 'inline' })
// }
}
else
{ message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!');}
}
});
}

View File

@ -124,34 +124,27 @@ export default {
}
}
},
// onChange: ({ colInfo, getFieldValue, setFieldValueByBatch, dispatch,login,updateSubTableData }) => {
// if (colInfo.FIELD_NAME === 'Nav_ProdutionUnit.NAME' || colInfo.FIELD_NAME === 'Nav_CheckType.NAME' ||colInfo.FIELD_NAME === 'DEPARTMENT_TYPE'||colInfo.FIELD_NAME === 'PLANCHECKFREQUENCY')
// {
// let json = initFilter(login.OrgId);
// json.Parameter1 = getFieldValue('PRODUCTION_UNIT_ID');
// json.Parameter2 = getFieldValue('CHECK_TYPE_ID');
// json.Parameter3 = getFieldValue('DEPARTMENT_TYPE') ;
// json.Parameter4 = getFieldValue('PLANCHECKFREQUENCY') ;
// dispatch({
// type: 'app/getDataByPost',
// url: 'SK/SKSecurityInspectionNotice/GetCheckContentPCs',
// payload: json,
// onlyData: false,
// onComplete: (re) => {
// if (re && re.IsSuccessful && re.Data) {
// let temps = [];
// // let detailConfirms=re.Data?.map((item,i)=>{
// // item['NUM'] = i+1;
// // item['SafeConfirmsStr'] = item.NAME;
// // return item;
// // });
// temps.push({ field: 'Nav_CheckNoticeDetails', value: re.Data })
// setFieldValueByBatch(temps);
// }
// }
// })
// }
// },
onChange: ({ colInfo, getFieldValue,stateData, setFieldValueByBatch, dispatch,login,updateSubTableData }) => {
if (colInfo.FIELD_NAME === 'Nav_ProdutionUnit.NAME' || colInfo.FIELD_NAME === 'Nav_CheckType.NAME' ||colInfo.FIELD_NAME === 'DEPARTMENT_TYPE'||colInfo.FIELD_NAME === 'PLANCHECKFREQUENCY')
{
dispatch({
type: 'app/getDataByPost',
url: 'SK/SKSecurityInspectionNotice/GetCheckContentsNew',
payload: stateData,
onlyData: false,
onComplete: (re) => {
if (re && re.IsSuccessful && re.Data) {
let temps = [];
temps.push({ field: 'Nav_CheckNoticeDetails', value: re.Data })
setFieldValueByBatch(temps);
// stateData.Nav_CheckNoticeDetails = re.Data
// saveRowRecord({ record: stateData, editCode: "T_SK_SECURITY_INSPECTION_NOTICE_DETAIL" })
}
}
})
}
},
btnSubAdd: ({row, srcRecord,getSelectedRecords,record,saveRowRecord,colInfo,parentRecord,pageCode, stateData,setState, close, loadData, login, btn, dispatch,props }) => {
if(login.tempContents && login.tempContents.length>0)

View File

@ -151,8 +151,8 @@ const SE063ShowPrint = createLoadableComponent(() => import('../components/Custo
const SE051ShowPrint = createLoadableComponent(() => import('../components/CustomPages/SE/SE051ShowPrint'))
const SE007ShowPrint = createLoadableComponent(() => import('../components/CustomPages/SE/SE007ShowPrint'))
// const BI001HomeDetail = createLoadableComponent(() => import('../components/CustomPages/BI/BI001HomeDetail'))
// const BI002HomeDetail = createLoadableComponent(() => import('../components/CustomPages/BI/BI002HomeDetail'))
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 BI004FormRunAnalysis = createLoadableComponent(() => import('../components/CustomPages/BI/BI004FormRunAnalysis'))
@ -164,8 +164,8 @@ const SE007ShowPrint = createLoadableComponent(() => import('../components/Custo
// const BI008FormRunAnalysis = createLoadableComponent(() => import('../components/CustomPages/BI/BI008FormRunAnalysis'))
// const BI009RiskAnalysis = createLoadableComponent(() => import('../components/CustomPages/BI/BI009RiskAnalysis'))
// const BI010FormRunAnalysis = createLoadableComponent(() => import('../components/CustomPages/BI/BI010FormRunAnalysis'))
// const BI011FormRunAnalysis = createLoadableComponent(() => import('../components/CustomPages/BI/BI011FormRunAnalysis'))
// const BI011TrainSafeAnalysis = createLoadableComponent(() => import('../components/CustomPages/BI/BI011TrainSafeAnalysis'))
const BI011FormRunAnalysis = createLoadableComponent(() => import('../components/CustomPages/BI/BI011FormRunAnalysis'))
const BI011TrainSafeAnalysis = createLoadableComponent(() => import('../components/CustomPages/BI/BI011TrainSafeAnalysis'))
// const BI012NotificationTaskAnalysis = createLoadableComponent(() => import('../components/CustomPages/BI/BI012NotificationTaskAnalysis'))
// const BI013RiskAnalysisModel = createLoadableComponent(() => import('../components/CustomPages/BI/BI013RiskAnalysisModel'))
// const BI030FormRunAnalysis = createLoadableComponent(() => import('../components/CustomPages/BI/BI030FormRunAnalysis'))
@ -173,14 +173,14 @@ const SE007ShowPrint = createLoadableComponent(() => import('../components/Custo
// const BI060MapeShow = createLoadableComponent(() => import('../components/CustomPages/BI/BI060MapeShow'))
// const BI060MapePoint = createLoadableComponent(() => import('../components/CustomPages/BI/BI060MapePoint'))
// const BI061MapeGISShow = createLoadableComponent(() => import('../components/CustomPages/BI/BI061MapeGISShow'))
// const BI009FormRunAnalysis = createLoadableComponent(() => import('../components/CustomPages/BI/BI009FormRunAnalysis'))
// const BIView = createLoadableComponent(() => import('../components/CustomPages/BI/BIView'))
const BI009FormRunAnalysis = createLoadableComponent(() => import('../components/CustomPages/BI/BI009FormRunAnalysis'))
const BIView = createLoadableComponent(() => import('../components/CustomPages/BI/BIView'))
// const BI001 = createLoadableComponent(() => import('../components/CustomPages/BI/BI001'))
// const BI050BSSafeCheck = createLoadableComponent(() => import('../components/CustomPages/BI/BI050BSSafeCheck'))
// const BI051BSCompanyYear = createLoadableComponent(() => import('../components/CustomPages/BI/BI051BSCompanyYearOne'))
// const BI052BSSafeCheckYear = createLoadableComponent(() => import('../components/CustomPages/BI/BI052BSSafeCheckYearOne'))
// const BI053BSSafeCheckYear = createLoadableComponent(() => import('../components/CustomPages/BI/BI053BSSafeCheckYearOne'))
// const BI056Performance = createLoadableComponent(() => import('../components/CustomPages/BI/BI056Performance'))
const BI056Performance = createLoadableComponent(() => import('../components/CustomPages/BI/BI056Performance'))
// const BI056Dilg1_1 = createLoadableComponent(() => import('../components/CustomPages/BI/BI056Dilg1_1'))
// const BI056Dilg1_2 = createLoadableComponent(() => import('../components/CustomPages/BI/BI056Dilg1_2'))
// const BI056Dilg2_1 = createLoadableComponent(() => import('../components/CustomPages/BI/BI056Dilg2_1'))
@ -189,7 +189,7 @@ const SE007ShowPrint = createLoadableComponent(() => import('../components/Custo
// const BI056Dilg3_2 = createLoadableComponent(() => import('../components/CustomPages/BI/BI056Dilg3_2'))
// const BI003StatiscialAnalysis = createLoadableComponent(() => import('../components/CustomPages/BI/BI003StatiscialAnalysis'))
// const BI020ApproveAnalysis = createLoadableComponent(() => import('../components/CustomPages/BI/BI020ApproveAnalysis'))
// const BI014RiskPerformanceModel = createLoadableComponent(() => import('../components/CustomPages/BI/BI014RiskPerformanceModel'))
const BI014RiskPerformanceModel = createLoadableComponent(() => import('../components/CustomPages/BI/BI014RiskPerformanceModel'))
// const BI012FormRunAnalysis = createLoadableComponent(() => import('../components/CustomPages/BI/BI012FormRunAnalysis'))
const PF136FormRunAnalysis = createLoadableComponent(() => import('../components/CustomPages/PF/PF136FormRunAnalysis'))
@ -373,7 +373,7 @@ export default function (componentName, formId, formParam, data, formCode, formD
// CM045ShowPrint: <CM045ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BIView: <BIView formId={formId} formParam={formParam} data={data} formCode={formCode} />,
BIView: <BIView formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI001: <BI001 formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI050BSSafeCheck: <BI050BSSafeCheck formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI051BSCompanyYear: <BI051BSCompanyYear formId={formId} formParam={formParam} data={data} formCode={formCode} />,
@ -381,7 +381,7 @@ export default function (componentName, formId, formParam, data, formCode, formD
// 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} />,
// BI056Performance: <BI056Performance 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} />,
// BI056Dilg2_1: <BI056Dilg2_1 formId={formId} formParam={formParam} data={data} formCode={formCode} />,
@ -389,7 +389,7 @@ export default function (componentName, formId, formParam, data, formCode, formD
// BI056Dilg3_1: <BI056Dilg3_1 formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// 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} />,
BI001HomeDetail: <BI001HomeDetail 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} />,
@ -400,8 +400,8 @@ export default function (componentName, formId, formParam, data, formCode, formD
// BI008FormRunAnalysis: <BI008FormRunAnalysis formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI009RiskAnalysis: <BI009RiskAnalysis formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI010FormRunAnalysis: <BI010FormRunAnalysis formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI011FormRunAnalysis: <BI011FormRunAnalysis formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI011TrainSafeAnalysis: <BI011TrainSafeAnalysis formId={formId} formParam={formParam} data={data} formCode={formCode} />,
BI011FormRunAnalysis: <BI011FormRunAnalysis formId={formId} formParam={formParam} data={data} formCode={formCode} />,
BI011TrainSafeAnalysis: <BI011TrainSafeAnalysis formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI012NotificationTaskAnalysis: <BI012NotificationTaskAnalysis formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI013RiskAnalysisModel: <BI013RiskAnalysisModel formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI014RiskPerformanceModel: <BI014RiskPerformanceModel formId={formId} formParam={formParam} data={data} formCode={formCode} />,
@ -409,7 +409,7 @@ export default function (componentName, formId, formParam, data, formCode, formD
// BI060MapeShow: <BI060MapeShow formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI060MapePoint: <BI060MapePoint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI061MapeGISShow: <BI061MapeGISShow formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI009FormRunAnalysis: <BI009FormRunAnalysis formId={formId} formParam={formParam} data={data} formCode={formCode} />,
BI009FormRunAnalysis: <BI009FormRunAnalysis formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI020ApproveAnalysis: <BI020ApproveAnalysis formId={formId} formParam={formParam} data={data} formCode={formCode} />,
// BI012FormRunAnalysis: <BI012FormRunAnalysis formId={formId} formParam={formParam} data={data} formCode={formCode} />,
PF136FormRunAnalysis: <PF136FormRunAnalysis formId={formId} formParam={formParam} data={data} formCode={formCode} />,