|
|
@@ -5,7 +5,8 @@ import { ScrollBoard } from '@jiaminghi/data-view-react'; |
|
|
|
const TodayTableData = (props) => { |
|
|
|
const [config, setConfig] = useState({ |
|
|
|
// headerBGC: 'rgba(4, 44, 76, 0.3)', |
|
|
|
headerBGC: 'rgba(4, 44, 76, .8)', |
|
|
|
// headerBGC: 'rgba(4, 44, 76, .8)', |
|
|
|
headerBGC: '#044A8425', |
|
|
|
header: [ |
|
|
|
'<span style="color:#fff">产线<span/>', |
|
|
|
'<span style="color:#fff">一等率<span/>', |
|
|
@@ -13,8 +14,10 @@ const TodayTableData = (props) => { |
|
|
|
'<span style="color:#fff">成品率<span/>', |
|
|
|
'<span style="color:#fff">废品率<span/>', |
|
|
|
], |
|
|
|
oddRowBGC: '#042444', |
|
|
|
evenRowBGC: '#042c4c', |
|
|
|
// oddRowBGC: '#042444', |
|
|
|
oddRowBGC: '#044A8425', |
|
|
|
// evenRowBGC: '#042c4c', |
|
|
|
evenRowBGC: '#0B549945', |
|
|
|
columnWidth: [90], |
|
|
|
headerHeight: 40, |
|
|
|
hoverPause: false, |
|
|
@@ -28,7 +31,11 @@ const TodayTableData = (props) => { |
|
|
|
}); |
|
|
|
return ( |
|
|
|
<div className={cls.todayTableData}> |
|
|
|
<ScrollBoard config={config} style={{ width: '100%' }} /> |
|
|
|
<ScrollBoard |
|
|
|
config={config} |
|
|
|
className={cls.tableClass} |
|
|
|
style={{ width: '100%' }} |
|
|
|
/> |
|
|
|
</div> |
|
|
|
); |
|
|
|
}; |
|
|
|