|
|
@ -48,7 +48,12 @@ export const deleteInspectionItem = async (id: number) => { |
|
|
|
|
|
|
|
// 导出巡检项 Excel
|
|
|
|
export const exportInspectionItem = async (params) => { |
|
|
|
return await request.download({ url: `/eam/basic/inspection-item/export-excel`, params }) |
|
|
|
if (params.isSearch) { |
|
|
|
const data = { ...params } |
|
|
|
return await request.downloadPost({ url: `/eam/basic/inspection-item/export-excel-senior`, data }) |
|
|
|
} else { |
|
|
|
return await request.download({ url: `/eam/basic/inspection-item/export-excel`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
|