- 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,
- });
- }