Commit 1fb78d08 authored by 黄奎's avatar 黄奎

页面修改

parent 03b082dd
......@@ -601,9 +601,9 @@
<el-select v-model="msg.RateOnDay" filterable :placeholder="$t('system.ph_buxian')" class="w150">
<el-option :label='$t("system.ph_buxian")' value='-1'></el-option>
<el-option :label="$t('salesModule.Inner10')" value='1'></el-option>
<el-option :label="$t('salesModule.Inner15')" label='15天以内' value='2'></el-option>
<el-option :label="$t('salesModule.Inner20')" label='20天以内' value='3'></el-option>
<el-option :label="$t('salesModule.Out20')" label='20天以外' value='4'></el-option>
<el-option :label="$t('salesModule.Inner15')" value='2'></el-option>
<el-option :label="$t('salesModule.Inner20')" value='3'></el-option>
<el-option :label="$t('salesModule.Out20')" value='4'></el-option>
</el-select>
</div>
<div>
......@@ -855,7 +855,7 @@
<el-tooltip class="item" effect="dark" :content="$t('Operation.Op_tripDownLoad')" placement="top-start">
<el-button @click="toTrip(item)" type="primary" style='background:#47BF8C; border-color:#47BF8C' icon="iconfont icon-xiazai"></el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="直客版预览" placement="top-start" v-if="item.LineID!=2&&item.LineID!=8">
<el-tooltip v-if="CurrentUserInfo.IsOpenB2C==1&& CurrentUserInfo.B2BDomain!=''&&item.LineID!=2&&item.LineID!=8 " class="item" effect="dark" content="直客版预览" placement="top-start" >
<el-button @click.native="goB2B(item)" type="primary" style='background:#F16C3C; border-color:#F16C3C' icon="iconfont icon-view"></el-button>
</el-tooltip>
</el-button-group>
......@@ -936,6 +936,8 @@
return time.getTime() < endTime.getTime() - 5.64e7
}
},
//当前登录用户信息
CurrentUserInfo: {},
travelControlTripLayerShow: false,
wxLoading: false,
HightUnitPrice: '2',
......@@ -2072,7 +2074,7 @@
this.SingleDMCPricex = obj.SingleDMCPrice;
},
getPlatformAccount(typeIdtwo) {
let platBranchId=this.getLocalStorage().RB_Branch_id;
let platBranchId=this.CurrentUserInfo.RB_Branch_id;
this.apipost('FinancialInstitutions_post_GetALLAccountList', {
TypeId: typeIdtwo,BranchId:platBranchId
}, res => {
......@@ -2285,8 +2287,8 @@
});
},
getCompanyList() {
let userInfo = this.getLocalStorage();
let RB_Group_id = userInfo.RB_Group_id;
let RB_Group_id = this.CurrentUserInfo.RB_Group_id;
let msg = {
Status: 0,
is_show: 0,
......@@ -2364,17 +2366,15 @@
},
//直客版行程
goB2B(item) {
window.open(
"http://www.oytour.com/#/newTrip" +'?ID='+encodeURIComponent(item.ConfigID) +
"&" +
'tcid='+item.TCID,
"_blank"
);
var B2BDomain = this.CurrentUserInfo.B2BDomain;
this.$tripUtils.GotoB2CPage(B2BDomain, item.ConfigID, item.TCID);
}
},
mounted() {
this.userId = this.getLocalStorage().EmployeeId
this.msg.BranchId = this.getLocalStorage().RB_Branch_id.toString()
let userInfo = this.getLocalStorage();
this.CurrentUserInfo = userInfo;
this.userId = userInfo.EmployeeId
this.msg.BranchId = userInfo.RB_Branch_id.toString()
if (this.$route.query.id) {
this.msg.BranchId = '-1'
this.msg.TCID = this.$route.query.id
......
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