技术监督计划-列表&新增

This commit is contained in:
zhujiyan
2024-05-20 20:32:53 +08:00
parent 9caf77155f
commit bd3dac3b89
3 changed files with 243 additions and 194 deletions

View File

@@ -0,0 +1,31 @@
import createAxios from '@/utils/request'
import { SUPERVISION_BOOT } from '@/utils/constantRequest'
const MAPPING_PATH = SUPERVISION_BOOT + '/deVReport'
/**
* 提交终端信息表单数据
*/
export const addPlanFormData = (data: any) => {
return createAxios({
url: '/supervision-boot/superPlan/addPlan',
method: 'POST',
data: data
})
}
/**
* 根据id获取终端录入的详细数据
*/
export const getPlanDetailsById = (obj: any) => {
let form = new FormData()
form.append('id', obj.id)
return createAxios({
url:MAPPING_PATH + '/queryDeviceDetail',
method: 'POST',
data:form
})
}