yxh
2026-10-12 0e10e10157b90002b99996914eaf1e5574924ddf
src/views/project/donationdetails/index.vue
@@ -221,8 +221,8 @@
                    clearable
                    size="small"
                    v-model="form.reporttime"
                    type="datetime"
                    value-format="yyyy-MM-dd HH:mm:ss"
                    type="datetime" format="yyyy-MM-dd HH:mm"
                    value-format="yyyy-MM-dd HH:mm"
                    placeholder="选择报告日期"
                  >
                  </el-date-picker>
@@ -267,8 +267,8 @@
                    clearable
                    size="small"
                    v-model="form.birthday"
                    type="date"
                    value-format="yyyy-MM-dd HH:mm:ss"
                    type="date" format="yyyy-MM-dd"
                    value-format="yyyy-MM-dd"
                    placeholder="选择出生日期"
                  >
                  </el-date-picker>
@@ -779,8 +779,8 @@
                  size="small"
                  style="width: 190px"
                  v-model="form.contacttime"
                  type="datetime"
                  value-format="yyyy-MM-dd HH:mm:ss"
                  type="datetime" format="yyyy-MM-dd HH:mm"
                  value-format="yyyy-MM-dd HH:mm"
                  placeholder="选择报告时间"
                >
                </el-date-picker>
@@ -862,8 +862,8 @@
                  clearable
                  size="small"
                  v-model="medicineform.hospitalassesstime"
                  type="date"
                  value-format="yyyy-MM-dd HH:mm:ss"
                  type="date" format="yyyy-MM-dd"
                  value-format="yyyy-MM-dd"
                  placeholder="选择院级评估时间"
                >
                </el-date-picker> </el-form-item
@@ -915,8 +915,8 @@
                  clearable
                  size="small"
                  v-model="medicineform.provincialassesstime"
                  type="date"
                  value-format="yyyy-MM-dd HH:mm:ss"
                  type="date" format="yyyy-MM-dd"
                  value-format="yyyy-MM-dd"
                  placeholder="选择省级评估时间"
                >
                </el-date-picker> </el-form-item></el-col
@@ -969,8 +969,8 @@
                  clearable
                  size="small"
                  v-model="medicineform.coreteamassesstime"
                  type="date"
                  value-format="yyyy-MM-dd HH:mm:ss"
                  type="date" format="yyyy-MM-dd"
                  value-format="yyyy-MM-dd"
                  placeholder="评估时间"
                >
                </el-date-picker>
@@ -1195,20 +1195,29 @@
          </el-row>
          <el-row>
            <el-form-item label-width="100px" label="捐献决定">
              <el-checkbox-group v-model="organdecision">
                <el-checkbox
                  v-for="item in fixedOrganSelection"
                  :key="item"
                  :label="item"
                  >{{ item }}
                </el-checkbox>
                <el-checkbox
                  v-if="shouldShowConditionalOrgan"
                  :key="conditionalOrgan"
                  :label="conditionalOrgan"
                  >{{ conditionalOrgan }}</el-checkbox
                >
              </el-checkbox-group>
             <el-checkbox-group v-model="organdecision">
  <!-- 第一行 -->
  <el-checkbox
    v-for="item in firstLineOrgans"
    :key="item"
    :label="item"
  >{{ item }}</el-checkbox>
  <!-- 第二行 -->
  <div style="clear: both;"></div>
  <el-checkbox
    v-for="item in secondLineOrgans"
    :key="item"
    :label="item"
  >{{ item }}</el-checkbox>
  <el-checkbox
    v-if="shouldShowConditionalOrgan"
    :key="conditionalOrgan"
    :label="conditionalOrgan"
  >{{ conditionalOrgan }}</el-checkbox>
</el-checkbox-group>
              <el-input
                v-if="organdecision.includes('其他')"
                v-model="affirmform.organdecisionOther"
@@ -1379,8 +1388,8 @@
                  clearable
                  size="small"
                  v-model="ethicform.conclusiontime"
                  type="date"
                  value-format="yyyy-MM-dd HH:mm:ss"
                  type="date" format="yyyy-MM-dd"
                  value-format="yyyy-MM-dd"
                  placeholder="选择结论时间"
                >
                </el-date-picker>
