You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
import React , { Component } from 'react' ;
import { Modal } from 'antd' ;
class DownloadMessageysl extends Component {
constructor ( props ) {
super ( props ) ;
this . state = {
funmodalsType : false ,
istype : false
}
}
setDownload = ( ) => {
this . props . modalCancel ( ) ;
window . open ( ` /messages/ ${ this . props . user . login } /message_detail?target_ids=1 ` )
}
render ( ) {
return (
< Modal
keyboard = { false }
title = "提示"
visible = { this . props . modalsType === undefined ? false : this . props . modalsType }
closable = { false }
footer = { null }
destroyOnClose = { true }
centered = { true }
width = "530px"
>
< div className = "task-popup-content" >
{ this . props . value === 500 ? < p >
< p className = "task-popup-text-center font-16" > 因附件资料超过500M , 您可以通过检索分批下载 < / p >
< p className = "task-popup-text-center font-16 mt5" > 或者通过微信或者QQ联系管理员辅助您打包下载 < / p >
< / p > : t h i s . p r o p s . v a l u e = = = 1 0 0 ?
< p >
< p className = "task-popup-text-center font-16" > 已超出文件导出的上限数量 ( < span className = { "color-orange-tip" } > 100 < / s p a n > ) , 建 议 : < / p >
< p className = "task-popup-text-center font-16 mt20" > 1. 通过检索分批次下载 < / p >
< p className = "task-popup-text-center font-16 mt5" > 2. 联系管理员辅助下载 < / p >
< / p >
: "" }
< div className = "clearfix mt30 edu-txt-center" >
< a className = "task-btn mr30" onClick = { this . props . modalCancel } > 取消 < / a >
< a className = "task-btn task-btn-orange" onClick = { this . setDownload } > 立即联系 < / a >
< / d i v >
< / d i v >
< / M o d a l >
)
}
}
export default DownloadMessageysl ;