Compare commits

..

No commits in common. "b6b192461b61c3bcfbf39f3d42d8601dccc20450" and "1b0c0ba9b5b87579b00192d2970c4dcb6f6bab70" have entirely different histories.

3 changed files with 5 additions and 11 deletions

View File

@ -26,7 +26,7 @@ const QualConfirm = (props) => {
queryReviewList({ queryReviewList({
...toQualReviewPageQuery(router.query), ...toQualReviewPageQuery(router.query),
supervision: true, supervision: true,
applyTypeCode: 3, applyTypeCode: 2,
}); });
}; };

View File

@ -65,12 +65,9 @@ const QualReview = (props) => {
title: "专家核验", title: "专家核验",
dataIndex: "expertStatus", dataIndex: "expertStatus",
width: 100, width: 100,
render: (status, record) => { render: (status) => {
if (!record.needExpertCheck) { const config = EXPERT_STATUS_MAP['pending'];
return "--"; return config ? <Tag color={config.color}>{config.label}</Tag> : '--';
}
const config = EXPERT_STATUS_MAP[status];
return config ? <Tag color={config.color}>{config.label}</Tag> : "--";
}, },
}, },
{ {

View File

@ -21,15 +21,12 @@ export const REVIEW_BUSINESS_SCOPE_OPTIONS = QUALIFICATION_INDUSTRY_OPTIONS;
/** 资质审核列表查询参数映射 */ /** 资质审核列表查询参数映射 */
export function toQualReviewPageQuery(query = {}) { export function toQualReviewPageQuery(query = {}) {
const { confirmStatus, orgType, filingUnitTypeName, filingStatusCode, needExpertCheck, ...rest } = query; const { confirmStatus, orgType, filingUnitTypeName, filingStatusCode, ...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];