qx
qx
2025-04-14 5350514e716d3383fa3923a007fecac5b1ea365a
src/views/hosp/project/index.vue
@@ -978,7 +978,7 @@
      multiple: true,
      showSearch: true,
      total: 0,
      treeId: ["532"],
      treeId: [],
      ListId: [],
      noclick: false,
      consumableList: [],
@@ -1069,6 +1069,7 @@
      this.debounceFilter(val);
    },
    treeId(newVal) {
      console.log(newVal,8989)
      if (newVal && newVal.length > 0) {
        this.$nextTick(() => {
          const lastId = newVal[newVal.length - 1] || "532";
@@ -1139,7 +1140,7 @@
      traverse(this.deptOptions);
    },
    filterNode(value, data) {
      if (!value) return true; // 如果搜索值为空,返回所有节点
      if (!value) return true;
      const cached = this.pinyinCache.get(data.id);
      if (!cached) return false; // 如果没有缓存数据,不显示该节点
      const searchLower = value.toLowerCase(); // 将搜索词转为小写
@@ -1405,7 +1406,8 @@
    },
    handleNodeClick(date) {
      this.treeDate = date;
      console.log(this.treeDate);
      this.treeId = []
      console.log(this.treeId,2222);
      this.xiugais = date.qf === "0";
      let proId = date.id;
      getInfoByProId(proId).then((response) => {
@@ -1707,6 +1709,7 @@
          this.precomputePinyin();
        });
      }
      console.log(this.treeId)
    },
    submit() {
      this.ChangeList.forEach((item) => {