From 1c0a0c943c95f304784d4adad4a31ac0bfba55bd Mon Sep 17 00:00:00 2001 From: wj <347312259@qq.com> Date: Wed, 24 May 2023 11:41:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AF=94=E5=88=86=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- psdc-ui/src/api/analyse/nhfx/nhfx.js | 4 + psdc-ui/src/views/analyse/nhfx/index.vue | 309 ++++++++++++++++++++--- 2 files changed, 274 insertions(+), 39 deletions(-) diff --git a/psdc-ui/src/api/analyse/nhfx/nhfx.js b/psdc-ui/src/api/analyse/nhfx/nhfx.js index dcea9a4..90213d8 100644 --- a/psdc-ui/src/api/analyse/nhfx/nhfx.js +++ b/psdc-ui/src/api/analyse/nhfx/nhfx.js @@ -1,5 +1,9 @@ import request from '@/utils/request' +/** 计算同比分析*/ +export function getTongbiFx(data) { + return request.post('/evaluate/analysis/yearOnYearAnalyse',data) +} /** 计算环比分析*/ diff --git a/psdc-ui/src/views/analyse/nhfx/index.vue b/psdc-ui/src/views/analyse/nhfx/index.vue index bcf0e43..28e335b 100644 --- a/psdc-ui/src/views/analyse/nhfx/index.vue +++ b/psdc-ui/src/views/analyse/nhfx/index.vue @@ -5,7 +5,7 @@ - + @@ -14,28 +14,18 @@ 下一年 查询 -
-
+
+
+
- + - - - - + + + + -
@@ -78,7 +68,7 @@
-
+
关闭
@@ -90,15 +80,17 @@ @@ -284,10 +511,13 @@ function close(){ .chartBox{ width: 100%; height: 300px; - border: 1px solid #fff; margin-bottom: 18px; overflow: hidden; - #chart{ + #tongbiChart{ + width: 100%; + height: 100%; + } + #huanbiChart{ width: 100%; height: 100%; } @@ -296,6 +526,7 @@ function close(){ width: 100%; height: 402px; overflow: hidden; + background-color: #2F3D8A; } .tableBox2{ width: 100%;