update code
parent
a5b77289ed
commit
72fb9cb1f3
|
@ -63,10 +63,10 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="id" label="整改率">
|
<el-table-column prop="id" label="整改率">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
|
||||||
<idle-list-chart :prop="Number(scope.row.rate)"
|
<idle-list-chart :prop="Number(scope.row.rate)"
|
||||||
color="#6ab9fe"></idle-list-chart>
|
color="#6ab9fe"></idle-list-chart>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
@ -460,7 +460,7 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
it.prop = (it.value * 100.0 / this.summaryPrjTotal).toFixed(1);
|
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++;
|
this.elSummaryPrjKey++;
|
||||||
});
|
});
|
||||||
|
|
|
@ -64,10 +64,9 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="id" label="整改率">
|
<el-table-column prop="id" label="整改率">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
<!--{{scope.row.isDel}}/{{ scope.row.value }}={{scope.row.rate}}-->
|
||||||
<idle-list-chart :prop="Number(scope.row.rate)"
|
<idle-list-chart :prop="Number(scope.row.rate)"
|
||||||
color="#6ab9fe"></idle-list-chart>
|
color="#6ab9fe"></idle-list-chart>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
@ -556,7 +555,7 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
it.prop = (it.value * 100.0 / this.summaryPrjTotal).toFixed(1);
|
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++;
|
this.elSummaryPrjKey++;
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue