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() 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)}} >修改作品} 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({