50 lines
1.2 KiB
TypeScript
50 lines
1.2 KiB
TypeScript
|
|
import request from '@/utils/request';
|
||
|
|
|
||
|
|
// 获取所有沿程配置数据
|
||
|
|
export function threedroambGetKendoListCust(data: any) {
|
||
|
|
return request({
|
||
|
|
url: '/api/wmp-sys-server/sys/threedroamb/GetKendoListCust',
|
||
|
|
method: 'post',
|
||
|
|
data: data
|
||
|
|
});
|
||
|
|
}
|
||
|
|
export function threedroambsave(data: any) {
|
||
|
|
return request({
|
||
|
|
url: '/api/wmp-sys-server/sys/threedroamb/save',
|
||
|
|
method: 'post',
|
||
|
|
data: data
|
||
|
|
});
|
||
|
|
}
|
||
|
|
export function threedroambdelete(data: any) {
|
||
|
|
return request({
|
||
|
|
url: '/api/wmp-sys-server/sys/threedroamb/delete',
|
||
|
|
method: 'get',
|
||
|
|
params: data
|
||
|
|
});
|
||
|
|
}
|
||
|
|
//根据id查询弹窗
|
||
|
|
export function threedroambGetKendoById(data: any) {
|
||
|
|
return request({
|
||
|
|
url: '/api/wmp-sys-server/sys/threedroamb/getThreedRoamDetails',
|
||
|
|
method: 'get',
|
||
|
|
params: data
|
||
|
|
});
|
||
|
|
}
|
||
|
|
// 导入接口
|
||
|
|
export function threedroambimport(data: FormData) {
|
||
|
|
return request({
|
||
|
|
url: '/api/wmp-sys-server/sys/threedroamb/import',
|
||
|
|
method: 'post',
|
||
|
|
data: data,
|
||
|
|
headers: { 'Content-Type': 'multipart/form-data' }
|
||
|
|
});
|
||
|
|
}
|
||
|
|
// 导出模板
|
||
|
|
export function threedroambexport(data: any) {
|
||
|
|
return request({
|
||
|
|
url: '/api/wmp-sys-server/sys/threedroamb/export',
|
||
|
|
method: 'post',
|
||
|
|
data: data,
|
||
|
|
responseType: 'blob'
|
||
|
|
});
|
||
|
|
}
|