From 1fca189a551bfcd4e19b29e3beeec89b8405465a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Sun, 29 Jan 2023 00:29:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E8=A1=A8=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xm/rpt/testPlan/testPlanCaseExecStatusDist.vue | 8 ++------ src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue | 11 ++++------- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/src/views/xm/rpt/testPlan/testPlanCaseExecStatusDist.vue b/src/views/xm/rpt/testPlan/testPlanCaseExecStatusDist.vue index 3ea4c610..9df60a82 100644 --- a/src/views/xm/rpt/testPlan/testPlanCaseExecStatusDist.vue +++ b/src/views/xm/rpt/testPlan/testPlanCaseExecStatusDist.vue @@ -206,13 +206,9 @@ if(this.filters.testCasedb && this.filters.testCasedb.id){ params.casedbId=this.filters.testCasedb.id } - if(params.productId || params.projectId || params.planId || params.casedbId || params.linkIterationId){ - getXmTestPlanCaseExecStatusDist(params).then(res=>{ + getXmTestPlanCaseExecStatusDist(params).then(res=>{ this.xmTestPlanCaseExecStatusDists=res.data.data - }) - }else{ - this.$message.error("请选择查询条件,项目、产品、迭代、测试计划最少选择一个") - } + }) }, onProjectSelected(project){ this.filters.project=project diff --git a/src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue b/src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue index 36f226a0..9130c37f 100644 --- a/src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue +++ b/src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue @@ -216,13 +216,10 @@ if(this.filters.testCasedb && this.filters.testCasedb.id){ params.casedbId=this.filters.testCasedb.id } - if(params.productId || params.projectId || params.planId || params.casedbId || params.linkIterationId){ - getXmTestPlanCaseUserDist(params).then(res=>{ - this.xmTestPlanCaseUserDists=res.data.data - }) - }else{ - this.$message.error("请选择查询条件,项目、产品、迭代、测试计划最少选择一个") - } + getXmTestPlanCaseUserDist(params).then(res=>{ + this.xmTestPlanCaseUserDists=res.data.data + }) + }, onProjectSelected(project){