This commit is contained in:
2024-07-23 08:51:43 +08:00
parent b7932aa043
commit 606e2e7e6d
3 changed files with 18 additions and 5 deletions

View File

@@ -270,7 +270,12 @@
let res = await getUserInfo()
if (res.code === 1) {
this.range2 = [...res.result]
this.value2 = this.$store.getters.userInfo !== '' ? JSON.parse(this.$store.getters.userInfo).user_id : ''
let name = this.$store.getters.userInfo !== '' ? JSON.parse(this.$store.getters.userInfo).username : ''
this.range2.map(el => {
if (el.text === name) {
this.value2 = el.value
}
})
}
},
// 查询一级表格