Commit 2e2e9e4e authored by zhengke's avatar zhengke

增加加载

parent baee45c9
......@@ -48,232 +48,277 @@
</style>
<template>
<div v-if="isShow">
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="9">导游领队运行计划表</th>
</tr>
<tr>
<th width="150">出发地</th>
<th>航班时间</th>
<th>集合时间</th>
<th width="500">出团名称</th>
<th>天数</th>
<th>进出点</th>
<th>出团人数</th>
<th>领队</th>
<th>导游</th>
</tr>
<tr v-for="item in BaseInfo">
<td>{{item.StartCityNames}}</td>
<td>
<span v-if="item.FlightList.length>0">{{item.FlightList[0].Departure_time}}</span>
</td>
<td>{{item.GatherTime}}</td>
<td style="text-align:left;">{{item.Titles}}</td>
<td>{{item.DayNum}}</td>
<td>{{item.InOut}}</td>
<td>{{item.TotalSeat}}+1</td>
<td>{{item.LeaderName}}</td>
<td>{{item.GuideName}}</td>
</tr>
<tr>
<td>特殊要求</td>
<td colspan="8"></td>
</tr>
<tr>
<td rowspan="5">
部门负责人
</td>
<td>机票负责人</td>
<td>{{PrincipalList[0].CreateByName}}</td>
<td>联系电话</td>
<td colspan="5">{{PrincipalList[0].CreateByMobile}}</td>
</tr>
<tr>
<td>订房负责人</td>
<td>{{PrincipalList[0].HConfirmName}}</td>
<td>联系电话</td>
<td colspan="5">{{PrincipalList[0].HConfirmMobile}}</td>
</tr>
<tr>
<td>车辆负责人</td>
<td>{{PrincipalList[0].BConfirmName}}</td>
<td>联系电话</td>
<td colspan="5">{{PrincipalList[0].BConfirmMobile}}</td>
</tr>
<tr>
<td>订餐负责人</td>
<td>{{PrincipalList[0].DConfirmName}}</td>
<td>联系电话</td>
<td colspan="5">{{PrincipalList[0].DConfirmMobile}}</td>
</tr>
<tr>
<td>门票负责人</td>
<td>{{PrincipalList[0].TConfirmName}}</td>
<td>联系电话</td>
<td colspan="5">{{PrincipalList[0].TConfirmMobile}}</td>
</tr>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="9">车辆使用</th>
</tr>
<tr>
<th>车配号</th>
<th>车辆公司</th>
<th>用车时间</th>
<th>车牌号</th>
<th>司机姓名</th>
<th>司机电话</th>
<th>备注</th>
</tr>
<tr v-for="item in DMCStaticsCommon.BusList">
<td>{{item.BusCode}}</td>
<td>{{item.BusCompany}}</td>
<td>{{item.PlanDateStr}}</td>
<td>{{item.BusNum}}</td>
<td>{{item.DriverName}}</td>
<td>{{item.DriverTel}}</td>
<td width="300">{{item.Remarks}}</td>
</tr>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="17">酒店使用</th>
</tr>
<tr>
<th width="80">订房号</th>
<th width="180">酒店名称</th>
<th width="100">入住时间</th>
<th width="80">占床/不占床</th>
<th width="80">实际用房数</th>
<th width="80">联系电话</th>
<th width="200">地址</th>
<th width="200">备注</th>
</tr>
<tbody v-for="item in DMCStaticsCommon.HotelOrderListReport">
<tr v-for="subItem in item.HotelOrderList">
<td>{{subItem.ReserveNo}}</td>
<td style="text-align:left;">{{subItem.HotelName}}</td>
<td>{{subItem.CheckInDateStr}}</td>
<td>{{DMCStaticsCommon.HouseStatistics.NeedBed}}/{{DMCStaticsCommon.HouseStatistics.NoNeedBed}}</td>
<td>{{DMCStaticsCommon.HouseStatistics.RealityRoomNum}}</td>
<td>{{subItem.Tel}}</td>
<td style="text-align:left;">{{subItem.Address}}</td>
<td style="text-align:left;">{{subItem.Remarks}}</td>
<div v-loading="loading2">
<div v-loading="loading">
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="9">导游领队运行计划表</th>
</tr>
</tbody>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="15">餐食使用</th>
</tr>
<tr>
<th width="80">订餐号</th>
<th width="80">用餐时间</th>
<th width="80">餐厅名称</th>
<th width="50">类别</th>
<th width="80">餐饮类型</th>
<th width="80">总人数</th>
<th width="80">联系电话</th>
<th width="200">地址</th>
<th width="300">备注</th>
</tr>
<tbody v-for="item in DMCStaticsCommon.DiningList">
<tr v-for="subItem in item.DiningSummaryList">
<td>{{subItem.ReserveNo}}</td>
<td>{{subItem.UseTimeStr}}</td>
<td>{{subItem.DiningName}}</td>
<td>{{subItem.UseDinnerTypeStr}}</td>
<td>{{subItem.MealName}}</td>
<td>{{DMCStaticsCommon.HouseStatistics.RealityNum>0?(DMCStaticsCommon.HouseStatistics.RealityNum-1):0}}+1</td>
<td>{{subItem.Tel}}</td>
<td style="text-align:left;">{{subItem.Address}}</td>
<td style="text-align:left;">{{subItem.Remarks}}</td>
<tr>
<th width="150">出发地</th>
<th>航班时间</th>
<th>集合时间</th>
<th width="500">出团名称</th>
<th>天数</th>
<th>进出点</th>
<th>出团人数</th>
<th>领队</th>
<th>导游</th>
</tr>
</tbody>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="12">门票使用</th>
</tr>
<tr>
<th>游览时间</th>
<th width="400">景点名称</th>
<th>总人数</th>
<th>联系电话</th>
<th width="300">地址</th>
<th width="200">备注</th>
</tr>
<tbody v-for="item in DMCStaticsCommon.ScenicList">
<tr v-for="subItem in item.ScenicStatisticsList">
<td>{{subItem.UseTimeStr}}</td>
<td>{{subItem.ScenicName}}</td>
<td>{{DMCStaticsCommon.HouseStatistics.RealityNum>0?(DMCStaticsCommon.HouseStatistics.RealityNum-1):0}}+1</td>
<td>{{subItem.Tel}}</td>
<td style="text-align:left;">{{subItem.Address}}</td>
<td style="text-align:left;">{{subItem.Remarks}}</td>
<tr v-for="item in BaseInfo">
<td>{{item.StartCityNames}}</td>
<td>
<span v-if="item.FlightList.length>0">{{item.FlightList[0].Departure_time}}</span>
</td>
<td>{{item.GatherTime}}</td>
<td style="text-align:left;">{{item.Titles}}</td>
<td>{{item.DayNum}}</td>
<td>{{item.InOut}}</td>
<td>{{item.TotalSeat}}+1</td>
<td>{{item.LeaderName}}</td>
<td>{{item.GuideName}}</td>
</tr>
<tr>
<td>特殊要求</td>
<td colspan="8"></td>
</tr>
<tr>
<td rowspan="5">
部门负责人
</td>
<td>机票负责人</td>
<td>
<template v-if="PrincipalList.length>0">
{{PrincipalList[0].CreateByName}}
</template>
</td>
<td>联系电话</td>
<td colspan="5">
<template v-if="PrincipalList.length>0">
{{PrincipalList[0].CreateByMobile}}
</template>
</td>
</tr>
<tr>
<td>订房负责人</td>
<td>
<template v-if="PrincipalList.length>0">
{{PrincipalList[0].HConfirmName}}
</template>
</td>
<td>联系电话</td>
<td colspan="5">
<template v-if="PrincipalList.length>0">
{{PrincipalList[0].HConfirmMobile}}
</template>
</td>
</tr>
<tr>
<td>车辆负责人</td>
<td>
<template v-if="PrincipalList.length>0">
{{PrincipalList[0].BConfirmName}}
</template>
</td>
<td>联系电话</td>
<td colspan="5">
<template v-if="PrincipalList.length>0">
{{PrincipalList[0].BConfirmMobile}}
</template>
</td>
</tr>
<tr>
<td>订餐负责人</td>
<td>
<template v-if="PrincipalList.length>0">
{{PrincipalList[0].DConfirmName}}
</template>
</td>
<td>联系电话</td>
<td colspan="5">
<template v-if="PrincipalList.length>0">
{{PrincipalList[0].DConfirmMobile}}
</template>
</td>
</tr>
<tr>
<td>门票负责人</td>
<td>
<template v-if="PrincipalList.length>0">
{{PrincipalList[0].TConfirmName}}
</template>
</td>
<td>联系电话</td>
<td colspan="5">
<template v-if="PrincipalList.length>0">
{{PrincipalList[0].TConfirmMobile}}
</template>
</td>
</tr>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="9">车辆使用</th>
</tr>
<tr>
<th>车配号</th>
<th>车辆公司</th>
<th>用车时间</th>
<th>车牌号</th>
<th>司机姓名</th>
<th>司机电话</th>
<th>备注</th>
</tr>
<tr v-for="item in DMCStaticsCommon.BusList">
<td>{{item.BusCode}}</td>
<td>{{item.BusCompany}}</td>
<td>{{item.PlanDateStr}}</td>
<td>{{item.BusNum}}</td>
<td>{{item.DriverName}}</td>
<td>{{item.DriverTel}}</td>
<td width="300">{{item.Remarks}}</td>
</tr>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="17">酒店使用</th>
</tr>
<tr>
<th width="80">订房号</th>
<th width="180">酒店名称</th>
<th width="100">入住时间</th>
<th width="80">占床/不占床</th>
<th width="80">实际用房数</th>
<th width="80">联系电话</th>
<th width="200">地址</th>
<th width="200">备注</th>
</tr>
<tbody v-for="item in DMCStaticsCommon.HotelOrderListReport">
<tr v-for="subItem in item.HotelOrderList">
<td>{{subItem.ReserveNo}}</td>
<td style="text-align:left;">{{subItem.HotelName}}</td>
<td>{{subItem.CheckInDateStr}}</td>
<td>{{DMCStaticsCommon.HouseStatistics.NeedBed}}/{{DMCStaticsCommon.HouseStatistics.NoNeedBed}}</td>
<td>{{DMCStaticsCommon.HouseStatistics.RealityRoomNum}}</td>
<td>{{subItem.Tel}}</td>
<td style="text-align:left;">{{subItem.Address}}</td>
<td style="text-align:left;">{{subItem.Remarks}}</td>
</tr>
</tbody>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="15">餐食使用</th>
</tr>
<tr>
<th width="80">订餐号</th>
<th width="80">用餐时间</th>
<th width="80">餐厅名称</th>
<th width="50">类别</th>
<th width="80">餐饮类型</th>
<th width="80">总人数</th>
<th width="80">联系电话</th>
<th width="200">地址</th>
<th width="300">备注</th>
</tr>
<tbody v-for="item in DMCStaticsCommon.DiningList">
<tr v-for="subItem in item.DiningSummaryList">
<td>{{subItem.ReserveNo}}</td>
<td>{{subItem.UseTimeStr}}</td>
<td>{{subItem.DiningName}}</td>
<td>{{subItem.UseDinnerTypeStr}}</td>
<td>{{subItem.MealName}}</td>
<td>{{DMCStaticsCommon.HouseStatistics.RealityNum>0?(DMCStaticsCommon.HouseStatistics.RealityNum-1):0}}+1</td>
<td>{{subItem.Tel}}</td>
<td style="text-align:left;">{{subItem.Address}}</td>
<td style="text-align:left;">{{subItem.Remarks}}</td>
</tr>
</tbody>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="12">门票使用</th>
</tr>
<tr>
<th>游览时间</th>
<th width="400">景点名称</th>
<th>总人数</th>
<th>联系电话</th>
<th width="300">地址</th>
<th width="200">备注</th>
</tr>
<tbody v-for="item in DMCStaticsCommon.ScenicList">
<tr v-for="subItem in item.ScenicStatisticsList">
<td>{{subItem.UseTimeStr}}</td>
<td>{{subItem.ScenicName}}</td>
<td>{{DMCStaticsCommon.HouseStatistics.RealityNum>0?(DMCStaticsCommon.HouseStatistics.RealityNum-1):0}}+1</td>
<td>{{subItem.Tel}}</td>
<td style="text-align:left;">{{subItem.Address}}</td>
<td style="text-align:left;">{{subItem.Remarks}}</td>
</tr>
</tbody>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="6">旅客名单</th>
</tr>
<tr>
<th>护照号</th>
<th>性别</th>
<th>客人姓名</th>
<th>出生年月日</th>
<th>职业</th>
</tr>
<tr v-for="item in guestList">
<td>{{item.PassportNo}}</td>
<td>{{item.SexStr}}</td>
<td>{{item.userName}}</td>
<td>{{item.Birthday}}</td>
<td>{{item.Duty}}</td>
</tr>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="4">购物店</th>
</tr>
<tr>
<th>店名</th>
<th>进店时间</th>
<th>地址</th>
</tr>
<tr v-for="item in shopList">
<td>{{item.ShopName}}</td>
<td>{{item.StoreTimeStr}}</td>
<td>{{item.Address}}</td>
</tr>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="2">行程内容</th>
</tr>
<tr v-for="item in JourneyTitle">
<td width="100">第{{item.DayNum}}天</td>
<td style="text-align:left;">{{item.Title}}</td>
</tr>
</tbody>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="6">旅客名单</th>
</tr>
<tr>
<th>护照号</th>
<th>性别</th>
<th>客人姓名</th>
<th>出生年月日</th>
<th>职业</th>
</tr>
<tr v-for="item in guestList">
<td>{{item.PassportNo}}</td>
<td>{{item.SexStr}}</td>
<td>{{item.userName}}</td>
<td>{{item.Birthday}}</td>
<td>{{item.Duty}}</td>
</tr>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="4">购物店</th>
</tr>
<tr>
<th>店名</th>
<th>进店时间</th>
<th>地址</th>
</tr>
<tr v-for="item in shopList">
<td>{{item.ShopName}}</td>
<td>{{item.StoreTimeStr}}</td>
<td>{{item.Address}}</td>
</tr>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="2">行程内容</th>
</tr>
<tr v-for="item in JourneyTitle">
<td width="100">{{item.DayNum}}</td>
<td style="text-align:left;">{{item.Title}}</td>
</tr>
</table>
<table class="groundLastTable">
<tr>
<td style="vertical-align:top;">
注意事项:
</td>
<td>
<el-input v-model="PostConfig.PlanDescription" type="textarea" class="w700" :autosize="{minRows: 3, maxRows: 3 }"
resize="none" placeholder="注意事项" maxlength="300"></el-input>
<input type="button" class="normalBtn gdBtn" @click="UpdateLeaderPay" value="保存" />
<input type="button" class="normalBtn gdBtn" @click="DownLoadLeaderPay" value="下载" />
</td>
</tr>
</table>
</table>
<table class="groundLastTable">
<tr>
<td style="vertical-align:top;">
注意事项:
</td>
<td>
<el-input v-model="PostConfig.PlanDescription" type="textarea" class="w700" :autosize="{minRows: 3, maxRows: 3 }"
resize="none" placeholder="注意事项" maxlength="300"></el-input>
<input type="button" class="normalBtn gdBtn" @click="UpdateLeaderPay" value="保存" />
<input type="button" class="normalBtn gdBtn" @click="DownLoadLeaderPay" value="下载" />
</td>
</tr>
</table>
<div style="width:100%;height:100%;">
</div>
</div>
</div>
</template>
<script>
......@@ -293,12 +338,13 @@
DMCStaticsCommon: {},
//购物店
shopList: [],
isShow: false,
loading: false,
PostConfig: {
ID: 0,
TCIDs: "",
PlanDescription: ""
},
loading2:false,
};
},
methods: {
......@@ -309,10 +355,9 @@
NewCombinationNum: '',
};
//更新酒店图片
this.apipost(
"dmcstatistics_post_GetExtendLeaderAllStatics",
msg,
res => {
this.loading2=true;
this.apipost( "dmcstatistics_post_GetExtendLeaderAllStatics",msg,res => {
this.loading2=false;
if (res.data.resultCode == 1) {
this.BaseInfo = res.data.data.BaseInfo;
this.PrincipalList = res.data.data.PrincipalList;
......@@ -321,7 +366,6 @@
this.DMCStaticsCommon = res.data.data.DMCStaticsCommon;
this.shopList = res.data.data.shopList;
this.PostConfig = res.data.data.DMCStaticsCommon.LeaderApply;
this.isShow = true;
} else {
this.Error(res.data.message);
}
......@@ -371,10 +415,12 @@
uid: this.getLocalStorage().EmployeeId
};
let fileName = "导游计划表" + this.$commonUtils.getCurrentDate() + ".xls";
this.loading=true;
this.GetLocalFile("dmcstatistics_get_DwonLoadLeaderapply", msg, fileName,
res => {
this.loading=false;
});
}
}
},
mounted() {
this.TCIDs = 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