11
WXL
2023-11-10 1d0f1c5ef331b63839cf3f23622bd48ba82105d9
src/views/project/donationdetails/index.vue
@@ -966,12 +966,12 @@
            @click="Terminationcase"
            >{{ showTerminationBtn == 0 ? "终止案例" : "恢复案例" }}</el-button
          >
          <el-button
          <!-- <el-button
            v-show="makeastepforward"
            type="primary"
            @click="makeastepforward"
            >下一步</el-button
          >
          > -->
          <el-button @click="cancel">取 消</el-button>
        </div>
      </div>
@@ -1166,12 +1166,12 @@
            @click="Terminationcase"
            >{{ showTerminationBtn == 0 ? "终止案例" : "恢复案例" }}</el-button
          >
          <el-button
          <!-- <el-button
            v-show="makeastepforward"
            type="primary"
            @click="makeastepforward"
            >下一步</el-button
          >
          > -->
          <el-button @click="cancel">取 消</el-button>
        </div>
      </div>
@@ -1234,12 +1234,12 @@
            @click="Terminationcase"
            >{{ showTerminationBtn == 0 ? "终止案例" : "恢复案例" }}</el-button
          >
          <el-button
          <!-- <el-button
            v-show="makeastepforward"
            type="primary"
            @click="makeastepforward"
            >下一步</el-button
          >
          > -->
          <el-button @click="cancel">取 消</el-button>
        </div>
      </div>
@@ -1612,12 +1612,12 @@
            @click="Terminationcase"
            >{{ showTerminationBtn == 0 ? "终止案例" : "恢复案例" }}</el-button
          >
          <el-button
          <!-- <el-button
            v-show="makeastepforward"
            type="primary"
            @click="makeastepforward"
            >下一步</el-button
          >
          > -->
          <el-button @click="cancel">取 消</el-button>
        </div>
      </div>
@@ -1967,12 +1967,12 @@
            @click="Terminationcase"
            >{{ showTerminationBtn == 0 ? "终止案例" : "恢复案例" }}</el-button
          >
          <el-button
          <!-- <el-button
            v-show="makeastepforward"
            type="primary"
            @click="makeastepforward"
            >下一步</el-button
          >
          > -->
          <el-button @click="cancel">取 消</el-button>
        </div>
@@ -2605,21 +2605,27 @@
      let searchParam = {
        infoid: this.infoid
      };
      if (this.actives == 1 && !this.medicineform.infoid) {
      if (this.actives == 1) {
        this.annexfilesList = this.medicinelist;
        this.activetele = "医学评估";
        if (this.medicineform.infoid) {
          return;
        }
        listMedicalevaluation(searchParam).then(response => {
          if (response.code == 200 && response.rows[0]) {
            this.medicineform = response.rows[0];
          } else {
            this.$modal.msgError(
              "获取医学评估记录失败:" + JSON.stringify(response)
            );
            // this.$modal.msgError(
            //   "获取医学评估记录失败:" + JSON.stringify(response)
            // );
          }
        });
      } else if (this.actives == 2 && !this.affirmform.infoid) {
      } else if (this.actives == 2) {
        this.annexfilesList = this.affirmlist;
        this.activetele = "捐献确认";
        if (this.affirmform.infoid) {
          return;
        }
        listRelativesconfirmation(searchParam).then(response => {
          if (response.code == 200 && response.rows[0]) {
            this.affirmform = response.rows[0];
@@ -2641,15 +2647,17 @@
            //   );
            // }
          } else {
            this.$modal.msgError(
              "查询是否存在确认登记记录失败" + JSON.stringify(response)
            );
            // this.$modal.msgError(
            //   "查询是否存在确认登记记录失败" + JSON.stringify(response)
            // );
          }
        });
      } else if (this.actives == 3 && !this.ethicform.infoid) {
      } else if (this.actives == 3) {
        this.annexfilesList = this.ethiclist;
        this.activetele = "伦理审查";
        if (this.ethicform.infoid) {
          return;
        }
        listDonateflowchart(searchParam).then(response => {
          if (response.code == 200 && response.rows.length) {
            this.ethicform = response.rows[0];
@@ -2668,9 +2676,9 @@
              this.organalForm.organname.push(response.rows[i].organno);
            }
          } else {
            this.$modal.msgError(
              "获取器官分配信息失败:" + JSON.stringify(response)
            );
            // this.$modal.msgError(
            //   "获取器官分配信息失败:" + JSON.stringify(response)
            // );
          }
        });
      } else if (this.actives == 5 && !this.witnessform.infoid) {
@@ -2682,9 +2690,9 @@
                this.allocationform = resall.rows;
              }
            } else {
              this.$modal.msgError(
                "器官列表获取失败:" + JSON.stringify(resall)
              );
              // this.$modal.msgError(
              //   "器官列表获取失败:" + JSON.stringify(resall)
              // );
            }
          });
        }
@@ -2696,14 +2704,17 @@
              this.witnessform.infoid = this.infoid;
            }
          } else {
            this.$modal.msgError(
              "获取见证信息拿取失败:" + JSON.stringify(response)
            );
            // this.$modal.msgError(
            //   "获取见证信息拿取失败:" + JSON.stringify(response)
            // );
          }
        });
      } else if (this.actives == 6 && !this.allocationform.infoid) {
      } else if (this.actives == 6) {
        this.annexfilesList = this.registerlist;
        this.activetele = "完成登记";
        if (this.allocationform.infoid) {
          return;
        }
        let accpre = {
          id: searchParam.infoid
        };
@@ -2716,9 +2727,9 @@
                this.allocationform.infoid = this.infoid;
              }
            } else {
              this.$modal.msgError(
                "器官列表获取失败:" + JSON.stringify(resall)
              );
              // this.$modal.msgError(
              //   "器官列表获取失败:" + JSON.stringify(resall)
              // );
            }
          });
        }
@@ -2728,7 +2739,7 @@
            this.accomplishform = response.rows[0];
            this.accomplishform.infoid = this.infoid;
          } else {
            this.$modal.msgError("完成登记失败:" + JSON.stringify(response));
            // this.$modal.msgError("完成登记失败:" + JSON.stringify(response));
          }
        });
      } else if (this.actives == 0) {
@@ -3065,9 +3076,13 @@
        // this.GetAttacheddata();
      } else if (this.form.workflow > this.actives) {
        // this.submitForm();
        Modifydonationattachment(this.donatelist).then(res => {
          console.log(res);
        });
        this.GetAttacheddata();
      } else {
        this.$modal.msgWarning("请先完成前部步骤");
        this.submitForm();
        // this.$modal.msgWarning("请先完成前部步骤");
        return;
      }
      console.log(this.form.workflow);
@@ -3305,14 +3320,14 @@
  height: 100%;
  .left-course {
    background: #fff;
    width: 20%;
    width: 20vw;
    text-align: center;
    margin: 20px 10px;
    padding: 10px;
    margin-top: 0;
    .postfilx {
      width: 15%;
      width: 15vw;
      text-align: center;
      margin: 20px 10px;
      padding: 10px;
@@ -3378,6 +3393,7 @@
  padding-right: 66px;
}
.boxdiv {
  max-width: 80vw;
  font-size: 18px;
  padding: 0 30px;
  padding-bottom: 10px;