diff --git a/src/views/water/water-function-area/statistic/auto.vue b/src/views/water/water-function-area/statistic/auto.vue
index b33b72f..1141817 100644
--- a/src/views/water/water-function-area/statistic/auto.vue
+++ b/src/views/water/water-function-area/statistic/auto.vue
@@ -13,10 +13,10 @@
-
+
-
+
@@ -79,7 +79,7 @@
},
mounted() {
this.loading = true;
- autonomyWaterFunctionTotal().then((res) => {
+ autonomyWaterFunctionTotal(this.where).then((res) => {
if (res.data.code == 0) {
if (res.data.data != null) {
res.data.data.forEach((e) => {
@@ -140,7 +140,8 @@
/* 刷新表格 */
reload() {
this.loading = true;
- autonomyWaterFunctionTotal().then((res) => {
+ console.log(this.where);
+ autonomyWaterFunctionTotal(this.where).then((res) => {
if (res.data.code == 0) {
if (res.data.data != null) {
res.data.data.forEach((e) => {
diff --git a/src/views/water/water-function-area/statistic/national.vue b/src/views/water/water-function-area/statistic/national.vue
index 28279aa..3625ae9 100644
--- a/src/views/water/water-function-area/statistic/national.vue
+++ b/src/views/water/water-function-area/statistic/national.vue
@@ -13,10 +13,10 @@
-
+
-
+
@@ -110,7 +110,7 @@
},
mounted() {
this.loading = true;
- nationalWaterFunctionTotal().then((res) => {
+ nationalWaterFunctionTotal(this.where).then((res) => {
if (res.data.code == 0) {
if (res.data.data != null) {
res.data.data.forEach((e) => {
@@ -172,7 +172,7 @@
/* 刷新表格 */
reload() {
this.loading = true;
- nationalWaterFunctionTotal().then((res) => {
+ nationalWaterFunctionTotal(this.where).then((res) => {
if (res.data.code == 0) {
if (res.data.data != null) {
res.data.data.forEach((e) => {