+ style={{"Height":"204px"}}>
*/}
{/*{this.state.fileList.length===0?"":this.state.fileList.map((item,key)=>{*/}
- {/*return(*/}
- {/*
*/}
- {/**/}
- {/**/}
- {/**/}
- {/**/}
- {/*{item.name}*/}
- {/**/}
- {/**/}
- {/*{item.response===undefined?"":isNaN(bytesToSize(item.filesize))?"123":bytesToSize(item.filesize)}*/}
- {/**/}
- {/*this.onAttachmentRemove(item.response===undefined?"":item.response.id&&item.response.id)}>*/}
- {/*
*/}
- {/*)*/}
+ {/*return(*/}
+ {/*
*/}
+ {/**/}
+ {/**/}
+ {/**/}
+ {/**/}
+ {/*{item.name}*/}
+ {/**/}
+ {/**/}
+ {/*{item.response===undefined?"":isNaN(bytesToSize(item.filesize))?"123":bytesToSize(item.filesize)}*/}
+ {/**/}
+ {/*this.onAttachmentRemove(item.response===undefined?"":item.response.id&&item.response.id)}>*/}
+ {/*
*/}
+ {/*)*/}
{/*})}*/}
{this.state.newfileListtypes===true?
请先上传资源
:""}
- {/*
*/}
- {/**/}
-
- {/*
*/}
- {/**/}
- {/*勾选后所有用户可见,否则仅课堂成员可见*/}
- {/**/}
- {/*
*/}
- {/*/!*{this.props.has_course_groups&&this.props.has_course_groups===true?:""}*!/*/}
- {/*/!*{this.state.course_groupss&&this.state.course_groupss.length>0?
*!/*/}
- {/*/!*统一设置(选中则所有分班使用相同的发布设置,否则各个单独设置)*!/*/}
- {/*/!*:""}*!/*/}
-
- {/**/}
-
-
- {/*/!*this.props.has_course_groups&&this.props.has_course_groups===true?:""*!/*/}
- {/*
*/}
- {/*{unified_setting===false?*/}
- {/*this.state.course_groups&&this.state.course_groups.map((item,key)=>{*/}
- {/*return(*/}
- {/*
*/}
-
-
- {/**/}
-
-
- {/*this.onChangeTimepublishs(e,index,key)}*/}
- {/*// onChange={ this.onChangeTimepublish }*/}
- {/*disabledTime={disabledDateTime}*/}
- {/*disabledDate={disabledDate}*/}
- {/*/>*/}
-
- {/*{key!=0?this.deletegrouppublish(key)}>:""}*/}
- {/*{key===course_groups.length-1?:""}*/}
- {/*
*/}
- {/*)*/}
- {/*}):""}*/}
- {/*
*/}
+
+
- {/*
*/}
+
+
+ 勾选后所有用户可见,否则仅课堂成员可见
+
+
+ {/*{this.props.has_course_groups&&this.props.has_course_groups===true?:""}*/}
+ {/*{this.state.course_groupss&&this.state.course_groupss.length>0?
*/}
+ {/*统一设置(选中则所有分班使用相同的发布设置,否则各个单独设置)*/}
+ {/*:""}*/}
+
+
+
+
+ {/*this.props.has_course_groups&&this.props.has_course_groups===true?:""*/}
+
+ {unified_setting===false?
+ this.state.course_groups&&this.state.course_groups.map((item,key)=>{
+ return(
+
+
+
+
+
+
+ this.onChangeTimepublishs(e,index,key)}
+ // onChange={ this.onChangeTimepublish }
+ disabledTime={disabledDateTime}
+ disabledDate={disabledDate}
+ />
+
+ {key!=0?this.deletegrouppublish(key)}>:""}
+ {key===course_groups.length-1?:""}
+
+ )
+ }):""}
+
+
+
{unified_setting===true?
-
+
+ />
:""}
{/*{this.state.course_group_idtypes===true?
请选择分班
:""}*/}
diff --git a/public/react/src/modules/courses/coursesPublic/sendResource.js b/public/react/src/modules/courses/coursesPublic/sendResource.js
index 20f22b119..576c9b514 100644
--- a/public/react/src/modules/courses/coursesPublic/sendResource.js
+++ b/public/react/src/modules/courses/coursesPublic/sendResource.js
@@ -8,18 +8,18 @@ import moment from 'moment';
const CheckboxGroup = Checkbox.Group;
const Option = Select.Option;
function range(start, end) {
- const result = [];
- for (let i = start; i < end; i++) {
- result.push(i);
- }
- return result;
+ const result = [];
+ for (let i = start; i < end; i++) {
+ result.push(i);
+ }
+ return result;
}
function disabledDateTime() {
- return {
- // disabledHours: () => range(0, 24).splice(4, 20),
- disabledMinutes: () => range(1, 30).concat(range(31, 60)),
- // disabledSeconds: () => [0, 60],
- };
+ return {
+ // disabledHours: () => range(0, 24).splice(4, 20),
+ disabledMinutes: () => range(1, 30).concat(range(31, 60)),
+ // disabledSeconds: () => [0, 60],
+ };
}
function disabledDate(current) {
@@ -29,63 +29,63 @@ function disabledDate(current) {
const dateFormat="YYYY-MM-DD HH:mm";
class Sendresource extends Component{
- constructor(props){
- super(props);
- this.state={
- group_ids:[],
- fileList:[],
- Modalstype:false,
- Modalstopval:"",
- ModalCancel:"",
- ModalSave:"",
+ constructor(props){
+ super(props);
+ this.state={
+ group_ids:[],
+ fileList:[],
+ Modalstype:false,
+ Modalstopval:"",
+ ModalCancel:"",
+ ModalSave:"",
fileListtype:false,
- loadtype:false,
- is_unified_setting:true,
- is_public:false,
- datatime:undefined,
- // moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),
- course_group_publish_times:[
- {
- course_group_id : undefined,
- publish_time :""
- }],
- course_groups:undefined,
- course_groups_count:undefined
- }
- }
-
-
- componentDidMount() {
-
- let coursesId=this.props.match.params.coursesId;
- if(this.props.isAdmin()){
- let url = `/courses/${coursesId}/all_course_groups.json`
-
- axios.get(url, {
- })
- .then((response) => {
- this.setState({
- course_groups: response.data.course_groups,
- course_groups_count:response.data.course_groups_count
- })
- })
- .catch(function (error) {
- console.log(error);
- });
- }
-
- }
-
- //勾选实训
- shixunhomeworkedit=(list)=>{
-
- this.setState({
- group_ids:list
- })
-
- }
- // 附件相关 START
- handleChange = (info) => {
+ loadtype:false,
+ is_unified_setting:true,
+ is_public:false,
+ datatime:undefined,
+ // moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),
+ course_group_publish_times:[
+ {
+ course_group_id : undefined,
+ publish_time :""
+ }],
+ course_groups:undefined,
+ course_groups_count:undefined
+ }
+ }
+
+
+ componentDidMount() {
+
+ let coursesId=this.props.match.params.coursesId;
+ if(this.props.isAdmin()){
+ let url = `/courses/${coursesId}/all_course_groups.json`
+
+ axios.get(url, {
+ })
+ .then((response) => {
+ this.setState({
+ course_groups: response.data.course_groups,
+ course_groups_count:response.data.course_groups_count
+ })
+ })
+ .catch(function (error) {
+ console.log(error);
+ });
+ }
+
+ }
+
+ //勾选实训
+ shixunhomeworkedit=(list)=>{
+
+ this.setState({
+ group_ids:list
+ })
+
+ }
+ // 附件相关 START
+ handleChange = (info) => {
let fileList = info.fileList;
if(info.file.status!="removed"){
@@ -98,280 +98,280 @@ class Sendresource extends Component{
fileList: appendFileSizeToUploadFileAll(fileList),
});
}
- }
+ }
- // onAttachmentRemove = (file) => {
- //
+ // onAttachmentRemove = (file) => {
+ //
// this.setState({
// fileListtype:false,
// })
- // // confirm({
- // // title: '确定要删除这个附件吗?',
- // // okText: '确定',
- // // cancelText: '取消',
- // // // content: 'Some descriptions',
- // // onOk: () => {
- // // this.deleteAttachment(file)
- // // },
- // // onCancel() {
- // // console.log('Cancel');
- // // },
- // // });
- // // return false;
+ // // confirm({
+ // // title: '确定要删除这个附件吗?',
+ // // okText: '确定',
+ // // cancelText: '取消',
+ // // // content: 'Some descriptions',
+ // // onOk: () => {
+ // // this.deleteAttachment(file)
+ // // },
+ // // onCancel() {
+ // // console.log('Cancel');
+ // // },
+ // // });
+ // // return false;
//
- // // this.setState({
- // // Modalstype:true,
- // // Modalstopval:'确定要删除这个附件吗?',
- // // ModalSave: ()=>this.deleteAttachment(file),
- // // ModalCancel:this.cancelAttachment
- // // })
- // // return false;
+ // // this.setState({
+ // // Modalstype:true,
+ // // Modalstopval:'确定要删除这个附件吗?',
+ // // ModalSave: ()=>this.deleteAttachment(file),
+ // // ModalCancel:this.cancelAttachment
+ // // })
+ // // return false;
//
- // this.deleteAttachment(file);
- // }
+ // this.deleteAttachment(file);
+ // }
onAttachmentRemove = (file) => {
- const url = `/attachments/${file.response ? file.response.id : file.uid}.json`
- axios.delete(url, {
- })
- .then((response) => {
- if (response.data) {
- const { status } = response.data;
- if (status == 0) {
+ const url = `/attachments/${file.response ? file.response.id : file.uid}.json`
+ axios.delete(url, {
+ })
+ .then((response) => {
+ if (response.data) {
+ const { status } = response.data;
+ if (status == 0) {
this.setState({
fileListtype:false,
fileList:[]
})
- }
+ }
- }
- })
- .catch(function (error) {
- console.log(error);
- });
+ }
+ })
+ .catch(function (error) {
+ console.log(error);
+ });
+ this.setState({
+ fileListtype:false,
+ })
+ }
+
+ ModalCancelModalCancel=()=>{
+ this.setState({
+ Modalstype:false,
+ Modalstopval:"",
+ ModalSave:this.ModalCancelModalCancel,
+ loadtype:false
+ })
+ this.props.Cancel()
+ }
+ Saves=()=>{
+
+ let id=this.props.categoryid;
+ let {fileList,description,is_public,is_unified_setting,datatime,course_group_publish_times} =this.state;
+
+ let newfileList=[];
+ for(var list of fileList){
+ newfileList.push(list.response.id)
+ }
+
+ if(newfileList.length===0){
this.setState({
- fileListtype:false,
+ newfileListtype:true
})
- }
-
- ModalCancelModalCancel=()=>{
- this.setState({
- Modalstype:false,
- Modalstopval:"",
- ModalSave:this.ModalCancelModalCancel,
- loadtype:false
- })
- this.props.Cancel()
- }
- Saves=()=>{
-
- let id=this.props.categoryid;
- let {fileList,description,is_public,is_unified_setting,datatime,course_group_publish_times} =this.state;
-
- let newfileList=[];
- for(var list of fileList){
- newfileList.push(list.response.id)
- }
-
- if(newfileList.length===0){
- this.setState({
- newfileListtype:true
- })
- return
- }
- // if(is_unified_setting===false){
- // course_group_publish_times.forEach((item,key)=>{
- // if(item.course_group_id===undefined||item.publish_time===undefined){
- // this.setState({
- // course_group_publish_timestype:true
- // })
- // return
- // }
- // })
- //
- // }
-
-
-
- if(description===undefined){
-
- }else if(description.length>100){
-
- this.setState({
- descriptiontype:true
- })
- return
- }
-
- let coursesId=this.props.match.params.coursesId;
- let attachmentId=this.props.attachmentId;
- let url="/files/upload.json";
-
-
- axios.post(url,{
- course_id:coursesId,
- course_second_category_id:this.props.coursesidtype===undefined||this.props.coursesidtype==="node"?0:attachmentId,
- attachment_ids:newfileList,
- is_public:is_public,
- is_unified_setting:is_unified_setting,
- publish_time:is_unified_setting===true?datatime===undefined? moment(new Date()).format('YYYY-MM-DD HH:mm'):datatime:undefined,
- description:description,
- course_group_publish_times:is_unified_setting===false?course_group_publish_times:undefined
- }).then((result)=>{
-
- if(result.data.status===0){
- // this.setState({
- // Modalstype:true,
- // Modalstopval:result.data.message,
- // ModalSave:this.ModalCancelModalCancel,
- // loadtype:true
- // })
- this.ModalCancelModalCancel();
- this.props.updataleftNavfun();
- // this.props.showNotification(result.data.message);
- this.props.showNotification("上传资源成功");
- this.props.setupdate(this.props.attachmentId)
- }
- })
-
-
-
- }
-
- settextarea=(e)=>{
- this.setState({
- description:e.target.value
- })
- }
-
- onChangesetting=(e)=>{
-
- this.setState({
- is_unified_setting:e.target.checked
- })
-
- }
-
- onChangepublic=(e)=>{
-
- this.setState({
- is_public:e.target.checked
- })
-
- }
-
- onChangeTimepublish= (date, dateString,key,type) => {
- if(type===1){
- this.setState({
- datatime:handleDateString(dateString),
- })
- }else if(type===2){
- let {course_group_publish_times}=this.state;
- let newgroup_publish=course_group_publish_times;
- for(var i=0; i
{
- let {course_group_publish_times}=this.state;
- let newgroup_publish=course_group_publish_times;
- for(var i=0; i{
- let newlist=this.state.course_group_publish_times;
- newlist.splice(key,1);
- this.setState({
- course_group_publish_times:newlist
- })
- }
-
- addgrouppublish=()=>{
- let newlist=this.state.course_group_publish_times;
- newlist.push( {
- course_group_id : undefined,
- publish_time :undefined
- })
- this.setState({
- course_group_publish_times:newlist
- })
- }
-
- render(){
- let {settextarea,newfileListtype,descriptiontype,
- course_group_publish_timestype,
- Modalstopval,
- ModalCancel,
- ModalSave,
- loadtype,
- is_unified_setting,
- is_public,
- datatime,
- course_group_publish_times,
- course_groups
- }=this.state;
-
- const uploadProps = {
- width: 600,
- // showUploadList:false,
- action: `${getUrl()}/api/attachments.json`,
- onChange: this.handleChange,
- onRemove: this.onAttachmentRemove,
- beforeUpload: (file) => {
- // console.log('beforeUpload', file.name);
- const isLt150M = file.size / 1024 / 1024 < 150;
- if (!isLt150M) {
- message.error('文件大小必须小于150MB!');
- }
- return isLt150M;
- },
- };
-
- return(
-
- {/*提示*/}
-
-
-
-
-
-
-
-
-
- }
-
+
{
@@ -433,152 +433,152 @@ class Sendresource extends Component{
(单个文件最大150M)
:""}
-
+
{/**/}
{/*{this.state.fileList.length===0?"":this.state.fileList.map((item,key)=>{*/}
- {/*debugger*/}
- {/*return(*/}
- {/*
*/}
- {/**/}
- {/**/}
- {/**/}
- {/**/}
- {/*{item.name}*/}
- {/**/}
- {/**/}
- {/*{item.response===undefined?"":isNaN(bytesToSize(item.filesize))?"":bytesToSize(item.filesize)}*/}
- {/**/}
- {/*this.onAttachmentRemove(item.response===undefined?"":item.response.id&&item.response.id)}>*/}
- {/*
*/}
- {/*)*/}
+ {/*debugger*/}
+ {/*return(*/}
+ {/*
*/}
+ {/**/}
+ {/**/}
+ {/**/}
+ {/**/}
+ {/*{item.name}*/}
+ {/**/}
+ {/**/}
+ {/*{item.response===undefined?"":isNaN(bytesToSize(item.filesize))?"":bytesToSize(item.filesize)}*/}
+ {/**/}
+ {/*this.onAttachmentRemove(item.response===undefined?"":item.response.id&&item.response.id)}>*/}
+ {/*
*/}
+ {/*)*/}
{/*})}*/}
- {newfileListtype===true&&this.state.fileListtype===false?
请先上传资源
:""}
-
- {/*
*/}
- {/**/}
-
- {/*
*/}
- {/*勾选后所有用户可见,否则仅课堂成员可见*/}
- {/**/}
-
- {/*/!*{this.state.course_groups_count&&this.state.course_groups_count>0?
*!/*/}
- {/*/!*统一设置(选中则所有分班使用相同的发布设置,否则各个单独设置)*!/*/}
- {/*/!*:""}*!/*/}
- {/**/}
- {/*
*/}
- {/*{is_unified_setting===false?*/}
- {/*course_group_publish_times.map((item,key)=>{*/}
- {/*return(*/}
- {/*
*/}
-
- {/**/}
-
- {/*this.onChangeTimepublish(e,index,key,2)}*/}
- {/*// onChange={ this.onChangeTimepublish }*/}
- {/*disabledTime={disabledDateTime}*/}
- {/*disabledDate={disabledDate}*/}
- {/*/>*/}
- {/*{key!=0?this.deletegrouppublish(key)}>:""}*/}
- {/*{key===course_group_publish_times.length-1&&key:""}*/}
- {/*
*/}
- {/*)*/}
- {/*})*/}
-
- {/*:""}*/}
- {/*
*/}
-
- {/**/}
-
- {is_unified_setting===true?
+ {newfileListtype===true&&this.state.fileListtype===false?
请先上传资源
:""}
+
+
+
+
+
+ 勾选后所有用户可见,否则仅课堂成员可见
+
+
+ {/*{this.state.course_groups_count&&this.state.course_groups_count>0?
*/}
+ {/*统一设置(选中则所有分班使用相同的发布设置,否则各个单独设置)*/}
+ {/*:""}*/}
+
+
+ {is_unified_setting===false?
+ course_group_publish_times.map((item,key)=>{
+ return(
+
+
+
+
+ this.onChangeTimepublish(e,index,key,2)}
+ // onChange={ this.onChangeTimepublish }
+ disabledTime={disabledDateTime}
+ disabledDate={disabledDate}
+ />
+ {key!=0?this.deletegrouppublish(key)}>:""}
+ {key===course_group_publish_times.length-1&&key:""}
+
+ )
+ })
+
+ :""}
+
+
+
+
+ {is_unified_setting===true?
this.onChangeTimepublish(e,index,undefined,1)}
- disabledTime={disabledDateTime}
+ dropdownClassName="hideDisable"
+ showTime={{ format: 'HH:mm' }}
+ locale={locale}
+ format={dateFormat}
+ placeholder="请选择发布时间"
+ id={"startime"}
+ showToday={false}
+ width={"210px"}
+ value={datatime===undefined||datatime===""?undefined:moment(datatime, dateFormat)}
+ onChange={(e,index)=>this.onChangeTimepublish(e,index,undefined,1)}
+ disabledTime={disabledDateTime}
disabledDate={disabledDate}
- />
+ />
-
:""}
-
- {/*{course_group_publish_timestype===true?
请填写完整
:""}*/}
-
- {descriptiontype===true?
请输入资源描述,最大限制100个字符
:""}
-
-
-
-
-
- )
- }
+ :""}
+
+ {/*{course_group_publish_timestype===true?请填写完整
:""}*/}
+
+ {descriptiontype===true?请输入资源描述,最大限制100个字符
:""}
+
+
+
+
+
+ )
+ }
}
export default Sendresource;
\ No newline at end of file
diff --git a/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js b/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js
index 3906b090d..145a544fb 100644
--- a/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js
+++ b/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js
@@ -2033,7 +2033,7 @@ class Studentshavecompletedthelist extends Component {
page:1,
})
}
- this.Searchdatasys(this.state.order, this.state.commit_status, null, this.state.checkedValuesineinfo, this.state.searchtext, 1, this.state.limit);
+ this.Searchdatasys(this.state.order, this.state.course_groupyslstwo, null, this.state.checkedValuesineinfo, this.state.searchtext, 1, this.state.limit);
}
// notlimiteds = () => {
// this.setState({
@@ -2160,7 +2160,7 @@ class Studentshavecompletedthelist extends Component {
})
}
- this.Searchdatasys(this.state.order, this.state.commit_status, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, 1, this.state.limit);
+ this.Searchdatasys(this.state.order, this.state.course_groupyslstwo, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, 1, this.state.limit);
} else if (checkedValues.length === data.length) {
if (this.state.loadingstate === false) {
this.setState({
@@ -2177,7 +2177,7 @@ class Studentshavecompletedthelist extends Component {
})
}
- this.Searchdatasys(this.state.order, this.state.commit_status, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, 1, this.state.limit);
+ this.Searchdatasys(this.state.order, this.state.course_groupyslstwo, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, 1, this.state.limit);
} else {
// console.log(checkedValues);
if (this.state.loadingstate === false) {
@@ -2195,7 +2195,7 @@ class Studentshavecompletedthelist extends Component {
})
}
- this.Searchdatasys(this.state.order, this.state.commit_status, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, 1, this.state.limit);
+ this.Searchdatasys(this.state.order, this.state.course_groupyslstwo, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, 1, this.state.limit);
}
}
@@ -2218,7 +2218,7 @@ class Studentshavecompletedthelist extends Component {
})
}
- this.Searchdatasys(this.state.order, this.state.commit_status, this.state.review, undefined, this.state.searchtext, 1, this.state.limit)
+ this.Searchdatasys(this.state.order, this.state.course_groupyslstwo, this.state.review, undefined, this.state.searchtext, 1, this.state.limit)
}
funtaskstatustwo = (checkedValues, data) => {
@@ -2240,7 +2240,7 @@ class Studentshavecompletedthelist extends Component {
})
}
- this.Searchdatasys(this.state.order, this.state.commit_status, this.state.review, checkedValues, this.state.searchtext, 1, this.state.limit)
+ this.Searchdatasys(this.state.order, this.state.course_groupyslstwo, this.state.review, checkedValues, this.state.searchtext, 1, this.state.limit)
} else if (checkedValues.length === data.length) {
if (this.state.loadingstate === false) {
this.setState({
@@ -2257,7 +2257,7 @@ class Studentshavecompletedthelist extends Component {
})
}
- this.Searchdatasys(this.state.order, this.state.commit_status, this.state.review, checkedValues, this.state.searchtext, 1, this.state.limit)
+ this.Searchdatasys(this.state.order, this.state.course_groupyslstwo, this.state.review, checkedValues, this.state.searchtext, 1, this.state.limit)
} else {
// console.log(checkedValues);
if (this.state.loadingstate === false) {
@@ -2278,7 +2278,7 @@ class Studentshavecompletedthelist extends Component {
}
- this.Searchdatasys(this.state.order, this.state.commit_status, this.state.review, checkedValues, this.state.searchtext, 1, this.state.limit)
+ this.Searchdatasys(this.state.order, this.state.course_groupyslstwo, this.state.review, checkedValues, this.state.searchtext, 1, this.state.limit)
this.props.setcourse_groupysls(checkedValues)
}
@@ -2299,7 +2299,7 @@ class Studentshavecompletedthelist extends Component {
})
}
- this.Searchdatasys(this.state.order, this.state.commit_status, this.state.review, this.state.checkedValuesineinfo, this.state.searchtext, 1, this.state.limit);
+ this.Searchdatasys(this.state.order, this.state.course_groupyslstwo, this.state.review, this.state.checkedValuesineinfo, this.state.searchtext, 1, this.state.limit);
}
};
//搜索学生按钮输入 老师
@@ -2316,7 +2316,7 @@ class Studentshavecompletedthelist extends Component {
})
}
- this.Searchdatasys(this.state.order, this.state.commit_status, this.state.review, this.state.checkedValuesineinfo, value, 1, this.state.limit);
+ this.Searchdatasys(this.state.order, this.state.course_groupyslstwo, this.state.review, this.state.checkedValuesineinfo, value, 1, this.state.limit);
// this.Startsorting(this.state.order,this.state.checkedValuesine,this.state.checkedValuesineinfo,value);
// console.log(value)
@@ -2353,6 +2353,8 @@ class Studentshavecompletedthelist extends Component {
//排序
funordersy = (e) => {
+ console.log(this.state.course_groupyslstwo);
+ debugger
if (e === "end_at") {
// 时间
// 时间排序是从小到大
@@ -2367,7 +2369,7 @@ class Studentshavecompletedthelist extends Component {
})
}
- this.Searchdatasys(e, this.state.commit_status, this.state.review, this.state.checkedValuesineinfo, this.state.searchtext, this.state.page,this.state.limit)
+ this.Searchdatasys(e, this.state.course_groupyslstwo, this.state.review, this.state.checkedValuesineinfo, this.state.searchtext, this.state.page,this.state.limit)
}
if (e === "score") {
@@ -2385,7 +2387,7 @@ class Studentshavecompletedthelist extends Component {
}
- this.Searchdatasys(e, this.state.commit_status, this.state.review, this.state.checkedValuesineinfo, this.state.searchtext, null, null)
+ this.Searchdatasys(e, this.state.course_groupyslstwo, this.state.review, this.state.checkedValuesineinfo, this.state.searchtext, null, null)
}
if (e === "student_id") {
@@ -2402,7 +2404,7 @@ class Studentshavecompletedthelist extends Component {
})
}
- this.Searchdatasys(e, this.state.commit_status, this.state.review, this.state.checkedValuesineinfo, this.state.searchtext, null, null)
+ this.Searchdatasys(e, this.state.course_groupyslstwo, this.state.review, this.state.checkedValuesineinfo, this.state.searchtext, null, null)
}
}
setExerciseReviewAndAnswer = () => {
@@ -2423,7 +2425,7 @@ class Studentshavecompletedthelist extends Component {
" min-width": " 1200px",
}}>
{/*老师*/}
-