Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
front-end-dev
techbook
Commits
5090e746
Commit
5090e746
authored
Feb 24, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录之后跳转
parent
4385952e
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
0 deletions
+8
-0
emByCodeCmpt.vue
src/components/login/emByCodeCmpt.vue
+1
-0
emByPwdCmpt.vue
src/components/login/emByPwdCmpt.vue
+1
-0
mbByCodeCmpt.vue
src/components/login/mbByCodeCmpt.vue
+1
-0
mbByPwdCmpt.vue
src/components/login/mbByPwdCmpt.vue
+1
-0
emCodeCmpt.vue
src/views/mobile/loginregister/emCodeCmpt.vue
+1
-0
emPwdCmpt.vue
src/views/mobile/loginregister/emPwdCmpt.vue
+1
-0
phoneCodeCmpt.vue
src/views/mobile/loginregister/phoneCodeCmpt.vue
+1
-0
phonePwdCmpt.vue
src/views/mobile/loginregister/phonePwdCmpt.vue
+1
-0
No files found.
src/components/login/emByCodeCmpt.vue
View file @
5090e746
...
...
@@ -158,6 +158,7 @@
window
.
sessionStorage
.
removeItem
(
"userInfo"
);
}
// publicFunc.setUserInfoCookie(that.Base64.encode(JSON.stringify(data)));
window
.
sessionStorage
.
setItem
(
"userInfo"
,
that
.
Base64
.
encode
(
JSON
.
stringify
(
data
)));
this
.
hasSetPassword
(
data
);
},
...
...
src/components/login/emByPwdCmpt.vue
View file @
5090e746
...
...
@@ -133,6 +133,7 @@
window
.
sessionStorage
.
removeItem
(
"userInfo"
);
}
// publicFunc.setUserInfoCookie(that.Base64.encode(JSON.stringify(data)));
window
.
sessionStorage
.
setItem
(
"userInfo"
,
that
.
Base64
.
encode
(
JSON
.
stringify
(
data
)));
if
(
data
.
locked
==
1
&&
data
.
empType
!=
2
)
this
.
$router
.
replace
(
"/completeInfoCmpt"
);
data
.
empType
==
0
?
this
.
$router
.
push
({
path
:
"/bigBusiness/list"
,
query
:{
remind
:
true
}}):
data
.
empType
==
1
?
this
.
$router
.
push
({
path
:
"/seeprojectlist"
,
query
:{
remind
:
true
}}):
data
.
roleList
[
0
].
roleType
==
1
?
this
.
$router
.
push
(
"/sys.user"
):
this
.
$router
.
push
(
"/seeprojectlist"
);
this
.
timeOutReturn
();
...
...
src/components/login/mbByCodeCmpt.vue
View file @
5090e746
...
...
@@ -137,6 +137,7 @@
window
.
sessionStorage
.
removeItem
(
"userInfo"
);
}
// publicFunc.setUserInfoCookie(that.Base64.encode(JSON.stringify(data)));
window
.
sessionStorage
.
setItem
(
"userInfo"
,
that
.
Base64
.
encode
(
JSON
.
stringify
(
data
)));
this
.
hasSetPassword
(
data
);
},
...
...
src/components/login/mbByPwdCmpt.vue
View file @
5090e746
...
...
@@ -164,6 +164,7 @@
window
.
sessionStorage
.
removeItem
(
"userInfo"
);
}
// publicFunc.setUserInfoCookie(that.Base64.encode(JSON.stringify(data)));
window
.
sessionStorage
.
setItem
(
"userInfo"
,
that
.
Base64
.
encode
(
JSON
.
stringify
(
data
)));
if
(
data
.
locked
==
1
&&
data
.
empType
!=
2
)
this
.
$router
.
replace
(
"/completeInfoCmpt"
);
data
.
empType
==
0
?
this
.
$router
.
push
({
path
:
"/bigBusiness/list"
,
query
:{
remind
:
true
}}):
data
.
empType
==
1
?
this
.
$router
.
push
({
path
:
"/seeprojectlist"
,
query
:{
remind
:
true
}}):
data
.
roleList
[
0
].
roleType
==
1
?
this
.
$router
.
push
(
"/sys.user"
):
this
.
$router
.
push
(
"/seeprojectlist"
);
that
.
timeOutReturn
()
...
...
src/views/mobile/loginregister/emCodeCmpt.vue
View file @
5090e746
...
...
@@ -149,6 +149,7 @@
// else{
// this.$router.push("/mobileSuccess");
// }
window
.
sessionStorage
.
setItem
(
"userInfo"
,
that
.
Base64
.
encode
(
JSON
.
stringify
(
data
)));
this
.
$router
.
push
(
"/mobileSuccess"
);
that
.
timeOutReturn
();
...
...
src/views/mobile/loginregister/emPwdCmpt.vue
View file @
5090e746
...
...
@@ -135,6 +135,7 @@
// else{
// this.$router.push("/mobileSuccess");
// }
window
.
sessionStorage
.
setItem
(
"userInfo"
,
that
.
Base64
.
encode
(
JSON
.
stringify
(
data
)));
this
.
$router
.
push
(
"/mobileSuccess"
);
this
.
timeOutReturn
();
},
...
...
src/views/mobile/loginregister/phoneCodeCmpt.vue
View file @
5090e746
...
...
@@ -132,6 +132,7 @@
// else{
// this.$router.push("/mobileSuccess");
// }
window
.
sessionStorage
.
setItem
(
"userInfo"
,
that
.
Base64
.
encode
(
JSON
.
stringify
(
data
)));
this
.
$router
.
push
(
"/mobileSuccess"
);
that
.
timeOutReturn
();
},
...
...
src/views/mobile/loginregister/phonePwdCmpt.vue
View file @
5090e746
...
...
@@ -170,6 +170,7 @@
// else{
// this.$router.push("/mobileSuccess");
// }
window
.
sessionStorage
.
setItem
(
"userInfo"
,
that
.
Base64
.
encode
(
JSON
.
stringify
(
data
)));
this
.
$router
.
push
(
"/mobileSuccess"
);
that
.
timeOutReturn
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment