Commit 0f3653fa authored by youjie's avatar youjie

no message

parent 5de253fe
......@@ -365,11 +365,9 @@ export default {
this.$forceUpdate();
},
init() {
this.loading = true;
uni.showLoading()
this.apipost("dmcstatistics_post_GetTotalPrice_V2", this.msg, (res) => {
if (res.resultCode == 1) {
this.loading = false;
uni.hideLoading()
this.dataList = res.data.sort((a,b)=>{
return new Date(b.TeamUsePriceList[0].UseTime) - new Date(a.TeamUsePriceList[0].UseTime)
......@@ -393,14 +391,12 @@ export default {
this.newTeamUsePrice()
}
}, (failed) => {
this.loading = false;
uni.hideLoading()
uni.showToast({
title: failed.message,
icon: "none",
});
}, (error) => {
this.loading = false;
uni.hideLoading()
})
},
......
......@@ -242,19 +242,19 @@ export default {
{
name: "行程",
src: "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638868998200882976.png",
path: "",
path: "/pages/teamLeader/itineraryInformation",
id: 2,
},
{
name: "分房表",
src: "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638868998392386701.png",
path: "",
path: "/pages/teamLeader/roomAllocation",
id: 3,
},
{
name: "计划表",
src: "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638868998200482430.png",
path: "",
path: "/pages/teamLeader/schedule",
id: 4,
},
{
......@@ -266,7 +266,7 @@ export default {
{
name: "意见调查",
src: "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638868998200462985.png",
path: "",
path: "/pages/teamLeader/opinionSurvey",
id: 6,
}
],
......@@ -301,10 +301,14 @@ export default {
},
methods: {
goUrl(url){
if(url!=''){
uni.navigateTo({
url: `${url}?TCIDs=${this.msg.TCIDs}`,
})
}else{
this.showQRCode = true
}
},
close(){
this.currencyVisible = false
......
......@@ -49,7 +49,7 @@
overflow: hidden;
}
.itinInfoCarNum{
margin-top: 38rpx;
margin-top: 35rpx;
}
.itinInfoCarNum>view{
height: 57rpx;
......@@ -97,6 +97,9 @@
border-bottom: 1px dashed rgba(0, 0, 0, .1);
padding: 16rpx 0;
}
.itineraryInformationCtext view:last-child view:last-child{
border: 0
}
.itineraryInformationSCenter{
box-shadow: 0rpx 1rpx 6rpx 0rpx rgba(102,102,102,0.4);
border-radius: 10rpx;
......@@ -117,51 +120,50 @@
</style>
<template>
<view style="height: 100vh;">
<scroll-view class="itinInfoBox" scroll-y="true"
<scroll-view v-if="datas&&datas.length>0" class="itinInfoBox" scroll-y="true"
:enable-back-to-top="true" :enable-flex="true"
@scroll="scroll" style="height: 100vh;">
<view class="itinInfoHeaderBox colorFFF">
<view class="itinInfoTitle">
<headers textAlign="left" :title="pageTitle" color="#fff"></headers>
<view class="teamLeader-currency row items-center" @click="currencyVisible=true"><text>行程详情</text></view>
<view class="teamLeader-currency row items-center" @click="goUrl('/pages/teamLeader/itineraryDetails')"><text>行程详情</text></view>
</view>
<view class="itinInfoTitle fixed"
:style="{ opacity: boxOption + '%' }">
<headers textAlign="left" :title="pageTitle" color="#fff"></headers>
<view class="teamLeader-currency row items-center" @click="currencyVisible=true"><text>行程详情</text></view>
<view class="teamLeader-currency row items-center" @click="goUrl('/pages/teamLeader/itineraryDetails')"><text>行程详情</text></view>
</view>
<view class="fz28 row justify-center items-center fz28" style="color: #D5E2FF;">
<img class="MR20" style="width: 31rpx;height: 31rpx;display: inline-block;" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638874927031858279.png"/>
<img v-if="datas.length>1" class="MR20" style="width: 31rpx;height: 31rpx;display: inline-block;" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638874927031858279.png"/>
<text>团号</text>
</view>
<view class="row justify-center items-center PT20 PB10">
<text class="fz36">JVS0601OTC-CAA</text>
<view class="triangle ML10"></view>
<view class="row justify-center items-center PT20 PB10" @click="datas.length>1?optionVisible=true:''">
<text class="fz36">{{ datas[currentIndex].TCUNM }}</text>
<view class="triangle ML10" v-if="datas.length>1"></view>
</view>
<view class="itinInfoNum row justify-center fz24">
<view>7T+2S</view>
<view>中型(28席)</view>
<view>28人</view>
<view>{{ datas[currentIndex].BusType?datas[currentIndex].BusType:'暂无车型'}}{{ datas[currentIndex].BusSeatNum}}席)</view>
<view>{{ datas[currentIndex].TotalGuest}}</view>
</view>
<view class="itinInfoCarNum row fz24">
<view class="flex1 row justify-center">
<view style="color: #D5E2FF;">车配号</view>
<view class="ML25">OT</view>
<view class="ML25">{{ datas[currentIndex].BusCode?datas[currentIndex].BusCode:'无'}}</view>
</view>
<view class="flex1 row justify-center">
<view style="color: #D5E2FF;">举牌接机</view>
<view class="ML25"></view>
<view class="ML25">{{ datas[currentIndex].PickupStr?datas[currentIndex].PickupStr:'无'}}</view>
</view>
</view>
</view>
<view class="itinInfoLeader row fz24">
<view class="flex1 row justify-center">
<view>领队:</view>
<view>OT</view>
<view>{{ datas[currentIndex].LeaderName?datas[currentIndex].LeaderName:'无' }}</view>
</view>
<view class="flex1 row justify-center">
<view>导游:</view>
<view></view>
<view>{{ datas[currentIndex].GuidName?datas[currentIndex].GuidName:'无' }}</view>
</view>
</view>
<view class="row justify-center items-center">
......@@ -169,58 +171,61 @@
<text class="ML20 fz28">行程概要</text>
</view>
<view class="itineraryInformationCBox PX30">
<view class="MT30 itineraryInformationCenter">
<view class="itineraryInformationCtime PY20 text-center fz24">2025-06-25</view>
<view class="MT30 itineraryInformationCenter" v-for="(item,index) in datas[currentIndex].JourneyInfoList">
<view class="itineraryInformationCtime PY20 text-center fz24">{{item.JourneyTimeStr}}</view>
<view class="itineraryInformationCtext row">
<view class="fz24">用车情况</view>
<view class="flex1 fz28 fontWeight500">酒接</view>
<view class="flex1 fz28 fontWeight500">{{item.UseBusStr?item.UseBusStr:'无'}}</view>
</view>
<view class="itineraryInformationCtext row">
<view class="fz24">航班</view>
<view class="flex1 fz28 fontWeight500">酒接</view>
<view class="flex1 fz28 fontWeight500">{{item.FlightStr?item.FlightStr:'无'}}</view>
</view>
<view class="itineraryInformationCtext row">
<view class="fz24">行程内容</view>
<view class="flex1 fz28 fontWeight500">酒接</view>
<view class="flex1 fz28 fontWeight500">{{item.JourneyStr?item.JourneyStr:'无'}}</view>
</view>
<view class="itineraryInformationCtext row">
<view class="fz24">酒店</view>
<view class="flex1 fz28 fontWeight500">酒接</view>
<view class="flex1 fz28 fontWeight500">{{item.HotelName?item.HotelName:'无'}}</view>
</view>
<view class="itineraryInformationCtext row">
<view class="fz24">酒店联系</view>
<view class="flex1 fz28 fontWeight500">酒接</view>
<view class="flex1 fz28 fontWeight500">{{item.HotelTel?item.HotelTel:'无'}}</view>
</view>
<view class="itineraryInformationCtext row">
<view class="fz24">结算方式</view>
<view class="flex1 fz28 fontWeight500">酒接</view>
<view class="flex1 fz28 fontWeight500">{{item.HotelPayStyle?item.HotelPayStyle:'无'}}</view>
</view>
<view class="itineraryInformationCtext row">
<view class="fz24">车牌号</view>
<view class="flex1 fz28 fontWeight500">酒接</view>
<view class="flex1 fz28 fontWeight500">{{item.BusNum?item.BusNum:'无'}}</view>
</view>
<view class="itineraryInformationCtext row">
<view class="fz24">司机信息</view>
<view class="flex1 fz28 fontWeight500">酒接</view>
<view class="flex1 fz28 fontWeight500">{{item.DriverName?item.DriverName:'无'}}</view>
</view>
<view class="itineraryInformationCtext row">
<view class="fz24">司机电话</view>
<view class="flex1 fz28 fontWeight500">酒接</view>
<view class="flex1 fz28 fontWeight500">{{item.DriverTel?item.DriverTel:'无'}}</view>
</view>
<view class="itineraryInformationCtext row">
<view class="fz24">司机住宿</view>
<view class="flex1 fz28 fontWeight500">酒接</view>
<view class="flex1 fz28 fontWeight500">{{item.DriverHouse?item.DriverHouse:'无'}}</view>
</view>
<view class="itineraryInformationCtext row">
<view class="fz24">用车备注</view>
<view class="flex1 fz28 fontWeight500">酒接</view>
<view class="flex1 fz28 fontWeight500">{{item.BusRemark?item.BusRemark:'无'}}</view>
</view>
<view class="itineraryInformationCtext row">
<view class="fz24 din">餐食</view>
<view class="flex1 column fz28 fontWeight500">
<view class="flex1">酒接</view>
<view class="flex1">酒接</view>
<view class="flex1">酒接</view>
<view class="flex1" v-for="(child,index) in item.JourneyDinningInfoList">
{{child.DinningStr?`${child.DinningStr}(${child.UseDinnerTypeStr})`:'无'}}
</view>
<view class="flex1" v-if="item.JourneyDinningInfoList.length==0">
</view>
</view>
</view>
</view>
......@@ -230,39 +235,40 @@
<text class="ML20 fz28">购物店</text>
</view>
<view class="itineraryInformationCBox PX30">
<view class="MT30 PB30 itineraryInformationSCenter">
<view class="row">
<view class="fz24">2018/4/15</view>
<view class="flex1 fz28 ML30">新宿高岛屋</view>
<view v-if="datas[currentIndex].ShopList.length>0" class="MT30 PB30 itineraryInformationSCenter">
<view class="row" v-for="(item,index) in datas[currentIndex].ShopList">
<view class="fz24">{{item.PolicyAttention}}</view>
<view class="flex1 fz28 ML30 MT20">{{item.ShopName}}</view>
</view>
</view>
<view class="fz26 text-center">无购物店安排</view>
<view v-else class="fz26 text-center MT20">无购物店安排</view>
</view>
<view class="MT40 row justify-center items-center">
<img style="width: 25rpx;height: 32rpx;display: inline-block;" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638874937330393349.png"/>
<text class="ML20 fz28">集团公司总部联络方式</text>
</view>
<view class="itineraryInformationCBox PX30">
<view class="MT30 PB30 itineraryInformationSCenter">
<view class="MT30 PB30 itineraryInformationSCenter"
v-for="(item,index) in datas[currentIndex].PrincipalList">
<view class="row">
<view class="fz24">车负责人</view>
<view class="flex1 fz28 ML30">唐雪梅</view>
<view class="flex1 fz28 ML30">{{item.BConfirmName?item.BConfirmName:'无'}}{{item.BConfirmMobile!=''?`/${item.BConfirmMobile}`:''}}</view>
</view>
<view class="row">
<view class="fz24">门票负责人</view>
<view class="flex1 fz28 ML30">唐雪梅</view>
<view class="flex1 fz28 ML30">{{item.TConfirmName?item.TConfirmName:'无'}}{{item.TConfirmMobile!=''?`/${item.TConfirmMobile}`:''}}</view>
</view>
<view class="row">
<view class="fz24">机票负责人</view>
<view class="flex1 fz28 ML30">唐雪梅</view>
<view class="flex1 fz28 ML30">{{item.CreateByName?item.CreateByName:'无'}}{{item.CreateByMobile!=''?`/${item.CreateByMobile}`:''}}</view>
</view>
<view class="row">
<view class="fz24">订房负责人</view>
<view class="flex1 fz28 ML30">唐雪梅</view>
<view class="flex1 fz28 ML30">{{item.HConfirmName?item.HConfirmName:'无'}}{{item.HConfirmMobile!=''?`/${item.HConfirmMobile}`:''}}</view>
</view>
<view class="row">
<view class="fz24">订餐负责人</view>
<view class="flex1 fz28 ML30">唐雪梅</view>
<view class="flex1 fz28 ML30">{{item.DConfirmName?item.DConfirmName:'无'}}{{item.DConfirmMobile!=''?`/${item.DConfirmMobile}`:''}}</view>
</view>
</view>
</view>
......@@ -272,22 +278,29 @@
:current="currentId"
:currencyList="currencyList"
@close="close" @change="popupCurrency"></currencyBottom>
<singleChoice v-if="optionVisible"
:current="optionObj.id"
:list="optionList"
@close="close" @change="popupCurrent"></singleChoice>
</view>
</template>
<script>
import headers from "@/components/header/header";
import currencyBottom from "./components/currencyBottom";
import singleChoice from "./components/singleChoice";
export default {
components: {
headers,
currencyBottom,
singleChoice
},
data() {
return {
pageTitle: '行程信息',
boxOption: 0,
currencyVisible: false,
currencyList: [],
tcunmList: [],
currentId: 0,
currentIndex: 0,
downImg:[
......@@ -299,11 +312,21 @@ export default {
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638874829612454395.png',
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638874829612434651.png',
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638874829685012792.png'
]
],
msg:{
TCIDs: '',// 领队id
},
datas: [],
optionVisible: false,
optionList: [],
optionObj:{},
}
},
onLoad(option){
if(option.TCIDs){
this.msg.TCIDs = option.TCIDs
this.init()
}
},
created() {
......@@ -312,6 +335,12 @@ export default {
},
methods: {
goUrl(url){
uni.navigateTo({
url: `${url}?TCIDs=${this.msg.TCIDs}`,
})
},
popupCurrency(value){
this.currencyVisible = false
this.currentId = value
......@@ -321,6 +350,40 @@ export default {
this.boxOption = Math.floor((e.detail.scrollTop - 100) / 1.5);
this.$forceUpdate();
},
close(){
this.optionVisible = false
},
popupCurrent(value){
this.optionVisible = false
let findIndex = this.optionList.findIndex(x=>x.id==value)
this.currentIndex = findIndex
},
init() {
uni.showLoading()
this.apipost("dmcstatistics_post_GetTravelAllInfo", this.msg, (res) => {
if (res.resultCode == 1) {
uni.hideLoading()
this.datas = res.data
res.data.forEach(x => {
this.tcunmList.push({
name: x.TCUNM,
id: x.TCUNM
})
});
this.optionList = this.tcunmList
this.optionObj = this.optionList[0]
}
}, (failed) => {
uni.hideLoading()
uni.showToast({
title: failed.message,
icon: "none",
});
}, (error) => {
this.loading = false;
uni.hideLoading()
})
},
},
}
</script>
\ No newline at end of file
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