Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
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
罗超
SuperMan
Commits
2d0c07a4
Commit
2d0c07a4
authored
May 18, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
d24b5fd6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
4 deletions
+48
-4
index.js
src/plug/index.js
+2
-1
config.js
src/router/config.js
+46
-3
No files found.
src/plug/index.js
View file @
2d0c07a4
...
@@ -116,7 +116,8 @@ export default {
...
@@ -116,7 +116,8 @@ export default {
let
domainUrl
=
''
;
let
domainUrl
=
''
;
let
mallUrl
=
""
;
//商城API
let
mallUrl
=
""
;
//商城API
let
locationName
=
window
.
location
.
hostname
;
let
locationName
=
window
.
location
.
hostname
;
domainUrl
=
"http://127.0.0.1"
;
// domainUrl = "http://127.0.0.1";
domainUrl
=
"http://192.168.20.17:8015"
;
let
javaUrldo
=
""
;
let
javaUrldo
=
""
;
javaUrldo
=
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'viitto'
)
!==
-
1
?
(
locationName
.
indexOf
(
'oytour'
)
!==
-
1
?
"http://efficient.oytour.com"
:
"http://47.96.12.235:9001"
)
:
"http://192.168.2.215:9000"
;
javaUrldo
=
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'viitto'
)
!==
-
1
?
(
locationName
.
indexOf
(
'oytour'
)
!==
-
1
?
"http://efficient.oytour.com"
:
"http://47.96.12.235:9001"
)
:
"http://192.168.2.215:9000"
;
//商城API
//商城API
...
...
src/router/config.js
View file @
2d0c07a4
...
@@ -1328,14 +1328,16 @@ export default {
...
@@ -1328,14 +1328,16 @@ export default {
meta
:
{
meta
:
{
title
:
'餐厅列表'
title
:
'餐厅列表'
},
},
},
{
},
{
path
:
'/restaurantInfoManage'
,
//餐厅信息管理
path
:
'/restaurantInfoManage'
,
//餐厅信息管理
name
:
'restaurantInfoManage'
,
name
:
'restaurantInfoManage'
,
component
:
resolve
=>
require
([
'@/components/Restaurant/restaurantInfoManage'
],
resolve
),
component
:
resolve
=>
require
([
'@/components/Restaurant/restaurantInfoManage'
],
resolve
),
meta
:
{
meta
:
{
title
:
'餐厅信息管理'
title
:
'餐厅信息管理'
},
},
},
{
},
{
path
:
'/RestaurantPackage'
,
//餐厅套餐查询
path
:
'/RestaurantPackage'
,
//餐厅套餐查询
name
:
'RestaurantPackage'
,
name
:
'RestaurantPackage'
,
component
:
resolve
=>
require
([
'@/components/Restaurant/RestaurantPackage'
],
resolve
),
component
:
resolve
=>
require
([
'@/components/Restaurant/RestaurantPackage'
],
resolve
),
...
@@ -1343,6 +1345,46 @@ export default {
...
@@ -1343,6 +1345,46 @@ export default {
title
:
'餐厅套餐查询'
title
:
'餐厅套餐查询'
},
},
},
},
{
path
:
'/domesticRestaurantList'
,
//国内餐厅列表
name
:
'domesticRestaurantList'
,
component
:
resolve
=>
require
([
'@/components/Restaurant/domesticRestaurantList'
],
resolve
),
meta
:
{
title
:
'国内餐厅列表'
},
},
{
path
:
'/demesticRestaurantInfoManage'
,
//国内餐厅信息管理
name
:
'demesticRestaurantInfoManage'
,
component
:
resolve
=>
require
([
'@/components/Restaurant/demesticRestaurantInfoManage'
],
resolve
),
meta
:
{
title
:
'国内餐厅信息管理'
},
},
{
path
:
'/demesticRestaurantPackage'
,
//国内餐厅套餐查询
name
:
'demesticRestaurantPackage'
,
component
:
resolve
=>
require
([
'@/components/Restaurant/demesticRestaurantPackage'
],
resolve
),
meta
:
{
title
:
'国内餐厅套餐查询'
},
},
{
path
:
'/demesticRestaurantPrice'
,
//国内餐厅报价
name
:
'demesticRestaurantPrice'
,
component
:
resolve
=>
require
([
'@/components/Restaurant/demesticRestaurantPrice'
],
resolve
),
meta
:
{
title
:
'国内餐厅报价'
},
},
{
path
:
'/foodClassification'
,
//美食分类
name
:
'foodClassification'
,
component
:
resolve
=>
require
([
'@/components/Restaurant/foodClassification'
],
resolve
),
meta
:
{
title
:
'美食分类'
},
},
{
{
path
:
'/bookDinnerStatistics'
,
//餐厅套餐查询
path
:
'/bookDinnerStatistics'
,
//餐厅套餐查询
name
:
'bookDinnerStatistics'
,
name
:
'bookDinnerStatistics'
,
...
@@ -1390,7 +1432,8 @@ export default {
...
@@ -1390,7 +1432,8 @@ export default {
meta
:
{
meta
:
{
title
:
'餐厅报价'
title
:
'餐厅报价'
},
},
},
{
},
{
path
:
'/RestaurantSupplier'
,
//餐厅供应商
path
:
'/RestaurantSupplier'
,
//餐厅供应商
name
:
'RestaurantSupplier'
,
name
:
'RestaurantSupplier'
,
component
:
resolve
=>
require
([
'@/components/Restaurant/RestaurantSupplier'
],
resolve
),
component
:
resolve
=>
require
([
'@/components/Restaurant/RestaurantSupplier'
],
resolve
),
...
...
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