From 1b58bd132ac4304c66ad310f82e994e00c549ef1 Mon Sep 17 00:00:00 2001 From: shixiaoman <531268472@qq.com> Date: Mon, 6 Dec 2021 14:01:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B1=9F=E6=B2=B3=E6=A8=A1=E5=9D=97=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../river-station/statistic/site-day-avg.vue | 9 +-- .../water/river-station/statistic/site.vue | 14 ++--- src/views/water/river/collect/index.vue | 8 +-- src/views/water/river/dict/place.vue | 2 + src/views/water/river/statistic/avg-index.vue | 4 +- .../water/river/statistic/avg-standard.vue | 11 +--- .../water/river/statistic/base-index.vue | 10 +--- .../water/river/statistic/base-standard.vue | 11 +--- src/views/water/river/statistic/base.vue | 57 ++++++++----------- .../statistic/auto-standard.vue | 4 +- .../statistic/auto-yoy.vue | 6 +- .../water-function-area/statistic/auto.vue | 33 +++++++---- .../statistic/national-standard.vue | 4 +- .../statistic/national-yoy.vue | 4 +- .../statistic/national.vue | 4 +- 15 files changed, 82 insertions(+), 99 deletions(-) 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 0784e2d..03e4687 100644 --- a/src/views/water/river-station/statistic/site-day-avg.vue +++ b/src/views/water/river-station/statistic/site-day-avg.vue @@ -7,13 +7,14 @@ :wrapper-col="{ md: { span: 16 }, sm: { span: 24 } }"> - - {{ item.stationName }} + + + {{ item.stationName }} - - + + diff --git a/src/views/water/river-station/statistic/site.vue b/src/views/water/river-station/statistic/site.vue index 0b9c2d8..7270714 100644 --- a/src/views/water/river-station/statistic/site.vue +++ b/src/views/water/river-station/statistic/site.vue @@ -7,21 +7,17 @@ :wrapper-col="{ md: { span: 16 }, sm: { span: 24 } }"> - - {{ item.stationName }} + + + {{ item.stationName }} - - + diff --git a/src/views/water/river/collect/index.vue b/src/views/water/river/collect/index.vue index 62adeaf..195ea9b 100644 --- a/src/views/water/river/collect/index.vue +++ b/src/views/water/river/collect/index.vue @@ -245,7 +245,7 @@ console.log('判断222' + resp.data.data); if (resp.data.data == "true") { Modal.confirm({ - title: resp.data.msg + '有重复数据,确认是否覆盖?', + title: '有重复数据,确认是否覆盖?', onOk() { tasks.push( saveRiverBill({ @@ -376,7 +376,7 @@ if (resp.data.code == 0) { if (resp.data.data == "true") { Modal.confirm({ - title: resp.data.msg + '有重复数据,确认是否覆盖?', + title: '有重复数据,确认是否覆盖?', onOk() { tasks.push( saveWaterFunctionAreaBill({ @@ -442,7 +442,7 @@ console.log('判断222' + resp.data.data); if (resp.data.data == "true") { Modal.confirm({ - title: resp.data.msg + '有重复数据,确认是否覆盖?', + title:'有重复数据,确认是否覆盖?', onOk() { tasks.push( saveRiverStationBill({ @@ -570,7 +570,7 @@ if (resp.data.code == 0) { if (resp.data.data == "true") { Modal.confirm({ - title: resp.data.msg + '有重复数据,确认是否覆盖?', + title:'有重复数据,确认是否覆盖?', onOk() { tasks.push( saveRiverSiteBill({ diff --git a/src/views/water/river/dict/place.vue b/src/views/water/river/dict/place.vue index cf1d488..efe0eea 100644 --- a/src/views/water/river/dict/place.vue +++ b/src/views/water/river/dict/place.vue @@ -214,6 +214,8 @@ title: "断面类别", dataIndex: "sectionGenre", sorter: true, + customRender:({text})=> text == "1"?"国控断面":text == "2"?"省控断面":text == "3"?"市控断面":text == "4"?"水环境功能区监控断面":text == "5"?"重点流域断面":"" + }, { title: "水质目标", diff --git a/src/views/water/river/statistic/avg-index.vue b/src/views/water/river/statistic/avg-index.vue index e00ca4b..a98fe59 100644 --- a/src/views/water/river/statistic/avg-index.vue +++ b/src/views/water/river/statistic/avg-index.vue @@ -33,10 +33,10 @@ - + - + diff --git a/src/views/water/river/statistic/avg-standard.vue b/src/views/water/river/statistic/avg-standard.vue index bdf0e05..ed3c2d7 100644 --- a/src/views/water/river/statistic/avg-standard.vue +++ b/src/views/water/river/statistic/avg-standard.vue @@ -32,17 +32,12 @@ - + - + - + diff --git a/src/views/water/river/statistic/base-index.vue b/src/views/water/river/statistic/base-index.vue index 2ec7036..ebab8e8 100644 --- a/src/views/water/river/statistic/base-index.vue +++ b/src/views/water/river/statistic/base-index.vue @@ -32,17 +32,11 @@ - - + - + diff --git a/src/views/water/river/statistic/base-standard.vue b/src/views/water/river/statistic/base-standard.vue index 009ec6d..b9168e3 100644 --- a/src/views/water/river/statistic/base-standard.vue +++ b/src/views/water/river/statistic/base-standard.vue @@ -32,17 +32,12 @@ - + - + - + diff --git a/src/views/water/river/statistic/base.vue b/src/views/water/river/statistic/base.vue index a910b9d..eb261d2 100644 --- a/src/views/water/river/statistic/base.vue +++ b/src/views/water/river/statistic/base.vue @@ -3,41 +3,24 @@
- - - - - - - + + + + + + @@ -46,7 +29,7 @@ - + {{ item }} @@ -174,6 +157,12 @@ console.log(res.data.data) this.visibleWater = true; this.sectionInfo = res.data.data + res.data.data.forEach((m) => { + this.waterSystemList.push(m.waterBody); + this.waterBodyList.push(m.riverSystem); + }) + this.waterSystemList = [...new Set(this.waterSystemList)]; + this.waterBodyList = [...new Set(this.waterBodyList)]; } else { this.$message.error(res.data.msg); } diff --git a/src/views/water/water-function-area/statistic/auto-standard.vue b/src/views/water/water-function-area/statistic/auto-standard.vue index 12a83ac..3b463c2 100644 --- a/src/views/water/water-function-area/statistic/auto-standard.vue +++ b/src/views/water/water-function-area/statistic/auto-standard.vue @@ -26,7 +26,7 @@ - + @@ -171,7 +171,7 @@ this.visibleWater = true; this.sectionInfo = res.data.data res.data.data.forEach((m) => { - this.waterSystemList.push(m.waterBody); + this.waterSystemList.push(m.riverLakeLibrary); }) this.waterSystemList = [...new Set(this.waterSystemList)]; } else { diff --git a/src/views/water/water-function-area/statistic/auto-yoy.vue b/src/views/water/water-function-area/statistic/auto-yoy.vue index 3297dfd..2d41be2 100644 --- a/src/views/water/water-function-area/statistic/auto-yoy.vue +++ b/src/views/water/water-function-area/statistic/auto-yoy.vue @@ -26,10 +26,10 @@ - + - + @@ -123,7 +123,7 @@ this.visibleWater = true; this.sectionInfo = res.data.data res.data.data.forEach((m) => { - this.waterSystemList.push(m.waterBody); + this.waterSystemList.push(m.riverLakeLibrary); }) this.waterSystemList = [...new Set(this.waterSystemList)]; } else { diff --git a/src/views/water/water-function-area/statistic/auto.vue b/src/views/water/water-function-area/statistic/auto.vue index 34e29c3..200f248 100644 --- a/src/views/water/water-function-area/statistic/auto.vue +++ b/src/views/water/water-function-area/statistic/auto.vue @@ -26,10 +26,10 @@ - + - + @@ -45,7 +45,7 @@ - @@ -56,7 +56,7 @@