Commit 8e51de49 authored by 黄奎's avatar 黄奎

页面修改

parent 04c2e1ad
...@@ -826,9 +826,14 @@ ...@@ -826,9 +826,14 @@
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item v-if="item.Status==2&&showSureOrder('P_Query_Income_ConfirmInfo',item.CreateBy)" @click.native="goSureOrder('priceIncomeConfirmInfo',item.TCID)">{{$t('Operation.Op_shouruDan')}} <el-dropdown-item v-if="item.Status==2&&showSureOrder('P_Query_Income_ConfirmInfo',item.CreateBy)" @click.native="goSureOrder('priceIncomeConfirmInfo',item.TCID)">{{$t('Operation.Op_shouruDan')}}
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item v-if="CurrentUserInfo.B2BDomain!=''" @click.native="goB2B(item.ConfigId, item.TCID)"> <el-dropdown-item v-if="CurrentUserInfo.B2BDomain!=''" @click.native="goB2B(item.ConfigId, item.TCID , 1)">
{{$t('Operation.Op_b2bView')}} {{$t('Operation.Op_b2bView')}}
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item @click.native="goB2B(item.ConfigId, item.TCID , 2)" v-if="item.LineID!=2&&item.LineID!=8">
直客版预览
</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')}} {{$t('Operation.Op_salelianyun')}}
</el-dropdown-item> </el-dropdown-item>
...@@ -1673,7 +1678,8 @@ export default { ...@@ -1673,7 +1678,8 @@ export default {
} }
}); });
}, },
goB2B(ConfigId, tcid) { goB2B(ConfigId, tcid, type) {
if(type==1){
var B2BDomain = this.CurrentUserInfo.B2BDomain; var B2BDomain = this.CurrentUserInfo.B2BDomain;
window.open( window.open(
"http://www.oytour.com/#/detailTwo/" + "http://www.oytour.com/#/detailTwo/" +
...@@ -1683,6 +1689,15 @@ export default { ...@@ -1683,6 +1689,15 @@ export default {
"/preview", "/preview",
"_blank" "_blank"
); );
}else{
var B2BDomain = this.CurrentUserInfo.B2BDomain;
window.open(
"http://www.oytour.com/#/newTrip" +'?ID='+encodeURIComponent(ConfigId) +
"&" +
'tcid='+tcid,
"_blank"
);
}
}, },
goTeamBalance(id, OutBranchId) { goTeamBalance(id, OutBranchId) {
this.$router.push({ this.$router.push({
......
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
:trafficObj="dayObj.TrafficObj" :ishasScenic="ishasScenic" :CurrentDayNum="dayObj.DayNum" :trafficObj="dayObj.TrafficObj" :ishasScenic="ishasScenic" :CurrentDayNum="dayObj.DayNum"
:totalDayNum="subConfig.DayNum"> :totalDayNum="subConfig.DayNum">
</scenicTraffic> </scenicTraffic>
<span slot="reference" class="TC-tripTitle" style="padding-left:5px;cursor:pointer;display:none;">路线信息</span> <span slot="reference" class="TC-tripTitle" style="padding-left:5px;cursor:pointer;">路线信息</span>
</el-popover> </el-popover>
<ul class="scenicCheck_check" v-if="ishasScenic&& NoticeParameters.IsDirect==0"> <ul class="scenicCheck_check" v-if="ishasScenic&& NoticeParameters.IsDirect==0">
......
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