机构管理 批量配置岗位bug 51814

This commit is contained in:
宋伟佳
2022-03-16 10:39:57 +08:00
parent 424e4fde07
commit deaaad462e
@@ -531,12 +531,16 @@ export default {
},
selectEdit() {
this.userId = []
this.manageData.forEach(item=>{
this.userId.push(item.userId)
})
this.drawerTitle = '批量配置岗位'
this.modalPost = true
if(this.manageData.length){
this.userId = []
this.manageData.forEach(item=>{
this.userId.push(item.userId)
})
this.drawerTitle = '批量配置岗位'
this.modalPost = true
}else{
this.$message.warning('请选择需要批量配置岗位的角色')
}
},
},
computed: {},