人员选择
This commit is contained in:
@@ -128,7 +128,11 @@
|
|||||||
},
|
},
|
||||||
getUserAndDepart() {
|
getUserAndDepart() {
|
||||||
getAction('sys/user/getUserAndDepart', { name: this.searchModel }).then((res) => {
|
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
|
this.visibleTree = true
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user