|
@@ -154,9 +154,11 @@ export default {
|
|
|
//如果类型返回的是1则为管理员用户
|
|
|
// this.$router.push({ path: "/manage/adminHome" });
|
|
|
if (res.data.user.roleType == "3") {
|
|
|
- this.$router.push({ path: "/manage/userManage" });
|
|
|
+ this.$router.push({ path: "/manage/generalSituation" });
|
|
|
+ // this.$router.push({ path: "/manage/userManage" });
|
|
|
} else if (res.data.user.roleType == "2") {
|
|
|
- this.$router.push({ path: "/manage/userManage" });
|
|
|
+ // this.$router.push({ path: "/manage/userManage" });
|
|
|
+ this.$router.push({ path: "/manage/generalSituation" });
|
|
|
} else if (res.data.user.roleType == "1") {
|
|
|
this.$message({
|
|
|
message: '请使用管理账号登录',
|