import request from '@/utils/request'; // 获取项目列列表 export function getInfo(params) { return request({ url: `/scada/deviceInfo/page`, method: 'get', params, }); } export const projectInfoAdd = data => { return request({ url: `/scada/deviceInfo/add`, method: 'post', data, }); }; export const projectInfoEdit = data => { return request({ url: `/scada/deviceInfo/edit`, method: 'put', data, }); }; export const projectInfoDelete = ids => { return request({ url: `/scada/deviceInfo/${ids}`, method: 'delete', }); }; export const projectInfoGet = ids => { return request({ url: `/scada/deviceInfo/${ids}`, method: 'get', }); }; export function getInfolist(params) { return request({ url: `/scada/deviceInfo/list`, method: 'get', params, }); }