Kaynağa Gözat

修改顶管

qinhouyu 1 yıl önce
ebeveyn
işleme
b820a90f63

+ 5 - 2
src/views/zdsz/engineeringPipeJacking/index.vue

@@ -519,9 +519,12 @@ export default {
       this.$download.zip(`/zdsz/engineeringPipeJacking/downloadZip/顶管工程/${name}`, name);
     },
     // 填写节点信息
-    updateNodeOption(zEngineeringInfoBoList) {
+    updateNodeOption(value) {
       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 => {
         console.log(res)
         if (res.code == 200) {