@@ -1469,8 +1478,8 @@
                        size="small"
                        style="width: 100%"
                        v-model="scope.row.applicanttime"
                        type="datetime"
                        value-format="yyyy-MM-dd HH:mm:ss"
                        type="datetime" format="yyyy-MM-dd HH:mm"
                        value-format="yyyy-MM-dd HH:mm"
                        placeholder="选择分配接收时间"
                      >
                      </el-date-picker>
@@ -1649,8 +1658,8 @@
                <el-date-picker
                  clearable
                  v-model="witnessform.deathtime"
                  type="datetime"
                  value-format="yyyy-MM-dd HH:mm:ss"
                  type="datetime" format="yyyy-MM-dd HH:mm"
                  value-format="yyyy-MM-dd HH:mm"
                  placeholder="选择死亡时间"
                >
                </el-date-picker>
@@ -1688,8 +1697,8 @@
                <el-date-picker
                  clearable
                  v-model="witnessform.operationbegtime"
                  type="datetime"
                  value-format="yyyy-MM-dd HH:mm:ss"
                  type="datetime" format="yyyy-MM-dd HH:mm"
                  value-format="yyyy-MM-dd HH:mm"
                  placeholder="选择手术开始时间"
                >
                </el-date-picker>
@@ -1705,8 +1714,8 @@
                <el-date-picker
                  clearable
                  v-model="witnessform.operationendtime"
                  type="datetime"
                  value-format="yyyy-MM-dd HH:mm:ss"
                  type="datetime" format="yyyy-MM-dd HH:mm"
                  value-format="yyyy-MM-dd HH:mm"
                  placeholder="选择手术结束时间"
                >
                </el-date-picker>
@@ -1724,8 +1733,8 @@
                <el-date-picker
                  clearable
                  v-model="witnessform.coordinatorInOperating"
                  type="datetime"
                  value-format="yyyy-MM-dd HH:mm:ss"
                  type="datetime" format="yyyy-MM-dd HH:mm"
                  value-format="yyyy-MM-dd HH:mm"
                  placeholder="选择手术开始时间"
                >
                </el-date-picker>
@@ -1741,8 +1750,8 @@
                <el-date-picker
                  clearable
                  v-model="witnessform.coordinatorOutOperating"
                  type="datetime"
                  value-format="yyyy-MM-dd HH:mm:ss"
                  type="datetime" format="yyyy-MM-dd HH:mm"
                  value-format="yyyy-MM-dd HH:mm"
                  placeholder="选择手术结束时间"
                >
                </el-date-picker>
@@ -1758,8 +1767,8 @@
                <el-date-picker
                  clearable
                  v-model="witnessform.coordinatorSignTime"
                  type="datetime"
                  value-format="yyyy-MM-dd HH:mm:ss"
                  type="datetime" format="yyyy-MM-dd HH:mm"
                  value-format="yyyy-MM-dd HH:mm"
                  placeholder="选择手术结束时间"
                >
                </el-date-picker>
@@ -1785,8 +1794,8 @@
                  <el-date-picker
                    clearable
                    v-model="witnessform.abdominalaortacannulatime"
                    type="datetime"
                    value-format="yyyy-MM-dd HH:mm:ss"
                    type="datetime" format="yyyy-MM-dd HH:mm"
                    value-format="yyyy-MM-dd HH:mm"
                    placeholder="选择腹主动脉插管时间"
                  >
                  </el-date-picker>
@@ -1802,8 +1811,8 @@
                  <el-date-picker
                    clearable
                    v-model="witnessform.abdominalaortaperfusiontime"
                    type="datetime"
                    value-format="yyyy-MM-dd HH:mm:ss"
                    type="datetime" format="yyyy-MM-dd HH:mm"
                    value-format="yyyy-MM-dd HH:mm"
                    placeholder="选择腹主动脉灌注时间"
                  >
                  </el-date-picker>
@@ -1819,8 +1828,8 @@
                  <el-date-picker
                    clearable
                    v-model="witnessform.portalveincannulatime"
                    type="datetime"
                    value-format="yyyy-MM-dd HH:mm:ss"
                    type="datetime" format="yyyy-MM-dd HH:mm"
                    value-format="yyyy-MM-dd HH:mm"
                    placeholder="选择门静脉脉插管时间"
                  >
                  </el-date-picker>
