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

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

Loading…
Cancel
Save