Commit 41b99f62 authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix: 更改待审核商品列表接口,处理审核流程审核角色根据字段判断

parent 2f6c837d
......@@ -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 { getProductCommodityGetPlatformCommodityList } from '@/services/ProductV2Api'
import { getProductCommodityGetUnCheckCommodityList } from '@/services/ProductV2Api'
const formActions = createFormActions();
......@@ -142,7 +142,7 @@ const CheckProduct: React.FC<{}> = () => {
const fetchData = (params) => {
return new Promise((resolve, reject) => {
getProductCommodityGetPlatformCommodityList({ ...params, status: 2 }).then(res => {
getProductCommodityGetUnCheckCommodityList(params).then(res => {
const { data } = res
resolve(data)
})
......
......@@ -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>
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment