|
@@ -115,7 +115,7 @@
|
|
_this.completeShow = true;
|
|
_this.completeShow = true;
|
|
clearInterval(uploadTime);
|
|
clearInterval(uploadTime);
|
|
}
|
|
}
|
|
- },500);
|
|
|
|
|
|
+ },1000);
|
|
},
|
|
},
|
|
//读取文件
|
|
//读取文件
|
|
readFiles(folderPath) {
|
|
readFiles(folderPath) {
|
|
@@ -155,7 +155,7 @@
|
|
|
|
|
|
let photo = fs.readFileSync(studentPhoto.path);
|
|
let photo = fs.readFileSync(studentPhoto.path);
|
|
//生成新名称
|
|
//生成新名称
|
|
- let md5Hash = CryptoJS.MD5(Base64.encode(studentPhoto.fileName+new Date().getTime())).toString();
|
|
|
|
|
|
+ let md5Hash = CryptoJS.MD5(Base64.encode(fileName+new Date().getTime())).toString();
|
|
let rootOrgId = localStorage.getItem('rootOrgId');
|
|
let rootOrgId = localStorage.getItem('rootOrgId');
|
|
//根据身份证号码查询学生信息
|
|
//根据身份证号码查询学生信息
|
|
this.$http.get('/api/ecs_core/studentFaceInfo/identityNumber?orgId='+rootOrgId+'&identityNumber='+fileName, {})
|
|
this.$http.get('/api/ecs_core/studentFaceInfo/identityNumber?orgId='+rootOrgId+'&identityNumber='+fileName, {})
|