zhouwx
2025-06-16 bdd99a4f6edb84d8eebe6afc38c2c2f86fb4a52c
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
            });
        },
    };
}