This commit is contained in:
jjLv 2024-11-25 14:32:01 +08:00
parent 5662d354cb
commit ffcff6ab25
1 changed files with 4 additions and 4 deletions

View File

@ -270,12 +270,12 @@ export default {
selection.forEach((item) => {
this.passTemp.push({ id: item.id, status: "1",specificationType: item.specificationType,machineTypeName:item.machineTypeName,
unitName:item.unitName,repairNum:item.repairNum,repairedNum:item.repairedNum,typeId:item.typeId,taskId:item.taskId,
auditId:row.auditId,repairId:row.repairId,maId:row.maId, });
auditId:row.id,repairId:row.repairId,maId:row.maId, });
});
selection.forEach((item) => {
this.failTemp.push({ id: item.id, status: "2",specificationType: item.specificationType,machineTypeName:item.machineTypeName,
unitName:item.unitName,repairNum:item.repairNum,repairedNum:item.repairedNum,typeId:item.typeId,taskId:item.taskId,
auditId:row.auditId,repairId:row.repairId,maId:row.maId, });
auditId:row.id,repairId:row.repairId,maId:row.maId, });
});
this.single = selection.length != 1;
this.multiple = !selection.length;
@ -295,7 +295,7 @@ export default {
const param = [];
param.push({ id: row.id, status: "1",specificationType: row.specificationType,machineTypeName:row.machineTypeName,
unitName:row.unitName,repairNum:row.repairNum,repairedNum:row.repairedNum,typeId:row.typeId,taskId:row.taskId,
auditId:row.auditId,repairId:row.repairId,maId:row.maId, });
auditId:row.id,repairId:row.repairId,maId:row.maId, });
this.$modal
.confirm("是否确认通过所选择的数据项?")
.then(function () {
@ -312,7 +312,7 @@ export default {
const param = [];
param.push({ id: row.id, status: "2",specificationType: row.specificationType,machineTypeName:row.machineTypeName,
unitName:row.unitName,repairNum:row.repairNum,repairedNum:row.repairedNum,typeId:row.typeId,taskId:row.taskId,
auditId:row.auditId,repairId:row.repairId,maId:row.maId,
auditId:row.id,repairId:row.repairId,maId:row.maId,
});
this.$modal
.confirm("是否确认驳回所选择的数据项?")