云生成

This commit is contained in:
X1627315083
2025-04-23 09:39:24 +08:00
parent b776f6a0c5
commit 42dfa3c032
22 changed files with 604 additions and 144 deletions

View File

@@ -482,10 +482,17 @@ export default defineComponent({
userId: this.userDetail.userId,
};
// console.log(getCookie("token"));
if(this.userDetail.systemUser == 3){
console.log(this.userDetail)
if(this.userDetail.systemList.indexOf(3)>-1){
await Https.axiosGet(Https.httpUrls.trialUserLogout,).then((rv) => {
Https.axiosPost(Https.httpUrls.accountLogout, data).then((rv) => {
this.$router.replace("/");
if(this.userDetail.systemUser == 7){
this.$router.replace("/schoolLogin");
}else if(this.userDetail.systemUser == 5){
this.$router.replace("/enterpriseLogin");
}else{
this.$router.replace("/");
}
// WriteCookie("token");
});
})

View File

@@ -533,7 +533,7 @@ export default defineComponent({
// this.loginType = 'email'
if (this.loginTime) {
this.loginTime = false;
Https.axiosPost(Https.httpUrls.preLogin, data)
Https.axiosPost(Https.httpUrls.enterpriseLogin, data)
.then((rv: any) => {
// if (rv) {
// this.loginType = 'email'

View File

@@ -533,7 +533,7 @@ export default defineComponent({
// this.loginType = 'email'
if (this.loginTime) {
this.loginTime = false;
Https.axiosPost(Https.httpUrls.preLogin, data)
Https.axiosPost(Https.httpUrls.schoolLogin, data)
.then((rv: any) => {
// if (rv) {
// this.loginType = 'email'