Selaa lähdekoodia

init

newStyle
wangxiaohua 4 vuotta sitten
vanhempi
commit
39fcc1767f
2 muutettua tiedostoa jossa 5 lisäystä ja 4 poistoa
  1. +1
    -1
      src/page/wel.vue
  2. +4
    -3
      src/views/Equipment/state.vue

+ 1
- 1
src/page/wel.vue Näytä tiedosto

@@ -976,7 +976,7 @@ export default {
}else{
this.$router.push({
path: "/Equipment/state",
query: { flag: 2,electricity:20},
query: { flag: 2,electricity:'20'},
});
}
},


+ 4
- 3
src/views/Equipment/state.vue Näytä tiedosto

@@ -723,11 +723,12 @@ export default {
mounted() {
if(this.$route.query.flag){
if(this.$route.query.flag==1){
this.searchForm.onLine='0'
this.searchForm.onLine='0';
}else{
this.searchForm.onLine='1'
this.searchForm.onLine='1';
this.searchForm.electricity=this.$route.query.electricity
}
this.searchForm.electricity=this.$route.query.electricity
}
// asd
this.getTableList();


Ladataan…
Peruuta
Tallenna