同步规程同步代码和录入监测代码
This commit is contained in:
@@ -44,3 +44,36 @@ export function delProcessSpecVersion(versionId) {
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
export function matchBestSpecVersion(hotCoilId, lineId) {
|
||||
return request({
|
||||
url: '/wms/specSync/matchBest',
|
||||
method: 'get',
|
||||
params: { hotCoilId, lineId }
|
||||
})
|
||||
}
|
||||
|
||||
// bindings: [{coilId, specId, versionId}, ...]
|
||||
export function syncCoilSpec(bindings) {
|
||||
return request({
|
||||
url: '/wms/specSync/syncSpec',
|
||||
method: 'post',
|
||||
data: { bindings }
|
||||
})
|
||||
}
|
||||
|
||||
export function getCoilSyncPageList(params) {
|
||||
return request({
|
||||
url: '/wms/specSync/pageList',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function getUntypedPageList(params) {
|
||||
return request({
|
||||
url: '/wms/specSync/untypedPageList',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user