Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
A
ABC_Hotel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Đinh Quang Vinh
ABC_Hotel
Commits
b0ff5c4b
Commit
b0ff5c4b
authored
Aug 10, 2023
by
vinh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
85a44480
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
index.js
src/config/index.js
+1
-1
GuestView.vue
src/views/GuestView.vue
+1
-0
No files found.
src/config/index.js
View file @
b0ff5c4b
...
@@ -2,7 +2,7 @@ import axios from 'axios'
...
@@ -2,7 +2,7 @@ import axios from 'axios'
axios
.
interceptors
.
request
.
use
(
axios
.
interceptors
.
request
.
use
(
(
config
)
=>
{
(
config
)
=>
{
config
.
baseURL
=
'
http://
localhost
:8000/api
'
config
.
baseURL
=
'
http://
192.168.200.106
:8000/api
'
config
.
headers
.
Accept
=
'
application/json
'
config
.
headers
.
Accept
=
'
application/json
'
const
token
=
localStorage
.
getItem
(
'
token
'
)
const
token
=
localStorage
.
getItem
(
'
token
'
)
if
(
token
)
{
if
(
token
)
{
...
...
src/views/GuestView.vue
View file @
b0ff5c4b
...
@@ -19,6 +19,7 @@ export default {
...
@@ -19,6 +19,7 @@ export default {
components
:
{
components
:
{
DataTable
DataTable
},
},
setup
()
{
setup
()
{
const
checkinToday
=
ref
([]);
const
checkinToday
=
ref
([]);
const
tableTitles
=
[
'
Guest id
'
,
'
Guest name
'
,
'
Total booking
'
,
'
Email address
'
,
'
Booking this month
'
,
'
Joined date
'
]
const
tableTitles
=
[
'
Guest id
'
,
'
Guest name
'
,
'
Total booking
'
,
'
Email address
'
,
'
Booking this month
'
,
'
Joined date
'
]
...
...
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