From 6ce3faf98d2cb093c09d2a0d8865947576041a13 Mon Sep 17 00:00:00 2001 From: juzi <819872918@qq.com> Date: Wed, 27 Mar 2024 09:43:26 +0800 Subject: [PATCH] 1 --- .../energy/base/energyPlcConnect/index.vue | 3 +- .../base/energyQuantityManual/index.vue | 3 +- .../base/energyQuantityRealtime/index.vue | 9 ++- .../monitoring/energyStatistics/index.vue | 79 +++++++------------ 4 files changed, 38 insertions(+), 56 deletions(-) diff --git a/src/views/energy/base/energyPlcConnect/index.vue b/src/views/energy/base/energyPlcConnect/index.vue index a7303062..c189d06c 100644 --- a/src/views/energy/base/energyPlcConnect/index.vue +++ b/src/views/energy/base/energyPlcConnect/index.vue @@ -36,7 +36,8 @@ const tableProps = [ }, { prop: 'objCode', - label: '对象编码' + label: '对象编码', + showOverflowtooltip: true }, { prop: 'plcTableName', diff --git a/src/views/energy/base/energyQuantityManual/index.vue b/src/views/energy/base/energyQuantityManual/index.vue index 26a19624..036c8b83 100644 --- a/src/views/energy/base/energyQuantityManual/index.vue +++ b/src/views/energy/base/energyQuantityManual/index.vue @@ -46,7 +46,8 @@ const tableProps = [ prop: 'tableName', label: '能源表名', filter: publicFormatter('table_name'), - minWidth: 110 + minWidth: 110, + showOverflowtooltip: true }, { prop: 'recordTime', diff --git a/src/views/energy/base/energyQuantityRealtime/index.vue b/src/views/energy/base/energyQuantityRealtime/index.vue index a8b9e6ed..b0226246 100644 --- a/src/views/energy/base/energyQuantityRealtime/index.vue +++ b/src/views/energy/base/energyQuantityRealtime/index.vue @@ -20,15 +20,18 @@ import * as XLSX from 'xlsx/xlsx.mjs' const tableProps = [ { prop: 'objName', - label: '统计对象' + label: '统计对象', + showOverflowtooltip: true }, { prop: 'objCode', - label: '对象编码' + label: '对象编码', + showOverflowtooltip: true }, { prop: 'energyTypeName', - label: '能源类型' + label: '能源类型', + showOverflowtooltip: true }, { prop: 'startValue', diff --git a/src/views/energy/monitoring/energyStatistics/index.vue b/src/views/energy/monitoring/energyStatistics/index.vue index 87f6aa54..1bdcb6c0 100644 --- a/src/views/energy/monitoring/energyStatistics/index.vue +++ b/src/views/energy/monitoring/energyStatistics/index.vue @@ -2,46 +2,23 @@