From caf614ca35cc3197eb440a2a960ac6e1b4593aba Mon Sep 17 00:00:00 2001 From: helloDy <1615073571@qq.com> Date: Fri, 29 Mar 2024 14:14:21 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 4 ++-- src/views/base/coreProduct/add-or-updata.vue | 15 +++++++++++++-- src/views/base/coreProduct/index.vue | 3 ++- src/views/core/monitoring/data24/index.vue | 2 +- .../base/maintain/Confirm/WaitingListTable.vue | 8 ++++++++ .../equipment/base/maintain/Confirm/index.vue | 2 +- 6 files changed, 27 insertions(+), 7 deletions(-) diff --git a/.env.dev b/.env.dev index ec8ac65b..79cf5d64 100644 --- a/.env.dev +++ b/.env.dev @@ -1,8 +1,8 @@ ### # @Author: Do not edit # @Date: 2023-08-29 09:40:39 - # @LastEditTime: 2024-03-25 15:59:53 - # @LastEditors: zhp + # @LastEditTime: 2024-03-27 16:24:02 + # @LastEditors: DY # @Description: ### # 开发环境配置 diff --git a/src/views/base/coreProduct/add-or-updata.vue b/src/views/base/coreProduct/add-or-updata.vue index 0ec802ba..43df9f16 100644 --- a/src/views/base/coreProduct/add-or-updata.vue +++ b/src/views/base/coreProduct/add-or-updata.vue @@ -2,15 +2,17 @@ * @Author: zwq * @Date: 2021-11-18 14:16:25 * @LastEditors: DY - * @LastEditTime: 2024-03-13 13:54:01 + * @LastEditTime: 2024-03-27 13:47:24 * @Description: --> diff --git a/src/views/core/monitoring/data24/index.vue b/src/views/core/monitoring/data24/index.vue index 2d0d0623..16d23c2a 100644 --- a/src/views/core/monitoring/data24/index.vue +++ b/src/views/core/monitoring/data24/index.vue @@ -115,7 +115,7 @@ export default { /** 把 list 里的数据转换成 tableProps 对应的格式 */ convertList(list) { // let sectionArr= [] - let temp = Object.values(list.datamap) + let temp = list.datamap ? Object.values(list?.datamap) : [] console.log('111', temp) temp.forEach(item => { diff --git a/src/views/equipment/base/maintain/Confirm/WaitingListTable.vue b/src/views/equipment/base/maintain/Confirm/WaitingListTable.vue index 697fbd8e..8e5dcaa5 100644 --- a/src/views/equipment/base/maintain/Confirm/WaitingListTable.vue +++ b/src/views/equipment/base/maintain/Confirm/WaitingListTable.vue @@ -15,6 +15,7 @@ background: '#f2f4f9', color: '#606266', }" + :max-height="tableH" class="waiting-list-table">