监测点联调接口
This commit is contained in:
32
src/api/supervision-boot/jointDebugList/index.ts
Normal file
32
src/api/supervision-boot/jointDebugList/index.ts
Normal 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
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user