档案采集

master
wanglei 2 years ago
parent cda789f764
commit 6a0b85a0eb

@ -660,8 +660,14 @@ export default {
})
.then( (response)=> {
this.percentage = Math.round((response.data.file_counts/this.pictureRecard.length)*100);
if(this.percentage===100||this.percentage>100){
clearInterval(this.Interval);
this.Interval = null;
}
}).catch((error)=> {
//
console.log(error)
})
},
}

@ -316,7 +316,13 @@ export default {
'Content-Type': 'application/x-www-form-urlencoded'
}
}).then((response)=>{
this.percentage = Math.round((response.data.file_counts/this.selectionList.length)*100)
this.percentage = Math.round((response.data.file_counts/this.selectionList.length)*100);
if(this.percentage===100||this.percentage>100){
clearInterval(this.Interval);
this.Interval = null;
}
}).catch(function (error) {
//
console.log(error);

Loading…
Cancel
Save