|
|
@ -40,8 +40,13 @@ export const deleteSamplingScheme = async (id: number) => { |
|
|
|
|
|
|
|
// 导出采样方案 Excel
|
|
|
|
export const exportSamplingScheme = async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|
const data = {...params} |
|
|
|
return await request.downloadPost({ url: `/qms/sampling-scheme/export-excel-senior`, data }) |
|
|
|
}else{ |
|
|
|
return await request.download({ url: `/qms/sampling-scheme/export-excel`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
|
export const importTemplate = () => { |
|
|
|