From 8394d880931ac53b079ba17e857dfba574347db2 Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Wed, 11 Nov 2020 16:02:36 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95):?= =?UTF-8?q?=20=E4=BF=AE=E6=94=B9=E6=96=87=E4=BB=B6=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/components/performance/router.js | 10 +-- ...ceTestPlan.vue => EditPerformanceTest.vue} | 62 +++++++++---------- ...ceTestPlan.vue => PerformanceTestList.vue} | 20 +++--- .../components/PerformanceBasicConfig.vue | 16 ++--- .../components/PerformancePressureConfig.vue | 16 +++-- .../performance/test/model/ThreadGroup.js | 10 +++ .../comonents/test/PerformanceTestDetail.vue | 37 +++++------ 7 files changed, 94 insertions(+), 77 deletions(-) rename frontend/src/business/components/performance/test/{EditPerformanceTestPlan.vue => EditPerformanceTest.vue} (83%) rename frontend/src/business/components/performance/test/{PerformanceTestPlan.vue => PerformanceTestList.vue} (93%) diff --git a/frontend/src/business/components/performance/router.js b/frontend/src/business/components/performance/router.js index d16b239673..8c4197e01d 100644 --- a/frontend/src/business/components/performance/router.js +++ b/frontend/src/business/components/performance/router.js @@ -2,8 +2,8 @@ import MsProject from "@/business/components/project/MsProject"; const PerformanceTest = () => import('@/business/components/performance/PerformanceTest') const PerformanceTestHome = () => import('@/business/components/performance/home/PerformanceTestHome') -const EditPerformanceTestPlan = () => import('@/business/components/performance/test/EditPerformanceTestPlan') -const PerformanceTestPlan = () => import('@/business/components/performance/test/PerformanceTestPlan') +const EditPerformanceTest = () => import('@/business/components/performance/test/EditPerformanceTest') +const PerformanceTestList = () => import('@/business/components/performance/test/PerformanceTestList') const PerformanceTestReport = () => import('@/business/components/performance/report/PerformanceTestReport') const PerformanceChart = () => import('@/business/components/performance/report/components/PerformanceChart') const PerformanceReportView = () => import('@/business/components/performance/report/PerformanceReportView') @@ -24,12 +24,12 @@ export default { { path: 'test/create', name: "createPerTest", - component: EditPerformanceTestPlan, + component: EditPerformanceTest, }, { path: "test/edit/:testId", name: "editPerTest", - component: EditPerformanceTestPlan, + component: EditPerformanceTest, props: { content: (route) => { return { @@ -41,7 +41,7 @@ export default { { path: "test/:projectId", name: "perPlan", - component: PerformanceTestPlan + component: PerformanceTestList }, { path: "project/:type", diff --git a/frontend/src/business/components/performance/test/EditPerformanceTestPlan.vue b/frontend/src/business/components/performance/test/EditPerformanceTest.vue similarity index 83% rename from frontend/src/business/components/performance/test/EditPerformanceTestPlan.vue rename to frontend/src/business/components/performance/test/EditPerformanceTest.vue index f4b652cba5..baf4c660ca 100644 --- a/frontend/src/business/components/performance/test/EditPerformanceTestPlan.vue +++ b/frontend/src/business/components/performance/test/EditPerformanceTest.vue @@ -4,12 +4,12 @@ -