|
|
|
@ -904,7 +904,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
),
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
b_order: "desc",
|
|
|
|
|
// b_order: "desc",
|
|
|
|
|
myorders: "desc",
|
|
|
|
|
allow_late: false,
|
|
|
|
|
checkedValuesine: undefined,
|
|
|
|
@ -1749,6 +1749,33 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
this.Getalistofworks(homeworkid, false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Updatetimedropdon=()=>{
|
|
|
|
|
debugger
|
|
|
|
|
let ooders=""
|
|
|
|
|
if(this.state.orders!=="update_time"){
|
|
|
|
|
ooders="desc";
|
|
|
|
|
}else {
|
|
|
|
|
//不是更新时间
|
|
|
|
|
if (this.state.myorders === "desc") {
|
|
|
|
|
//升序
|
|
|
|
|
ooders="asc";
|
|
|
|
|
|
|
|
|
|
} else if (this.state.myorders === "asc") {
|
|
|
|
|
//降序
|
|
|
|
|
ooders="desc";
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
this.setState({
|
|
|
|
|
myorders: ooders,
|
|
|
|
|
orders: "update_time",
|
|
|
|
|
loadingstate: true,
|
|
|
|
|
})
|
|
|
|
|
this.Startsortingt("update_time", this.state.course_groupyslstwo, this.state.checkedValuesineinfo, this.state.searchtext, this.state.page, this.state.limit, ooders);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//实训作业tbale 列表塞选数据
|
|
|
|
|
table1handleChange = (pagination, filters, sorter) => {
|
|
|
|
|
//"ascend" 升序
|
|
|
|
@ -3815,14 +3842,14 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
<div className="clearfix">
|
|
|
|
|
<span className="fl color-grey-6 font-12"><span
|
|
|
|
|
className="color-orange-tip">{teacherdata === undefined ? "" : teacherdata.work_count && teacherdata.work_count}</span>个检索结果({teacherdata === undefined ? "" : teacherdata.all_member_count && teacherdata.all_member_count}学生) </span>
|
|
|
|
|
<div className={"fr drop_down "}>
|
|
|
|
|
<div className={"fr drop_down "} onClick={()=>this.Updatetimedropdon()}>
|
|
|
|
|
<span className={"color-blue"}>更新时间</span>
|
|
|
|
|
<sapn className="relativef ml5"style={{"top":"2px"}} >
|
|
|
|
|
<i className={this.state.order==="asc"?
|
|
|
|
|
"iconfont icon-sanjiaoxing-up font-12 color-blue fiilssort" :"iconfont icon-sanjiaoxing-up font-12 fiilssort"}></i>
|
|
|
|
|
<i className={this.state.order==="desc"?
|
|
|
|
|
"iconfont icon-sanjiaoxing-down font-12 yslbottomsj color-blue":"iconfont icon-sanjiaoxing-down font-12 yslbottomsj"}></i>
|
|
|
|
|
</sapn>
|
|
|
|
|
<sapn className="relativef ml5"style={{"top":"2px"}} >
|
|
|
|
|
<i className={this.state.orders&&this.state.orders==="update_time"&&this.state.myorders==="asc"?
|
|
|
|
|
"iconfont icon-sanjiaoxing-up font-12 color-blue fiilssort" :"iconfont icon-sanjiaoxing-up font-12 fiilssort"}></i>
|
|
|
|
|
<i className={this.state.orders&&this.state.orders==="update_time"&&this.state.myorders==="desc"?
|
|
|
|
|
"iconfont icon-sanjiaoxing-down font-12 yslbottomsj color-blue":"iconfont icon-sanjiaoxing-down font-12 yslbottomsj"}></i>
|
|
|
|
|
</sapn>
|
|
|
|
|
</div>
|
|
|
|
|
<style>
|
|
|
|
|
{
|
|
|
|
|