白名单key

This commit is contained in:
姜棚 2022-01-21 10:02:30 +08:00
parent 362ac8ee04
commit 8ffa43da88
1 changed files with 2 additions and 7 deletions

View File

@ -814,11 +814,9 @@ export default class acclist extends React.Component{
}
this.setState({mobile_excel:req.path})
getAccessVerification(data).then((res)=>{
this.setState({file_loading:false})
handelResponse(res,(req,msg)=>{
console.log("验证",req)
this.setState({accessVerify:true})
this.setState({excel_count:req.count})
this.setState({error_count:req.errorCount})
@ -826,13 +824,10 @@ export default class acclist extends React.Component{
this.setState({success_count:success})
if(req.validationFailed.length > 0)
{
this.setState({exceldata:req.validationFailed})
this.setState({file_loading:false})
this.setState({success_visible:true})
}
else{
this.setState({file_loading:false})
this.setState({success_visible:true})
}
},(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'}/>
</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} >
<RadioButton value={1}>串码</RadioButton>
<RadioButton value={2} >链接</RadioButton>