diff --git a/test-ui/src/router/index.js b/test-ui/src/router/index.js index 71fa838..4b7a6bf 100644 --- a/test-ui/src/router/index.js +++ b/test-ui/src/router/index.js @@ -152,7 +152,7 @@ export const constantRoutes = [ { path: '', component: () => import('@/views/test/performance/performanceAdd'), - name: 'performanceAdd', + name: 'PerformanceAdd', noCache: true, meta: { title: '新增测试', activeMenu: '/performance' } } @@ -166,7 +166,7 @@ export const constantRoutes = [ { path: '', component: () => import('@/views/test/performance/performanceEdit'), - name: 'performanceAdd', + name: 'PerformanceEdit', noCache: true, meta: { title: '修改测试', activeMenu: '/performance' } } @@ -180,9 +180,23 @@ export const constantRoutes = [ { path: '', component: () => import('@/views/test/performance/reportDetail'), - name: 'performanceAdd', + name: 'ReportDetail', noCache: true, - meta: { title: '修改测试', activeMenu: '/performance' } + meta: { title: '报告详情', activeMenu: '/performance' } + } + ] + }, + { + path: '/ui-test/report/detail', + component: Layout, + hidden: true, + children: [ + { + path: '', + component: () => import('@/views/test/uiTest/testReportDetail'), + name: 'TestReportDetail', + noCache: true, + meta: { title: '测试报告', activeMenu: '/ui-test' } } ] }, diff --git a/test-ui/src/views/test/uiTest/automationTest.vue b/test-ui/src/views/test/uiTest/automationTest.vue index d75abd7..23a31cf 100644 --- a/test-ui/src/views/test/uiTest/automationTest.vue +++ b/test-ui/src/views/test/uiTest/automationTest.vue @@ -40,10 +40,8 @@ -
- -
+ diff --git a/test-ui/src/views/test/uiTest/elementLibrary.vue b/test-ui/src/views/test/uiTest/elementLibrary.vue index c3aefc8..f0d083d 100644 --- a/test-ui/src/views/test/uiTest/elementLibrary.vue +++ b/test-ui/src/views/test/uiTest/elementLibrary.vue @@ -26,10 +26,8 @@ -
- -
+ @@ -130,12 +128,12 @@ export default { }, // 查看 handleClickDetail() { }, - handleSizeChange() { }, // 确定 handleWithAdd() { console.log(this.editForm) }, handleCurrentChange() { }, + handleSizeChange() { }, }, } diff --git a/test-ui/src/views/test/uiTest/testReport.vue b/test-ui/src/views/test/uiTest/testReport.vue index 1446b2c..910cff6 100644 --- a/test-ui/src/views/test/uiTest/testReport.vue +++ b/test-ui/src/views/test/uiTest/testReport.vue @@ -1,5 +1,35 @@ + + + +