|
|
|
@ -153,10 +153,15 @@
|
|
|
|
@pagination="getList"
|
|
|
|
@pagination="getList"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="myProgress" v-show="openProgress">
|
|
|
|
</div>
|
|
|
|
<el-progress type="circle" :percentage="percentage"></el-progress>
|
|
|
|
|
|
|
|
<div style="margin-top:20px;">拼命识别中...</div>
|
|
|
|
<div class="myProgress" v-show="openProgress">
|
|
|
|
|
|
|
|
<!-- <el-progress type="circle" :percentage="percentage"></el-progress>-->
|
|
|
|
|
|
|
|
<div style="font-size: 50px">
|
|
|
|
|
|
|
|
<span style="color: #409EFF">{{ percentage }}</span> /
|
|
|
|
|
|
|
|
<span style="color: #67C23A">{{ selectionList.length }} </span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div style="margin-top:20px;">拼命识别中...</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@ -282,7 +287,7 @@ export default {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
this.Interval = setInterval(()=> {
|
|
|
|
this.Interval = setInterval(()=> {
|
|
|
|
if(this.percentage===100||this.percentage>100){
|
|
|
|
if(this.percentage===this.selectionList.length||this.percentage>this.selectionList.length){
|
|
|
|
clearInterval(this.Interval);
|
|
|
|
clearInterval(this.Interval);
|
|
|
|
this.Interval = null;
|
|
|
|
this.Interval = null;
|
|
|
|
}else {
|
|
|
|
}else {
|
|
|
|
@ -316,12 +321,14 @@ export default {
|
|
|
|
'Content-Type': 'application/x-www-form-urlencoded'
|
|
|
|
'Content-Type': 'application/x-www-form-urlencoded'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}).then((response)=>{
|
|
|
|
}).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){
|
|
|
|
this.percentage = response.data.file_counts
|
|
|
|
clearInterval(this.Interval);
|
|
|
|
|
|
|
|
this.Interval = null;
|
|
|
|
if(this.percentage===this.selectionList.length||this.percentage>this.selectionList.length){
|
|
|
|
}
|
|
|
|
clearInterval(this.Interval);
|
|
|
|
|
|
|
|
this.Interval = null;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}).catch(function (error) {
|
|
|
|
}).catch(function (error) {
|
|
|
|
// 处理错误情况
|
|
|
|
// 处理错误情况
|
|
|
|
@ -341,15 +348,16 @@ export default {
|
|
|
|
position: fixed;
|
|
|
|
position: fixed;
|
|
|
|
top:0;
|
|
|
|
top:0;
|
|
|
|
left:0;
|
|
|
|
left:0;
|
|
|
|
z-index: 10;
|
|
|
|
z-index: 10000;
|
|
|
|
width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background: rgba(255,255,255,0.8);
|
|
|
|
background: rgba(0,0,0,0.7);
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
align-items: center;
|
|
|
|
font-size: 20px;
|
|
|
|
font-size: 20px;
|
|
|
|
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.c-tabs__item {
|
|
|
|
.c-tabs__item {
|
|
|
|
|