Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
64aa0dd3
Commit
64aa0dd3
authored
Oct 18, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
8a5bcc56
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
PersonalInfoSet.vue
src/components/PersonalInfoSet.vue
+1
-7
No files found.
src/components/PersonalInfoSet.vue
View file @
64aa0dd3
...
@@ -1061,11 +1061,9 @@
...
@@ -1061,11 +1061,9 @@
this
.
Success
(
res
.
data
.
message
);
this
.
Success
(
res
.
data
.
message
);
this
.
passWordMsg
.
OldPwd
=
''
;
this
.
passWordMsg
.
OldPwd
=
''
;
this
.
passWordMsg
.
Pwd
=
''
;
this
.
passWordMsg
.
Pwd
=
''
;
this
.
passWordMsg
.
surePassword
=
''
;
this
.
passWordMsg
.
surePassword
=
''
;
// //修改成功后退出登录
// //修改成功后退出登录
setTimeout
(()
=>
{
setTimeout
(()
=>
{
console
.
log
(
'执行了'
);
this
.
$store
.
dispatch
(
"logout"
)
this
.
$store
.
dispatch
(
"logout"
)
localStorage
.
removeItem
(
"userInfo"
);
localStorage
.
removeItem
(
"userInfo"
);
localStorage
.
removeItem
(
"previousPathInfo"
);
localStorage
.
removeItem
(
"previousPathInfo"
);
...
@@ -1171,7 +1169,6 @@
...
@@ -1171,7 +1169,6 @@
Id
:
userInfo
.
EmployeeId
Id
:
userInfo
.
EmployeeId
}
}
this
.
apipost
(
'admin_get_EmployeeGet'
,
msg
,
res
=>
{
this
.
apipost
(
'admin_get_EmployeeGet'
,
msg
,
res
=>
{
console
.
log
(
res
,
'resss'
);
if
(
res
.
data
.
resultCode
==
1
){
if
(
res
.
data
.
resultCode
==
1
){
this
.
dataList
=
res
.
data
.
data
;
this
.
dataList
=
res
.
data
.
data
;
this
.
getAccount
();
this
.
getAccount
();
...
@@ -1303,12 +1300,10 @@
...
@@ -1303,12 +1300,10 @@
}
}
// Crop
// Crop
croppedCanvas
=
this
.
cropper
.
getCroppedCanvas
();
croppedCanvas
=
this
.
cropper
.
getCroppedCanvas
();
console
.
log
(
this
.
cropper
)
// Round
// Round
roundedCanvas
=
this
.
getRoundedCanvas
(
croppedCanvas
);
roundedCanvas
=
this
.
getRoundedCanvas
(
croppedCanvas
);
this
.
headerImage
=
roundedCanvas
.
toDataURL
();
this
.
headerImage
=
roundedCanvas
.
toDataURL
();
console
.
log
(
this
.
headerImage
,
'headerImage'
);
let
that
=
this
;
let
that
=
this
;
let
blob
=
that
.
base64ToBlob
(
this
.
headerImage
);
let
blob
=
that
.
base64ToBlob
(
this
.
headerImage
);
let
newArr
=
[];
let
newArr
=
[];
...
@@ -1316,7 +1311,6 @@
...
@@ -1316,7 +1311,6 @@
var
fileName
=
`
${
that
.
uuid
(
10
,
10
)}
.png`
;
var
fileName
=
`
${
that
.
uuid
(
10
,
10
)}
.png`
;
var
path
=
`/Upload/Temporary`
;
var
path
=
`/Upload/Temporary`
;
that
.
uploadSelfBlob
(
path
,
newArr
,
x
=>
{
that
.
uploadSelfBlob
(
path
,
newArr
,
x
=>
{
console
.
log
(
x
);
let
allPath
=
that
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
;
let
allPath
=
that
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
;
this
.
postImg
(
allPath
)
this
.
postImg
(
allPath
)
})
})
...
...
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