From 0d911b37de8d20f745d93a55395aeb03e9efcd6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Sat, 7 Sep 2019 10:30:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shixunHomework/Listofworksstudentone.js | 25 +++++-------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js index 1a7b15351..3db3846fe 100644 --- a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js +++ b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js @@ -1031,6 +1031,8 @@ class Listofworksstudentone extends Component { // console.log(this.props); // console.log(this.props.isAdmin()) this.student(); + console.log("Listofworksstudentone---------------"); + console.log(this.props); } isupdatas = () => { var homeworkid = this.props.match.params.homeworkid; @@ -2492,27 +2494,12 @@ class Listofworksstudentone extends Component { let {columns,course_groupysls,datajs,isAdmin, course_groupyslstwo, unlimited, unlimitedtwo, course_group_info, orders, task_status, checkedValuesine, searchtext, teacherlist, visible,visibles, game_list,columnsstu, limit,experience, boolgalist,viewtrainingdata, teacherdata, page, data, jobsettingsdata, styletable, datas, order, loadingstate,computeTimetype} = this.state; const antIcon = ; - // console.log(this.state.student_works); - // console.log("841"); - // console.log(this.state.columns); - // console.log(datajs); - // console.log("2202"); - // console.log(this.props.isAdmin()); - // console.log("2498"); - // console.log(data); - // console.log(datas); - // console.log(this.props.isAdmin()); + let course_is_end = this.props.current_user&&this.props.current_user.course_is_end; - // if(this.props.isAdmin() === false){ - // if(teacherdata.student_works!==undefined){ - // if(teacherdata.student_works.length>0){ - // - // - // } - // } - // - // } + + console.log("Listofworksstudentone+++++++++"); + console.log(this.props); return ( this.props.isAdmin() === true ? (