feature/2.9.42310.02-社保福利档案页面重构
This commit is contained in:
parent
b14fce7949
commit
c068959e73
|
|
@ -56,12 +56,11 @@ class Index extends Component {
|
|||
dataIndex, title, width, fixed: "left",
|
||||
render: (txt) => (<span title={txt}>{txt}</span>)
|
||||
};
|
||||
} else {
|
||||
return {
|
||||
dataIndex, title, width,
|
||||
render: (txt) => (<span title={txt}>{txt}</span>)
|
||||
};
|
||||
}
|
||||
return {
|
||||
dataIndex, title, width,
|
||||
render: (txt) => (<span title={txt}>{txt}</span>)
|
||||
};
|
||||
})
|
||||
}, () => onChangeTopTabCount(runStatuses, total));
|
||||
}
|
||||
|
|
@ -70,7 +69,6 @@ class Index extends Component {
|
|||
|
||||
render() {
|
||||
const { dataSource, columns, loading, pageInfo, selectedRowKeys } = this.state;
|
||||
console.log(columns);
|
||||
const pagination = {
|
||||
...pageInfo,
|
||||
showTotal: total => `${getLabel(18609, "共")} ${total} ${getLabel(18256, "条")}`,
|
||||
|
|
@ -94,8 +92,12 @@ class Index extends Component {
|
|||
};
|
||||
return (
|
||||
<WeaTable
|
||||
rowKey="employeeId" dataSource={dataSource} pagination={pagination} loading={loading}
|
||||
columns={columns} rowSelection={rowSelection} scroll={{ x: 1200, y: `calc(100vh - 220px)` }}
|
||||
dataSource={dataSource} pagination={pagination} loading={loading}
|
||||
scroll={{ x: 1200, y: `calc(100vh - 220px)` }}
|
||||
columns={[...columns, {
|
||||
dataIndex: "operate", title: "操作", fixed: "right", width: 175,
|
||||
render: () => (<span>123</span>)
|
||||
}]}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue