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
2d04b8c3
authored
2025-07-21 18:09:40 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
旅游
1 parent
78f0dfac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
src/viewsPc/center/myReservation.vue
src/viewsPc/center/myReservation.vue
View file @
2d04b8c
...
...
@@ -20,7 +20,7 @@
</div>
<el-empty
v-if=
"list?.length == 0"
:image=
"`/img/order_no.png`"
:image-size=
"228"
/>
<div
class=
"pd20"
>
<div
v-loading=
"loading"
class=
"pd20"
>
<div
v-for=
"b in list"
:key=
"b.id"
class=
"item"
>
<div
class=
"title"
>
<label
v-if=
"b.orderType == 0"
class=
"blueTag"
>
{{
language
==
0
?
'酒店'
:
'HOTEL'
}}
</label>
...
...
@@ -201,6 +201,7 @@ const router = useRouter()
const
language
=
useStorage
(
'language'
,
0
)
const
list
=
ref
([])
const
user
=
useUserStore
().
user
const
loading
=
ref
(
false
)
const
orderType
=
ref
(
''
)
const
{
proxy
}
=
getCurrentInstance
()
const
cardList
=
ref
([
...
...
@@ -223,6 +224,7 @@ function finish(bill) {
}
function
getList
()
{
loading
.
value
=
true
newbilllist
({
createById
:
user
.
userId
,
orderType
:
orderType
.
value
}).
then
(
res
=>
{
list
.
value
=
res
.
rows
||
[]
for
(
const
b
of
list
.
value
)
{
...
...
@@ -240,6 +242,7 @@ function getList() {
b
.
countdown
=
dayjs
().
add
(
b
.
surplus
.
split
(
','
)[
0
],
'minute'
).
add
(
b
.
surplus
.
split
(
','
)[
1
],
'second'
)
}
}
loading
.
value
=
false
})
}
...
...
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