|
|
@ -44,7 +44,12 @@ export const deleteInspectionMethod = async (id: number) => { |
|
|
|
|
|
|
|
// 导出检验方法 Excel
|
|
|
|
export const exportInspectionMethod = async (params) => { |
|
|
|
return await request.download({ url: `/qms/inspection-method/export-excel`, params }) |
|
|
|
if (params.isSearch) { |
|
|
|
const data = {...params} |
|
|
|
return await request.downloadPost({ url: `/qms/inspection-method/export-excel-senior`, data }) |
|
|
|
}else{ |
|
|
|
return await request.download({ url: `/qms/inspection-method/export-excel`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
|