监测点台账信息-新增表单、详情接口调试

This commit is contained in:
zhujiyan
2024-05-17 16:32:24 +08:00
parent 94494a8876
commit f2c906b0a4
5 changed files with 2586 additions and 225 deletions

View File

@@ -2,7 +2,7 @@ import createAxios from '@/utils/request'
import { SUPERVISION_BOOT } from '@/utils/constantRequest'
const MAPPING_PATH = SUPERVISION_BOOT + '/workflow/wfForm'
const MAPPING_PATH = SUPERVISION_BOOT + '/tempLine'
/**
* 提交监测点信息表单数据
@@ -26,3 +26,18 @@ export const getList = (data: any) => {
data: data
})
}
/**
* 根据id获取终端录入的详细数据
*/
export const getTempLineDetailsById = (obj: any) => {
let form = new FormData()
form.append('id', obj.id)
return createAxios({
url:MAPPING_PATH + '/getDetail',
method: 'POST',
data:form
})
}