Browse Source

附加信息合并单元格

1178232204@qq.com 3 years ago
parent
commit
657fcf73c8
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/components/knowledgeExtra/RuleCheck.vue

+ 3 - 1
src/components/knowledgeExtra/RuleCheck.vue

@@ -354,7 +354,8 @@ export default {
                   mergeArr.push(
                     { row: len, col: 0, rowspan: dtoList.length, colspan: 1 },
                     { row: len, col: 1, rowspan: dtoList.length, colspan: 1 },
-                    { row: len, col: 2, rowspan: dtoList.length, colspan: 1 }
+                    { row: len, col: 2, rowspan: dtoList.length, colspan: 1 },
+                    { row: len, col: 3, rowspan: dtoList.length, colspan: 1 }
                   );
                 }
                 datalist.push({
@@ -371,6 +372,7 @@ export default {
             }
             this.rulelist = datalist;
             this.mergeCells = mergeArr;
+            console.log(this.rulelist);
           } else {
             this.$message(res.data.msg || "获取详情失败,请稍后重试");
           }