Commit f8b80b3f authored by 黄奎's avatar 黄奎

页面修改

parent fb02ecf9
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<td>{{NewCombinationNum}}</td> <td>{{NewCombinationNum}}</td>
<td>{{item.FlightDate}}</td> <td>{{item.FlightDate}}</td>
<td>{{item.DayNum}}</td> <td>{{item.DayNum}}</td>
<td>{{item.TotalSeat}}</td> <td>{{item.GuestNum}}</td>
<td>{{item.LeaderName}}</td> <td>{{item.LeaderName}}</td>
<td>{{item.GuideName}}</td> <td>{{item.GuideName}}</td>
<td> <td>
......
...@@ -148,6 +148,8 @@ ...@@ -148,6 +148,8 @@
style="color:#E95252 ;">X</span> style="color:#E95252 ;">X</span>
</div> </div>
<div style="width: 100%; overflow-x: auto;padding-bottom: 10px; margin-top: 10px; " class="ownScrollbarStyle"> <div style="width: 100%; overflow-x: auto;padding-bottom: 10px; margin-top: 10px; " class="ownScrollbarStyle">
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total"></el-pagination>
<table border="0" cellspacing="1" cellpadding="0" class="dmcTotalTable" v-loading="loading"> <table border="0" cellspacing="1" cellpadding="0" class="dmcTotalTable" v-loading="loading">
<tr> <tr>
<th colspan="11">公司通用信息</th> <th colspan="11">公司通用信息</th>
...@@ -257,7 +259,8 @@ ...@@ -257,7 +259,8 @@
<td> <td>
<div class="link"> <div class="link">
<p v-if='!item.LeaderName' @click="goUrlT('RegistrationList',item.TCID,'报名清单')">配置领队</p> <p v-if='!item.LeaderName' @click="goUrlT('RegistrationList',item.TCID,'报名清单')">配置领队</p>
<p v-else @click="goUrlT('RegistrationList',item.TCID,'报名清单')">{{item.LeaderName}}{{getLeaderTypeStr(item.LeaderGuidClass)}}</p> <p v-else @click="goUrlT('RegistrationList',item.TCID,'报名清单')">
{{item.LeaderName}}{{getLeaderTypeStr(item.LeaderGuidClass)}}</p>
</div> </div>
</td> </td>
<td> <td>
...@@ -279,7 +282,8 @@ ...@@ -279,7 +282,8 @@
</div> </div>
</td> </td>
<td> <td>
<a style="text-decoration:underline;cursor:pointer;" title="点击下载旅客名单" @click="DownLoadGuestList(item)">旅客名单</a> <a style="text-decoration:underline;cursor:pointer;" title="点击下载旅客名单"
@click="DownLoadGuestList(item,outItem,index)">旅客名单</a>
</td> </td>
<td> <td>
<div class="fz16 fbold linkspan"> <div class="fz16 fbold linkspan">
...@@ -330,14 +334,18 @@ ...@@ -330,14 +334,18 @@
<span style="color: #4BCA81;" v-if="item.FoodsResult==1"></span> <span style="color: #4BCA81;" v-if="item.FoodsResult==1"></span>
<span class="colorE95252" v-else>{{item.FoodsResult=='-1'?"x":"O"}}</span> <span class="colorE95252" v-else>{{item.FoodsResult=='-1'?"x":"O"}}</span>
</div> </div>
<a style="text-decoration:underline;cursor:pointer;" title="点击下载旅客名单" @click="DownLoadDinner(item)">餐配下载</a> <a style="text-decoration:underline;cursor:pointer;" title="点击下载旅客名单"
@click="DownLoadDinner(item)">餐配下载</a>
</td> </td>
<td> <td>
<div class="fz16 fbold linkspan"> <div class="fz16 fbold linkspan">
<span style="color: #4BCA81;" @click="goUrlBus('BusInfo',item,outItem,'车配信息')" v-if="item.BusResult==1"></span> <span style="color: #4BCA81;" @click="goUrlBus('BusInfo',item,outItem,'车配信息')"
<span class="colorE95252" @click="goUrlBus('BusInfo',item,outItem,'车配信息')" v-else>{{item.BusResult=='-1'?"x":"O"}}</span> v-if="item.BusResult==1"></span>
<span @click="GoShoupei(outItem)" style="cursor:pointer;text-decoration:underline;display:block;color:#666;font-size:12px;">车辆信息</span> <span class="colorE95252" @click="goUrlBus('BusInfo',item,outItem,'车配信息')"
v-else>{{item.BusResult=='-1'?"x":"O"}}</span>
<span @click="GoShoupei(outItem)"
style="cursor:pointer;text-decoration:underline;display:block;color:#666;font-size:12px;">车辆信息</span>
</div> </div>
</td> </td>
<td> <td>
...@@ -683,7 +691,7 @@ ...@@ -683,7 +691,7 @@
commonTeamInfo commonTeamInfo
}, },
methods: { methods: {
getLeaderTypeStr: function (clas){ getLeaderTypeStr: function (clas) {
if (clas == 1) { if (clas == 1) {
return "(同行领队)" return "(同行领队)"
} else if (clas == 2) { } else if (clas == 2) {
...@@ -694,7 +702,7 @@ ...@@ -694,7 +702,7 @@
var that = this; var that = this;
this.tripTitle = item.Title; this.tripTitle = item.Title;
this.$nextTick(() => { this.$nextTick(() => {
that.$refs.comTeam.GetTrip(item.ConfigID,item.TCID); that.$refs.comTeam.GetTrip(item.ConfigID, item.TCID);
}); });
that.teamVisible = true; that.teamVisible = true;
}, },
...@@ -1033,12 +1041,20 @@ ...@@ -1033,12 +1041,20 @@
}, err => {}) }, err => {})
}, },
//下载旅客名单 //下载旅客名单
DownLoadGuestList(item) { DownLoadGuestList(item, outItem,index) {
this.loading = true; this.loading = true;
var nDmcNum=outItem.NewCombinationNum;
if(outItem.PriceCommonList.length>1)
{
var NIndex=index+1;
nDmcNum= nDmcNum.replace(/^\s*|\s*$/g,"")+NIndex;
}
//导出报表 //导出报表
let msg = { let msg = {
TCID: item.TCID TCID: item.TCID,
DMCNum:nDmcNum
}; };
console.log("msg",msg);
var fileName = "出境名单表.doc"; var fileName = "出境名单表.doc";
if (item.TCNUMS != null) { if (item.TCNUMS != null) {
fileName = fileName =
...@@ -1060,14 +1076,13 @@ ...@@ -1060,14 +1076,13 @@
} }
}) })
}, },
DownLoadDinner(item) DownLoadDinner(item) {
{
this.loading = true; this.loading = true;
//导出报表 //导出报表
let msg = { let msg = {
TCID: item.TCID, TCID: item.TCID,
StartDate:item.StartDateStr, StartDate: item.StartDateStr,
DayNum:item.DayNum DayNum: item.DayNum
}; };
var fileName = "餐配下载.xls"; var fileName = "餐配下载.xls";
if (item.TCNUMS != null) { if (item.TCNUMS != null) {
......
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