|
|
@ -226,7 +226,15 @@ export default {
|
|
|
|
this.handleQuery();
|
|
|
|
this.handleQuery();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
getAllRowData() {
|
|
|
|
getAllRowData() {
|
|
|
|
this.rowData = this.$refs.myTable.data;
|
|
|
|
const rowArray = this.$refs.myTable.data;
|
|
|
|
|
|
|
|
this.rowData = rowArray.map(obj => {
|
|
|
|
|
|
|
|
const found = this.defectList.find(subObj => subObj.defectCode === obj.defectCode);
|
|
|
|
|
|
|
|
if (found) {
|
|
|
|
|
|
|
|
return { ...obj, defectSubclass: found.defectSubclass };
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
return obj;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
//提交整体检测结果
|
|
|
|
//提交整体检测结果
|
|
|
|