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