Commit 7c4f8953 by fanyj

tijiao

parent bb00d951
...@@ -22,7 +22,15 @@ const SelectUser:React.FC<any>=(props)=>{ ...@@ -22,7 +22,15 @@ const SelectUser:React.FC<any>=(props)=>{
},[item]) },[item])
const getusers=async()=>{ const getusers=async()=>{
const id = 1 let id = 0
if(item.name==='数据管家'){
id = 6
}else if(item.name==='数据责任人'||item.name==='数据负责人'){
id = 5
}
if(!id){
return;
}
setState({loading:true}) setState({loading:true})
const result:any = await usersService.getUserInRoles({params:{dataRoleId:id}}) const result:any = await usersService.getUserInRoles({params:{dataRoleId:id}})
if(httpUtil.checkSuccess(result,1)){ if(httpUtil.checkSuccess(result,1)){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment