权限控制

master
Caps 6 years ago
parent 0dda98f962
commit 2c4bffea76

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

Loading…
Cancel
Save