|
|
|
@ -12,6 +12,7 @@ import CoursesListType from '../../coursesPublic/CoursesListType';
|
|
|
|
|
import ModulationModal from "../../coursesPublic/ModulationModal";
|
|
|
|
|
import AllocationModal from "../../coursesPublic/AllocationModal";
|
|
|
|
|
import Associationmodel from '../../coursesPublic/Associationmodel';
|
|
|
|
|
import AccessoryModal from "../../coursesPublic/AccessoryModal";
|
|
|
|
|
|
|
|
|
|
const CheckboxGroup = Checkbox.Group;
|
|
|
|
|
const Search = Input.Search;
|
|
|
|
@ -436,12 +437,25 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
handaccessory=()=>{
|
|
|
|
|
let {taskslistdata}=this.state;
|
|
|
|
|
let courseId=this.props.match.params.coursesId;
|
|
|
|
|
// let {taskslistdata}=this.state;
|
|
|
|
|
// let courseId=this.props.match.params.coursesId;
|
|
|
|
|
//
|
|
|
|
|
// let url="/courses/"+courseId+"/graduation_tasks/"+taskslistdata.work_id+"/appraise"
|
|
|
|
|
//
|
|
|
|
|
// window.location.href=url;
|
|
|
|
|
this.setState({
|
|
|
|
|
avisible:true
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let url="/courses/"+courseId+"/graduation_tasks/"+taskslistdata.work_id+"/appraise"
|
|
|
|
|
Cancelvisible=()=>{
|
|
|
|
|
this.setState({
|
|
|
|
|
avisible:false
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
window.location.href=url;
|
|
|
|
|
setupdate=()=>{
|
|
|
|
|
this.searchValue()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
showModulationtype=(id)=>{
|
|
|
|
@ -1355,7 +1369,15 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
|
/>
|
|
|
|
|
:""}
|
|
|
|
|
|
|
|
|
|
{taskslistdata&&taskslistdata?
|
|
|
|
|
{this.state.avisible===true?<AccessoryModal
|
|
|
|
|
modalname={"补交附件"}
|
|
|
|
|
visible={this.state.avisible}
|
|
|
|
|
Cancelname={"取消"}
|
|
|
|
|
Savesname={"确认"}
|
|
|
|
|
Cancel={this.Cancelvisible}
|
|
|
|
|
categoryid={taskslistdata.work_id}
|
|
|
|
|
setupdate={this.setupdate}
|
|
|
|
|
/>:""} {taskslistdata&&taskslistdata?
|
|
|
|
|
// 教师列表
|
|
|
|
|
this.props.isAdmin()?<div className="newMain clearfix">
|
|
|
|
|
<div className={"educontent mb20"}>
|
|
|
|
|