WholeProcessPlatform/frontend/src/api/system/disposeManage/index.ts

50 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-07-15 18:24:05 +08:00
import request from '@/utils/request';
2026-07-16 14:40:20 +08:00
// 飞行路径
2026-07-15 18:24:05 +08:00
export function threedroambGetKendoListCust(data: any) {
return request({
2026-07-16 14:40:20 +08:00
url: '/threedroamb/GetKendoListCust',
2026-07-15 18:24:05 +08:00
method: 'post',
data: data
});
}
export function threedroambsave(data: any) {
return request({
2026-07-16 14:40:20 +08:00
url: '/threedroamb/save',
2026-07-15 18:24:05 +08:00
method: 'post',
data: data
});
}
export function threedroambdelete(data: any) {
return request({
2026-07-16 14:40:20 +08:00
url: '/threedroamb/delete',
2026-07-15 18:24:05 +08:00
method: 'get',
params: data
});
}
//根据id查询弹窗
export function threedroambGetKendoById(data: any) {
return request({
2026-07-16 14:40:20 +08:00
url: '/threedroamb/getThreedRoamDetails',
2026-07-15 18:24:05 +08:00
method: 'get',
params: data
});
}
// 导入接口
export function threedroambimport(data: FormData) {
return request({
2026-07-16 14:40:20 +08:00
url: '/threedroamb/import',
2026-07-15 18:24:05 +08:00
method: 'post',
data: data,
headers: { 'Content-Type': 'multipart/form-data' }
});
}
// 导出模板
export function threedroambexport(data: any) {
return request({
2026-07-16 14:40:20 +08:00
url: '/threedroamb/export',
2026-07-15 18:24:05 +08:00
method: 'post',
data: data,
responseType: 'blob'
});
}