From ddf83b104b29536a87275cdba4d90b547c79d759 Mon Sep 17 00:00:00 2001 From: weicw <594098497@qq.com> Date: Wed, 29 Sep 2021 21:01:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A3=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../noise/function-noise-function-type.js | 7 +- src/api/ecology/noise/function-noise-place.js | 7 +- src/api/ecology/noise/road-noise-leq-level.js | 7 +- src/api/ecology/noise/zone-noise-leq-level.js | 7 +- src/api/ecology/noise/zone-noise-place.js | 2 +- .../atmosphere/acid-rain/collect/index.vue | 2 +- src/views/atmosphere/air/statistic/base.vue | 557 +++++++++--------- .../sound/function/dict/function-type.vue | 126 +++- src/views/sound/function/dict/place.vue | 135 ++++- src/views/sound/road/dict/leq-level.vue | 136 ++++- src/views/sound/road/dict/place.vue | 30 +- src/views/sound/zone/dict/leq-level.vue | 130 +++- src/views/sound/zone/dict/place.vue | 182 +++++- src/views/sound/zone/statistic/source.vue | 366 ++++++------ 14 files changed, 1203 insertions(+), 491 deletions(-) diff --git a/src/api/ecology/noise/function-noise-function-type.js b/src/api/ecology/noise/function-noise-function-type.js index 302b11b..0a0905e 100644 --- a/src/api/ecology/noise/function-noise-function-type.js +++ b/src/api/ecology/noise/function-noise-function-type.js @@ -23,13 +23,16 @@ const updateFunctionType = function (data) { const getColumnOptions = function(column){ return axios.get("/sound/function/functionType/options",{params:{column}}) } - +const copyBatchFunctionType = function (data){ + return axios.post("/sound/function/functionType/copyBatch",data) +} export { listAllUrl, saveFunctionType, updateFunctionType, removeBatchFunctionType, removeFunctionType, - getColumnOptions + getColumnOptions, + copyBatchFunctionType } diff --git a/src/api/ecology/noise/function-noise-place.js b/src/api/ecology/noise/function-noise-place.js index c6c94c3..3bdc337 100644 --- a/src/api/ecology/noise/function-noise-place.js +++ b/src/api/ecology/noise/function-noise-place.js @@ -25,6 +25,9 @@ const getColumnOptions = function(column){ return axios.get("/sound/function/place/options",{params:{column}}) } +const copyBatchPlace = function (data){ + return axios.post("/sound/function/place/copyBatch",data) +} export { listAllUrl, @@ -32,6 +35,6 @@ export { updatePlace, removeBatchPlace, removePlace, - getColumnOptions - + getColumnOptions, + copyBatchPlace } diff --git a/src/api/ecology/noise/road-noise-leq-level.js b/src/api/ecology/noise/road-noise-leq-level.js index 86065d7..dfdbe27 100644 --- a/src/api/ecology/noise/road-noise-leq-level.js +++ b/src/api/ecology/noise/road-noise-leq-level.js @@ -24,6 +24,10 @@ const updateLeqLevel = function (data) { const getColumnOptions = function(column){ return axios.get("/sound/road/noiseLeqLevel/options",{params:{column}}) } +const copyBatchLeqLevel = function (data){ + return axios.post("/sound/road/noiseLeqLevel/copyBatch",data) +} + export { @@ -32,6 +36,7 @@ export { updateLeqLevel, removeBatchLeqLevel, removeLeqLevel, - getColumnOptions + getColumnOptions, + copyBatchLeqLevel } diff --git a/src/api/ecology/noise/zone-noise-leq-level.js b/src/api/ecology/noise/zone-noise-leq-level.js index 0c68060..d0e7284 100644 --- a/src/api/ecology/noise/zone-noise-leq-level.js +++ b/src/api/ecology/noise/zone-noise-leq-level.js @@ -24,6 +24,10 @@ const getColumnOptions = function(column){ return axios.get("/sound/zone/noiseLeqLevel/options",{params:{column}}) } +const copyBatchLeqLevel = function (data){ + return axios.post("/sound/zone/noiseLeqLevel/copyBatch",data) +} + export { listAllUrl, @@ -31,6 +35,7 @@ export { updateLeqLevel, removeBatchLeqLevel, removeLeqLevel, - getColumnOptions + getColumnOptions, + copyBatchLeqLevel } diff --git a/src/api/ecology/noise/zone-noise-place.js b/src/api/ecology/noise/zone-noise-place.js index 2b87162..ccfab35 100644 --- a/src/api/ecology/noise/zone-noise-place.js +++ b/src/api/ecology/noise/zone-noise-place.js @@ -25,7 +25,7 @@ const getColumnOptions = function(column){ return axios.get("/sound/zone/place/options",{params:{column}}) } const copyBatchPlace = function (data){ - return axios.post("/sound/zone/copyBatch",data) + return axios.post("/sound/zone/place/copyBatch",data) } diff --git a/src/views/atmosphere/acid-rain/collect/index.vue b/src/views/atmosphere/acid-rain/collect/index.vue index ad7cf45..05f330a 100644 --- a/src/views/atmosphere/acid-rain/collect/index.vue +++ b/src/views/atmosphere/acid-rain/collect/index.vue @@ -60,7 +60,7 @@ export default { const reportDate = aoa[2][0].replace(/[^\d]+/g, "-"); const acidList = aoa.filter((item) => { - return item.length >= 23 && item[0] && !item[0].includes("编号"); + return item.length >= 16 && item[0] && !item[0].includes("编号"); }); // 解析成对象数组 const billName = aoa[0][0] + aoa[1][0]; diff --git a/src/views/atmosphere/air/statistic/base.vue b/src/views/atmosphere/air/statistic/base.vue index d849746..0f25388 100644 --- a/src/views/atmosphere/air/statistic/base.vue +++ b/src/views/atmosphere/air/statistic/base.vue @@ -1,284 +1,309 @@ diff --git a/src/views/sound/function/dict/function-type.vue b/src/views/sound/function/dict/function-type.vue index 3b30619..f92e2e5 100644 --- a/src/views/sound/function/dict/function-type.vue +++ b/src/views/sound/function/dict/function-type.vue @@ -1,6 +1,52 @@