Parcourir la source

修改bug-基建审核的节点

qinhouyu il y a 1 an
Parent
commit
5052080eb0

+ 4 - 1
src/components/ConstructionDetails/index.vue

@@ -352,7 +352,7 @@ export default {
       this.$emit('updateNodeOption',this.currentCollapses)
     },
     // 查看历史
-    open(dicts, type = null,currentStatus = null) {
+    open(dicts, type = null,currentStatus = null,kind = null) {
       this.currentStatus = currentStatus
       this.checkingVisible = false
       if (type == '1' || type == '2') {
@@ -375,6 +375,9 @@ export default {
       } else {
         console.log(dicts)
         this.dialogVisible = true
+        if (type=='check'&&kind=='基建'){
+            dicts=dicts.filter(item=>['水电施工','防水'].includes(item.value))
+        }
         this.currentDicts = dicts
       }
 

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

@@ -746,7 +746,7 @@ export default {
   viewSource(e,type = null){
     console.log(e)
     this.currentId = e.id
-    this.$refs.ConstructionDetails.open(this.dict.type.engineering_infrastructure,type)
+    this.$refs.ConstructionDetails.open(this.dict.type.engineering_infrastructure,type,null,'基建')
     this.status = 'read-only'
   },
   // 填写节点信息