yxh
yxh
2023-11-20 966a9c008ded0a25f1de183b680a291212445e31
src/views/project/donationdetails/index.vue
@@ -156,7 +156,7 @@
    <div style="background: #fff;">
      <!-- 顶部数据 -->
      <div class="boxdiv">
        <div class="top-text">捐献者记录工作台</div>
        <div class="top-text">捐献案例信息</div>
        <el-form
          ref="form"
          :model="form"
@@ -747,7 +747,7 @@
            >上报审核</el-button
          >
          <el-button @click="cancel">取 消</el-button>
          <!-- <el-button @click="cancel">取 消</el-button> -->
          <!-- <el-button @click="handleapproval">提交审核</el-button> -->
        </div>
      </div>
@@ -972,7 +972,7 @@
            @click="makeastepforward"
            >下一步</el-button
          > -->
          <el-button @click="cancel">取 消</el-button>
          <!-- <el-button @click="cancel">取 消</el-button> -->
        </div>
      </div>
      <!-- 捐献确认 -->
@@ -1172,7 +1172,7 @@
            @click="makeastepforward"
            >下一步</el-button
          > -->
          <el-button @click="cancel">取 消</el-button>
          <!-- <el-button @click="cancel">取 消</el-button> -->
        </div>
      </div>
      <!-- 伦理审查 -->
@@ -1240,7 +1240,7 @@
            @click="makeastepforward"
            >下一步</el-button
          > -->
          <el-button @click="cancel">取 消</el-button>
          <!-- <el-button @click="cancel">取 消</el-button> -->
        </div>
      </div>
      <!-- 器官分配 -->
@@ -1618,7 +1618,7 @@
            @click="makeastepforward"
            >下一步</el-button
          > -->
          <el-button @click="cancel">取 消</el-button>
          <!-- <el-button @click="cancel">取 消</el-button> -->
        </div>
      </div>
      <!-- 获取见证 -->
@@ -1974,7 +1974,7 @@
            >下一步</el-button
          > -->
          <el-button @click="cancel">取 消</el-button>
          <!-- <el-button @click="cancel">取 消</el-button> -->
        </div>
      </div>
      <!-- 完成登记 -->
@@ -2095,7 +2095,7 @@
            @click="Reportforreview"
            >上报审核</el-button
          >
          <el-button @click="cancel">取 消</el-button>
          <!-- <el-button @click="cancel">取 消</el-button> -->
        </div>
      </div>
      <!-- 完结流程 -->
@@ -2605,9 +2605,12 @@
      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];
@@ -2617,9 +2620,12 @@
            // );
          }
        });
      } 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];
@@ -2646,10 +2652,12 @@
            // );
          }
        });
      } 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];
@@ -2701,9 +2709,12 @@
            // );
          }
        });
      } 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
        };
@@ -2732,7 +2743,7 @@
          }
        });
      } else if (this.actives == 0) {
        this.annexfilesList = this.registerlist;
        this.annexfilesList = this.potentiallist;
        this.activetele = "潜在捐献";
      }
    },
@@ -3065,9 +3076,14 @@
        // this.GetAttacheddata();
      } else if (this.form.workflow > this.actives) {
        // this.submitForm();
        Modifydonationattachment(this.donatelist).then(res => {
          console.log(res);
        });
        this.listDonateannex()
        this.GetAttacheddata();
      } else {
        this.$modal.msgWarning("请先完成前部步骤");
        this.submitForm();
        // this.$modal.msgWarning("请先完成前部步骤");
        return;
      }
      console.log(this.form.workflow);
@@ -3305,7 +3321,7 @@
  height: 100%;
  .left-course {
    background: #fff;
    width: 25vw;
    width: 20vw;
    text-align: center;
    margin: 20px 10px;
    padding: 10px;
@@ -3378,6 +3394,7 @@
  padding-right: 66px;
}
.boxdiv {
  max-width: 80vw;
  font-size: 18px;
  padding: 0 30px;
  padding-bottom: 10px;