瀏覽代碼

init

newStyle
wangxiaohua 4 年之前
父節點
當前提交
39fcc1767f
共有 2 個文件被更改,包括 5 次插入4 次删除
  1. +1
    -1
      src/page/wel.vue
  2. +4
    -3
      src/views/Equipment/state.vue

+ 1
- 1
src/page/wel.vue 查看文件

@@ -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'},
}); });
} }
}, },


+ 4
- 3
src/views/Equipment/state.vue 查看文件

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


Loading…
取消
儲存