diff options
author | 2018-10-22 09:00:47 +0000 | |
---|---|---|
committer | 2018-10-22 09:00:47 +0000 | |
commit | b183d7d424e312c585de2b40be0716a8996562f4 (patch) | |
tree | eff3227eaa8684b490eab171f84ddc80a450d9b5 /test-scheduler/ui/src/router | |
parent | 4a94df533b4ae139af5e222e29375c19c7ace015 (diff) | |
parent | 399ec2f328f56c1f81c454ecedfb6b99eaf93c42 (diff) |
Merge "fix testsuite name bugs and improve some ui details"
Diffstat (limited to 'test-scheduler/ui/src/router')
-rw-r--r-- | test-scheduler/ui/src/router/index.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test-scheduler/ui/src/router/index.js b/test-scheduler/ui/src/router/index.js index 8cc3da13..7617eddf 100644 --- a/test-scheduler/ui/src/router/index.js +++ b/test-scheduler/ui/src/router/index.js @@ -3,11 +3,10 @@ import Router from 'vue-router' import testsuite from '@/components/testsuite' import testcase from '@/components/testcase' import testcase_content from '@/components/testcase_content' +import test_result from '@/components/test_result' import environment from '@/components/environment' Vue.use(Router) -const Result = { - template: "<div>please visit <a target='blank' href='http://lab205.jios.org:30002/dashboard/db/cluster?orgId=1'>grafana page.</a></div>" -} + const Report = { template: "<div></div>" } @@ -30,14 +29,17 @@ export default new Router({ }, { path: '/result', - component: Result + name: 'result', + component: test_result }, { path: '/report', + name: 'report', component: Report }, { path: '/environment', + name: 'environment', component: environment } ] |