1
lkk
1 天以前 eaa953134588c4cffb0a8adad14a9fa229643e71
1
1个文件已修改
27 ■■■■ 已修改文件
src/views/hosp/project/index.vue 27 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/project/index.vue
@@ -1162,8 +1162,8 @@
        this.$nextTick(() => {
          const lastId = newVal[newVal.length - 1] || "532";
          const node = this.findNodeById(this.deptOptions, lastId);
          this.queryParams.proId = lastId
          this.getList()
          this.queryParams.proId = lastId;
          this.getList();
          if (node) {
            this.$refs.tree1.setCurrentKey(lastId);
            const nodeElement = document.querySelector(
@@ -1252,7 +1252,6 @@
        if (this.treeDate?.id) {
          this.treeId.push(this.treeDate.id);
        } else {
          this.treeId.push("532");
        }
@@ -1780,7 +1779,7 @@
              }[item.tjType] || item.tjType;
          });
        }
         getlist().then((response) => {
        getlist().then((response) => {
          if (response.code == 200) {
            // this.loading = false;
            this.projectOptions = [];
@@ -1887,19 +1886,19 @@
      console.log(this.treeId);
    }, */
    async handleSuccess(isY) {
  this.cancel();
      this.cancel();
  if (this.proParent || isY) {
    // 等待左侧树加载和拼音处理
    await this.getDeptTree();
    this.precomputePinyin();
  }
      if (this.proParent || isY) {
        // 等待左侧树加载和拼音处理
        await this.getDeptTree();
        this.precomputePinyin();
      }
  // 等待右侧表格刷新
  await this.getList();
      // 等待右侧表格刷新
      await this.getList();
  this.pageLoading = false; // ✅ 统一加载状态控制
},
      this.pageLoading = false; // ✅ 统一加载状态控制
    },
    submit() {
      this.ChangeList.forEach((item) => {
        this.form.proPrice = item.ckdj;