diff --git a/public/react/src/modules/courses/gradinforms/Bullsubdirectory.js b/public/react/src/modules/courses/gradinforms/Bullsubdirectory.js index 496423f73..db4f89bfc 100644 --- a/public/react/src/modules/courses/gradinforms/Bullsubdirectory.js +++ b/public/react/src/modules/courses/gradinforms/Bullsubdirectory.js @@ -233,7 +233,7 @@ class Bullsubdirectory extends Component{ { whethertoeditysl === false?
-
+
{myname} diff --git a/public/react/src/modules/courses/gradinforms/myysleduinforms.css b/public/react/src/modules/courses/gradinforms/myysleduinforms.css index 8376c63c8..a05dc9a63 100644 --- a/public/react/src/modules/courses/gradinforms/myysleduinforms.css +++ b/public/react/src/modules/courses/gradinforms/myysleduinforms.css @@ -70,6 +70,10 @@ .fudonyingxiangysl{ width: 100%; } +.fudonyingxiangysls{ + display: flex; + flex-direction:column; +} .yslbianji{ padding-top: 31px; diff --git a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js index a5423b6e9..c600e01ff 100644 --- a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js +++ b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js @@ -3059,20 +3059,20 @@ class Listofworksstudentone extends Component { // console.log(this.props.isAdmin()); let course_is_end = this.props.current_user&&this.props.current_user.course_is_end; - try { - if(this.props.isAdmin() === false){ - if(teacherdata&&teacherdata.student_works){ - if(teacherdata&&teacherdata.student_works.length>0){ - console.log("这是双层页面。。。。"); - - } - } - - } - }catch (e) { - console.log("Listofworksstudentone123"); - console.log(e); - } + // try { + // if(this.props.isAdmin() === false){ + // if(teacherdata&&teacherdata.student_works){ + // if(teacherdata&&teacherdata.student_works.length>0){ + // console.log("这是双层页面。。。。"); + // + // } + // } + // + // } + // }catch (e) { + // console.log("Listofworksstudentone123"); + // console.log(e); + // } return ( @@ -3151,12 +3151,12 @@ class Listofworksstudentone extends Component { typs={this.state.typs} /> { - homework_status.length===0? + homework_status&&homework_status.length===0?
: - homework_status.length>0 && homework_status[0]==="未发布"? + homework_status&&homework_status.length>0 && homework_status[0]==="未发布"?
@@ -3491,12 +3491,12 @@ class Listofworksstudentone extends Component { } { - homework_status.length===0? + homework_status&&homework_status.length&&homework_status.length===0?
: - homework_status.length>0 && homework_status[0]==="未发布"? + homework_status&&homework_status.length>0 && homework_status&&homework_status[0]==="未发布"?
@@ -3651,12 +3651,12 @@ class Listofworksstudentone extends Component { } { - homework_status.length===0? + homework_status&&homework_status.length===0?
: - homework_status.length>0 && homework_status[0]==="未发布"? + homework_status&&homework_status.length>0 && homework_status&&homework_status[0]==="未发布"?