Newer
Older
KaiFengPC / src / api / dataAnalysis / rtuMonitorProperty.js
@鲁yixuan 鲁yixuan on 19 Aug 1 KB updata
import request from '@/utils/request';

// 搜索RTU监测因子分页
export function pageRtuMonitorProperty(query) {
  return request({
    url: '/business/rtuMonitorProperty/page',
    method: 'get',
    params: query,
  });
}

// 搜索RTU监测因子列表
export function listRtuMonitorProperty(query) {
  return request({
    url: '/business/rtuMonitorProperty/list',
    method: 'get',
    params: query,
  });
}

// 搜索RTU监测因子详细
export function getRtuMonitorProperty(id) {
  return request({
    url: '/business/rtuMonitorProperty/' + id,
    method: 'get',
  });
}

// 新增RTU监测因子
export function addRtuMonitorProperty(data) {
  return request({
    url: '/business/rtuMonitorProperty/add',
    method: 'post',
    data: data,
  });
}

// 修改RTU监测因子
export function updateRtuMonitorProperty(data) {
  return request({
    url: '/business/rtuMonitorProperty/edit',
    method: 'put',
    data: data,
  });
}

// 删除RTU监测因子
export function delRtuMonitorProperty(id) {
  return request({
    url: '/business/rtuMonitorProperty/' + id,
    method: 'delete',
  });
}