Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ems3.3
Project
Project
Details
Activity
Releases
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
wuhao
ems3.3
Commits
1c6fb9a4
Commit
1c6fb9a4
authored
Sep 01, 2023
by
左玲玲
😬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1714
parent
d4ddcfbe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
columns.js
src/pages/lease/custom/columns.js
+1
-0
index.jsx
src/pages/lease/custom/index.jsx
+17
-0
No files found.
src/pages/lease/custom/columns.js
View file @
1c6fb9a4
...
@@ -123,6 +123,7 @@ function getcolumns(setdrawer) {
...
@@ -123,6 +123,7 @@ function getcolumns(setdrawer) {
fieldProps
:
{
fieldProps
:
{
limit
:
5
,
limit
:
5
,
},
},
hideInDescriptions
:
true
},
},
],
],
pathconfig
:
{
pathconfig
:
{
...
...
src/pages/lease/custom/index.jsx
View file @
1c6fb9a4
...
@@ -136,6 +136,23 @@ const Custom = () => {
...
@@ -136,6 +136,23 @@ const Custom = () => {
}
}
}
}
}
}
>
>
{
<
div
>
<
div
>
附件
</
div
>
<
div
style=
{
{
display
:
"flex"
,
flexFlow
:
"row wrap"
,
width
:
"100%"
}
}
>
{
drawer
?.
item
?.[
'f14'
]
&&
typeof
(
drawer
?.
item
?.[
'f14'
])
==
"string"
?
<
a
href=
{
drawer
?.
item
?.[
'f14'
]
}
download=
{
drawer
?.
item
?.[
'f14'
]
}
style=
{
{
margin
:
'0 10px 0 0'
,
display
:
'block'
}
}
>
{
urlName
?
urlName
:
"下载"
}
</
a
>
:
drawer
?.
item
?.[
'f14'
]
&&
Array
.
isArray
(
drawer
?.
item
?.[
'f14'
])
&&
drawer
?.
item
?.[
'f14'
]?.
length
?
drawer
?.
item
?.[
'f14'
]?.
map
(
el
=>
{
return
<
a
key=
{
el
.
url
}
href=
{
el
.
url
}
download=
{
el
.
name
}
style=
{
{
margin
:
'0 10px 0 0'
,
display
:
'block'
}
}
>
{
el
.
name
}
</
a
>
})
:
"-"
}
</
div
>
</
div
>
}
</
DrawerPro
>
</
DrawerPro
>
</
div
>
</
div
>
}
}
...
...
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