普测测试流程

This commit is contained in:
2024-06-04 10:51:54 +08:00
parent b919fb8447
commit 031c0d178d
9 changed files with 412 additions and 498 deletions

View File

@@ -0,0 +1,29 @@
import createAxios from '@/utils/request'
import { SUPERVISION_BOOT } from '@/utils/constantRequest'
const MAPPING_PATH = SUPERVISION_BOOT + '/surveyTest'
/**
* 根据id获取普测计划的详细数据
*/
export const getTestById = (id: any) => {
return createAxios({
url: MAPPING_PATH + '/getById?id=' + id,
method: 'GET'
})
}
/**
* 新增普测测试结果
*/
export const addSurveyTest = (data: any) => {
return createAxios({
url: MAPPING_PATH + '/add',
method: 'POST',
data: data
})
}