Merge branch 'release_electronic_bid_evaluation_room' into 'release_20230224'

2.24 电子评标室显示bug

See merge request eshop/fe_service_ebtp_frontend!171
This commit is contained in:
jl-zhoujl2
2023-02-24 07:07:07 +00:00
2 changed files with 3 additions and 3 deletions

View File

@ -176,7 +176,7 @@ const MonitorException: React.FC<{}> = () => {
}
useEffect(() => {
if (auth.current) {
const params = { pageNo: 1, pageSize: 10 };
const params = { pageNo: 1, pageSize: 20 };
getNoOpenNumber();
getThreeDayNoEnd(params, 0);
getNoOpenList(params, 0);

View File

@ -487,7 +487,7 @@ export const ScrollTable = (props: { dataSource: any[], columns: any[], ynum?: n
// 只有当大于10条数据的时候 才会看起滚动
const v = document.getElementsByClassName("ant-table-body")[tableKey];
timer.current = setInterval(() => {
v.scrollTop += 0.5;
v.scrollTop += 1;
if (
Math.ceil(v.scrollTop) >= parseFloat((v.scrollHeight - v.clientHeight).toString())
) {
@ -1773,7 +1773,7 @@ const MonitorHome: React.FC<{}> = () => {
<ScreenLabel title="今日开标" extra={<span>&nbsp;&nbsp;{isNotEmpty(todayOpeningData?.sectionNumber) ? todayOpeningData?.sectionNumber : 0}&nbsp;&nbsp;&nbsp;&nbsp;{isNotEmpty(todayOpeningData?.sectionNumber) && todayOpeningData?.sectionNumber != "0" ? Number(((Number(todayOpeningData?.banner) / todayOpeningData?.sectionNumber) * 100).toFixed(0)) : 0}%&nbsp;&nbsp;&nbsp;&nbsp;{(isNotEmpty(todayInfoData?.sectionNumber) && todayInfoData?.sectionNumber != "0") ? Number(((Number(todayInfoData?.resultNumber) / todayInfoData?.sectionNumber) * 100).toFixed(0)) : 0}%</span>} />
</div>
<div className="scroll-table">
<ScrollTable dataSource={todayOpeningData?.todayList} columns={columns} rowKey="sectionId" ynum={266} />
<ScrollTable dataSource={todayOpeningData?.todayList} columns={columns} rowKey="sectionId" ynum={260} rowClassName="scroll-select-bg0" tableKey={0} isScroll />
</div>
<div className="monitor-label-pointer" onClick={() => { window.open("/ElecMonitor/Supplier") }}>
<ScreenLabel title="活跃供应商排名Top20" />