From 9aefffb9edfcf345605a161f5576ba225d39068d 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: Thu, 20 Nov 2025 18:49:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=8A=A5=E9=94=99=EF=BC=8C?= =?UTF-8?q?=E6=94=BE=E5=87=BA=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CustomPages/FO/FO015ShowPrint.js | 2 +- .../CustomPages/FO/FO017ShowPrint.js | 2 +- .../CustomPages/FO/FO017ShowPrintJD.js | 1 - .../CustomPages/FO/FO019ShowPrint.js | 2 - .../CustomPages/FO/FO021ShowPrint.js | 1 - .../CustomPages/FO/FO022ShowPrint.js | 2 +- .../CustomPages/FO/FO025ShowPrint.js | 2 +- .../CustomPages/FO/FO035ShowPrint.js | 2 - .../CustomPages/FO/FO037ShowPrint.js | 3 +- .../CustomPages/FO/FO041ShowPrint.js | 3 +- .../CustomPages/FO/FO043ShowPrint.js | 3 +- .../CustomPages/FO/FO045ShowPrint.js | 3 +- .../CustomPages/SK/SK002ShowPrint.js | 2 - .../CustomPages/SK/SK004ShowPrint.js | 2 - .../CustomPages/SK/SK006ShowPrint.js | 4 +- .../CustomPages/SK/SK010ShowPrint.js | 2 +- .../CustomPages/SK/SK012ShowPrint.js | 2 +- .../CustomPages/SK/SK014ShowPrint.js | 2 +- .../CustomPages/SK/SK016ShowPrint.js | 2 +- .../CustomPages/SK/SK018ShowPrint.js | 2 +- .../CustomPages/SK/SK020ShowPrint.js | 2 +- .../CustomPages/SK/SK022ShowPrint.js | 10 ++-- .../CustomPages/SK/SK024ShowPrint.js | 2 +- .../CustomPages/SK/SK026ShowPrint.js | 2 +- .../CustomPages/SK/SK027ShowPrint.js | 2 +- .../CustomPages/SK/SK031ShowPrint.js | 2 +- .../CustomPages/SK/SK033ShowPrint.js | 2 +- .../CustomPages/SK/SK035CheckLibrary.js | 3 +- .../CustomPages/SK/SK035ShowPrint.js | 2 +- .../CustomPages/SK/SK037ShowPrint.js | 2 +- .../CustomPages/SK/SK039ShowPrint.js | 2 +- .../CustomPages/SK/SK041ShowPrint.js | 2 +- .../CustomPages/SK/SK043ShowPrint.js | 3 +- .../CustomPages/SK/SK045ShowPrint.js | 3 +- src/files/edit/SK006.js | 49 ++++++++----------- src/utils/customConfig.js | 28 +++++------ 36 files changed, 67 insertions(+), 93 deletions(-) diff --git a/src/components/CustomPages/FO/FO015ShowPrint.js b/src/components/CustomPages/FO/FO015ShowPrint.js index e5cc0b9..1838e97 100644 --- a/src/components/CustomPages/FO/FO015ShowPrint.js +++ b/src/components/CustomPages/FO/FO015ShowPrint.js @@ -93,7 +93,7 @@ class FO015ShowPrint extends React.Component { this.setState({ BtnAgreeDisplay: 'inline' }) } } - else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } + } }); } diff --git a/src/components/CustomPages/FO/FO017ShowPrint.js b/src/components/CustomPages/FO/FO017ShowPrint.js index b74b43b..08f5ca6 100644 --- a/src/components/CustomPages/FO/FO017ShowPrint.js +++ b/src/components/CustomPages/FO/FO017ShowPrint.js @@ -82,7 +82,7 @@ class FO017ShowPrint extends React.Component { } this.onClickApprove(false); } - else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } + } }); } diff --git a/src/components/CustomPages/FO/FO017ShowPrintJD.js b/src/components/CustomPages/FO/FO017ShowPrintJD.js index 90f3a64..ffd64c8 100644 --- a/src/components/CustomPages/FO/FO017ShowPrintJD.js +++ b/src/components/CustomPages/FO/FO017ShowPrintJD.js @@ -82,7 +82,6 @@ class FO017ShowPrintJD extends React.Component { } this.onClickApprove(false); } - else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } } }); } diff --git a/src/components/CustomPages/FO/FO019ShowPrint.js b/src/components/CustomPages/FO/FO019ShowPrint.js index 15f9a71..6668054 100644 --- a/src/components/CustomPages/FO/FO019ShowPrint.js +++ b/src/components/CustomPages/FO/FO019ShowPrint.js @@ -85,8 +85,6 @@ class FO019ShowPrint extends React.Component { this.setState({ BtnAgreeDisplay: 'inline' }) } } - else - { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!');} } }); } diff --git a/src/components/CustomPages/FO/FO021ShowPrint.js b/src/components/CustomPages/FO/FO021ShowPrint.js index 6f64cb3..1c5dd69 100644 --- a/src/components/CustomPages/FO/FO021ShowPrint.js +++ b/src/components/CustomPages/FO/FO021ShowPrint.js @@ -88,7 +88,6 @@ class FO021ShowPrint extends React.Component { this.setState({ BtnAgreeDisplay: 'inline' }) } } - else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } } }); } diff --git a/src/components/CustomPages/FO/FO022ShowPrint.js b/src/components/CustomPages/FO/FO022ShowPrint.js index 567f989..ce3d5f5 100644 --- a/src/components/CustomPages/FO/FO022ShowPrint.js +++ b/src/components/CustomPages/FO/FO022ShowPrint.js @@ -104,7 +104,7 @@ class FO022ShowPrint extends React.Component { this.setState({ BtnAgreeDisplay: 'inline' }) } } - else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } + } }); } diff --git a/src/components/CustomPages/FO/FO025ShowPrint.js b/src/components/CustomPages/FO/FO025ShowPrint.js index 918501d..56d9c8a 100644 --- a/src/components/CustomPages/FO/FO025ShowPrint.js +++ b/src/components/CustomPages/FO/FO025ShowPrint.js @@ -82,7 +82,7 @@ class FO025ShowPrint extends React.Component { } this.onClickApprove(false); } - else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } + } }); } diff --git a/src/components/CustomPages/FO/FO035ShowPrint.js b/src/components/CustomPages/FO/FO035ShowPrint.js index a53d47d..72b2ff6 100644 --- a/src/components/CustomPages/FO/FO035ShowPrint.js +++ b/src/components/CustomPages/FO/FO035ShowPrint.js @@ -74,8 +74,6 @@ class FO035ShowPrint extends React.Component { this.setState({ BtnAgreeDisplay: 'inline' }) } } - else - { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!');} } }); } diff --git a/src/components/CustomPages/FO/FO037ShowPrint.js b/src/components/CustomPages/FO/FO037ShowPrint.js index 73869af..6296fb5 100644 --- a/src/components/CustomPages/FO/FO037ShowPrint.js +++ b/src/components/CustomPages/FO/FO037ShowPrint.js @@ -74,8 +74,7 @@ class FO037ShowPrint extends React.Component { this.setState({ BtnAgreeDisplay: 'inline' }) } } - else - { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!');} + } }); } diff --git a/src/components/CustomPages/FO/FO041ShowPrint.js b/src/components/CustomPages/FO/FO041ShowPrint.js index b01ea89..c8b6cb5 100644 --- a/src/components/CustomPages/FO/FO041ShowPrint.js +++ b/src/components/CustomPages/FO/FO041ShowPrint.js @@ -74,8 +74,7 @@ class FO041ShowPrint extends React.Component { this.setState({ BtnAgreeDisplay: 'inline' }) } } - else - { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!');} + } }); } diff --git a/src/components/CustomPages/FO/FO043ShowPrint.js b/src/components/CustomPages/FO/FO043ShowPrint.js index 49a7819..6c9b6e2 100644 --- a/src/components/CustomPages/FO/FO043ShowPrint.js +++ b/src/components/CustomPages/FO/FO043ShowPrint.js @@ -74,8 +74,7 @@ class FO043ShowPrint extends React.Component { this.setState({ BtnAgreeDisplay: 'inline' }) } } - else - { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!');} + } }); } diff --git a/src/components/CustomPages/FO/FO045ShowPrint.js b/src/components/CustomPages/FO/FO045ShowPrint.js index a80fc6e..77104cc 100644 --- a/src/components/CustomPages/FO/FO045ShowPrint.js +++ b/src/components/CustomPages/FO/FO045ShowPrint.js @@ -74,8 +74,7 @@ class FO045ShowPrint extends React.Component { this.setState({ BtnAgreeDisplay: 'inline' }) } } - else - { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!');} + } }); } diff --git a/src/components/CustomPages/SK/SK002ShowPrint.js b/src/components/CustomPages/SK/SK002ShowPrint.js index e1e8092..f21d33b 100644 --- a/src/components/CustomPages/SK/SK002ShowPrint.js +++ b/src/components/CustomPages/SK/SK002ShowPrint.js @@ -145,8 +145,6 @@ class SK002ShowPrint extends React.Component { // this.setState({ isFinished: 'inline' }) // } } - else - { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!');} } }); } diff --git a/src/components/CustomPages/SK/SK004ShowPrint.js b/src/components/CustomPages/SK/SK004ShowPrint.js index ebd0b87..bdd0e9b 100644 --- a/src/components/CustomPages/SK/SK004ShowPrint.js +++ b/src/components/CustomPages/SK/SK004ShowPrint.js @@ -203,8 +203,6 @@ class SK004ShowPrint extends React.Component { // this.setState({ isFinished: 'inline' }) // } } - else - { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!');} } }); } diff --git a/src/components/CustomPages/SK/SK006ShowPrint.js b/src/components/CustomPages/SK/SK006ShowPrint.js index 9f544a6..f3373be 100644 --- a/src/components/CustomPages/SK/SK006ShowPrint.js +++ b/src/components/CustomPages/SK/SK006ShowPrint.js @@ -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('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } + } }); } diff --git a/src/components/CustomPages/SK/SK010ShowPrint.js b/src/components/CustomPages/SK/SK010ShowPrint.js index 2a9beab..967e834 100644 --- a/src/components/CustomPages/SK/SK010ShowPrint.js +++ b/src/components/CustomPages/SK/SK010ShowPrint.js @@ -91,7 +91,7 @@ class SK010ShowPrint extends React.Component { } this.onClickApprove(false); } - else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } + } }); } diff --git a/src/components/CustomPages/SK/SK012ShowPrint.js b/src/components/CustomPages/SK/SK012ShowPrint.js index bee86a7..33e9444 100644 --- a/src/components/CustomPages/SK/SK012ShowPrint.js +++ b/src/components/CustomPages/SK/SK012ShowPrint.js @@ -112,7 +112,7 @@ class SK012ShowPrint extends React.Component { } this.onClickApprove(false); } - else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } + } }); } diff --git a/src/components/CustomPages/SK/SK014ShowPrint.js b/src/components/CustomPages/SK/SK014ShowPrint.js index e0acec8..f1efede 100644 --- a/src/components/CustomPages/SK/SK014ShowPrint.js +++ b/src/components/CustomPages/SK/SK014ShowPrint.js @@ -91,7 +91,7 @@ class SK014ShowPrint extends React.Component { } this.onClickApprove(false); } - else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } + } }); } diff --git a/src/components/CustomPages/SK/SK016ShowPrint.js b/src/components/CustomPages/SK/SK016ShowPrint.js index 21bf5f4..523b7d7 100644 --- a/src/components/CustomPages/SK/SK016ShowPrint.js +++ b/src/components/CustomPages/SK/SK016ShowPrint.js @@ -71,7 +71,7 @@ class SK016ShowPrint extends React.Component { } this.onClickApprove(false); } - else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } + } }); } diff --git a/src/components/CustomPages/SK/SK018ShowPrint.js b/src/components/CustomPages/SK/SK018ShowPrint.js index b3034f3..f0683f1 100644 --- a/src/components/CustomPages/SK/SK018ShowPrint.js +++ b/src/components/CustomPages/SK/SK018ShowPrint.js @@ -102,7 +102,7 @@ class SK018ShowPrint extends React.Component { } this.onClickApprove(false); } - else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } + } }); } diff --git a/src/components/CustomPages/SK/SK020ShowPrint.js b/src/components/CustomPages/SK/SK020ShowPrint.js index 5cc1785..cd2e00c 100644 --- a/src/components/CustomPages/SK/SK020ShowPrint.js +++ b/src/components/CustomPages/SK/SK020ShowPrint.js @@ -91,7 +91,7 @@ class SK020ShowPrint extends React.Component { } this.onClickApprove(false); } - else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } + } }); } diff --git a/src/components/CustomPages/SK/SK022ShowPrint.js b/src/components/CustomPages/SK/SK022ShowPrint.js index 366e29a..6444e57 100644 --- a/src/components/CustomPages/SK/SK022ShowPrint.js +++ b/src/components/CustomPages/SK/SK022ShowPrint.js @@ -92,7 +92,7 @@ class SK022ShowPrint extends React.Component { } this.onClickApprove(false); } - else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } + } }); } @@ -171,11 +171,9 @@ class SK022ShowPrint extends React.Component { { showFiles(data?.Nav_RectifyFiles, config.picServerHost, this) } -
- {data.ACCEPT_DATE?moment(data.ACCEPT_DATE).format('YYYY-MM-DD'):null} - {enums.SKAcceptResultEnum.enums[data.ACCEPT_RESULTE]} - {data.ACCEPT_OPINION} -
+ {data.ACCEPT_DATE?moment(data.ACCEPT_DATE).format('YYYY-MM-DD'):null} + {enums.SKAcceptResultEnum.enums[data.ACCEPT_RESULTE]} + {data.ACCEPT_OPINION} { data.STATUS == 20 && data.Nav_RecitifyUser && data.Nav_RecitifyUser.FILE_PATH ? diff --git a/src/components/CustomPages/SK/SK024ShowPrint.js b/src/components/CustomPages/SK/SK024ShowPrint.js index 3758055..44d286c 100644 --- a/src/components/CustomPages/SK/SK024ShowPrint.js +++ b/src/components/CustomPages/SK/SK024ShowPrint.js @@ -84,7 +84,7 @@ class SK024ShowPrint extends React.Component { } this.onClickApprove(false); } - else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } + } }); } diff --git a/src/components/CustomPages/SK/SK026ShowPrint.js b/src/components/CustomPages/SK/SK026ShowPrint.js index 97497e5..797fa9f 100644 --- a/src/components/CustomPages/SK/SK026ShowPrint.js +++ b/src/components/CustomPages/SK/SK026ShowPrint.js @@ -272,7 +272,7 @@ class SK026ShowPrint extends React.Component { // this.setState({ isFinished: 'inline' }) // } } - else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } + } }); } diff --git a/src/components/CustomPages/SK/SK027ShowPrint.js b/src/components/CustomPages/SK/SK027ShowPrint.js index a00a775..07ca05f 100644 --- a/src/components/CustomPages/SK/SK027ShowPrint.js +++ b/src/components/CustomPages/SK/SK027ShowPrint.js @@ -77,7 +77,7 @@ class SK027ShowPrint extends React.Component { } this.onClickApprove(false); } - else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } + } }); } diff --git a/src/components/CustomPages/SK/SK031ShowPrint.js b/src/components/CustomPages/SK/SK031ShowPrint.js index 9851ece..b254452 100644 --- a/src/components/CustomPages/SK/SK031ShowPrint.js +++ b/src/components/CustomPages/SK/SK031ShowPrint.js @@ -68,7 +68,7 @@ class SK031ShowPrint extends React.Component { } this.onClickApprove(false); } - else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } + } }); } diff --git a/src/components/CustomPages/SK/SK033ShowPrint.js b/src/components/CustomPages/SK/SK033ShowPrint.js index f57f3c6..6329857 100644 --- a/src/components/CustomPages/SK/SK033ShowPrint.js +++ b/src/components/CustomPages/SK/SK033ShowPrint.js @@ -72,7 +72,7 @@ class SK033ShowPrint extends React.Component { } this.onClickApprove(true); } - else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } + } }); } diff --git a/src/components/CustomPages/SK/SK035CheckLibrary.js b/src/components/CustomPages/SK/SK035CheckLibrary.js index e3c3a73..9210b9b 100644 --- a/src/components/CustomPages/SK/SK035CheckLibrary.js +++ b/src/components/CustomPages/SK/SK035CheckLibrary.js @@ -210,8 +210,7 @@ class SK035CheckLibrary extends React.Component { } }); } - else - { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!');} + } }); } diff --git a/src/components/CustomPages/SK/SK035ShowPrint.js b/src/components/CustomPages/SK/SK035ShowPrint.js index 3d06463..a96a8c5 100644 --- a/src/components/CustomPages/SK/SK035ShowPrint.js +++ b/src/components/CustomPages/SK/SK035ShowPrint.js @@ -72,7 +72,7 @@ class SK035ShowPrint extends React.Component { } this.onClickApprove(false); } - else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } + } }); } diff --git a/src/components/CustomPages/SK/SK037ShowPrint.js b/src/components/CustomPages/SK/SK037ShowPrint.js index cb74b6f..49f89be 100644 --- a/src/components/CustomPages/SK/SK037ShowPrint.js +++ b/src/components/CustomPages/SK/SK037ShowPrint.js @@ -73,7 +73,7 @@ class SK037ShowPrint extends React.Component { } this.onClickApprove(false); } - else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } + } }); } diff --git a/src/components/CustomPages/SK/SK039ShowPrint.js b/src/components/CustomPages/SK/SK039ShowPrint.js index a495048..ace2661 100644 --- a/src/components/CustomPages/SK/SK039ShowPrint.js +++ b/src/components/CustomPages/SK/SK039ShowPrint.js @@ -73,7 +73,7 @@ class SK039ShowPrint extends React.Component { } this.onClickApprove(false); } - else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } + } }); } diff --git a/src/components/CustomPages/SK/SK041ShowPrint.js b/src/components/CustomPages/SK/SK041ShowPrint.js index b1d4eb8..9a9972e 100644 --- a/src/components/CustomPages/SK/SK041ShowPrint.js +++ b/src/components/CustomPages/SK/SK041ShowPrint.js @@ -73,7 +73,7 @@ class SK041ShowPrint extends React.Component { } this.onClickApprove(false); } - else { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!'); } + } }); } diff --git a/src/components/CustomPages/SK/SK043ShowPrint.js b/src/components/CustomPages/SK/SK043ShowPrint.js index 2c077fa..46bf059 100644 --- a/src/components/CustomPages/SK/SK043ShowPrint.js +++ b/src/components/CustomPages/SK/SK043ShowPrint.js @@ -67,8 +67,7 @@ class SK043ShowPrint extends React.Component { // this.setState({ isFinished: 'inline' }) // } } - else - { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!');} + } }); } diff --git a/src/components/CustomPages/SK/SK045ShowPrint.js b/src/components/CustomPages/SK/SK045ShowPrint.js index 6ea9976..156c740 100644 --- a/src/components/CustomPages/SK/SK045ShowPrint.js +++ b/src/components/CustomPages/SK/SK045ShowPrint.js @@ -71,8 +71,7 @@ class SK045ShowPrint extends React.Component { // this.setState({ isFinished: 'inline' }) // } } - else - { message.error('请先尝试刷新,若仍然加载失败,请联系管理员排查!');} + } }); } diff --git a/src/files/edit/SK006.js b/src/files/edit/SK006.js index 42d49af..841fe7b 100644 --- a/src/files/edit/SK006.js +++ b/src/files/edit/SK006.js @@ -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) diff --git a/src/utils/customConfig.js b/src/utils/customConfig.js index 2c57814..d5fdaf9 100644 --- a/src/utils/customConfig.js +++ b/src/utils/customConfig.js @@ -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: , - // BIView: , + BIView: , // BI001: , // BI050BSSafeCheck: , // BI051BSCompanyYear: , @@ -381,7 +381,7 @@ export default function (componentName, formId, formParam, data, formCode, formD // BI053BSSafeCheckYear: , // BI054HomeDetail: , // BI055HomeDetail: , - // BI056Performance: , + BI056Performance: , // BI056Dilg1_1: , // BI056Dilg1_2: , // BI056Dilg2_1: , @@ -389,7 +389,7 @@ export default function (componentName, formId, formParam, data, formCode, formD // BI056Dilg3_1: , // BI056Dilg3_2: , // BI003StatiscialAnalysis: , - // BI001HomeDetail: , + BI001HomeDetail: , // BI002HomeDetail: , // BI004FormRunAnalysis: , // BI005LoginRecord: , @@ -400,8 +400,8 @@ export default function (componentName, formId, formParam, data, formCode, formD // BI008FormRunAnalysis: , // BI009RiskAnalysis: , // BI010FormRunAnalysis: , - // BI011FormRunAnalysis: , - // BI011TrainSafeAnalysis: , + BI011FormRunAnalysis: , + BI011TrainSafeAnalysis: , // BI012NotificationTaskAnalysis: , // BI013RiskAnalysisModel: , // BI014RiskPerformanceModel: , @@ -409,7 +409,7 @@ export default function (componentName, formId, formParam, data, formCode, formD // BI060MapeShow: , // BI060MapePoint: , // BI061MapeGISShow: , - // BI009FormRunAnalysis: , + BI009FormRunAnalysis: , // BI020ApproveAnalysis: , // BI012FormRunAnalysis: , PF136FormRunAnalysis: ,