|
|
@ -154,19 +154,21 @@ class ShixunWorkReport extends Component {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
showAppraiseModal=(sum)=>{
|
|
|
|
showAppraiseModal=(sum)=>{
|
|
|
|
if(sum===undefined){
|
|
|
|
// if(sum===undefined){
|
|
|
|
|
|
|
|
// this.setState({
|
|
|
|
|
|
|
|
// showAppraiseModaltype:true,
|
|
|
|
|
|
|
|
// })
|
|
|
|
|
|
|
|
// }else{
|
|
|
|
|
|
|
|
// this.setState({
|
|
|
|
|
|
|
|
// showAppraiseModaltype:true,
|
|
|
|
|
|
|
|
// work_comment:undefined,
|
|
|
|
|
|
|
|
// work_type:0,
|
|
|
|
|
|
|
|
// })
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// }
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
showAppraiseModaltype:true,
|
|
|
|
showAppraiseModaltype:true,
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}else{
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
|
|
|
showAppraiseModaltype:true,
|
|
|
|
|
|
|
|
work_comment:undefined,
|
|
|
|
|
|
|
|
work_type:0,
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
hideAppraiseModal=()=>{
|
|
|
|
hideAppraiseModal=()=>{
|
|
|
|