alltest->loadtest
This commit is contained in:
parent
35a55259d0
commit
4fb03996c2
|
@ -21,7 +21,7 @@
|
|||
<template slot="title">测试</template>
|
||||
<ms-recent-test-plan/>
|
||||
<el-divider/>
|
||||
<el-menu-item index="/allTest/all">
|
||||
<el-menu-item index="/loadtest/all">
|
||||
<font-awesome-icon :icon="['fa', 'list-ul']"/>
|
||||
<span style="padding-left: 5px;">所有测试</span>
|
||||
</el-menu-item>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<el-menu-item index="1" v-permission="['test_manager','test_user','test_viewer']">
|
||||
功能测试
|
||||
</el-menu-item>
|
||||
<el-menu-item index="/allTest" onselectstart="return false"
|
||||
<el-menu-item index="/loadtest" onselectstart="return false"
|
||||
v-permission="['test_manager','test_user','test_viewer']">
|
||||
性能测试
|
||||
</el-menu-item>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
</div>
|
||||
|
||||
<el-menu-item :key="p.id" v-for="p in recentProjects"
|
||||
:index="'/allTest/' + p.id" :route="{name:'allTest', params:{projectId:p.id, projectName:p.name}}">
|
||||
:index="'/loadtest/' + p.id" :route="{name:'loadtest', params:{projectId:p.id, projectName:p.name}}">
|
||||
{{ p.name }}
|
||||
</el-menu-item>
|
||||
</el-menu>
|
||||
|
|
|
@ -92,8 +92,8 @@ const router = new VueRouter({
|
|||
}
|
||||
},
|
||||
{
|
||||
path: "/allTest/:projectId",
|
||||
name: "allTest",
|
||||
path: "/loadtest/:projectId",
|
||||
name: "loadtest",
|
||||
components: {
|
||||
content: AllTestPlan
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue