11
WXL
2024-03-28 018cd35db8cbdca2e99ebe5b4b68dee1499cfafe
11
已修改1个文件
19 ■■■■■ 文件已修改
src/views/project/donationdetails/index.vue 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/donationdetails/index.vue
@@ -2947,9 +2947,10 @@
        });
      } else if (this.actives == 6) {
        this.activetele = "完成登记";
        if (this.accomplishform.id) {
        if (this.transplantdata[0] && !this.istb) {
          return;
        }
        if (!this.organList.organtransplant[0]) {
          listDonatecomporgan(searchParam).then(res => {
@@ -2989,6 +2990,22 @@
      } else if (this.actives == 0) {
        this.activetele = "潜在捐献";
      }
      if (!this.allocateddata[0]) {
          listDonateorgan(searchParam).then(res => {
          if (res.code == 200) {
            if (res.rows[0]) {
              this.allocateddata = res.rows;
              console.log("this.allocateddata", this.allocateddata);
              this.allocateddataform.allocateddata = this.allocateddata;
            }
            this.organList.organallocated = [];
            for (let i = 0; i < res.rows.length; i++) {
              this.organList.organallocated.push(this.allocateddata[i].organno);
            }
          } else {
          }
        });
        }
    },
    /** 保存主表按钮 */