update code

dev-login
haha 2023-08-27 13:50:59 +08:00
parent a5b77289ed
commit 72fb9cb1f3
2 changed files with 5 additions and 6 deletions

View File

@ -63,10 +63,10 @@
</el-table-column>
<el-table-column prop="id" label="整改率">
<template slot-scope="scope">
<idle-list-chart :prop="Number(scope.row.rate)"
color="#6ab9fe"></idle-list-chart>
</template>
</el-table-column>
</el-table>
@ -460,7 +460,7 @@ export default {
} else {
it.prop = (it.value * 100.0 / this.summaryPrjTotal).toFixed(1);
}
it.rate = (it.checkState * 100.0 / it.value).toFixed(1);
it.rate =(it.value==0?0:it.isDel * 100.0 / it.value).toFixed(1);
})
this.elSummaryPrjKey++;
});

View File

@ -64,10 +64,9 @@
</el-table-column>
<el-table-column prop="id" label="整改率">
<template slot-scope="scope">
<!--{{scope.row.isDel}}/{{ scope.row.value }}={{scope.row.rate}}-->
<idle-list-chart :prop="Number(scope.row.rate)"
color="#6ab9fe"></idle-list-chart>
</template>
</el-table-column>
</el-table>
@ -556,7 +555,7 @@ export default {
} else {
it.prop = (it.value * 100.0 / this.summaryPrjTotal).toFixed(1);
}
it.rate = (it.checkState * 100.0 / it.value).toFixed(1);
it.rate =(it.value==0?0:it.isDel * 100.0 / it.value).toFixed(1);
})
this.elSummaryPrjKey++;
})