http
This commit is contained in:
@@ -52,7 +52,7 @@ export default {
|
||||
return {
|
||||
loginname: '',
|
||||
password: '',
|
||||
equipment: [{id: 0, name: '首页'}, {id: 1, name: '仓储监控'}, {id: 2, name: '设备监控'}, {id: 3, name: '物流工艺'}, {id: 4, name: '生产统计'}],
|
||||
equipment: [{id: 0, name: '首页'}, {id: 1, name: '生产统计'}, {id: 2, name: '仓储监控'}, {id: 3, name: '设备监控'}],
|
||||
equipId: Number(this.$store.getters.equipId),
|
||||
drift: 0,
|
||||
baseUrl: this.$store.getters.baseUrl,
|
||||
@@ -78,13 +78,11 @@ export default {
|
||||
if (this.equipId === 0) {
|
||||
this.$router.push('/homepage')
|
||||
} else if (this.equipId === 1) {
|
||||
this.$router.push('/storagemonitor')
|
||||
} else if (this.equipId === 2) {
|
||||
this.$router.push('/devicemonitor')
|
||||
} else if (this.equipId === 3) {
|
||||
this.$router.push('/logisticstech')
|
||||
} else {
|
||||
this.$router.push('/prodcount')
|
||||
} else if (this.equipId === 2) {
|
||||
this.$router.push('/storagemonitor')
|
||||
} else if (this.equipId === 3) {
|
||||
this.$router.push('/devicemonitor')
|
||||
}
|
||||
let element = document.documentElement
|
||||
if (this.fullscreen) {
|
||||
|
||||
Reference in New Issue
Block a user