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) { getPeopleList(e) {
return new Promise(resolve => { return new Promise(resolve => {
this.material.departmentName = e.name this.material.departmentName = e.name
if (e && e.id && e.id !== '') { requestFN(
requestFN( '/user/listAll',
'/user/listAll', {
{ DEPARTMENT_ID: e.id
DEPARTMENT_ID: e.id }
} ).then((data) => {
).then((data) => { this.dic.userList = data.userList
this.dic.userList = data.userList this.material.userInfo = ''
this.material.userInfo = '' resolve(true)
resolve(true) }).catch((e) => {
}).catch((e) => { console.log(e)
console.log(e) resolve(true)
resolve(true) })
})
}
}) })
}, },
chooseUser(e) { chooseUser(e) {