This commit is contained in:
guanj
2025-08-22 15:34:07 +08:00
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}`)
}