|
|
|
@ -83,7 +83,7 @@ class GraduationTasksSubmitnew extends Component{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
handleSubmit=(e) => {
|
|
|
|
|
|
|
|
|
|
console.log("86");
|
|
|
|
|
let {fileList,selectmemberslist,workslist}=this.state;
|
|
|
|
|
|
|
|
|
|
if(fileList.length === 0){
|
|
|
|
@ -91,7 +91,7 @@ class GraduationTasksSubmitnew extends Component{
|
|
|
|
|
Modalstype:true,
|
|
|
|
|
Modalstopval:'请上传附件!',
|
|
|
|
|
Loadtype:true,
|
|
|
|
|
ModalCancel:this.cancelAttachment
|
|
|
|
|
ModalSave:this.cancelAttachment,
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -119,7 +119,7 @@ class GraduationTasksSubmitnew extends Component{
|
|
|
|
|
listid.push(list.response.id)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
e.preventDefault();
|
|
|
|
|
// e.preventDefault();
|
|
|
|
|
if( GraduationTasksnewtype===true){
|
|
|
|
|
this.props.form.validateFields((err, values) => {
|
|
|
|
|
if (!err) {
|
|
|
|
@ -408,7 +408,27 @@ class GraduationTasksSubmitnew extends Component{
|
|
|
|
|
selectmemberslist:selects
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
onSearchKeywordKeyUp = (e) => {
|
|
|
|
|
if (e.keyCode === 13) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
onSearckeyd=(e)=>{
|
|
|
|
|
if(e.keyCode){
|
|
|
|
|
|
|
|
|
|
let {search} = this.state;
|
|
|
|
|
|
|
|
|
|
this.searchList(search,1,10)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
onSearchKeywordKeyUps= (e)=>{
|
|
|
|
|
if(e.keyCode=== 13){
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
onKeywordSearchKeyDown = (e) => {
|
|
|
|
|
if(e.keyCode == 13) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
gocannel=()=>{
|
|
|
|
|
window.history.go(-1)
|
|
|
|
|
}
|
|
|
|
@ -483,7 +503,8 @@ render(){
|
|
|
|
|
<a className="color-grey-6 fr font-16 ml30 mt10 mr20" onClick={this.goback}>返回</a>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<Form labelCol={{ span: 5 }} wrapperCol={{ span: 12 }} onSubmit={GraduationTasksnewtype===true?this.handleSubmit:""} >
|
|
|
|
|
{/*<Form labelCol={{ span: 5 }} wrapperCol={{ span: 12 }} onSubmit={GraduationTasksnewtype===true?this.handleSubmit:"return false"}*/}
|
|
|
|
|
{/*>*/}
|
|
|
|
|
<div className="stud-class-set pd20 coursenavbox edu-back-white">
|
|
|
|
|
<style>{`
|
|
|
|
|
.uploadBtn.ant-btn {
|
|
|
|
@ -536,6 +557,16 @@ render(){
|
|
|
|
|
>
|
|
|
|
|
<div>
|
|
|
|
|
<div className={"fl ml20"}>成员要求:2~5人</div>
|
|
|
|
|
<input type="text" style={{width:"0px",height:"0px",display:"none"}} onKeyUp={(e) => this.onSearchKeywordKeyUp(e)}
|
|
|
|
|
onkeydown={(e)=>this.onSearchKeywordKeyUps(e)}/>
|
|
|
|
|
|
|
|
|
|
<Search
|
|
|
|
|
style={{width:"0px",height:"0px",display:"none"}}
|
|
|
|
|
onKeyUp={(e) => this.onSearchKeywordKeyUp(e)}
|
|
|
|
|
onkeydown={(e)=>this.onSearchKeywordKeyUps(e)}
|
|
|
|
|
onPressEnter={this.onKeywordSearchKeyDown}
|
|
|
|
|
autoComplete="off"
|
|
|
|
|
></Search>
|
|
|
|
|
<Search
|
|
|
|
|
className={"fl mt5 ml20"}
|
|
|
|
|
style={{width:"270px"}}
|
|
|
|
@ -544,8 +575,11 @@ render(){
|
|
|
|
|
value={search}
|
|
|
|
|
onInput={this.inputSearchValue}
|
|
|
|
|
onSearch={this.searchValue}
|
|
|
|
|
onPressEnter={this.onKeywordSearchKeyDown}
|
|
|
|
|
onKeyUp={(e) => this.onSearckeyd(e)}
|
|
|
|
|
autoComplete="off"
|
|
|
|
|
></Search>
|
|
|
|
|
<input type="text" style={{display: "none",height:0, width: 0, border: "none"}}/>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -652,11 +686,11 @@ render(){
|
|
|
|
|
|
|
|
|
|
<Form.Item>
|
|
|
|
|
<div className="clearfix mt30 mb30">
|
|
|
|
|
<Button type="primary" htmlType="submit" className="defalutSubmitbtn fl mr20">提交</Button>
|
|
|
|
|
<Button type="primary" htmlType="submit" onClick={this.handleSubmit} className="defalutSubmitbtn fl mr20">提交</Button>
|
|
|
|
|
<a onClick={this.gocannel} className="defalutCancelbtn fl">取消</a>
|
|
|
|
|
</div>
|
|
|
|
|
</Form.Item>
|
|
|
|
|
</Form>
|
|
|
|
|
{/*</Form>*/}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|