权限控制

master
Caps 6 years ago
parent 0dda98f962
commit 2c4bffea76

@ -192,12 +192,6 @@
mounted: function () {
this.listRoleInfo();
this.listOfShop();
if (this.$route.query != null) {
this.item = this.$route.query;
//
this.changeRoleId = this.item.id;
this.bus.$emit('callBack');
}
this.listAccountInfoFunction();
// enter
this.enterKeyup();
@ -239,6 +233,12 @@
let row = data[i];
that.roleList.push(row);
}
if (that.$route.query != null) {
that.item = that.$route.query;
//
that.changeRoleId = that.item.id;
that.bus.$emit('callBack');
}
}
})
},
@ -271,6 +271,11 @@
},
//
listAccountInfoFunction: function () {
if (this.$route.query != null) {
this.item = this.$route.query;
//
this.changeRoleId = this.item.id;
}
let that = this;
that.data1 = [];
let roleId = that.changeRoleId;

Loading…
Cancel
Save