懒羊羊
2024-03-21 32483a44c0ee1c4d605730ef6f894d43f76b3048
提交 | 用户 | 时间
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
32483a 38 // 新增设备产品过程参数采集 saveCampaignTimeParameters
39 export function saveCampaignTimeParameters(data) {
40   return request({
41     url: '/main/paramCollection/saveCampaignTimeParameters',
42     method: 'post',
43     data: data
44   })
45 }
46
47 // 新增设备产品过程参数采集 saveCampaignTimeParameters
49c784 48 export function addTighteningParameters(data) {
49   return request({
50     url: '/main/paramCollection/addTighteningParameters',
51     method: 'post',
52     data: data
53   })
54 }
55
e57a89 56 // 修改设备产品过程参数采集
57 export function updateParamCollection(data) {
58   return request({
59     url: '/main/paramCollection',
60     method: 'put',
61     data: data
62   })
63 }
64
65 // 删除设备产品过程参数采集
66 export function delParamCollection(id) {
67   return request({
68     url: '/main/paramCollection/' + id,
69     method: 'delete'
70   })
71 }