Compare commits

..

2 Commits

Author SHA1 Message Date
liujun 11d828c2ca Merge remote-tracking branch 'origin/pet' into pet 2024-04-25 09:18:04 +08:00
liujun 6a869fcad9 人员定位数据结构变更 2024-04-25 09:17:41 +08:00
1 changed files with 15 additions and 13 deletions

View File

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