Kaynağa Gözat

fix: bug修改

allen 2 yıl önce
ebeveyn
işleme
b6af20d00b

+ 3 - 2
src/components/SelectTree/index.vue

@@ -70,10 +70,11 @@ export default {
       this.$emit('handlerClick', data)
     },
     //节点选中状态变化
-    handleClick() {
+    handleClick(val) {
+      console.log(val,'valvalvalvalavla')
       this.checkList = this.$refs.treeForm.getCheckedKeys()
       const checkNode = this.$refs.treeForm.getCheckedNodes()
-      this.node.cusareaName = checkNode[checkNode.length - 1].cusareaName
+      this.node.cusareaName = val?.cusareaName
       this.$emit('getCheckTree', this.checkList)
       this.$emit('getCheckTreeNode', checkNode)
     }

+ 0 - 1
src/views/infrastructure/deviceSetup.vue

@@ -226,7 +226,6 @@ export default {
       this.$refs.sourceCodeDetail.open(row.tarcecodeapplyBatchno)
     },
     download(row) {
-      alert(2)
     }
   }
 };

+ 0 - 2
src/views/infrastructure/waterEstablishment.vue

@@ -96,7 +96,6 @@
         </el-col>
       </el-card>
     </el-col>
-    <set-annual-water-right :visible.sync="associationManageShow"/>
     <recompose
       :visible.sync="recomposeShow"
       :editRow="editRow"
@@ -146,7 +145,6 @@ export default {
       treeData: [],
       loading: false,
       recomposeShow: false,
-      associationManageShow: false,
       waterprice: false,
       cusareaName:'',
       waterrightYear: '2023',