Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NewTruckTerminalSyetem
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
SQL_Mou
NewTruckTerminalSyetem
Commits
34721a67
Commit
34721a67
authored
Nov 16, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
77ef2e21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
Login.vue
src/views/Login.vue
+10
-9
No files found.
src/views/Login.vue
View file @
34721a67
...
...
@@ -187,14 +187,6 @@ export default {
if
(
user
.
password
!==
this
.
cookiePass
)
{
user
.
password
=
encrypt
(
user
.
password
)
}
//修改人员表中绑定的车辆personalCenterInforQuery
httpGet
(
personalCenterInforQuery
,{
userName
:
user
.
username
}).
then
((
respersonal
)
=>
{
if
(
respersonal
.
code
==
200
&&
respersonal
.
data
.
totalElements
!=
0
){
let
lastpersonalData
=
respersonal
.
data
.
content
[
0
];
lastpersonalData
.
car
=
that
.
bindingCar
;
putForJson
(
personalCenterInforQuery
,
lastpersonalData
).
then
((
res
)
=>
{})
}
});
if
(
valid
){
httpPostForJson
(
login
,
user
).
then
(
res
=>
{
let
that
=
this
;
...
...
@@ -210,7 +202,16 @@ export default {
Cookies
.
remove
(
'
username
'
)
Cookies
.
remove
(
'
password
'
)
}
that
.
$router
.
push
({
path
:
'
/MLargeScreen/index?
'
+
user
.
username
});
//修改人员表中绑定的车辆personalCenterInforQuery
httpGet
(
personalCenterInforQuery
,{
userName
:
user
.
username
}).
then
((
respersonal
)
=>
{
if
(
respersonal
.
code
==
200
&&
respersonal
.
data
.
totalElements
!=
0
){
let
lastpersonalData
=
respersonal
.
data
.
content
[
0
];
lastpersonalData
.
car
=
that
.
bindingCar
;
putForJson
(
personalCenterInforQuery
,
lastpersonalData
).
then
((
res
)
=>
{
that
.
$router
.
push
({
path
:
'
/MLargeScreen/index?
'
+
user
.
username
})
})
}
})
}
})
}
else
{
...
...
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