马宇豪
2024-01-05 6a33c71f381aec0dbc778f80527b62d343fd0146
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import request from '/@/utils/request';
 
export function warningSetApi() {
    return {
 
        //预警设置查询
        getWarnSetPage: (data: object) => {
            return request({
                url: import.meta.env.VITE_API_URL + `/gasThreshold/list`,
                method: 'post',
                data: data
            });
        },
 
        //预警设置修改
        handelWarnSet: (data: object) => {
            return request({
                url: import.meta.env.VITE_API_URL + `/gasThreshold/update`,
                method: 'post',
                data: data
            });
        },
    };
}