From 4f13120d310f890234a4c01d40d60ef793e8e23d Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Wed, 10 Jun 2020 10:31:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E6=B7=BB=E5=8A=A0=E6=8A=A5=E5=91=8A=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../view/comonents/TestPlanTestCaseList.vue | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/frontend/src/business/components/track/plan/view/comonents/TestPlanTestCaseList.vue b/frontend/src/business/components/track/plan/view/comonents/TestPlanTestCaseList.vue index 938a555ef..c88a74418 100644 --- a/frontend/src/business/components/track/plan/view/comonents/TestPlanTestCaseList.vue +++ b/frontend/src/business/components/track/plan/view/comonents/TestPlanTestCaseList.vue @@ -13,6 +13,8 @@ + + @@ -138,6 +140,9 @@ :is-read-only="isReadOnly" @refreshTable="search"/> + + + @@ -173,6 +178,8 @@ export default { name: "TestPlanTestCaseList", components: { + TestCaseReportView, + TestReportTemplateList, MsTableOperatorButton, MsTableOperator, MethodTableItem, @@ -356,6 +363,9 @@ } this.initTableData(); }, + openTestReport() { + this.$refs.testReporTtemplateList.open(this.planId); + }, statusChange(param) { this.$post('/test/plan/case/edit' , param, () => { for (let i = 0; i < this.tableData.length; i++) { @@ -374,6 +384,16 @@ }); } }, + openReport(planId, id) { + this.getTestPlanById(); + if (!id) { + id = this.testPlan.reportId; + } + if (!planId) { + planId = this.planId; + } + this.$refs.testCaseReportView.open(planId, id); + }, filter(filters) { _filter(filters, this.condition); this.initTableData(); -- GitLab