pc-master #139
@ -415,10 +415,18 @@ export default {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.$router.push({ path: `/control?change=${item.index}` })
|
this.$router.push({ path: `/control?change=${item.index}` })
|
||||||
} else if (item.deviceName == 1 && this.routerNow != 'irrigateSet') {
|
} else if (item.deviceName == 1 ) {
|
||||||
this.$store.state.equipmentIndex = item.index
|
if(this.routerNow == 'irrigateSet'){
|
||||||
this.routerIndex = item.index
|
this.$store.state.equipmentIndex = item.index
|
||||||
this.$router.push({ path: `/irrigateSet?change=${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) {
|
} else if (item.deviceName == 30) {
|
||||||
this.$message('气象站无该页面');
|
this.$message('气象站无该页面');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user