- /*
- * @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 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,
- });
- }
-
- // 遥测站数据统计报表搜索
- export function siteMonitorReport(params) {
- return request({
- url: `/business/siteHistoryMonitor/siteMonitorReport`,
- method: 'get',
- params,
- });
- }