From 08897e51828f110e67e7b9a05cde8172e6f30c16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Mon, 8 Jul 2019 16:26:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shixunHomework/ShixunStudentWork.js | 10 +++++++ .../shixunHomework/ShixunWorkReport.js | 10 +++---- .../Shixunworkdetails/ShixunWorkModal.js | 5 ++-- .../OfficialAcademicTranscript.js | 26 ++++++++++++++----- 4 files changed, 38 insertions(+), 13 deletions(-) diff --git a/public/react/src/modules/courses/shixunHomework/ShixunStudentWork.js b/public/react/src/modules/courses/shixunHomework/ShixunStudentWork.js index 070744cdb..66ca6fbe4 100644 --- a/public/react/src/modules/courses/shixunHomework/ShixunStudentWork.js +++ b/public/react/src/modules/courses/shixunHomework/ShixunStudentWork.js @@ -135,6 +135,10 @@ class ShixunStudentWork extends Component { this.setState({ duplicatechecking: true }) + notification.open({ + message:"提示", + description: response.data.message + }); } if (response.data.status === -1) { @@ -144,6 +148,8 @@ class ShixunStudentWork extends Component { }); } + + }).catch((error) => { console.log(error) }); @@ -197,6 +203,10 @@ class ShixunStudentWork extends Component { this.setState({ duplicatechecking: true }) + notification.open({ + message:"提示", + description: response.data.message + }); } if (response.data.status === -1) { diff --git a/public/react/src/modules/courses/shixunHomework/ShixunWorkReport.js b/public/react/src/modules/courses/shixunHomework/ShixunWorkReport.js index 50cb0e81c..359ae50f4 100644 --- a/public/react/src/modules/courses/shixunHomework/ShixunWorkReport.js +++ b/public/react/src/modules/courses/shixunHomework/ShixunWorkReport.js @@ -142,7 +142,7 @@ class ShixunWorkReport extends Component {