Commit f04faa89 authored by 黄媛媛's avatar 黄媛媛
parents 9da89014 3d1f110c
This diff is collapsed.
...@@ -364,6 +364,10 @@ ...@@ -364,6 +364,10 @@
.HL_Two .icon-img-rili{ .HL_Two .icon-img-rili{
margin-left:0!important; margin-left:0!important;
} }
.HL_TitleSpan:hover{
text-decoration: underline;
cursor: pointer;
}
</style> </style>
<template> <template>
...@@ -581,7 +585,7 @@ ...@@ -581,7 +585,7 @@
</div> </div>
<div class="HL_ListContent"> <div class="HL_ListContent">
<div class="HL_ListTitle"> <div class="HL_ListTitle">
{{item.hotelName}} <span class="HL_TitleSpan" @click="goHotelDetail(item,'HotelDetail')">{{item.hotelName}}</span>
<span v-if="item.reviewRating"> <span v-if="item.reviewRating">
<el-rate <el-rate
v-model="item.reviewRating" v-model="item.reviewRating"
...@@ -609,7 +613,7 @@ ...@@ -609,7 +613,7 @@
<div class="HL_ListPrice"> <div class="HL_ListPrice">
<span><label>¥</label>{{getPrice(item.lowrateBySetCurrency)}}</span> <span><label>¥</label>{{getPrice(item.lowrateBySetCurrency)}}</span>
</div> </div>
<input type="button" class="HL_ListBtn" @click="goHotelDetail(item)" value="查看详情"/> <input type="button" class="HL_ListBtn" @click="goHotelDetail(item,'HotelDetail')" value="查看详情"/>
</div> </div>
</div> </div>
</td> </td>
...@@ -737,7 +741,7 @@ export default { ...@@ -737,7 +741,7 @@ export default {
Id:1, Id:1,
isCked:false isCked:false
},{ },{
name:'双', name:'双人间',
Id:2, Id:2,
isCked:false isCked:false
},{ },{
...@@ -749,7 +753,7 @@ export default { ...@@ -749,7 +753,7 @@ export default {
Id:4, Id:4,
isCked:false isCked:false
},{ },{
name:'四床房', name:'四人间',
Id:5, Id:5,
isCked:false isCked:false
},{ },{
...@@ -757,7 +761,7 @@ export default { ...@@ -757,7 +761,7 @@ export default {
Id:6, Id:6,
isCked:false isCked:false
},{ },{
name:'日式&西式混合房间', name:'日式+西式混合',
Id:7, Id:7,
isCked:false isCked:false
}], }],
...@@ -1089,7 +1093,7 @@ export default { ...@@ -1089,7 +1093,7 @@ export default {
this.SearchHotel(); this.SearchHotel();
}, },
//跳转详情 //跳转详情
goHotelDetail(item){ goHotelDetail(item,path){
this.PassMsg.hotelId = item.hotelId, this.PassMsg.hotelId = item.hotelId,
this.PassMsg.arrivalDate=this.msg.arrivalDate; this.PassMsg.arrivalDate=this.msg.arrivalDate;
this.PassMsg.departureDate = this.msg.departureDate; this.PassMsg.departureDate = this.msg.departureDate;
...@@ -1099,9 +1103,13 @@ export default { ...@@ -1099,9 +1103,13 @@ export default {
this.PassMsg.room = this.room this.PassMsg.room = this.room
this.PassMsg.auditNum = this.auditNum; this.PassMsg.auditNum = this.auditNum;
sessionStorage.setItem("HotelDetail", JSON.stringify(this.PassMsg)); sessionStorage.setItem("HotelDetail", JSON.stringify(this.PassMsg));
this.$router.push({ // this.$router.push({
path:"/HotelDetail" // path:"/HotelDetail"
}) // })
let routeData = this.$router.resolve({
name: path,
});
window.open(routeData.href, "_blank");
}, },
//主题特色 //主题特色
getTravelFeature(feature){ getTravelFeature(feature){
......
This diff is collapsed.
...@@ -166,6 +166,8 @@ export default { ...@@ -166,6 +166,8 @@ export default {
this.totalCount = res.data.data.pageCount; this.totalCount = res.data.data.pageCount;
this.Count = res.data.data.count; this.Count = res.data.data.count;
this.orderLoading = false; this.orderLoading = false;
console.log(res,'resss');
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
...@@ -202,10 +204,10 @@ export default { ...@@ -202,10 +204,10 @@ export default {
//取消 //取消
canCelHotel(ThirdOrderNo){ canCelHotel(ThirdOrderNo){
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
let EmployeeId = userInfo.EmployeeId; let customerId = userInfo.customerId;
let msg ={ let msg ={
bookingNumber:ThirdOrderNo, bookingNumber:ThirdOrderNo,
CancelBy:EmployeeId, CancelBy:customerId,
CancelType:2 CancelType:2
} }
this.apipost( this.apipost(
......
...@@ -345,15 +345,14 @@ ...@@ -345,15 +345,14 @@
<li class="HS2_title">房型信息</li> <li class="HS2_title">房型信息</li>
<li> <li>
<div> <div>
<template v-if="details.parmResult.roomType==1">单人</template> <template v-if="details.parmResult.roomType==1">{{getGradeType(details.parmResult.gradeType)}}单人间</template>
<template v-if="details.parmResult.roomType==2">双人</template> <template v-if="details.parmResult.roomType==2">{{getGradeType(details.parmResult.gradeType)}}双人间</template>
<template v-if="details.parmResult.roomType==3"></template> <template v-if="details.parmResult.roomType==3">{{getGradeType(details.parmResult.gradeType)}}大床房</template>
<template v-if="details.parmResult.roomType==4">三人间</template> <template v-if="details.parmResult.roomType==4">{{getGradeType(details.parmResult.gradeType)}}三人间</template>
<template v-if="details.parmResult.roomType==5">4床</template> <template v-if="details.parmResult.roomType==5">{{getGradeType(details.parmResult.gradeType)}}四人间</template>
<template v-if="details.parmResult.roomType==6">日式房间</template> <template v-if="details.parmResult.roomType==6">{{getGradeType(details.parmResult.gradeType)}}日式房</template>
<template v-if="details.parmResult.roomType==7">和洋室</template> <template v-if="details.parmResult.roomType==7">{{getGradeType(details.parmResult.gradeType)}}日式+西式混合房</template>
<template v-if="details.parmResult.roomType==8">半开房</template> <template v-if="details.parmResult.roomType==8">{{getGradeType(details.parmResult.gradeType)}}大床房(小型)</template>
<template v-if="details.parmResult.roomType==9">其他的</template>
</div> </div>
</li> </li>
</ul> </ul>
...@@ -461,7 +460,31 @@ export default { ...@@ -461,7 +460,31 @@ export default {
}) })
}, },
methods: { methods: {
//获取房型
getGradeType(type){
let gradeType=''
switch(parseInt(type)){
case 1:
gradeType="标准"
break;
case 2:
gradeType="普通"
break;
case 3:
gradeType="经济"
break;
case 4:
gradeType="精品"
break;
case 5:
gradeType="豪华"
break;
case 6:
gradeType="套房"
break;
}
return gradeType;
}
} }
}; };
</script> </script>
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