| @@ -976,7 +976,7 @@ export default { | |||||
| }else{ | }else{ | ||||
| this.$router.push({ | this.$router.push({ | ||||
| path: "/Equipment/state", | path: "/Equipment/state", | ||||
| query: { flag: 2,electricity:20}, | |||||
| query: { flag: 2,electricity:'20'}, | |||||
| }); | }); | ||||
| } | } | ||||
| }, | }, | ||||
| @@ -723,11 +723,12 @@ export default { | |||||
| mounted() { | mounted() { | ||||
| if(this.$route.query.flag){ | if(this.$route.query.flag){ | ||||
| if(this.$route.query.flag==1){ | if(this.$route.query.flag==1){ | ||||
| this.searchForm.onLine='0' | |||||
| this.searchForm.onLine='0'; | |||||
| }else{ | }else{ | ||||
| this.searchForm.onLine='1' | |||||
| this.searchForm.onLine='1'; | |||||
| this.searchForm.electricity=this.$route.query.electricity | |||||
| } | } | ||||
| this.searchForm.electricity=this.$route.query.electricity | |||||
| } | } | ||||
| // asd | // asd | ||||
| this.getTableList(); | this.getTableList(); | ||||