|
@ -48,8 +48,13 @@ export const deleteInspectionItem = async (id: number) => { |
|
|
|
|
|
|
|
|
// 导出巡检项 Excel
|
|
|
// 导出巡检项 Excel
|
|
|
export const exportInspectionItem = async (params) => { |
|
|
export const exportInspectionItem = async (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 }) |
|
|
return await request.download({ url: `/eam/basic/inspection-item/export-excel`, params }) |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
// 下载用户导入模板
|
|
|
export const importTemplate = () => { |
|
|
export const importTemplate = () => { |
|
|