角色,组织机构添加“用户列表”快捷查看

This commit is contained in:
吕金泽
2022-02-04 19:15:54 +08:00
parent 71f4ee0ba1
commit 29f631ae38
5 changed files with 39 additions and 15 deletions
@@ -113,13 +113,13 @@ export default {
},
where: {
handler(){
this.newWhere = this.$common.renderWhere(this.where)
this.renderWhere()
},
deep: true
}
},
created() {
this.newWhere = this.$common.renderWhere(this.where)
this.renderWhere()
},
mounted() {
this.keyup()
@@ -131,7 +131,11 @@ export default {
}
},
methods: {
renderWhere(){
this.newWhere = this.$common.renderWhere(this.where)
},
getList() {
this.renderWhere()
this.listLoading = true
if (this.page) {
this.newWhere.current = this.listCurrent
@@ -14,6 +14,7 @@
v-bind="el"
node-key="id"
:default-expand-all="defaultExpandAll"
:default-checked-keys="checkedIds"
@check-change="checkChange"
@node-click="nodeClick"
:props="defaultProps"
@@ -62,6 +63,10 @@ export default {
searchWidth: {
type: String,
default: '230px'
},
checkedIds: {
type: Array,
default: () => []
}
},
watch: {