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%;