人员选择

This commit is contained in:
范强强
2023-03-28 17:13:15 +08:00
parent 7b9e65394c
commit 6eae40585f
+5 -1
View File
@@ -128,7 +128,11 @@
},
getUserAndDepart() {
getAction('sys/user/getUserAndDepart', { name: this.searchModel }).then((res) => {
this.gData = res || []
if (res) {
this.gData = res.filter(ele => ele.flag === 'DEPART')
} else {
this.gData = []
}
this.visibleTree = true
})
},