调整已评阅状态

courseware
杨树明 5 years ago
parent c0c6556a68
commit 48ae1de2b7

@ -1294,19 +1294,18 @@ class Listofworksstudentone extends Component {
display: 'block', display: 'block',
align: 'center', align: 'center',
className: 'font-14', className: 'font-14',
width: '40px', width: '80px',
render: (text, record) => ( render: (text, record) => (
record.submitstate === "未开启" ? record.submitstate === "未开启" ?
<a style={{textAlign: "center",width: '40px'}} className="color-blue" <a style={{textAlign: "center",width: '40px'}} className="color-blue"
onMouseDown={(e) => this.Viewstudenttraininginformationtysl2(e, record)} onMouseDown={(e) => this.Viewstudenttraininginformationtysl2(e, record)}
// onClick={() => this.Viewstudenttraininginformationt(record)} // onClick={() => this.Viewstudenttraininginformationt(record)}
>{record.has_comment===true?"详情":"评阅 "}</a> : >{record.has_comment===true?"已评阅":"评阅 "}</a> :
<span> <span>
<a style={{textAlign: "center"}} className="color-blue" <a style={{textAlign: "center"}} className="color-blue"
onMouseDown={(e) => this.Viewstudenttraininginformationtysl2(e, record)} onMouseDown={(e) => this.Viewstudenttraininginformationtysl2(e, record)}
// onClick={() => this.Viewstudenttraininginformationt(record)} // onClick={() => this.Viewstudenttraininginformationt(record)}
>{record.has_comment===true?"详情":"评阅 "}</a> >{record.has_comment===true?"已评阅":"评阅 "}</a>
</span> </span>
) )
}, },
@ -1662,18 +1661,18 @@ class Listofworksstudentone extends Component {
display: 'block', display: 'block',
align: 'center', align: 'center',
className: 'font-14', className: 'font-14',
width: '40px', width: '80px',
render: (text, record) => ( render: (text, record) => (
record.submitstate === "未开启" ? record.submitstate === "未开启" ?
<a style={{textAlign: "center",width: '40px'}} className="color-blue" <a style={{textAlign: "center",width: '40px'}} className="color-blue"
onMouseDown={(e) => this.Viewstudenttraininginformationtysl2(e, record)} onMouseDown={(e) => this.Viewstudenttraininginformationtysl2(e, record)}
// onClick={() => this.Viewstudenttraininginformationt(record)} // onClick={() => this.Viewstudenttraininginformationt(record)}
>{record.has_comment===true?"详情":"评阅"}</a> : >{record.has_comment===true?"已评阅":"评阅"}</a> :
<span> <span>
<a style={{textAlign: "center"}} className="color-blue" <a style={{textAlign: "center"}} className="color-blue"
onMouseDown={(e) => this.Viewstudenttraininginformationtysl2(e, record)} onMouseDown={(e) => this.Viewstudenttraininginformationtysl2(e, record)}
// onClick={() => this.Viewstudenttraininginformationt(record)} // onClick={() => this.Viewstudenttraininginformationt(record)}
>{record.has_comment===true?"详情":"评阅"}</a> >{record.has_comment===true?"已评阅":"评阅"}</a>
</span> </span>
) )
}, },

Loading…
Cancel
Save