添加 终端周期检测 页面

This commit is contained in:
GGJ
2024-06-13 18:41:01 +08:00
parent 2c66e096e7
commit f15f529842
6 changed files with 540 additions and 1 deletions

View File

@@ -0,0 +1,45 @@
import createAxios from '@/utils/request'
/**
* 重新发起
*/
export const reload = (data: any) => {
return createAxios({
url: '/supervision-boot/checkDevice/reload',
method: 'POST',
data: data
})
}
/**
* 提交检测报告
*/
export const submitDevice = (data: any) => {
return createAxios({
url: '/supervision-boot/checkDevice/submit',
method: 'POST',
data: data
})
}
/**
* 根据id查询详情
*/
export const getInfoById = (data: any) => {
return createAxios({
url: '/supervision-boot/checkDevice/getInfoById',
method: 'POST',
params: data
})
}
/**
* 根据id查询详情
*/
export const cancel = (data: any) => {
return createAxios({
url: '/supervision-boot/checkDevice/cancel',
method: 'POST',
data: data
})
}