|
@@ -738,9 +738,11 @@ IF NOT EXISTS t_user_table (
|
|
|
"isMarried",
|
|
|
res.data.data.marriageSituation
|
|
|
);
|
|
|
- that.$router.push({
|
|
|
- path: "/mainTable",
|
|
|
- });
|
|
|
+ // that.$router.push({
|
|
|
+ // path: "/mainTable",
|
|
|
+ // });
|
|
|
+
|
|
|
+ that.goPage('/menu/smart1', 'rjdh')
|
|
|
}
|
|
|
//当type等于2时跳转到我的测试页面
|
|
|
|
|
@@ -750,7 +752,8 @@ IF NOT EXISTS t_user_table (
|
|
|
sessionStorage.setItem("num", that.account);
|
|
|
sessionStorage.setItem("pass", that.$md5(that.password));
|
|
|
sessionStorage.setItem("userType", "2");
|
|
|
- that.$router.push({ path: "/mainTable" });
|
|
|
+ // that.$router.push({ path: "/mainTable" });
|
|
|
+ that.goPage('/menu/manageUser', 'yhgl')
|
|
|
}
|
|
|
} else {
|
|
|
this.$message.error("访问服务器失败!");
|
|
@@ -788,9 +791,10 @@ IF NOT EXISTS t_user_table (
|
|
|
"isMarried",
|
|
|
res.data.data.marriageSituation
|
|
|
);
|
|
|
- that.$router.push({
|
|
|
- path: "/mainTable",
|
|
|
- });
|
|
|
+ // that.$router.push({
|
|
|
+ // path: "/mainTable",
|
|
|
+ // });
|
|
|
+ that.goPage('/menu/smart1', 'rjdh')
|
|
|
}
|
|
|
//当type等于2时跳转到我的测试页面
|
|
|
|
|
@@ -800,13 +804,19 @@ IF NOT EXISTS t_user_table (
|
|
|
sessionStorage.setItem("num", that.account);
|
|
|
sessionStorage.setItem("pass", that.$md5(that.password));
|
|
|
sessionStorage.setItem("userType", "2");
|
|
|
- that.$router.push({ path: "/mainTable" });
|
|
|
+ // that.$router.push({ path: "/mainTable" });
|
|
|
+ that.goPage('/menu/manageUser', 'yhgl')
|
|
|
}
|
|
|
} else {
|
|
|
this.$message.error("访问服务器失败!");
|
|
|
}
|
|
|
}
|
|
|
);
|
|
|
+ },
|
|
|
+ goPage(url, val) {
|
|
|
+ sessionStorage.setItem("defaultUrl", url);
|
|
|
+ this.$router.push({ path: url, query: { url: val } });
|
|
|
+ //this.$router.push({ path: url });
|
|
|
},
|
|
|
formateSex(val) {
|
|
|
if (val === "男") {
|