dev_aliyun2
harry 5 years ago
parent 4130592750
commit 478f86a066

@ -403,10 +403,6 @@ class ShixunWorkReport extends Component {
{this.props.isAdmin() ?<a {this.props.isAdmin() ?<a
className=" color-blue font-14 fr ml20 mt15" className=" color-blue font-14 fr ml20 mt15"
onClick={()=>this.confirmysl(`/student_works/${homeworkid}/export_shixun_work_report.pdf`)} onClick={()=>this.confirmysl(`/student_works/${homeworkid}/export_shixun_work_report.pdf`)}
> <Spin size="small" spinning={this.state.isspinning}>导出实训报告</Spin></a>:
parseInt(this.props&&this.props.user.user_id)===parseInt(data&&data.user_id)?<a
className=" color-blue font-14 fr ml20 mt15"
onClick={() => this.confirmysl(`/student_works/${homeworkid}/export_shixun_work_report.pdf`)}
> <Spin size="small" spinning={this.state.isspinning}>导出实训报告</Spin></a>: > <Spin size="small" spinning={this.state.isspinning}>导出实训报告</Spin></a>:
parseInt(this.props&&this.props.user.user_id)===parseInt(data&&data.user_id)?<a parseInt(this.props&&this.props.user.user_id)===parseInt(data&&data.user_id)?<a
className=" color-blue font-14 fr ml20 mt15" className=" color-blue font-14 fr ml20 mt15"
@ -541,6 +537,8 @@ class ShixunWorkReport extends Component {
</p> </p>
</div> </div>
</div>
</div> </div>
<ConclusionEvaluation <ConclusionEvaluation
data={data} data={data}
@ -716,4 +714,3 @@ class ShixunWorkReport extends Component {
export default ShixunWorkReport; export default ShixunWorkReport;

@ -422,11 +422,7 @@ class Statistics extends Component{
{ {
this.props.isAdmin()===true? this.props.isAdmin()===true?
// 这里是文件下载 不能替换路由 // 这里是文件下载 不能替换路由
<<<<<<< HEAD
<a className={"ml20 ant-btn-link"} onClick={()=>this.derivefun(this.state.activeKey==="1"?`/classrooms/${this.props.match.params.coursesId}/export_member_scores_excel.xlsx`:`/courses/${this.props.match.params.coursesId}/export_member_act_score.xlsx`)}>导出</a>
=======
<a className={"ml20 ant-btn-link"} onClick={()=>this.derivefun(this.state.activeKey==="1"?`/courses/${this.props.match.params.coursesId}/export_member_scores_excel.xlsx`:`/courses/${this.props.match.params.coursesId}/export_member_act_score.xlsx`)}>导出</a> <a className={"ml20 ant-btn-link"} onClick={()=>this.derivefun(this.state.activeKey==="1"?`/courses/${this.props.match.params.coursesId}/export_member_scores_excel.xlsx`:`/courses/${this.props.match.params.coursesId}/export_member_act_score.xlsx`)}>导出</a>
>>>>>>> 65f1f7ca73d06c88eeec624eaa865b259c525706
:"" :""
} }
</React.Fragment>; </React.Fragment>;

@ -126,10 +126,6 @@ class EcStudentList extends Component {
console.log(error); console.log(error);
}); });
} }
<<<<<<< HEAD
=======
>>>>>>> 65f1f7ca73d06c88eeec624eaa865b259c525706
windowsgoblack = () => { windowsgoblack = () => {

@ -430,7 +430,7 @@ class LoginDialog extends Component {
console.log(error) console.log(error)
}) })
}; })};
setNotcompleteds = () => { setNotcompleteds = () => {
this.setState({ this.setState({
Notcompleteds: true, Notcompleteds: true,

@ -59,7 +59,6 @@ class Modals extends Component {
} }
</div> </div>
} }
</div>
</Spin> </Spin>
</Modal> </Modal>
) )

Loading…
Cancel
Save