白名单key
This commit is contained in:
parent
362ac8ee04
commit
8ffa43da88
|
@ -814,11 +814,9 @@ export default class acclist extends React.Component{
|
||||||
}
|
}
|
||||||
|
|
||||||
this.setState({mobile_excel:req.path})
|
this.setState({mobile_excel:req.path})
|
||||||
|
|
||||||
getAccessVerification(data).then((res)=>{
|
getAccessVerification(data).then((res)=>{
|
||||||
|
this.setState({file_loading:false})
|
||||||
handelResponse(res,(req,msg)=>{
|
handelResponse(res,(req,msg)=>{
|
||||||
|
|
||||||
console.log("验证",req)
|
|
||||||
this.setState({accessVerify:true})
|
this.setState({accessVerify:true})
|
||||||
this.setState({excel_count:req.count})
|
this.setState({excel_count:req.count})
|
||||||
this.setState({error_count:req.errorCount})
|
this.setState({error_count:req.errorCount})
|
||||||
|
@ -826,13 +824,10 @@ export default class acclist extends React.Component{
|
||||||
this.setState({success_count:success})
|
this.setState({success_count:success})
|
||||||
if(req.validationFailed.length > 0)
|
if(req.validationFailed.length > 0)
|
||||||
{
|
{
|
||||||
|
|
||||||
this.setState({exceldata:req.validationFailed})
|
this.setState({exceldata:req.validationFailed})
|
||||||
this.setState({file_loading:false})
|
|
||||||
this.setState({success_visible:true})
|
this.setState({success_visible:true})
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
this.setState({file_loading:false})
|
|
||||||
this.setState({success_visible:true})
|
this.setState({success_visible:true})
|
||||||
}
|
}
|
||||||
},(err)=>{
|
},(err)=>{
|
||||||
|
|
Loading…
Reference in New Issue