Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigwood
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
bigwood
Commits
45f8e3e2
Commit
45f8e3e2
authored
Nov 25, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
8b3c75dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
HotelOrder.vue
src/pages/hotel/HotelOrder.vue
+1
-1
ModifyHotelOrder.vue
src/pages/hotel/ModifyHotelOrder.vue
+4
-2
No files found.
src/pages/hotel/HotelOrder.vue
View file @
45f8e3e2
...
@@ -38,7 +38,7 @@ export default defineComponent({
...
@@ -38,7 +38,7 @@ export default defineComponent({
ContactName
:
''
,
ContactName
:
''
,
ContactNumber
:
''
ContactNumber
:
''
})
})
search
.
OrderId
=
currentRouter
.
value
.
params
.
orderId
search
.
OrderId
=
currentRouter
.
currentRoute
.
value
.
params
.
orderId
provide
(
DirtionmaryHelper
.
HOTEL_ORDER_SEARCH
,
search
)
provide
(
DirtionmaryHelper
.
HOTEL_ORDER_SEARCH
,
search
)
const
menu
=
inject
(
DirtionmaryHelper
.
MENU_KEYS
)
as
any
const
menu
=
inject
(
DirtionmaryHelper
.
MENU_KEYS
)
as
any
...
...
src/pages/hotel/ModifyHotelOrder.vue
View file @
45f8e3e2
...
@@ -155,7 +155,7 @@ import useMetaModule from '../../module/meta/metaModule'
...
@@ -155,7 +155,7 @@ import useMetaModule from '../../module/meta/metaModule'
import
{
ApiResult
}
from
'src/@types/enumHelper'
import
{
ApiResult
}
from
'src/@types/enumHelper'
import
HotelService
from
'src/api/hotel'
import
HotelService
from
'src/api/hotel'
import
{
DirtionmaryHelper
}
from
'src/config/dictionary'
import
{
DirtionmaryHelper
}
from
'src/config/dictionary'
import
{
currentRouter
}
from
'src/router'
import
{
currentRouter
}
from
'
../../
src/router'
import
message
from
'src/utils/message'
import
message
from
'src/utils/message'
import
{
defineComponent
,
inject
,
provide
,
reactive
,
ref
,
toRefs
}
from
'vue'
import
{
defineComponent
,
inject
,
provide
,
reactive
,
ref
,
toRefs
}
from
'vue'
import
{
useI18n
}
from
'vue-i18n'
import
{
useI18n
}
from
'vue-i18n'
...
@@ -212,7 +212,9 @@ export default defineComponent({
...
@@ -212,7 +212,9 @@ export default defineComponent({
{
Name
:
t
(
'hotel.car.group'
),
ID
:
2
}
{
Name
:
t
(
'hotel.car.group'
),
ID
:
2
}
]
]
})
})
data
.
orderId
=
currentRouter
.
value
.
params
.
orderId
if
(
currentRouter
.
value
.
params
.
orderId
){
data
.
orderId
=
currentRouter
.
value
.
params
.
orderId
}
if
(
data
.
orderId
==
0
)
{
if
(
data
.
orderId
==
0
)
{
history
.
back
()
history
.
back
()
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment