|
|
|
@ -209,8 +209,16 @@ export default { |
|
|
|
window.sessionStorage.setItem("userId", res.data.userId); //当前人员ID |
|
|
|
window.sessionStorage.setItem("user", this.form.Username); |
|
|
|
|
|
|
|
// 壳程序懒加载通讯组件(壳须要token 2024-11-22) |
|
|
|
if (this.$peisAPI) { |
|
|
|
this.$peisAPI.lazyLoad(); // 加载报表 dll |
|
|
|
this.$peisAPI.lazyLoadReportTemplate(res.data.access_token); //加载报表 模版 |
|
|
|
} |
|
|
|
|
|
|
|
this.$router.push({ path: "/home" }); |
|
|
|
this.$store.state.changepassword = this.form.Password; |
|
|
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
this.$message.warning(res.message); |
|
|
|
} |
|
|
|
@ -221,13 +229,6 @@ export default { |
|
|
|
}) |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
// 壳程序懒加载通讯组件 |
|
|
|
if (this.$peisAPI) { |
|
|
|
this.$peisAPI.lazyLoad(); // 加载报表 dll |
|
|
|
this.$peisAPI.lazyLoadReportTemplate(); //加载报表 模版 |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
created() { }, |
|
|
|
|