ADD:数据合并按钮操作

This commit is contained in:
贾同学
2025-08-29 09:54:19 +08:00
parent 6e979c5dcb
commit a32ca3c849
2 changed files with 32 additions and 2 deletions

View File

@@ -137,10 +137,15 @@ export const importSubPlan = (params: Plan.ResPlan) => {
// 导出计划检测结果数据
export const exportPlanCheckData = (params: Plan.ResPlan) => {
return http.download(`/adPlan/exportPlanCheckData?planId=${params.id}`)
return http.download(`/adPlan/exportPlanCheckData?planId=${params.id}&report=1`)
}
// 导入子检测计划检测结果数据
export const importSubPlanCheckData = (params: Plan.ResPlan) => {
return http.upload(`/adPlan/importSubPlanCheckData`, params)
}
// 合并子检测计划检测结果数据
export const mergeSubPlanCheckData = (params: Plan.ResPlan) => {
return http.upload(`/adPlan/mergePlanCheckData?planId=${params.id}`)
}