Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Athena
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
华国豪
Athena
Commits
01b54bd6
Commit
01b54bd6
authored
Jul 19, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huaguohao/athena
parents
b00e1091
43905a65
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
HotelDetail.vue
src/components/Hotel/HotelDetail.vue
+1
-0
HotelHome.vue
src/components/Hotel/HotelHome.vue
+7
-4
HotelList.vue
src/components/Hotel/HotelList.vue
+2
-0
No files found.
src/components/Hotel/HotelDetail.vue
View file @
01b54bd6
...
@@ -850,6 +850,7 @@ export default {
...
@@ -850,6 +850,7 @@ export default {
this
.
SimilarMsg
.
arrivalDate
=
msgList
.
arrivalDate
;
this
.
SimilarMsg
.
arrivalDate
=
msgList
.
arrivalDate
;
this
.
SimilarMsg
.
departureDate
=
msgList
.
departureDate
;
this
.
SimilarMsg
.
departureDate
=
msgList
.
departureDate
;
this
.
SimilarMsg
.
searchroomGroup
=
msgList
.
searchroomGroup
;
this
.
SimilarMsg
.
searchroomGroup
=
msgList
.
searchroomGroup
;
this
.
room
=
msgList
.
room
;
this
.
getList
();
this
.
getList
();
this
.
getSimilar
();
this
.
getSimilar
();
}
}
...
...
src/components/Hotel/HotelHome.vue
View file @
01b54bd6
...
@@ -333,11 +333,12 @@ export default {
...
@@ -333,11 +333,12 @@ export default {
this
.
isLogin
=
this
.
$store
.
state
.
isLogin
;
this
.
isLogin
=
this
.
$store
.
state
.
isLogin
;
//获取传递参数
//获取传递参数
var
url
=
window
.
location
.
href
;
var
url
=
window
.
location
.
href
;
if
(
url
.
indexOf
(
"?"
)
!=
-
1
)
{
if
(
url
.
indexOf
(
"?"
)
!=
-
1
)
{
let
str
=
url
.
split
(
"?"
)[
1
];
let
str
=
url
.
split
(
"?"
)[
1
];
let
uid
=
str
.
split
(
"="
)[
1
];
let
uid
=
str
.
split
(
"
uid
="
)[
1
];
sessionStorage
.
setItem
(
"UserId"
,
uid
);
sessionStorage
.
setItem
(
"UserId"
,
decodeURIComponent
(
uid
)
);
}
}
},
},
methods
:
{
methods
:
{
...
@@ -373,6 +374,7 @@ export default {
...
@@ -373,6 +374,7 @@ export default {
place
:
keywords
,
place
:
keywords
,
StartDate
:
moment
().
format
(
"YYYY-MM-DD"
),
StartDate
:
moment
().
format
(
"YYYY-MM-DD"
),
EndDate
:
moment
().
add
(
1
,
'days'
).
format
(
'YYYY-MM-DD'
),
EndDate
:
moment
().
add
(
1
,
'days'
).
format
(
'YYYY-MM-DD'
),
room
:
1
,
roomList
:[
roomList
:[
{
{
roomNum
:
1
,
roomNum
:
1
,
...
@@ -382,9 +384,10 @@ export default {
...
@@ -382,9 +384,10 @@ export default {
}
}
],
],
}
}
sessionStorage
.
setItem
(
"HotelInfo"
,
JSON
.
stringify
(
msg
));
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/HotelList"
,
path
:
"/HotelList"
,
query
:{
msg
:
JSON
.
stringify
(
msg
)}
})
})
},
},
//房间数改变
//房间数改变
...
...
src/components/Hotel/HotelList.vue
View file @
01b54bd6
...
@@ -1068,6 +1068,8 @@ export default {
...
@@ -1068,6 +1068,8 @@ export default {
this
.
PassMsg
.
searchroomGroup
=
this
.
msg
.
searchroomGroup
;
this
.
PassMsg
.
searchroomGroup
=
this
.
msg
.
searchroomGroup
;
this
.
PassMsg
.
lowrateBySetCurrency
=
item
.
lowrateBySetCurrency
;
this
.
PassMsg
.
lowrateBySetCurrency
=
item
.
lowrateBySetCurrency
;
this
.
PassMsg
.
room
=
this
.
room
sessionStorage
.
setItem
(
"HotelDetail"
,
JSON
.
stringify
(
this
.
PassMsg
));
sessionStorage
.
setItem
(
"HotelDetail"
,
JSON
.
stringify
(
this
.
PassMsg
));
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/HotelDetail"
path
:
"/HotelDetail"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment