fix: 标准解读解读节点批量编辑修改

This commit is contained in:
wxyclub
2024-07-16 16:00:37 +08:00
parent 0caf687e2d
commit 69c20e52d4
@@ -193,7 +193,8 @@
</el-table-column>
<el-table-column
label="操作"
width="240"
width="200"
fixed="right"
align="center">
<template slot-scope="scope">
<el-button class="common-button-primary" size="mini" type="primary" @click="itemEdit(scope.row)">编辑</el-button>
@@ -829,13 +830,13 @@
for( let a = 0; a < this.itemList.length; a++) {
for ( let b = 0; b < this.idList.length; b++) {
if (this.itemList[a].id === this.idList[b]) {
this.itemList[a].technicalRequir = this.plForm.technicalRequir
this.itemList[a].changePoint = this.plForm.changePoint
this.itemList[a].complianceRequir = this.plForm.complianceRequir
this.itemList[a].complianceState = this.plForm.complianceState
this.itemList[a].newData = this.plForm.newData
this.itemList[a].onlineData = this.plForm.onlineData
this.itemList[a].applyArctic = this.plForm.applyArctic
this.itemList[a].technicalRequir = this.plForm.technicalRequir ||this.itemList[a].technicalRequir
this.itemList[a].changePoint = this.plForm.changePoint|| this.itemList[a].changePoint
this.itemList[a].complianceRequir = this.plForm.complianceRequir||this.itemList[a].complianceRequir
this.itemList[a].complianceState = this.plForm.complianceState||this.itemList[a].complianceState
this.itemList[a].newData = this.plForm.newData|| this.itemList[a].newData
this.itemList[a].onlineData = this.plForm.onlineData|| this.itemList[a].onlineData
this.itemList[a].applyArctic = this.plForm.applyArctic|| this.itemList[a].applyArctic
}
}
}