diff --git a/public/react/src/modules/courses/shixunHomework/ShixunWorkReport.js b/public/react/src/modules/courses/shixunHomework/ShixunWorkReport.js
index 309a0b755..113a12670 100644
--- a/public/react/src/modules/courses/shixunHomework/ShixunWorkReport.js
+++ b/public/react/src/modules/courses/shixunHomework/ShixunWorkReport.js
@@ -153,11 +153,16 @@ class ShixunWorkReport extends Component {
})
}
- showAppraiseModal=()=>{
- debugger
- this.setState({
- showAppraiseModaltype:true
- })
+ showAppraiseModal=(sum)=>{
+ if(sum===undefined){
+ this.setState({
+ showAppraiseModaltype:true
+ })
+ }else{
+ work_comment:undefined,
+ work_type:0,
+ }
+
}
hideAppraiseModal=()=>{
@@ -252,7 +257,7 @@ class ShixunWorkReport extends Component {
> 导出实训报告数据 : ""}
{this.props.isAdmin() ?work_comment_hidden===true? "":this.showAppraiseModal()}
+ onClick={()=>this.showAppraiseModal(1)}
>评阅 : ""}