Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
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
shenshaokai
jinfa-admin
Commits
2df872b7
Commit
2df872b7
authored
Dec 01, 2020
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:处理待审核商品传参问题
parent
8a2ca2a8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
25 deletions
+31
-25
index.tsx
src/components/AuditProcess/index.tsx
+30
-24
index.tsx
src/pages/commodity/productWillCheck/index.tsx
+1
-1
No files found.
src/components/AuditProcess/index.tsx
View file @
2df872b7
/*
/*
* @Author: XieZhiXiong
* @Author: XieZhiXiong
* @Date: 2020-09-15 17:48:36
* @Date: 2020-09-15 17:48:36
* @LastEditors:
XieZhiXiong
* @LastEditors:
zwp
* @LastEditTime: 2020-
09-15 17:49
:54
* @LastEditTime: 2020-
12-01 18:12
:54
* @Description: 内外部流转记录组件
* @Description: 内外部流转记录组件
*/
*/
import
React
from
'react'
;
import
React
from
'react'
;
...
@@ -32,28 +32,34 @@ const AuditProcess: React.FC<AuditProcessProp> = ({
...
@@ -32,28 +32,34 @@ const AuditProcess: React.FC<AuditProcessProp> = ({
})
=>
(
})
=>
(
<
MellowCard
>
<
MellowCard
>
<
Tabs
onChange=
{
()
=>
{}
}
>
<
Tabs
onChange=
{
()
=>
{}
}
>
<
Tabs
.
TabPane
tab=
"外部审核流程"
key=
"1"
>
{
<
Steps
style=
{
{
marginTop
:
30
}
}
progressDot
current=
{
outerVerifyCurrent
}
>
outerVerifySteps
?.
length
>
0
&&
{
outerVerifySteps
.
map
(
item
=>
(
<
Tabs
.
TabPane
tab=
"外部审核流程"
key=
"1"
>
<
Steps
.
Step
<
Steps
style=
{
{
marginTop
:
30
}
}
progressDot
current=
{
outerVerifyCurrent
}
>
key=
{
customKey
?
item
[
customKey
]
:
item
.
step
}
{
outerVerifySteps
.
map
(
item
=>
(
title=
{
customTitleKey
?
item
[
customTitleKey
]
:
item
.
stepName
}
<
Steps
.
Step
description=
{
item
.
roleName
}
key=
{
customKey
?
item
[
customKey
]
:
item
.
step
}
/>
title=
{
customTitleKey
?
item
[
customTitleKey
]
:
item
.
stepName
}
))
}
description=
{
item
.
roleName
}
</
Steps
>
/>
</
Tabs
.
TabPane
>
))
}
<
Tabs
.
TabPane
tab=
"内部审核流程"
key=
"2"
>
</
Steps
>
<
Steps
style=
{
{
marginTop
:
30
}
}
progressDot
current=
{
innerVerifyCurrent
}
>
</
Tabs
.
TabPane
>
{
innerVerifySteps
.
map
(
item
=>
(
}
<
Steps
.
Step
{
key=
{
customKey
?
item
[
customKey
]
:
item
.
step
}
innerVerifySteps
?.
length
>
0
&&
title=
{
customTitleKey
?
item
[
customTitleKey
]
:
item
.
stepName
}
<
Tabs
.
TabPane
tab=
"内部审核流程"
key=
"2"
>
description=
{
item
.
roleName
}
<
Steps
style=
{
{
marginTop
:
30
}
}
progressDot
current=
{
innerVerifyCurrent
}
>
/>
{
innerVerifySteps
.
map
(
item
=>
(
))
}
<
Steps
.
Step
</
Steps
>
key=
{
customKey
?
item
[
customKey
]
:
item
.
step
}
</
Tabs
.
TabPane
>
title=
{
customTitleKey
?
item
[
customTitleKey
]
:
item
.
stepName
}
description=
{
item
.
roleName
}
/>
))
}
</
Steps
>
</
Tabs
.
TabPane
>
}
</
Tabs
>
</
Tabs
>
</
MellowCard
>
</
MellowCard
>
);
);
...
...
src/pages/commodity/productWillCheck/index.tsx
View file @
2df872b7
...
@@ -135,7 +135,7 @@ const Products: React.FC<{}> = () => {
...
@@ -135,7 +135,7 @@ const Products: React.FC<{}> = () => {
const
fetchData
=
(
params
:
any
)
=>
{
const
fetchData
=
(
params
:
any
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getProductCommodityGetPlatformCommodityList
(
params
).
then
(
res
=>
{
PublicApi
.
getProductCommodityGetPlatformCommodityList
(
{...
params
,
status
:
2
}
).
then
(
res
=>
{
const
{
data
}
=
res
const
{
data
}
=
res
resolve
(
data
)
resolve
(
data
)
})
})
...
...
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