import request from '@/utils/request'; // 保存ISCS数据 export function saveIscsElement(data) { return request({ url: '/api/v1/iscs/saveElements', method: 'post', data }); } // 获取ISCS数据 export function getIscsData(params) { return request({ url: '/api/v1/iscs', method: 'get', params }); } // 分页获取ISCS数据 export function getIscsDataByPage(params) { return request({ url: '/api/v1/iscs/pagedQuery', method: 'get', params }); } // 复制iscs数据 export function copyIscsData(data) { return request({ url: '/api/v1/iscs/copy', method: 'post', data }); } // 删除iscs数据绘图数据(发布的) export function deleteIscs(id) { return request({ url: `/api/v1/iscs/${id}`, method: 'delete' }); } // 查询地图下是否有ISCS数据 export function queryHasIscs(params) { return request({ url: `/api/v1/iscs/hasData`, method: 'get', params }); } // iscs设备创建 export function createIscsDevcie(data) { return request({ url: `/api/iscsDevice`, method: 'post', data }); } // 查询所有iscs设备 export function queryAllIscsDevice() { return request({ url: `/api/iscsDevice/all`, method: 'get' }); } // 根据id查询iscs设备 export function queryIscsDevcieById(id) { return request({ url: `/api/iscsDevice/${id}`, method: 'get' }); } // 根据mapId获取Iscs设备list export function queryIscsDeviceListByMapId(mapId) { return request({ url: `/api/iscsDevice/list/mapId/${mapId}`, method: 'get' }); } // 分页查询ISCS设备 export function pagedIscsDevice(params) { return request({ url: `/api/iscsDevice/paged`, method: 'get', params }); } // 删除ISCS设备 export function deleteIscsDevice(id) { return request({ url: `/api/iscsDevice/${id}`, method: 'delete' }); } // 创建ISCS系统资源 export function createIscsResources(data) { return request({ url: `/api/systemRes`, method: 'post', data }); } // 查询所有ISCS系统资源 export function queryAllIscsResources() { return request({ url: `/api/systemRes/all`, method: 'get' }); } // 根据id查询ISCS系统资源 export function queryIscsResourcesById(id) { return request({ url: `/api/systemRes/${id}`, method: 'get' }); } // 分页查询ISCS系统资源 export function pagedIscsResources(params) { return request({ url: `/api/systemRes/paged`, method: 'get', params }); } // 删除ISCS系统资源 export function deleteIscsResources(id) { return request({ url: `/api/systemRes/${id}`, method: 'delete' }); }