|
|
@ -54,7 +54,12 @@ export const deleteEquipmentManufacturer = async (id: number) => { |
|
|
|
|
|
|
|
// 导出设备制造商 Excel
|
|
|
|
export const exportEquipmentManufacturer = async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|
const data = { ...params } |
|
|
|
return await request.downloadPost({ url: `/eam/basic/equipment-manufacturer/export-excel-senior`, data }) |
|
|
|
} else { |
|
|
|
return await request.download({ url: `/eam/basic/equipment-manufacturer/export-excel`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
|