修复普测调整带来的其他功能

This commit is contained in:
2024-06-04 14:59:10 +08:00
parent f0dfa0ceca
commit 4da7fe4407
4 changed files with 37 additions and 31 deletions

View File

@@ -1,17 +0,0 @@
import createAxios from '@/utils/request'
import { SUPERVISION_BOOT } from '@/utils/constantRequest'
const MAPPING_PATH = SUPERVISION_BOOT + '/generalSurvey'
/**
* 针对有问题的现场测试发起告警单
*/
export const initiateWarningLeaflet = (id: string, subId: string) => {
return createAxios({
url: MAPPING_PATH + '/initiateWarningLeaflet?id=' + id + '&subId=' + subId,
method: 'GET'
})
}

View File

@@ -26,4 +26,15 @@ export const addSurveyTest = (data: any) => {
})
}
/**
* 针对有问题的现场测试发起告警单
*/
export const initiateWarningLeaflet = (id: string) => {
return createAxios({
url: MAPPING_PATH + '/initiateWarningLeaflet?id=' + id,
method: 'GET'
})
}