|
|
@@ -304,26 +304,26 @@ const Dashboard = ({ dispatch, departments = [] }) => {
|
|
|
/>
|
|
|
</div> */}
|
|
|
<Row gutter={[8, 8]}>
|
|
|
- <Col xs={24} sm={24} md={24} lg={18} xl={18}>
|
|
|
- <div className="shadow-card">
|
|
|
- <ProTable
|
|
|
- bordered
|
|
|
- loading={state.loading}
|
|
|
- rowKey={record => record.type + Date.now()}
|
|
|
- columns={columns}
|
|
|
- dataSource={state.reminderData}
|
|
|
- search={false}
|
|
|
- toolBarRender={false}
|
|
|
- tableRender={(_, dom) => (
|
|
|
- <Card bodyStyle={{ padding: state.loading ? '24px' : 0 }} loading={state.loading}>
|
|
|
- {dom}
|
|
|
- </Card>
|
|
|
- )}
|
|
|
- pagination={false}
|
|
|
- />
|
|
|
- </div>
|
|
|
- </Col>
|
|
|
- <Col xs={24} sm={24} md={24} lg={6} xl={6}>
|
|
|
+ {/* <Col xs={24} sm={24} md={24} lg={18} xl={18}> */}
|
|
|
+ <div className="shadow-card">
|
|
|
+ <ProTable
|
|
|
+ bordered
|
|
|
+ loading={state.loading}
|
|
|
+ rowKey={record => record.type + Date.now()}
|
|
|
+ columns={columns}
|
|
|
+ dataSource={state.reminderData}
|
|
|
+ search={false}
|
|
|
+ toolBarRender={false}
|
|
|
+ tableRender={(_, dom) => (
|
|
|
+ <Card bodyStyle={{ padding: state.loading ? '24px' : 0 }} loading={state.loading}>
|
|
|
+ {dom}
|
|
|
+ </Card>
|
|
|
+ )}
|
|
|
+ pagination={false}
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ {/* </Col> */}
|
|
|
+ {/* <Col xs={24} sm={24} md={24} lg={6} xl={6}>
|
|
|
<div className="shadow-card">
|
|
|
<ProTable
|
|
|
bordered
|
|
|
@@ -341,7 +341,7 @@ const Dashboard = ({ dispatch, departments = [] }) => {
|
|
|
pagination={false}
|
|
|
/>
|
|
|
</div>
|
|
|
- </Col>
|
|
|
+ </Col> */}
|
|
|
</Row>
|
|
|
</div>
|
|
|
|