设置+高

This commit is contained in:
2023-05-30 14:03:58 +08:00
parent 4992231ce5
commit 499a6ea256
3 changed files with 342 additions and 388 deletions

View File

@@ -61,7 +61,8 @@ export default {
return {
loginname: '',
password: '',
option: [{index: '1', label: '生产统计'}, {index: '2', label: '仓储监控'}, {index: '3', label: '设备监控'}],
// option: [{index: '1', label: '生产统计'}, {index: '2', label: '仓储监控'}, {index: '3', label: '设备监控'}],
option: [{index: '1', label: '工序生产-左'}, {index: '2', label: '工序生产-右'}],
index: this.$store.getters.equipId,
baseUrl: this.$store.getters.baseUrl,
setTime: this.$store.getters.setTime / 1000,
@@ -86,12 +87,17 @@ export default {
}
this.$store.dispatch('setConfig', obj)
if (this.index === '1') {
this.$router.push('/prodcount')
this.$router.push('/homepageone')
} else if (this.index === '2') {
this.$router.push('/storagemonitor')
} else if (this.index === '3') {
this.$router.push('/devicemonitor')
this.$router.push('/homepagetwo')
}
// if (this.index === '1') {
// this.$router.push('/prodcount')
// } else if (this.index === '2') {
// this.$router.push('/storagemonitor')
// } else if (this.index === '3') {
// this.$router.push('/devicemonitor')
// }
let element = document.documentElement
if (this.fullscreen) {
if (document.exitFullscreen) {