|
@@ -532,9 +532,8 @@ export default {
|
|
|
},
|
|
|
/** 分配数据权限操作 */
|
|
|
handleDataScope(row) {
|
|
|
- this.reset();
|
|
|
- const roleDeptTreeselect = this.getRoleDeptTreeselect(row.roleId);
|
|
|
- getRole(row.roleId).then(response => {
|
|
|
+ const roleDeptTreeselect = this.getRoleDeptTreeselect(row.id);
|
|
|
+ getRole(row.id).then(response => {
|
|
|
this.form = response.data;
|
|
|
this.openDataScope = true;
|
|
|
this.$nextTick(() => {
|