5.19 多轮招募割接项目隐藏按钮
This commit is contained in:
@ -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>}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user