Quellcode durchsuchen

调整检测录入页面-项目文件作废接口对接参数

yangguanjin vor 1 Woche
Ursprung
Commit
baf2c46ba9
1 geänderte Dateien mit 6 neuen und 1 gelöschten Zeilen
  1. 6 1
      src/pages/equipment/detail/components/OtherReport.vue

+ 6 - 1
src/pages/equipment/detail/components/OtherReport.vue

@@ -234,7 +234,12 @@ const handleDelReport = async (reason: string) => {
       return
     }
 
-    const cancelReportReq = selectedProjects.value.map((item) => ({ id: item.id, reason }))
+    const cancelReportReq = selectedProjects.value.map((item) => ({ 
+      id: item.id, 
+      reason,
+      isDelete: true,
+      reportType: item.reportType,
+    }))
     let result = null
 
     if (props.useOnline === '1') {