/* * @Author: liyingjing ll47991367@qq.com * @Date: 2023-06-19 14:37:34 * @LastEditors: liyingjing ll47991367@qq.com * @LastEditTime: 2023-06-26 17:47:23 * @FilePath: \equipmentMonitor\src\api\realAlarm.js * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ import request from '@/utils/request'; // 获取用户详细信息 export function getSiteSelectList(params) { return request({ url: `/business/rtuSiteInfo/getSiteSelectList?siteType=${params}`, method: 'get', }); } // 分页查询告警规则、 export function rtuWarnConfigPage(params) { return request({ url: `/business/rtuWarnRecordRealtime/page`, method: 'get', params, }); } // 获取用户详细信息 export function rtuWarnConfigInfo(params) { return request({ url: `/business/rtuWarnRecordRealtime/${params}`, method: 'get', }); } // 获取用户详细信息 export function rtuWarnConfigAdd(data) { return request({ url: `/business/rtuWarnRecordRealtime/add`, method: 'post', data, }); } // 退出方法 // export function logout() { // return request({ // url: "/auth/logout", // method: "delete", // }); // } // 获取用户详细信息 export function rtuWarnConfDelete(params) { return request({ url: `/business/rtuWarnRecordRealtime/${params}`, method: 'delete', }); } // 获取用户详细信息 export function rtuSiteMonitorList() { return request({ url: `/business/rtuMonitorProperty/list`, method: 'get', }); } // 获取用户详细信息 export function rtuWarnConfigedit(data) { return request({ url: `/business/rtuWarnRecordRealtime/edit`, method: 'put', data, }); }