Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/jfpt-Vue
| | |
| | | } |
| | | ], |
| | | } |
| | | |
| | | ] |
| | | }, |
| | | data: [] |
| | |
| | | }, |
| | | 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; |
| | |
| | | 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] |
| | | }); |
| | | } |
| | | |