Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
Overview
Overview
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
zhaochengxiang
szse
Commits
c602cd98
Commit
c602cd98
authored
Mar 17, 2023
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
盘点问题
parent
33576ded
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
TaskDetail.jsx
src/view/Manage/AssetTask/TaskDetail.jsx
+5
-5
No files found.
src/view/Manage/AssetTask/TaskDetail.jsx
View file @
c602cd98
import
React
,
{
useMemo
}
from
'react'
;
import
React
,
{
useMemo
}
from
'react'
;
import
{
Modal
,
Divider
,
Descriptions
,
Button
,
Table
,
Timeline
,
Row
,
Col
}
from
'antd'
;
import
{
Modal
,
Divider
,
Descriptions
,
Button
,
Table
,
Row
,
Col
}
from
'antd'
;
import
{
DownloadOutlined
}
from
'@ant-design/icons'
;
import
{
DownloadOutlined
}
from
'@ant-design/icons'
;
import
LocalStorage
from
'local-storage'
;
import
LocalStorage
from
'local-storage'
;
...
@@ -118,11 +118,11 @@ export const Basic = ({ task }) => {
...
@@ -118,11 +118,11 @@ export const Basic = ({ task }) => {
<
Descriptions
.
Item
label=
"任务说明"
>
{
task
?.
comment
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"任务说明"
>
{
task
?.
comment
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"任务状态"
>
{
status
[
task
?.
status
]
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"任务状态"
>
{
status
[
task
?.
status
]
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"所属部门"
>
{
task
?.
department
?.
groupDisplayName
??
task
?.
department
?.
groupName
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"所属部门"
>
{
task
?.
department
?.
groupDisplayName
??
task
?.
department
?.
groupName
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"资产专员"
>
{
task
?.
user
?.
userDisplayName
??
task
?.
user
?.
userName
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"资产专员"
>
{
task
?.
specialist
?.
userDisplayName
??
task
?.
specialist
?.
userName
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"更新日期"
>
{
task
?.
updateTime
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"更新日期"
>
{
task
?.
updateTime
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"更新人"
>
{
task
?.
u
ser
?.
userDisplayName
??
task
?.
u
ser
?.
userName
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"更新人"
>
{
task
?.
u
pdateUser
?.
userDisplayName
??
task
?.
updateU
ser
?.
userName
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"创建日期"
>
{
task
?.
createTime
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"创建日期"
>
{
task
?.
createTime
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"创建人"
>
{
task
?.
user
?.
userDisplayName
??
task
?.
u
ser
?.
userName
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"创建人"
>
{
task
?.
createUser
?.
userDisplayName
??
task
?.
createU
ser
?.
userName
}
</
Descriptions
.
Item
>
</
Descriptions
>
</
Descriptions
>
</
React
.
Fragment
>
</
React
.
Fragment
>
)
)
...
@@ -138,7 +138,7 @@ export const Process = ({ task }) => {
...
@@ -138,7 +138,7 @@ export const Process = ({ task }) => {
{
{
title
:
'处理时间'
,
title
:
'处理时间'
,
dataIndex
:
'processDate'
,
dataIndex
:
'processDate'
,
render
:
(
ts
,
_
)
=>
ts
?
new
Date
(
ts
).
toLocaleString
()
:
''
//
render: (ts, _) => ts ? new Date(ts).toLocaleString() : ''
},
},
{
{
title
:
'状态'
,
title
:
'状态'
,
...
...
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