Commit 6e6dd507 authored by 黄奎's avatar 黄奎

页面修改

parent 44528d6e
......@@ -804,6 +804,19 @@ var tripUtils = {
);
}
},
//跳转到B2B页面
GotoB2BPage2(B2BDomain, ConfigId, tcid) {
if (B2BDomain) {
var url = "http://" + B2BDomain;
window.open(
url + "/#/details/" +
encodeURIComponent(ConfigId) +
"/" +
tcid ,
"_blank"
);
}
},
//获取B2B连接
GetB2BUrl(B2BDomain, ConfigId, tcid) {
var url = "";
......
......@@ -1893,7 +1893,11 @@
goB2B(ConfigId, tcid, type) {
var B2BDomain = this.CurrentUserInfo.B2BDomain;
if (type == 1) {
if (this.CurrentUserInfo.RB_Group_id == 81) {
this.$tripUtils.GotoB2BPage2(B2BDomain, ConfigId, tcid);
} else {
this.$tripUtils.GotoB2BPage(B2BDomain, ConfigId, tcid);
}
} else {
this.$tripUtils.GotoB2CPage(B2BDomain, ConfigId, tcid);
}
......
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