longyvfengyun
2023-12-25 d8d792a6842832e8f6af6604274c438b25053afe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import axios from "../axios";
/* 设备告警历史页面查询 */
 
/* 查询设备历史告警记录
json={"binf":{"StationName":"","StationName1":"","BattProductDate":"2000-01-01 00:00:00",
"BattProductDate1":"2020-09-11 23:59:59"},"page":{"pageSize":10,"pageCurr":1}}
*/
export const deviceRecord = (data) => {
    return axios({
        method: "post",
        url: "Batt_devalarm_data_historyAction!serchByCondition  ",
        data: "json=" + JSON.stringify(data)
    })
}
 
 
/* 页面加载时查询维护区中的枢纽类型
无参
*/
export const deviceArea = () => {
    return axios({
        method: "post",
        url: "User_battgroup_baojigroup_battgroupAction!serchStationName1InGroup",
        data: null
    })
}
 
/* 根据维护区查询站点
json={"UNote":""}
*/
export const deviserchSeions = (data) => {
    return axios({
        method: "post",
        url: "User_battgroup_baojigroup_battgroupAction!serchStationNameInGroup",
        data: "json=" + JSON.stringify(data)
    })
}
 
 
/* 删除告警
json=[{"num":"202255","stationName":"湖北省-武汉市-BTS-东西湖区-假负载测试机房","note":"采集线告警"}]
*/
export const deviceArarmdel = (data) => {
    return axios({
        method: "post",
        url: "Batt_devalarm_data_historyAction!deletePro",
        data: "json=" + JSON.stringify(data)
    })
}