dev_hss
杨树明 5 years ago
parent 0f8998578f
commit 95a2dc687d

@ -195,8 +195,8 @@ class ShixunWorkReport extends Component {
this.setState({
modalsType: true,
modalsTopval:"是否确认删除?",
modalSave: this.isdeleteModals(),
modalCancel:this.hideisdeleteModal(),
modalSave: ()=>this.isdeleteModals(),
modalCancel:()=>this.hideisdeleteModal(),
})
}
@ -204,8 +204,8 @@ class ShixunWorkReport extends Component {
this.setState({
modalsType: false,
modalsTopval:"是否确认删除?",
modalSave: this.isdeleteModals(),
modalCancel:this.hideisdeleteModal(),
modalSave: ()=>this.isdeleteModals(),
modalCancel:()=>this.hideisdeleteModal(),
})
}
@ -216,8 +216,10 @@ class ShixunWorkReport extends Component {
if(response.data.status===0){
this.props.showNotification(response.data.message)
this.setState({
showAppraiseModalsshow:false,
work_comment_hidden:false
showAppraiseModalsshow:false,
work_comment_hidden:false,
work_comment:undefined,
work_type:0,
})
this.hideisdeleteModal()
}else{
@ -296,8 +298,9 @@ class ShixunWorkReport extends Component {
{this.props.isAdmin() ?<a
className=" color-blue font-14 fr ml20 mt15"
onClick={()=>this.showAppraiseModal(1)}
>{work_comment===null||work_comment===undefined?"评阅":"编辑评阅"}</a>:""}
>评阅</a>:""}
</div>
{/*{work_comment===null||work_comment===undefined?"评阅":"编辑评阅"}*/}
<style>{
`
.shixunreporttitleboxtop {

Loading…
Cancel
Save