田源
2023-11-07 4d4f51fa2924e66a3603a5f34673729b0974068f
Source/UBCS-WEB/src/components/Master/MasterTree.vue
@@ -6,7 +6,7 @@
        <span v-html="node.label"></span>
      </template>
    </avue-tree>
    <div style="display: inline-block;"><i class="el-icon-refresh refresh-icon" @click="getTreeLists"></i></div>
    <div style="display: inline-block;"><el-link icon="el-icon-refresh" class="refresh-icon" @click="getTreeLists"></el-link></div>
  </div>
</template>
@@ -114,7 +114,7 @@
            });
            this.$emit("coderuleoid", this.coderuleoid)
            this.$emit('Treedata', this.Treedata)
            console.log(this.Treedata)
            // console.log(this.Treedata)
          }
        }
      }).catch(res => {
@@ -152,6 +152,7 @@
    TableHeadRend() {
      const index = this.$route.query.id.indexOf('@');
      const result = this.$route.query.id.substring(0, index);
      // console.log(this.$route)
      return new Promise((resolve, reject) => {
        MasterTable({
          codeClassifyOid: this.nodeClickList.oid,
@@ -190,7 +191,7 @@
    async nodeClick(data) {
      try {
        // console.log(data)
        this.TreeValue = data.label.split(" ")[0].trim();
        this.TreeValue = data.label.split("</span>")[1].trim();
        // console.log('TreeValue',this.TreeValue)
        this.$emit('TreeValue', this.TreeValue)
        this.nodeClickList = data;