ソースを参照

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

maxiaoxiao 10 ヶ月 前
コミット
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;