|
@@ -162,7 +162,11 @@
|
|
|
label="相差值"
|
|
|
width="200"
|
|
|
sortable
|
|
|
- ></el-table-column>
|
|
|
+ >
|
|
|
+ <template v-slot="scope">
|
|
|
+ <span>{{ scope.row.trueThreshold }}%</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
</el-table>
|
|
|
<!-- <el-pagination
|
|
|
v-show="total > 0"
|
|
@@ -397,7 +401,7 @@ export default {
|
|
|
this.tableData = res.rows.map((item) => {
|
|
|
return {
|
|
|
...item,
|
|
|
- trueThreshold: parseFloat(item.trueThreshold).toFixed(4), // 转换并保留4位小数
|
|
|
+ trueThreshold: parseFloat(item.trueThreshold).toFixed(1), // 转换并保留4位小数
|
|
|
};
|
|
|
});
|
|
|
}
|