Commit c82855e3 authored by 黄奎's avatar 黄奎

页面修改

parent 051a8cd3
...@@ -470,7 +470,7 @@ ...@@ -470,7 +470,7 @@
methods: { methods: {
getCustomerInfo() { getCustomerInfo() {
//b2b_user_info.customerType 同行菜获取同行资料 //b2b_user_info.customerType 同行菜获取同行资料
if (this.b2b_user_info &&this.b2b_user_info.customerType==2 && this.b2b_user_info.token) { if (this.b2b_user_info && this.b2b_user_info.customerType == 2 && this.b2b_user_info.token) {
this.apipost("b2b_get_GetCustomerManagerInfo", {}, (res) => { this.apipost("b2b_get_GetCustomerManagerInfo", {}, (res) => {
if (res.resultCode == 1) { if (res.resultCode == 1) {
this.customer_info = res.data; this.customer_info = res.data;
...@@ -569,7 +569,20 @@ ...@@ -569,7 +569,20 @@
flag = false; flag = false;
} }
break; break;
case "/pages/jiuzhai/bind_Customer":
if (this.b2b_user_info && this.b2b_user_info.customerType == 1) {
flag = true;
} else {
flag = false;
}
break;
case "/pages/jiuzhai/direct_Customer":
if (this.b2b_user_info && this.b2b_user_info.customerType == 1) {
flag = true;
} else {
flag = false;
}
break;
} }
return flag; return flag;
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment