Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
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
0423aa10
authored
2024-05-11 15:45:48 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
判断时候登录
1 parent
94015fdf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
53 deletions
src/viewsPc/components/homeQuick.vue
src/viewsPc/match/components/quick-row.vue
src/viewsPc/components/homeQuick.vue
View file @
0423aa1
...
...
@@ -97,49 +97,21 @@ function building() {
return
}
function
popRemark
(
type
){
switch
(
type
)
{
case
0
:
// 票务
// router.push({path: `/booking/ticket/${props.matchId}`})
building
()
break
;
case
1
:
//酒店
router
.
push
({
path
:
`/booking/hotel/
${
props
.
matchId
}
`
})
break
;
case
2
:
//车辆
router
.
push
({
path
:
`/booking/car/
${
props
.
matchId
}
`
})
break
;
case
3
:
//餐饮
router
.
push
({
path
:
`/booking/dinner/
${
props
.
matchId
}
`
})
break
;
case
4
:
//化妆
router
.
push
({
path
:
`/booking/makeup/
${
props
.
matchId
}
`
})
break
;
case
5
:
//拍照
router
.
push
({
path
:
`/booking/photography/
${
props
.
matchId
}
`
})
break
;
debugger
if
(
!
form
.
value
){
building
()
return
}
// if(!form.value){
// building()
// return
// }
// if((form.value.isJdView == 0&&type=='1') || (form.value.isCarView == 0&&type=='2') || (form.value.isFoodView == 0&&type=='3') || type=='0' || type=='4' || type=='5'){
// building()
// return
// }
// const params = {
// matchId: props.matchId,
// title: language.value == 0 ?'预订说明':'Booking Instructions',
// type: type
// }
// proxy.$refs['orderRemarkRef'].open(params)
if
((
form
.
value
.
isJdView
==
0
&&
type
==
'1'
)
||
(
form
.
value
.
isCarView
==
0
&&
type
==
'2'
)
||
(
form
.
value
.
isFoodView
==
0
&&
type
==
'3'
)
||
type
==
'0'
||
(
form
.
value
.
isMealView
==
0
&&
type
==
'4'
)
||
(
type
==
'5'
&&
form
.
value
.
isPhotoView
==
0
)){
building
()
return
}
const
params
=
{
matchId
:
props
.
matchId
,
title
:
language
.
value
==
0
?
'预订说明'
:
'Booking Instructions'
,
type
:
type
}
proxy
.
$refs
[
'orderRemarkRef'
].
open
(
params
)
}
function
goBooking
(
n
)
{
switch
(
n
)
{
...
...
src/viewsPc/match/components/quick-row.vue
View file @
0423aa1
...
...
@@ -119,17 +119,17 @@ function popRemark(type){
// return
// }
//
if((form.value.isJdView == 0&&type=='1') || (form.value.isCarView == 0&&type=='2') || (form.value.isFoodView == 0&&type=='3') || type=='0' || type=='4' || type=='5'){
//
building()
//
return
//
}
//
//
const params = {
//
matchId: props.matchId,
//
title: language.value == 0 ?'预订说明':'Booking Instructions',
//
type: type
//
}
//
proxy.$refs['orderRemarkRef'].open(params)
if
((
form
.
value
.
isJdView
==
0
&&
type
==
'1'
)
||
(
form
.
value
.
isCarView
==
0
&&
type
==
'2'
)
||
(
form
.
value
.
isFoodView
==
0
&&
type
==
'3'
)
||
type
==
'0'
||
type
==
'4'
||
type
==
'5'
){
building
()
return
}
const
params
=
{
matchId
:
props
.
matchId
,
title
:
language
.
value
==
0
?
'预订说明'
:
'Booking Instructions'
,
type
:
type
}
proxy
.
$refs
[
'orderRemarkRef'
].
open
(
params
)
switch
(
type
)
{
case
0
:
...
...
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