From ea3895d31556d8e194d863e735ea1a21da0a3084 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Mon, 23 Nov 2020 14:44:54 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=88=A0=E9=99=A4=E6=97=A0?= =?UTF-8?q?=E7=94=A8=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/components/track/plan/components/TestPlanEdit.vue | 3 --- .../business/components/track/plan/components/TestPlanList.vue | 2 -- .../track/review/view/components/TestReviewRelevance.vue | 1 - .../track/review/view/components/TestReviewTestCaseEdit.vue | 2 +- .../track/review/view/components/TestReviewTestCaseList.vue | 1 - 5 files changed, 1 insertion(+), 8 deletions(-) diff --git a/frontend/src/business/components/track/plan/components/TestPlanEdit.vue b/frontend/src/business/components/track/plan/components/TestPlanEdit.vue index b50c8ed87f..3ac4fc0864 100644 --- a/frontend/src/business/components/track/plan/components/TestPlanEdit.vue +++ b/frontend/src/business/components/track/plan/components/TestPlanEdit.vue @@ -58,11 +58,8 @@ - - - diff --git a/frontend/src/business/components/track/plan/components/TestPlanList.vue b/frontend/src/business/components/track/plan/components/TestPlanList.vue index c3459c4d44..3f9d82821d 100644 --- a/frontend/src/business/components/track/plan/components/TestPlanList.vue +++ b/frontend/src/business/components/track/plan/components/TestPlanList.vue @@ -208,11 +208,9 @@ export default { methods: { initTableData() { if (this.planId) { - // param.planId = this.planId; this.condition.planId = this.planId; } if (this.selectNodeIds && this.selectNodeIds.length > 0) { - // param.nodeIds = this.selectNodeIds; this.condition.nodeIds = this.selectNodeIds; } this.result = this.$post(this.buildPagePath(this.queryPath), this.condition, response => { diff --git a/frontend/src/business/components/track/review/view/components/TestReviewRelevance.vue b/frontend/src/business/components/track/review/view/components/TestReviewRelevance.vue index 8e532c480c..9c965c1fb1 100644 --- a/frontend/src/business/components/track/review/view/components/TestReviewRelevance.vue +++ b/frontend/src/business/components/track/review/view/components/TestReviewRelevance.vue @@ -231,7 +231,6 @@ this.selectIds.add(item.id); }); } else { - // this.selectIds.clear(); this.testReviews.forEach(item => { if (this.selectIds.has(item.id)) { this.selectIds.delete(item.id); diff --git a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue index db26dcae91..3a55a66aaa 100644 --- a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue +++ b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue @@ -389,7 +389,7 @@ export default { this.saveReport(reportId); }, saveReport(reportId) { - // this.$post('/test/plan/case/edit', {id: this.testCase.id, reportId: reportId}); + }, getComments(testCase) { let id = ''; diff --git a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseList.vue b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseList.vue index b0e3061dd5..cdf59070ff 100644 --- a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseList.vue +++ b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseList.vue @@ -301,7 +301,6 @@ export default { return path + "/" + this.currentPage + "/" + this.pageSize; }, handleEdit(testCase, index) { - // console.log(testCase) this.isReadOnly = false; if (!checkoutTestManagerOrTestUser()) { this.isReadOnly = true;