修试审核参数补全
This commit is contained in:
parent
f6347e6f4a
commit
5662d354cb
|
|
@ -269,11 +269,13 @@ export default {
|
||||||
this.ids = selection.map((item) => item.id);
|
this.ids = selection.map((item) => item.id);
|
||||||
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, });
|
||||||
});
|
});
|
||||||
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, });
|
||||||
});
|
});
|
||||||
this.single = selection.length != 1;
|
this.single = selection.length != 1;
|
||||||
this.multiple = !selection.length;
|
this.multiple = !selection.length;
|
||||||
|
|
@ -292,7 +294,8 @@ export default {
|
||||||
handlePass(row) {
|
handlePass(row) {
|
||||||
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, });
|
||||||
this.$modal
|
this.$modal
|
||||||
.confirm("是否确认通过所选择的数据项?")
|
.confirm("是否确认通过所选择的数据项?")
|
||||||
.then(function () {
|
.then(function () {
|
||||||
|
|
@ -309,6 +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,
|
||||||
});
|
});
|
||||||
this.$modal
|
this.$modal
|
||||||
.confirm("是否确认驳回所选择的数据项?")
|
.confirm("是否确认驳回所选择的数据项?")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue