白名单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)=>{
|
||||||
|
@ -1107,7 +1102,7 @@ export default class acclist extends React.Component{
|
||||||
value={this.state.model.batch_name} placeholder={"请输入"} labelWidth={'0px'} maxLength={12} height={'36px'} width={'400px'} alignment={'left'}/>
|
value={this.state.model.batch_name} placeholder={"请输入"} labelWidth={'0px'} maxLength={12} height={'36px'} width={'400px'} alignment={'left'}/>
|
||||||
|
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem labelname=" key样式" prop="style" id="style">
|
<FormItem labelname="key样式" prop="style" id="style">
|
||||||
<RadioGroup onChange={(e)=>{ this.onStyleChange(e)} } value={this.state.model.style} disabled={this.state.isEdit} >
|
<RadioGroup onChange={(e)=>{ this.onStyleChange(e)} } value={this.state.model.style} disabled={this.state.isEdit} >
|
||||||
<RadioButton value={1}>串码</RadioButton>
|
<RadioButton value={1}>串码</RadioButton>
|
||||||
<RadioButton value={2} >链接</RadioButton>
|
<RadioButton value={2} >链接</RadioButton>
|
||||||
|
|
Loading…
Reference in New Issue