|
@@ -63,8 +63,8 @@
|
|
|
workshopoptions:[
|
|
|
{label: 'SMT', value: 'SMT'},
|
|
|
{label: '焊接', value: '焊接'},
|
|
|
- {label: '组装', value: '组装'},
|
|
|
- {label: '总看板', value: '所有'},
|
|
|
+ {label: '组装车间', value: '组装'},
|
|
|
+ {label: '各车间总看板', value: '所有'},
|
|
|
]
|
|
|
|
|
|
}
|
|
@@ -140,10 +140,12 @@
|
|
|
this.setCookieData();
|
|
|
if(this.loginForm.workshop =='SMT'){
|
|
|
this.$router.push({path: this.redirect || '/smt'});
|
|
|
- }else if(this.loginForm.workshop =='包装'){
|
|
|
- this.$router.push({path: this.redirect || '/package'});
|
|
|
+ }else if(this.loginForm.workshop =='焊接'){
|
|
|
+ this.$router.push({path: this.redirect || '/hj'});
|
|
|
}else if(this.loginForm.workshop =='组装'){
|
|
|
this.$router.push({path: this.redirect || '/assembly'});
|
|
|
+ }else if(this.loginForm.workshop =='所有'){
|
|
|
+ this.$router.push({path: this.redirect || '/total'});
|
|
|
}
|
|
|
}else{
|
|
|
this.$message.error(res.reason);
|