zhaobao 2 år sedan
förälder
incheckning
0555b56c60

+ 3 - 3
src/views/goaf/checkTask/plan/components/CheckDefList.vue

@@ -114,7 +114,7 @@ export default {
         page: 1,
         limit: 10,
         checkTitle: '',
-        goafName: ''
+        goafId: ''
       }
     }
   },
@@ -122,8 +122,8 @@ export default {
     this.getData()
   },
   methods: {
-    loadData({ goafName }) {
-      this.conditions.goafName = goafName
+    loadData({ goafId }) {
+      this.conditions.goafId = goafId
       this.getData()
     },
     // Get Data From Server

+ 4 - 5
src/views/goaf/checkTask/plan/components/GoafList.vue

@@ -62,11 +62,10 @@ export default {
         const { code, data } = resp
         if (code === 0) {
           this.treeData = data
-          if (data.length > 0) {
-            const node = data[0]
-            this.handleTreeInit(node)
-            this.checkDefault.push(node.riskPointId)
-          }
+          // if (data.length > 0) {
+          //   const node = data[0]
+          //   this.handleTreeInit(node)
+          // }
         }
       })
     },