实训调整
This commit is contained in:
parent
b0cfbb3f35
commit
97065ca162
@ -246,8 +246,10 @@ export default {
|
||||
},
|
||||
handleEditOperate(index, row) {
|
||||
const member = this.$store.state.training.memberData[row.memberId];
|
||||
assignUsersPlayRoles([{ userId: this.$store.state.user.id, memberId: member.id}], this.$route.query.group).then(resp => {
|
||||
}).catch(() => { this.$message.error('调整角色失败!'); });
|
||||
if (!member.userId) {
|
||||
assignUsersPlayRoles([{ userId: this.$store.state.user.id, memberId: member.id}], this.$route.query.group).then(resp => {
|
||||
}).catch(() => { this.$message.error('调整角色失败!'); });
|
||||
}
|
||||
// assignUsersPlayRoles
|
||||
this.$emit('openEditOperate', { index: index, data: row });
|
||||
this.doClose();
|
||||
|
Loading…
Reference in New Issue
Block a user