@ -47,7 +47,3 @@ export const exportFactoryArea = async (params) => {
return await request.download({ url: `/eam/factory-area/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/eam/factory-area/get-import-template' })
@ -57,8 +57,3 @@ export const deleteItem = async (id: number) => {
export const exportItem = async (params) => {
return await request.download({ url: `/eam/item/export-excel`, params })
return request.download({ url: '/eam/item/get-import-template' })
@ -48,7 +48,3 @@ export const exportLocation = async (params) => {
return await request.download({ url: `/eam/location/export-excel`, params })
return request.download({ url: '/eam/location/get-import-template' })
@ -46,7 +46,3 @@ export const exportLocationArea = async (params) => {
return await request.download({ url: `/eam/location-area/export-excel`, params })
return request.download({ url: '/eam/location-area/get-import-template' })
@ -52,7 +52,3 @@ export const exportSupplier = async (params) => {
return await request.download({ url: `/eam/supplier/export-excel`, params })
return request.download({ url: '/eam/supplier/get-import-template' })
@ -53,7 +53,3 @@ export const exportFixedAssets = async (params) => {
return await request.download({ url: `/eam/fixed-assets/export-excel`, params })
return request.download({ url: '/eam/fixed-assets/get-import-template' })