pc-master #139

Merged
xiaomeng merged 2 commits from pc-master into portal 2024-04-02 07:25:51 +00:00
Showing only changes of commit d30b533128 - Show all commits

View File

@ -415,10 +415,18 @@ export default {
return
}
this.$router.push({ path: `/control?change=${item.index}` })
} else if (item.deviceName == 1 && this.routerNow != 'irrigateSet') {
this.$store.state.equipmentIndex = item.index
this.routerIndex = item.index
this.$router.push({ path: `/irrigateSet?change=${item.index}` })
} else if (item.deviceName == 1 ) {
if(this.routerNow == 'irrigateSet'){
this.$store.state.equipmentIndex = item.index
this.routerIndex = item.index
}else{
this.$store.state.equipmentIndex = item.index
this.routerIndex = item.index
this.$router.push({ path: `/irrigateSet?change=${item.index}` })
}
} else if (item.deviceName == 30) {
this.$message('气象站无该页面');
}