Commit 64aa0dd3 authored by 黄奎's avatar 黄奎

页面修改

parent 8a5bcc56
......@@ -1061,11 +1061,9 @@
this.Success(res.data.message);
this.passWordMsg.OldPwd='';
this.passWordMsg.Pwd='';
this.passWordMsg.surePassword='';
this.passWordMsg.surePassword='';
// //修改成功后退出登录
setTimeout(()=>{
console.log('执行了');
this.$store.dispatch("logout")
localStorage.removeItem("userInfo");
localStorage.removeItem("previousPathInfo");
......@@ -1171,7 +1169,6 @@
Id:userInfo.EmployeeId
}
this.apipost('admin_get_EmployeeGet',msg,res=>{
console.log(res,'resss');
if(res.data.resultCode==1){
this.dataList=res.data.data;
this.getAccount();
......@@ -1303,12 +1300,10 @@
}
// Crop
croppedCanvas = this.cropper.getCroppedCanvas();
console.log(this.cropper)
// Round
roundedCanvas = this.getRoundedCanvas(croppedCanvas);
this.headerImage = roundedCanvas.toDataURL();
console.log(this.headerImage,'headerImage');
let that = this;
let blob = that.base64ToBlob(this.headerImage);
let newArr = [];
......@@ -1316,7 +1311,6 @@
var fileName = `${that.uuid(10,10)}.png`;
var path = `/Upload/Temporary`;
that.uploadSelfBlob(path, newArr, x => {
console.log(x);
let allPath = that.domainManager().ViittoFileUrl + x.data.FilePath;
this.postImg(allPath)
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment