From 5cb8ae30a0496200ae690de036e1c6f2fe4470e6 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Mon, 29 May 2023 09:57:30 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=AD=89=E5=BE=85=E6=8E=A7=E5=88=B6=E5=99=A8?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=8A=B6=E6=80=81=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1026218 --user=王孝刚 【接口测试】场景-生成报告-等待控制器显示执行结果success https://www.tapd.cn/55049933/s/1376396 --- .../automation/report/components/ScenarioResult.vue | 4 ++-- .../frontend/src/business/menu/appmanage/AppManage.vue | 10 ++++++++-- .../view/comonents/report/detail/ui/ScenarioResult.vue | 3 ++- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/api-test/frontend/src/business/automation/report/components/ScenarioResult.vue b/api-test/frontend/src/business/automation/report/components/ScenarioResult.vue index 1fd1eb122e..4d0514a917 100644 --- a/api-test/frontend/src/business/automation/report/components/ScenarioResult.vue +++ b/api-test/frontend/src/business/automation/report/components/ScenarioResult.vue @@ -23,8 +23,8 @@
- +
diff --git a/project-management/frontend/src/business/menu/appmanage/AppManage.vue b/project-management/frontend/src/business/menu/appmanage/AppManage.vue index 17e6253809..866287e268 100644 --- a/project-management/frontend/src/business/menu/appmanage/AppManage.vue +++ b/project-management/frontend/src/business/menu/appmanage/AppManage.vue @@ -924,15 +924,21 @@ export default { getProjectUsers().then((res) => { this.userInProject = res.data; //判断审核人是否在其中,如果不在则置空。 - let isExist = false; + let isExistPer = false; + let isExistApi = false; this.userInProject.forEach((item) => { if (item.id === this.config.performanceScriptReviewer) { - isExist = true; + isExistPer = true; + } + if (item.id === this.config.apiScriptReviewer) { + isExistApi = true; } }); if (!isExist) { this.$set(this.config, "performanceScriptReviewer", null); this.$set(this.config, "performanceReviewLoadTestScript", false); + } + if (!isExistApi) { this.$set(this.config, "apiScriptReviewer", null); this.$set(this.config, "apiReviewTestScript", false); } diff --git a/test-track/frontend/src/business/plan/view/comonents/report/detail/ui/ScenarioResult.vue b/test-track/frontend/src/business/plan/view/comonents/report/detail/ui/ScenarioResult.vue index ec8b75362d..079e0a31fa 100644 --- a/test-track/frontend/src/business/plan/view/comonents/report/detail/ui/ScenarioResult.vue +++ b/test-track/frontend/src/business/plan/view/comonents/report/detail/ui/ScenarioResult.vue @@ -19,7 +19,8 @@
- +