南昌市物联网技防平台-前端
src/views/animalHeat/animalHeat.vue
@@ -205,11 +205,17 @@
    methods: {
      beforeOpen(done, type) {
      },
      //清空按钮
      searchReset() {
        //清空搜索框中的内容
        this.query = {};
        //清空this.$route.query
        this.$router.push({ query: {} });
        this.onLoad(this.page);
      },
      //搜索按钮
      searchChange(params, done) {
        console.log(params,222);
        this.query = params;
        this.page.currentPage = 1;
        this.onLoad(this.page, params);