From a0c64a4232d2c57c4a2bdc650e41df788cf8134d Mon Sep 17 00:00:00 2001 From: zhujiyan <17812234322@163.com> Date: Tue, 4 Jun 2024 16:54:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E6=B5=81=E7=A8=8B=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E9=87=8D=E6=96=B0=E5=8F=91=E8=B5=B7&=E5=8F=96?= =?UTF-8?q?=E6=B6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/supervision-boot/interfere/index.ts | 10 ++ src/api/supervision-boot/leaflet/index.ts | 22 +++ .../supervision-boot/monitorpoint/index.ts | 9 + src/api/supervision-boot/plan/index.ts | 12 +- src/api/supervision-boot/terminal/index.ts | 11 ++ .../components/undocumented/addForm.vue | 4 +- .../components/undocumented/index.vue | 45 +++-- .../pqs/supervise/plan/components/addForm.vue | 24 ++- src/views/pqs/supervise/plan/index.vue | 79 ++++++--- .../supervise/technology/components/alarm.vue | 75 +++++--- .../technology/components/earlyWarn.vue | 40 ++++- .../supervise/technology/feedbackPopup.vue | 151 ++++++++++------- src/views/pqs/supervise/technology/index.vue | 4 +- .../components/jointDebugList/index.vue | 7 +- .../components/monitorpoint/addForm.vue | 160 +++++++++++------- .../components/monitorpoint/detail.vue | 4 +- .../components/monitorpoint/index.vue | 51 +++++- .../components/terminainal/addForm.vue | 8 +- .../components/terminainal/index.vue | 42 ++++- 19 files changed, 532 insertions(+), 226 deletions(-) diff --git a/src/api/supervision-boot/interfere/index.ts b/src/api/supervision-boot/interfere/index.ts index f7dac756..f884b2b4 100644 --- a/src/api/supervision-boot/interfere/index.ts +++ b/src/api/supervision-boot/interfere/index.ts @@ -27,6 +27,16 @@ export const updateFormData = (data: any) => { } +//取消干扰源审批 +export const cancelFormData = (data: any) => { + return createAxios({ + url: '/supervision-boot/userReport/cancel', + method: 'POST', + data + }) +} + + export const submitGoNet = (data: any) => { return createAxios({ url: '/supervision-boot/userReportNormal/addUserReportNormal', diff --git a/src/api/supervision-boot/leaflet/index.ts b/src/api/supervision-boot/leaflet/index.ts index afa3be13..e6e8359c 100644 --- a/src/api/supervision-boot/leaflet/index.ts +++ b/src/api/supervision-boot/leaflet/index.ts @@ -16,6 +16,28 @@ export const addFeedback = (data: any) => { }) } +/** + * 针对有问题的现场测试重新发起告警单 + */ +export const updateFeedback = (data: any) => { + return createAxios({ + url: MAPPING_PATH + '/update', + method: 'POST', + data: data + }) +} + +/** + * 针对有问题的现场测试取消发起告警单 + */ +export const cancelFeedback = (data: any) => { + return createAxios({ + url: MAPPING_PATH + '/cancel', + method: 'POST', + data: data + }) +} + /** * 根据id获取预告警单的详细数据 */ diff --git a/src/api/supervision-boot/monitorpoint/index.ts b/src/api/supervision-boot/monitorpoint/index.ts index 3908f9d4..e4fbc4a0 100644 --- a/src/api/supervision-boot/monitorpoint/index.ts +++ b/src/api/supervision-boot/monitorpoint/index.ts @@ -24,6 +24,15 @@ export const updateMointorPointFormData = (data: any) => { }) } +//取消发起监测点信息 +export const cancelMointorPointFormData = (data: any) => { + return createAxios({ + url: '/supervision-boot/tempLine/cancel', + method: 'POST', + data: data + }) +} + /** * 查询干扰源列表数据 diff --git a/src/api/supervision-boot/plan/index.ts b/src/api/supervision-boot/plan/index.ts index 333b690e..8efc79a6 100644 --- a/src/api/supervision-boot/plan/index.ts +++ b/src/api/supervision-boot/plan/index.ts @@ -18,12 +18,22 @@ export const addPlanFormData = (data: any) => { //重新发起技术监督计划表单数据 export const updatePlanFormData = (data: any) => { return createAxios({ - url: '/supervision-boot/superPlan/updatePlan', + url: '/supervision-boot/superPlan/update', method: 'POST', data: data }) } +//取消发起技术监督计划表单数据 +export const cancelPlanFormData = (data: any) => { + return createAxios({ + url: '/supervision-boot/superPlan/cancel', + method: 'POST', + data: data + }) +} + + /** * 根据当前登陆用户的部门id查询人员 */ diff --git a/src/api/supervision-boot/terminal/index.ts b/src/api/supervision-boot/terminal/index.ts index 0b117aa4..90956200 100644 --- a/src/api/supervision-boot/terminal/index.ts +++ b/src/api/supervision-boot/terminal/index.ts @@ -26,6 +26,17 @@ export const updateTerminalFormData = (data: any) => { }) } +/** + * 编辑终端信息表单数据(重新发起) + */ +export const cancelTerminalFormData = (data: any) => { + return createAxios({ + url: '/supervision-boot/deVReport/cancel', + method: 'POST', + data: data + }) +} + /** * 获取关联设备列表 */ diff --git a/src/views/pqs/supervise/interfere/components/undocumented/addForm.vue b/src/views/pqs/supervise/interfere/components/undocumented/addForm.vue index c6cb8e39..be780cbd 100644 --- a/src/views/pqs/supervise/interfere/components/undocumented/addForm.vue +++ b/src/views/pqs/supervise/interfere/components/undocumented/addForm.vue @@ -45,7 +45,7 @@ /> - + { } form.value.orgId = adminInfo.$state.deptName }) + }else{ + resendId.value='' } } // 处理上传文件回显 diff --git a/src/views/pqs/supervise/interfere/components/undocumented/index.vue b/src/views/pqs/supervise/interfere/components/undocumented/index.vue index e63343f2..ae764073 100644 --- a/src/views/pqs/supervise/interfere/components/undocumented/index.vue +++ b/src/views/pqs/supervise/interfere/components/undocumented/index.vue @@ -2,10 +2,7 @@ diff --git a/src/views/pqs/supervise/terminalNetworkDetection/components/jointDebugList/index.vue b/src/views/pqs/supervise/terminalNetworkDetection/components/jointDebugList/index.vue index 1ea01129..eb7c24c5 100644 --- a/src/views/pqs/supervise/terminalNetworkDetection/components/jointDebugList/index.vue +++ b/src/views/pqs/supervise/terminalNetworkDetection/components/jointDebugList/index.vue @@ -38,7 +38,12 @@ import { setTempLinedebugLedgerSync } from '@/api/supervision-boot/jointDebugLis import debug from './debug.vue' import { any } from 'vue-types' const dictData = useDictData() -const { push } = useRouter() +const { push, beforeEach } = useRouter() +beforeEach((to, from) => { + if (from.path == '/bpm/instanceDetail') { + console.log('联调333') + } +}) const TableHeaderRef = ref() const tableRef = ref() const areaOptionList = dictData.getBasicData('jibei_area') diff --git a/src/views/pqs/supervise/terminalNetworkDetection/components/monitorpoint/addForm.vue b/src/views/pqs/supervise/terminalNetworkDetection/components/monitorpoint/addForm.vue index c94a4085..66e2a9d3 100644 --- a/src/views/pqs/supervise/terminalNetworkDetection/components/monitorpoint/addForm.vue +++ b/src/views/pqs/supervise/terminalNetworkDetection/components/monitorpoint/addForm.vue @@ -161,33 +161,33 @@ > - + - + - - + +