ADD:导出检测计划检测结果;

This commit is contained in:
贾同学
2025-08-22 09:04:09 +08:00
parent 959ae1dee9
commit 5cd60d9a32
2 changed files with 30 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
import type { Plan } from './interface'
import type {Plan} from './interface'
import http from '@/api'
import type { ErrorSystem } from '../device/interface/error'
import type { Device } from '../device/interface/device'
import type {ErrorSystem} from '../device/interface/error'
import type {Device} from '../device/interface/device'
/**
* @name 检测计划管理模块
@@ -132,4 +132,10 @@ export const exportSubPlan = (params: Plan.ResPlan) => {
// 导入子检测计划
export const importSubPlan = (params: Device.ReqPqDevParams) => {
return http.upload(`/adPlan/importSubPlan`, params)
}
// 导出计划检测结果数据
export const exportPlanCheckData = (params: Plan.ResPlan) => {
return http.download(`/adPlan/exportPlanCheckData?planId=${params.id}`)
}