This commit is contained in:
zlwu committed 2026-08-27 19:38:01 +08:00
1 parent 4611dbc2b2
commit ebf006eeff
46 files changed
+36802 -20974

No files matched your search

+9 -2
View File
@@ -377,14 +377,21 @@ export function plPlanListTabToFilters(tab: PlPlanListTab): {
return { planType: plPlanTypeTabToFilter(tab) }
}
/** 危化品证上传页:证书齐备筛选选项 */
export const PL_PLAN_HAZARD_CERT_READY_FILTER_OPTIONS = [
{ label: '未齐备', value: '0' },
{ label: '已齐备', value: '1' }
] as const
export function plPlanCertTabToFilters(tab: PlPlanCertTab): {
planType: string
certUploadStatus?: string
hazardCertReady?: string
} {
if (tab === 'cert_incomplete') {
return { planType: '', certUploadStatus: 'incomplete' }
return { planType: '', certUploadStatus: 'incomplete', hazardCertReady: '0' }
}
return { planType: plPlanTypeTabToFilter(tab) }
return { planType: plPlanTypeTabToFilter(tab), hazardCertReady: '' }
}
export function plPlanTypeFilterToTab(planType?: string): PlPlanTypeTab {