-
admin
2024-04-16 ddb300bd410f6c9871c3c033e16451f709c2781e
提交 | 用户 | 时间
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
ddb300 38 // 线边总成换总成码
A 39 export function replaceAssemblyCode(data) {
40   return request({
41     url: '/main/paramCollection/replaceAssemblyCode',
42     method: 'post',
43     data: data
44   })
45 }
46
32483a 47 // 新增设备产品过程参数采集 saveCampaignTimeParameters
48 export function saveCampaignTimeParameters(data) {
49   return request({
50     url: '/main/paramCollection/saveCampaignTimeParameters',
51     method: 'post',
52     data: data
53   })
54 }
55
56 // 新增设备产品过程参数采集 saveCampaignTimeParameters
49c784 57 export function addTighteningParameters(data) {
58   return request({
59     url: '/main/paramCollection/addTighteningParameters',
60     method: 'post',
61     data: data
62   })
63 }
64
e57a89 65 // 修改设备产品过程参数采集
66 export function updateParamCollection(data) {
67   return request({
68     url: '/main/paramCollection',
69     method: 'put',
70     data: data
71   })
72 }
73
74 // 删除设备产品过程参数采集
75 export function delParamCollection(id) {
76   return request({
77     url: '/main/paramCollection/' + id,
78     method: 'delete'
79   })
80 }