|
@@ -479,6 +479,7 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
|
+
|
|
|
this.$root.smartNum=0;
|
|
|
this.$root.topPageFlag = false;
|
|
|
|
|
@@ -739,8 +740,13 @@ IF NOT EXISTS t_user_table (
|
|
|
"isMarried",
|
|
|
res.data.data.marriageSituation
|
|
|
);
|
|
|
+ // that.$router.push({
|
|
|
+ // path: "/mainTable",
|
|
|
+ // });
|
|
|
+ sessionStorage.setItem("defaultUrl", '/menu/smart1');
|
|
|
that.$router.push({
|
|
|
- path: "/mainTable",
|
|
|
+ path: "/menu/animation",
|
|
|
+ query: { url: "swfk" },
|
|
|
});
|
|
|
}
|
|
|
//当type等于2时跳转到我的测试页面
|
|
@@ -751,7 +757,12 @@ 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" });
|
|
|
+ sessionStorage.setItem("defaultUrl", '/menu/manageUserScale');
|
|
|
+ that.$router.push({
|
|
|
+ path: "/menu/manageUserScale",
|
|
|
+ query: { url: "yhlt" },
|
|
|
+ });
|
|
|
+ // that.$router.push({ path: "/mainTable" });
|
|
|
}
|
|
|
} else {
|
|
|
this.$message.error("访问服务器失败!");
|
|
@@ -789,8 +800,13 @@ IF NOT EXISTS t_user_table (
|
|
|
"isMarried",
|
|
|
res.data.data.marriageSituation
|
|
|
);
|
|
|
+ sessionStorage.setItem("defaultUrl", '/menu/smart1');
|
|
|
+ // that.$router.push({
|
|
|
+ // path: "/mainTable",
|
|
|
+ // });
|
|
|
that.$router.push({
|
|
|
- path: "/mainTable",
|
|
|
+ path: "/menu/smart1",
|
|
|
+ query: { url: "rjdh" },
|
|
|
});
|
|
|
}
|
|
|
//当type等于2时跳转到我的测试页面
|
|
@@ -801,7 +817,12 @@ 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" });
|
|
|
+
|
|
|
+ sessionStorage.setItem("defaultUrl", '/menu/manageUserScale');
|
|
|
+ that.$router.push({
|
|
|
+ path: "/menu/manageUserScale",
|
|
|
+ query: { url: "yhlt" },
|
|
|
+ });
|
|
|
}
|
|
|
} else {
|
|
|
this.$message.error("访问服务器失败!");
|