浏览代码

分析因子半选节点添加在创建数据中

maxiaoxiao 11 月之前
父节点
当前提交
9ce6bc6ce3
共有 1 个文件被更改,包括 8 次插入1 次删除
  1. 8 1
      src/views/complianceAnalysis/components/hgxsc.vue

+ 8 - 1
src/views/complianceAnalysis/components/hgxsc.vue

@@ -224,6 +224,13 @@ export default {
       this.ruleForm.scxList = this.$refs.tree.getCheckedNodes().map((item) => {
         return { scxbsm: item.bsm, parameter: item.parameter };
       });
+      //半选节点
+      this.$refs.tree.getHalfCheckedNodes().map((item) => {
+        this.ruleForm.scxList.push({
+          scxbsm: item.bsm,
+          parameter: item.parameter,
+        });
+      });
     },
   },
   watch: {},
@@ -249,7 +256,7 @@ export default {
 
   .treeDiv {
     width: 100%;
-    height: calc(100% - 390px);
+    height: calc(100% - 290px);
     padding: 7px;
     margin-bottom: 10px;
     overflow-y: auto;