2024-4-1 设备模块-点检巡检-设备选择优化

master
A0010407 8 months ago
parent a2dbedf391
commit 9acac16994

@ -926,10 +926,13 @@ export default {
// 线 // 线
getGroupLine().then(response => { getGroupLine().then(response => {
this.groupLineList = response.data; this.groupLineList = response.data;
this.equipmentQuery.groupLine = response.data[0].equipmentCode; // this.equipmentQuery.groupLine = response.data[0].equipmentCode;
this.getEquList(); })
//
getEquList().then(response => {
this.equTotal = response.total;
this.queryEquipment = response.rows;
}) })
this.selectEqu = true; this.selectEqu = true;
}, },
// //
@ -1058,7 +1061,7 @@ export default {
equipmentCode: null, equipmentCode: null,
equipmentName: null, equipmentName: null,
workshopCode: null, workshopCode: null,
groupLine:this.groupLineList[0].equipmentCode, groupLine:null,
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
}; };

@ -971,10 +971,13 @@ export default {
// 线 // 线
getGroupLine().then(response => { getGroupLine().then(response => {
this.groupLineList = response.data; this.groupLineList = response.data;
this.equipmentQuery.groupLine = response.data[0].equipmentCode;
this.getEquList();
}) })
//
getEquList().then(response => {
this.equTotal = response.total;
this.queryEquipment = response.rows;
})
this.selectEqu = true; this.selectEqu = true;
}, },
// //
@ -1103,7 +1106,7 @@ export default {
equipmentCode: null, equipmentCode: null,
equipmentName: null, equipmentName: null,
workshopCode: null, workshopCode: null,
groupLine:this.groupLineList[0].equipmentCode, groupLine : null,
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
}; };

Loading…
Cancel
Save