|
@ -58,7 +58,12 @@ export const deleteQ1 = async (id: number) => { |
|
|
|
|
|
|
|
|
// 导出Q1通知单 Excel
|
|
|
// 导出Q1通知单 Excel
|
|
|
export const exportQ1 = async (params) => { |
|
|
export const exportQ1 = async (params) => { |
|
|
|
|
|
if (params.isSearch) { |
|
|
|
|
|
const data = {...params} |
|
|
|
|
|
return await request.downloadPost({ url: `/qms/inspectionQ1/export-excel-senior`, data }) |
|
|
|
|
|
}else{ |
|
|
return await request.download({ url: `/qms/inspectionQ1/export-excel`, params }) |
|
|
return await request.download({ url: `/qms/inspectionQ1/export-excel`, params }) |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
// 下载用户导入模板
|
|
|