fix : 多序列号功能

This commit is contained in:
2024-08-25 23:00:39 +08:00
parent 4fd4cf4f4c
commit d7378bf0af
5 changed files with 385 additions and 215 deletions

View File

@@ -56,13 +56,31 @@ export const editEquipment = (data) => {
data
})
}
export const getEquipmentSerialNumberOptions = (tunnelId,equipmentId) => {
export const getWindPressureSerialNumberOptions = (tunnelId) => {
return request({
url: '/tunnel/tunnel/serialnumber/options',
url: '/tunnel/equipment/serialnumber/wind/pressure/options',
method: 'get',
params:{
tunnelId:tunnelId,
equipmentId:equipmentId
tunnelId:tunnelId
}
})
}
export const getOtherSensorSerialNumberOptions = (tunnelId) => {
return request({
url: '/tunnel/equipment/serialnumber/options',
method: 'get',
params:{
tunnelId:tunnelId
}
})
}
//获取隧道中正在使用的序列号
export const getSerialNumberOnUse = (tunnelId) => {
return request({
url: '/tunnel/equipment/serialnumber/on/use',
method: 'get',
params:{
tunnelId:tunnelId
}
})
}