智慧农业后台管理页面
guoshilong
2022-08-16 522a153c30515c8a7edf52a927be12d7abb3846d
修复点击搜索后,切换农场数据不变的问题
3 files modified
5 ■■■■■ changed files
src/views/statistics/farmplantarea.vue 2 ●●●●● patch | view | raw | blame | history
src/views/statistics/farmproductstockstatistics.vue 1 ●●●● patch | view | raw | blame | history
src/views/statistics/stock.vue 2 ●●●●● patch | view | raw | blame | history
src/views/statistics/farmplantarea.vue
@@ -243,6 +243,7 @@
            this.query = params
            this.page.currentPage = 1
            this.onLoad(this.page, params)
            this.query = {}
            done()
        },
        selectionChange (list) {
@@ -277,6 +278,7 @@
                    ...this.query,
                }
                values.releaseTimeRange = null
                values.farmId = this.$farmId
            }
            getFarmPlantStatistics(page.currentPage, page.pageSize, values).then(
                (res) => {
src/views/statistics/farmproductstockstatistics.vue
@@ -362,6 +362,7 @@
          ...this.query,
        };
        values.releaseTimeRange = null;
        values.farmId = this.$farmId
      }
      getList(
        page.currentPage,
src/views/statistics/stock.vue
@@ -370,6 +370,7 @@
      this.query = params;
      this.page.currentPage = 1;
      this.onLoad(this.page, params);
      this.query={}
      done();
    }
    ,
@@ -408,6 +409,7 @@
          ...this.query,
        };
        values.releaseTimeRange = null;
        values.farmId = this.$farmId
      }
      pagenum(page.currentPage, page.pageSize, values
      ).then((res) => {