Commit 7a915bbd by zhangleyuan

feat:处理wxopenData

parent e5172866
...@@ -352,7 +352,7 @@ function DepartMentTabCon(props) { ...@@ -352,7 +352,7 @@ function DepartMentTabCon(props) {
const queryStates = _.clone(query); const queryStates = _.clone(query);
queryStates.current = page; queryStates.current = page;
setQuery(queryStates); setQuery(queryStates);
getUserList(null,null,current); getUserList(null,null,queryStates.current);
}} }}
/> />
</div> </div>
......
...@@ -43,13 +43,13 @@ function LeftStructureTree(props) { ...@@ -43,13 +43,13 @@ function LeftStructureTree(props) {
}} }}
> >
{type === 'user'? {type === 'user'?
<div>{record.userName}</div> <div><WWOpenDataCom type="userName" openid={record.userName}/></div>
: :
<div>{record.name}</div> <div><WWOpenDataCom type="departmentName" openid={record.name}/></div>
} }
{type === 'user' && {type === 'user' &&
record.postDepNamesList.map((item,index)=>{ record.postDepNamesList.map((item,index)=>{
return <span>{item}</span> return <span><WWOpenDataCom type="departmentName" openid={item}/></span>
}) })
} }
{type === 'post' && {type === 'post' &&
......
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