From 42109a14788f8ffd5a155ef430ac045c00330808 Mon Sep 17 00:00:00 2001 From: zhujiyan <17812234322@163.com> Date: Thu, 23 May 2024 16:36:32 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components1/complaints.vue | 18 +++++++++-- .../components1/form/complaintsForm.vue | 32 +++++++++++-------- .../components/monitorpoint/addForm.vue | 18 ++++------- 3 files changed, 40 insertions(+), 28 deletions(-) diff --git a/src/views/pqs/supervise/electricalEnergy/components1/complaints.vue b/src/views/pqs/supervise/electricalEnergy/components1/complaints.vue index bf4c4498..a7f8c9f6 100644 --- a/src/views/pqs/supervise/electricalEnergy/components1/complaints.vue +++ b/src/views/pqs/supervise/electricalEnergy/components1/complaints.vue @@ -49,13 +49,25 @@ const tableStore = new TableStore({ { field: 'complaintText', title: '投诉内容' }, { field: 'steadyIndicator', title: '稳态指标' }, { field: 'transientIndicators', title: '暂态指标' }, - { field: 'monitorName', title: '监测点名称' }, - { field: 'monitorNumber', title: '监测点编号' }, + { + field: 'monitorName', + title: '监测点名称', + formatter: (row: any) => { + return row.cellValue ? row.cellValue : '/' + } + }, + { + field: 'monitorNumber', + title: '监测点编号', + formatter: (row: any) => { + return row.cellValue ? row.cellValue : '/' + } + }, { field: 'detectionFlag', title: '是否实现监测', formatter: (row: any) => { - return row.cellvalue == '0' ? '否' : '是' + return row.cellValue == '0' ? '否' : '是' } }, { diff --git a/src/views/pqs/supervise/electricalEnergy/components1/form/complaintsForm.vue b/src/views/pqs/supervise/electricalEnergy/components1/form/complaintsForm.vue index af508080..8439fcb3 100644 --- a/src/views/pqs/supervise/electricalEnergy/components1/form/complaintsForm.vue +++ b/src/views/pqs/supervise/electricalEnergy/components1/form/complaintsForm.vue @@ -126,7 +126,7 @@