| | |
| | | <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> |
| | | |
| | |
| | | // 加载状态 |
| | | loading: false, |
| | | saveLoading: false, |
| | | infoid:null, |
| | | infoid: null, |
| | | // 附件相关数据 |
| | | activeAttachmentType: "1", |
| | | attachmentLoading: false, |
| | |
| | | .toString() |
| | | .padStart(2, "0")}`; |
| | | }, |
| | | accomplish() { |
| | | this.$confirm("是否完成该案例捐献确认步骤?", "提醒", { |
| | | confirmButtonText: "确定", |
| | | cancelButtonText: "取消", |
| | | type: "warning" |
| | | }) |
| | | .then(() => { |
| | | this.form.state = 3; |
| | | this.handleSave(); |
| | | }) |
| | | |
| | | .catch(() => {}); |
| | | }, |
| | | |
| | | // 保存确认信息 |
| | | async handleSave() { |
| | |
| | | organdecisionOther: this.organdecisionOther |
| | | // assessannex字段已在updateAssessannexField中更新 |
| | | }; |
| | | if (saveData.state == 1 || !saveData.state) { |
| | | saveData.state = 2; |
| | | } |
| | | let response = null; |
| | | if (saveData.id) { |
| | | response = await relativesEdit(saveData); |