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
ae67d96a
authored
2025-07-21 16:36:56 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
旅游
1 parent
9fa2d4d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
src/viewsPc/booking/travel.vue
src/viewsPc/center/myReservation.vue
src/viewsPc/booking/travel.vue
View file @
ae67d96
...
...
@@ -78,6 +78,7 @@ import { useStorage } from '@vueuse/core/index'
import
useUserStore
from
'@/store/modules/user'
import
{
ref
,
onMounted
}
from
'vue'
import
{
getCurrentInstance
}
from
'@vue/runtime-core'
import
{
getBaseInfoByActiveId
}
from
'@/apiPc/booking'
const
{
proxy
}
=
getCurrentInstance
()
...
...
@@ -108,6 +109,11 @@ function getList() {
}
async
function
goDetail
(
item
)
{
const
{
data
}
=
await
getBaseInfoByActiveId
(
route
.
params
.
cptId
)
if
(
data
.
isScenicView
==
0
)
{
return
proxy
.
$modal
.
confirm
(
language
.
value
==
0
?
'感谢您对本次比赛的关注,该服务暂无可预订信息,敬请期待。'
:
'Thank you for your attention to this competition. The service is currently unavailable for booking. Please stay tuned.'
)
}
if
(
!
user
)
{
useStore
().
setVisitor
()
return
...
...
src/viewsPc/center/myReservation.vue
View file @
ae67d96
...
...
@@ -133,7 +133,7 @@
</div>
<div
class=
"text-right"
>
<el-button
v-if=
"(b.orderType == 0||b.orderType == 5||b.orderType==1||b.orderType==2||b.orderType==3||b.orderType==4)&&b.viewStatus!=0"
v-if=
"(b.orderType == 0||b.orderType == 5||b.orderType==1||b.orderType==2||b.orderType==3||b.orderType==4
||b.orderType==6
)&&b.viewStatus!=0"
class=
"mb10"
plain
round
size=
"small"
type=
"success"
@
click=
"Rebook(b)"
...
...
@@ -281,6 +281,11 @@ function Rebook(row) {
}
})
}
if
(
row
.
orderType
==
6
)
{
return
router
.
push
({
path
:
`/booking/travel/
${
row
.
activeId
}
`
})
}
}
const
cancel
=
(
row
)
=>
{
...
...
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