From 22da957777d9f52ef78b9ba9647dcb54e041bdaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=AE=BF=E6=98=95?= Date: Tue, 22 Dec 2020 11:18:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E8=90=A5=E7=AE=A1=E6=8E=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/data-analysis/my-service.vue | 2 +- src/pages/data-analysis/org-application.vue | 2 +- src/pages/data-analysis/org-service.vue | 2 +- src/pages/data-analysis/super-application.vue | 7 ++----- src/pages/data-analysis/super-service.vue | 2 +- 5 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/pages/data-analysis/my-service.vue b/src/pages/data-analysis/my-service.vue index da4307e..54312f2 100644 --- a/src/pages/data-analysis/my-service.vue +++ b/src/pages/data-analysis/my-service.vue @@ -588,7 +588,7 @@ export default { }; // top5_rank this.hotSearchData = []; - if (data.top5_rank && data.top5_rank.length) { + if (data.top5_rank && data.top5_rank.length != 0) { data.top5_rank.forEach((e, idx) => { this.hotSearchData.push({ id: e.service_id, diff --git a/src/pages/data-analysis/org-application.vue b/src/pages/data-analysis/org-application.vue index cb9c900..121a267 100644 --- a/src/pages/data-analysis/org-application.vue +++ b/src/pages/data-analysis/org-application.vue @@ -315,7 +315,7 @@ export default { now_app_count: 14, now_app_deploy: 1, now_app_evalute: 1, - now_app_approval: 0, + now_app_approval: 14, now_app_approval_state: 0, mult_data: [ { name: "基础工具", value: 0 }, diff --git a/src/pages/data-analysis/org-service.vue b/src/pages/data-analysis/org-service.vue index 4726d33..8e91967 100644 --- a/src/pages/data-analysis/org-service.vue +++ b/src/pages/data-analysis/org-service.vue @@ -500,7 +500,7 @@ export default { }; // top5_rank this.hotSearchData = []; - if (data.top5_rank && data.top5_rank.length) { + if (data.top5_rank && data.top5_rank.length != 0) { data.top5_rank.forEach((e, idx) => { this.hotSearchData.push({ id: e.service_id, diff --git a/src/pages/data-analysis/super-application.vue b/src/pages/data-analysis/super-application.vue index 96d72e8..479e215 100644 --- a/src/pages/data-analysis/super-application.vue +++ b/src/pages/data-analysis/super-application.vue @@ -309,7 +309,7 @@ export default { now_app_count: 14, now_app_deploy: 1, now_app_evalute: 1, - now_app_approval: 0, + now_app_approval: 14, now_app_approval_state: 0, mult_data: [ { name: "基础工具", value: 0 }, @@ -711,10 +711,7 @@ export default { .then((response) => { if (response.data.success == 1) { let data = response.data.data; - this.serviceSpData = { - xAxisData: data.data, - seriesData: data.series, - }; + this.Yysp_data = data.series[0].data; } }); }, diff --git a/src/pages/data-analysis/super-service.vue b/src/pages/data-analysis/super-service.vue index 111a25d..a5a2198 100644 --- a/src/pages/data-analysis/super-service.vue +++ b/src/pages/data-analysis/super-service.vue @@ -494,7 +494,7 @@ export default { }; // top5_rank this.hotSearchData = []; - if (data.top5_rank && data.top5_rank.length) { + if (data.top5_rank && data.top5_rank.length != 0) { data.top5_rank.forEach((e, idx) => { this.hotSearchData.push({ id: e.service_id, -- 2.26.0