Commit a0bf3bba authored by youjie's avatar youjie

no message

parent 804f7589
...@@ -355,7 +355,8 @@ ...@@ -355,7 +355,8 @@
displayFrom:1, displayFrom:1,
arrivalDate:'', arrivalDate:'',
departureDate:'', departureDate:'',
searchroomGroup:[] searchroomGroup:[],
imgUrl: ''
}, },
getParamsMsg:{} as any, getParamsMsg:{} as any,
urlParamsMsg:{} as any, urlParamsMsg:{} as any,
...@@ -423,6 +424,7 @@ ...@@ -423,6 +424,7 @@
data.params.arrivalDate = data.getParamsMsg.arrivalDate data.params.arrivalDate = data.getParamsMsg.arrivalDate
data.params.departureDate = data.getParamsMsg.departureDate data.params.departureDate = data.getParamsMsg.departureDate
data.params.searchroomGroup = data.getParamsMsg.searchroomGroup data.params.searchroomGroup = data.getParamsMsg.searchroomGroup
data.params.imgUrl = data.getParamsMsg.imgUrl
data.urlParamsMsg = currentRouter.currentRoute.value.params data.urlParamsMsg = currentRouter.currentRoute.value.params
data.dateRange = date.formatDate(date.addToDate(new Date(), { days: 9 }), 'YYYY/MM/DD') data.dateRange = date.formatDate(date.addToDate(new Date(), { days: 9 }), 'YYYY/MM/DD')
data.RoomTypeList = useHotel.getHotelRoomType() data.RoomTypeList = useHotel.getHotelRoomType()
...@@ -529,7 +531,7 @@ ...@@ -529,7 +531,7 @@
// return // return
data.loading = true data.loading = true
let param = Object.assign(data.params,data.urlParamsMsg) let param = Object.assign(data.params,data.urlParamsMsg)
HotelService.GetHotelDetailScat(param) HotelService.GetHotelRoomsList(param)
.then(r => { .then(r => {
if (r.data.resultCode == ApiResult.SUCCESS) { if (r.data.resultCode == ApiResult.SUCCESS) {
data.dataList = r.data.data; data.dataList = r.data.data;
......
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