Commit d482e183 by zhaochengxiang

采集

parent 41e9e4d2
...@@ -423,10 +423,11 @@ const FC = (props) => { ...@@ -423,10 +423,11 @@ const FC = (props) => {
columns={_columns||[]} columns={_columns||[]}
rowKey='id' rowKey='id'
rowSelection={rowSelection} rowSelection={rowSelection}
extraColWidth={32}
dataSource={_tasks||[]} dataSource={_tasks||[]}
pagination={false} pagination={false}
onChange={onTableChange} onChange={onTableChange}
scroll={{ y: 'calc(100vh - 325px)' }} scroll={{ y: 'calc(100vh - 330px)' }}
sticky sticky
/> />
<Pagination <Pagination
......
...@@ -7,7 +7,7 @@ import { AppContext } from '../../../../App'; ...@@ -7,7 +7,7 @@ import { AppContext } from '../../../../App';
import { dispatch } from '../../../../model'; import { dispatch } from '../../../../model';
import { paginate } from '../../../../util'; import { paginate } from '../../../../util';
import Table from '../../ResizeableTable'; import Table from '../../ResizeableTable';
// import env from '../../../../service/samples/env.json'; import env from '../../../../service/samples/env.json';
const { RangePicker } = DatePicker; const { RangePicker } = DatePicker;
const { Meta } = Card; const { Meta } = Card;
...@@ -25,7 +25,7 @@ const reportStates = [ ...@@ -25,7 +25,7 @@ const reportStates = [
] ]
const FC = (props) => { const FC = (props) => {
const { env } = useContext(AppContext); // const { env } = useContext(AppContext);
const [rangeValue, setRangeValue] = useState(undefined); const [rangeValue, setRangeValue] = useState(undefined);
const [summaryData, setSummaryData] = useState(undefined); const [summaryData, setSummaryData] = useState(undefined);
const [reportData, setReportData] = useState(undefined); const [reportData, setReportData] = useState(undefined);
...@@ -252,7 +252,7 @@ const FC = (props) => { ...@@ -252,7 +252,7 @@ const FC = (props) => {
} }
return ( return (
<div> <div style={{ overflowX: 'hidden' }}>
<div className='flex' style={{ justifyContent: 'end' }}> <div className='flex' style={{ justifyContent: 'end' }}>
<Space> <Space>
<RangePicker <RangePicker
...@@ -377,7 +377,7 @@ const FC = (props) => { ...@@ -377,7 +377,7 @@ const FC = (props) => {
}, },
}} }}
pagination={false} pagination={false}
scroll={{ y: 'calc(100vh - 410px)' }} scroll={{ y: 'calc(100vh - 415px)' }}
sticky sticky
/> />
<Pagination <Pagination
...@@ -401,7 +401,7 @@ export default FC; ...@@ -401,7 +401,7 @@ export default FC;
const Summary = ({ data }) => { const Summary = ({ data }) => {
return ( return (
<Row className='mt-5' gutter={20}> <Row className='mt-5' gutter={10} >
{ {
data?.map((item, index) => { data?.map((item, index) => {
return ( return (
......
.metadata-harvester { .metadata-harvester {
height: calc(100vh - 124px); height: calc(100vh - 124px);
padding: 10px; padding: 20px;
background: #fff; background: #fff;
overflow: auto; 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