dev_newshixunModel
杨树林 5 years ago
parent 560f4c5e2c
commit 218a2fe51f

@ -33,6 +33,8 @@ import Startshixuntask from "../coursesPublic/Startshixuntask";
import ModulationModal from "../coursesPublic/ModulationModal";
import HomeworkModal from "../coursesPublic/HomeworkModal";
import ShixunWorkModal from "./Shixunworkdetails/ShixunWorkModal";
import NoneData from '../../../modules/courses/coursesPublic/NoneData'
const Search = Input.Search;
const RadioGroup = Radio.Group;
const CheckboxGroup = Checkbox.Group;
@ -3042,7 +3044,7 @@ class Listofworksstudentone extends Component {
})
}
render() {
let {columns,course_groupysls,datajs,isAdmin, course_groupyslstwo, unlimited, unlimitedtwo, course_group_info, orders, task_status, checkedValuesine, searchtext, teacherlist, visible,visibles, game_list,columnsstu,columnsstu2, limit,experience, boolgalist,viewtrainingdata, teacherdata, page, data, jobsettingsdata, styletable, datas, order, loadingstate,computeTimetype} = this.state;
let {columns,course_groupysls,datajs,isAdmin,homework_status, course_groupyslstwo, unlimited, unlimitedtwo, course_group_info, orders, task_status, checkedValuesine, searchtext, teacherlist, visible,visibles, game_list,columnsstu,columnsstu2, limit,experience, boolgalist,viewtrainingdata, teacherdata, page, data, jobsettingsdata, styletable, datas, order, loadingstate,computeTimetype} = this.state;
const antIcon = <Icon type="loading" style={{ fontSize: 24 }} spin />;
// console.log(this.state.student_works);
@ -3075,7 +3077,6 @@ class Listofworksstudentone extends Component {
return (
this.props.isAdmin() === true ?
(
<div className=" clearfix " style={{margin: "auto" , minWidth:"1200px"}}>
{visible === true ? <ModulationModal
visible={visible}
@ -3149,6 +3150,13 @@ class Listofworksstudentone extends Component {
starttimes={this.state.starttimes}
typs={this.state.typs}
/>
{
homework_status.length===0?
<NoneData></NoneData>
:
homework_status.length>0 && homework_status[0]==="未发布"?
<NoneData></NoneData>
:
<div className={"educontent "}>
@ -3393,11 +3401,10 @@ class Listofworksstudentone extends Component {
: ""
}
</div>
}
</div>
)
:
(
<div>
{
teacherdata === undefined || teacherdata.student_works === undefined || teacherdata.student_works === null || JSON.stringify(teacherdata.student_works) === "[]" ?
@ -3479,6 +3486,19 @@ class Listofworksstudentone extends Component {
: ""
}
{
homework_status.length===0?
<div className=" clearfix " style={{margin: "auto" , minWidth:"1200px"}}>
<NoneData></NoneData>
</div>
:
homework_status.length>0 && homework_status[0]==="未发布"?
<div className=" clearfix " style={{margin: "auto" , minWidth:"1200px"}}>
<NoneData></NoneData>
</div>
:
<div className={"educontent "}>
<div className="edu-back-white" style={{width: "1200"}}>
@ -3599,7 +3619,7 @@ class Listofworksstudentone extends Component {
</div>
</div>
}
</div>
:
// 学生能查看别人的
@ -3625,6 +3645,18 @@ class Listofworksstudentone extends Component {
Cancel={() => this.cancelModulationModels()}
/> : ""
}
{
homework_status.length===0?
<div className=" clearfix " style={{margin: "auto" , minWidth:"1200px"}}>
<NoneData></NoneData>
</div>
:
homework_status.length>0 && homework_status[0]==="未发布"?
<div className=" clearfix " style={{margin: "auto" , minWidth:"1200px"}}>
<NoneData></NoneData>
</div>
:
<div className={"educontent mb20"}>
<div >
@ -3813,10 +3845,12 @@ class Listofworksstudentone extends Component {
}
</div>
</div>
}
</div>
}
</div>
)
)
}

Loading…
Cancel
Save