diff --git a/src/api/eam/basic/factoryArea/index.ts b/src/api/eam/basic/factoryArea/index.ts index e36c838..402ee57 100644 --- a/src/api/eam/basic/factoryArea/index.ts +++ b/src/api/eam/basic/factoryArea/index.ts @@ -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' }) -} \ No newline at end of file diff --git a/src/api/eam/basic/item/index.ts b/src/api/eam/basic/item/index.ts index 7334a8d..f9ef0e0 100644 --- a/src/api/eam/basic/item/index.ts +++ b/src/api/eam/basic/item/index.ts @@ -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 }) } - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/eam/item/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/eam/basic/location/index.ts b/src/api/eam/basic/location/index.ts index d898992..d94f360 100644 --- a/src/api/eam/basic/location/index.ts +++ b/src/api/eam/basic/location/index.ts @@ -48,7 +48,3 @@ export const exportLocation = async (params) => { return await request.download({ url: `/eam/location/export-excel`, params }) } -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/eam/location/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/eam/basic/locationArea/index.ts b/src/api/eam/basic/locationArea/index.ts index 744bcc7..e1dd72e 100644 --- a/src/api/eam/basic/locationArea/index.ts +++ b/src/api/eam/basic/locationArea/index.ts @@ -46,7 +46,3 @@ export const exportLocationArea = async (params) => { return await request.download({ url: `/eam/location-area/export-excel`, params }) } -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/eam/location-area/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/eam/basic/supplier/index.ts b/src/api/eam/basic/supplier/index.ts index 258939f..80e86b7 100644 --- a/src/api/eam/basic/supplier/index.ts +++ b/src/api/eam/basic/supplier/index.ts @@ -52,7 +52,3 @@ export const exportSupplier = async (params) => { return await request.download({ url: `/eam/supplier/export-excel`, params }) } -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/eam/supplier/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/eam/fixedAssets/index.ts b/src/api/eam/fixedAssets/index.ts index 31c1c1b..b1688d6 100644 --- a/src/api/eam/fixedAssets/index.ts +++ b/src/api/eam/fixedAssets/index.ts @@ -53,7 +53,3 @@ export const exportFixedAssets = async (params) => { return await request.download({ url: `/eam/fixed-assets/export-excel`, params }) } -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/eam/fixed-assets/get-import-template' }) -}