WXL
2026-05-17 b22b937bf902dcfbbf6d2cc6dc95ca47d160e199
src/views/business/decide/DecideInfo.vue
@@ -1,7 +1,7 @@
<template>
  <div class="death-judgment-detail">
    <case-basic-info :case-id="caseId" :show-attachment="true" />
<!-- 公共信息模块(独立显示) -->
    <!-- 公共信息模块(独立显示) -->
    <!-- 判定类型标签页 -->
    <el-card class="type-card">
@@ -24,7 +24,7 @@
        </el-tab-pane>
      </el-tabs>
    </el-card>
<el-card class="detail-card common-info-card">
    <el-card class="detail-card common-info-card">
      <div slot="header" class="clearfix">
        <span class="detail-title">公共信息</span>
      </div>
@@ -87,6 +87,15 @@
          保存信息
        </el-button>
        <el-button
          v-if="isEdit"
          style="float: right; margin-left: 10px;"
          type="success"
          @click="accomplish"
          :loading="saveLoading"
        >
          完成判定
        </el-button>
        <el-button
          v-else
          style="float: right; margin-left: 10px;"
          type="primary"
@@ -103,7 +112,6 @@
              <el-input v-model="form.deathreason" :readonly="!isEdit" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row :gutter="20">
@@ -430,8 +438,6 @@
      </div>
    </el-card>
    <!-- 上传对话框(脑死亡) -->
    <el-dialog
      :title="`上传${getCurrentBrainDeathTypeLabel}评估表`"
@@ -659,7 +665,7 @@
    this.infoid = this.$route.query.infoid;
    this.caseId = this.infoid;
    this.isEdit = this.$route.query.isEdit === "true";
    this.activeJudgmentType = this.$route.query.type;
    // 从路由参数获取默认显示类型
    if (this.$route.query.judgmentType) {
      this.activeJudgmentType = this.$route.query.judgmentType;
@@ -1047,7 +1053,19 @@
    handleEdit() {
      this.isEdit = true;
    },
    accomplish() {
      this.$confirm("是否确认完成该案例死亡判定全部信息?", "提醒", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning"
      })
        .then(() => {
          this.form.state = 3;
          this.handleSave();
        })
        .catch(() => {});
    },
    // 保存信息
    async handleSave() {
      // 根据当前标签选择验证规则
@@ -1067,6 +1085,9 @@
              rememberAnnex: this.buildBrainDeathAttachmentJson(),
              heartdeathjudgeannex: this.buildHeartDeathAttachmentJson()
            };
            if (submitData.state == 1 || !submitData.state) {
              submitData.state = 2;
            }
            let response = null;
            if (submitData.id) {