修改推送的接口

This commit is contained in:
qq787203167
2022-03-24 11:46:49 +08:00
parent 3db85d8c5f
commit ef0ce02ced
@@ -20,6 +20,7 @@
@select="onSelect"
@check="checkChange"
@expand="onExpand"
:defaultExpandedKeys="defaultExpandedKeys"
>
</a-tree>
</div>
@@ -54,7 +55,8 @@
selectedKey: [],
tableKey: [],
userIds: [],
departId: ''
departId: '',
defaultExpandedKeys:[],
}
},
mounted() {
@@ -111,6 +113,8 @@
let gData = JSON.parse(JSON.stringify(this.gData))
if (gData && gData.length > 0) {
gData = JSON.stringify(gData)
}else {
gData = ''
}
postAction('sys/user/queryDepartUserTreeList', {
departId: this.departId,
@@ -119,6 +123,7 @@
this.confirmLoading = false
if (res.success) {
this.gData = res.result
this.defaultExpandedKeys = [this.departId]
} else {
this.gData = []
}