监测点联调接口

This commit is contained in:
zhujiyan
2024-05-20 16:06:58 +08:00
parent cafdae77cd
commit 0743445656

View File

@@ -0,0 +1,32 @@
import createAxios from '@/utils/request'
import { SUPERVISION_BOOT } from '@/utils/constantRequest'
const MAPPING_PATH = SUPERVISION_BOOT + '/tempLine'
/**
* 提交监测点联调表单数据
*/
export const addMointorPointTempLinedebug = (data: any) => {
return createAxios({
url: '/supervision-boot/tempLinedebug/add',
method: 'POST',
data: data
})
}
/**
* 根据id获取监测点联调的详细数据
*/
export const getMointorPointTempLinedebugDetail = (obj: any) => {
let form = new FormData()
form.append('id', obj.id)
return createAxios({
url:'/supervision-boot/tempLinedebug/getDetail',
method: 'POST',
data:form
})
}