|
@@ -333,19 +333,21 @@
|
|
|
return false
|
|
|
})
|
|
|
//
|
|
|
- this.info.gxs = 0
|
|
|
- this.info.axs = 0;
|
|
|
+ let gxs = 0
|
|
|
+ let axs = 0;
|
|
|
this.info.tcount = this.list.length;
|
|
|
this.info.fcount =0;
|
|
|
this.info.percent = 0;
|
|
|
for( let i = 0; i< this.list.length;i++){
|
|
|
let item = this.list[i]
|
|
|
- this.info.axs += (item.xs/10)
|
|
|
- if( item.isFinish ){
|
|
|
- this.info.gxs += (item.xs/10)
|
|
|
+ axs += item.xs
|
|
|
+ if( item.isFinish){
|
|
|
+ gxs += item.xs
|
|
|
this.info.fcount++
|
|
|
}
|
|
|
}
|
|
|
+ this.info.gxs = gxs/10
|
|
|
+ this.info.axs = axs/10
|
|
|
this.info.percent = (this.info.gxs*10000/this.info.axs)/100;
|
|
|
},
|
|
|
//
|