dev_forum
杨树林 6 years ago
parent e53d241035
commit 15e810a2d5

@ -22,3 +22,8 @@
.mtf3{
margin-top: -3px;
}
.ysltable{
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap
}

@ -24,6 +24,7 @@ import moment from 'moment';
import '../css/members.css'
import '../css/busyWork.css'
import '../poll/pollStyle.css'
import './Challenges.css'
import {getImageUrl} from 'educoder';
import TraineetraininginformationModal from "./TraineetraininginformationModal";
import DownloadMessageysl from '../../modals/DownloadMessageysl';
@ -182,7 +183,7 @@ class Listofworksstudentone extends Component {
className:'font-14',
render: (text, record) => (
<span>
<span style={{
<span className="ysltable" style={{
"color": '#9A9A9A',
"text-align": "center"
}}>{record.classroom === undefined ? "--" : record.classroom === "" ? "--" : record.classroom === null ? "--" : record.classroom}</span>
@ -418,7 +419,7 @@ class Listofworksstudentone extends Component {
align: 'center',
className:'font-14',
render: (text, record) => (
<span style={{"color": '#07111B', "text-align": "center"}}>{record.classroom}</span>
<span className="ysltable" style={{"color": '#07111B', "text-align": "center"}}>{record.classroom}</span>
)
},
{
@ -680,7 +681,7 @@ class Listofworksstudentone extends Component {
align: 'center',
className:'font-14',
render: (text, record) => (
<span style={{"color": '#07111B', "text-align": "center"}}>{record.classroom}</span>
<span className="ysltable" style={{"color": '#07111B', "text-align": "center"}}>{record.classroom}</span>
)
},
{
@ -968,7 +969,6 @@ class Listofworksstudentone extends Component {
// console.log("951");
// console.log(result);
// debugger
if (result.status === 200) {
this.setState({
teacherdata: result.data,
task_status: result.data.task_status,
@ -990,7 +990,6 @@ class Listofworksstudentone extends Component {
this.seacthdatas(result.data, result.data.student_works);
}
}
}).catch((error) => {
console.log(error);
})
@ -1022,7 +1021,7 @@ class Listofworksstudentone extends Component {
limit: limit,
}
axios.post(urll, data).then((result) => {
if (result.status === 200) {
if (result) {
// console.log("学生未截至未公开的作品列表")
// console.log(JSON.stringify(result))
this.setState({
@ -1282,7 +1281,7 @@ class Listofworksstudentone extends Component {
// console.log(JSON.stringify(this.props.user))
var url = `/student_works/${userids}/shixun_work.json`;
axios.get(url).then((result) => {
if (result.status === 200) {
if (result) {
// console.log("Listofworksstudentone.js")
// console.log(JSON.stringify(result))
let datalist = [];
@ -1498,7 +1497,6 @@ class Listofworksstudentone extends Component {
limit:20,
}
axios.post(urll, data).then((result) => {
debugger
if (result) {
// console.log(url)
// console.log("作品列表6789077")
@ -1930,7 +1928,7 @@ class Listofworksstudentone extends Component {
// console.log(JSON.stringify(this.props.user))
var url = `/student_works/${userids}/shixun_work.json`;
axios.get(url).then((result) => {
if (result.status === 200) {
if (result) {
// console.log("TraineetraininginformationModal.js")
// console.log(JSON.stringify(result))
let datalist = [];
@ -2047,7 +2045,7 @@ class Listofworksstudentone extends Component {
group_ids: course_groupslist,
end_time:endtime,
}).then((result) => {
if (result.status === 200) {
if (result) {
if (result.data.status === 0) {
notification.open({
message: "提示",
@ -2470,7 +2468,7 @@ class Listofworksstudentone extends Component {
<div className="mh650 edu-back-white">
<div className="edu-tab-con-box clearfix edu-txt-center">
<img className="edu-nodata-img mb20" src={getImageUrl("images/educoder/nodata.png")}/>
<p className="edu-nodata-p mb30">没有数据可以显示</p>
<p className="edu-nodata-p mb30">没有数据可以显示.</p>
</div>
</div>

Loading…
Cancel
Save