WXL
2026-05-17 3453ba7e5243022ad4388da1515dc75ad8d81f94
src/views/business/affirm/affirmInfo.vue
@@ -7,12 +7,20 @@
      <div slot="header" class="clearfix">
        <span class="detail-title">捐献确认信息</span>
        <el-button
          type="success"
          style="float: right;"
          type="primary"
          style="float: right;margin-left: 20px;"
          @click="handleSave"
          :loading="saveLoading"
        >
          保存确认信息
        </el-button>
        <el-button
          type="success"
          style="float: right;margin-left: 20px;"
          @click="accomplish"
          :loading="saveLoading"
        >
          确认完成
        </el-button>
      </div>
@@ -359,7 +367,7 @@
      // 加载状态
      loading: false,
      saveLoading: false,
      infoid:null,
      infoid: null,
      // 附件相关数据
      activeAttachmentType: "1",
      attachmentLoading: false,
@@ -756,6 +764,19 @@
        .toString()
        .padStart(2, "0")}`;
    },
    accomplish() {
      this.$confirm("是否完成该案例捐献确认步骤?", "提醒", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning"
      })
        .then(() => {
          this.form.state = 3;
          this.handleSave();
        })
        .catch(() => {});
    },
    // 保存确认信息
    async handleSave() {
@@ -773,6 +794,9 @@
          organdecisionOther: this.organdecisionOther
          // assessannex字段已在updateAssessannexField中更新
        };
        if (saveData.state == 1 || !saveData.state) {
          saveData.state = 2;
        }
        let response = null;
        if (saveData.id) {
          response = await relativesEdit(saveData);