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
83e6c27b
Commit
83e6c27b
authored
May 13, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
路由优化
parent
10a05d3b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
8 deletions
+26
-8
src/components/service-tabs.vue
src/components/service-tabs.vue
+20
-4
src/pages/yysdDetail.vue
src/pages/yysdDetail.vue
+2
-0
src/router/index.js
src/router/index.js
+4
-4
No files found.
src/components/service-tabs.vue
View file @
83e6c27b
...
@@ -5,25 +5,25 @@
...
@@ -5,25 +5,25 @@
v-model=
"tabName"
v-model=
"tabName"
:stretch=
"true"
:stretch=
"true"
>
>
<el-tab-pane
label=
"服务详情信息
"
name=
"detail"
v-if=
"detailUrl"
>
<el-tab-pane
:label=
"detailTitle
"
name=
"detail"
v-if=
"detailUrl"
>
<service-tab-detail
<service-tab-detail
class=
"service_info"
class=
"service_info"
:url=
"detailUrl"
:url=
"detailUrl"
></service-tab-detail>
></service-tab-detail>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"规格定价
"
name=
"specification"
v-if=
"specificationUrl"
>
<el-tab-pane
:label=
"specificationTitle
"
name=
"specification"
v-if=
"specificationUrl"
>
<service-tab-specification
<service-tab-specification
class=
"service_info"
class=
"service_info"
:url=
"specificationUrl"
:url=
"specificationUrl"
></service-tab-specification>
></service-tab-specification>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"提供机构
"
name=
"provider"
v-if=
"providerUrl"
>
<el-tab-pane
:label=
"providerTitle
"
name=
"provider"
v-if=
"providerUrl"
>
<service-tab-provider
<service-tab-provider
class=
"service_info"
class=
"service_info"
:url=
"providerUrl"
:url=
"providerUrl"
></service-tab-provider>
></service-tab-provider>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"服务评价信息
"
name=
"comments"
v-if=
"commentsUrl"
>
<el-tab-pane
:label=
"commentsTitle
"
name=
"comments"
v-if=
"commentsUrl"
>
<service-tab-comments
<service-tab-comments
class=
"service_info"
class=
"service_info"
:url=
"commentsUrl"
:url=
"commentsUrl"
...
@@ -46,6 +46,22 @@ export default {
...
@@ -46,6 +46,22 @@ export default {
serviceTabComments
,
serviceTabComments
,
},
},
props
:
{
props
:
{
detailTitle
:
{
type
:
String
,
default
:
()
=>
"
服务详情信息
"
,
},
specificationTitle
:
{
type
:
String
,
default
:
()
=>
"
规格定价
"
,
},
providerTitle
:
{
type
:
String
,
default
:
()
=>
"
提供机构
"
,
},
commentsTitle
:
{
type
:
String
,
default
:
()
=>
"
服务评价信息
"
,
},
detailUrl
:
{
detailUrl
:
{
type
:
String
,
type
:
String
,
default
:
()
=>
""
,
default
:
()
=>
""
,
...
...
src/pages/yysdDetail.vue
View file @
83e6c27b
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
detail-url=
"yysd"
detail-url=
"yysd"
provider-url=
"yysd"
provider-url=
"yysd"
comments-url=
"yysd"
comments-url=
"yysd"
detail-title=
"应用详情信息"
comments-title=
"应用评价信息"
></service-tabs>
></service-tabs>
</div>
</div>
</
template
>
</
template
>
...
...
src/router/index.js
View file @
83e6c27b
...
@@ -114,22 +114,22 @@ export default new Router({
...
@@ -114,22 +114,22 @@ export default new Router({
],
],
},
},
{
{
path
:
"
/sjfwDetail
"
,
path
:
"
/sjfwDetail
/:id
"
,
name
:
"
sjfwDetail
"
,
name
:
"
sjfwDetail
"
,
component
:
()
=>
import
(
"
@/pages/sjfwDetail
"
),
component
:
()
=>
import
(
"
@/pages/sjfwDetail
"
),
},
// 数据服务详情
},
// 数据服务详情
{
{
path
:
"
/skfwDetail
"
,
path
:
"
/skfwDetail
/:id
"
,
name
:
"
skfwDetail
"
,
name
:
"
skfwDetail
"
,
component
:
()
=>
import
(
"
@/pages/skfwDetail
"
),
component
:
()
=>
import
(
"
@/pages/skfwDetail
"
),
},
// 时空服务详情
},
// 时空服务详情
{
{
path
:
"
/zhyyfwDetail
"
,
path
:
"
/zhyyfwDetail
/:id
"
,
name
:
"
zhyyfwDetail
"
,
name
:
"
zhyyfwDetail
"
,
component
:
()
=>
import
(
"
@/pages/zhyyfwDetail
"
),
component
:
()
=>
import
(
"
@/pages/zhyyfwDetail
"
),
},
// 综合应用服务详情
},
// 综合应用服务详情
{
{
path
:
"
/yysdDetail
"
,
path
:
"
/yysdDetail
/:id
"
,
name
:
"
yysdDetail
"
,
name
:
"
yysdDetail
"
,
component
:
()
=>
import
(
"
@/pages/yysdDetail
"
),
component
:
()
=>
import
(
"
@/pages/yysdDetail
"
),
},
// 应用详情
},
// 应用详情
...
...
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