Merge branch '20230505-供应商注册时间风险分析' into 'release_20230519'

5.19 增加未查询到成立时间提示

See merge request eshop/fe_service_ebtp_frontend!244
This commit is contained in:
jl-zhoujl2
2023-05-19 13:55:15 +00:00
3 changed files with 39 additions and 2 deletions

View File

@ -11,6 +11,7 @@ import {
DownloadOutlined,
ExclamationCircleOutlined,
FullscreenExitOutlined,
InfoCircleOutlined,
UnorderedListOutlined
} from "@ant-design/icons";
import {
@ -383,6 +384,18 @@ const BiddingDocumentsDecrypt: React.FC<BiddingDocumentsDecryptProps> = (props)
>
{(record?.supplierCreatetime && record?.supplierCreatetime.toOpenbidTime === 0) && <AlertOutlined style={{ color: "rgb(245,156,38)", marginLeft: 6 }} />}
</Popover>
{record?.supplierCreatetime && record?.supplierCreatetime.foundTime === null ? (
<Popover
content={
<Typography>
<Text style={{ display: 'block', color: "rgb(245,156,38)" }}></Text>
<Text></Text>
</Typography>
}
>
<InfoCircleOutlined style={{ color: "rgb(245,156,38)", marginLeft: 6 }} />
</Popover>
) : null}
</>
)
},

View File

@ -7,7 +7,7 @@ import FileDown from '@/utils/Download';
import { getURLInformation, multipleTypeTransform, proTableValueEnum } from '@/utils/CommonUtils';
import { btnAuthority } from '@/utils/authority';
import ProTable from '@ant-design/pro-table';
import { AlertOutlined } from '@ant-design/icons';
import { AlertOutlined, InfoCircleOutlined } from '@ant-design/icons';
const { Panel } = Collapse;
const { Text } = Typography;
@ -126,6 +126,18 @@ const Index: React.FC<{}> = () => {
>
{(record?.supplierCreatetime && record?.supplierCreatetime.toPayTime === 0) && <AlertOutlined style={{ color: "rgb(245,156,38)", marginLeft: 6 }} />}
</Popover>
{record?.supplierCreatetime && record?.supplierCreatetime.foundTime === null ? (
<Popover
content={
<Typography>
<Text style={{ display: 'block', color: "rgb(245,156,38)" }}></Text>
<Text></Text>
</Typography>
}
>
<InfoCircleOutlined style={{ color: "rgb(245,156,38)", marginLeft: 6 }} />
</Popover>
) : null}
</>
)
},

View File

@ -6,7 +6,7 @@ import { getURLInformation, multipleTypeTransform, proTableValueEnum } from '@/u
import { getDetail, getOpen } from './service';
import { btnAuthority } from '@/utils/authority';
import ProTable from '@ant-design/pro-table';
import { AlertOutlined } from '@ant-design/icons';
import { AlertOutlined, InfoCircleOutlined } from '@ant-design/icons';
const { Panel } = Collapse;
const { Text } = Typography;
@ -55,6 +55,18 @@ const Index: React.FC<IndexProps> = (props) => {
>
{(record?.supplierCreatetime && record?.supplierCreatetime.toPayTime === 0) && <AlertOutlined style={{ color: "rgb(245,156,38)", marginLeft: 6 }} />}
</Popover>
{record?.supplierCreatetime && record?.supplierCreatetime.foundTime === null ? (
<Popover
content={
<Typography>
<Text style={{ display: 'block', color: "rgb(245,156,38)" }}></Text>
<Text></Text>
</Typography>
}
>
<InfoCircleOutlined style={{ color: "rgb(245,156,38)", marginLeft: 6 }} />
</Popover>
) : null}
</>
)
},