From 43913fc598f8f1fc115d4b9a1dc4a08b2f0dfb06 Mon Sep 17 00:00:00 2001 From: zqx0221 <2119066161@qq.com> Date: Tue, 27 Jul 2021 16:07:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A0=87=E5=87=86=E5=90=88=E8=A7=84?= =?UTF-8?q?=E8=AF=84=E4=BC=B0=E7=BB=93=E6=9E=9C--=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E8=AF=84=E4=BC=B0=E7=BB=93=E6=9E=9C-=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=9B=9E=E6=98=BE+=E6=BB=9A=E5=8A=A8=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/standInvolveProjectDetail.vue | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue index d526d1e58..5cfaa58ff 100644 --- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue +++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue @@ -138,7 +138,7 @@ ref="multipleTable" :data="sarProStateListDatas" tooltip-effect="dark" - style="width: 100%" + style="width: 100%;" border :height="sarProStateTableHeight" :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', @@ -157,7 +157,7 @@ { if (res.ok) { + res.data.records.forEach((item)=>{ + for(let key in item){ + if(item[key] == null){ + item[key]='无' + } + } + }) this.sarProStateListDatas = res.data.records this.sarProStateTotal = res.data.total } @@ -385,8 +392,10 @@ export default { mounted () { this.queryStandAndLaws() this.tableHeight = $('.regulatory-repository').height() - 159 + this.sarProStateTableHeight=$('.regulatory-repository').height() -120 window.onresize = () => { this.tableHeight = $('.regulatory-repository').height() - 159 + this.sarProStateTableHeight=$('.regulatory-repository').height() - 120 } } }