diff --git a/src/api/supervision-boot/survey/index.ts b/src/api/supervision-boot/survey/index.ts deleted file mode 100644 index 4f330553..00000000 --- a/src/api/supervision-boot/survey/index.ts +++ /dev/null @@ -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' - }) -} - diff --git a/src/api/supervision-boot/survey/test.ts b/src/api/supervision-boot/survey/test.ts index b11a4f7e..4664ffb9 100644 --- a/src/api/supervision-boot/survey/test.ts +++ b/src/api/supervision-boot/survey/test.ts @@ -26,4 +26,15 @@ export const addSurveyTest = (data: any) => { }) } +/** + * 针对有问题的现场测试发起告警单 + */ +export const initiateWarningLeaflet = (id: string) => { + return createAxios({ + url: MAPPING_PATH + '/initiateWarningLeaflet?id=' + id, + method: 'GET' + }) +} + + diff --git a/src/views/pqs/supervise/electricalEnergy/components1/testQuestions.vue b/src/views/pqs/supervise/electricalEnergy/components1/testQuestions.vue index 07b03734..9f77f208 100644 --- a/src/views/pqs/supervise/electricalEnergy/components1/testQuestions.vue +++ b/src/views/pqs/supervise/electricalEnergy/components1/testQuestions.vue @@ -1,6 +1,14 @@