From 032d42b76a49a9aa9894fface239dcb683873c29 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 19 Mar 2021 12:55:46 +0800
Subject: [PATCH] 健康码参数修改
---
src/views/healthcode/healthcode.vue | 7 ++++++-
src/views/home/home.vue | 4 ++--
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/views/healthcode/healthcode.vue b/src/views/healthcode/healthcode.vue
index 97dfb95..9803fcb 100644
--- a/src/views/healthcode/healthcode.vue
+++ b/src/views/healthcode/healthcode.vue
@@ -137,7 +137,6 @@
}
],
}
-
]
},
data: []
@@ -192,6 +191,12 @@
},
onLoad(page, params = {}) {
this.loading = true;
+ console.log("status="+this.$route.query.status);
+ params ={
+ status:this.$route.query.status,
+ type:this.$route.query.type
+ }
+ console.log("params="+params);
getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
const data = res.data.data;
this.page.total = data.total;
diff --git a/src/views/home/home.vue b/src/views/home/home.vue
index b90d02e..7fa0593 100644
--- a/src/views/home/home.vue
+++ b/src/views/home/home.vue
@@ -31,13 +31,13 @@
handleStartAnimalHeat(data) {
this.$router.push({
path: `/animalHeat/animalHeatPage`,
- query: data
+ query: data[0]
});
},
handleStartHealthcode(data){
this.$router.push({
path: `/healthcode/healthcodePage`,
- query: data
+ query: data[0]
});
}
--
Gitblit v1.9.3