Compare commits
2 Commits
3a49e85425
...
1c32bbb9c6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1c32bbb9c6 | ||
|
|
7af1386e80 |
@ -109,7 +109,9 @@ class SC022Import extends React.Component {
|
|||||||
// message.error(`${info.file.name} 导入错误`);
|
// message.error(`${info.file.name} 导入错误`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (info.fileList && info.fileList.length > 1) {
|
||||||
|
info.fileList.splice(0, info.fileList.length - 1)
|
||||||
|
}
|
||||||
that.setState({
|
that.setState({
|
||||||
updateLoadFileList: info.fileList,
|
updateLoadFileList: info.fileList,
|
||||||
data: info,
|
data: info,
|
||||||
|
|||||||
@ -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({
|
that.setState({
|
||||||
updateLoadFileList: info.fileList,
|
updateLoadFileList: info.fileList,
|
||||||
data: info,
|
data: info,
|
||||||
|
|||||||
@ -20,5 +20,12 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
setRowFieldVisible("T_SE_TRAIN_RECORD_USER", { "EXAMINATION_RESULTS": false, "SCORE": false, "Nav_Files": false })
|
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
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user