diff --git a/pc4mobx/hrmSalary/pages/reportView/components/reportContent.js b/pc4mobx/hrmSalary/pages/reportView/components/reportContent.js index 37700a22..a7808410 100644 --- a/pc4mobx/hrmSalary/pages/reportView/components/reportContent.js +++ b/pc4mobx/hrmSalary/pages/reportView/components/reportContent.js @@ -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" })) : [] })),