Browse Source

bug修复

wangtong 1 year ago
parent
commit
d3492fb378

+ 3 - 0
src/components/ConstructionDetails/index.vue

@@ -692,6 +692,8 @@ export default {
     },
     // 查看历史
     open(dicts, type = null,currentStatus = null,kind = null,title= null,enginClassification,enginType) {
+      if (kind=='民用'||kind=='基建')
+      {
       this.enginType=enginType
       this.enginClassification=enginClassification
       let data = {enginSort:enginType}
@@ -716,6 +718,7 @@ export default {
       getEnginMaterialQualityList(data).then(res => {
         this.materialQualityList = res.data
       })
+      }
       this.currentStatus = currentStatus
       this.titleName = title
       this.checkingVisible = false

+ 1 - 1
src/views/zdsz/enginee/material/progres_visual/index.vue

@@ -377,7 +377,7 @@ export default {
         }
         console.log(dict)
         setTimeout(() => {
-          this.$refs.ConstructionDetails.open(dict,this.currentEnginType)
+          this.$refs.ConstructionDetails.open(dict,null,null,'民用',this.currentEnginClassification,this.currentEnginType)
         })
       })
       this.status = 'read-only'

+ 1 - 1
src/views/zdsz/engineeringCivil/index.vue

@@ -1561,7 +1561,7 @@ export default {
         }
         this.zEngineeringNodeBo = e
         console.log(this.zEngineeringNodeBo)
-        this.$refs.ConstructionDetails.open(dict, _, type, null, title,this.zEngineeringNodeBo.enginClassification,this.enginType)
+        this.$refs.ConstructionDetails.open(dict, _, type, '民用', title,this.zEngineeringNodeBo.enginClassification,this.enginType)
         this.status = 'read-only'
       })
     },

+ 2 - 2
src/views/zdsz/engineeringInfrastructure/index.vue

@@ -791,13 +791,13 @@ export default {
           this.zEngineeringNodeBo = e
           this.currentId = e.id
           this.status = 'read-only'
-          this.$refs.ConstructionDetails.open(checkingParams,_,type)
+          this.$refs.ConstructionDetails.open(params,_,type,'基建',null,this.zEngineeringNodeBo.enginClassification,this.zEngineeringNodeBo.enginType)
         })
       })
     } else{
       this.zEngineeringNodeBo = e
       this.currentId = e.id
-      this.$refs.ConstructionDetails.open(params,_,type)
+      this.$refs.ConstructionDetails.open(params,_,type,'基建',null,this.zEngineeringNodeBo.enginClassification,this.zEngineeringNodeBo.enginType)
       this.status = 'read-only'
     }
   },