Commit 38909db3 by zhujian

fix:ghjdlkhlk

parents ff7e13bf 8289ae1e
......@@ -28,6 +28,7 @@ function SearchUser(props) {
}
function selectDep(e,item){
if(e.target.checked){
console.log('item',item);
props.onSelect(item,'department');
}
}
......
......@@ -250,7 +250,10 @@ class NewChooseMembersModal extends React.Component {
if(record.departmentUserVOList){
_list = record.departmentUserVOList;
}
this.setState({selectUserList:[...selectUserList,_list]});
console.log('_list',_list);
this.setState({selectUserList:[...selectUserList,..._list]},()=>{
console.log('selectUserList',this.state.selectUserList);
});
}
// }else{
// const params = {
......
......@@ -144,6 +144,7 @@ export default class CollegeManagePage extends React.Component {
this.getStoreList();
this.getEnterpriseUser();
this.getVersion()
}
initWechatConfig() {
......@@ -191,7 +192,8 @@ export default class CollegeManagePage extends React.Component {
User.setStoreId(mainStore.id);
User.setStoreUserId(mainStore.storeUserId);
}
const createStoreList = list.filter((item) => {
this.initWechatConfig();
const createStoreList = list.filter((item)=>{
return item.userRole === 'StoreManager'
})
const joinStoreList = list.filter((item) => {
......
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