归档前如果设备没有生成报告则自动生成报告

This commit is contained in:
caozehui
2025-05-16 10:33:43 +08:00
parent 8b144b63fc
commit 629600bc00
4 changed files with 15 additions and 9 deletions

View File

@@ -64,8 +64,3 @@ export const importContrastPqDev = (params: Device.ReqPqDevParams) => {
export const getPqDev = () => {
return http.get(`/devType/listAll`)
}
//被检设备归档
export const documentedPqDev = (ids: string[]) => {
return http.post(`/pqDev/documented`, ids)
}

View File

@@ -40,3 +40,7 @@ export const getPqReportAllVersion = (params:any) => {
return http.get(`/report/listAllVersion?name=${params.name}`)
}
//被检设备归档
export const documentedPqDev = (ids: string[]) => {
return http.post(`/report/documented`, ids)
}