|
|
@@ -160,7 +160,7 @@ const getInspectionPlanData = async (params: Record<string, any>) => {
|
|
|
let filteredOptions = optionsResult.value
|
|
|
if (inspectionPlanType.value === 'commPlan') {
|
|
|
// 通用方案:筛选 reportType=900 且 pjType=5 的数据
|
|
|
- filteredOptions = optionsResult.value.filter(item => item.reportType === 900 && item.pjType === 3)
|
|
|
+ filteredOptions = optionsResult.value.filter(item => item.reportType === 900 && (item.pjType === 3 || item.pjType === 5))
|
|
|
} else if (inspectionPlanType.value === 'selfPlan') {
|
|
|
// 自编方案:筛选 reportType=500 且 pjType=3 的数据
|
|
|
filteredOptions = optionsResult.value.filter(item => item.reportType === 500 && item.pjType === 5)
|