diff --git a/src/api/ecology/road-sound.js b/src/api/ecology/road-sound.js
index 195a4d5..578b9fb 100644
--- a/src/api/ecology/road-sound.js
+++ b/src/api/ecology/road-sound.js
@@ -49,6 +49,7 @@ const updateRoadNoise = function (data) {
// -------------------------统计---------------------
const pageRoadNoiseStatisticUrl = '/sound/road/noise/statistic';
+const pageRoadNoiseCompare = '/sound/road/noise/statistic/compare';
const getHistoryyears = function () {
return axios.get("/sound/road/noise/history-year")
}
@@ -66,6 +67,7 @@ export {
updateRoadNoise,
removeBatchRoadNoise,
pageRoadNoiseStatisticUrl,
- getHistoryyears
+ getHistoryyears,
+ pageRoadNoiseCompare
}
diff --git a/src/views/sound/road/collect/utils.js b/src/views/sound/road/collect/utils.js
index e5e1d52..a01afb6 100644
--- a/src/views/sound/road/collect/utils.js
+++ b/src/views/sound/road/collect/utils.js
@@ -7,6 +7,16 @@ export default {
monitorTime.setDate(item[11]);
monitorTime.setHours(item[12]);
monitorTime.setMinutes(item[13]);
+ let quarter = 1;
+ if ((item[10] - 1) < 4) {
+ quarter = 1
+ } else if ((item[10] - 1) < 7) {
+ quarter = 2
+ } else if ((item[10] - 1) < 10) {
+ quarter = 3
+ } else{
+ quarter = 4
+ }
return {
monitorYear: item[0],
place: item[1],
@@ -31,6 +41,8 @@ export default {
indexL90: item[18],
indexLmin: item[19],
indexLmax: item[20],
+ quarter
+
}
})
diff --git a/src/views/sound/road/statistic/average.vue b/src/views/sound/road/statistic/average.vue
new file mode 100644
index 0000000..755e2fb
--- /dev/null
+++ b/src/views/sound/road/statistic/average.vue
@@ -0,0 +1,412 @@
+
+
+
data = d.data" :scroll="{x: 'max-content'}">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+ 导出excel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/sound/road/statistic/base.vue b/src/views/sound/road/statistic/base.vue
index 737ebf6..a7ea29f 100644
--- a/src/views/sound/road/statistic/base.vue
+++ b/src/views/sound/road/statistic/base.vue
@@ -1,412 +1,422 @@
-
-
data = d.data" :scroll="{x: 'max-content'}">
-
-
-
+
+
+
+
-
-
-
+
+
-
-
-
+
+
-
-
-
-
+
+
+
-
-
+
查询
重置
- 导出excel
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 昼
+ 夜
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
\ No newline at end of file
diff --git a/src/views/sound/road/statistic/compare.vue b/src/views/sound/road/statistic/compare.vue
index ceac8bc..619cabb 100644
--- a/src/views/sound/road/statistic/compare.vue
+++ b/src/views/sound/road/statistic/compare.vue
@@ -1,54 +1,55 @@
-
data = d.data" :scroll="{x: 'max-content'}">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
- 查询
- 重置
- 导出excel
-
-
-
-
-
-
-
-
+
+