dev_forum
杨树林 6 years ago
parent 74b45cccbf
commit 3500e6caf5

@ -1364,6 +1364,7 @@ class Listofworks extends Component {
}) })
} }
}else { }else {
this.props.showNotification(`正在下载中`);
window.open("/api"+url, '_blank'); window.open("/api"+url, '_blank');
} }
}).catch((error) => { }).catch((error) => {

@ -102,6 +102,7 @@ class Listofworksstudentone extends Component {
key: 'name', key: 'name',
align: "center", align: "center",
className:'font-14', className:'font-14',
width:'100px',
render: (text, record) => ( render: (text, record) => (
<span> <span>
{record.name === undefined ? {record.name === undefined ?
@ -158,7 +159,7 @@ class Listofworksstudentone extends Component {
dataIndex: 'classroom', dataIndex: 'classroom',
align: "center", align: "center",
className:'font-14', className:'font-14',
width:'288px', width:'260px',
render: (text, record) => ( render: (text, record) => (
<span> <span>
<span style={{ <span style={{

@ -479,6 +479,7 @@ class ShixunStudentWork extends Component {
}) })
} }
}else { }else {
this.props.showNotification(`正在下载中`);
window.open("/api"+url, '_blank'); window.open("/api"+url, '_blank');
} }
}).catch((error) => { }).catch((error) => {

@ -52,6 +52,7 @@ class ShixunWorkReport extends Component {
}) })
} }
}else { }else {
this.props.showNotification(`正在下载中`);
window.open("/api"+url, '_blank'); window.open("/api"+url, '_blank');
} }
}).catch((error) => { }).catch((error) => {

@ -1687,6 +1687,7 @@ class Trainingjobsetting extends Component {
}) })
} }
}else { }else {
this.props.showNotification(`正在下载中`);
window.open("/api"+url, '_blank'); window.open("/api"+url, '_blank');
} }
}).catch((error) => { }).catch((error) => {

@ -333,6 +333,7 @@ class Workquestionandanswer extends Component {
}) })
} }
}else { }else {
this.props.showNotification(`正在下载中`);
window.open("/api"+url, '_blank'); window.open("/api"+url, '_blank');
} }
}).catch((error) => { }).catch((error) => {

Loading…
Cancel
Save