Browse Source

init

newStyle
wangxiaohua 2 years ago
parent
commit
39fcc1767f
2 changed files with 5 additions and 4 deletions
  1. +1
    -1
      src/page/wel.vue
  2. +4
    -3
      src/views/Equipment/state.vue

+ 1
- 1
src/page/wel.vue View File

@@ -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 View File

@@ -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();


Loading…
Cancel
Save