|
|
@ -52,8 +52,13 @@ export const deleteSubjectAccount = async (id: number) => { |
|
|
|
|
|
|
|
// 导出科目账户配置 Excel
|
|
|
|
export const exportSubjectAccount = async (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 }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
|
export const importTemplate = () => { |
|
|
|