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

页面修改

parent 8a5bcc56
...@@ -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)
}) })
......
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