From d53844ef153996c6e787a47556c1c213754e7eab Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Mon, 16 Aug 2021 17:25:11 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9C=BA=E6=99=AF=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E6=AD=A5=E9=AA=A4=E5=A2=9E=E5=8A=A0=E5=81=9C=E6=AD=A2=E6=8C=89?= =?UTF-8?q?=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scenario/component/ApiComponent.vue | 97 +++++++++++-------- .../components/case/ApiCaseItem.vue | 30 +++++- .../components/case/ApiCaseList.vue | 16 ++- .../components/runtest/RunTestDubboPage.vue | 15 +-- .../components/runtest/RunTestHTTPPage.vue | 15 +-- .../components/runtest/RunTestSQLPage.vue | 14 +-- .../components/runtest/RunTestTCPPage.vue | 6 +- 7 files changed, 129 insertions(+), 64 deletions(-) diff --git a/frontend/src/business/components/api/automation/scenario/component/ApiComponent.vue b/frontend/src/business/components/api/automation/scenario/component/ApiComponent.vue index a1a98107ae..0e8a34de8f 100644 --- a/frontend/src/business/components/api/automation/scenario/component/ApiComponent.vue +++ b/frontend/src/business/components/api/automation/scenario/component/ApiComponent.vue @@ -1,7 +1,6 @@ - { + this.runLoading = false; + this.loading = false; + this.$success(this.$t('report.test_stop_success')); + }); + }, errorRefresh() { this.loading = false; }, @@ -530,4 +545,10 @@ export default { .ms-req-success { color: #67C23A; } + +.stop-btn { + background-color: #E62424; + border-color: #EE6161; + color: white; +} diff --git a/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue b/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue index 6dc32e3122..8f527e8c1e 100644 --- a/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue +++ b/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue @@ -1,5 +1,5 @@