alltest->loadtest

This commit is contained in:
Captain.B 2020-02-27 16:49:45 +08:00
parent 35a55259d0
commit 4fb03996c2
4 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@
<template slot="title">测试</template> <template slot="title">测试</template>
<ms-recent-test-plan/> <ms-recent-test-plan/>
<el-divider/> <el-divider/>
<el-menu-item index="/allTest/all"> <el-menu-item index="/loadtest/all">
<font-awesome-icon :icon="['fa', 'list-ul']"/> <font-awesome-icon :icon="['fa', 'list-ul']"/>
<span style="padding-left: 5px;">所有测试</span> <span style="padding-left: 5px;">所有测试</span>
</el-menu-item> </el-menu-item>

View File

@ -10,7 +10,7 @@
<el-menu-item index="1" v-permission="['test_manager','test_user','test_viewer']"> <el-menu-item index="1" v-permission="['test_manager','test_user','test_viewer']">
功能测试 功能测试
</el-menu-item> </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']"> v-permission="['test_manager','test_user','test_viewer']">
性能测试 性能测试
</el-menu-item> </el-menu-item>

View File

@ -6,7 +6,7 @@
</div> </div>
<el-menu-item :key="p.id" v-for="p in recentProjects" <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 }} {{ p.name }}
</el-menu-item> </el-menu-item>
</el-menu> </el-menu>

View File

@ -92,8 +92,8 @@ const router = new VueRouter({
} }
}, },
{ {
path: "/allTest/:projectId", path: "/loadtest/:projectId",
name: "allTest", name: "loadtest",
components: { components: {
content: AllTestPlan content: AllTestPlan
}, },