Compare commits

..

No commits in common. "11d828c2ca30d93e81223c3fceb84e9d768d5d79" and "05a8219cf747621b428fabb9840260820f48ecc8" have entirely different histories.

1 changed files with 13 additions and 15 deletions

View File

@ -273,21 +273,19 @@ export default {
getPeopleList(e) {
return new Promise(resolve => {
this.material.departmentName = e.name
if (e && e.id && e.id !== '') {
requestFN(
'/user/listAll',
{
DEPARTMENT_ID: e.id
}
).then((data) => {
this.dic.userList = data.userList
this.material.userInfo = ''
resolve(true)
}).catch((e) => {
console.log(e)
resolve(true)
})
}
requestFN(
'/user/listAll',
{
DEPARTMENT_ID: e.id
}
).then((data) => {
this.dic.userList = data.userList
this.material.userInfo = ''
resolve(true)
}).catch((e) => {
console.log(e)
resolve(true)
})
})
},
chooseUser(e) {