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
60b84045
authored
2025-07-03 19:56:44 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
酒店
1 parent
780a5aef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
42 deletions
src/viewsPc/components/homeQuick.vue
src/viewsPc/components/orderRemark.vue
src/viewsPc/components/homeQuick.vue
View file @
60b8404
...
...
@@ -216,15 +216,15 @@ function popRemark(type) {
}
//
const params = {
//
matchId: props.matchId,
//
title: language.value == 0 ? '预订说明' : 'Booking Instructions',
//
type: type,
//
cptName: props.cptName
//
}
//
proxy.$refs['orderRemarkRef'].open(params)
const
params
=
{
matchId
:
props
.
matchId
,
title
:
language
.
value
==
0
?
'预订说明'
:
'Booking Instructions'
,
type
:
type
,
cptName
:
props
.
cptName
}
proxy
.
$refs
[
'orderRemarkRef'
].
open
(
params
)
goBooking
(
type
)
//
goBooking(type)
}
function
goBooking
(
n
,
f
)
{
...
...
src/viewsPc/components/orderRemark.vue
View file @
60b8404
<
template
>
<el-dialog
:title=
"title"
v-model=
"show"
@
close=
"close"
>
<div>
<h2
class=
"text-warning text-center"
v-if=
"cptName"
>
{{
cptName
}}
</h2>
<div
v-if=
"type==1"
class=
"plr20"
v-html=
"form.reserveDes"
></div>
<div
v-if=
"type==2"
class=
"plr20"
v-html=
"form.reserveDesCar"
></div>
<div
v-if=
"type==3"
class=
"plr20"
v-html=
"form.reserveDesFood"
></div>
<div
v-if=
"type==4"
class=
"plr20"
v-html=
"form.reserveDesMeal"
></div>
<div
v-if=
"type==5"
class=
"plr20"
v-html=
"form.reserveDesPhoto"
></div>
<div
v-if=
"type==10"
class=
"plr20"
v-html=
"form.reserveDesTitck"
></div>
<el-row
v-if=
"type==1"
justify=
"center"
>
<el-radio-group
v-model=
"hotelType"
>
<el-radio
label=
"0"
>
{{
language
==
0
?
'运动队酒店'
:
'Team Hotel Reservation'
}}
</el-radio>
<el-radio
label=
"1"
>
{{
language
==
0
?
'执委大会酒店'
:
'Conference Hotel Reservation'
}}
</el-radio>
</el-radio-group>
</el-row>
</div>
<template
#
footer
>
<div
class=
"dialog-footer text-center"
>
<el-button
type=
"primary"
class=
"btn-lineG w200px"
round
@
click=
"ok"
>
{{
language
==
0
?
'确定'
:
'Confirm'
}}
</el-button>
</div>
</
template
>
</el-dialog>
<el-dialog
v-model=
"show"
:title=
"title"
@
close=
"close"
>
<div>
<h2
v-if=
"cptName"
class=
"text-warning text-center"
>
{{
cptName
}}
</h2>
<div
v-if=
"type==1"
class=
"plr20"
v-html=
"form.reserveDes"
></div>
<div
v-if=
"type==2"
class=
"plr20"
v-html=
"form.reserveDesCar"
></div>
<div
v-if=
"type==3"
class=
"plr20"
v-html=
"form.reserveDesFood"
></div>
<div
v-if=
"type==4"
class=
"plr20"
v-html=
"form.reserveDesMeal"
></div>
<div
v-if=
"type==5"
class=
"plr20"
v-html=
"form.reserveDesPhoto"
></div>
<div
v-if=
"type==10"
class=
"plr20"
v-html=
"form.reserveDesTitck"
></div>
<!--
<el-row
v-if=
"type==1"
justify=
"center"
>
-->
<!--
<el-radio-group
v-model=
"hotelType"
>
-->
<!--
<el-radio
label=
"0"
>
{{
language
==
0
?
'运动队酒店'
:
'Team Hotel Reservation'
}}
</el-radio>
-->
<!--
<el-radio
label=
"1"
>
{{
language
==
0
?
'执委大会酒店'
:
'Conference Hotel Reservation'
}}
</el-radio>
-->
<!--
</el-radio-group>
-->
<!--
</el-row>
-->
</div>
<template
#
footer
>
<div
class=
"dialog-footer text-center"
>
<el-button
class=
"btn-lineG w200px"
round
type=
"primary"
@
click=
"ok"
>
{{
language
==
0
?
'确定'
:
'Confirm'
}}
</el-button>
</div>
</
template
>
</el-dialog>
</template>
<
script
setup
>
import
{
getBaseInfoByActiveId
}
from
"@/apiPc/booking"
;
import
{
getCurrentInstance
}
from
"@vue/runtime-core"
;
import
{
useStorage
}
from
"@vueuse/core/index"
;
const
emit
=
defineEmits
([
'submit'
])
const
emit
=
defineEmits
([
'submit'
])
const
{
proxy
}
=
getCurrentInstance
()
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
0
)
import
useUserStore
from
"@/store/modules/user"
;
const
user
=
useUserStore
().
user
const
title
=
ref
(
''
)
const
cptName
=
ref
(
''
)
const
show
=
ref
(
false
)
const
form
=
ref
({})
const
hotelType
=
ref
(
'1'
)
const
hotelType
=
ref
(
'1'
)
let
matchId
=
''
let
type
=
''
...
...
@@ -58,28 +61,30 @@ defineExpose({
function
getData
()
{
console
.
log
(
matchId
)
getBaseInfoByActiveId
(
matchId
).
then
(
res
=>
{
getBaseInfoByActiveId
(
matchId
).
then
(
res
=>
{
form
.
value
=
res
.
data
||
{}
console
.
log
(
form
.
value
)
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
console
.
log
(
err
)
})
}
function
close
()
{
show
.
value
=
false
}
function
ok
()
{
// type
show
.
value
=
false
// if(!user){
// useUserStore().setVisitor()
// } else {
emit
(
'submit'
,
type
,
hotelType
.
value
)
emit
(
'submit'
,
type
,
hotelType
.
value
)
// }
}
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
</
style
>
...
...
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