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
41b99f62
Commit
41b99f62
authored
Jan 13, 2022
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 更改待审核商品列表接口,处理审核流程审核角色根据字段判断
parent
2f6c837d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
checkProduct.tsx
src/pages/commodity/products/checkProduct.tsx
+2
-2
checkProductDetail.tsx
src/pages/commodity/products/checkProductDetail.tsx
+1
-1
viewProducts.tsx
src/pages/commodity/products/viewProducts.tsx
+7
-1
No files found.
src/pages/commodity/products/checkProduct.tsx
View file @
41b99f62
...
...
@@ -12,7 +12,7 @@ import { useStateFilterSearchLinkageEffect } from '@/formSchema/effects/useFilte
import
{
FORM_FILTER_PATH
}
from
'@/formSchema/const'
import
{
createFormActions
,
FormEffectHooks
}
from
'@formily/antd'
import
{
searchBrandOptionEffect
,
searchCustomerCategoryOptionEffect
}
from
'./effect'
import
{
getProductCommodityGet
Platform
CommodityList
}
from
'@/services/ProductV2Api'
import
{
getProductCommodityGet
UnCheck
CommodityList
}
from
'@/services/ProductV2Api'
const
formActions
=
createFormActions
();
...
...
@@ -142,7 +142,7 @@ const CheckProduct: React.FC<{}> = () => {
const
fetchData
=
(
params
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
getProductCommodityGet
PlatformCommodityList
({
...
params
,
status
:
2
}
).
then
(
res
=>
{
getProductCommodityGet
UnCheckCommodityList
(
params
).
then
(
res
=>
{
const
{
data
}
=
res
resolve
(
data
)
})
...
...
src/pages/commodity/products/checkProductDetail.tsx
View file @
41b99f62
...
...
@@ -451,7 +451,7 @@ const CheckProductDetail: React.FC<{}> = () => {
<
Steps
progressDot
current=
{
fixStep
}
>
<
Step
title=
{
intl
.
formatMessage
({
id
:
'commodity.checkProductDetail.step.title.1'
})
}
description=
{
intl
.
formatMessage
({
id
:
'commodity.checkProductDetail.step.description.1'
})
}
/>
<
Step
title=
{
intl
.
formatMessage
({
id
:
'commodity.checkProductDetail.step.title.2'
})
}
description=
{
intl
.
formatMessage
({
id
:
'commodity.checkProductDetail.step.description.2'
})
}
/>
<
Step
title=
{
intl
.
formatMessage
({
id
:
'commodity.checkProductDetail.step.title.3'
})
}
description=
{
intl
.
formatMessage
({
id
:
'commodity.checkProductDetail.step.description.
3
'
})
}
/>
<
Step
title=
{
intl
.
formatMessage
({
id
:
'commodity.checkProductDetail.step.title.3'
})
}
description=
{
intl
.
formatMessage
({
id
:
'commodity.checkProductDetail.step.description.
2
'
})
}
/>
<
Step
title=
{
intl
.
formatMessage
({
id
:
'commodity.checkProductDetail.step.title.4'
})
}
description=
""
/>
</
Steps
>
</
Card
>
...
...
src/pages/commodity/products/viewProducts.tsx
View file @
41b99f62
...
...
@@ -274,7 +274,13 @@ const viewProducts: React.FC<{}> = () => {
<
Steps
progressDot
current=
{
fixStep
}
>
<
Step
title=
{
intl
.
formatMessage
({
id
:
'commodity.products.viewProducts.card.1.step.1'
})
}
description=
{
intl
.
formatMessage
({
id
:
'commodity.products.viewProducts.card.1.step.1.description'
})
}
/>
<
Step
title=
{
intl
.
formatMessage
({
id
:
'commodity.products.viewProducts.card.1.step.2'
})
}
description=
{
intl
.
formatMessage
({
id
:
'commodity.products.viewProducts.card.1.step.2.description'
})
}
/>
<
Step
title=
{
intl
.
formatMessage
({
id
:
'commodity.products.viewProducts.card.1.step.3'
})
}
description=
{
intl
.
formatMessage
({
id
:
'commodity.products.viewProducts.card.1.step.3.description'
})
}
/>
{
productDetail
?.
checkType
===
1
?
<
Step
title=
{
intl
.
formatMessage
({
id
:
'commodity.products.viewProducts.card.1.step.3'
})
}
description=
{
intl
.
formatMessage
({
id
:
'commodity.products.viewProducts.card.1.step.2.description'
})
}
/>
:
<
Step
title=
{
intl
.
formatMessage
({
id
:
'commodity.products.viewProducts.card.1.step.3'
})
}
description=
{
intl
.
formatMessage
({
id
:
'commodity.products.viewProducts.card.1.step.3.description'
})
}
/>
}
<
Step
title=
{
intl
.
formatMessage
({
id
:
'commodity.products.viewProducts.card.1.step.4'
})
}
description=
""
/>
</
Steps
>
</
Card
>
...
...
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