Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linweijiong
jinfa-platform
Commits
8b534aa6
Commit
8b534aa6
authored
May 31, 2021
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 处理招投标详情状态
parent
ee3581ab
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
14 additions
and
15 deletions
+14
-15
index.tsx
...ages/procurement/callForBids/addRemarkBidExpert/index.tsx
+1
-1
index.tsx
src/pages/procurement/callForBids/readyAddBid/index.tsx
+1
-1
index.tsx
...yCheckedConfirmFirst/components/remarkBidReport/index.tsx
+2
-2
index.tsx
...CheckedConfirmSecond/components/remarkBidReport/index.tsx
+2
-2
index.tsx
...Bids/readyConfirmBid/components/remarkBidReport/index.tsx
+2
-2
index.tsx
...ForBids/readyPassBid/components/remarkBidReport/index.tsx
+2
-2
index.tsx
src/pages/procurement/components/descriptionsInfo/index.tsx
+2
-3
index.tsx
src/pages/procurement/components/remarkBidReport/index.tsx
+2
-2
No files found.
src/pages/procurement/callForBids/addRemarkBidExpert/index.tsx
View file @
8b534aa6
...
...
@@ -220,7 +220,7 @@ const AddRemarkBidExpert:React.FC<AddRemarkBidExpertProps> = (props) => {
placeholder
:
'请输入所属机构'
},
},
roleNam
e
:
{
jobTitl
e
:
{
type
:
'string'
,
'x-component-props'
:
{
placeholder
:
'请输入职位'
...
...
src/pages/procurement/callForBids/readyAddBid/index.tsx
View file @
8b534aa6
...
...
@@ -23,7 +23,7 @@ export interface ReadyAddBidProps {}
const
fetchTableData
=
async
(
params
)
=>
{
const
{
data
}
=
await
PublicApi
.
postPurchaseInviteTenderGetInviteTenderList
({
...
params
,
inviteTenderOutStatusList
:
[
BidOuterWorkState
.
Submitted_Invite_Tender
,
BidOuterWorkState
.
Platform_Not_Check_Invite_Tender
],
inviteTenderOutStatusList
:
[
BidOuterWorkState
.
Submitted_Invite_Tender
,
BidOuterWorkState
.
Platform_Not_Check_Invite_Tender
,
BidOuterWorkState
.
Platform_Check_Not_Pass
],
inviteTenderInStatusList
:
[
BidInsideWorkState
.
Not_Submitted_Check_Invite_Tender
,
BidInsideWorkState
.
Tender_Check_Not_Pass
]
},
{
ctlType
:
"none"
})
return
data
...
...
src/pages/procurement/callForBids/readyCheckedConfirmFirst/components/remarkBidReport/index.tsx
View file @
8b534aa6
import
React
,
{
useContext
,
useEffect
,
useRef
,
useState
}
from
'react'
import
{
Table
,
Button
,
Radio
,
Row
,
Col
,
message
}
from
'antd'
import
MellowCard
from
'@/components/MellowCard'
import
{
UserOutlined
,
DeleteOutlined
}
from
'@ant-design/icons'
;
import
{
UserOutlined
,
DeleteOutlined
,
FileFilled
}
from
'@ant-design/icons'
;
import
style
from
'./index.less'
import
imgLink
from
'@/assets/imgs/default_avatar.png'
import
level1
from
'@/assets/imgs/rank1.png'
...
...
@@ -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
}
><
/
a
>
{
item
.
name
}
</
p
>))
:
null
data
?.
evaluationTenderFile
.
length
?
data
.
evaluationTenderFile
.
map
(
item
=>
(<
p
key=
{
item
.
id
}
><
a
href=
{
item
.
url
}
><
FileFilled
/>
{
item
.
name
}
</
a
>
</
p
>))
:
null
}
</
Col
>
</
Row
>
...
...
src/pages/procurement/callForBids/readyCheckedConfirmSecond/components/remarkBidReport/index.tsx
View file @
8b534aa6
import
React
,
{
useContext
,
useEffect
,
useRef
,
useState
}
from
'react'
import
{
Table
,
Button
,
Radio
,
Row
,
Col
,
message
}
from
'antd'
import
MellowCard
from
'@/components/MellowCard'
import
{
UserOutlined
,
DeleteOutlined
}
from
'@ant-design/icons'
;
import
{
UserOutlined
,
DeleteOutlined
,
FileFilled
}
from
'@ant-design/icons'
;
import
style
from
'./index.less'
import
imgLink
from
'@/assets/imgs/default_avatar.png'
import
level1
from
'@/assets/imgs/rank1.png'
...
...
@@ -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
}
><
/
a
>
{
item
.
name
}
</
p
>))
:
null
data
?.
evaluationTenderFile
.
length
?
data
.
evaluationTenderFile
.
map
(
item
=>
(<
p
key=
{
item
.
id
}
><
a
href=
{
item
.
url
}
><
FileFilled
/>
{
item
.
name
}
</
a
>
</
p
>))
:
null
}
</
Col
>
</
Row
>
...
...
src/pages/procurement/callForBids/readyConfirmBid/components/remarkBidReport/index.tsx
View file @
8b534aa6
import
React
,
{
useContext
,
useEffect
,
useRef
,
useState
}
from
'react'
import
{
Table
,
Button
,
Radio
,
Row
,
Col
,
message
}
from
'antd'
import
MellowCard
from
'@/components/MellowCard'
import
{
UserOutlined
,
DeleteOutlined
}
from
'@ant-design/icons'
;
import
{
UserOutlined
,
DeleteOutlined
,
FileFilled
}
from
'@ant-design/icons'
;
import
style
from
'./index.less'
import
imgLink
from
'@/assets/imgs/default_avatar.png'
import
level1
from
'@/assets/imgs/rank1.png'
...
...
@@ -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
}
><
/
a
>
{
item
.
name
}
</
p
>))
:
null
data
?.
evaluationTenderFile
.
length
?
data
.
evaluationTenderFile
.
map
(
item
=>
(<
p
key=
{
item
.
id
}
><
a
href=
{
item
.
url
}
><
FileFilled
/>
{
item
.
name
}
</
a
>
</
p
>))
:
null
}
</
Col
>
</
Row
>
...
...
src/pages/procurement/callForBids/readyPassBid/components/remarkBidReport/index.tsx
View file @
8b534aa6
import
React
,
{
useContext
,
useEffect
,
useRef
,
useState
}
from
'react'
import
{
Table
,
Button
,
Radio
,
Row
,
Col
,
message
}
from
'antd'
import
MellowCard
from
'@/components/MellowCard'
import
{
UserOutlined
,
DeleteOutlined
}
from
'@ant-design/icons'
;
import
{
UserOutlined
,
DeleteOutlined
,
FileFilled
}
from
'@ant-design/icons'
;
import
style
from
'./index.less'
import
imgLink
from
'@/assets/imgs/default_avatar.png'
import
level1
from
'@/assets/imgs/rank1.png'
...
...
@@ -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
}
><
/
a
>
{
item
.
name
}
</
p
>))
:
null
data
?.
evaluationTenderFile
.
length
?
data
.
evaluationTenderFile
.
map
(
item
=>
(<
p
key=
{
item
.
id
}
><
a
href=
{
item
.
url
}
><
FileFilled
/>
{
item
.
name
}
</
a
>
</
p
>))
:
null
}
</
Col
>
</
Row
>
...
...
src/pages/procurement/components/descriptionsInfo/index.tsx
View file @
8b534aa6
...
...
@@ -347,7 +347,7 @@ const DescriptionsInfo: React.FC<BasicInfoProps> = ({cardTitle, type}) => {
const
result
=
_data
.
isWin
const
sumPrice
=
_data
?.
submitTender
?
_data
.
submitTender
.
submitTenderMateriel
.
reduce
((
a
,
b
)
=>
a
+
b
.
price
*
b
.
inviteTenderMateriel
.
count
,
0
)
:
0
const
alreadyPay
=
_data
?.
submitTender
?
_data
.
submitTender
.
submitTenderMateriel
.
reduce
((
a
,
b
)
=>
a
+
b
.
price
*
b
.
inviteTenderMateriel
.
count
*
b
.
awardTenderRatio
/
100
,
0
)
:
0
console
.
log
(
sumPrice
,
alreadyPay
,
'aaa'
)
const
bidResultList
=
[
{
span
:
8
,
...
...
@@ -464,7 +464,6 @@ const DescriptionsInfo: React.FC<BasicInfoProps> = ({cardTitle, type}) => {
{
type
:
'已支付'
,
value
:
alreadyPay
,
percent
:
Math
.
round
(
alreadyPay
/
sumPrice
)
/
100.00
}
];
console
.
log
(
userData
,
'ggg'
)
return
<
Chart
placeholder=
{
false
}
height=
{
64
}
width=
{
64
}
style=
{
{
position
:
"relative"
}
}
autoFit
>
<
Legend
visible=
{
false
}
/>
{
/* 绘制图形 */
}
...
...
@@ -492,7 +491,7 @@ const DescriptionsInfo: React.FC<BasicInfoProps> = ({cardTitle, type}) => {
{
fieldList
.
length
?
fieldList
.
map
((
_v
,
_i
)
=>
<
Row
key=
{
_v
.
name
}
className=
{
style
[
'card-list'
]
}
style=
{
_v
.
rowStyle
}
>
{
_v
?.
noTitle
?
null
:
<
Col
span=
{
6
}
className=
{
style
[
'card-list_title'
]
}
>
{
_v
.
title
}
</
Col
>
}
<
Col
>
{
_v
.
render
?
_v
.
render
(
dataSource
[
_v
.
name
],
dataSource
)
:
dataSource
[
_v
.
name
]
}
</
Col
>
<
Col
>
<
p
style=
{
{
paddingRight
:
20
}
}
>
{
_v
.
render
?
_v
.
render
(
dataSource
[
_v
.
name
],
dataSource
)
:
dataSource
[
_v
.
name
]
}
</
p
>
</
Col
>
</
Row
>)
:
null
}
</
Col
>))
...
...
src/pages/procurement/components/remarkBidReport/index.tsx
View file @
8b534aa6
import
React
,
{
useContext
,
useEffect
,
useRef
,
useState
}
from
'react'
import
{
Table
,
Button
,
Radio
,
Row
,
Col
,
message
}
from
'antd'
import
MellowCard
from
'@/components/MellowCard'
import
{
UserOutlined
,
DeleteOutlined
}
from
'@ant-design/icons'
;
import
{
UserOutlined
,
DeleteOutlined
,
FileFilled
}
from
'@ant-design/icons'
;
import
style
from
'./index.less'
import
imgLink
from
'@/assets/imgs/default_avatar.png'
import
level1
from
'@/assets/imgs/rank1.png'
...
...
@@ -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
}
>
{
item
.
name
}
</
a
></
p
>))
:
null
data
?.
evaluationFile
.
length
?
data
.
evaluationFile
.
map
(
item
=>
(<
p
key=
{
item
.
id
}
><
a
href=
{
item
.
url
}
>
<
FileFilled
/>
{
item
.
name
}
</
a
></
p
>))
:
null
}
</
Col
>
</
Row
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment