From 93becd8d57e767db902ba7cb9adc428745263d9b Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Wed, 24 Mar 2021 08:47:44 +0800
Subject: [PATCH] 体温,健康码页码修改

---
 src/views/animalHeat/animalHeat.vue |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/src/views/animalHeat/animalHeat.vue b/src/views/animalHeat/animalHeat.vue
index 42baa9f..cc2cadc 100644
--- a/src/views/animalHeat/animalHeat.vue
+++ b/src/views/animalHeat/animalHeat.vue
@@ -173,16 +173,7 @@
         return ids.join(",");
       }
     },
-    created() {
-      Recorder.getPermission().then(() => {});
-
-      this.recorder = new Recorder({
-        sampleBits: 16, // 采样位数,支持 8 或 16,默认是16
-        sampleRate: 8000, // 采样率,支持 11025、16000、22050、24000、44100、48000,根据浏览器默认值,我的chrome是48000
-        numChannels: 1, // 声道,支持 1 或 2, 默认是1
-        // compiling: false,(0.x版本中生效,1.x增加中)  // 是否边录边转换,默认是false
-      });
-    },
+   
     methods: {
       beforeOpen(done, type) {
       },
@@ -228,7 +219,7 @@
           ...params,
         };
         if (this.$route.query.type && this.$route.query != undefined && this.$route.query != null && this.$route.query != "" ) {
-            if (this.$route.query.status != undefined && this.$route.query.status != null && this.$route.query.status == "" ) {
+            if (this.$route.query.status != undefined && this.$route.query.status != null && this.$route.query.status != "" ) {
               this.activeClass = this.$route.query.type;
               this.page.currentPage = 1;
               params = {
@@ -242,6 +233,12 @@
                 type:this.$route.query.type
               };
             }
+        }else if(this.$route.query.status != undefined && this.$route.query.status != null && this.$route.query.status != "" ){
+            params = {
+              status: this.$route.query.status,
+              beginTime: this.$route.query.startTime,
+              endTime: this.$route.query.endTime
+            }
         }else{
             params = {
                 status:this.$route.query.status,

--
Gitblit v1.9.3