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 @@
巡检数据统计
-
-
-
+
+
+
-
+
{{scope.row.noOkRate}}%
@@ -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