From bc337c6f7b4f569ec16bb38fa2656638459d036f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Tue, 10 Sep 2019 13:07:37 +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 | 51 ++++++++++--------- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js index 36ec72276..40ec74ae8 100644 --- a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js +++ b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js @@ -457,6 +457,7 @@ class Listofworksstudentone extends Component { ), }, ], + orders: "", columnsstu2: [ { title: '序号', @@ -583,11 +584,11 @@ class Listofworksstudentone extends Component { {record.classroom === undefined ? -- : record.classroom === "" ? + style={{ + color: '#9A9A9A', + textAlign: "center", + width:'145px', + }}>-- : record.classroom === "" ? -- : - {record.classroom} + {record.classroom} } ), @@ -650,14 +651,14 @@ class Listofworksstudentone extends Component { } }> {record.cost_time === null? "--":record.cost_time === undefined?"--":record.cost_time === "--"?"--": - {record.cost_time === null ? "--":record.cost_time === undefined ?"--":record.cost_time} + } + >{record.cost_time === null ? "--":record.cost_time === undefined ?"--":record.cost_time} } @@ -804,7 +805,6 @@ class Listofworksstudentone extends Component { ), }, ], - orders: "", b_order:"desc", allow_late:false, checkedValuesine: undefined, @@ -1816,7 +1816,10 @@ class Listofworksstudentone extends Component { } // console.log("554"); + // console.log("Listofworksstudentone.js45666"); // console.log(columns2); + // console.log(columns3); + // console.log(arr); this.setState({ data: datalist, @@ -1889,7 +1892,7 @@ class Listofworksstudentone extends Component { if(item.title==="学号") { continue }else{ - arr.push(item); + arr2.push(item); } }else{ if (this.state.work_efficiency === false) { @@ -1898,11 +1901,11 @@ class Listofworksstudentone extends Component { } else if (item.title === "效率分") { continue }else{ - arr.push(item); + arr2.push(item); } }else{ - arr.push(item); + arr2.push(item); } } @@ -1970,7 +1973,9 @@ class Listofworksstudentone extends Component { // console.log("datalistdatalist文件"); // console.log(datalist); // console.log("645"); + // console.log("Listofworksstudentone12314.js"); // console.log(columns2); + // console.log(columns3); this.setState({ data: datalist, teacherlist: teacherlist,