|
@@ -451,9 +451,7 @@ const computedAllocatedEfficiency = useDebounceFn(function (row: ReportDetail) {
|
|
|
|
|
|
|
|
console.log('row', row)
|
|
console.log('row', row)
|
|
|
|
|
|
|
|
- row.allocatedEfficiency = Number(
|
|
|
|
|
- (1 - (row.duration - row.allocatedTime) / row.allocatedTime).toFixed(2)
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ row.allocatedEfficiency = Number(((row.allocatedTime / row.duration) * 100).toFixed(2))
|
|
|
}, 100)
|
|
}, 100)
|
|
|
|
|
|
|
|
const calculate = (row: ReportDetail) => {
|
|
const calculate = (row: ReportDetail) => {
|