Newer
Older
Nanping_sponge_SJJC / src / api / business / deviceAlarmExp.js
@liyingjing liyingjing on 25 Oct 2023 1 KB 数据检测
import request from '@/utils/request'

// 查询报警经验库等级分页
export function pagedeviceAlarmExp(query) {
  return request({
    url: '/business/deviceAlarmExp/page',
    method: 'get',
    params: query
  })
}

// 查询报警经验库等级列表
export function listdeviceAlarmExp(query) {
  return request({
    url: '/business/deviceAlarmExp/list',
    method: 'get',
    params: query
  })
}

// 查询报警经验库等级详细
export function getdeviceAlarmExp(id) {
  return request({
    url: '/business/deviceAlarmExp/' + id,
    method: 'get'
  })
}

// 新增报警经验库等级
export function adddeviceAlarmExp(data) {
  return request({
    url: '/business/deviceAlarmExp/add',
    method: 'post',
    data: data
  })
}

// 修改报警经验库等级
export function updatedeviceAlarmExp(data) {
  return request({
    url: '/business/deviceAlarmExp/edit',
    method: 'put',
    data: data
  })
}

// 删除报警经验库等级
export function deldeviceAlarmExp(id) {
  return request({
    url: '/business/deviceAlarmExp/' + id,
    method: 'delete'
  })
}