You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
930 B
JavaScript
45 lines
930 B
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询水实时数据列表
|
|
export function listRecordWaterInstant(query) {
|
|
return request({
|
|
url: '/ems/record/recordWaterInstant/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询水实时数据详细
|
|
export function getRecordWaterInstant(objId) {
|
|
return request({
|
|
url: '/ems/record/recordWaterInstant/' + objId,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增水实时数据
|
|
export function addRecordWaterInstant(data) {
|
|
return request({
|
|
url: '/ems/record/recordWaterInstant',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改水实时数据
|
|
export function updateRecordWaterInstant(data) {
|
|
return request({
|
|
url: '/ems/record/recordWaterInstant',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除水实时数据
|
|
export function delRecordWaterInstant(objId) {
|
|
return request({
|
|
url: '/ems/record/recordWaterInstant/' + objId,
|
|
method: 'delete'
|
|
})
|
|
}
|