后台挂接-归属部门给我显示出来!

This commit is contained in:
gaoyuanwei 2022-07-18 18:29:17 +08:00
parent b19361005f
commit cb5eb60b65
1 changed files with 6 additions and 6 deletions

View File

@ -126,12 +126,12 @@ export default {
dataList.push(element)
})
this.options = dataList
// if (!this.data.note1) {
// this.$http.get('/sys/user/info').then(({ data: res }) => {
// console.log(res.data)
// this.data.note1 = res.data.deptId
// })
// }
if (!this.data.note1) {
this.$http.get('/sys/user/info').then(({ data: res }) => {
console.log(res.data)
this.data.note1 = res.data.deptId
})
}
})
} else if (this.data.name === '部门联系人') {
// this.$http.get('/sys/dept/all').then(res => {