Kaynağa Gözat

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

yangguanjin 1 hafta önce
ebeveyn
işleme
baf2c46ba9

+ 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') {