Commit f4f70aa6 authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix: 处理投标基本信息状态显示问题

parent df0a053e
......@@ -291,8 +291,8 @@ export const Upload = connect({
return (<div>
{
value.map(item => (<p key={item.uid} style={{width: 424, display: 'flex', justifyContent: 'space-between'}}>
<a href={item.url}><FileFilled /> {item.name}</a>
<span style={{cursor: 'pointer'}} onClick={() => this.removeItem(item)}><DeleteOutlined /></span>
<a href={item.url} target="_blank"><FileFilled /> {item.name}</a>
{!others.readOnly ? <span style={{cursor: 'pointer'}} onClick={() => this.removeItem(item)}><DeleteOutlined /></span> : null}
</p>))
}
<AntdUpload
......
......@@ -169,7 +169,7 @@ const ExtractNoticeManageDetail: React.FC = () => {
<p className={styles.cardListTitle}>评标要求附件:</p>
</Col>
<Col span={18}>
<p className={styles.cardListText}>{inviterInfo?.evaluationFile?.length ? inviterInfo.evaluationFile.map(item => (<div><a href={item.url}>{item.name}</a></div>)) : null}</p>
<p className={styles.cardListText}>{inviterInfo?.evaluationFile?.length ? inviterInfo.evaluationFile.map(item => (<div><a href={item.url} target="_blank">{item.name}</a></div>)) : null}</p>
</Col>
</Row>
<Row>
......
......@@ -135,7 +135,7 @@ const BidConfirm: React.FC<BidConfirmProps> = ({cardTitle}) => {
<Col span={4}><p className={style['card-list_title']}>中标附件:</p></Col>
<Col>
{
data?.winTenderFile.length ? data.winTenderFile.map(item => (<p key={item.id}><a href={item.url}></a>{item.name}</p>)) : null
data?.winTenderFile.length ? data.winTenderFile.map(item => (<p key={item.id}><a href={item.url} target="_blank">{item.name}</a></p>)) : null
}
</Col>
</Row>
......
......@@ -293,7 +293,7 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle}) => {
<Col span={4}><p className={style['card-list_title']}>附件:</p></Col>
<Col>
{
data?.evaluationTenderFile.length ? data.evaluationTenderFile.map(item => (<p key={item.id}><a href={item.url}><FileFilled /> {item.name}</a></p>)) : null
data?.evaluationTenderFile.length ? data.evaluationTenderFile.map(item => (<p key={item.id}><a href={item.url} target="_blank"><FileFilled /> {item.name}</a></p>)) : null
}
</Col>
</Row>
......
......@@ -135,7 +135,7 @@ const BidConfirm: React.FC<BidConfirmProps> = ({cardTitle}) => {
<Col span={4}><p className={style['card-list_title']}>中标附件:</p></Col>
<Col>
{
data?.winTenderFile.length ? data.winTenderFile.map(item => (<p key={item.id}><a href={item.url}></a>{item.name}</p>)) : null
data?.winTenderFile.length ? data.winTenderFile.map(item => (<p key={item.id}><a href={item.url} target="_blank">{item.name}</a></p>)) : null
}
</Col>
</Row>
......
......@@ -293,7 +293,7 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle}) => {
<Col span={4}><p className={style['card-list_title']}>附件:</p></Col>
<Col>
{
data?.evaluationTenderFile.length ? data.evaluationTenderFile.map(item => (<p key={item.id}><a href={item.url}><FileFilled /> {item.name}</a></p>)) : null
data?.evaluationTenderFile.length ? data.evaluationTenderFile.map(item => (<p key={item.id}><a href={item.url} target="_blank"><FileFilled /> {item.name}</a></p>)) : null
}
</Col>
</Row>
......
......@@ -293,7 +293,7 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle}) => {
<Col span={4}><p className={style['card-list_title']}>附件:</p></Col>
<Col>
{
data?.evaluationTenderFile.length ? data.evaluationTenderFile.map(item => (<p key={item.id}><a href={item.url}><FileFilled /> {item.name}</a></p>)) : null
data?.evaluationTenderFile.length ? data.evaluationTenderFile.map(item => (<p key={item.id}><a href={item.url} target="_blank"><FileFilled /> {item.name}</a></p>)) : null
}
</Col>
</Row>
......
......@@ -136,7 +136,7 @@ const BidConfirm: React.FC<BidConfirmProps> = ({cardTitle}) => {
<Col span={4}><p className={style['card-list_title']}>中标附件:</p></Col>
<Col>
{
data?.winTenderFile.length ? data.winTenderFile.map(item => (<p key={item.id}><a href={item.url}></a>{item.name}</p>)) : null
data?.winTenderFile.length ? data.winTenderFile.map(item => (<p key={item.id}><a href={item.url} target="_blank">{item.name}</a></p>)) : null
}
</Col>
</Row>
......
......@@ -293,7 +293,7 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle}) => {
<Col span={4}><p className={style['card-list_title']}>附件:</p></Col>
<Col>
{
data?.evaluationTenderFile.length ? data.evaluationTenderFile.map(item => (<p key={item.id}><a href={item.url}><FileFilled /> {item.name}</a></p>)) : null
data?.evaluationTenderFile.length ? data.evaluationTenderFile.map(item => (<p key={item.id}><a href={item.url} target="_blank"><FileFilled /> {item.name}</a></p>)) : null
}
</Col>
</Row>
......
......@@ -153,7 +153,7 @@ const BidConfirm: React.FC<BidConfirmProps> = ({cardTitle}) => {
<Col span={4}><p className={style['card-list_title']}>中标附件:</p></Col>
<Col>
{
data?.winTenderFile?.length ? data.winTenderFile.map(item => (<p key={item.id}><a href={item.url}></a>{item.name}</p>)) : null
data?.winTenderFile?.length ? data.winTenderFile.map(item => (<p key={item.id}><a href={item.url} target="_blank">{item.name}</a></p>)) : null
}
</Col>
</Row>
......
......@@ -96,8 +96,8 @@ const DescriptionsInfo: React.FC<BasicInfoProps> = ({cardTitle, type}) => {
span: 8,
fieldList: [
{ title: '投标编号:', name: 'code', render: () => _data['code'] },
{ title: '外部状态:', name: 'submitTenderOutStatus', render: (text) => TenderOutStateTexts[text]},
{ title: '内部状态:', name: 'submitTenderInStatus', render: (text) => TenderInStateTexts[text] },
{ title: '外部状态:', name: 'submitTenderOutStatus', render: (text) => TenderOutStateTexts[_data['submitTenderOutStatus']]},
{ title: '内部状态:', name: 'submitTenderInStatus', render: (text) => TenderInStateTexts[_data['submitTenderInStatus']] },
{ title: '投标项目:', name: 'projectName' },
]
},
......@@ -322,7 +322,7 @@ const DescriptionsInfo: React.FC<BasicInfoProps> = ({cardTitle, type}) => {
span: 8,
fieldList: [
{ title: '付款方式:', name: 'payType' },
{ title: '交付地址:', name: 'deliverAddress', render: (text) => address },
{ title: '交付地址:', name: 'deliverAddress', render: (text) => data.deliverAddress },
{ title: '税费要求:', name: 'taxationRequirement' },
]
},
......
......@@ -294,7 +294,7 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle}) => {
<Col span={4}><p className={style['card-list_title']}>附件:</p></Col>
<Col>
{
data?.evaluationFile.length ? data.evaluationFile.map(item => (<p key={item.id}><a href={item.url}><FileFilled /> {item.name}</a></p>)) : null
data?.evaluationFile.length ? data.evaluationFile.map(item => (<p key={item.id}><a href={item.url} target="_blank"><FileFilled /> {item.name}</a></p>)) : null
}
</Col>
</Row>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment