From cfa1cca44a14b1187ede07862c1caf23fd9c21a6 Mon Sep 17 00:00:00 2001 From: g7hoo Date: Thu, 1 Sep 2022 09:30:44 +0800 Subject: [PATCH] update table height --- TODO.md | 2 +- src/components/base-dialog/AttrForm/index.vue | 2 +- src/views/modules/monitoring/equipment.vue | 6 +++--- src/views/modules/monitoring/equipmentAlarmLog.vue | 2 +- src/views/modules/monitoring/equipmentFile.vue | 2 +- src/views/modules/monitoring/equipmentGroup.vue | 2 +- src/views/modules/monitoring/equipmentGroupAlarm.vue | 2 +- src/views/modules/monitoring/equipmentPlc.vue | 2 +- src/views/modules/monitoring/equipmentPlcConnect.vue | 2 +- src/views/modules/monitoring/equipmentPlcParam.vue | 2 +- src/views/modules/monitoring/equipmentQuantity.vue | 2 +- src/views/modules/monitoring/equipmentStatusLog.vue | 2 +- src/views/modules/monitoring/equipmentType.vue | 2 +- src/views/modules/monitoring/equipmentTypeFile.vue | 2 +- src/views/modules/monitoring/equipmentattr.vue | 2 +- src/views/modules/monitoring/factory.vue | 2 +- src/views/modules/monitoring/product.vue | 2 +- src/views/modules/monitoring/productArrt.vue | 2 +- src/views/modules/monitoring/productionLine.vue | 2 +- src/views/modules/monitoring/productionLineRecSch.vue | 2 +- src/views/modules/monitoring/qualityInspectionDet.vue | 2 +- src/views/modules/monitoring/qualityInspectionRecord.vue | 2 +- src/views/modules/monitoring/qualityInspectionType.vue | 2 +- src/views/modules/monitoring/reportCategory.vue | 2 +- src/views/modules/monitoring/reportDetail.vue | 2 +- src/views/modules/monitoring/reportSheet.vue | 2 +- src/views/modules/monitoring/reportSheetCategory.vue | 2 +- src/views/modules/monitoring/sysfile.vue | 2 +- src/views/modules/monitoring/sysfileType.vue | 2 +- src/views/modules/monitoring/workShopSection.vue | 2 +- src/views/modules/monitoring/workShopSectionEquipment.vue | 2 +- src/views/modules/monitoring/workshopSectionDialog.vue | 2 +- 32 files changed, 34 insertions(+), 34 deletions(-) diff --git a/TODO.md b/TODO.md index 142065b..d17c7cb 100644 --- a/TODO.md +++ b/TODO.md @@ -3,4 +3,4 @@ 1. 按钮加权限 2. 国际化 3. 表格高度 -4. 表格时间格式修改 \ No newline at end of file +4. 表格时间格式修改 √ \ No newline at end of file diff --git a/src/components/base-dialog/AttrForm/index.vue b/src/components/base-dialog/AttrForm/index.vue index 7efc876..11d1c1d 100644 --- a/src/components/base-dialog/AttrForm/index.vue +++ b/src/components/base-dialog/AttrForm/index.vue @@ -7,7 +7,7 @@ :is="require('../../base-table/index.vue').default" :table-head-configs="filterTableConfigs()" :data="dataList" - :max-height="500" + :max-height="calcMaxHeight(8)" @operate-event="handleOperations" /> { if (data && data.code === 0) { - // this.dataList = data.data.list - this.dataList = new Array(20).fill('1') - console.log('data list', this.dataList) + this.dataList = data.data.list + // this.dataList = new Array(20).fill('1') + // console.log('data list', this.dataList) this.totalPage = data.data.total } else { this.dataList = [] diff --git a/src/views/modules/monitoring/equipmentAlarmLog.vue b/src/views/modules/monitoring/equipmentAlarmLog.vue index 3a45f95..8a66574 100644 --- a/src/views/modules/monitoring/equipmentAlarmLog.vue +++ b/src/views/modules/monitoring/equipmentAlarmLog.vue @@ -10,7 +10,7 @@ - + --> - + - + --> - + - + - + - + - + - + - + - + --> - + - + - + --> - + - + --> - + - + - + - + - + - + - + --> - + - + - + - + - +