|
|
@ -48,7 +48,12 @@ export const deleteBasicFaultType = async (id: number) => { |
|
|
|
|
|
|
|
// 导出故障类型 Excel
|
|
|
|
export const exportBasicFaultType = async (params) => { |
|
|
|
return await request.download({ url: `/eam/basic-fault-type/export-excel`, params }) |
|
|
|
if (params.isSearch) { |
|
|
|
const data = {...params} |
|
|
|
return await request.downloadPost({ url: `/eam/basic-fault-type/export-excel-senior`, data }) |
|
|
|
}else{ |
|
|
|
return await request.download({ url: `/eam/basic-fault-type/export-excel`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
|