Commit d482e183 by zhaochengxiang

采集

parent 41e9e4d2
......@@ -423,10 +423,11 @@ const FC = (props) => {
columns={_columns||[]}
rowKey='id'
rowSelection={rowSelection}
extraColWidth={32}
dataSource={_tasks||[]}
pagination={false}
onChange={onTableChange}
scroll={{ y: 'calc(100vh - 325px)' }}
scroll={{ y: 'calc(100vh - 330px)' }}
sticky
/>
<Pagination
......
......@@ -7,7 +7,7 @@ import { AppContext } from '../../../../App';
import { dispatch } from '../../../../model';
import { paginate } from '../../../../util';
import Table from '../../ResizeableTable';
// import env from '../../../../service/samples/env.json';
import env from '../../../../service/samples/env.json';
const { RangePicker } = DatePicker;
const { Meta } = Card;
......@@ -25,7 +25,7 @@ const reportStates = [
]
const FC = (props) => {
const { env } = useContext(AppContext);
// const { env } = useContext(AppContext);
const [rangeValue, setRangeValue] = useState(undefined);
const [summaryData, setSummaryData] = useState(undefined);
const [reportData, setReportData] = useState(undefined);
......@@ -252,7 +252,7 @@ const FC = (props) => {
}
return (
<div>
<div style={{ overflowX: 'hidden' }}>
<div className='flex' style={{ justifyContent: 'end' }}>
<Space>
<RangePicker
......@@ -377,7 +377,7 @@ const FC = (props) => {
},
}}
pagination={false}
scroll={{ y: 'calc(100vh - 410px)' }}
scroll={{ y: 'calc(100vh - 415px)' }}
sticky
/>
<Pagination
......@@ -401,7 +401,7 @@ export default FC;
const Summary = ({ data }) => {
return (
<Row className='mt-5' gutter={20}>
<Row className='mt-5' gutter={10} >
{
data?.map((item, index) => {
return (
......
.metadata-harvester {
height: calc(100vh - 124px);
padding: 10px;
padding: 20px;
background: #fff;
overflow: auto;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment