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:
@ -176,7 +176,7 @@ const MonitorException: React.FC<{}> = () => {
|
|||||||
}
|
}
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (auth.current) {
|
if (auth.current) {
|
||||||
const params = { pageNo: 1, pageSize: 10 };
|
const params = { pageNo: 1, pageSize: 20 };
|
||||||
getNoOpenNumber();
|
getNoOpenNumber();
|
||||||
getThreeDayNoEnd(params, 0);
|
getThreeDayNoEnd(params, 0);
|
||||||
getNoOpenList(params, 0);
|
getNoOpenList(params, 0);
|
||||||
|
@ -487,7 +487,7 @@ export const ScrollTable = (props: { dataSource: any[], columns: any[], ynum?: n
|
|||||||
// 只有当大于10条数据的时候 才会看起滚动
|
// 只有当大于10条数据的时候 才会看起滚动
|
||||||
const v = document.getElementsByClassName("ant-table-body")[tableKey];
|
const v = document.getElementsByClassName("ant-table-body")[tableKey];
|
||||||
timer.current = setInterval(() => {
|
timer.current = setInterval(() => {
|
||||||
v.scrollTop += 0.5;
|
v.scrollTop += 1;
|
||||||
if (
|
if (
|
||||||
Math.ceil(v.scrollTop) >= parseFloat((v.scrollHeight - v.clientHeight).toString())
|
Math.ceil(v.scrollTop) >= parseFloat((v.scrollHeight - v.clientHeight).toString())
|
||||||
) {
|
) {
|
||||||
@ -1773,7 +1773,7 @@ const MonitorHome: React.FC<{}> = () => {
|
|||||||
<ScreenLabel title="今日开标" extra={<span>标段总数 {isNotEmpty(todayOpeningData?.sectionNumber) ? todayOpeningData?.sectionNumber : 0} 开标完成率 {isNotEmpty(todayOpeningData?.sectionNumber) && todayOpeningData?.sectionNumber != "0" ? Number(((Number(todayOpeningData?.banner) / todayOpeningData?.sectionNumber) * 100).toFixed(0)) : 0}% 评标完成率 {(isNotEmpty(todayInfoData?.sectionNumber) && todayInfoData?.sectionNumber != "0") ? Number(((Number(todayInfoData?.resultNumber) / todayInfoData?.sectionNumber) * 100).toFixed(0)) : 0}%</span>} />
|
<ScreenLabel title="今日开标" extra={<span>标段总数 {isNotEmpty(todayOpeningData?.sectionNumber) ? todayOpeningData?.sectionNumber : 0} 开标完成率 {isNotEmpty(todayOpeningData?.sectionNumber) && todayOpeningData?.sectionNumber != "0" ? Number(((Number(todayOpeningData?.banner) / todayOpeningData?.sectionNumber) * 100).toFixed(0)) : 0}% 评标完成率 {(isNotEmpty(todayInfoData?.sectionNumber) && todayInfoData?.sectionNumber != "0") ? Number(((Number(todayInfoData?.resultNumber) / todayInfoData?.sectionNumber) * 100).toFixed(0)) : 0}%</span>} />
|
||||||
</div>
|
</div>
|
||||||
<div className="scroll-table">
|
<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>
|
||||||
<div className="monitor-label-pointer" onClick={() => { window.open("/ElecMonitor/Supplier") }}>
|
<div className="monitor-label-pointer" onClick={() => { window.open("/ElecMonitor/Supplier") }}>
|
||||||
<ScreenLabel title="活跃供应商排名(Top20)" />
|
<ScreenLabel title="活跃供应商排名(Top20)" />
|
||||||
|
Reference in New Issue
Block a user