bug修护
parent
5cf43f7028
commit
dabc0bbd95
|
|
@ -26,7 +26,7 @@ const QualConfirm = (props) => {
|
||||||
queryReviewList({
|
queryReviewList({
|
||||||
...toQualReviewPageQuery(router.query),
|
...toQualReviewPageQuery(router.query),
|
||||||
supervision: true,
|
supervision: true,
|
||||||
applyTypeCode: 2,
|
applyTypeCode: 3,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -65,9 +65,12 @@ const QualReview = (props) => {
|
||||||
title: "专家核验",
|
title: "专家核验",
|
||||||
dataIndex: "expertStatus",
|
dataIndex: "expertStatus",
|
||||||
width: 100,
|
width: 100,
|
||||||
render: (status) => {
|
render: (status, record) => {
|
||||||
const config = EXPERT_STATUS_MAP['pending'];
|
if (!record.needExpertCheck) {
|
||||||
return config ? <Tag color={config.color}>{config.label}</Tag> : '--';
|
return "--";
|
||||||
|
}
|
||||||
|
const config = EXPERT_STATUS_MAP[status];
|
||||||
|
return config ? <Tag color={config.color}>{config.label}</Tag> : "--";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -21,12 +21,15 @@ export const REVIEW_BUSINESS_SCOPE_OPTIONS = QUALIFICATION_INDUSTRY_OPTIONS;
|
||||||
|
|
||||||
/** 资质审核列表查询参数映射 */
|
/** 资质审核列表查询参数映射 */
|
||||||
export function toQualReviewPageQuery(query = {}) {
|
export function toQualReviewPageQuery(query = {}) {
|
||||||
const { confirmStatus, orgType, filingUnitTypeName, filingStatusCode, ...rest } = query;
|
const { confirmStatus, orgType, filingUnitTypeName, filingStatusCode, needExpertCheck, ...rest } = query;
|
||||||
const params = { ...rest };
|
const params = { ...rest };
|
||||||
const unitType = filingUnitTypeName || orgType;
|
const unitType = filingUnitTypeName || orgType;
|
||||||
if (unitType) {
|
if (unitType) {
|
||||||
params.filingUnitTypeName = unitType;
|
params.filingUnitTypeName = unitType;
|
||||||
}
|
}
|
||||||
|
if (needExpertCheck) {
|
||||||
|
params.needExpertCheck = needExpertCheck;
|
||||||
|
}
|
||||||
const statusKey = confirmStatus || filingStatusCode;
|
const statusKey = confirmStatus || filingStatusCode;
|
||||||
if (statusKey && CONFIRM_STATUS_TO_FILING_CODE[statusKey] != null) {
|
if (statusKey && CONFIRM_STATUS_TO_FILING_CODE[statusKey] != null) {
|
||||||
params.filingStatusCode = CONFIRM_STATUS_TO_FILING_CODE[statusKey];
|
params.filingStatusCode = CONFIRM_STATUS_TO_FILING_CODE[statusKey];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue