From 4da7fe44070ee8fc80e4af64f5dd8e889273cef4 Mon Sep 17 00:00:00 2001 From: hongawen <83944980@qq.com> Date: Tue, 4 Jun 2024 14:59:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=99=AE=E6=B5=8B=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=B8=A6=E6=9D=A5=E7=9A=84=E5=85=B6=E4=BB=96=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/supervision-boot/survey/index.ts | 17 ---------- src/api/supervision-boot/survey/test.ts | 11 +++++++ .../components1/testQuestions.vue | 31 ++++++++++++------- .../system/bpm/task/myInstance/index.vue | 9 ++++-- 4 files changed, 37 insertions(+), 31 deletions(-) delete mode 100644 src/api/supervision-boot/survey/index.ts 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 @@