|
|
@@ -459,7 +459,8 @@ export default {
|
|
|
user
|
|
|
.studentLogin({
|
|
|
password: encrypt(this.passWord.trim()),
|
|
|
- username: this.userName.trim()
|
|
|
+ username: this.userName.trim(),
|
|
|
+ deviceType: 'PC'
|
|
|
})
|
|
|
.then(res => {
|
|
|
this.loadingLogin = false
|
|
|
@@ -472,9 +473,8 @@ export default {
|
|
|
this.$store.dispatch('user/SET_SCHOOL_LOGO', userInfo.schoolLogoUrl) //设置学校logo
|
|
|
this.$store.dispatch('user/SET_SCHOOL_WEB_SITE_ID', userInfo.cloudMonitorSiteId || '') //设置学校网站id
|
|
|
this.$store.dispatch('user/getUserInfoByToken') //获取用户登录信息
|
|
|
-
|
|
|
- const directUrl = '/studentAnalysisReport/list'
|
|
|
- this.$router.push({ path: directUrl })
|
|
|
+ this.$router.push("/jointStudentAnalysisReport/list");
|
|
|
+
|
|
|
} else {
|
|
|
this.$message({
|
|
|
message: res.msg,
|