Commit 0f060b6d authored by 华国豪's avatar 华国豪 🙄

op旅客名单跳转链接修改

parent 05139b39
<template> <template>
<div class="passengerSaleList"> <div class="passengerSaleList">
<div class="passengerSaleList_topBtn"> <div class="passengerSaleList_topBtn">
<div v-if="isOrder==1" v-show="tableList.length<guestNum" @click="goUrlA(0)">新增</div> <div v-if="isOrder==1 && !isDis" v-show="tableList.length<guestNum" @click="goUrlA(0)">新增</div>
<div v-if="isOrder==1 && isOneDay !== 1" @click="goUrlP()">分房</div> <div v-if="isOrder==1 && isOneDay !== 1 && !isDis" @click="goUrlP()">分房</div>
</div> </div>
<div class="passengerSaleList_tableBox"> <div class="passengerSaleList_tableBox">
<table class="passengerSaleList_table" border="0" cellspacing="0" cellpadding="0" :loading="loading"> <table class="passengerSaleList_table" border="0" cellspacing="0" cellpadding="0" :loading="loading">
...@@ -49,15 +49,15 @@ ...@@ -49,15 +49,15 @@
<td>{{item.VisaState==1?'拒签':"正常"}}</td> <td>{{item.VisaState==1?'拒签':"正常"}}</td>
<td> <td>
<el-button-group> <el-button-group>
<el-tooltip v-if="isOrder==1" class="item" effect="dark" content="修改" placement="top-start"> <el-tooltip v-if="isOrder==1 && !isDis" class="item" effect="dark" content="修改" placement="top-start">
<el-button type="primary" style='background:#00C6FF; border-color:#00C6FF' <el-button type="primary" style='background:#00C6FF; border-color:#00C6FF'
icon="iconfont icon-bianji-smal" @click="goUrlA(item.Id)"></el-button> icon="iconfont icon-bianji-smal" @click="goUrlA(item.Id)"></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip v-if="isOrder==1" class="item" effect="dark" content="删除" placement="top-start"> <el-tooltip v-if="isOrder==1 && !isDis" class="item" effect="dark" content="删除" placement="top-start">
<el-button type="primary" style='background:#e95252; border-color:#e95252' <el-button type="primary" style='background:#e95252; border-color:#e95252'
icon="iconfont icon-shanchu" @click="pal_del(item)"></el-button> icon="iconfont icon-shanchu" @click="pal_del(item)"></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip v-if="isOrder==1" class="item" effect="dark" content="下载申请表" placement="top-start"> <el-tooltip v-if="isOrder==1 && !isDis" class="item" effect="dark" content="下载申请表" placement="top-start">
<el-button type="primary" style='background:#9E8DE3; border-color:#9E8DE3' <el-button type="primary" style='background:#9E8DE3; border-color:#9E8DE3'
icon="iconfont icon-img_download" @click="goUrlB(item.Id)"></el-button> icon="iconfont icon-img_download" @click="goUrlB(item.Id)"></el-button>
</el-tooltip> </el-tooltip>
...@@ -90,7 +90,8 @@ ...@@ -90,7 +90,8 @@
tableList: [], tableList: [],
isOneDay: 0, isOneDay: 0,
LineId: 0, LineId: 0,
EndDateStr: "" EndDateStr: "",
isDis: false,
}; };
}, },
methods: { methods: {
...@@ -168,6 +169,7 @@ ...@@ -168,6 +169,7 @@
this.msg.tcid = this.$route.query.tcid === undefined ? "0" : this.$route.query.tcid this.msg.tcid = this.$route.query.tcid === undefined ? "0" : this.$route.query.tcid
this.msg.tcnum = this.$route.query.tcnum === undefined ? "0" : this.$route.query.tcnum this.msg.tcnum = this.$route.query.tcnum === undefined ? "0" : this.$route.query.tcnum
this.isOrder = this.$route.query.isOrder === undefined ? 0 : this.$route.query.isOrder this.isOrder = this.$route.query.isOrder === undefined ? 0 : this.$route.query.isOrder
this.isDis = this.$route.query.isDis ? true : false;
this.getData() this.getData()
} }
}; };
......
...@@ -1772,8 +1772,11 @@ ...@@ -1772,8 +1772,11 @@
<span class="RL-remarkTitle" v-if="item.GuestList.length>0">名单:</span> <span class="RL-remarkTitle" v-if="item.GuestList.length>0">名单:</span>
<p class="RL-redType RL-remarkCon" v-if="item.GuestList.length>0"> <p class="RL-redType RL-remarkCon" v-if="item.GuestList.length>0">
<span style="color:blue !important" v-for="(childItem) in item.GuestList" <span style="color:blue !important" v-for="(childItem) in item.GuestList"
@click="goUrl('TravelPassengerList',msg.TCID,childItem.OrderId,'旅客名单')">{{childItem.userName}}</span> @click="goToPassenger(childItem, 2)">{{childItem.userName}}</span>
<!-- <span style="color:blue !important" v-for="(childItem) in item.GuestList"
@click="goUrl('TravelPassengerList',msg.TCID,childItem.OrderId,'旅客名单')">{{childItem.userName}}</span> -->
</p> </p>
<p v-if="item.CancelGuestList.length>0"> <p v-if="item.CancelGuestList.length>0">
<span class="" >取消名单:</span> <span class="" >取消名单:</span>
<span class="RL-redType RL-remarkCon"> <span class="RL-redType RL-remarkCon">
...@@ -5086,7 +5089,7 @@ ...@@ -5086,7 +5089,7 @@
}); });
}, },
//跳转到旅客名单 //跳转到旅客名单
goToPassenger(item) { goToPassenger(item, dis) {
this.$router.push({ this.$router.push({
name: "passengerSaleList", name: "passengerSaleList",
query: { query: {
...@@ -5095,6 +5098,7 @@ ...@@ -5095,6 +5098,7 @@
tcnum: this.ConfigData.Config.TCNUM, tcnum: this.ConfigData.Config.TCNUM,
isOrder: 1, isOrder: 1,
blank: "y", blank: "y",
isDis: dis,
tab: "旅客名单" tab: "旅客名单"
} }
}); });
......
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