修改bug

This commit is contained in:
‘937886381’
2024-01-18 14:10:49 +08:00
parent bee302b08e
commit 7534ab7817
9 changed files with 289 additions and 90 deletions

View File

@@ -104,7 +104,7 @@ export default {
label: '工段',
},
{
prop: 'inspectionDetContent',
prop: 'inspectionInfoList',
label: '检测内容',
}
],
@@ -133,17 +133,23 @@ export default {
// this.getList();
},
methods: {
/** 查询列表 */
// getList() {
// this.loading = true;
// // 执行查询
// getQualityInspectionBoxBtnPage(this.listQuery).then((response) => {
// this.list = response.data.list;
// this.total = response.data.total;
// this.loading = false;
// });
// },
/** 表单重置 */
getDataList() {
this.dataListLoading = true;
this.urlOptions.getDataListURL(this.listQuery).then(response => {
this.tableData = response.data.map((item) => {
// console.log(item);
return {
inspectionInfoList: item.inspectionInfoList.toString(),
productionLineId:item.productionLineId,
productionLineName:item.productionLineName,
sectionId: item.sectionId,
sectionName: item.sectionName
}
})
this.listQuery.total = response.data.total;
this.dataListLoading = false;
});
},
reset() {
this.form = {
id: null,