新增批量导出导入功能

优化画图软件
This commit is contained in:
guanj
2026-01-12 10:56:54 +08:00
parent 2698ca4f5c
commit 80e4d579a5
23 changed files with 746 additions and 146 deletions

View File

@@ -24,6 +24,23 @@ export function addElement(params: any) {
data: params
})
}
// 批量导入
export function addByZip(params: any) {
return http.request({
url: '/cs-system-boot/csElement/addByZip',
method: 'post',
data: params
})
}
// 下载
export function downloadByZip(params: any) {
return http.request({
url: '/cs-system-boot/csElement/downloadByZip',
method: 'post',
params,
responseType: 'blob'
})
}
// 删除图元
export function deleteElement(params: any) {