Commit e8589c96 authored by alwayOnlie's avatar alwayOnlie

修改bug

parent fabfd23d
......@@ -65,11 +65,15 @@ const coordinationList = () => {
align: 'center',
render: (text, record) =>
<div>
<EyePreview
type="button"
>
{text}
</EyePreview>
{
text &&
<EyePreview
type={record.sourceType == 1 ? record.sourceId ? 'link' : "button" : 'link'}
url={record.sourceType == 1 ? `/memberCenter/procurementAbility/confirmOffer/offerInquire/demand/preview?id=${record.sourceId}&number${record.sourceNo}` : `/memberCenter/procurementAbility/callForBids/callForBidsSearch/detail?id=${record.sourceId}`}
>
{text}
</EyePreview>
}
<p>{record.sourceTypeName}</p>
</div>
},
......
......@@ -74,7 +74,7 @@ const table = (props: any) => {
dataIndex: 'orderAmount', align: 'center',
render: (text, record) =>
<div>
<div>{record.orderType == 2 ? `-${text}` : ''}</div>
<div>{record.orderType == 2 ? `-${text}` : text}</div>
</div>
},
......
......@@ -82,8 +82,8 @@ const QueryList = () => {
{
text &&
<EyePreview
type={record.sourceId ? 'link' : 'button'}
url={`/memberCenter/procurementAbility/offter/view?id${record.sourceId}&number${record.sourceNo}`}
type={record.sourceType == 1 ? record.sourceId ? 'link' : "button" : 'link'}
url={record.sourceType == 1 ? `/memberCenter/procurementAbility/confirmOffer/offerInquire/demand/preview?id=${record.sourceId}&number${record.sourceNo}` : `/memberCenter/procurementAbility/callForBids/callForBidsSearch/detail?id=${record.sourceId}`}
>
{text}
</EyePreview>
......@@ -178,7 +178,7 @@ const QueryList = () => {
content: '正在操作',
duration: 0,
});
console.log('Success:', values);
PublicApi.postContractManageInvalid(values).then(res => {
console.log(res);
if (res.code === 1000) {
......
......@@ -82,7 +82,8 @@ const addList = () => {
{
text &&
<EyePreview
url={`/memberCenter/contract/manage/QueryList/QueryListdetails`}
type={record.sourceType == 1 ? record.sourceId ? 'link' : "button" : 'link'}
url={record.sourceType == 1 ? `/memberCenter/procurementAbility/confirmOffer/offerInquire/demand/preview?id=${record.sourceId}&number${record.sourceNo}` : `/memberCenter/procurementAbility/callForBids/callForBidsSearch/detail?id=${record.sourceId}`}
>
{text}
</EyePreview>
......
......@@ -62,6 +62,13 @@ const BiddingList = () => {
compare: (a, b) => a.bidWinnerAmount - b.bidWinnerAmount,
multiple: 1,
},
render: (text) => {
return (
<div>
{text}
</div>
)
}
},
{
title: '外部状态',
......
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