fix:综合查询的检验合格数改正
This commit is contained in:
parent
d2ed2d84f6
commit
909ba81ad4
|
|
@ -70,7 +70,7 @@
|
|||
</el-table-column>
|
||||
<el-table-column
|
||||
label="检验合格数"
|
||||
prop="合格数"
|
||||
prop="检验合格数"
|
||||
>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
|
@ -123,7 +123,7 @@
|
|||
</el-table-column>
|
||||
<el-table-column
|
||||
label="检验合格数"
|
||||
prop="合格数"
|
||||
prop="检验合格数"
|
||||
>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
|
@ -162,8 +162,6 @@ export default {
|
|||
day = day < 10 ? "0" + day : day;
|
||||
this.day = day;
|
||||
this.query.date = this.currentDate = `${year}-${month}-${day}`;
|
||||
|
||||
console.log(this.query.date);
|
||||
this.getSourceData();
|
||||
this.bangHeight =
|
||||
document.getElementById("bangTable").offsetHeight - 20;
|
||||
|
|
@ -186,9 +184,9 @@ export default {
|
|||
that.$API.bi.dataset.exec
|
||||
.req("count_ok_day", params)
|
||||
.then((res) => {
|
||||
console.log(res);
|
||||
let datas = res.data2.ds0;
|
||||
datas.forEach((item) => {
|
||||
if(datas.length>0){
|
||||
datas.forEach((item) => {
|
||||
let bang_model = "",
|
||||
guan_model = "";
|
||||
if (item.型号.indexOf("+") > -1) {
|
||||
|
|
@ -208,6 +206,8 @@ export default {
|
|||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
},
|
||||
//获取表格原始数据
|
||||
|
|
@ -450,8 +450,8 @@ export default {
|
|||
that.day = new Date().getDate();
|
||||
that.query.date = that.currentDate;
|
||||
}
|
||||
that.getSourceData();
|
||||
}
|
||||
that.getSourceData();
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue