From 72d95736295f2eb605cbd3702b08269143b62f5f Mon Sep 17 00:00:00 2001
From: 710356044 <710356044@qq.com>
Date: Tue, 30 Nov 2021 14:45:46 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A5=AE=E7=94=A8=E6=B0=B4=E5=89=8D=E7=AB=AF?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=9B=B4=E6=96=B0=EF=BC=88=E5=8F=82=E6=95=B0?=
=?UTF-8?q?=E5=92=8C=E6=8E=A5=E5=8F=A3=E9=9C=80=E8=A6=81=E4=BF=AE=E6=94=B9?=
=?UTF-8?q?=EF=BC=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../statistic/city-avg-index.vue | 163 +++++++++++++++
.../statistic/city-base-standard.vue | 168 ++++++++++++++++
.../drinking-water/statistic/cityAppraise.vue | 45 +----
.../drinking-water/statistic/cityDate.vue | 129 ++++++------
.../statistic/cityWaterQuality.vue | 54 ++---
.../statistic/cityWaterWithdrawal.vue | 185 ++++++++++++++++++
.../statistic/county-avg-index.vue | 163 +++++++++++++++
.../statistic/county-base-standard.vue | 168 ++++++++++++++++
.../drinking-water/statistic/countyData.vue | 69 ++++---
.../statistic/countyWaterQuality.vue | 54 ++---
.../statistic/countyWaterWithdrawal.vue | 185 ++++++++++++++++++
.../water/drinking-water/statistic/index.vue | 69 +++++--
.../statistic/village-avg-index.vue | 163 +++++++++++++++
.../statistic/village-base-standard.vue | 168 ++++++++++++++++
.../statistic/villageAppraise.vue | 53 +++--
.../drinking-water/statistic/villageData.vue | 15 +-
.../statistic/villageWaterQuality.vue | 54 ++---
17 files changed, 1612 insertions(+), 293 deletions(-)
create mode 100644 src/views/water/drinking-water/statistic/city-avg-index.vue
create mode 100644 src/views/water/drinking-water/statistic/city-base-standard.vue
create mode 100644 src/views/water/drinking-water/statistic/cityWaterWithdrawal.vue
create mode 100644 src/views/water/drinking-water/statistic/county-avg-index.vue
create mode 100644 src/views/water/drinking-water/statistic/county-base-standard.vue
create mode 100644 src/views/water/drinking-water/statistic/countyWaterWithdrawal.vue
create mode 100644 src/views/water/drinking-water/statistic/village-avg-index.vue
create mode 100644 src/views/water/drinking-water/statistic/village-base-standard.vue
diff --git a/src/views/water/drinking-water/statistic/city-avg-index.vue b/src/views/water/drinking-water/statistic/city-avg-index.vue
new file mode 100644
index 0000000..81bd1da
--- /dev/null
+++ b/src/views/water/drinking-water/statistic/city-avg-index.vue
@@ -0,0 +1,163 @@
+
+
+
+
+
+
+
+
+
+ {{ item.sectionName }}
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+ 导出Excel
+
+
+
+
+
+
+
+ (data = d.data)">
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/water/drinking-water/statistic/city-base-standard.vue b/src/views/water/drinking-water/statistic/city-base-standard.vue
new file mode 100644
index 0000000..fbafbf6
--- /dev/null
+++ b/src/views/water/drinking-water/statistic/city-base-standard.vue
@@ -0,0 +1,168 @@
+
+
+
+
+
+
+
+
+
+ {{ item.sectionName }}
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+ 导出Excel
+
+
+
+
+
+
+
+ (data = d.data)">
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/water/drinking-water/statistic/cityAppraise.vue b/src/views/water/drinking-water/statistic/cityAppraise.vue
index 0e571f3..61c9e38 100644
--- a/src/views/water/drinking-water/statistic/cityAppraise.vue
+++ b/src/views/water/drinking-water/statistic/cityAppraise.vue
@@ -8,50 +8,7 @@
:wrapper-col="{ md: { span: 18 }, sm: { span: 24 } }"
>
-
-
-
- {{ item.label }}
-
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
- {{ item.label }}
-
-
-
+
diff --git a/src/views/water/drinking-water/statistic/cityDate.vue b/src/views/water/drinking-water/statistic/cityDate.vue
index 877d66d..b78984a 100644
--- a/src/views/water/drinking-water/statistic/cityDate.vue
+++ b/src/views/water/drinking-water/statistic/cityDate.vue
@@ -9,49 +9,59 @@
>
-
-
- {{ item.label }}
+
+
+ 地表水
+ 地下水
+
-
-
- {{ item.label }}
+
+
+ 在用
+ 备用
+
+
+
+
+
+
+
+
+ 1
+ 2
+
+
+
+
-
-
-
+
+
+ 1
+ 2
+ 3
+ 4
+
@@ -74,18 +84,27 @@
:scroll="{ x: 'max-content' }"
@done="(d) => (data = d.data)"
>
-
-
-
+
+
{{
- record.reportTime==null?text="":
- record.reportTime.substr(5,2)=="01" || record.reportTime.substr(5,2) == "02" ||record.reportTime.substr(5,2) == "03" ||record.reportTime.substr(5,2)=="12"
- ? text="K":
- record.reportTime.substr(5,2)=="04" || record.reportTime.substr(5,2) == "05" ||record.reportTime.substr(5,2)=="10"||record.reportTime.substr(5,2)=="11"
- ? text="P":
- record.reportTime.substr(5,2)=="06" || record.reportTime.substr(5,2) == "07" ||record.reportTime.substr(5,2)=="08"||record.reportTime.substr(5,2)=="09"
- ? text="F":text="无采样时间"
-
+ record.reportTime == null
+ ? (text = "")
+ : record.reportTime.substr(5, 2) == "01" ||
+ record.reportTime.substr(5, 2) == "02" ||
+ record.reportTime.substr(5, 2) == "03" ||
+ record.reportTime.substr(5, 2) == "12"
+ ? (text = "K")
+ : record.reportTime.substr(5, 2) == "04" ||
+ record.reportTime.substr(5, 2) == "05" ||
+ record.reportTime.substr(5, 2) == "10" ||
+ record.reportTime.substr(5, 2) == "11"
+ ? (text = "P")
+ : record.reportTime.substr(5, 2) == "06" ||
+ record.reportTime.substr(5, 2) == "07" ||
+ record.reportTime.substr(5, 2) == "08" ||
+ record.reportTime.substr(5, 2) == "09"
+ ? (text = "F")
+ : (text = "无采样时间")
}}
@@ -102,7 +121,6 @@ import XLSX from "xlsx";
import {
pageDrinkingWaterStatisticUrl,
// getColumnOptions
-
} from "@/api/ecology/drinking-water";
// import pageDictUrl from "@/api/ecology/drinking-water-dict"
import locale from "ant-design-vue/es/date-picker/locale/zh_CN";
@@ -114,7 +132,6 @@ export default {
name: "DrinkingWaterBase",
components: {},
-
data() {
return {
data: [],
@@ -123,21 +140,18 @@ export default {
// 表格数据接口
url: pageDrinkingWaterStatisticUrl,
selection: [],
- columns:[
- // {
- // title: "水期代码",
+ columns: [
+ // {
+ // title: "水期代码",
// dataIndex: "waterPhaseCode",
- // sorter: true,
+ // sorter: true,
// slots:{customRender:'waterCode' }
// },
...tableColumns,
],
-
-
-
-
+
// 表格列配置
-
+
// palceOptions: [],
// areaOptions: [],
// roadOptions: [],
@@ -155,8 +169,8 @@ export default {
},
methods: {
JumpFieldClick(record, column) {
- console.log(column.dataIndex)
- },
+ console.log(column.dataIndex);
+ },
/**获取下来框数据 */
// loadOptionData() {
@@ -195,7 +209,6 @@ export default {
// },
/* 刷新表格 */
reload() {
-
this.$refs.table.reload({
where: this.where,
});
@@ -208,9 +221,7 @@ export default {
this.reload();
},
exportFile() {
- const columns = [
- ...tableColumns,
- ];
+ const columns = [...tableColumns];
const arr = [];
const th = columns.map((item) => item.title);
arr.push(th);
diff --git a/src/views/water/drinking-water/statistic/cityWaterQuality.vue b/src/views/water/drinking-water/statistic/cityWaterQuality.vue
index dad182d..bb744a2 100644
--- a/src/views/water/drinking-water/statistic/cityWaterQuality.vue
+++ b/src/views/water/drinking-water/statistic/cityWaterQuality.vue
@@ -8,50 +8,24 @@
:wrapper-col="{ md: { span: 18 }, sm: { span: 24 } }"
>
+
-
-
- {{ item.label }}
-
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
- {{ item.label }}
+
+
+ 地表水
+ 地下水
+
+
+
+
+
diff --git a/src/views/water/drinking-water/statistic/cityWaterWithdrawal.vue b/src/views/water/drinking-water/statistic/cityWaterWithdrawal.vue
new file mode 100644
index 0000000..3540027
--- /dev/null
+++ b/src/views/water/drinking-water/statistic/cityWaterWithdrawal.vue
@@ -0,0 +1,185 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+ 2
+ 3
+ 4
+
+
+
+
+
+
+
+ 查询
+ 重置
+ 导出Excel
+
+
+
+
+
+
+ (data = d.data)"
+ >
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/water/drinking-water/statistic/county-avg-index.vue b/src/views/water/drinking-water/statistic/county-avg-index.vue
new file mode 100644
index 0000000..81bd1da
--- /dev/null
+++ b/src/views/water/drinking-water/statistic/county-avg-index.vue
@@ -0,0 +1,163 @@
+
+
+
+
+
+
+
+
+
+ {{ item.sectionName }}
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+ 导出Excel
+
+
+
+
+
+
+
+ (data = d.data)">
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/water/drinking-water/statistic/county-base-standard.vue b/src/views/water/drinking-water/statistic/county-base-standard.vue
new file mode 100644
index 0000000..fbafbf6
--- /dev/null
+++ b/src/views/water/drinking-water/statistic/county-base-standard.vue
@@ -0,0 +1,168 @@
+
+
+
+
+
+
+
+
+
+ {{ item.sectionName }}
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+ 导出Excel
+
+
+
+
+
+
+
+ (data = d.data)">
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/water/drinking-water/statistic/countyData.vue b/src/views/water/drinking-water/statistic/countyData.vue
index 5e29a00..72e4ffb 100644
--- a/src/views/water/drinking-water/statistic/countyData.vue
+++ b/src/views/water/drinking-water/statistic/countyData.vue
@@ -8,50 +8,59 @@
:wrapper-col="{ md: { span: 18 }, sm: { span: 24 } }"
>
-
+ 1
+ 2
+ 3
+ 4
- -->
+
diff --git a/src/views/water/drinking-water/statistic/countyWaterQuality.vue b/src/views/water/drinking-water/statistic/countyWaterQuality.vue
index a2c4544..3dceb42 100644
--- a/src/views/water/drinking-water/statistic/countyWaterQuality.vue
+++ b/src/views/water/drinking-water/statistic/countyWaterQuality.vue
@@ -8,50 +8,22 @@
:wrapper-col="{ md: { span: 18 }, sm: { span: 24 } }"
>
-
+
+
+
+
diff --git a/src/views/water/drinking-water/statistic/countyWaterWithdrawal.vue b/src/views/water/drinking-water/statistic/countyWaterWithdrawal.vue
new file mode 100644
index 0000000..78ca15f
--- /dev/null
+++ b/src/views/water/drinking-water/statistic/countyWaterWithdrawal.vue
@@ -0,0 +1,185 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+ 2
+ 3
+ 4
+
+
+
+
+
+
+
+ 查询
+ 重置
+ 导出Excel
+
+
+
+
+
+
+ (data = d.data)"
+ >
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/water/drinking-water/statistic/index.vue b/src/views/water/drinking-water/statistic/index.vue
index c584226..a7c1e83 100644
--- a/src/views/water/drinking-water/statistic/index.vue
+++ b/src/views/water/drinking-water/statistic/index.vue
@@ -8,17 +8,24 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -27,14 +34,21 @@
-
+
+
+
+
+
+
+
-
+
@@ -46,6 +60,12 @@
+
+
+
+
+
+
@@ -59,15 +79,24 @@
*
*
*/
- import BaseStatistic from "./cityDate.vue";
+ import BaseStatistic from "./cityDate.vue"
import countyData from "./countyData.vue"
import village from "./villageData.vue"
import cityAppraise from "./cityAppraise.vue"
import countyAppraise from "./countyAppraise.vue"
import villageAppraise from "./villageAppraise.vue"
- // import cityWaterQuality from "./cityWaterQuality.vue"
- // import countyWaterQuality from "./countyWaterQuality.vue"
+ import cityWaterQuality from "./cityWaterQuality.vue"
+ import countyWaterQuality from "./countyWaterQuality.vue"
import villageWaterQuality from "./villageWaterQuality.vue"
+ import cityAvgIndex from "./city-avg-index.vue"
+ import countyAvgIndex from "./county-avg-index.vue"
+ import villageAvgIndex from "./village-avg-index.vue"
+ import cityMonthStandard from "./city-base-standard.vue"
+ import countyMonthStandard from "./county-base-standard.vue"
+ import villageMonthStandard from "./village-base-standard.vue"
+ import cityWaterWithdrawal from "./cityWaterWithdrawal.vue"
+ import countyWaterWithdrawal from "./countyWaterWithdrawal.vue"
+
// import QuarterStatistic from "./quarter.vue";
// import Compare from "./compare.vue"
// import AverageStatistic from "./average.vue"
@@ -81,9 +110,17 @@
cityAppraise,
countyAppraise,
villageAppraise,
- // cityWaterQuality,
- // countyWaterQuality,
- villageWaterQuality
+ cityWaterQuality,
+ countyWaterQuality,
+ villageWaterQuality,
+ cityAvgIndex,
+ countyAvgIndex,
+ villageAvgIndex,
+ cityMonthStandard,
+ countyMonthStandard,
+ villageMonthStandard,
+ cityWaterWithdrawal,
+ countyWaterWithdrawal
// QuarterStatistic,
// Compare,
// AverageStatistic
diff --git a/src/views/water/drinking-water/statistic/village-avg-index.vue b/src/views/water/drinking-water/statistic/village-avg-index.vue
new file mode 100644
index 0000000..81bd1da
--- /dev/null
+++ b/src/views/water/drinking-water/statistic/village-avg-index.vue
@@ -0,0 +1,163 @@
+
+
+
+
+
+
+
+
+
+ {{ item.sectionName }}
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+ 导出Excel
+
+
+
+
+
+
+
+ (data = d.data)">
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/water/drinking-water/statistic/village-base-standard.vue b/src/views/water/drinking-water/statistic/village-base-standard.vue
new file mode 100644
index 0000000..fbafbf6
--- /dev/null
+++ b/src/views/water/drinking-water/statistic/village-base-standard.vue
@@ -0,0 +1,168 @@
+
+
+
+
+
+
+
+
+
+ {{ item.sectionName }}
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+ 导出Excel
+
+
+
+
+
+
+
+ (data = d.data)">
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/water/drinking-water/statistic/villageAppraise.vue b/src/views/water/drinking-water/statistic/villageAppraise.vue
index f1b7d0d..87010ab 100644
--- a/src/views/water/drinking-water/statistic/villageAppraise.vue
+++ b/src/views/water/drinking-water/statistic/villageAppraise.vue
@@ -52,6 +52,24 @@
-->
+
+
+
+
+ 地表水
+ 地下水
+
+
+
+
+
+
+
+
@@ -74,7 +92,6 @@
:scroll="{ x: 'max-content' }"
@done="(d) => (data = d.data)"
>
-
@@ -88,7 +105,6 @@ import XLSX from "xlsx";
import {
pageDrinkingWaterVillageStatisticUrl,
// getColumnOptions
-
} from "@/api/ecology/drinking-water-village";
// import pageDictUrl from "@/api/ecology/drinking-water-dict"
import locale from "ant-design-vue/es/date-picker/locale/zh_CN";
@@ -100,7 +116,6 @@ export default {
name: "DrinkingWaterBase",
components: {},
-
data() {
return {
data: [],
@@ -109,24 +124,23 @@ export default {
// 表格数据接口
url: pageDrinkingWaterVillageStatisticUrl,
selection: [],
- columns:[
- {title:"城市名称",dataIndex:"city",},
- {title:"水源地名称",dataIndex:"place",},
- {title:"取水量(万m3)",dataIndex:"waterWithdrawal",},
- {title:"超标水源地取水量",dataIndex:"",},
- {title:"超标项目",dataIndex:"",},
- {title:"水源地性质",dataIndex:"waterSourceProperty",},
+ columns: [
+ { title: "城市名称", dataIndex: "city" },
+ { title: "水源地名称", dataIndex: "place" },
+ { title: "取水量(万m3)", dataIndex: "waterWithdrawal" },
+ { title: "超标水源地取水量", dataIndex: "" },
+ { title: "超标项目", dataIndex: "" },
+ { title: "水源地性质", dataIndex: "waterSourceProperty" },
],
-
-
-
-
+
// 表格列配置
-
+
// palceOptions: [],
// areaOptions: [],
// roadOptions: [],
regionLevelOptions: [],
+
+ reportTimeScope: [],
// 表格搜索条件
where: {
checked: 1,
@@ -140,8 +154,8 @@ export default {
},
methods: {
JumpFieldClick(record, column) {
- console.log(column.dataIndex)
- },
+ console.log(column.dataIndex);
+ },
/**获取下来框数据 */
// loadOptionData() {
@@ -180,7 +194,6 @@ export default {
// },
/* 刷新表格 */
reload() {
-
this.$refs.table.reload({
where: this.where,
});
@@ -193,9 +206,7 @@ export default {
this.reload();
},
exportFile() {
- const columns = [
- ...tableColumns3,
- ];
+ const columns = [...tableColumns3];
const arr = [];
const th = columns.map((item) => item.title);
arr.push(th);
diff --git a/src/views/water/drinking-water/statistic/villageData.vue b/src/views/water/drinking-water/statistic/villageData.vue
index 9251649..8b8b926 100644
--- a/src/views/water/drinking-water/statistic/villageData.vue
+++ b/src/views/water/drinking-water/statistic/villageData.vue
@@ -52,6 +52,19 @@
-->
+
+
+
+ 地表水
+ 地下水
+
+
+
+
+
+
+
+
@@ -133,7 +146,7 @@ export default {
],
-
+ reportTimeScope: [],
// 表格列配置
diff --git a/src/views/water/drinking-water/statistic/villageWaterQuality.vue b/src/views/water/drinking-water/statistic/villageWaterQuality.vue
index 0c58449..9b088d8 100644
--- a/src/views/water/drinking-water/statistic/villageWaterQuality.vue
+++ b/src/views/water/drinking-water/statistic/villageWaterQuality.vue
@@ -8,50 +8,22 @@
:wrapper-col="{ md: { span: 18 }, sm: { span: 24 } }"
>
-
+
+
+
+