|
@ -52,7 +52,12 @@ export const deleteSubjectAccount = async (id: number) => { |
|
|
|
|
|
|
|
|
// 导出科目账户配置 Excel
|
|
|
// 导出科目账户配置 Excel
|
|
|
export const exportSubjectAccount = async (params) => { |
|
|
export const exportSubjectAccount = async (params) => { |
|
|
return await request.download({ url: `/wms/subject-account/export-excel`, params }) |
|
|
if (params.isSearch) { |
|
|
|
|
|
const data = {...params} |
|
|
|
|
|
return await request.downloadPost({ url: `/wms/subject-account/export-excel-senior`, data }) |
|
|
|
|
|
}else{ |
|
|
|
|
|
return await request.download({ url: `/wms/subject-account/export-excel`, params }) |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
// 下载用户导入模板
|
|
|