28161
This commit is contained in:
@@ -134,6 +134,13 @@
|
||||
getInfo (id) {
|
||||
this.instance.post(`/app/wxcp/wxuser/queryDetailById?id=${id}`).then(res => {
|
||||
if (res.code === 0) {
|
||||
const departmentNames = res.data.departmentNames.split(',')
|
||||
this.department = res.data.departmentIdsStr.split(',').map((item, index) => {
|
||||
return {
|
||||
name: departmentNames[index],
|
||||
id: item
|
||||
}
|
||||
})
|
||||
this.form = {
|
||||
...res.data,
|
||||
departmentName: res.data.departmentNames,
|
||||
|
||||
Reference in New Issue
Block a user