Newer
Older
KaiFengPC / src / api / scada / stationInfo.js
@zhangdeliang zhangdeliang on 23 May 864 bytes 初始化项目
import request from '@/utils/request';
// 获取项目列列表
export function getInfo(params) {
  return request({
    url: `/scada/basStationInfo/page`,
    method: 'get',
    params,
  });
}
export const projectInfoAdd = data => {
  return request({
    url: `/scada/basStationInfo/add`,
    method: 'post',
    data,
  });
};
export const projectInfoEdit = data => {
  return request({
    url: `/scada/basStationInfo/edit`,
    method: 'put',
    data,
  });
};
export const projectInfoDelete = ids => {
  return request({
    url: `/scada/basStationInfo/${ids}`,
    method: 'delete',
  });
};
export const projectInfoGet = ids => {
  return request({
    url: `/scada/basStationInfo/${ids}`,
    method: 'get',
  });
};

export function getInfolist(params) {
  return request({
    url: `/scada/basStationInfo/list`,
    method: 'get',
    params,
  });
}