hjm 6 years ago
commit f4664de408

@ -84,8 +84,20 @@ class GraduationTasksSubmitnew extends Component{
handleSubmit=(e) => { handleSubmit=(e) => {
let {fileList,selectmemberslist,workslist}=this.state; let {fileList,selectmemberslist,workslist}=this.state;
if(fileList.length === 0){
this.setState({
Modalstype:true,
Modalstopval:'请上传附件!',
Loadtype:true,
ModalCancel:this.cancelAttachment
})
return
}
let userids=[]; let userids=[];

@ -71,6 +71,7 @@ class Trialapplication extends Component {
this.setState({ this.setState({
isRenders: true isRenders: true
}) })
this.props.setTrialapplication();
} }
return response; return response;
}, (error) => { }, (error) => {
@ -86,9 +87,6 @@ class Trialapplication extends Component {
this.setState({ this.setState({
user_phone_binded: this.state.props.user_phone_binded, user_phone_binded: this.state.props.user_phone_binded,
}) })
if(this.state.props.user_phone_binded === true){
this.props.setTrialapplication();
}
} }
} catch (e) { } catch (e) {

Loading…
Cancel
Save