微盘权限设置

This commit is contained in:
yanran200730
2022-12-23 14:01:47 +08:00
parent 0f122aad76
commit da8c1bdaf2
4 changed files with 118 additions and 222 deletions

View File

@@ -259,6 +259,13 @@
})))
this.userIds = this.chooseUser.map(v => v[this.props.id])
}
},
disabledList: {
handler () {
this.getList()
},
deep: true
}
},
@@ -431,7 +438,10 @@
}
}).then(res => {
if (res.code == 0) {
this.list = res.data.records.map(v => {
console.log(this.disabledList)
this.list = res.data.records.filter(v => {
return this.disabledList.indexOf(v.id) === -1
}).map(v => {
return {
...v,
isChecked: false