Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
a8d68978
Commit
a8d68978
authored
May 18, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新首页
parent
75f53087
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
11 deletions
+15
-11
src/components/menu.vue
src/components/menu.vue
+6
-2
src/router/index.js
src/router/index.js
+9
-9
No files found.
src/components/menu.vue
View file @
a8d68978
...
...
@@ -64,7 +64,7 @@
v-for=
"(item, index) in menu_arr"
:key=
"index + 200"
class=
"menu_box user_hover"
@
click=
"n
ow_menu = index
"
@
click=
"n
avAction(index, item.path)
"
:style=
"
{ color: now_menu == index ? '#fff' : '' }"
>
{{
item
.
name
}}
...
...
@@ -103,7 +103,7 @@ export default {
},
{
name
:
"
技术支持
"
,
path
:
""
,
path
:
"
/xxx
"
,
},
{
name
:
"
服务超市
"
,
...
...
@@ -198,6 +198,10 @@ export default {
getDetail
()
{
// if you want goto detail page, you should give me the type at first
},
navAction
(
index
,
path
)
{
this
.
$router
.
push
(
path
);
this
.
now_menu
=
index
;
},
gotoChildPage
(
v
)
{
if
(
v
.
path
)
{
this
.
$router
.
push
(
v
.
path
);
...
...
src/router/index.js
View file @
a8d68978
...
...
@@ -36,7 +36,7 @@ export default new Router({
component
:
()
=>
import
(
"
@/pages/fwzc_fwcs
"
),
},
],
},
},
// 工作台 - 服务注册模块
{
path
:
"
/fwgl/:level
"
,
// 服务管理 level:用户等级
name
:
"
fwgl
"
,
...
...
@@ -69,7 +69,7 @@ export default new Router({
component
:
()
=>
import
(
"
@/pages/approval_service_detail
"
),
},
// 审批的服务 - 详情
],
},
},
// 工作台 - 服务管理模块
{
path
:
"
/shop
"
,
// 服务超市
name
:
"
shop
"
,
...
...
@@ -117,37 +117,37 @@ export default new Router({
component
:
()
=>
import
(
"
@/pages/shopping_cart
"
),
},
],
},
},
// 服务超市 - 列表页
{
path
:
"
/shop/sjfwDetail/:id
"
,
name
:
"
sjfwDetail
"
,
component
:
()
=>
import
(
"
@/pages/sjfwDetail
"
),
},
// 数据服务详情
},
//
服务超市 -
数据服务详情
{
path
:
"
/shop/skfwDetail/:id
"
,
name
:
"
skfwDetail
"
,
component
:
()
=>
import
(
"
@/pages/skfwDetail
"
),
},
// 时空服务详情
},
//
服务超市 -
时空服务详情
{
path
:
"
/shop/zhyyfwDetail/:id
"
,
name
:
"
zhyyfwDetail
"
,
component
:
()
=>
import
(
"
@/pages/zhyyfwDetail
"
),
},
// 综合应用服务详情
},
//
服务超市 -
综合应用服务详情
{
path
:
"
/shop/yysdDetail/:id
"
,
name
:
"
yysdDetail
"
,
component
:
()
=>
import
(
"
@/pages/yysdDetail
"
),
},
// 应用详情
},
//
服务超市 -
应用详情
{
path
:
"
/workplace
"
,
name
:
"
workPlace
"
,
component
:
()
=>
import
(
"
@/pages/workPlace
"
),
},
},
// 主页 - 工作台
{
path
:
"
/services_shop
"
,
name
:
"
services_shop
"
,
component
:
()
=>
import
(
"
@/pages/services_shop
"
),
},
},
// 主页 - 服务超市
],
},
{
...
...
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