Commit 5971e3ea authored by 黄奎's avatar 黄奎
parents 13f0cb8a 0d54ce03
...@@ -97,6 +97,20 @@ export default { ...@@ -97,6 +97,20 @@ export default {
//跳转至详情 //跳转至详情
goToDetail(item){ goToDetail(item){
if(item.Value!='损失占比'){ if(item.Value!='损失占比'){
if(item.IsTravel==1){
this.$router.push({
name: 'TeamRevenueReport',
query: {
StartTime:item.StartTime,
EndTime:item.EndTime,
LineId:item.LineId,
LtIdStr:item.LtIdStr,
IsSelectTravelLoss:1,
blank: "y",
}
});
}
else{
this.$router.push({ this.$router.push({
name: 'AirTicketLossDetail', name: 'AirTicketLossDetail',
query: { query: {
...@@ -105,6 +119,8 @@ export default { ...@@ -105,6 +119,8 @@ export default {
} }
}); });
} }
}
} }
},mounted(){ },mounted(){
......
...@@ -1664,6 +1664,12 @@ export default { ...@@ -1664,6 +1664,12 @@ export default {
this.msg.endDate=this.$route.query.EndTime!=undefined?this.$route.query.EndTime:''; this.msg.endDate=this.$route.query.EndTime!=undefined?this.$route.query.EndTime:'';
this.msg.LineId=this.$route.query.LineId!=undefined?Number(this.$route.query.LineId):''; this.msg.LineId=this.$route.query.LineId!=undefined?Number(this.$route.query.LineId):'';
this.msg.OutBranchId=this.$route.query.OutBranchId?Number(this.$route.query.OutBranchId):this.msg.OutBranchId; this.msg.OutBranchId=this.$route.query.OutBranchId?Number(this.$route.query.OutBranchId):this.msg.OutBranchId;
if(this.$route.query.LtIdStr){
this.msg.LtIdStr=this.$route.query.LtIdStr
}
if(this.$route.query.IsSelectTravelLoss){
this.msg.IsSelectTravelLoss=this.$route.query.IsSelectTravelLoss
}
if(this.msg.endDate!=""){ if(this.msg.endDate!=""){
this.productionDate[0]=this.msg.startDate; this.productionDate[0]=this.msg.startDate;
this.productionDate[1]=this.msg.endDate; this.productionDate[1]=this.msg.endDate;
......
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