@@ -1836,8 +1845,8 @@
                  <el-date-picker
                    clearable
                    v-model="witnessform.portalveinperfusiontime"
                    type="datetime"
                    value-format="yyyy-MM-dd HH:mm:ss"
                    type="datetime" format="yyyy-MM-dd HH:mm"
                    value-format="yyyy-MM-dd HH:mm"
                    placeholder="选择门静脉灌注时间"
                  >
                  </el-date-picker>
@@ -1855,8 +1864,8 @@
                  <el-date-picker
                    clearable
                    v-model="witnessform.pulmonaryarterycannulatime"
                    type="datetime"
                    value-format="yyyy-MM-dd HH:mm:ss"
                    type="datetime" format="yyyy-MM-dd HH:mm"
                    value-format="yyyy-MM-dd HH:mm"
                    placeholder="选择门静脉插管时间"
                  >
                  </el-date-picker>
@@ -1872,8 +1881,8 @@
                  <el-date-picker
                    clearable
                    v-model="witnessform.pulmonaryarteryperfusiontime"
                    type="datetime"
                    value-format="yyyy-MM-dd HH:mm:ss"
                    type="datetime" format="yyyy-MM-dd HH:mm"
                    value-format="yyyy-MM-dd HH:mm"
                    placeholder="选择门静脉灌注时间"
                  >
                  </el-date-picker>
@@ -1889,8 +1898,8 @@
                  <el-date-picker
                    clearable
                    v-model="witnessform.aortacannulatime"
                    type="datetime"
                    value-format="yyyy-MM-dd  HH:mm:ss"
                    type="datetime" format="yyyy-MM-dd HH:mm"
                    value-format="yyyy-MM-dd HH:mm"
                    placeholder="选择主动脉插管时间"
                  >
                  </el-date-picker>
@@ -1906,8 +1915,8 @@
                  <el-date-picker
                    clearable
                    v-model="witnessform.aortaperfusiontime"
                    type="datetime"
                    value-format="yyyy-MM-dd  HH:mm:ss"
                    type="datetime" format="yyyy-MM-dd HH:mm"
                    value-format="yyyy-MM-dd HH:mm"
                    placeholder="选择主动脉灌注时间"
                  >
                  </el-date-picker>
@@ -1978,27 +1987,6 @@
                  </el-table-column> -->
                  <el-table-column
                    v-if="organgettimetrue"
                    label="器官离体时间"
                    align="center"
                    width="200"
                    prop="organgettime"
                  >
                    <template slot-scope="scope">
                      <el-date-picker
                        clearable
                        size="small"
                        style="width: 100%"
                        v-model="scope.row.organgettime"
                        type="datetime"
                        value-format="yyyy-MM-dd HH:mm:ss"
                        placeholder="请输入器官离体时间"
                      >
                      </el-date-picker>
                    </template>
                  </el-table-column>
                  <el-table-column
                    label="获取医院"
                    align="center"
                    width="280"
@@ -2040,9 +2028,29 @@
                        size="small"
                        style="width: 100%"
                        v-model="scope.row.organStartTime"
                        type="datetime"
                        value-format="yyyy-MM-dd HH:mm:ss"
                        type="datetime" format="yyyy-MM-dd HH:mm"
                        value-format="yyyy-MM-dd HH:mm"
                        placeholder="请输入获取开始时间"
                      >
                      </el-date-picker>
                    </template>
                  </el-table-column>
                  <el-table-column
                    v-if="organgettimetrue"
                    label="器官离体时间"
                    align="center"
                    width="200"
                    prop="organgettime"
                  >
                    <template slot-scope="scope">
                      <el-date-picker
                        clearable
                        size="small"
                        style="width: 100%"
                        v-model="scope.row.organgettime"
                        type="datetime" format="yyyy-MM-dd HH:mm"
                        value-format="yyyy-MM-dd HH:mm"
                        placeholder="请输入器官离体时间"
                      >
                      </el-date-picker>
                    </template>
@@ -2442,8 +2450,8 @@
                  clearable
                  size="small"
                  v-model="accomplishform.completetime"
                  type="date"
                  value-format="yyyy-MM-dd hh:mm:ss"
                  type="date" format="yyyy-MM-dd"
                  value-format="yyyy-MM-dd"
                  placeholder="选择完成时间"
                >
                </el-date-picker>
