Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jijin
/
dance-pc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
97106871
authored
2024-05-27 19:33:02 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化
1 parent
4ab4d5db
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
src/viewsPc/booking/hotelDetail.vue
src/viewsPc/center/myReservation.vue
src/viewsPc/booking/hotelDetail.vue
View file @
9710687
...
...
@@ -241,6 +241,9 @@ function initMap() {
}
function
goOrder
(
room
)
{
ElMessageBox
.
confirm
(
language
.
value
==
0
?
'你当前选择的入住时间为'
+
hotTime
.
value
[
0
]
+
'至'
+
hotTime
.
value
[
1
]
+
',是否确定?'
:
'Your current check-in time is'
+
hotTime
.
value
[
0
]
+
'~'
+
hotTime
.
value
[
1
]
+
'Are you sure?'
,{
type
:
'warning'
}).
then
({
}).
then
(()
=>
{
checkRoomPayByUserId
(
room
.
hotelId
).
then
(
res
=>
{
if
(
res
.
data
==
-
100
){
ElMessageBox
.
confirm
(
...
...
@@ -265,6 +268,9 @@ function goOrder(room) {
}
goNext
(
room
)
})
})
}
function
goNext
(
room
)
{
...
...
src/viewsPc/center/myReservation.vue
View file @
9710687
...
...
@@ -90,16 +90,16 @@
</div>
<div
class=
"text-right"
>
<el-button
v-if=
"b.orderType == 0&&b.viewStatus!=0"
class=
"mb10"
plain
round
type=
"success"
@
click=
"Rebook(b)"
>
<el-button
v-if=
"b.orderType == 0&&b.viewStatus!=0"
class=
"mb10"
plain
round
type=
"success"
size=
"small"
@
click=
"Rebook(b)"
>
{{
language
==
0
?
'再次预订'
:
'Rebook'
}}
</el-button>
<el-button
class=
"mb10"
plain
round
type=
"primary"
@
click=
"goDetail(b)"
>
<el-button
class=
"mb10"
plain
round
type=
"primary"
size=
"small"
@
click=
"goDetail(b)"
>
{{
language
==
0
?
'详情'
:
'Detail'
}}
</el-button>
<el-button
v-if=
"b.status == '0'&&(b.surplus!='0,0'&&b.surplus!='0')"
@
click=
"goDetail(b)"
class=
"mb10"
plain
round
type=
"primary"
>
class=
"mb10"
plain
round
type=
"primary"
size=
"small"
>
{{
language
==
0
?
'支付'
:
'Pay'
}}
</el-button>
<el-button
v-if=
"b.viewStatus==0"
@
click=
"cancel(b)"
class=
"mb10"
plain
round
type=
"warning"
>
<el-button
v-if=
"b.viewStatus==0"
@
click=
"cancel(b)"
class=
"mb10"
plain
round
type=
"warning"
size=
"small"
>
{{
language
==
0
?
'取消订单'
:
'Cancel Order'
}}
</el-button>
<el-button
v-if=
"b.viewStatus==5"
@
click=
"unsubscribe(b)"
class=
"mb10"
plain
round
type=
""
>
<el-button
v-if=
"b.viewStatus==5"
@
click=
"unsubscribe(b)"
class=
"mb10"
plain
round
type=
""
size=
"small"
>
{{
language
==
0
?
'退订'
:
'Unsubscribe'
}}
</el-button>
</div>
</el-col>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment