Fixiaobai
2023-09-04 bcc49791f51402fbbb5bba1638d4a907553828d4
src/views/standardLibrary/index.vue
@@ -360,6 +360,8 @@
            this.addTreeFormVisible = false;
            this.getStandardTree();
            this.getTableByClick(this.selectData, this.versionValue);
            this.addTreeForm=null
            this.addTreeForm.addTypeArr=[]
         },
         changeCascader(data) {
            this.addTreeForm.addTypeArr = data;
@@ -380,14 +382,18 @@
            });
         },
         selectDataList() {
            let i=0
            this.tableData.forEach((a) => {
               a.id="0"+i
               a.code = "[1]";
               i++;
               if (a.children != undefined) {
                  a.children.forEach((b) => {
                     b.code = "[2]";
                  });
               }
            });
            console.log(this.tableData);
         },
         // 表格树全部选中配置
         // 全选/取消选操作