From c903f1ec6f9d1d4868218cb25aa59632e529665e Mon Sep 17 00:00:00 2001 From: weicw <594098497@qq.com> Date: Thu, 26 Aug 2021 16:32:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=82=E5=90=8C=E6=AF=94=E4=B8=8E=E5=B9=B4?= =?UTF-8?q?=E5=90=8C=E6=AF=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/ecology/zone-sound.js | 4 +- src/views/sound/road/statistic/compare.vue | 4 +- src/views/sound/zone/statistic/average.vue | 383 +++++++--------- src/views/sound/zone/statistic/compare.vue | 508 --------------------- src/views/sound/zone/statistic/index.vue | 18 +- src/views/sound/zone/statistic/year.vue | 224 +++++++++ 6 files changed, 408 insertions(+), 733 deletions(-) delete mode 100644 src/views/sound/zone/statistic/compare.vue create mode 100644 src/views/sound/zone/statistic/year.vue diff --git a/src/api/ecology/zone-sound.js b/src/api/ecology/zone-sound.js index 0107142..1b63912 100644 --- a/src/api/ecology/zone-sound.js +++ b/src/api/ecology/zone-sound.js @@ -50,6 +50,7 @@ const updateZoneNoise = function (data) { // -------------------------统计--------------------- const pageZoneNoiseStatisticUrl = '/sound/zone/noise/statistic'; const statisticSourceUrl = '/sound/zone/noise/statistic/source'; +const statisticYearUrl = '/sound/zone/noise/statistic/year'; const getHistoryyears = function () { return axios.get("/sound/zone/noise/history-year") } @@ -73,6 +74,7 @@ export { pageZoneNoiseStatisticUrl, getHistoryyears, getColumnOptions, - statisticSourceUrl + statisticSourceUrl, + statisticYearUrl } diff --git a/src/views/sound/road/statistic/compare.vue b/src/views/sound/road/statistic/compare.vue index bc922a6..733daea 100644 --- a/src/views/sound/road/statistic/compare.vue +++ b/src/views/sound/road/statistic/compare.vue @@ -12,7 +12,7 @@ --> - + -
- - - - + + + + + + + 查询 + + 导出Excel + + + + + + + + +
+ - \ No newline at end of file diff --git a/src/views/sound/zone/statistic/compare.vue b/src/views/sound/zone/statistic/compare.vue deleted file mode 100644 index e4c574e..0000000 --- a/src/views/sound/zone/statistic/compare.vue +++ /dev/null @@ -1,508 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/sound/zone/statistic/index.vue b/src/views/sound/zone/statistic/index.vue index 9ca9104..a7a8b60 100644 --- a/src/views/sound/zone/statistic/index.vue +++ b/src/views/sound/zone/statistic/index.vue @@ -8,14 +8,14 @@ - + - - + + @@ -30,17 +30,19 @@ */ import BaseStatistic from "./base.vue"; // import QuarterStatistic from "./quarter.vue"; - import Compare from "./compare.vue" - import AverageStatistic from "./average.vue" - import SourceStatistic from "./source.vue" + // import Compare from "./compare.vue"; + import AverageStatistic from "./average.vue"; + import SourceStatistic from "./source.vue"; + import YearStatistic from "./year.vue"; export default { name: 'StatisticSoundZone', components: { BaseStatistic, SourceStatistic, - Compare, - AverageStatistic + // Compare, + AverageStatistic, + YearStatistic }, data() { return { diff --git a/src/views/sound/zone/statistic/year.vue b/src/views/sound/zone/statistic/year.vue new file mode 100644 index 0000000..2d4b011 --- /dev/null +++ b/src/views/sound/zone/statistic/year.vue @@ -0,0 +1,224 @@ + + + + + \ No newline at end of file