|
|
|
@ -622,8 +622,6 @@ |
|
|
|
this.ownerFlag=false |
|
|
|
}, |
|
|
|
userRollModal(){ |
|
|
|
// console.log(this.dataForm.userRoleList) |
|
|
|
// console.log(this.userRoleList) |
|
|
|
// this.userRoleList=JSON.parse(JSON.stringify(this.dataForm.userRoleList)); |
|
|
|
|
|
|
|
this.searchUserRoll() |
|
|
|
@ -651,17 +649,11 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
let name= ''; |
|
|
|
console.log("this.dataForm.userRoleList") |
|
|
|
console.log(this.dataForm.userRoleList) |
|
|
|
console.log("this.userRoleList") |
|
|
|
console.log(this.userRoleList) |
|
|
|
for (let i = 0; i < this.userRoleList.length; i++) { |
|
|
|
this.dataForm.userRoleList=this.dataForm.userRoleList.filter(item => item.username != this.userRoleList[i].username) |
|
|
|
if(this.userRoleList[i].searchCheck||this.userRoleList[i].updateCheck||this.userRoleList[i].downCheck||this.userRoleList[i].deleteCheck){ |
|
|
|
this.dataForm.userRoleList.push(this.userRoleList[i]) |
|
|
|
} |
|
|
|
console.log("this.dataForm.userRoleList") |
|
|
|
console.log(this.dataForm.userRoleList) |
|
|
|
} |
|
|
|
for (let i = 0; i < this.dataForm.userRoleList.length; i++) { |
|
|
|
if(this.dataForm.userRoleList[i].searchCheck||this.dataForm.userRoleList[i].updateCheck |
|
|
|
|