Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
aixianling
2022-03-14 18:08:15 +08:00

View File

@@ -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,