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
fa260bd0
Commit
fa260bd0
authored
Jul 13, 2021
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-srm' of
http://10.0.0.22:3000/lingxi/lingxi-business-paltform
into dev-srm
parents
73bc1c7f
b5b1f497
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
index.tsx
src/pages/procurement/components/descriptionsInfo/index.tsx
+6
-4
index.tsx
src/pages/procurement/tender/addTender/index.tsx
+3
-1
No files found.
src/pages/procurement/components/descriptionsInfo/index.tsx
View file @
fa260bd0
...
...
@@ -83,10 +83,11 @@ const DescriptionsInfo: React.FC<BasicInfoProps> = ({cardTitle, type}) => {
}
</
p
>
{
data
[
'inviteTenderAreaList'
][
'length'
]
>
3
&&
data
[
'inviteTenderAreaList'
][
'length'
]
>
3
?
<
p
onClick=
{
toogleMore
}
style=
{
{
cursor
:
'pointer'
}
}
className=
"commonPickColor"
>
展开
{
showMore
?
<
CaretDownOutlined
/>
:
<
CaretUpOutlined
/>
}
</
p
>
:
null
}
</>
}
...
...
@@ -137,10 +138,11 @@ const DescriptionsInfo: React.FC<BasicInfoProps> = ({cardTitle, type}) => {
}
</
p
>
{
data
[
'inviteTenderAreaList'
][
'length'
]
>
3
&&
data
[
'inviteTenderAreaList'
][
'length'
]
>
3
?
<
p
onClick=
{
toogleMore
}
style=
{
{
cursor
:
'pointer'
}
}
className=
"commonPickColor"
>
展开
{
showMore
?
<
CaretDownOutlined
/>
:
<
CaretUpOutlined
/>
}
</
p
>
:
null
}
</>
}
...
...
@@ -254,7 +256,7 @@ const DescriptionsInfo: React.FC<BasicInfoProps> = ({cardTitle, type}) => {
span
:
8
,
fieldList
:
[
{
title
:
'电子邮箱:'
,
name
:
'email'
,
render
:
()
=>
_data
?.
submitTenderRegister
?.
email
},
{
title
:
'单位地址:'
,
name
:
'address'
,
render
:
()
=>
_data
?.
submitTenderRegister
&&
`
${
_data
.
submitTenderRegister
.
provinceName
}${
_data
.
submitTenderRegister
.
cityName
}${
_data
.
submitTenderRegister
.
regionName
}${
_data
.
submitTenderRegister
.
address
}
`
},
{
title
:
'单位地址:'
,
name
:
'address'
,
render
:
()
=>
_data
?.
submitTenderRegister
?
`
${
_data
.
submitTenderRegister
.
provinceName
}${
_data
.
submitTenderRegister
.
cityName
}${
_data
.
submitTenderRegister
.
regionName
}${
_data
.
submitTenderRegister
.
address
}
`
:
null
},
]
}
]
...
...
@@ -269,7 +271,7 @@ const DescriptionsInfo: React.FC<BasicInfoProps> = ({cardTitle, type}) => {
name
:
'registerFile'
,
render
:
(
t
,
r
)
=>
(<
div
>
{
_data
?.
submitTenderRegister
&&
_data
[
'submitTenderRegister'
][
'registerFile'
].
map
((
_item
,
_i
)
=>
<
p
><
a
key=
{
`registerFile${_i}`
}
target=
"_blank"
href=
{
_item
.
url
}
><
FileFilled
/>
{
_item
.
name
}
</
a
></
p
>)
_data
?.
submitTenderRegister
?
_data
[
'submitTenderRegister'
][
'registerFile'
].
map
((
_item
,
_i
)
=>
<
p
><
a
key=
{
`registerFile${_i}`
}
target=
"_blank"
href=
{
_item
.
url
}
><
FileFilled
/>
{
_item
.
name
}
</
a
></
p
>)
:
null
}
</
div
>)
},
...
...
src/pages/procurement/tender/addTender/index.tsx
View file @
fa260bd0
...
...
@@ -103,7 +103,9 @@ const AddTender:React.FC<AddTenderProps> = (props) => {
}
let
param
=
{
...
item
,
inviteTenderMateriel
:
{
id
:
item
.
inviteTenderMateriel
.
id
},
}
if
(
item
?.
inviteTenderMateriel
?.
id
)
{
param
.
inviteTenderMateriel
=
{
id
:
item
.
inviteTenderMateriel
.
id
}
}
if
(
!
value
?.
id
)
delete
param
.
id
return
param
...
...
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