From 03815d04b695eb9bd7e477c183bcb47d203cfee6 Mon Sep 17 00:00:00 2001
From: weicw <594098497@qq.com>
Date: Fri, 10 Sep 2021 10:14:44 +0800
Subject: [PATCH] =?UTF-8?q?=E7=BB=93=E6=9E=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/ecology/acid.js | 2 +-
src/api/ecology/air.js | 6 +
src/api/ecology/river.js | 6 +-
.../atmosphere/acid-rain/collect/colums.js | 18 +
.../atmosphere/acid-rain/collect/index.vue | 152 +-----
.../atmosphere/acid-rain/collect/rain.vue | 123 +----
.../atmosphere/acid-rain/collect/utils.js | 172 +-----
.../atmosphere/acid-rain/statistic/base.vue | 3 +-
.../atmosphere/acid-rain/statistic/index.vue | 2 +-
src/views/atmosphere/air/collect/air.vue | 3 +-
.../atmosphere/air/statistic/average.vue | 213 --------
src/views/atmosphere/air/statistic/base.vue | 72 +--
src/views/atmosphere/air/statistic/index.vue | 28 +-
src/views/atmosphere/air/statistic/source.vue | 195 -------
src/views/atmosphere/air/statistic/year.vue | 224 --------
src/views/sound/function/collect/noise.vue | 3 +-
src/views/sound/function/statistic/base.vue | 3 +-
src/views/sound/function/statistic/index.vue | 2 +-
src/views/sound/road/collect/noise.vue | 3 +-
src/views/sound/road/statistic/base.vue | 3 +-
src/views/sound/road/statistic/index.vue | 2 +-
src/views/sound/zone/collect/noise.vue | 3 +-
src/views/sound/zone/statistic/base.vue | 3 +-
src/views/sound/zone/statistic/index.vue | 2 +-
.../drinking-water-village/collect/index.vue | 4 +-
.../drinking-water-village/collect/water.vue | 3 +-
.../drinking-water-village/statistic/base.vue | 3 +-
.../statistic/index.vue | 2 +-
.../water/drinking-water/collect/index.vue | 4 +-
.../water/drinking-water/collect/water.vue | 3 +-
.../water/drinking-water/statistic/base.vue | 3 +-
.../water/drinking-water/statistic/index.vue | 2 +-
.../water/lake/collect/special-water.vue | 3 +-
src/views/water/lake/collect/water.vue | 3 +-
src/views/water/lake/statistic/base.vue | 3 +-
src/views/water/lake/statistic/index.vue | 2 +-
.../water/river-station/statistic/base.vue | 3 +-
.../water/river-station/statistic/index.vue | 2 +-
src/views/water/river/collect/water.vue | 3 +-
src/views/water/river/statistic/average.vue | 213 --------
src/views/water/river/statistic/base.vue | 361 +------------
src/views/water/river/statistic/colums.js | 50 ++
src/views/water/river/statistic/index.vue | 25 +-
src/views/water/river/statistic/source.vue | 195 -------
src/views/water/river/statistic/year.vue | 224 --------
src/views/water/sewage/collect/city-river.vue | 3 +-
src/views/water/sewage/statistic/base.vue | 3 +-
src/views/water/sewage/statistic/index.vue | 2 +-
.../collect/water-bill.vue | 26 -
.../water-function-area/statistic/average.vue | 258 ---------
.../water-function-area/statistic/base.vue | 3 +-
.../water-function-area/statistic/colums.js | 27 +
.../water-function-area/statistic/compare.vue | 508 ------------------
.../water-function-area/statistic/index.vue | 18 +-
54 files changed, 228 insertions(+), 2974 deletions(-)
create mode 100644 src/views/atmosphere/acid-rain/collect/colums.js
delete mode 100644 src/views/atmosphere/air/statistic/average.vue
delete mode 100644 src/views/atmosphere/air/statistic/source.vue
delete mode 100644 src/views/atmosphere/air/statistic/year.vue
delete mode 100644 src/views/water/river/statistic/average.vue
create mode 100644 src/views/water/river/statistic/colums.js
delete mode 100644 src/views/water/river/statistic/source.vue
delete mode 100644 src/views/water/river/statistic/year.vue
delete mode 100644 src/views/water/water-function-area/statistic/average.vue
create mode 100644 src/views/water/water-function-area/statistic/colums.js
delete mode 100644 src/views/water/water-function-area/statistic/compare.vue
diff --git a/src/api/ecology/acid.js b/src/api/ecology/acid.js
index f74b7df..7072f3a 100644
--- a/src/api/ecology/acid.js
+++ b/src/api/ecology/acid.js
@@ -3,7 +3,7 @@ import axios from 'axios';
const pageBillUrl = '/acidRain/acidRainBill/page';
// 添加
const saveAcidRainBill = function (data) {
- return axios.post("/acidRain/acidRainBill/batch",data)
+ return axios.post("/acidRain/acidRainBill/importBatch",data)
}
// 删除
diff --git a/src/api/ecology/air.js b/src/api/ecology/air.js
index ff486ba..03d2f6e 100644
--- a/src/api/ecology/air.js
+++ b/src/api/ecology/air.js
@@ -27,7 +27,12 @@ const getAirBill = function (id) {
return axios.get(`/ambientAir/ambientAirBill/${id}`)
}
// -------------------------数据---------------------
+// 分页
const pageAirUrl = '/ambientAir/ambientAir/page';
+// 全部
+const listAllAir = function (params){
+ return axios .get("/ambientAir/ambientAir",{params})
+}
// 添加
const saveAir = function (data) {
return axios.post("/ambientAir/ambientAir",data)
@@ -62,6 +67,7 @@ export {
verifyAirBill,
getAirBill,
pageAirUrl,
+ listAllAir,
saveAir,
removeAir,
updateAir,
diff --git a/src/api/ecology/river.js b/src/api/ecology/river.js
index 9702483..a8794f5 100644
--- a/src/api/ecology/river.js
+++ b/src/api/ecology/river.js
@@ -28,6 +28,9 @@ const getRiverBill = function (id) {
}
// -------------------------数据---------------------
const pageRiverUrl = '/surfaceWaterSection/surfaceWaterSection/page';
+const listAllRiver = function (params) {
+ return axios.get("/surfaceWaterSection/surfaceWaterSection",{params})
+}
// 添加
const saveRiver = function (data) {
return axios.post("/surfaceWaterSection/surfaceWaterSection",data)
@@ -75,6 +78,7 @@ export {
getHistoryyears,
getColumnOptions,
statisticSourceUrl,
- statisticYearUrl
+ statisticYearUrl,
+ listAllRiver
}
diff --git a/src/views/atmosphere/acid-rain/collect/colums.js b/src/views/atmosphere/acid-rain/collect/colums.js
new file mode 100644
index 0000000..3fa95f6
--- /dev/null
+++ b/src/views/atmosphere/acid-rain/collect/colums.js
@@ -0,0 +1,18 @@
+const tableColumns = [
+ {title: "编号",dataIndex: "code",sorter: true,},
+ {title: "降水类型",dataIndex: "precipitationType",sorter: true,},
+ {title: "降雨量(mm)",dataIndex: "precipitation",sorter: true,},
+ {title: "pH值(无量纲)",dataIndex: "ph",sorter: true,},
+ {title: "电导率(mS/m)",dataIndex: "conductivity",sorter: true,},
+ {title: "氟离子",dataIndex: "fluorine",sorter: true,},
+ {title: "氯离子",dataIndex: "chlorine",sorter: true,},
+ {title: "硫酸根离子",dataIndex: "sulfateRadical",sorter: true,},
+ {title: "硝酸根离子",dataIndex: "nitrate",sorter: true,},
+ {title: "钠离子",dataIndex: "na",sorter: true,},
+ {title: "铵根离子",dataIndex: "ammoniumRadical",sorter: true,},
+ {title: "钾离子",dataIndex: "k",sorter: true,},
+ {title: "镁离子",dataIndex: "ng",sorter: true,},
+ {title: "钙离子",dataIndex: "ca",sorter: true,},
+ {title: "备注",dataIndex: "remark",sorter: true,},
+ ];
+ export {tableColumns}
\ No newline at end of file
diff --git a/src/views/atmosphere/acid-rain/collect/index.vue b/src/views/atmosphere/acid-rain/collect/index.vue
index dfd0c01..ad7cf45 100644
--- a/src/views/atmosphere/acid-rain/collect/index.vue
+++ b/src/views/atmosphere/acid-rain/collect/index.vue
@@ -4,19 +4,13 @@
数据导入
-
+
@@ -31,9 +25,10 @@
-
-
\ No newline at end of file
diff --git a/src/views/atmosphere/air/statistic/base.vue b/src/views/atmosphere/air/statistic/base.vue
index 8e76401..d849746 100644
--- a/src/views/atmosphere/air/statistic/base.vue
+++ b/src/views/atmosphere/air/statistic/base.vue
@@ -4,6 +4,7 @@
@@ -19,37 +20,14 @@
-
-
-
- {{ item.label }}
-
-
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
+
+
+
查询
重置
导出Excel
-
@@ -57,7 +35,7 @@
// import _ from "lodash";
import XLSX from "xlsx";
-import { pageAirUrl, getColumnOptions } from "@/api/ecology/air";
+import { pageAirUrl, getColumnOptions,listAllAir } from "@/api/ecology/air";
import locale from "ant-design-vue/es/date-picker/locale/zh_CN";
import moment from "moment";
// import utils from "./utils";
@@ -168,8 +146,6 @@ export default {
sorter: true,
}
],
- palceOptions: [],
- areaOptions: [],
regionLevelOptions: [],
// 表格搜索条件
where: {
@@ -185,22 +161,6 @@ export default {
methods: {
/**获取下来框数据 */
loadOptionData() {
- getColumnOptions("place").then((res) => {
- this.palceOptions = res.data.data.map((item) => {
- return {
- label: item,
- value: item,
- };
- });
- });
- getColumnOptions("area").then((res) => {
- this.areaOptions = res.data.data.map((item) => {
- return {
- label: item,
- value: item,
- };
- });
- });
getColumnOptions("region_level").then((res) => {
this.regionLevelOptions = res.data.data.map((item) => {
return {
@@ -212,8 +172,6 @@ export default {
},
/* 刷新表格 */
reload() {
- console.log(this.$route);
- console.log(this.$router);
this.$refs.table.reload({
where: this.where,
});
@@ -226,6 +184,7 @@ export default {
this.reload();
},
exportFile() {
+
const columns = [
{
title: "监测日期",
@@ -307,12 +266,17 @@ export default {
const arr = [];
const th = columns.map((item) => item.title);
arr.push(th);
- this.data.forEach((d) => {
- const td = columns.map((item) => d[item.dataIndex]);
- arr.push(td);
- });
- let sheet = XLSX.utils.aoa_to_sheet(arr);
- this.$util.exportSheet(XLSX, sheet, new Date().getTime().toString());
+ listAllAir(this.where).then(res=>{
+ if(res.data.code == 0){
+ res.data.data.forEach((d) => {
+ const td = columns.map((item) => d[item.dataIndex]);
+ arr.push(td);
+ });
+ let sheet = XLSX.utils.aoa_to_sheet(arr);
+ this.$util.exportSheet(XLSX, sheet, new Date().getTime().toString());
+ }
+ })
+
},
},
};
diff --git a/src/views/atmosphere/air/statistic/index.vue b/src/views/atmosphere/air/statistic/index.vue
index a7a8b60..1ad7a84 100644
--- a/src/views/atmosphere/air/statistic/index.vue
+++ b/src/views/atmosphere/air/statistic/index.vue
@@ -2,21 +2,10 @@
-
+
-
-
-
-
-
-
-
-
-
-
+
@@ -29,20 +18,11 @@
*
*/
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 YearStatistic from "./year.vue";
-
export default {
- name: 'StatisticSoundZone',
+ name: 'StatisticAirIndex',
components: {
BaseStatistic,
- SourceStatistic,
- // Compare,
- AverageStatistic,
- YearStatistic
+
},
data() {
return {
diff --git a/src/views/atmosphere/air/statistic/source.vue b/src/views/atmosphere/air/statistic/source.vue
deleted file mode 100644
index e974462..0000000
--- a/src/views/atmosphere/air/statistic/source.vue
+++ /dev/null
@@ -1,195 +0,0 @@
-
-
-
-
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
- 查询
-
- 导出Excel
-
-
-
-
-
-
- (data = d.data)"
- >
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/atmosphere/air/statistic/year.vue b/src/views/atmosphere/air/statistic/year.vue
deleted file mode 100644
index 2d4b011..0000000
--- a/src/views/atmosphere/air/statistic/year.vue
+++ /dev/null
@@ -1,224 +0,0 @@
-
-
-
-
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
- 查询
-
- 导出Excel
-
-
-
-
-
-
- (data = d.data)"
- >
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/sound/function/collect/noise.vue b/src/views/sound/function/collect/noise.vue
index 7266e8e..abfefde 100644
--- a/src/views/sound/function/collect/noise.vue
+++ b/src/views/sound/function/collect/noise.vue
@@ -625,8 +625,7 @@ export default {
},
/* 刷新表格 */
reload() {
- console.log(this.$route);
- console.log(this.$router);
+
this.$refs.table.reload({
where: this.where,
});
diff --git a/src/views/sound/function/statistic/base.vue b/src/views/sound/function/statistic/base.vue
index 2db3c26..0006b77 100644
--- a/src/views/sound/function/statistic/base.vue
+++ b/src/views/sound/function/statistic/base.vue
@@ -322,8 +322,7 @@ export default {
},
/* 刷新表格 */
reload() {
- console.log(this.$route);
- console.log(this.$router);
+
this.$refs.table.reload({
where: this.where,
});
diff --git a/src/views/sound/function/statistic/index.vue b/src/views/sound/function/statistic/index.vue
index a5a0927..9a01317 100644
--- a/src/views/sound/function/statistic/index.vue
+++ b/src/views/sound/function/statistic/index.vue
@@ -2,7 +2,7 @@
-
+
diff --git a/src/views/sound/road/collect/noise.vue b/src/views/sound/road/collect/noise.vue
index fa8847d..3c414bc 100644
--- a/src/views/sound/road/collect/noise.vue
+++ b/src/views/sound/road/collect/noise.vue
@@ -743,8 +743,7 @@ export default {
},
/* 刷新表格 */
reload() {
- console.log(this.$route);
- console.log(this.$router);
+
this.$refs.table.reload({
where: this.where,
});
diff --git a/src/views/sound/road/statistic/base.vue b/src/views/sound/road/statistic/base.vue
index 75e6a60..2e596bc 100644
--- a/src/views/sound/road/statistic/base.vue
+++ b/src/views/sound/road/statistic/base.vue
@@ -354,8 +354,7 @@ export default {
},
/* 刷新表格 */
reload() {
- console.log(this.$route);
- console.log(this.$router);
+
this.$refs.table.reload({
where: this.where,
});
diff --git a/src/views/sound/road/statistic/index.vue b/src/views/sound/road/statistic/index.vue
index c9fb001..7b7f135 100644
--- a/src/views/sound/road/statistic/index.vue
+++ b/src/views/sound/road/statistic/index.vue
@@ -2,7 +2,7 @@
-
+
diff --git a/src/views/sound/zone/collect/noise.vue b/src/views/sound/zone/collect/noise.vue
index d04785a..37c2d30 100644
--- a/src/views/sound/zone/collect/noise.vue
+++ b/src/views/sound/zone/collect/noise.vue
@@ -565,8 +565,7 @@ export default {
},
/* 刷新表格 */
reload() {
- console.log(this.$route);
- console.log(this.$router);
+
this.$refs.table.reload({
where: this.where,
});
diff --git a/src/views/sound/zone/statistic/base.vue b/src/views/sound/zone/statistic/base.vue
index a97c692..0bf66c9 100644
--- a/src/views/sound/zone/statistic/base.vue
+++ b/src/views/sound/zone/statistic/base.vue
@@ -290,8 +290,7 @@ export default {
},
/* 刷新表格 */
reload() {
- console.log(this.$route);
- console.log(this.$router);
+
this.$refs.table.reload({
where: this.where,
});
diff --git a/src/views/sound/zone/statistic/index.vue b/src/views/sound/zone/statistic/index.vue
index a7a8b60..c981c4b 100644
--- a/src/views/sound/zone/statistic/index.vue
+++ b/src/views/sound/zone/statistic/index.vue
@@ -2,7 +2,7 @@
-
+
diff --git a/src/views/water/drinking-water-village/collect/index.vue b/src/views/water/drinking-water-village/collect/index.vue
index dda6cad..871979f 100644
--- a/src/views/water/drinking-water-village/collect/index.vue
+++ b/src/views/water/drinking-water-village/collect/index.vue
@@ -20,7 +20,7 @@
-
+
@@ -211,4 +211,4 @@ export default {
\ No newline at end of file
+
diff --git a/src/views/water/drinking-water-village/collect/water.vue b/src/views/water/drinking-water-village/collect/water.vue
index 80de60f..f7c0706 100644
--- a/src/views/water/drinking-water-village/collect/water.vue
+++ b/src/views/water/drinking-water-village/collect/water.vue
@@ -223,8 +223,7 @@ export default {
loadOptionData() {},
/* 刷新表格 */
reload() {
- console.log(this.$route);
- console.log(this.$router);
+
this.$refs.table.reload({
where: this.where,
});
diff --git a/src/views/water/drinking-water-village/statistic/base.vue b/src/views/water/drinking-water-village/statistic/base.vue
index d05f764..e0046df 100644
--- a/src/views/water/drinking-water-village/statistic/base.vue
+++ b/src/views/water/drinking-water-village/statistic/base.vue
@@ -334,8 +334,7 @@ export default {
},
/* 刷新表格 */
reload() {
- console.log(this.$route);
- console.log(this.$router);
+
this.$refs.table.reload({
where: this.where,
});
diff --git a/src/views/water/drinking-water-village/statistic/index.vue b/src/views/water/drinking-water-village/statistic/index.vue
index c9fb001..7b7f135 100644
--- a/src/views/water/drinking-water-village/statistic/index.vue
+++ b/src/views/water/drinking-water-village/statistic/index.vue
@@ -2,7 +2,7 @@
-
+
diff --git a/src/views/water/drinking-water/collect/index.vue b/src/views/water/drinking-water/collect/index.vue
index beb9218..553cd7a 100644
--- a/src/views/water/drinking-water/collect/index.vue
+++ b/src/views/water/drinking-water/collect/index.vue
@@ -27,7 +27,7 @@
-
+
@@ -348,4 +348,4 @@ export default {
\ No newline at end of file
+
diff --git a/src/views/water/drinking-water/collect/water.vue b/src/views/water/drinking-water/collect/water.vue
index 70d1f20..13824cf 100644
--- a/src/views/water/drinking-water/collect/water.vue
+++ b/src/views/water/drinking-water/collect/water.vue
@@ -223,8 +223,7 @@ export default {
loadOptionData() {},
/* 刷新表格 */
reload() {
- console.log(this.$route);
- console.log(this.$router);
+
this.$refs.table.reload({
where: this.where,
});
diff --git a/src/views/water/drinking-water/statistic/base.vue b/src/views/water/drinking-water/statistic/base.vue
index 75e6a60..2e596bc 100644
--- a/src/views/water/drinking-water/statistic/base.vue
+++ b/src/views/water/drinking-water/statistic/base.vue
@@ -354,8 +354,7 @@ export default {
},
/* 刷新表格 */
reload() {
- console.log(this.$route);
- console.log(this.$router);
+
this.$refs.table.reload({
where: this.where,
});
diff --git a/src/views/water/drinking-water/statistic/index.vue b/src/views/water/drinking-water/statistic/index.vue
index c9fb001..7b7f135 100644
--- a/src/views/water/drinking-water/statistic/index.vue
+++ b/src/views/water/drinking-water/statistic/index.vue
@@ -2,7 +2,7 @@
-
+
diff --git a/src/views/water/lake/collect/special-water.vue b/src/views/water/lake/collect/special-water.vue
index ca29a37..036a9ae 100644
--- a/src/views/water/lake/collect/special-water.vue
+++ b/src/views/water/lake/collect/special-water.vue
@@ -206,8 +206,7 @@ export default {
loadOptionData() {},
/* 刷新表格 */
reload() {
- console.log(this.$route);
- console.log(this.$router);
+
this.$refs.table.reload({
where: this.where,
});
diff --git a/src/views/water/lake/collect/water.vue b/src/views/water/lake/collect/water.vue
index cafe2b3..08267f5 100644
--- a/src/views/water/lake/collect/water.vue
+++ b/src/views/water/lake/collect/water.vue
@@ -206,8 +206,7 @@ export default {
loadOptionData() {},
/* 刷新表格 */
reload() {
- console.log(this.$route);
- console.log(this.$router);
+
this.$refs.table.reload({
where: this.where,
});
diff --git a/src/views/water/lake/statistic/base.vue b/src/views/water/lake/statistic/base.vue
index a97c692..0bf66c9 100644
--- a/src/views/water/lake/statistic/base.vue
+++ b/src/views/water/lake/statistic/base.vue
@@ -290,8 +290,7 @@ export default {
},
/* 刷新表格 */
reload() {
- console.log(this.$route);
- console.log(this.$router);
+
this.$refs.table.reload({
where: this.where,
});
diff --git a/src/views/water/lake/statistic/index.vue b/src/views/water/lake/statistic/index.vue
index a7a8b60..c981c4b 100644
--- a/src/views/water/lake/statistic/index.vue
+++ b/src/views/water/lake/statistic/index.vue
@@ -2,7 +2,7 @@
-
+
diff --git a/src/views/water/river-station/statistic/base.vue b/src/views/water/river-station/statistic/base.vue
index 75e6a60..2e596bc 100644
--- a/src/views/water/river-station/statistic/base.vue
+++ b/src/views/water/river-station/statistic/base.vue
@@ -354,8 +354,7 @@ export default {
},
/* 刷新表格 */
reload() {
- console.log(this.$route);
- console.log(this.$router);
+
this.$refs.table.reload({
where: this.where,
});
diff --git a/src/views/water/river-station/statistic/index.vue b/src/views/water/river-station/statistic/index.vue
index c9fb001..7b7f135 100644
--- a/src/views/water/river-station/statistic/index.vue
+++ b/src/views/water/river-station/statistic/index.vue
@@ -2,7 +2,7 @@
-
+
diff --git a/src/views/water/river/collect/water.vue b/src/views/water/river/collect/water.vue
index 9d6e336..4e6c1e5 100644
--- a/src/views/water/river/collect/water.vue
+++ b/src/views/water/river/collect/water.vue
@@ -206,8 +206,7 @@ export default {
loadOptionData() {},
/* 刷新表格 */
reload() {
- console.log(this.$route);
- console.log(this.$router);
+
this.$refs.table.reload({
where: this.where,
});
diff --git a/src/views/water/river/statistic/average.vue b/src/views/water/river/statistic/average.vue
deleted file mode 100644
index 3abe54f..0000000
--- a/src/views/water/river/statistic/average.vue
+++ /dev/null
@@ -1,213 +0,0 @@
-
-
-
-
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
- 查询
-
- 导出Excel
-
-
-
-
-
-
- (data = d.data)"
- >
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/water/river/statistic/base.vue b/src/views/water/river/statistic/base.vue
index a97c692..0f6a50f 100644
--- a/src/views/water/river/statistic/base.vue
+++ b/src/views/water/river/statistic/base.vue
@@ -8,17 +8,6 @@
:wrapper-col="{ md: { span: 18 }, sm: { span: 24 } }"
>
-
-
-
- {{ item.label }}
-
-
-
@@ -30,18 +19,6 @@
-
-
-
-
- {{ item.label }}
-
-
-
@@ -64,14 +41,7 @@
:scroll="{ x: 'max-content' }"
@done="(d) => (data = d.data)"
>
-
- {{text}}
- {{text}}
- {{text}}
- {{text}}
- {{text}}
- {{text}}
-
+
@@ -81,12 +51,12 @@
-
-
\ No newline at end of file
diff --git a/src/views/water/river/statistic/year.vue b/src/views/water/river/statistic/year.vue
deleted file mode 100644
index 2d4b011..0000000
--- a/src/views/water/river/statistic/year.vue
+++ /dev/null
@@ -1,224 +0,0 @@
-
-
-
-
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
- 查询
-
- 导出Excel
-
-
-
-
-
-
- (data = d.data)"
- >
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/water/sewage/collect/city-river.vue b/src/views/water/sewage/collect/city-river.vue
index 0d5cbb0..2a313c4 100644
--- a/src/views/water/sewage/collect/city-river.vue
+++ b/src/views/water/sewage/collect/city-river.vue
@@ -206,8 +206,7 @@ export default {
loadOptionData() {},
/* 刷新表格 */
reload() {
- console.log(this.$route);
- console.log(this.$router);
+
this.$refs.table.reload({
where: this.where,
});
diff --git a/src/views/water/sewage/statistic/base.vue b/src/views/water/sewage/statistic/base.vue
index a97c692..0bf66c9 100644
--- a/src/views/water/sewage/statistic/base.vue
+++ b/src/views/water/sewage/statistic/base.vue
@@ -290,8 +290,7 @@ export default {
},
/* 刷新表格 */
reload() {
- console.log(this.$route);
- console.log(this.$router);
+
this.$refs.table.reload({
where: this.where,
});
diff --git a/src/views/water/sewage/statistic/index.vue b/src/views/water/sewage/statistic/index.vue
index a7a8b60..c981c4b 100644
--- a/src/views/water/sewage/statistic/index.vue
+++ b/src/views/water/sewage/statistic/index.vue
@@ -2,7 +2,7 @@
-
+
diff --git a/src/views/water/water-function-area/collect/water-bill.vue b/src/views/water/water-function-area/collect/water-bill.vue
index efaae11..f2e2289 100644
--- a/src/views/water/water-function-area/collect/water-bill.vue
+++ b/src/views/water/water-function-area/collect/water-bill.vue
@@ -7,12 +7,6 @@
-
-
- 市级
- 县级
-
-
已审核
@@ -24,10 +18,6 @@
-
-
-
-
查询
@@ -150,22 +140,6 @@
sorter: true,
},
- // {
- // title: '菜单名称',
- // dataIndex: 'title',
- // sorter: true
- // },
- {
- title: '监测时间',
- dataIndex: 'reportTime',
- sorter: true,
- slots: {
- customRender: 'reportTime',
- },
- // customRender: ({
- // text
- // }) => this.$util.toDateString(text)
- },
{
title: '导入时间',
dataIndex: 'createTime',
diff --git a/src/views/water/water-function-area/statistic/average.vue b/src/views/water/water-function-area/statistic/average.vue
deleted file mode 100644
index fb5825a..0000000
--- a/src/views/water/water-function-area/statistic/average.vue
+++ /dev/null
@@ -1,258 +0,0 @@
-
-
-
(data = d.data)"
- :scroll="{ x: 'max-content' }"
- >
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 重置
- 导出excel
-
-
-
-
-
-
-
-
- {{ text }}
- {{ text }}
- {{ text }}
- {{ text }}
- {{ text }}
- {{ text }}
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/water/water-function-area/statistic/base.vue b/src/views/water/water-function-area/statistic/base.vue
index 75e6a60..2e596bc 100644
--- a/src/views/water/water-function-area/statistic/base.vue
+++ b/src/views/water/water-function-area/statistic/base.vue
@@ -354,8 +354,7 @@ export default {
},
/* 刷新表格 */
reload() {
- console.log(this.$route);
- console.log(this.$router);
+
this.$refs.table.reload({
where: this.where,
});
diff --git a/src/views/water/water-function-area/statistic/colums.js b/src/views/water/water-function-area/statistic/colums.js
new file mode 100644
index 0000000..094a206
--- /dev/null
+++ b/src/views/water/water-function-area/statistic/colums.js
@@ -0,0 +1,27 @@
+const tableColumns = [
+ {title: "水体类型", dataIndex: "waterBodyType", sorter: true,},
+ {title: "水资源一级区名称", dataIndex: "waterResourcesFirstLevelZoneName", sorter: true,},
+ {title: "水质目标", dataIndex: "waterQualityGoal", sorter: true,},
+ {title: "数据来源", dataIndex: "dataSources", sorter: true,},
+ {title: "断面名称", dataIndex: "sectionName", sorter: true,},
+ // {title: "采样时间", dataIndex: "samplingTime", sorter: true,},
+ {title: "溶解氧", dataIndex: "dissolvedOxygen", sorter: true,},
+ {title: "高锰酸盐指数", dataIndex: "permanganateIndex", sorter: true,},
+ {title: "化学需氧量", dataIndex: "cod", sorter: true,},
+ {title: "五日生化需氧量", dataIndex: "fiveDayBod", sorter: true,},
+ {title: "氨氮", dataIndex: "ammonia", sorter: true,},
+ {title: "总磷", dataIndex: "totalPhosphorus", sorter: true,},
+
+ {title: "水功能区水质类别", dataIndex: "ffeWaterFunctionAreaWaterQualityCategory"},
+ {title: "达标评价结论", dataIndex: "ffeCompliantEvaluationConclusion"},
+ {title: "主要超标项目及其超标倍数", dataIndex: "ffeMajorOverStandardItemsMultiples"},
+
+ {title: "水功能区水质类别", dataIndex: "lprlWaterFunctionAreaWaterQualityCategory"},
+ {title: "达标评价结论", dataIndex: "lprlCompliantEvaluationConclusion"},
+ {title: "主要超标项目及其超标倍数", dataIndex: "lprlMajorOverStandardItemsMultiples"},
+ {title: "系统编码", dataIndex: "systemCode", sorter: true,},
+ {title: "备注", dataIndex: "remark", sorter: true,},
+
+];
+
+export {tableColumns}
diff --git a/src/views/water/water-function-area/statistic/compare.vue b/src/views/water/water-function-area/statistic/compare.vue
deleted file mode 100644
index 733daea..0000000
--- a/src/views/water/water-function-area/statistic/compare.vue
+++ /dev/null
@@ -1,508 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 重置
- 导出Excel
-
-
-
-
-
-
(data = d.data)"
- >
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/water/water-function-area/statistic/index.vue b/src/views/water/water-function-area/statistic/index.vue
index c9fb001..f04a754 100644
--- a/src/views/water/water-function-area/statistic/index.vue
+++ b/src/views/water/water-function-area/statistic/index.vue
@@ -2,18 +2,9 @@
@@ -26,17 +17,10 @@
*
*/
import BaseStatistic from "./base.vue";
- // import QuarterStatistic from "./quarter.vue";
- import Compare from "./compare.vue"
- import AverageStatistic from "./average.vue"
-
export default {
name: 'StatisticSoundRoad',
components: {
BaseStatistic,
- // QuarterStatistic,
- Compare,
- AverageStatistic
},
data() {
return {