From 50ee06bff10aff3b2b2b8a7a69fdcbf498c49b8f Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Thu, 15 Oct 2020 18:35:53 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):?= =?UTF-8?q?=20=E4=BC=98=E5=8C=96=E5=8F=98=E9=87=8F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../track/plan/view/comonents/TestCaseRelevance.vue | 10 +++++----- .../review/view/components/TestReviewRelevance.vue | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/frontend/src/business/components/track/plan/view/comonents/TestCaseRelevance.vue b/frontend/src/business/components/track/plan/view/comonents/TestCaseRelevance.vue index 0601753875..f986634948 100644 --- a/frontend/src/business/components/track/plan/view/comonents/TestCaseRelevance.vue +++ b/frontend/src/business/components/track/plan/view/comonents/TestCaseRelevance.vue @@ -68,7 +68,7 @@ -
{{$t('test_track.review_view.last_page')}}
+
{{$t('test_track.review_view.last_page')}}
共 {{total}} 条
@@ -130,7 +130,7 @@ pageSize: 50, currentPage: 1, total: 0, - endStatus: true, + lineStatus: true, condition: { components: TEST_CASE_CONFIGS }, @@ -217,7 +217,7 @@ item.checked = false; }); this.testCases = this.testCases.concat(tableData); - this.endStatus = tableData.length === 50 && this.testCases.length < this.total; + this.lineStatus = tableData.length === 50 && this.testCases.length < this.total; }); } @@ -251,7 +251,7 @@ }, loadData() { if (this.dialogFormVisible) { - if (this.endStatus) { + if (this.lineStatus) { this.currentPage += 1; this.getTestCases(); } @@ -269,7 +269,7 @@ } }, close() { - this.endStatus = false; + this.lineStatus = false; this.selectIds.clear(); this.selectNodeIds = []; this.selectNodeNames = []; 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 d57ede5187..2610e08596 100644 --- a/frontend/src/business/components/track/review/view/components/TestReviewRelevance.vue +++ b/frontend/src/business/components/track/review/view/components/TestReviewRelevance.vue @@ -69,7 +69,7 @@ -
{{$t('test_track.review_view.last_page')}}
+
{{$t('test_track.review_view.last_page')}}
共 {{total}} 条
@@ -134,7 +134,7 @@ pageSize: 50, currentPage: 1, total: 0, - endStatus: true, + lineStatus: true, condition: { components: TEST_CASE_CONFIGS }, @@ -221,7 +221,7 @@ item.checked = false; }); this.testReviews = this.testReviews.concat(tableData); - this.endStatus = tableData.length === 50 && this.testReviews.length < this.total; + this.lineStatus = tableData.length === 50 && this.testReviews.length < this.total; }); } @@ -267,7 +267,7 @@ } }, close() { - this.endStatus = false; + this.lineStatus = false; this.selectIds.clear(); this.selectNodeIds = []; this.selectNodeNames = []; @@ -303,7 +303,7 @@ }, loadData() { if (this.dialogFormVisible) { - if (this.endStatus) { + if (this.lineStatus) { this.currentPage += 1; this.getReviews(); }