hotfix/2.12.1.2404.02

薪酬统计报表修改表格
This commit is contained in:
黎永顺 2024-04-28 13:48:20 +08:00
parent c43e69af5d
commit 64bfb45618
1 changed files with 2 additions and 2 deletions

View File

@ -98,11 +98,11 @@ class ReportContent extends Component {
countResult,
columns: _.map(columns, it => ({
...it,
dataIndex: it.column, width: 150,
dataIndex: it.column, width: it.width ? it.width + "px" : 150,
title: it.text, align: "center",
children: !_.isNil(it.children) ? _.map(it.children, child => ({
...child,
dataIndex: child.column, width: 150,
dataIndex: child.column, width: child.width ? child.width + "px" : 150,
title: child.text, align: "center"
})) : []
})),