From 7af1386e8060ffe19a3d8bc36ef37a59bb10b27a Mon Sep 17 00:00:00 2001 From: wyw <571921741@qq.com> Date: Fri, 27 Mar 2026 10:26:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=85=A5=20=E5=85=AC=E5=85=B1?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=20=E5=8F=AA=E6=98=BE=E7=A4=BA=E6=9C=80?= =?UTF-8?q?=E6=96=B0=E9=99=84=E4=BB=B6=20=E5=9F=B9=E8=AE=AD=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=20=E5=8F=82=E4=B8=8E=E7=9A=84=E4=BA=BA=20=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=90=88=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CustomPages/SC/SC022Import.js | 4 +++- src/components/CustomPages/SC/SC022ImportData.js | 3 +++ src/files/edit/SE018.js | 7 +++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/components/CustomPages/SC/SC022Import.js b/src/components/CustomPages/SC/SC022Import.js index 3a6fb1d..4f31a11 100644 --- a/src/components/CustomPages/SC/SC022Import.js +++ b/src/components/CustomPages/SC/SC022Import.js @@ -109,7 +109,9 @@ class SC022Import extends React.Component { // message.error(`${info.file.name} 导入错误`); } } - + if (info.fileList && info.fileList.length > 1) { + info.fileList.splice(0, info.fileList.length - 1) + } that.setState({ updateLoadFileList: info.fileList, data: info, diff --git a/src/components/CustomPages/SC/SC022ImportData.js b/src/components/CustomPages/SC/SC022ImportData.js index 10974df..edc646b 100644 --- a/src/components/CustomPages/SC/SC022ImportData.js +++ b/src/components/CustomPages/SC/SC022ImportData.js @@ -116,6 +116,9 @@ class SC022ImportData extends React.Component { } } + if (info.fileList && info.fileList.length > 1) { + info.fileList.splice(0, info.fileList.length - 1) + } that.setState({ updateLoadFileList: info.fileList, data: info, diff --git a/src/files/edit/SE018.js b/src/files/edit/SE018.js index eab9674..d53d72d 100644 --- a/src/files/edit/SE018.js +++ b/src/files/edit/SE018.js @@ -20,5 +20,12 @@ export default { } else { setRowFieldVisible("T_SE_TRAIN_RECORD_USER", { "EXAMINATION_RESULTS": false, "SCORE": false, "Nav_Files": false }) } + + if (stateData.Nav_Users && stateData.Nav_Users.length > 0) { + stateData.Nav_Users.forEach(e => { + if (e.STATUS == 0 && e.EXAMINATION_RESULTS == undefined) + e.EXAMINATION_RESULTS = 1 + }) + } } }