Browse Source

基础信息删除导入功能

master
yejiaxing 10 months ago
parent
commit
83eb15b47e
  1. 4
      src/api/eam/basic/factoryArea/index.ts
  2. 5
      src/api/eam/basic/item/index.ts
  3. 4
      src/api/eam/basic/location/index.ts
  4. 4
      src/api/eam/basic/locationArea/index.ts
  5. 4
      src/api/eam/basic/supplier/index.ts
  6. 4
      src/api/eam/fixedAssets/index.ts

4
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 }) return await request.download({ url: `/eam/factory-area/export-excel`, params })
} }
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/eam/factory-area/get-import-template' })
}

5
src/api/eam/basic/item/index.ts

@ -57,8 +57,3 @@ export const deleteItem = async (id: number) => {
export const exportItem = async (params) => { export const exportItem = async (params) => {
return await request.download({ url: `/eam/item/export-excel`, params }) return await request.download({ url: `/eam/item/export-excel`, params })
} }
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/eam/item/get-import-template' })
}

4
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 }) return await request.download({ url: `/eam/location/export-excel`, params })
} }
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/eam/location/get-import-template' })
}

4
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 }) return await request.download({ url: `/eam/location-area/export-excel`, params })
} }
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/eam/location-area/get-import-template' })
}

4
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 }) return await request.download({ url: `/eam/supplier/export-excel`, params })
} }
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/eam/supplier/get-import-template' })
}

4
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 }) return await request.download({ url: `/eam/fixed-assets/export-excel`, params })
} }
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/eam/fixed-assets/get-import-template' })
}

Loading…
Cancel
Save