From 5f2eb973a3b77f66ad829ce4ff354fc63c8ff1f5 Mon Sep 17 00:00:00 2001 From: zhujiyan <17812234322@163.com> Date: Fri, 24 May 2024 15:14:59 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B5=E8=83=BD=E8=B4=A8=E9=87=8F=E9=97=AE?= =?UTF-8?q?=E9=A2=98-=E7=94=A8=E6=88=B7=E6=8A=95=E8=AF=89-=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E9=80=89=E6=8B=A9=E7=9B=91=E6=B5=8B=E7=82=B9=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/process-boot/electricitymanagement.ts | 14 +++++++- .../components1/complaints.vue | 14 ++++---- .../components1/form/complaintsForm.vue | 34 ++++++++++++------- 3 files changed, 41 insertions(+), 21 deletions(-) diff --git a/src/api/process-boot/electricitymanagement.ts b/src/api/process-boot/electricitymanagement.ts index a296469d..97ee5232 100644 --- a/src/api/process-boot/electricitymanagement.ts +++ b/src/api/process-boot/electricitymanagement.ts @@ -214,6 +214,18 @@ export function sureInitiateWarningLeaflet(query) { return createAxios({ url: '/supervision-boot/SupervisionUserComplaint/initiateWarningLeaflet', method: 'GET', - params:query + params: query + }) +} + +//根据当前用户部门ID获取监测点 + +export function getLineDetailByDeptId(obj: any) { + let form = new FormData() + form.append('id', obj.id) + return createAxios({ + url: '/device-boot/deptLine/getLineDetailByDeptId', + method: 'POST', + data: form }) } diff --git a/src/views/pqs/supervise/electricalEnergy/components1/complaints.vue b/src/views/pqs/supervise/electricalEnergy/components1/complaints.vue index a7f8c9f6..273dc43a 100644 --- a/src/views/pqs/supervise/electricalEnergy/components1/complaints.vue +++ b/src/views/pqs/supervise/electricalEnergy/components1/complaints.vue @@ -56,13 +56,13 @@ const tableStore = new TableStore({ return row.cellValue ? row.cellValue : '/' } }, - { - field: 'monitorNumber', - title: '监测点编号', - formatter: (row: any) => { - return row.cellValue ? row.cellValue : '/' - } - }, + // { + // field: 'monitorNumber', + // title: '监测点编号', + // formatter: (row: any) => { + // return row.cellValue ? row.cellValue : '/' + // } + // }, { field: 'detectionFlag', title: '是否实现监测', diff --git a/src/views/pqs/supervise/electricalEnergy/components1/form/complaintsForm.vue b/src/views/pqs/supervise/electricalEnergy/components1/form/complaintsForm.vue index ef7c59a2..838adb9b 100644 --- a/src/views/pqs/supervise/electricalEnergy/components1/form/complaintsForm.vue +++ b/src/views/pqs/supervise/electricalEnergy/components1/form/complaintsForm.vue @@ -1,12 +1,6 @@