ludc
2023-10-13 4a3dd290b99f08b6232c3f2f6d8907db15624128
Source/UBCS-WEB/src/components/Master/MasterTree.vue
@@ -97,7 +97,7 @@
          }
        }
      }).catch(res => {
        console.log(res)
        // console.log(res)
        this.$message.error(res)
      });
    },
@@ -149,7 +149,7 @@
          List.forEach(item => {
            let columnItem = {
              label: item.title,
              prop: item.field,
              prop: item.queryField,
              // type: this.columnType[item.type],
              sortable: item.sort,
              width: item.minWidth
@@ -168,8 +168,9 @@
    //树点击事件
    async nodeClick(data) {
      try {
        console.log(data)
        // console.log(data)
        this.TreeValue=data.label.split(" ")[0].trim();
        console.log('TreeValue',this.TreeValue)
        this.$emit('TreeValue',this.TreeValue)
        this.nodeClickList = data;
        this.tableHeadDataFateher = []