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
陈智峰
jinfa-platform
Commits
66cfe68d
Commit
66cfe68d
authored
Jan 06, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复外部流转跳转流程 Step 状态不对的问题
parent
e4afb4bb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
index.tsx
src/pages/afterService/components/OuterCirculation/index.tsx
+8
-2
index.tsx
...Service/returnApplication/components/DetailInfo/index.tsx
+1
-0
No files found.
src/pages/afterService/components/OuterCirculation/index.tsx
View file @
66cfe68d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Author: XieZhiXiong
* @Date: 2020-09-29 10:47:07
* @Date: 2020-09-29 10:47:07
* @LastEditors: XieZhiXiong
* @LastEditors: XieZhiXiong
* @LastEditTime: 202
0-10-27 10:33:24
* @LastEditTime: 202
1-01-06 11:44:39
* @Description: 外部流转组件
* @Description: 外部流转组件
*/
*/
import
React
from
'react'
;
import
React
from
'react'
;
...
@@ -14,6 +14,7 @@ interface OuterCirculation {
...
@@ -14,6 +14,7 @@ interface OuterCirculation {
steps
:
{
steps
:
{
title
:
string
,
title
:
string
,
description
:
string
,
description
:
string
,
status
:
'finish'
|
'wait'
,
}[];
}[];
current
:
number
;
current
:
number
;
};
};
...
@@ -35,7 +36,12 @@ const OuterCirculation: React.FC<OuterCirculation> = ({
...
@@ -35,7 +36,12 @@ const OuterCirculation: React.FC<OuterCirculation> = ({
{
(
steps
&&
steps
.
length
>
0
)
?
(
{
(
steps
&&
steps
.
length
>
0
)
?
(
<
Steps
style=
{
{
marginTop
:
30
}
}
progressDot
current=
{
current
}
>
<
Steps
style=
{
{
marginTop
:
30
}
}
progressDot
current=
{
current
}
>
{
steps
.
map
((
item
,
index
)
=>
(
{
steps
.
map
((
item
,
index
)
=>
(
<
Steps
.
Step
key=
{
index
}
title=
{
item
.
title
}
description=
{
item
.
description
}
/>
<
Steps
.
Step
key=
{
index
}
title=
{
item
.
title
}
description=
{
item
.
description
}
status=
{
item
.
status
}
/>
))
}
))
}
</
Steps
>
</
Steps
>
)
:
(
)
:
(
...
...
src/pages/afterService/returnApplication/components/DetailInfo/index.tsx
View file @
66cfe68d
...
@@ -361,6 +361,7 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
...
@@ -361,6 +361,7 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
title
:
item
.
taskName
,
title
:
item
.
taskName
,
description
:
item
.
roleName
,
description
:
item
.
roleName
,
step
:
item
.
step
,
step
:
item
.
step
,
status
:
item
.
isExecute
?
'finish'
:
'wait'
,
}))
:
}))
:
[]
[]
}
}
...
...
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