|
|
@ -80,7 +80,8 @@ class GraduationTasksSubmitedit extends Component{
|
|
|
|
let workId=this.props.match.params.work_Id;
|
|
|
|
let workId=this.props.match.params.work_Id;
|
|
|
|
let {workslist}=this.state
|
|
|
|
let {workslist}=this.state
|
|
|
|
let task_id=workslist&&workslist.task_id;
|
|
|
|
let task_id=workslist&&workslist.task_id;
|
|
|
|
window.location.href="/courses/"+coursesId+"/graduation_tasks/"+task_id+"/"+workId+"/works/edit";
|
|
|
|
// window.location.href="/courses/"+coursesId+"/graduation_tasks/"+task_id+"/"+workId+"/works/edit";
|
|
|
|
|
|
|
|
window.location.href="/courses/"+coursesId+"/graduation_tasks/"+workId+"/appraise";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
handleSubmit=(e) => {
|
|
|
|
handleSubmit=(e) => {
|
|
|
@ -248,7 +249,7 @@ class GraduationTasksSubmitedit extends Component{
|
|
|
|
|
|
|
|
|
|
|
|
onAttachmentRemove = (file) => {
|
|
|
|
onAttachmentRemove = (file) => {
|
|
|
|
let {attachments,fileList}=this.state;
|
|
|
|
let {attachments,fileList}=this.state;
|
|
|
|
const url = `/attachments/${file.uid===undefined?file.id:file.uid}.json`
|
|
|
|
const url = `/attachments/${file}.json`
|
|
|
|
axios.delete(url, {
|
|
|
|
axios.delete(url, {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
@ -592,7 +593,9 @@ class GraduationTasksSubmitedit extends Component{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{workslist&&workslist.task_type===1?"":
|
|
|
|
{workslist&&workslist.task_type===1?"":
|
|
|
|
<div className="stud-class-set pd20 coursenavbox edu-back-white">
|
|
|
|
<div className="stud-class-set pd20 coursenavbox edu-back-white"
|
|
|
|
|
|
|
|
style={{borderTop:'1px solid #ccc'}}
|
|
|
|
|
|
|
|
>
|
|
|
|
<Form.Item
|
|
|
|
<Form.Item
|
|
|
|
label="小组成员"
|
|
|
|
label="小组成员"
|
|
|
|
|
|
|
|
|
|
|
@ -632,6 +635,7 @@ class GraduationTasksSubmitedit extends Component{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div className={"members fl"}
|
|
|
|
<div className={"members fl"}
|
|
|
|
|
|
|
|
style={{paddingLeft: '9px'}}
|
|
|
|
onScroll={this.contentViewScroll}>
|
|
|
|
onScroll={this.contentViewScroll}>
|
|
|
|
|
|
|
|
|
|
|
|
<CheckboxGroup value={task_status} onChange={this.funtaskstatus} style={{ paddingTop: '4px'}}>
|
|
|
|
<CheckboxGroup value={task_status} onChange={this.funtaskstatus} style={{ paddingTop: '4px'}}>
|
|
|
@ -653,9 +657,7 @@ class GraduationTasksSubmitedit extends Component{
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
disabled={item.commit_status===true?true:false} className="fl "></Checkbox>
|
|
|
|
disabled={item.commit_status===true?true:false} className="fl "></Checkbox>
|
|
|
|
<Tooltip placement="bottom" title={item.user_name}>
|
|
|
|
<div className={"fl ml5 fonthidden width87"} style={{width: '70px'}} title={item.user_name}>{item.user_name}</div>
|
|
|
|
<div className={"fl ml5 fonthidden width87"} style={{width: '70px'}}>{item.user_name}</div>
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
<div className={"fl ml5 fonthidden width87 color-grey-9"} style={{width: '70px'}}>{item.group_name}</div>
|
|
|
|
<div className={"fl ml5 fonthidden width87 color-grey-9"} style={{width: '70px'}}>{item.group_name}</div>
|
|
|
|
<div className={"fl ml5 color-grey-9 fonthidden width87"} style={{width: '70px'}}>{item.student_id}</div>
|
|
|
|
<div className={"fl ml5 color-grey-9 fonthidden width87"} style={{width: '70px'}}>{item.student_id}</div>
|
|
|
|
<div className={"fl ml20"}>{item.commit_status===false?<span className={"color-orange"}>已提交</span> :""}</div>
|
|
|
|
<div className={"fl ml20"}>{item.commit_status===false?<span className={"color-orange"}>已提交</span> :""}</div>
|
|
|
@ -680,12 +682,10 @@ class GraduationTasksSubmitedit extends Component{
|
|
|
|
height: '30px',
|
|
|
|
height: '30px',
|
|
|
|
display:item.user_name===undefined?"none":""
|
|
|
|
display:item.user_name===undefined?"none":""
|
|
|
|
}}>
|
|
|
|
}}>
|
|
|
|
<Tooltip placement="bottom" title={item.user_name}>
|
|
|
|
<div className={"fl ml5 fonthidden width87"} style={{width: '50px'}} title={item.user_name}>{item.user_name}</div>
|
|
|
|
<div className={"fl ml5 fonthidden width87"} style={{width: '50px'}}>{item.user_name}</div>
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
<div className={"fl ml5 fonthidden width87 color-grey-9"}>{item.group_name}</div>
|
|
|
|
<div className={"fl ml5 fonthidden width87 color-grey-9"}>{item.group_name}</div>
|
|
|
|
<div className={"fl ml5 color-grey-9 fonthidden width87"}>{item.student_id}</div>
|
|
|
|
<div className={"fl ml5 color-grey-9 fonthidden width87"}>{item.student_id}</div>
|
|
|
|
{key>0?<div className={"fl ml20"}><i className={"iconfont icon-shanchudiao fl "} style={{marginTop:'-4px'}} onClick={()=>this.delecttask_status(item.user_id)}></i></div>:""}
|
|
|
|
{key>0?<div className={"fr ml20"}><i className={"iconfont icon-shanchudiao fl color-grey-9"} style={{marginTop:'-4px'}} onClick={()=>this.delecttask_status(item.user_id)}></i></div>:""}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
})}
|
|
|
|
})}
|
|
|
|