瀏覽代碼

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

yangguanjin 1 周之前
父節點
當前提交
baf2c46ba9
共有 1 個文件被更改,包括 6 次插入1 次删除
  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') {