Selaa lähdekoodia

合规性分析节点修改

maxiaoxiao 1 vuosi sitten
vanhempi
commit
97233636b0
1 muutettua tiedostoa jossa 4 lisäystä ja 3 poistoa
  1. 4 3
      src/views/complianceAnalysis/components/hgxsc.vue

+ 4 - 3
src/views/complianceAnalysis/components/hgxsc.vue

@@ -98,7 +98,7 @@ export default {
         xmmc: "",
         jsdw: "",
         xmlx: "",
-        xzdw: "",
+        // xzdw: "",
         ydxz_bsm: "",
         yjydlx: "",
 
@@ -176,7 +176,7 @@ export default {
         xmmc: "",
         jsdw: "",
         xmlx: "",
-        xzdw: "",
+        // xzdw: "",
         ydxz_bsm: "",
         yjydlx: "",
         scxList: [],
@@ -219,8 +219,9 @@ export default {
       });
     },
     getCheckedNodes() {
+      // .getCheckedNodes(true) 是否只是叶子节点
       this.ruleForm.scxList = this.$refs.tree
-        .getCheckedNodes(true)
+        .getCheckedNodes()
         .map((item) => {
           return { scxbsm: item.bsm };
         });