From 7cf67ed3f6b165584ff82977c797bb5b8780e234 Mon Sep 17 00:00:00 2001 From: zhujiyan <17812234322@163.com> Date: Thu, 17 Oct 2024 16:02:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E6=9E=90=E5=88=97=E8=A1=A8=E5=B7=A5?= =?UTF-8?q?=E7=A8=8B=E5=90=8D=E7=A7=B0=E4=B8=BA=E7=A9=BA=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../govern/device/control/analysisList/index.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/govern/device/control/analysisList/index.vue b/src/views/govern/device/control/analysisList/index.vue index b468d2e..3c3a53c 100644 --- a/src/views/govern/device/control/analysisList/index.vue +++ b/src/views/govern/device/control/analysisList/index.vue @@ -33,7 +33,14 @@ const tableStore: any = new TableStore({ column: [ // { width: '60', type: 'checkbox', fixed: 'left' }, { title: '序号', type: 'seq', width: 80 }, - { field: 'projectName', title: '工程名称', minWidth: 170 }, + { + field: 'projectName', + title: '工程名称', + minWidth: 170, + formatter: row => { + return row.cellValue ? row.cellValue : '/' + } + }, { field: 'successCount', title: '成功解析数', minWidth: 170 }, { field: 'startTime', title: '导入开始时间', minWidth: 170 }, { field: 'endTime', title: '导入结束时间', minWidth: 170 }, @@ -87,7 +94,7 @@ const tableStore: any = new TableStore({ loadCallback: () => { // tableStore.table.data=[] tableStore.table.height = 400 - console.log(tableStore.table.data, 'tableStore.table.data') + console.log(tableStore.table.publicHeight, 'tableStore.table.data') } }) provide('tableStore', tableStore)