fix : 多序列号功能
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user