Commit d8ca4625 authored by youjie's avatar youjie

no message

parent 2c1b2b8a
......@@ -135,7 +135,7 @@
</view>
<view v-if="params.type==1" class="headeDatasCenterBox car" stripe>
<view class="headeDatasCenter row">
<view></view>
<view></view>
<view class="flex1">{{ datas.BusCode?datas.BusCode:'暂无' }}</view>
</view>
<view class="headeDatasCenter row">
......
......@@ -17,53 +17,59 @@
padding: 3rpx 0;
border-bottom: 0;
}
.richText{
white-space: pre-wrap;
}
</style>
<template>
<view class="PX20 PT40">
<view class="infor1-title fz28 PB20">部门负责人</view>
<view class="infor1-box PX30 bjFFF fz28 color333">
<view class="row">
<view class="infor1-box PX30 bjFFF fz28 color333 MB20" v-for="(item,index) in data.PrincipalList">
<view class="row items-center">
<view class="MR40">机票</view>
<view class="flex1">周月</view>
<view class="flex1">
<view v-for="child in item.CreateByNameList">
{{ child.name }}{{child.tel!=''?`/${child.tel}`:''}}
</view>
</view>
</view>
<view class="row">
<view class="row items-center">
<view class="MR40">订房</view>
<view class="flex1">周月</view>
<view class="flex1">
<view v-for="child in item.HConfirmNameList">
{{ child.name }}{{child.tel!=''?`/${child.tel}`:''}}
</view>
</view>
</view>
<view class="row">
<view class="row items-center">
<view class="MR40">车辆</view>
<view class="flex1">周月</view>
<view class="flex1">
<view v-for="child in item.BConfirmNameList">
{{ child.name }}{{child.tel!=''?`/${child.tel}`:''}}
</view>
</view>
</view>
<view class="row">
<view class="row items-center">
<view class="MR40">订餐</view>
<view class="flex1">周月</view>
<view class="flex1">
<view v-for="child in item.DConfirmNameList">
{{ child.name }}{{child.tel!=''?`/${child.tel}`:''}}
</view>
</view>
</view>
<view class="row">
<view class="row items-center">
<view class="MR40">门票</view>
<view class="flex1">周月</view>
<view class="flex1">
<view v-for="child in item.TConfirmNameList">
{{ child.name }}{{child.tel!=''?`/${child.tel}`:''}}
</view>
</view>
</view>
</view>
<view class="infor1-title fz28 PY20">注意事项</view>
<view class="infor1-box infor1-boxWin PX30 PY30 bjFFF fz28 color333">
<view class="row">
<view class="MR10">不要签证</view>
<view class="flex1">姓名:</view>
</view>
<view class="row">
<view class="MR10">不占床</view>
<view class="flex1">姓名:</view>
</view>
<view class="row">
<view class="MR10">单地接</view>
<view class="flex1">姓名:</view>
</view>
<view class="row">
<view class="MR10">单机票</view>
<view class="flex1">姓名:</view>
</view>
<view class="infor1-box infor1-boxWin PX30 PY30 bjFFF fz28 color333" v-if="data&&data.DMCStaticsCommon&&data.DMCStaticsCommon.LeaderApply.PlanDescription">
<view class="row">
<view class="MR10">不去景点</view>
<view class="flex1">姓名:</view>
<rich-text :nodes="data.DMCStaticsCommon.LeaderApply.PlanDescription" class="richText"></rich-text>
</view>
</view>
<view style="height: 50rpx;"></view>
......@@ -83,7 +89,7 @@ export default {
},
deep:true,
immediate:false
immediate:true
},
},
mounted() {
......
......@@ -17,23 +17,25 @@
<template>
<view class="PX20 PT40">
<view>
<view class="infor2-box PX30 bjFFF MB20">
<view class="infor2-box PX30 bjFFF MB40"
v-for="(child,c) in data.FlightList">
<view class="infor2-line PY20 row justify-between items-center">
<view>
<view class="fz32 color000">09:00</view>
<view class="fz20 color666 MT10">双流国际机场/CTU</view>
<view class="fz32 color000">{{ child.Departure_time }}</view>
<view class="fz20 color666 MT10">{{ child.dName }}</view>
</view>
<img src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638875792006204423.png"/>
<view class="text-right">
<view class="fz32 color000">09:00</view>
<view class="fz20 color666 MT10">双流国际机场/CTU</view>
<view class="fz32 color000">{{ child.Arrival_time }}</view>
<view class="fz20 color666 MT10">{{ child.aName }}</view>
</view>
</view>
<view class="PY20 fz24 color333 row justify-between">
<view>航班号:NH948</view>
<view>出发时间:2019-04-16</view>
<view>航班号:{{ child.Flight_number }}</view>
<view>出发时间:{{ child.FlightDate }}</view>
</view>
</view>
</view>
<view style="height: 50rpx;"></view>
</view>
......
......@@ -20,30 +20,31 @@
</style>
<template>
<view class="PX20 PT40">
<view class="infor1-box PX30 bjFFF fz28 color333">
<view class="infor1-box PX30 bjFFF fz28 color333 MB20"
v-for="(item,index) in data.BusList">
<view class="row justify-between">
<view class="MR40">车配号</view>
<view class="">周月</view>
</view>
<view class="row justify-between">
<view class="MR40">车辆公司</view>
<view class="">周月</view>
<view class="MR40">用车类型</view>
<view class="">{{ item.AirportPickUpStr?item.AirportPickUpStr:item.UseTypeStr }}</view>
</view>
<view class="row justify-between">
<view class="MR40">用车时间</view>
<view class="">周月</view>
<view class="">{{ item.PlanDateStr?item.PlanDateStr:'' }}</view>
</view>
<view class="row justify-between">
<view class="MR40">车牌号</view>
<view class="">周月</view>
<view class="">{{ item.BusCode?item.BusCode:'' }}</view>
</view>
<view class="row justify-between">
<view class="MR40">司机姓名</view>
<view class="">周月</view>
<view class="">{{ item.DriverName?item.DriverName:'' }}</view>
</view>
<view class="row justify-between">
<view class="MR40">司机电话</view>
<view class="">周月</view>
<view class="">{{ item.DriverTel?item.DriverTel:'' }}</view>
</view>
<view class="row justify-between">
<view class="MR40">司机住宿</view>
<view class="">{{ item.AccommodationTypeStr?item.AccommodationTypeStr:'' }}</view>
</view>
</view>
<view style="height: 50rpx;"></view>
......
......@@ -11,10 +11,8 @@
padding: 20rpx 0;
border-bottom: 1px solid #ddd;
}
.infor1-center>view:first-child{
width: 100rpx;
flex-shrink: 0;
margin-right: 20rpx;
.infor1-center>view view:first-child{
width: 180rpx;
}
.infor1-center>view:last-child{
border-bottom: 0;
......@@ -29,43 +27,44 @@
}
</style>
<template>
<view class="PX20 PT40">
<view class="infor1-box MB20 bjFFF fz28 color333">
<view class="PX20 PT40" v-if="data&&data.HotelList">
<view class="infor1-box MB20 bjFFF fz28 color333"
v-for="(item,index) in data.HotelList">
<view class="infor1-header PY30 colorFFF">
<view class="fz32 PX30">水口世纪酒店</view>
<view class="fz32 PX30">{{ item.HotelName }}</view>
<view class="row items-center MT10 PX30">
<view class="row">
<img class="" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638875688769461022.png" />
<img style="width: 31rpx;height: 33rpx;" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638877448252171613.png" />
</view>
<text class="ML20 fz28 flex1">水口町名坂170-1</text>
<text class="ML20 fz28 flex1">{{ item.Address }}</text>
</view>
</view>
<view class="infor1-center PX30">
<view class="row justify-between">
<view class="MR40">订房号</view>
<view class="">周月</view>
</view>
<view class="row justify-between">
<view class="MR40">入住时间</view>
<view class="">周月</view>
</view>
<view class="row justify-between">
<view class="MR40">占床/不占床</view>
<view class="">周月</view>
</view>
<view class="row justify-between">
<view class="MR40">实际用房</view>
<view class="">周月</view>
</view>
<view class="row justify-between">
<view class="MR40">联系电话</view>
<view class="">周月</view>
</view>
<view class="row justify-between">
<view class="MR40">备注</view>
<view class="flex1">周月</view>
</view>
</view>
<view class="infor1-center PX30">
<view class="row justify-between">
<view class="MR40">订房号</view>
<view class="">{{ item.ReserveNo }}</view>
</view>
<view class="row justify-between">
<view class="MR40">入住时间</view>
<view class="">{{ item.StartDate.substr(0,10) }}</view>
</view>
<view class="row justify-between">
<view class="MR40">占床/不占床</view>
<view class="">{{ data.HouseStatistics.NeedBed }}/{{ data.HouseStatistics.NoNeedBed }}</view>
</view>
<view class="row justify-between">
<view class="MR40">实际用房</view>
<view class="">{{ data.HouseStatistics.RealityRoomNum }}</view>
</view>
<view class="row justify-between">
<view class="MR40">联系电话</view>
<view class="">{{ item.Tel }}</view>
</view>
<view class="row justify-between">
<view class="MR40 flexS">备注</view>
<view class="">{{ item.Remarks }}</view>
</view>
</view>
</view>
<view style="height: 50rpx;"></view>
</view>
......
......@@ -11,10 +11,8 @@
padding: 20rpx 0;
border-bottom: 1px solid #ddd;
}
.infor1-center>view:first-child{
width: 100rpx;
flex-shrink: 0;
margin-right: 20rpx;
.infor1-center>view view:first-child{
width: 120rpx;
}
.infor1-center>view:last-child{
border-bottom: 0;
......@@ -29,44 +27,49 @@
}
</style>
<template>
<view class="PX20 PT40">
<view class="infor1-box MB20 bjFFF fz28 color333">
<view class="infor1-header PY30 colorFFF">
<view class="fz32 PX30">水口世纪酒店</view>
<view class="row items-center MT10 PX30">
<view class="row">
<img class="" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638875688769461022.png" />
<view class="PX20 PT40" v-if="data&&data.DiningList">
<template v-for="(item,index) in data.DiningList">
<view class="infor1-box MB20 bjFFF fz28 color333"
v-for="(child,c) in item.DiningSummaryList">
<view class="infor1-header PY30 colorFFF">
<view class="fz32 PX30">{{ child.DiningName }}</view>
<view class="row items-center MT10 PX30">
<view class="row">
<img style="width: 31rpx;height: 33rpx;" class="" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638877448252171613.png" />
</view>
<text class="ML20 fz28 flex1">{{ child.Address }}</text>
</view>
<text class="ML20 fz28 flex1">水口町名坂170-1</text>
</view>
<view class="infor1-center PX30">
<view class="row justify-between">
<view class="MR40">订餐号</view>
<view class="">{{ child.ReserveNo }}</view>
</view>
<view class="row justify-between">
<view class="MR40">用餐时间</view>
<view class="">{{ child.UseTimeStr }}</view>
</view>
<view class="row justify-between">
<view class="MR40">总人数</view>
<view class="">
{{ totalPeop(child.DiningPriceList) }}+1
</view>
</view>
<view class="row justify-between">
<view class="MR40">类别</view>
<view class="">{{ child.UseDinnerTypeStr }}</view>
</view>
<view class="row justify-between">
<view class="MR40">联系电话</view>
<view class="">{{ child.Tel }}</view>
</view>
<view class="row justify-between">
<view class="MR40 flexS">备注</view>
<view class="">{{ child.Remarks }}</view>
</view>
</view>
<view class="infor1-center PX30">
<view class="row justify-between">
<view class="MR40">订餐号</view>
<view class="">周月</view>
</view>
<view class="row justify-between">
<view class="MR40">用餐时间</view>
<view class="">周月</view>
</view>
<view class="row justify-between">
<view class="MR40">总人数</view>
<view class="">周月</view>
</view>
<view class="row justify-between">
<view class="MR40">类别</view>
<view class="">周月</view>
</view>
<view class="row justify-between">
<view class="MR40">联系电话</view>
<view class="">周月</view>
</view>
<view class="row justify-between">
<view class="MR40">备注</view>
<view class="flex1">周月</view>
</view>
</view>
</view>
</view>
</template>
<view style="height: 50rpx;"></view>
</view>
</template>
......@@ -91,7 +94,13 @@ export default {
},
methods:{
totalPeop(list){
let UsePeopleNum = 0
list.forEach(item => {
UsePeopleNum += item.UsePeopleNum;
})
return UsePeopleNum
}
}
}
</script>
\ No newline at end of file
......@@ -11,10 +11,8 @@
padding: 20rpx 0;
border-bottom: 1px solid #ddd;
}
.infor1-center>view:first-child{
width: 100rpx;
flex-shrink: 0;
margin-right: 20rpx;
.infor1-center>view view:first-child{
width: 120rpx;
}
.infor1-center>view:last-child{
border-bottom: 0;
......@@ -30,35 +28,38 @@
</style>
<template>
<view class="PX20 PT40">
<view class="infor1-box MB20 bjFFF fz28 color333">
<view class="infor1-header PY30 colorFFF">
<view class="fz32 PX30">水口世纪酒店</view>
<view class="row items-center MT10 PX30">
<view class="row">
<img class="" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638875688769461022.png" />
<template v-for="(item,index) in data.ScenicList">
<view class="infor1-box MB20 bjFFF fz28 color333"
v-for="(child,c) in item.ScenicStatisticsList">
<view class="infor1-header PY30 colorFFF">
<view class="fz32 PX30">{{ child.ScenicName }}</view>
<view class="row items-center MT10 PX30">
<view class="row">
<img style="width: 31rpx;height: 33rpx;" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638877448252171613.png" />
</view>
<text class="ML20 fz28 flex1">{{ child.Address }}</text>
</view>
<text class="ML20 fz28 flex1">水口町名坂170-1</text>
</view>
<view class="infor1-center PX30">
<view class="row justify-between">
<view class="MR40">游览时间</view>
<view class="">{{ child.UseTimeStr }}</view>
</view>
<view class="row justify-between">
<view class="MR40">总人数</view>
<view class="">{{ totalPeop(child.TicketPriceList) }}</view>
</view>
<view class="row justify-between">
<view class="MR40">联系电话</view>
<view class="">{{ child.Tel }}</view>
</view>
<view class="row justify-between">
<view class="MR40 flexS">备注</view>
<view class="">{{ child.Remarks }}</view>
</view>
</view>
<view class="infor1-center PX30">
<view class="row justify-between">
<view class="MR40">游览时间</view>
<view class="">周月</view>
</view>
<view class="row justify-between">
<view class="MR40">总人数</view>
<view class="">周月</view>
</view>
<view class="row justify-between">
<view class="MR40">联系电话</view>
<view class="">周月</view>
</view>
<view class="row justify-between">
<view class="MR40">备注</view>
<view class="flex1">周月</view>
</view>
</view>
</view>
</view>
</template>
<view style="height: 50rpx;"></view>
</view>
</template>
......@@ -83,7 +84,13 @@ export default {
},
methods:{
totalPeop(list){
let UsePeopleNum = 0
list.forEach(item => {
UsePeopleNum += item.UsePeopleNum;
})
return UsePeopleNum
}
}
}
</script>
\ No newline at end of file
......@@ -24,19 +24,20 @@
</style>
<template>
<view class="PX20 PT40">
<view class="infor1-box MB20 bjFFF fz28 color333">
<view class="infor1-box MB20 bjFFF fz28 color333"
v-for="(item,index) in data">
<view class="infor1-header PY30 colorFFF">
<view class="fz32 PX30">水口世纪酒店</view>
<view class="fz32 PX30">{{ item.ShopName }}</view>
<view class="row items-center MT10 PX30">
<view class="row">
<img class="" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638875688769461022.png" />
<img style="width: 31rpx;height: 33rpx;" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638877448252171613.png" />
</view>
<text class="ML20 fz28 flex1">水口町名坂170-1</text>
<text class="ML20 fz28 flex1">{{ item.Address }}</text>
</view>
</view>
<view class="infor1-center PX30 PY20 row justify-between">
<view class="MR40">进店时间</view>
<view class="">周月</view>
<view class="">{{ item.StoreTimeStr }}</view>
</view>
</view>
<view style="height: 50rpx;"></view>
......
......@@ -12,6 +12,9 @@
margin-left: 30rpx;
margin-right: 30rpx;
}
.infor1-center:last-child{
border: 0;
}
.infor1-c-name{
width: 80rpx;
}
......@@ -24,23 +27,28 @@
height: 33rpx;
display: block;
}
.infor1-left{
width: 120rpx;
}
</style>
<template>
<view class="PT40">
<view class="">
<view class="infor1-box MB20 bjFFF fz28 color333">
<view class="infor1-center PY20 row items-center justify-between">
<view class="infor1-center PY20 row items-center justify-between"
v-for="(item,index) in data">
<view class="row items-center">
<view class="infor1-c-name fz32">姓名</view>
<view class="infor1-c-name fz32 infor1-left">{{ item.userName }}</view>
<view class="imgbox">
<img src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638875723517488195.png" />
<img v-if="item.SexStr=='女'" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638875723517488195.png" />
<img v-else src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638875723461863180.png" />
</view>
<view class="time fz28">2025-06-10</view>
<view class="tisp fz28 ML20">退休人员</view>
<view class="time fz28">{{ item.Birthday }}</view>
<!-- <view class="tisp fz28 ML20"></view> -->
</view>
<view>ED1281216</view>
<view>{{ item.PassportNo }}</view>
</view>
</view>
<view style="height: 50rpx;"></view>
<view style="height: 0rpx;"></view>
</view>
</template>
<script>
......
......@@ -35,16 +35,16 @@
<view class="PX20 PT40">
<view class="infor1-box PX30 MB20 bjFFF fz30">
<view class="infor1-center row"
v-for="item in 5">
v-for="item in data">
<view class="infor1-c-l PY30 row">
<view class="row items-center justify-center">
<img class="" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638869669341003114.png" />
</view>
</view>
<view class="infor1-c-r PY30 colorFFF flex1">
<view class="day fz32 PX30">Day01</view>
<view class="day fz32 PX30">Day{{ item.DayNum>9?item.DayNum:'0'+item.DayNum }}</view>
<view class="color333 text row items-center MT10 PX30">
枯山水景致·大池禅寺,枯山水景致·大池禅寺(包含:茶道体验),骏河湾游船.喂海鸥.远眺富士山美景,富士山芝樱名所
{{ item.Title }}
</view>
</view>
</view>
......
......@@ -319,11 +319,9 @@ export default {
this.currentIndex = this.dataList.findIndex(item=>item.CurrencyId==value)
},
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;
this.currentId = res.data[0].CurrencyId
......@@ -336,14 +334,12 @@ export default {
}
}
}, (failed) => {
this.loading = false;
uni.hideLoading()
uni.showToast({
title: failed.message,
icon: "none",
});
}, (error) => {
this.loading = false;
uni.hideLoading()
})
},
......
......@@ -483,6 +483,7 @@ export default {
showMaiDian: false,
showHangBan: false,
d: [],
Up: {},
}
},
computed: {
......@@ -499,6 +500,9 @@ export default {
if(options.TCID){
this.msg.tcid = options.TCID
}
this.Up = uni.getStorageSync("mall_UserInfo") ?
uni.getStorageSync("mall_UserInfo").UserPageType :
0;
},
onShow() {
let that = this;
......@@ -580,7 +584,6 @@ export default {
res.data.tempImgCover = JSON.parse(res.data.imgCover);
this.dataList = res.data
this.priceList = res.data.priceList
console.log(this.dataList,'-------')
this.formatDay()
setTimeout(() => {
this.titlesList.forEach((x,index) => {
......@@ -720,9 +723,9 @@ export default {
this.Up +
"&JumpType=19" +
"&configId=" +
this.delMsg.configId +
this.msg.configId +
"&cityId=" +
this.delMsg.cityId+this.$uiConfig.DIRECT_PARAMETER,
this.msg.cityId+this.$uiConfig.DIRECT_PARAMETER,
imageUrl: imageUrl,
};
},
......@@ -742,7 +745,7 @@ export default {
return {
title: this.dataList.title ? this.dataList.title : "帖子",
path: "/pages/jiuzhai/jz_LineDetail?tcid=" +
this.delMsg.tcid +
this.msg.tcid +
"&user_id=" +
uid +
"&SmallShopId=" +
......@@ -751,9 +754,9 @@ export default {
this.Up +
"&JumpType=19" +
"&configId=" +
this.delMsg.configId +
this.msg.configId +
"&cityId=" +
this.delMsg.cityId+this.$uiConfig.DIRECT_PARAMETER,
this.msg.cityId+this.$uiConfig.DIRECT_PARAMETER,
imageUrl: "",
// imageUrl:
// this.dataList.tempImgCover && this.dataList.tempImgCover.length > 0
......
......@@ -147,7 +147,7 @@
</view>
<view class="itinInfoCarNum row fz24">
<view class="flex1 row justify-center">
<view style="color: #D5E2FF;"></view>
<view style="color: #D5E2FF;"></view>
<view class="ML25">{{ datas[currentIndex].BusCode?datas[currentIndex].BusCode:'无'}}</view>
</view>
<view class="flex1 row justify-center">
......
......@@ -62,6 +62,7 @@
height: 65rpx;
background: #fff;
border-radius: 50%;
overflow: hidden;
}
.schedule-title{
word-break: break-all;
......@@ -71,6 +72,13 @@
-webkit-line-clamp: 2;
overflow: hidden;
}
.triangle {
width: 0;
height: 0;
border-left: 8rpx solid transparent;
border-right: 8rpx solid transparent;
border-top: 8rpx solid #fff;
}
</style>
<template>
<view style="height: 100vh;">
......@@ -80,43 +88,47 @@
<view class="scheduleHeaderBox">
<view class="scheduleTitle">
<headers textAlign="left" :title="pageTitle" color="#fff"></headers>
<view class="row justify-center items-center colorFFF"
@click="BaseInfo.length>1?optionVisible=true:''">
<text class="fz36">{{ BaseInfo[currentIndex].TCNUMS }}</text>
<view class="triangle ML10" v-if="BaseInfo.length>1"></view>
</view>
<view class="PX40 PY20">
<view class="column" style="border-radius: 8rpx;overflow: hidden;">
<view class="colorFFF relative column"
style="height: 386rpx;background-size: 100% 100%;"
:style="{'background': '',}">
style="height: 386rpx;background:url('https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638868977886703780.png') no-repeat;background-size: 100% 100%;">
<img class="absolute" style="width: 100%;height: 386rpx;" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638875686175608095.png"/>
<view class="absolute column" style="left: 0;right: 0;top: 0;bottom: 0;z-index: 2;">
<view class="row items-center PX30 PT30">
<view class="row items-center">
<view class="schedule-Touxiang">
<img style="width: 65rpx;height: 65rpx;display: inline-block;"/>
<img src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638748795455095258.png" style="width: 65rpx;height: 65rpx;display: inline-block;"/>
</view>
<view class="schedule-name ML20">
<view class="fz28">名字</view>
<view class="fz28">{{ BaseInfo&&BaseInfo[currentIndex].LeaderName?BaseInfo[currentIndex].LeaderName:'' }}</view>
<view class="fz24">(领队)</view>
</view>
</view>
<view class="row items-center ML50">
<view class="schedule-Touxiang">
<img style="width: 65rpx;height: 65rpx;display: inline-block;"/>
<img src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638748795455095258.png" style="width: 65rpx;height: 65rpx;display: inline-block;"/>
</view>
<view class="schedule-name ML20">
<view class="fz28">名字</view>
<view class="fz28">{{ BaseInfo&&BaseInfo[currentIndex].GuideName?BaseInfo[currentIndex].GuideName:'' }}</view>
<view class="fz24">(导游)</view>
</view>
</view>
</view>
<view class="flex1"></view>
<view class="schedule-title fz28 MB30 PX30">产品名字</view>
<view class="schedule-title fz28 MB30 PX30">{{ BaseInfo&&BaseInfo[currentIndex].Titles?BaseInfo[currentIndex].Titles:'' }}</view>
<view class="row PX30 justify-between items-center fz24 PB20">
<view class="row items-center">
<img style="width: 24rpx;height: 32rpx;display: inline-block;" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638875688769461022.png"/>
<text class="ML20">成都MU</text>
<text class="ML20">{{ BaseInfo&&BaseInfo[currentIndex].StartCityNames?BaseInfo[currentIndex].StartCityNames:'' }}</text>
</view>
<view class="row items-center">
<img style="width: 22rpx;height: 32rpx;display: inline-block;" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638875688811834355.png"/>
<text class="ML20">20+1</text>
<text class="ML20">{{ BaseInfo&&BaseInfo[currentIndex].TotalSeat?BaseInfo[currentIndex].TotalSeat:'' }}</text>
</view>
</view>
</view>
......@@ -124,15 +136,15 @@
<view class="bgFFF PA30">
<view class="PB20 row justify-between items-center">
<view class="color666">集合时间</view>
<view class="color333">05-01 06:30</view>
<view class="color333">{{ BaseInfo&&BaseInfo[currentIndex].GatherTime?BaseInfo[currentIndex].GatherTime:'' }}</view>
</view>
<view class="PB20 row justify-between items-center">
<view class="color666">出发时间</view>
<view class="color333">05-01 06:30</view>
<view class="color333">{{ BaseInfo&&BaseInfo[currentIndex].FlightList?BaseInfo[currentIndex].FlightList[0].Departure_time:'' }}</view>
</view>
<view class="row justify-between items-center">
<view class="color666">进出点</view>
<view class="color333">05-01 06:30</view>
<view class="color333">{{ BaseInfo&&BaseInfo[currentIndex].InOut?BaseInfo[currentIndex].InOut:'' }}</view>
</view>
</view>
</view>
......@@ -155,8 +167,12 @@
<view class="scheduleTitle fixed"
:style="{ opacity: boxOption + '%' }">
<headers textAlign="left" :title="pageTitle" color="#fff"></headers>
<view class="row justify-center items-center colorFFF"
@click="BaseInfo.length>1?optionVisible=true:''">
<text class="fz36">{{ BaseInfo[currentIndex].TCNUMS }}</text>
<view class="triangle ML10" v-if="BaseInfo.length>1"></view>
</view>
<scroll-view class="scheduleTsBox" :scroll-x="true"
:style="[titleStyle]"
:scroll-left="scrollLeft"
@scroll="scrollHandler">
<view class="scheduleT-text row-aic-n">
......@@ -172,20 +188,25 @@
</scroll-view>
</view>
</view>
<infor1 v-if="params.type==1"></infor1>
<infor2 v-if="params.type==2"></infor2>
<infor3 v-if="params.type==3"></infor3>
<infor4 v-if="params.type==4"></infor4>
<infor5 v-if="params.type==5"></infor5>
<infor6 v-if="params.type==6"></infor6>
<infor7 v-if="params.type==7"></infor7>
<infor8 v-if="params.type==8"></infor8>
<infor9 v-if="params.type==9"></infor9>
<infor1 v-if="params.type==1" :data="inforData1"></infor1>
<infor2 v-if="params.type==2" :data="BaseInfo[currentIndex]"></infor2>
<infor3 v-if="params.type==3" :data="BaseInfo[currentIndex].CommonReport"></infor3>
<infor4 v-if="params.type==4" :data="BaseInfo[currentIndex].CommonReport"></infor4>
<infor5 v-if="params.type==5" :data="BaseInfo[currentIndex].CommonReport"></infor5>
<infor6 v-if="params.type==6" :data="BaseInfo[currentIndex].CommonReport"></infor6>
<infor7 v-if="params.type==7" :data="shopList"></infor7>
<infor8 v-if="params.type==8" :data="guestList"></infor8>
<infor9 v-if="params.type==9" :data="JourneyTitle"></infor9>
</scroll-view>
<singleChoice v-if="optionVisible"
:current="optionObj.id"
:list="optionList"
@close="close" @change="popupCurrent"></singleChoice>
</view>
</template>
<script>
import headers from "@/components/header/header";
import singleChoice from "./components/singleChoice";
import infor1 from "./components/schedule/infor1";
import infor2 from "./components/schedule/infor2";
import infor3 from "./components/schedule/infor3";
......@@ -198,6 +219,7 @@ import infor9 from "./components/schedule/infor9";
export default {
components: {
headers,
singleChoice,
infor1,
infor2,
infor3,
......@@ -257,45 +279,39 @@ export default {
id: 9,
},
],
currencyVisible: false,
oldDataIndex: 1,
loading: false,
msg:{
TCIDs: ''
TCIDs: '',
NewCombinationNum: ''
},
datas: {},
params:{
type: 9
type: 1
},
busTypeList:[],
hotelTypeList:[],
diningTypeList:[],
scenicTypeList:[],
otherTypeList:[
{
name:'导游津贴',
id: 1,
},
{
name:'司机津贴',
id: 2,
},
{
name:'其他支出',
id: 0,
},
],
scrollLeft: 0,
currencyList: [],
shopTypeList: [],
BaseInfo:[],
DMCStaticsCommon:{},
JourneyTitle: [],
PrincipalList: [],
guestList: [],
shopList: [],
inforData1:{
PrincipalList: [],
DMCStaticsCommon: {}
},
datas: {},
currentIndex: 0,
optionVisible: false,
optionObj:{},
optionList: [],
}
},
onLoad(option){
if(option.TCIDs){
this.msg.TCIDs = option.TCIDs
this.init()
}
this.b2b_user_info = uni.getStorageSync('b2b_user')
// this.init()
},
created() {
this.contentHeight = this.$utils.calcContentHeight(-40) + "px";
......@@ -310,70 +326,98 @@ export default {
};
},
});
// this.getOptionData()
// this.getCurrencyList()
},
methods: {
saveData(){
if(this.loading) return
this.loading = true
uni.showLoading()
this.apipost("dmcstatistics_post_SetNewLeaderApplyList_V2", this.params, (res) => {
if(res.resultCode == 1) {
this.loading = false
uni.hideLoading()
this.init()
}
}, (failed) => {
this.loading = false
uni.showToast({
title: failed.message,
icon: "none",
});
}, (error) => {
this.loading = false
})
close(){
this.optionVisible = false
},
getNewData(params){
this.params = JSON.parse(JSON.stringify(params))
popupCurrent(value){
this.optionVisible = false
let findIndex = this.optionList.findIndex(x=>x.id==value)
this.currentIndex = findIndex
this.optionObj = this.optionList[findIndex]
},
getType(item){
this.params.type = item.id
this.oldDataIndex = item.id
},
init() {
uni.showLoading()
this.apipost("dmcstatistics_post_GetNewLeaderPayMoneyStatics", this.msg, (res) => {
this.apipost("dmcstatistics_post_GetExtendLeaderAllStatics", this.msg, (res) => {
if (res.resultCode == 1) {
this.params = res.data;
for(let i=1;i<5;i++){
this.$set(this.params, `dataIndex${i}`, 0);
}
this.$set(this.params, `type`, this.oldDataIndex);
for(let i=0;i<this.params.ScenicList.length;i++){
this.$set(this.params.ScenicList[i], `TotalMoney`, 0);
this.$set(this.params.ScenicList[i], `scenicIndex`, 0);
}
for(let i=0;i<this.params.DiningList.length;i++){
this.$set(this.params.DiningList[i], `TotalMoney`, 0);
this.$set(this.params.DiningList[i], `diningIndex`, 0);
this.datas = res.data;
this.BaseInfo = res.data.BaseInfo
this.DMCStaticsCommon = res.data.DMCStaticsCommon
this.JourneyTitle = res.data.JourneyTitle
this.PrincipalList = res.data.PrincipalList
this.guestList = res.data.guestList
this.shopList = res.data.shopList
this.optionList = []
this.BaseInfo.forEach((x,index) => {
this.optionList.push({
name: x.TCNUMS,
id: index+1
})
});
this.optionObj = this.optionList[0]
this.inforData1 = {
PrincipalList: [JSON.parse(JSON.stringify(this.PrincipalList[0]))],
DMCStaticsCommon: this.DMCStaticsCommon
}
for(let i=0;i<this.params.HotelOrderListReport.length;i++){
this.$set(this.params.HotelOrderListReport[i], `TotalMoney`, 0);
this.$set(this.params.HotelOrderListReport[i], `hotelIndex`, 0);
let arrList = function(list){
list.forEach(x=>{
x.CreateByNameList=[]
x.HConfirmNameList=[]
x.BConfirmNameList=[]
x.DConfirmNameList=[]
x.TConfirmNameList=[]
})
}
if(res.data.CountryIds) this.getShoppingType(res.data.CountryIds)
// console.log(this.params.HotelOrderListReport,'-----酒店')
// console.log(this.params.BusList,'-----车信息')
// console.log(this.params.ScenicList,'-----景点')
// console.log(this.params.DiningList,'-----餐厅')
// console.log(this.params.LeaderShopList ,'-----购物店信息')
// console.log(this.params.LeaderApply ,'-----领队用款申请信息')
// console.log(this.params.OtherOrderInfo,'-----其他信息')
setTimeout(()=>{
uni.hideLoading()
},1000)
arrList(this.inforData1.PrincipalList)
this.PrincipalList.forEach((item,index)=> {
if(index){
let data = this.inforData1.PrincipalList[0]
data.CreateByNameList = [{
name:data.CreateByName,
tel:data.CreateByMobile
},{
name:item.CreateByName,
tel:item.CreateByMobile
}]
data.HConfirmNameList = [{
name:data.HConfirmName,
tel:data.HConfirmMobile
},{
name:item.HConfirmName,
tel:item.HConfirmMobile
}]
data.BConfirmNameList = [{
name:data.BConfirmName,
tel:data.BConfirmMobile
},{
name:item.BConfirmName,
tel:item.BConfirmMobile
}]
data.DConfirmNameList = [{
name:data.DConfirmName,
tel:data.DConfirmMobile
},{
name:item.DConfirmName,
tel:item.DConfirmMobile
}]
data.TConfirmNameList = [{
name:data.TConfirmName,
tel:data.TConfirmMobile
},{
name:item.TConfirmName,
tel:item.TConfirmMobile
}]
}
})
uni.hideLoading()
}
}, (failed) => {
uni.hideLoading()
......@@ -385,21 +429,6 @@ export default {
uni.hideLoading()
})
},
getShoppingType(id){
this.apipost("Shopping_Post_GetList", {
QCountry: id
}, (res) => {
if (res.resultCode == 1) {
this.shopTypeList = []
res.data.forEach(x=>{
this.shopTypeList.push({
id: x.ID,
name: x.Name,
})
})
}
})
},
scrollHandler(e){
// console.log(e.detail.scrollLeft,'-----------')
// this.scrollLeft = e.detail.scrollLeft
......@@ -408,7 +437,7 @@ export default {
this.old.scrollTop = e.detail.scrollTop
this.boxOption = Math.floor((e.detail.scrollTop - 100) / 1.5);
this.titleStyle.opacity =
e.detail.scrollTop - 200 < 0 ?
e.detail.scrollTop - 100 < 0 ?
0 :
Math.floor(e.detail.scrollTop - 100) / 100 > 1 ?
1 :
......@@ -416,51 +445,6 @@ export default {
this.$forceUpdate();
},
getOptionData(){
this.apipost("dmcstatistics_post_GetReimburseTypeList", {
Type: ''
}, (res) => {
if (res.resultCode == 1) {
res.data.forEach(x => {
x.name = x.TypeName
x.id = x.ID
});
this.busTypeList = res.data.filter(x=>{return x.UserTypeId==4})
this.hotelTypeList = res.data.filter(x=>{return x.UserTypeId==1})
this.diningTypeList = res.data.filter(x=>{return x.UserTypeId==2})
this.scenicTypeList = res.data.filter(x=>{return x.UserTypeId==3})
}
}, (failed) => {
uni.showToast({
title: failed.message,
icon: "none",
});
}, (error) => {
})
},
getCurrencyList(){
this.apipost("financeinfo_post_GetList", {
Name: '',
}, (res) => {
if (res.resultCode == 1) {
for(let i=0;i<res.data.length;i++){
let data = res.data[i]
this.currencyList.push({
name: data.Name,
id: data.ID,
})
}
}
}, (failed) => {
uni.showToast({
title: failed.message,
icon: "none",
});
}, (error) => {
})
}
}
}
</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