From 88429985c64f478a45dcea2d52cc76398083c351 Mon Sep 17 00:00:00 2001
From: wenyann <64353056+wenyann@users.noreply.github.com>
Date: Wed, 19 Aug 2020 10:45:40 +0800
Subject: [PATCH] =?UTF-8?q?style(LDAP):=20=E5=88=A0=E6=8E=89=E6=97=A0?=
=?UTF-8?q?=E7=94=A8=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/api/report/ApiReportView.vue | 23 -------------------
.../report/PerformanceReportView.vue | 23 -------------------
.../comonents/report/TestCaseReportView.vue | 4 ++--
3 files changed, 2 insertions(+), 48 deletions(-)
diff --git a/frontend/src/business/components/api/report/ApiReportView.vue b/frontend/src/business/components/api/report/ApiReportView.vue
index 39b973d347..53cab35c85 100644
--- a/frontend/src/business/components/api/report/ApiReportView.vue
+++ b/frontend/src/business/components/api/report/ApiReportView.vue
@@ -72,29 +72,6 @@
},
methods: {
- handleExport(name) {
- let html = this.getHtml();
- writer(`${name}.html`, html, 'utf-8');
- },
- getHtml() {
- const template = this.$refs.resume.innerHTML
- let html = `
-
-
-
-
- html
-
-
-
-
-
- ${template}
-
-
- `
- return html
- },
init() {
this.loading = true;
this.report = {};
diff --git a/frontend/src/business/components/performance/report/PerformanceReportView.vue b/frontend/src/business/components/performance/report/PerformanceReportView.vue
index 3d7eec7553..80a7f3e0de 100644
--- a/frontend/src/business/components/performance/report/PerformanceReportView.vue
+++ b/frontend/src/business/components/performance/report/PerformanceReportView.vue
@@ -129,29 +129,6 @@
}
},
methods: {
- exports(name) {
- let html = this.getHtml();
- writer(`${name}.html`, html, 'utf-8');
- },
- getHtml() {
- const template = this.$refs.resume.innerHTML
- let html = `
-
-
-
-
- html
-
-
-
-
-
- ${template}
-
-
- `
- return html
- },
initBreadcrumb() {
if (this.reportId) {
this.result = this.$get("/performance/report/test/pro/info/" + this.reportId, res => {
diff --git a/frontend/src/business/components/track/plan/view/comonents/report/TestCaseReportView.vue b/frontend/src/business/components/track/plan/view/comonents/report/TestCaseReportView.vue
index 901fae1d25..7ee2fc7888 100644
--- a/frontend/src/business/components/track/plan/view/comonents/report/TestCaseReportView.vue
+++ b/frontend/src/business/components/track/plan/view/comonents/report/TestCaseReportView.vue
@@ -146,7 +146,7 @@
this.$refs.templateEdit.open(this.reportId, true);
},
/*导出报告*/
- handleExport(name) {
+ /*handleExport(name) {
let html = this.getHtml();
writer(`${name}.html`, html, 'utf-8');
},
@@ -169,7 +169,7 @@