From 0bd7b4bd09844cb5ce8cb660eb2a857e13577c80 Mon Sep 17 00:00:00 2001 From: lucungang Date: Thu, 22 Aug 2024 09:38:14 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../quality/qcTableCheckDevelop/index.vue | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/src/views/quality/qcTableCheckDevelop/index.vue b/src/views/quality/qcTableCheckDevelop/index.vue index 52dfb39..afa9e36 100644 --- a/src/views/quality/qcTableCheckDevelop/index.vue +++ b/src/views/quality/qcTableCheckDevelop/index.vue @@ -55,15 +55,15 @@
巡检数据统计
- - - + + + - + @@ -111,7 +111,7 @@ export default { data() { return { // 遮罩层 - loading: true, + loading: false, // 选中数组 ids: [], // 非单个禁用 @@ -170,21 +170,22 @@ export default { // dictValue:'日' // }, ], - tableThead:[], + tableThead:[ + + ], tableTbody:[], - tableTheadTh:[], tableBlfx:[], echartsData:[], dateNode:'dd', }; }, mounted(){ - this.$nextTick(()=>{ + // this.$nextTick(()=>{ this.getDictData() this.getThead() this.getTbody() this.getBlfx() - }) + // }) // this.getEchartsTh() @@ -206,10 +207,11 @@ export default { }, async getTbody(){ this.loading=true - // this.tableTheadTh=[] let res=await getTableHzData(this.queryParams) console.log('resData',res) - + this.$nextTick(()=>{ + this.$refs.tables.doLayout()//对table进行重新布局 + }) let xData=[] let yData=[] this.tableTbody=res