Commit fefb3799 authored by 黄奎's avatar 黄奎

页面修改

parent efa17e1a
......@@ -827,7 +827,8 @@
<el-dropdown-item v-if="item.Status==1" @click.native="OutGroup(item.TCID,2)">
{{$t('Operation.Op_jietuan')}}
</el-dropdown-item>
<el-dropdown-item @click.native="goB2B(item.ConfigId)">{{$t('Operation.Op_b2bView')}}
<el-dropdown-item @click.native="goB2B(item.ConfigId, item.TCID , 1)">
{{$t('Operation.Op_b2bView')}}
</el-dropdown-item>
<el-dropdown-item @click.native='goUrl("DistributionTransport",item.ID,"分销联运")'>
{{$t('Operation.Op_salelianyun')}}</el-dropdown-item>
......@@ -1077,6 +1078,7 @@
//团控状态
FreePlanType: -1
},
CurrentUserInfo: {},
showHotelObj: {
showPrice: true, //是否显示价格
showPay: false, //是否显示支付方式
......@@ -1611,13 +1613,17 @@
}
});
},
goB2B(ConfigId) {
window.open(
"http://www.oytour.com/#/detailTwo/" +
encodeURIComponent(ConfigId) +
"/preview",
"_blank"
);
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);
}
},
goTeamBalance(id, OutBranchId) {
this.$router.push({
......@@ -1873,6 +1879,7 @@
},
created() {
let userInfo = this.getLocalStorage();
this.CurrentUserInfo = userInfo;
// 团提成权限
let ActionMenuCode = userInfo.ActionMenuCode;
if (ActionMenuCode.indexOf("isCommissionDetails") != -1) {
......
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