调整页面处理。

feature_0521
kevin jiang 5 years ago
parent 14bfd534ab
commit d95810955a

@ -14,7 +14,6 @@ Vue.prototype.$axios = axios;
Vue.prototype.$qs = QS; Vue.prototype.$qs = QS;
Vue.prototype.$moment = moment; Vue.prototype.$moment = moment;
Vue.config.productionTip = false; Vue.config.productionTip = false;
Vue.prototype.$moment = moment;
Vue.prototype._ = _; Vue.prototype._ = _;
import echarts from "echarts"; import echarts from "echarts";

@ -280,12 +280,14 @@
}, },
// //
callBack(item) { callBack(val) {
let that = this; this.selectedMenu = val.selectedMenu;
this.selectedMenu = "设置管理"; this.selectedSubMenu = val.selectedSubMenu;
this.selectedSubMenu = "账户管理"; if(val.type == 1){
this.selectedItemName = this.onePermissionList[2].subMenuList[0].id; this.selectedItemName = this.onePermissionList[2].subMenuList[0].id;
this.$router.push({path: '/account/manager',query:item}); this.$router.push({path: '/account/manager',query:val.data});
}
}, },
setHeader(data){ setHeader(data){
let that = this; let that = this;

@ -367,7 +367,13 @@
goToAccManagerPage: function (item) { goToAccManagerPage: function (item) {
// this.$router.push({path: '/account/manager',query:item}); // this.$router.push({path: '/account/manager',query:item});
// //
this.bus.$emit("callBack",item); let request = {
selectedMenu: "设置管理",
selectedSubMenu: "账户管理",
data: item,
type: 1
};
this.bus.$emit("callBack",request);
}, },
// //
selectRole: function (id) { selectRole: function (id) {

Loading…
Cancel
Save