Commit 4e6aad95 authored by 黄奎's avatar 黄奎
parents fb9b9c1f 673b86a2
......@@ -10,9 +10,9 @@
</viewer>
<chosen-open-mode v-if="haveOpenMode" :settingSys="settingSys"></chosen-open-mode>
<!-- -->
<!-- <div class="showMyCareer">
<mycareer></mycareer>
</div> -->
<div class="showMyCareer" v-if="showCareer">
<mycareer :show-close="true" :uid="careerId" @close="closeCareer"></mycareer>
</div>
</div>
</template>
......@@ -64,7 +64,9 @@ export default {
haveOpenMode:false,
settingSys: false,
timer:null,
useTime:0
useTime:0,
showCareer:false,
careerId:0
// sessionStorage.getItem("mazip") ? sessionStorage.getItem("mazip") : true
}
},
......@@ -72,6 +74,9 @@ export default {
inited (viewer){
this.$viewer = viewer
},
closeCareer(){
this.showCareer=false
},
show (data) {
this.$set(this.images,data)
this.$viewer.show()
......@@ -117,6 +122,11 @@ export default {
path: '/login'
})
}else{
if(document.URL.indexOf("clientConfirm")!=-1){
localStorage.openMode=0
}else{
}
this.timekeeper()
this.listeneruser()
}
......@@ -151,7 +161,14 @@ export default {
this.MsgBus.$on('imgprevclear',content=>{
this.images=[]
})
this.MsgBus.$on('showCareer',empId=>{
this.careerId=empId
this.showCareer=true
})
this.MsgBus.$on('hideCareer',content=>{
this.careerId=0
this.showCareer=false
})
}
}
</script>
......
This diff is collapsed.
......@@ -196,14 +196,14 @@
<div class="rb_top_row _r_mb5">
<p >{{$t('fnc.fkduixiang')}}
<el-select filterable v-model='msg.IsPublic' placeholder="付款类型" @change="IsPublicChange" class="w135 _border_b_1">
<el-option :label="$t('fnc.gongzhang')" :value='1' :key='1' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48'></el-option>
<el-option :label="$t('fnc.sizhang')" :value='0' :key='0' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48'></el-option>
<el-option :label="$t('fnc.rmbxianjin')" :value='2' :key='2' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48'></el-option>
<el-option :label="$t('fnc.wbxianjin')" :value='3' :key='3' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==48'></el-option>
<el-option :label="$t('fnc.zjinchi')" :value='4' :key='4' v-if='msg.TemplateId===36 || msg.TemplateId===37 || msg.TemplateId===48'></el-option>
<el-option :label="$t('fnc.ptxnzhanghu')" :value='5' :key='5' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48'></el-option>
<el-option :label="$t('fnc.djxnzhanghu')" :value='6' :key='6' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48'></el-option>
<el-option :label="$t('fnc.szxiangdi')" :value='7' :key='7' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48'></el-option>
<el-option :label="$t('fnc.gongzhang')" :value='1' :key='1' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48 && msg.TemplateId !==53'></el-option>
<el-option :label="$t('fnc.sizhang')" :value='0' :key='0' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48 && msg.TemplateId !==53'></el-option>
<el-option :label="$t('fnc.rmbxianjin')" :value='2' :key='2' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48 && msg.TemplateId !==53'></el-option>
<el-option :label="$t('fnc.wbxianjin')" :value='3' :key='3' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==48 && msg.TemplateId !==53'></el-option>
<el-option :label="$t('fnc.zjinchi')" :value='4' :key='4' v-if='msg.TemplateId===36 || msg.TemplateId===37 || msg.TemplateId===48 || msg.TemplateId===53'></el-option>
<el-option :label="$t('fnc.ptxnzhanghu')" :value='5' :key='5' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48 && msg.TemplateId !==53'></el-option>
<el-option :label="$t('fnc.djxnzhanghu')" :value='6' :key='6' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48 && msg.TemplateId !==53'></el-option>
<el-option :label="$t('fnc.szxiangdi')" :value='7' :key='7' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48 && msg.TemplateId !==53'></el-option>
<el-option label="原路退款" :value='8' :key='8' v-if='msg.TemplateId===2 || msg.TemplateId===12 ||msg.TemplateId===61 || msg.TemplateId===62'></el-option>
<el-option label="地接预支款" :value='9' :key='9' v-if='msg.TemplateId===67'></el-option>
......@@ -1495,14 +1495,14 @@ export default {
this.msg.FrID = this.$route.query.FrID;
this.Financial_post_Get(this.$route.query.FrID,0);
}else{
let TCID = (this.orderObj && this.orderObj.TCIDList && this.orderObj.TCIDList.length>0) ? this.orderObj.TCIDList[0] : 0
this.financeinfo_post_GetList(TCID);
this.msg.TemplateId = this.$route.query.id;
this.Financial_post_GetCostTypeList(this.$route.query.id);
this.BillName = userInfo.GroupName;
this.BillSonName = this.$route.query.Name;
this.FinancialFlowTemplate_post_GetProcessList(this.$route.query.id);
this.Financial_post_Get(0,parseInt(this.$route.query.id));
let TCID = (this.orderObj && this.orderObj.TCIDList && this.orderObj.TCIDList.length>0) ? this.orderObj.TCIDList[0] : 0
this.financeinfo_post_GetList(TCID);
}
if(this.$route.query.Conditon){
this.returnCode = this.$route.query.Conditon;
......
......@@ -541,27 +541,25 @@
<th>操作</th>
</tr>
<tr v-for='(item, index) in nav'>
<td :rowspan="nav.length" width="180" v-if="index===0">总金额:
<!-- {{moneyFormat(TotalNav.reimburseTotalPrice.PlanPrice)}} -->
<!-- ({{currencyTypeObj.}}) -->
<td>{{item.TCNUMS}}</td>
<td :rowspan="nav.length * CurrencyListMoney.length" width="180" v-if="index===0">总金额:
<span v-for="(cur,index) in CurrencyListMoney" :key="index+5000">{{cur.money}}
<span v-if="cur.CurrencyId>0"> ({{currencyTypeObj[cur.CurrencyId]}}) </span>
</br></span>
</td>
<td>{{item.TCNUMS}}</td>
</br></span>
</td>
<td style="padding: 5px 20px;">
<div style="margin:10px 0" v-for="cur in CurrencyListMoney">
<template v-for="leadr in cur.LeaderGetPriceArr">
<p style="padding-left:20px;display:inline-block" v-if="leadr.LeaderGetPrice>0">已领款:
<span style="color: red;">{{moneyFormat(leadr.LeaderGetPrice)}}<span v-if="cur.CurrencyId>0"> ({{currencyTypeObj[leadr.CurrencyId]}}) </span></span></p>
<el-input class="w300" v-if="leadr.LeaderGetPrice < leadr.PlanPrice"
type="number" v-model="leadr.LeaderGetPriceT"></el-input>
</template>
<p style="padding-left:20px;display:inline-block" >
已领款:
<span style="color: red;">
{{moneyFormat(leadr.LeaderGetPrice)}}
<span v-if="cur.CurrencyId > 0"> ({{currencyTypeObj[leadr.CurrencyId]}}) </span>
</span>
</p>
<el-input class="w300" v-if="leadr.LeaderGetPrice < leadr.PlanPrice" type="number" v-model="leadr.LeaderGetPriceT"></el-input>
</template>
</div>
</td>
<td>
<p v-for="(subItem, subIndex) in item.FinanceIds"><span class="cursorpointer text-decoration"
......@@ -574,9 +572,10 @@
<div style="margin:10px 0" v-for="(cur,index2) in CurrencyListMoney">
<template v-for="leadr in cur.LeaderGetPriceArr">
<input type="button" v-if="item.TeamType == 1 && index2==0" value="日当费" class="normalBtn" @click="goZhiDan(item, 2)" />
<input type="button" v-if="item.hideZDBtn" value="制单" class="normalBtn" @click="goZhiDan(item,0,leadr)" />
</template>
<el-tooltip class="item" effect="dark" :content="currencyTypeObj[leadr.CurrencyId]" placement="top">
<input type="button" v-if="item.hideZDBtn" value="制单" class="normalBtn" @click="goZhiDan(item,0,leadr)" />
</el-tooltip>
</template>
</div>
</td>
</tr>
......
......@@ -118,9 +118,24 @@
</td>
<td v-if="childIndex==0" :rowspan="3">
{{subItem.TotalPrice}}
<template v-if="subItem.NewTotalPrice">
<br /><span style="color:red;">{{subItem.NewTotalPrice}}</span>
</template>
</td>
<td v-if="childIndex==0" :rowspan="3">
<table class="dinnerTable">
<tr>
<td width="70" style="text-align:right;">币种:</td>
<td>
<el-select v-model="subItem.CurrencyId" placeholder="请选择" class='w135 sel'
@change="calculationPrice(subItem)">
<el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option>
<el-option v-for="(item,index) in allCurrencyList" :key="index" :label="item.Name"
:value="item.ID">
</el-option>
</el-select>
</td>
</tr>
<tr>
<td width="60" style="text-align:right;">
付款方式:
......@@ -197,6 +212,7 @@
CurrentUserInfo: {},
//是否禁用按钮
IsDisabled: false,
allCurrencyList: [],
};
},
methods: {
......@@ -278,10 +294,52 @@
},
calculationPrice(obj) {
let totalPrice = 0;
obj.DiningPriceList.forEach(item => {
totalPrice += item.PeoplePrice * (item.PeopleNum - item.Discount) * (1 - item.DiscountPrice / 100);
//获取当前选中的对象
let currentObj = {};
if (obj.CurrencyId != 0) {
currentObj = this.allCurrencyList.find(item => {
return item.ID === obj.CurrencyId; //筛选出匹配数据
});
}
//日元
let jpaObj = this.allCurrencyList.find(item => {
return item.ID === 3; //筛选出匹配数据
});
obj.DiningPriceList.forEach((item, index) => {
var tempPrice = 0;
var coefficient = 1;
totalPrice += item.PeoplePrice * (item.PeopleNum - item.Discount) * (coefficient - item.DiscountPrice / 100);
totalPrice += tempPrice;
})
obj.TotalPrice = totalPrice.toFixed(2);
if (currentObj && currentObj.ID > 0) {
//人民币
if (currentObj.ID == 1) {
obj.NewTotalPrice = currentObj.Name + ":" + (totalPrice * jpaObj.PayRate).toFixed(2);
}
//日元
else if (currentObj.ID == 3) {
obj.NewTotalPrice = "";
} else {
if(currentObj.CurrentRate>1)
{
obj.NewTotalPrice = currentObj.Name + ":" + ((totalPrice*jpaObj.PayRate)/currentObj.CurrentRate).toFixed(2);
}
else
{
obj.NewTotalPrice = currentObj.Name + ":" + ((totalPrice*jpaObj.PayRate)*currentObj.CurrentRate).toFixed(2);
}
}
} else {
obj.NewTotalPrice = "";
}
this.$forceUpdate();
// let totalPrice = 0;
// obj.DiningPriceList.forEach(item => {
// totalPrice += item.PeoplePrice * (item.PeopleNum - item.Discount) * (1 - item.DiscountPrice / 100);
// })
// obj.TotalPrice = totalPrice.toFixed(2);
},
saveList(type) {
this.IsDisabled = true;
......@@ -356,6 +414,11 @@
this.TCNUM = this.$route.query.TCNUM;
this.GuestNum = this.$route.query.GuestNum;
this.getList();
this.apipost("financeinfo_post_GetList", {}, res => {
if (res.data.resultCode === 1) {
this.allCurrencyList = res.data.data;
}
}, err => {});
}
};
......
......@@ -1820,8 +1820,8 @@
</span>
</div>
<span v-if="item.contractNum==''" class="GO_Contract" @click="goContract(item)" style="display:none">领取合同</span>
<span v-else class="GO_Contract" @click="goContract(item)" style="display:none">{{item.contractNum}}</span>
<span v-if="item.contractNum==''" class="GO_Contract" @click="goContract(item)" >领取合同</span>
<span v-else class="GO_Contract" @click="goContract(item)">{{item.contractNum}}</span>
</td>
</tr>
<tr>
......@@ -3827,6 +3827,7 @@
this.loading = false
this.total = res.data.data.count
this.list = res.data.data.pageData;
console.log(this.list,'list');
} else {
this.$message.error(res.data.message)
}
......
......@@ -2142,8 +2142,8 @@
<span @click="gourlTip('FinancialDocumentsDetail',id)" style="text-decoration:underline;color:blue;cursor:pointer" v-for="(id,i) in item.tipFrId" :key="i">{{id}}</span>
</span>
<div v-if="item.contractNum==''" class="GO_Contract" @click="goContract(item)" style="display:none">领取合同</div>
<div v-else class="GO_Contract" @click="goContract(item)" style="display:none">{{item.contractNum}}</div>
<div v-if="item.contractNum==''" class="GO_Contract" @click="goContract(item)" style="display:none;">领取合同</div>
<div v-else class="GO_Contract" @click="goContract(item)" style="display:none;">{{item.contractNum}}</div>
</div>
</td>
......
......@@ -1777,8 +1777,8 @@
<!-- <span>暂无名单</span>-->
<!-- </p>-->
<span>房间信息:{{item.OrderGuestHouseStr}}</span>
<span v-if="item.ContractNum==''" class="GO_Contract" @click="goContract(item)" style="display:none">领取合同</span>
<span v-else class="GO_Contract" @click="goContract(item)" style="display:none">{{item.ContractNum}}</span>
<span v-if="item.ContractNum==''" class="GO_Contract" @click="goContract(item)">领取合同</span>
<span v-else class="GO_Contract" @click="goContract(item)">{{item.ContractNum}}</span>
</td>
</tr>
<tr>
......@@ -2094,8 +2094,8 @@
<span>单据:</span>
<span @click="gourlTip('FinancialDocumentsDetail',id)" style="text-decoration:underline;color:blue;cursor:pointer" v-for="(id,i) in childItem.TipFrId" :key="i">{{id}}</span>
</span>
<span v-if="childItem.ContractNum==''" class="GO_Contract" @click="goContract(childItem)" style="display:none">领取合同</span>
<span v-else class="GO_Contract" @click="goContract(childItem)" style="display:none">{{childItem.ContractNum}}</span>
<span v-if="childItem.ContractNum==''" class="GO_Contract" @click="goContract(childItem)">领取合同</span>
<span v-else class="GO_Contract" @click="goContract(childItem)">{{childItem.ContractNum}}</span>
</div>
</td>
</tr>
......
......@@ -261,7 +261,7 @@
<el-input v-else v-model="item.Duty" type="text" size=mini class="w230" maxlength="50" ></el-input>
</el-form-item>
<el-form-item :label="$t('hotel.hotel_remark')">
<el-input v-model="item.Remarks" type="textarea" size=mini class="w230" maxlength="1000"></el-input>
<el-input style="height:30px" v-model="item.Remarks" type="textarea" size=mini class="w230" maxlength="1000"></el-input>
</el-form-item>
<el-form-item :label="$t('visaT.student')">
<el-checkbox v-model="item.IsHightSchool" :true-label='1' :false-label='2'></el-checkbox>
......@@ -269,6 +269,22 @@
<el-form-item :label="$t('system.table_rank')" prop="Sort">
<el-input v-model="item.Sort" @keyup.native="checkInteger(item,'Sort')" type="text" size=mini class="w230" maxlength="6" :placeholder="$t('visaT.qtxrank')"></el-input>
</el-form-item>
<el-form-item label="在职证明" prop="IncumbencyCertificationType">
<el-select v-model="item.IncumbencyCertificationType" placeholder="请选择">
<el-option label="不选" :value="0"></el-option>
<el-option label="已确认为真" :value="1"></el-option>
<el-option label="已确认为假" :value="2"></el-option>
<el-option label="无法确认" :value="3"></el-option>
</el-select>
</el-form-item>
<el-form-item label=" 银行流水" prop="AccountStatementType">
<el-select v-model="item.AccountStatementType" placeholder="请选择">
<el-option label="不选" :value="0"></el-option>
<el-option label="已确认为真" :value="1"></el-option>
<el-option label="已确认为假" :value="2"></el-option>
<el-option label="无法确认" :value="3"></el-option>
</el-select>
</el-form-item>
</div>
<div class="_Ec_Box clearfix">
<template v-for="(Ec,Eci) in item.EconomicCapabilityS">
......@@ -387,7 +403,9 @@ export default {
EconomicCapabilityS:[],
TimeOver:false,
OrderId:'',
Sort:0
Sort:0,
IncumbencyCertificationType:1,
AccountStatementType:1,
},
rules:{
OrderId:[
......
This diff is collapsed.
......@@ -27,9 +27,9 @@
.dic_content .item_content .title {width:100%;text-align:center;margin-top:20px;}
.dic_content .item_content>label {width:100%;text-align:left;font-weight:bold;background-color:#F2F2F2;margin:30px 0;padding:8px 0;text-indent:20px;display:inline-block;font-size:16px;}
.dic_content .item_content>span{font-size:13px;line-height:26px;margin-left:10px;}
.dic_content .item_content .content_table {border:0;margin-top:10px;width:100%;}
.dic_content .item_content .content_table {border:1px solid #d1d1d1;margin-top:10px;width:100%;text-align: center;}
.dic_content .item_content .content_table th {background-color:#F2F2F2;}
.dic_content .item_content .content_table th,.dic_content .item_content .content_table th td {border:1px solid #808080;text-align:center;padding:10px;}
.dic_content .item_content .content_table th,.dic_content .item_content .content_table td {border:1px solid #808080;text-align:center;padding:10px;}
.dic_content .item_content font {color:blue;display:inline-block;padding:0 10px; font-size: 13px;}
.dic_content .content_table font{min-width:0;}
......@@ -53,15 +53,15 @@
.dic_content .shouquanNum{font-weight:bold;}
.dic_content .zhangTitle{height:90px;font-size:16px;font-weight:bold;line-height:90px!important;}
.dic_content .toTopDistance{margin-top:15px;}
.dic_content .travelDan td{border:none;text-align:left;text-indent:20px;padding:10px 0;}
.dic_content .travelDan td{border:none!important;text-align:left;text-indent:20px;padding:10px 0;}
.dic_content .travelDan{padding:50px 0;}
.dic_content .zhangOne{position:absolute;width:200px;top:-83px;left:160px;}
.dic_content .zhangTwo{position:absolute;width:200px;top:-60px;left:80px;}
.dic_content .comonTb td{padding:15px 0;}
.dic_content .remindInfo{position:absolute;top:42%;left:25%;font-size:60px;color:#FF7F7F;letter-spacing:20px;}
.dic_content .remindInfo{position:absolute;top:42%;left:35%;font-size:60px;color:#FF7F7F;letter-spacing:20px;}
.dic_content .signName{position:relative;top:10px;width:140px;}
.dic_content .LRTB td:nth-child(odd){text-align:right;padding-right:20px;}
.dic_content .LRTB td:nth-child(even){text-align:left;padding-left:20px;}
.dic_content .LRTB td:nth-child(odd){text-align:right;padding:10px;height:50px;border:1px solid #d1d1d1;}
.dic_content .LRTB td:nth-child(even){text-align:left;padding:10px;height:50px;border:1px solid #d1d1d1;}
.dic_content .shouquanNum{
margin:30px 0!important;
font-weight: bold;
......@@ -69,7 +69,7 @@
#canvas {
width: 100%;
height: 100%;
position: relative;
/* position: relative; */
}
#canvas canvas {
display: block;
......@@ -90,9 +90,9 @@
}
.CV_Btn{
color: #fff;
padding: 0 15px;
height: 30px;
padding: 10px 30px;
background: #E95252;
font-size:30px;
border: 1px solid #E95252;
cursor: pointer;
border-radius: 15px;
......@@ -106,11 +106,16 @@
}
.CliConfirmBtn{
color: #fff;
height: 30px;
height: 60px;
width:150px;
font-size:27px;
background: #E95252;
border: 1px solid #E95252;
border-radius: 15px;
}
.ClientTravelTable td{
border:1px solid #d1d1d1;
}
</style>
<template>
......@@ -391,7 +396,7 @@
</div>
<div class="item_content">
<label id="l5">旅客信息</label>
<table class="content_table" cellpadding="0" cellspacing="0" style="border-collapse:collapse">
<table class="content_table ClientTravelTable" cellpadding="0" cellspacing="0" style="border-collapse:collapse">
<tr>
<th>姓名</th>
<th>国籍</th>
......@@ -542,8 +547,8 @@
<td >经办人:<font>{{dataList.agentName}}</font></td>
</tr>
<tr>
<td style="text-indent:118px;">签约日期:<font>{{getDate(dataList.payDate)}}</font> </td>
<td style="text-indent:35px;">签约日期:<font>{{getDate(dataList.payDate)}}</font> </td>
<td>签约日期:<font>{{getDate(dataList.payDate)}}</font> </td>
<td>签约日期:<font>{{getDate(dataList.payDate)}}</font> </td>
</tr>
</table>
</div>
......@@ -747,7 +752,7 @@
</div>
</div>
</div>
<div class="CliSignDiv" :class="dialogVisible?'isShowSign':''">
<div class="CliSignDiv" :class="dialogVisible?'isShowSign':''" @touchmove.prevent>
<div id="canvas">
</div>
<div style="text-align:center;margin-top:20px;">
......@@ -783,7 +788,7 @@
methods: {
//获取数据
getList(){
this.apiJavaPost("/api/contract/getContractInfoForCode",this.msg,res => {
this.apiJavaPost("/api/contract/getContractInfo",this.msg,res => {
console.log(res,'resss');
if (res.data.resultCode === 1) {
this.dataList = res.data.data;
......@@ -898,7 +903,7 @@
this.msg.orderID = this.$route.query.orderID;
var h = window.screen.height;
var cHeight=document.getElementsByClassName("CliSignDiv")[0];
cHeight.style.height=600+'px';
cHeight.style.height=700+'px';
this.getList();
this.getCanvas();
}
......
......@@ -45,7 +45,7 @@
<i class="iconfont icon-right1"></i>
</span>
</div>
<div class="item">
<div class="item" @click="changeBoard(2)">
<i class="iconfont icon-guanjun"></i>
<span class="n-name">冠军之路</span>
<span class="fang">
......@@ -100,12 +100,17 @@
</div>
<personalIndex v-if="boardIndex==0"></personalIndex>
<dailyAnalysis v-if="boardIndex==1"></dailyAnalysis>
<div class="m-box" v-if="boardIndex==2" :style="{'left':(300*zoomH)+'px'}">
<personnelManagement></personnelManagement>
</div>
</div>
</template>
<script>
import personalIndex from './personalCenter/index'
import dailyAnalysis from './visualization/dailyAnalysis'
import personnelManagement from './activity/PersonnelManagement'
export default {
data() {
return {
......@@ -119,7 +124,8 @@ export default {
},
components: {
personalIndex,
dailyAnalysis
dailyAnalysis,
personnelManagement
},
mounted() {
this.u = this.getLocalStorage();
......@@ -192,7 +198,11 @@ export default {
right: 0;
background: rgba(242, 243, 248, 1);
overflow-y: auto;
padding-bottom: 20px;
/* padding-bottom: 20px; */
}
.personal .m-box .personTable{
margin: 0px;
width: 100%;
}
.personal .u-box .h-info-box {
margin: 15px;
......
......@@ -176,7 +176,7 @@
<div class="r-box">
<div class="sell">
<div class="title">本周销冠</div>
<i class="more iconfont icon-gengduo1 white" title="查看往期排行"></i>
<i class="more iconfont icon-gengduo1 white" title="查看往期排行" @click="openRank"></i>
<sell :champion="result.orderRankList"></sell>
</div>
<div class="todayOpera">
......@@ -280,6 +280,10 @@ export default {
const { href } = this.$router.resolve({ path: "/Maninfo" });
window.open(href, "_blank");
},
openRank(){
const { href } = this.$router.resolve({ path: "/saleRnkBefore"});
window.open(href, "_blank");
},
getList(){
let msg={
pageIndex:1,
......
......@@ -47,12 +47,11 @@ export default {
}
},
mounted() {
console.log(this.champion)
},
methods: {
openRank(){
const { href } = this.$router.resolve({ path: "/saleRnkBefore"});
window.open(href, "_blank");
this.MsgBus.$emit("showCareer",this.champion.employeeId)
}
},
}
......
......@@ -202,11 +202,28 @@
})
},
goUrl(path) {
this.$router.push({
path: path
})
},
},
if(path=='/JapanHotel'){
let userInfo = this.getLocalStorage();
let msg = {
id:userInfo.EmployeeId
}
this.apipost("sellorder_post_GetDesEncrypt",msg,res => {
if (res.data.resultCode == 1) {
this.EnCodeWord=res.data.data;
window.open("http://www.oytour.com/#/hotelHome?uid="+encodeURIComponent(this.EnCodeWord), "_blank");
} else {
this.Error(res.data.message);
}
},
err => {}
);
}else{
this.$router.push({
path: path
})
}
}
}
}
</script>
......
......@@ -118,9 +118,10 @@ export default {
Vue.prototype.domainManager = function() {
let domainUrl = '';
let locationName = window.location.hostname;
domainUrl = "http://192.168.2.214:8082";
domainUrl = "http://192.168.2.65:8025";
domainUrl = "http://192.168.2.16:8083";
//domainUrl = "http://192.168.2.214:8082";
domainUrl = "http://192.168.2.65:8025";
//domainUrl = "http://192.168.2.16:8083";
//domainUrl = "http://192.168.0.110";
if (locationName.indexOf('oytour') !== -1) {
domainUrl = "http://reborn.oytour.com";
......@@ -354,7 +355,7 @@ export default {
},
Vue.prototype.apiJavaPost = function(cmd, msg, successCall, faildCall) {
if (this.$route.name.indexOf('login') === -1 && this.$route.name.indexOf('confirmationOrderDownLoad') === -1 && this.$route.name.indexOf('PrintPage') === -1) {
if (this.$route.name.indexOf('login') === -1 && this.$route.name.indexOf('confirmationOrderDownLoad') === -1 && this.$route.name.indexOf('PrintPage') === -1 && this.$route.name.indexOf('clientConfirm') === -1) {
let previousPathInfo = {
path: this.$route.name,
query: this.$route.query
......
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