dev_hss
杨树明 6 years ago
parent 45152b2420
commit c38a58c53b

@ -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 {
> <Spin size="small" spinning={this.state.isspinning}>导出实训报告数据</Spin></a> : ""}
{this.props.isAdmin() ?work_comment_hidden===true? "":<a
className=" color-blue font-14 fr ml20 mt15"
onClick={()=>this.showAppraiseModal()}
onClick={()=>this.showAppraiseModal(1)}
>评阅</a> : ""}
</div>
<style>{

Loading…
Cancel
Save