南昌市物联网技防平台-前端
shuishen
2021-04-02 b62d491b5cde9253d59dd229e8bb658c9b76e45f
src/views/animalHeat/animalHeat.vue
@@ -135,6 +135,7 @@
              label: "体温状态",
              search: true,
              searchLabelWidth: 120,
              searchValue: this.getAnimalType(),
              prop: "status",
              searchSpan: 5,
              width:110,
@@ -221,6 +222,12 @@
        this.page.currentPage = 1;
        this.onLoad(this.page, params);
      },
      //体温状态回填
      getAnimalType(){
          if (this.$route.query.status != undefined) {
              return this.$route.query.status
          }
      },
      onLoad(page, params = {}) {
        const { dateTime } = this.query;
        let values = {