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) => { selection.forEach((item) => {
this.passTemp.push({ id: item.id, status: "1",specificationType: item.specificationType,machineTypeName:item.machineTypeName, 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, 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) => { selection.forEach((item) => {
this.failTemp.push({ id: item.id, status: "2",specificationType: item.specificationType,machineTypeName:item.machineTypeName, 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, 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.single = selection.length != 1;
this.multiple = !selection.length; this.multiple = !selection.length;
@ -295,7 +295,7 @@ export default {
const param = []; const param = [];
param.push({ id: row.id, status: "1",specificationType: row.specificationType,machineTypeName:row.machineTypeName, 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, 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 this.$modal
.confirm("是否确认通过所选择的数据项?") .confirm("是否确认通过所选择的数据项?")
.then(function () { .then(function () {
@ -312,7 +312,7 @@ export default {
const param = []; const param = [];
param.push({ id: row.id, status: "2",specificationType: row.specificationType,machineTypeName:row.machineTypeName, 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, 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 this.$modal
.confirm("是否确认驳回所选择的数据项?") .confirm("是否确认驳回所选择的数据项?")