|
|
|
@ -106,6 +106,7 @@ const StandingbookTable: FC = (props) => {
|
|
|
|
|
};
|
|
|
|
|
const rowSelection = {
|
|
|
|
|
selectedRowKeys: selected,
|
|
|
|
|
columnWidth: 80,
|
|
|
|
|
onChange: (selectedRowKeys: Array<any>) => {
|
|
|
|
|
setSelected(selectedRowKeys);
|
|
|
|
|
window.parent.postMessage(
|
|
|
|
@ -136,9 +137,9 @@ const StandingbookTable: FC = (props) => {
|
|
|
|
|
<Table.Summary.Row>
|
|
|
|
|
{
|
|
|
|
|
_.isEmpty(sumRow) ? <Spin tip="加载中"/> :
|
|
|
|
|
_.map(columns, (item, index) => {
|
|
|
|
|
_.map([{}, ...columns], (item, index) => {
|
|
|
|
|
if (index === 0) {
|
|
|
|
|
return <Table.Summary.Cell colSpan={2} index={0} key={index} align="center"><Text
|
|
|
|
|
return <Table.Summary.Cell index={0} key={index} align="center"><Text
|
|
|
|
|
type="danger">总计</Text></Table.Summary.Cell>;
|
|
|
|
|
}
|
|
|
|
|
return <Table.Summary.Cell index={index} key={index}>
|
|
|
|
|