11
WXL
2024-02-29 0d09a0cc70c4e3702368295c07efc14cdf89d023
src/views/project/donationdetails/index.vue
@@ -2888,9 +2888,9 @@
          return;
        }
        // 不存在时获取器官
        let accpre = {
          id: searchParam.infoid
        };
        // let accpre = {
        //   id: searchParam.infoid
        // };
        if (!this.organList.organtransplant[0]) {
          listDonatecomporgan(searchParam).then(res => {
            if (res.code == 200) {
@@ -2912,7 +2912,7 @@
        }
        // 获取完成登记信息
        // listnewDonatecompletioninfo(accpre).then(response => {
        listDonatecompletioninfo(accpre).then(response => {
        listDonatecompletioninfo(searchParam).then(response => {
          if (response.code == 200 && response.rows.length) {
            this.accomplishform = response.rows[0];
            this.accomplishform.infoid = this.infoid;
@@ -3155,7 +3155,7 @@
                this.$modal.msgSuccess("捐献器官获取信息保存成功!");
              }
            });
console.log(this.accomplishform.id,'完成id');
            // 保存确认信息
            if (this.accomplishform.id) {
              updateDonatecompletioninfo(this.accomplishform).then(response => {
@@ -3339,7 +3339,7 @@
        if (organIndex != -1) {
          if (this.transplantdata[organIndex].id > 0) {
            this.$confirm(
              "删除器官数据后将不法恢复,您确认删除该条记录吗?",
              "删除器官数据后将无法恢复,您确认删除该条记录吗?",
              "提示",
              {
                confirmButtonText: "确定",