同步规程同步代码和录入监测代码

This commit is contained in:
2026-05-23 19:34:52 +08:00
parent 6b58f37616
commit 35ad50a79d
29 changed files with 2357 additions and 329 deletions

View File

@@ -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
})
}