|
@@ -519,9 +519,12 @@ export default {
|
|
this.$download.zip(`/zdsz/engineeringPipeJacking/downloadZip/顶管工程/${name}`, name);
|
|
this.$download.zip(`/zdsz/engineeringPipeJacking/downloadZip/顶管工程/${name}`, name);
|
|
},
|
|
},
|
|
// 填写节点信息
|
|
// 填写节点信息
|
|
- updateNodeOption(zEngineeringInfoBoList) {
|
|
|
|
|
|
+ updateNodeOption(value) {
|
|
delete this.updateParams.zEngineeringNodeBoList
|
|
delete this.updateParams.zEngineeringNodeBoList
|
|
- this.updateParams.zEngineeringNodeBo.zEngineeringInfoBoList = zEngineeringInfoBoList
|
|
|
|
|
|
+ try {
|
|
|
|
+ this.updateParams.zEngineeringNodeBo.zEngineeringInfoBoList = this.updateParams.zEngineeringNodeBo.zEngineeringInfoBoList.filter(obj => value.map(o => o.id).includes(obj.id))
|
|
|
|
+ } catch (e) {
|
|
|
|
+ }
|
|
putEngineeringPipeJacking(this.updateParams).then(res => {
|
|
putEngineeringPipeJacking(this.updateParams).then(res => {
|
|
console.log(res)
|
|
console.log(res)
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|