Commit fefb3799 authored by 黄奎's avatar 黄奎

页面修改

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