diff --git a/src/components/CustomPages/HM/HM042ShowPrint.js b/src/components/CustomPages/HM/HM042ShowPrint.js index ec027b7..ea07c2b 100644 --- a/src/components/CustomPages/HM/HM042ShowPrint.js +++ b/src/components/CustomPages/HM/HM042ShowPrint.js @@ -112,7 +112,6 @@ class HM042ShowPrint extends React.Component { this.state.isAudit = "inline"; } this.setState({ data: ret }) - this.state.data.Nav_Details = this.removeDuplicateObj(this.state.data.Nav_Details); if (ret.ID) { this.props.dispatch({ type: 'app/getDataByPost', diff --git a/src/components/CustomPages/SE/SE018PaperPage.js b/src/components/CustomPages/SE/SE018PaperPage.js index 4613b96..383d6bc 100644 --- a/src/components/CustomPages/SE/SE018PaperPage.js +++ b/src/components/CustomPages/SE/SE018PaperPage.js @@ -482,7 +482,7 @@ class SE018PaperPage extends React.Component { } { - it.Nav_Test.TYPE !== 0 && + it.Nav_Test.TYPE !== 0 && it.Nav_Test.OPTION_D != "" && it.Nav_Test.OPTION_D != undefined && { diff --git a/src/components/CustomPages/SE/SESafeSurveyTest.js b/src/components/CustomPages/SE/SESafeSurveyTest.js index b379c28..7089df9 100644 --- a/src/components/CustomPages/SE/SESafeSurveyTest.js +++ b/src/components/CustomPages/SE/SESafeSurveyTest.js @@ -128,7 +128,7 @@ class SESafeSurveyTest extends React.Component { NAME = ret.Nav_Papers[0].Nav_Safe.NAME; END_TIME = ret.Nav_Papers[0].Nav_Safe.END_TIME; } - if (moment().format("YYYY-MM-DD HH:mm:ss") > END_TIME) { + if (moment().format("YYYY-MM-DD HH:mm:ss") < END_TIME) { message.error('已过答题截止时间!'); this.props.dispatch({ type: 'app/getDataByPost', @@ -457,7 +457,7 @@ class SESafeSurveyTest extends React.Component { } { - it.Nav_Test.TYPE !== 0 && + it.Nav_Test.TYPE !== 0 && it.Nav_Test.OPTION_D != "" && it.Nav_Test.OPTION_D != undefined && {