diff --git a/public/template/区控水功能区.xls b/public/template/区控水功能区.xls
deleted file mode 100644
index f1f8541..0000000
Binary files a/public/template/区控水功能区.xls and /dev/null differ
diff --git a/public/template/国家水站.xlsx b/public/template/国家水站.xlsx
deleted file mode 100644
index 35f0eb3..0000000
--- a/public/template/国家水站.xlsx
+++ /dev/null
@@ -1 +0,0 @@
-
| 时间 | 水温(℃) | pH(无量纲) | 溶解氧(mg/L) | 电导率(μS/cm) | 浊度(NTU) | 高锰酸盐指数(mg/L) | 氨氮(mg/L) | 总磷(mg/L) | 总氮(mg/L) | 叶绿素α(mg/L) | 藻密度(cells/L) | 水质类别 | 污染指标 |
|---|
| 日均值 | 日均值 | 日均值 | 日均值 | 日均值 | 日均值 | 日均值 | 日均值 | 日均值 | 日均值 | 日均值 |
|---|
| 1 | 2021-10-16 | 25.6 | 8 | 5.8 | 353.9 | 9.3 | 1.3 | 0.04 | 0.045 | 1.76 | | | Ⅲ | |
| 2 | 2021-10-17 | 24.7 | 8 | 5.9 | 358.4 | 9.4 | 1.5 | 0.04 | 0.050 | 1.87 | | | Ⅲ | |
| 3 | 2021-10-18 | 24.3 | 8 | 5.8 | 369.5 | 8.1 | 1.5 | 0.02 | 0.051 | 2.05 | | | Ⅲ | |
| 4 | 2021-10-19 | 24.4 | 8 | 5.7 | 370.8 | 7.8 | 1.2 | 0.02 | 0.050 | 1.98 | | | Ⅲ | |
| 5 | 2021-10-20 | 24.6 | 8 | 6.2 | 364.4 | 6.9 | 1.2 | 0.02 | 0.045 | 2.04 | | | Ⅱ | |
| 6 | 2021-10-21 | 24.1 | 8 | 6.0 | 358.0 | 7.8 | 1.1 | 0.02 | 0.043 | 1.87 | | | Ⅱ | |
| 7 | 2021-10-22 | 23.6 | 8 | 6.2 | 368.2 | 8.0 | 1.1 | 0.02 | 0.044 | 1.89 | | | Ⅱ | |
| 8 | 2021-10-23 | 23.4 | 8 | 6.2 | 369.1 | 6.7 | 1.2 | 0.02 | 0.045 | 1.96 | | | Ⅱ | |
| 9 | 2021-10-24 | 23.5 | 8 | 6.4 | 370.1 | 5.9 | 1.2 | 0.02 | 0.043 | 2.01 | | | Ⅱ | |
| 10 | 2021-10-25 | 23.4 | 8 | 6.7 | 376.5 | 5.6 | 1.1 | 0.02 | 0.046 | 2.06 | | | Ⅱ | |
| 11 | 2021-10-26 | 23.3 | 8 | 6.9 | 380.0 | 5.3 | 1.0 | 0.02 | 0.044 | 2.05 | | | Ⅱ | |
| 12 | 2021-10-27 | 23.6 | 8 | 7.1 | 381.2 | 5.1 | 1.1 | 0.02 | 0.041 | 2.08 | | | Ⅱ | |
| 13 | 2021-10-28 | 23.6 | 8 | 7.0 | 386.8 | 6.7 | 0.9 | 0.02 | 0.041 | 2.17 | | | Ⅱ | |
| 14 | 2021-10-29 | 23.5 | 8 | 7.0 | 395.1 | 5.7 | 0.9 | 0.02 | 0.035 | 2.23 | | | Ⅱ | |
| 15 | 2021-10-30 | 23.3 | 8 | 6.9 | 388.7 | 5.8 | 0.9 | 0.02 | 0.039 | 2.10 | | | Ⅱ | |
| 16 | 2021-10-31 | 23.2 | 8 | 6.8 | 386.5 | 5.5 | 0.9 | 0.02 | 0.038 | 2.10 | | | Ⅱ | |
\ No newline at end of file
diff --git a/public/template/国家级水功能区.xlsx b/public/template/国家级水功能区.xlsx
deleted file mode 100644
index 271162b..0000000
Binary files a/public/template/国家级水功能区.xlsx and /dev/null differ
diff --git a/public/template/广西水站.xlsx b/public/template/广西水站.xlsx
deleted file mode 100644
index c7a0859..0000000
--- a/public/template/广西水站.xlsx
+++ /dev/null
@@ -1 +0,0 @@
-| 序号 | 站点名称 | 时间 | 水质类别 | 水温℃ | pH值无量纲 | 溶解氧mg/L | 电导率us/cm | 浊度NTU | 高锰酸盐指数mg/L | 氨氮mg/L | 总磷mg/L | 总氮mg/L |
|---|
| 三类标准 | | | 6.0~9.0 | ≧5.0 | | | ≦6.0 | ≦1.0 | ≦0.2 | |
|---|
| 1 | 廖平桥 | 2021-10-16 00:00:00 | 3 | 23.2 | 7 | 6.6 | 210.3 | 10.5 | 5.2 | 0.02 | 0.066 | 2.14 |
|---|
| 2 | 廖平桥 | 2021-10-17 00:00:00 | 3 | 22.6 | 7 | 6.5 | 217.0 | 10.0 | 4.9 | 0.02 | 0.061 | 2.05 |
|---|
| 3 | 廖平桥 | 2021-10-18 00:00:00 | 2 | 22.6 | 7 | 6.7 | 216.9 | 9.5 | -- | 0.02 | 0.062 | 2.23 |
|---|
| 4 | 廖平桥 | 2021-10-19 00:00:00 | 2 | 22.8 | 7 | 6.8 | 206.7 | 9.4 | 3.8 | 0.03 | 0.060 | 2.19 |
|---|
| 5 | 廖平桥 | 2021-10-20 00:00:00 | 2 | 23.5 | 7 | 6.8 | 223.0 | 9.4 | 3.5 | 0.02 | 0.057 | 2.31 |
|---|
| 6 | 廖平桥 | 2021-10-21 00:00:00 | 2 | 23.3 | 7 | 6.6 | 237.3 | 9.6 | 3.2 | 0.02 | 0.057 | 2.25 |
|---|
| 7 | 廖平桥 | 2021-10-22 00:00:00 | 2 | 22.5 | 7 | 7.0 | 264.5 | 14.0 | 2.8 | 0.02 | 0.063 | 2.29 |
|---|
| 8 | 廖平桥 | 2021-10-23 00:00:00 | 2 | 22.0 | 7 | 7.4 | 271.6 | 10.2 | 2.2 | 0.02 | 0.063 | 2.20 |
|---|
| 9 | 廖平桥 | 2021-10-24 00:00:00 | 2 | 22.3 | 7 | 7.6 | 261.4 | 9.1 | 2.2 | 0.02 | 0.060 | 2.23 |
|---|
| 10 | 廖平桥 | 2021-10-25 00:00:00 | 2 | 22.5 | 7 | 7.8 | 256.8 | 8.4 | 2.4 | 0.02 | 0.055 | 2.13 |
|---|
| 11 | 廖平桥 | 2021-10-26 00:00:00 | 2 | 22.5 | 7 | 7.9 | 253.6 | 7.7 | 2.6 | 0.02 | 0.052 | 2.08 |
|---|
| 12 | 廖平桥 | 2021-10-27 00:00:00 | 2 | 23.0 | 7 | 7.8 | 267.9 | 5.9 | 2.5 | 0.02 | 0.052 | 2.23 |
|---|
| 13 | 廖平桥 | 2021-10-28 00:00:00 | 2 | 23.8 | -- | 7.9 | 287.6 | 4.8 | 2.4 | 0.02 | 0.048 | 2.31 |
|---|
| 14 | 廖平桥 | 2021-10-29 00:00:00 | 2 | 23.8 | 7 | 7.6 | 287.8 | 5.0 | 2.2 | 0.02 | 0.051 | 2.32 |
|---|
| 15 | 廖平桥 | 2021-10-30 00:00:00 | 2 | 23.3 | 7 | 7.0 | 278.9 | 5.8 | 2.3 | 0.02 | 0.052 | 2.30 |
|---|
| 16 | 廖平桥 | 2021-10-31 00:00:00 | 2 | 22.8 | 8 | 6.7 | 260.1 | 9.4 | 2.5 | 0.02 | 0.055 | 2.24 |
|---|
| 17 | 廖平桥 | 平均值 | 2 | 22.9 | 7 | 7.2 | 250.1 | 8.7 | 3.0 | 0.02 | 0.057 | 2.22 |
|---|
| 18 | 廖平桥 | 最大值 | | 23.8 | 8 | 7.9 | 287.8 | 14.0 | 5.2 | 0.02 | 0.066 | 2.32 |
|---|
| 19 | 廖平桥 | 最小值 | | 22.0 | 7 | 6.5 | 206.7 | 4.8 | 2.2 | 0.02 | 0.048 | 2.05 |
|---|
| 20 | 廖平桥 | 有效数据个数 | 16 | 16 | 15 | 16 | 16 | 16 | 15 | 16 | 16 | 16 |
|---|
| 21 | 廖平桥 | 总数据个数 | 16 | 16 | 16 | 16 | 16 | 16 | 16 | 16 | 16 | 16 |
|---|
\ No newline at end of file
diff --git a/public/template/水功能区-国家级水功能区数据表.xlsx b/public/template/水功能区-国家级水功能区数据表.xlsx
new file mode 100644
index 0000000..be30909
Binary files /dev/null and b/public/template/水功能区-国家级水功能区数据表.xlsx differ
diff --git a/public/template/水功能区-自治区级水站月均值数据表.xls b/public/template/水功能区-自治区级水站月均值数据表.xls
new file mode 100644
index 0000000..803e610
Binary files /dev/null and b/public/template/水功能区-自治区级水站月均值数据表.xls differ
diff --git a/public/template/水站-国家级水站历史数据表.xlsx b/public/template/水站-国家级水站历史数据表.xlsx
new file mode 100644
index 0000000..d62eed2
Binary files /dev/null and b/public/template/水站-国家级水站历史数据表.xlsx differ
diff --git a/public/template/水站-自治区级水站均值数据报表.xlsx b/public/template/水站-自治区级水站均值数据报表.xlsx
new file mode 100644
index 0000000..fcdec4d
Binary files /dev/null and b/public/template/水站-自治区级水站均值数据报表.xlsx differ
diff --git a/public/template/江河-断面共享数据表.xls b/public/template/江河-断面共享数据表.xls
new file mode 100644
index 0000000..aafefed
Binary files /dev/null and b/public/template/江河-断面共享数据表.xls differ
diff --git a/public/template/江河.xlsx b/public/template/江河.xlsx
deleted file mode 100644
index 6cb946b..0000000
Binary files a/public/template/江河.xlsx and /dev/null differ
diff --git a/src/api/ecology/river-statis.js b/src/api/ecology/river-statis.js
new file mode 100644
index 0000000..45d7e45
--- /dev/null
+++ b/src/api/ecology/river-statis.js
@@ -0,0 +1,46 @@
+import axios from 'axios';
+// -------------------江河--水功能数据统计列表-----------------------
+const autonomyWaterFunctionTotalUrl = '/waterFunctionArea/riverStatic/autoPage';
+const nationalWaterFunctionTotalUrl = '/waterFunctionArea/riverStatic/nationalPage';
+//国家级水功能统计
+const nationalWaterFunctionTotal = function (data) {
+ return axios.get("/waterFunctionArea/riverStatic/nationalPage",data)
+}
+// /自治区水功能统计
+const autonomyWaterFunctionTotal = function (data) {
+ return axios.get("/waterFunctionArea/riverStatic/autoPage",data)
+}
+
+
+// -------------------江河--水站数据统计列表--------------
+//水站同比环比统计
+const listWaterSiteYoy = function (data) {
+ return axios.post("/waterFunctionArea/riverStatic/waterSiteYoy",data)
+}
+// 水站日均值统计
+const listWaterSiteMonthTotal = function (data) {
+ return axios.post("/waterFunctionArea/riverStatic/waterSiteMonthTotal",data)
+}
+
+//水质达标统计
+const listMonthWaterQualitySandard = function (data) {
+ return axios.post("/waterFunctionArea/riverStatic/monthWaterQualitySandard",data)
+}
+
+//水质综合指数统计
+const listMonthCompositeIndex = function (data) {
+ return axios.post("/waterFunctionArea/riverStatic/monthCompositeIndex",data)
+}
+
+
+export {
+ autonomyWaterFunctionTotalUrl,
+ nationalWaterFunctionTotalUrl,
+ nationalWaterFunctionTotal,
+ autonomyWaterFunctionTotal,
+ listWaterSiteYoy,
+ listWaterSiteMonthTotal,
+ listMonthWaterQualitySandard,
+ listMonthCompositeIndex
+
+}
diff --git a/src/api/ecology/water/river-water.js b/src/api/ecology/water/river-water.js
index 4386723..939c5aa 100644
--- a/src/api/ecology/water/river-water.js
+++ b/src/api/ecology/water/river-water.js
@@ -29,7 +29,7 @@ const getColumnOptions = function(column){
return axios.get("/waterFunctionArea/WaterStationPoint/options",{params:{column}})
}
const listInfo = function(){
- return axios.post("/waterFunctionArea/autonomousWaterFunctionAreaPoint/listInfo",{})
+ return axios.post("/waterFunctionArea/WaterStationPoint/listInfo",{})
}
export {
listInfo,
diff --git a/src/views/water/river-station/statistic/site-day-avg.vue b/src/views/water/river-station/statistic/site-day-avg.vue
index c324d69..54e77f9 100644
--- a/src/views/water/river-station/statistic/site-day-avg.vue
+++ b/src/views/water/river-station/statistic/site-day-avg.vue
@@ -35,9 +35,11 @@
+
(data = d.data)">
+
@@ -147,9 +149,7 @@
methods: {
/* 刷新表格 */
reload() {
- // this.$refs.table.reload({
- // where: this.where,
- // });
+ this.loading = true;
listWaterSiteMonthTotal(this.where).then((res) => {
if (res.data.code == 0) {
this.$message.success(res.data.msg);
@@ -157,6 +157,7 @@
} else {
this.$message.error(res.data.msg);
}
+ this.loading = false;
});
},
/* 重置搜索 */
diff --git a/src/views/water/river-station/statistic/site.vue b/src/views/water/river-station/statistic/site.vue
index 69094bc..6c728ae 100644
--- a/src/views/water/river-station/statistic/site.vue
+++ b/src/views/water/river-station/statistic/site.vue
@@ -43,6 +43,7 @@
+
(data = d.data)">
@@ -50,6 +51,7 @@
(data = d.data)">
+
@@ -186,6 +188,7 @@
methods: {
/* 刷新表格 */
reload() {
+ this.loading = true;
listWaterSiteYoy(this.where).then((res) => {
console.log(res.data.data);
if (res.data.code == 0) {
@@ -199,6 +202,7 @@
} else {
this.$message.error(res.data.msg);
}
+ this.loading = false;
});
},
/* 重置搜索 */
diff --git a/src/views/water/river/statistic/avg-index.vue b/src/views/water/river/statistic/avg-index.vue
new file mode 100644
index 0000000..1544af3
--- /dev/null
+++ b/src/views/water/river/statistic/avg-index.vue
@@ -0,0 +1,162 @@
+
+
+
+
+
+
+
+
+
+ {{ item.sectionName }}
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+ 导出Excel
+
+
+
+
+
+
+
+ (data = d.data)">
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/water/river/statistic/avg-standard.vue b/src/views/water/river/statistic/avg-standard.vue
new file mode 100644
index 0000000..a7b7662
--- /dev/null
+++ b/src/views/water/river/statistic/avg-standard.vue
@@ -0,0 +1,172 @@
+
+
+
+
+
+
+
+
+
+ {{ item.sectionName }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+ 导出Excel
+
+
+
+
+
+
+
+ (data = d.data)">
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/water/river/statistic/base-index.vue b/src/views/water/river/statistic/base-index.vue
new file mode 100644
index 0000000..65785a6
--- /dev/null
+++ b/src/views/water/river/statistic/base-index.vue
@@ -0,0 +1,166 @@
+
+
+
+
+
+
+
+
+
+ {{ item.sectionName }}
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+ 导出Excel
+
+
+
+
+
+
+
+ (data = d.data)">
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/water/river/statistic/base-standard.vue b/src/views/water/river/statistic/base-standard.vue
new file mode 100644
index 0000000..f3f90fa
--- /dev/null
+++ b/src/views/water/river/statistic/base-standard.vue
@@ -0,0 +1,167 @@
+
+
+
+
+
+
+
+
+
+ {{ item.sectionName }}
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+ 导出Excel
+
+
+
+
+
+
+
+ (data = d.data)">
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/water/river/statistic/index.vue b/src/views/water/river/statistic/index.vue
index f47460c..745d45c 100644
--- a/src/views/water/river/statistic/index.vue
+++ b/src/views/water/river/statistic/index.vue
@@ -8,16 +8,16 @@
-
+
-
+
-
+
-
+
@@ -52,6 +52,11 @@
import NationalStatis from "../../water-function-area/statistic/national.vue";
import SiteStatis from "../../river-station/statistic/site.vue";
import SiteDayStatis from "../../river-station/statistic/site-day-avg.vue";
+
+ import MonthStandard from "./base-standard.vue";
+ import AvgStandard from "./avg-standard.vue";
+ import MonthIndex from "./base-index.vue";
+ import AvgIndex from "./avg-index.vue";
export default {
name: 'StatisticAirIndex',
components: {
@@ -59,7 +64,11 @@
AutoStatis,
NationalStatis,
SiteStatis,
- SiteDayStatis
+ SiteDayStatis,
+ MonthStandard,
+ AvgStandard,
+ MonthIndex,
+ AvgIndex,
},
data() {
return {
diff --git a/src/views/water/water-function-area/statistic/auto.vue b/src/views/water/water-function-area/statistic/auto.vue
index 8da09f3..8325936 100644
--- a/src/views/water/water-function-area/statistic/auto.vue
+++ b/src/views/water/water-function-area/statistic/auto.vue
@@ -31,9 +31,11 @@
-
+ (data = d.data)">
+
@@ -60,7 +62,7 @@
data: [],
locale,
datasource: {},
- // 表格数据接口
+ // 表格数据接口
// url: autonomyWaterFunctionTotalUrl,
selection: [],
tableColumns,
@@ -107,8 +109,8 @@
e.nTotal = "-1";
e.transp = "-1";
e.chla = "-1";
- e.ffeMajorOverStandardItemsMultiples = "-1";
- e.lprlMajorOverStandardItemsMultiples = "-1";
+ e.ffeMajorOverStandardItemsMultiples = "-1";
+ e.lprlMajorOverStandardItemsMultiples = "-1";
})
this.datasource = res.data.data;
});
@@ -127,45 +129,44 @@
methods: {
/* 刷新表格 */
reload() {
- // this.$refs.table.reload({
- // where: this.where,
- // });
+ this.loading = true;
autonomyWaterFunctionTotal().then((res) => {
- res.data.data.forEach((e) => {
- e.wTemp = "-1";
- e.ph = "-1";
- e.dissolvedOxygen = "-1";
- e.cod = "-1";
- e.fiveDayBod = "-1";
- e.ammonia = "-1";
- e.cu = "-1";
- e.zn = "-1";
- e.f = "-1";
- e.se = "-1";
- e.as = "-1";
- e.hg = "-1";
- e.cd = "-1";
- e.cr6 = "-1";
- e.pb = "-1";
- e.cyanide = "-1";
- e.vPhen = "-1";
- e.oils = "-1";
- e.anSaa = "-1";
- e.s = "-1";
- e.coloOrg = "-1";
- e.so4 = "-1";
- e.cl = "-1";
- e.nitrateNitrogen = "-1";
- e.fe = "-1";
- e.mn = "-1";
- e.nTotal = "-1";
- e.transp = "-1";
- e.chla = "-1";
- e.ffeMajorOverStandardItemsMultiples = "-1";
- e.lprlMajorOverStandardItemsMultiples = "-1";
- })
- this.datasource = res.data.data;
- });
+ res.data.data.forEach((e) => {
+ e.wTemp = "-1";
+ e.ph = "-1";
+ e.dissolvedOxygen = "-1";
+ e.cod = "-1";
+ e.fiveDayBod = "-1";
+ e.ammonia = "-1";
+ e.cu = "-1";
+ e.zn = "-1";
+ e.f = "-1";
+ e.se = "-1";
+ e.as = "-1";
+ e.hg = "-1";
+ e.cd = "-1";
+ e.cr6 = "-1";
+ e.pb = "-1";
+ e.cyanide = "-1";
+ e.vPhen = "-1";
+ e.oils = "-1";
+ e.anSaa = "-1";
+ e.s = "-1";
+ e.coloOrg = "-1";
+ e.so4 = "-1";
+ e.cl = "-1";
+ e.nitrateNitrogen = "-1";
+ e.fe = "-1";
+ e.mn = "-1";
+ e.nTotal = "-1";
+ e.transp = "-1";
+ e.chla = "-1";
+ e.ffeMajorOverStandardItemsMultiples = "-1";
+ e.lprlMajorOverStandardItemsMultiples = "-1";
+ })
+ this.datasource = res.data.data;
+ this.loading = false;
+ });
},
/* 重置搜索 */
reset() {
diff --git a/src/views/water/water-function-area/statistic/national.vue b/src/views/water/water-function-area/statistic/national.vue
index 6f1bc0c..14fce01 100644
--- a/src/views/water/water-function-area/statistic/national.vue
+++ b/src/views/water/water-function-area/statistic/national.vue
@@ -31,9 +31,11 @@
+
(data = d.data)">
+
@@ -107,6 +109,7 @@
};
},
mounted() {
+ this.loading = true;
nationalWaterFunctionTotal().then((res) => {
res.data.data.forEach((e) => {
e.wTemp = "-1";
@@ -142,6 +145,7 @@
e.lprlMajorOverStandardItemsMultiples = "-1";
})
this.datasource = res.data.data;
+ this.loading = false;
});
},
created() {