修复普测调整带来的其他功能
This commit is contained in:
@@ -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'
|
||||
})
|
||||
}
|
||||
|
||||
@@ -26,4 +26,15 @@ export const addSurveyTest = (data: any) => {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 针对有问题的现场测试发起告警单
|
||||
*/
|
||||
export const initiateWarningLeaflet = (id: string) => {
|
||||
return createAxios({
|
||||
url: MAPPING_PATH + '/initiateWarningLeaflet?id=' + id,
|
||||
method: 'GET'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user