把部门联系人和电话给我带出来!!!

This commit is contained in:
gaoyuanwei 2022-07-18 18:24:17 +08:00
parent fd32fd6769
commit b19361005f
1 changed files with 14 additions and 0 deletions

View File

@ -488,6 +488,20 @@
})
}
})
} else if (item.name === '部门联系人') {
if (!item.note1) {
getUserInfo().then(({ data: res1 }) => {
console.log(res1.data)
item.note1 = res1.data.realName || ''
})
}
} else if (item.name === '部门联系人电话') {
if (!item.note1) {
getUserInfo().then(({ data: res1 }) => {
console.log(res1.data)
item.note1 = res1.data.mobile || ''
})
}
} else {
data.value.list.push(item)
}