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
e4fe971f
authored
2024-05-28 17:54:37 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
b908e00b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
src/viewsPc/booking/dinnerDetail.vue
src/viewsPc/booking/foodOrder.vue
src/viewsPc/components/homeQuick.vue
src/viewsPc/booking/dinnerDetail.vue
View file @
e4fe971
...
...
@@ -83,11 +83,9 @@
</
template
>
<
script
setup
>
import
{
useRouter
}
from
"vue-router"
;
import
{
ref
,
reactive
,
onMounted
}
from
"vue"
;
import
{
useRoute
}
from
"vue-router"
;
import
{
getHotelById
,
getMenuById
}
from
"@/apiPc/booking"
import
{
useRouter
,
useRoute
}
from
"vue-router"
;
import
{
ref
,
onMounted
}
from
"vue"
;
import
{
getMenuById
}
from
"@/apiPc/booking"
import
{
useStorage
}
from
"@vueuse/core/index"
;
import
useUserStore
from
"@/store/modules/user"
;
import
{
fillImgUrl
}
from
"@/utils/ruoyi"
;
...
...
@@ -98,7 +96,7 @@ const router = useRouter()
const
route
=
useRoute
()
const
form
=
ref
({})
const
query
=
ref
({
larId
:
route
.
query
.
id
larId
:
route
.
params
.
id
})
const
loading
=
ref
(
false
)
const
roomList
=
ref
([])
...
...
@@ -106,11 +104,13 @@ const map = ref(null)
onMounted
(()
=>
{
form
.
value
=
JSON
.
parse
(
decodeURIComponent
(
route
.
query
.
detail
))
getData
()
})
function
getData
()
{
loading
.
value
=
true
query
.
value
.
hotelId
=
route
.
query
.
id
console
.
log
(
query
.
value
)
getMenuById
(
query
.
value
).
then
(
res
=>
{
loading
.
value
=
false
roomList
.
value
=
res
.
rows
...
...
src/viewsPc/booking/foodOrder.vue
View file @
e4fe971
...
...
@@ -242,6 +242,7 @@ function submit() {
form
.
value
.
foodsList
.
push
(
obj
)
form
.
value
.
activeId
=
restaurant
.
value
.
activityId
form
.
value
.
larId
=
restaurant
.
value
.
id
form
.
value
.
orderName
=
restaurant
.
value
.
name
// 提交确认
ElMessageBox
.
confirm
(
language
.
value
==
0
?
'确认提交订单吗?'
:
'Confirm to submit the order?'
,
{
confirmButtonText
:
language
.
value
==
0
?
'确定'
:
'Confirm'
,
...
...
src/viewsPc/components/homeQuick.vue
View file @
e4fe971
...
...
@@ -97,12 +97,12 @@ function building() {
return
}
function
popRemark
(
type
){
// debugger
if
(
!
form
.
value
){
building
()
return
}
if
((
form
.
value
.
isJdView
==
0
&&
type
==
'1'
)
||
(
form
.
value
.
isCarView
==
0
&&
type
==
'2'
)
||
(
form
.
value
.
isFoodView
==
0
&&
type
==
'3'
)
||
(
form
.
value
.
isMealView
==
0
&&
type
==
'4'
)
||
(
type
==
'5'
&&
form
.
value
.
isPhotoView
==
0
)){
//type == '0'
building
()
return
}
...
...
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