@@ -2845,18 +2853,14 @@
      kinshiplist: ["配偶", "父亲", "母亲", "子女", "受托人"],
      // 固定的选项列表(移除了"遗体")
      fixedOrganSelection: [
        "肝脏",
        "肾脏",
        "单左肾",
        "单右肾",
        "心脏",
        "肺脏",
        "胰腺",
        "小肠",
        "双眼组织",
        "其他"
      ],
      firstLineOrgans: [
      "肝脏", "肾脏", "左肾脏", "右肾脏",
      "心脏", "肺脏", "胰腺", "小肠"
    ],
    // 第二行选项(您需要一起换行的两项)
    secondLineOrgans: [
      "双眼组织", "其他"
    ],
      // 需要条件显示的选项
      conditionalOrgan: "遗体",
@@ -3067,7 +3071,7 @@
        ],
        coreteamassessdoctor: [
          { required: true, message: "请输入核心成员评估医生", trigger: "blur" }
        ],
        ]
      },
      affirmrules: {
        name: [
@@ -3288,32 +3292,41 @@
      } else if (this.actives == 2) {
        this.activetele = "捐献确认";
        listRelativesconfirmation(searchParam).then(response => {
          if (response.code == 200 && response.rows[0]) {
            this.affirmform = response.rows[0];
            if (this.affirmform.organdecision) {
              this.organdecision = this.affirmform.organdecision
                .split(",")
                .flatMap(item => (item === "双肾脏" ? ["左肾", "右肾"] : item));
            }
            if (this.affirmform.kinship) {
              this.kinship = this.affirmform.kinship.split(",");
            }
            if (!this.affirmform) {
              this.affirmform = {};
              this.affirmform.residenceprovincename = "";
              this.affirmform.residencecityname = "";
              this.affirmform.residencetownname = "";
            }
            this.defultAddresss.sheng = this.affirmform.residenceprovincename;
            this.defultAddresss.shi = this.affirmform.residencecityname;
            this.defultAddresss.qu = this.affirmform.residencetownname;
          } else {
            // this.$modal.msgError(
            //   "查询是否存在确认登记记录失败" + JSON.stringify(response)
            // );
          }
        });
       listRelativesconfirmation(searchParam).then(response => {
  if (response.code == 200 && response.rows[0]) {
    this.affirmform = response.rows[0];
    // 修改器官决策的显示文本
    if (this.affirmform.organdecision) {
      // 替换器官名称
      let organdecision = this.affirmform.organdecision
        .replace(/单左肾/g, '左肾脏')
        .replace(/单右肾/g, '右肾脏')
        .replace(/双肾脏/g, '双肾脏'); // 保持双肾脏不变
      this.organdecision = organdecision
        .split(",")
        .flatMap(item => (item === "双肾脏" ? ["左肾", "右肾"] : item));
    }
    if (this.affirmform.kinship) {
      this.kinship = this.affirmform.kinship.split(",");
    }
    if (!this.affirmform) {
      this.affirmform = {};
      this.affirmform.residenceprovincename = "";
      this.affirmform.residencecityname = "";
      this.affirmform.residencetownname = "";
    }
    this.defultAddresss.sheng = this.affirmform.residenceprovincename;
    this.defultAddresss.shi = this.affirmform.residencecityname;
    this.defultAddresss.qu = this.affirmform.residencetownname;
  } else {
    // this.$modal.msgError(
    //   "查询是否存在确认登记记录失败" + JSON.stringify(response)
    // );
  }
});
      } else if (this.actives == 3) {
        this.activetele = "伦理审查";
@@ -4538,7 +4551,6 @@
        }
        // 折叠状态下调整标题文字
      }
      // 折叠状态下隐藏完整标题文字
@@ -4556,10 +4568,14 @@
      }
    }
  }
.Ticket-button{
  text-align: right;
  margin-right: 50px;
  .new-line {
  clear: both; /* 关键属性:清除两侧浮动,强制换行 */
  display: block; /* 可选:设置为块级元素,确保独占一行 */
}
  .Ticket-button {
    text-align: right;
    margin-right: 50px;
  }
  // 右侧内容区域
  .right-content {
    flex: 1;