懒羊羊
2024-01-31 e57a8990ae56f657a59c435a0613c5f7a8728003
提交 | 用户 | 时间
e57a89 1 import request from '@/utils/request'
2
3 // 查询采集参数配置列表
4 export function listCollectionParamConf(query) {
5   return request({
6     url: '/da/collectionParamConf/list',
7     method: 'get',
8     params: query
9   })
10 }
11
12 // 查询采集参数配置详细
13 export function getCollectionParamConf(id) {
14   return request({
15     url: '/da/collectionParamConf/' + id,
16     method: 'get'
17   })
18 }
19
20 // 新增采集参数配置
21 export function addCollectionParamConf(data) {
22   return request({
23     url: '/da/collectionParamConf',
24     method: 'post',
25     data: data
26   })
27 }
28
29 // 修改采集参数配置
30 export function updateCollectionParamConf(data) {
31   return request({
32     url: '/da/collectionParamConf',
33     method: 'put',
34     data: data
35   })
36 }
37
38 // 删除采集参数配置
39 export function delCollectionParamConf(id) {
40   return request({
41     url: '/da/collectionParamConf/' + id,
42     method: 'delete'
43   })
44 }