From ed149ff5557a6a37dfc16a545e41551160f4fa24 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Thu, 27 Jun 2019 14:32:32 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E8=A1=A5=E4=BA=A4=E4=BD=9C=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/modules/courses/busyWork/CommonWorkDetailIndex.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/react/src/modules/courses/busyWork/CommonWorkDetailIndex.js b/public/react/src/modules/courses/busyWork/CommonWorkDetailIndex.js index 4e3214e50..b16fd6d32 100644 --- a/public/react/src/modules/courses/busyWork/CommonWorkDetailIndex.js +++ b/public/react/src/modules/courses/busyWork/CommonWorkDetailIndex.js @@ -243,6 +243,12 @@ class CommonWorkDetailIndex extends Component{ {work_statuses && work_statuses.indexOf('提交作品') != -1 && { this.props.toWorkPostPage(this.props.match.params)}} >提交作品} + + { work_statuses && work_statuses.indexOf('补交作品') != -1 && + { this.props.toWorkPostPage(this.props.match.params, null, true, work_id)}}> + 补交作品 } + {work_statuses && work_statuses.indexOf('修改作品') != -1 && { this.props.toWorkPostPage(this.props.match.params, null, true, work_id)}} >修改作品} From aeedc74f409d02e2a0a928e47792aef26ce3efe9 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Thu, 27 Jun 2019 14:42:18 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=AF=95=E8=AE=BE=E9=80=89=E9=A2=98-?= =?UTF-8?q?=E5=90=8C=E6=84=8F=E9=80=89=E9=A2=98=E7=82=B9=E5=87=BB=E6=97=A0?= =?UTF-8?q?=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../courses/graduation/topics/GraduateTopicDetailTable.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/react/src/modules/courses/graduation/topics/GraduateTopicDetailTable.js b/public/react/src/modules/courses/graduation/topics/GraduateTopicDetailTable.js index bd58e555b..4e92f75ee 100644 --- a/public/react/src/modules/courses/graduation/topics/GraduateTopicDetailTable.js +++ b/public/react/src/modules/courses/graduation/topics/GraduateTopicDetailTable.js @@ -80,10 +80,11 @@ class GraduateTopicDetailTable extends Component{ } sureAgreeTopic=(count)=>{ if(count > 0){ + debugger let{tableData}=this.props; let{operationId,classesId}=this.state let courseId=this.props.match.params.course_id; - let name=tableData.group_list.filter(item=>item.course_group_id==classesId)[0].group_name; + let name=tableData.group_list.filter(item=>item.group_id==classesId)[0].group_name; this.agreeChoose(courseId,operationId,classesId,name); }else{ this.setState({ From 98d9af969eb2f3a2970253104b52fa64d1e96163 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Thu, 27 Jun 2019 14:46:54 +0800 Subject: [PATCH 3/3] c --- public/react/src/AppConfig.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/react/src/AppConfig.js b/public/react/src/AppConfig.js index 8f93f780b..2100ebe8d 100644 --- a/public/react/src/AppConfig.js +++ b/public/react/src/AppConfig.js @@ -102,6 +102,7 @@ export function initAxiosInterceptors(props) { if(response===undefined){ return } + const config = response.config if (response.data.status === -1) { // console.error('error:', response.data.message) // throw new Error()