|
|
|
@ -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;
|
|
|
|
|