diff --git a/src/pages/Evaluation/BidControl/BidControlManager/components/ViewRishFormModal.tsx b/src/pages/Evaluation/BidControl/BidControlManager/components/ViewRishFormModal.tsx index eb02c3c..6b778f6 100644 --- a/src/pages/Evaluation/BidControl/BidControlManager/components/ViewRishFormModal.tsx +++ b/src/pages/Evaluation/BidControl/BidControlManager/components/ViewRishFormModal.tsx @@ -1,5 +1,5 @@ import React, { useEffect, useState } from 'react'; -import { Collapse, Table, PageHeader, Empty, Card } from 'antd'; +import { Collapse, Table, PageHeader, Empty, Card, Spin } from 'antd'; import { getList } from '../service'; import { getProMethod, getRoomId } from '@/utils/session'; import FileDown from '@/utils/Download'; @@ -15,6 +15,7 @@ interface ViewRishFormModalProps { const ViewRishFormModal: React.FC = (props) => { const [rishList, setDataList] = useState([]); + const [loading, setLoading] = useState(false); let name1 = "投标"; let proDict = getProMethod(); @@ -61,12 +62,15 @@ const ViewRishFormModal: React.FC = (props) => { const getWarningList = async () => { let roomId = getRoomId();//sessionStorage.getItem('roomId');//sessionStorage.getItem('roomId') //ip mac + setLoading(true); await getList(roomId).then((res) => { if (res.success === true) { if (res.data !== null && res.data.length > 0) { setDataList(res.data) } } + }).finally(() => { + setLoading(false); }) } @@ -80,71 +84,73 @@ const ViewRishFormModal: React.FC = (props) => { <> - {rishList?.length == 0 - ? - : <> - - ]} - > - + + {rishList?.length == 0 + ? + : <> + + ]} + > + - { - (proDict == "procurement_mode_5" || proDict == "procurement_mode_6") ? rishList?.map((item: any, index: any) => { - return ( - - -

MAC地址相同的供应商信息如下:

-
-

提醒:根据《关于进一步防范围标串标风险的通知》(WTZ2019110816765),如不同供应商的MAC地址相同,则可能存在围标、串标风险,请项目经理及评委给予注意!

-

-
-
-
- ); - }) : ( - -

MAC地址相同的供应商信息如下:

-
-

提醒:根据《关于进一步防范围标串标风险的通知》(WTZ2019110816765),如不同供应商的MAC地址相同,则可能存在围标、串标风险,请项目经理及评委给予注意!

-

-
-
- ) - } - } + { + (proDict == "procurement_mode_5" || proDict == "procurement_mode_6") ? rishList?.map((item: any, index: any) => { + return ( + + +

MAC地址相同的供应商信息如下:

+
+

提醒:根据《关于进一步防范围标串标风险的通知》(WTZ2019110816765),如不同供应商的MAC地址相同,则可能存在围标、串标风险,请项目经理及评委给予注意!

+

+
+
+
+ ); + }) : ( + +

MAC地址相同的供应商信息如下:

+
+

提醒:根据《关于进一步防范围标串标风险的通知》(WTZ2019110816765),如不同供应商的MAC地址相同,则可能存在围标、串标风险,请项目经理及评委给予注意!

+

+
+
+ ) + } + } +