5.19 多轮招募割接项目隐藏按钮

This commit is contained in:
jl-zhoujl2
2022-05-19 08:58:29 +08:00
parent 300b5a34d6
commit 34525199e8
10 changed files with 208 additions and 199 deletions

View File

@ -24,6 +24,7 @@ import moment from "moment";
import "@/assets/xsy_style.less";
import { btnAuthority } from "@/utils/authority";
import { numberToChinese } from '@/utils/CommonUtils';
import { checkObjectId } from '@/utils/DownloadUtils';
interface BiddingDocumentsDecryptProps {
@ -397,8 +398,8 @@ const BiddingDocumentsDecrypt: React.FC<BiddingDocumentsDecryptProps> = (props)
<Button disabled={disabled} type="text"
onClick={() => download(record?.filePath, headType ? record?.companyName + "第" + item.turnSort + "轮" + responseType + "文件" : record?.companyName + responseType + "文件", record, item?.id)}
icon={<DownloadOutlined />}></Button>
<Button disabled={disabled} type="text" onClick={() => OpenWindow(record, item?.id)}
icon={<DownloadOutlined />}></Button>
{checkObjectId(record.id) && <Button disabled={disabled} type="text" onClick={() => OpenWindow(record, item?.id)}
icon={<DownloadOutlined />}></Button>}
</>
);
}