dev_forum
hjm 5 years ago
parent 95a035e535
commit 478950b828

@ -20,6 +20,11 @@ class DownloadMessage extends Component {
this.modalCancel();
window.open(`/users/${this.props.user.login}/private_messages`)
}
modalCancel = () => {
this.setState({
DownloadType: false,
})
}
Downloadcal=()=>{
this.setState({
@ -36,7 +41,7 @@ class DownloadMessage extends Component {
if(response.data.status&&response.data.status===-1){
}else if(response.data.status&&response.data.status===-2){
if(response.data.messages === "100"){
if(response.data.message === "100"){
// 已超出文件导出的上限数量100 ),建议:
this.setState({
@ -64,7 +69,7 @@ class DownloadMessage extends Component {
<Modal
keyboard={false}
title="提示"
visible={this.props.modalsType===undefined?false:this.props.modalsType}
visible={this.state.DownloadType===undefined?false:this.state.DownloadType}
closable={false}
footer={null}
destroyOnClose={true}
@ -72,10 +77,10 @@ class DownloadMessage extends Component {
width="530px"
>
<div className="task-popup-content">
{this.props.value===500?<p>
{this.state.DownloadMessageval===500?<p>
<p className="task-popup-text-center font-16">因附件资料超过500M您可以通过检索分批下载</p>
<p className="task-popup-text-center font-16 mt5">或者通过微信或者QQ联系管理员辅助您打包下载</p>
</p>:this.props.value===100?
</p>:this.state.DownloadMessageval===100?
<p>
<p className="task-popup-text-center font-16">已超出文件导出的上限数量 <span className={"color-orange-tip"}>100</span> </p>
<p className="task-popup-text-center font-16 mt20">1.通过检索分批次下载</p>

Loading…
Cancel
Save