懒羊羊
2024-03-15 49c784e6ac7d71c5eaf7352e0a215842b4ca5456
提交 | 用户 | 时间
e57a89 1 import request from '@/utils/request'
2
3 // 查询设备产品过程参数采集列表
4 export function listParamCollection(query) {
5   return request({
6     url: '/main/paramCollection/list',
7     method: 'get',
8     params: query
9   })
10 }
11
12 // 查询设备产品过程参数采集详细
13 export function getParamCollection(id) {
14   return request({
15     url: '/main/paramCollection/' + id,
16     method: 'get'
17   })
18 }
19
20 // 新增设备产品过程参数采集
21 export function addParamCollection(data) {
22   return request({
23     url: '/main/paramCollection',
24     method: 'post',
25     data: data
26   })
27 }
28
b64ed2 29 // 新增设备产品过程参数采集
30 export function addBasicParameters(data) {
31   return request({
32     url: '/main/paramCollection/addBasicParameters',
33     method: 'post',
34     data: data
35   })
36 }
37
49c784 38 // 新增设备产品过程参数采集
39 export function addTighteningParameters(data) {
40   return request({
41     url: '/main/paramCollection/addTighteningParameters',
42     method: 'post',
43     data: data
44   })
45 }
46
e57a89 47 // 修改设备产品过程参数采集
48 export function updateParamCollection(data) {
49   return request({
50     url: '/main/paramCollection',
51     method: 'put',
52     data: data
53   })
54 }
55
56 // 删除设备产品过程参数采集
57 export function delParamCollection(id) {
58   return request({
59     url: '/main/paramCollection/' + id,
60     method: 'delete'
61   })
62 }