WXL
10 小时以前 700db0c4cb682aed7f0670582ffd5bb5fc51e683
src/views/project/donationdetails/index.vue
@@ -369,7 +369,8 @@
          <el-row>
            <el-col :span="8">
              <el-form-item
                label="所在医疗机构"label-width="120px"
                label="所在医疗机构"
                label-width="120px"
                prop="currentMedicalInstitution"
              >
                <el-input
@@ -618,6 +619,21 @@
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="24">
              <el-form-item align="left" label="本人意愿 " prop="selfwill">
                <el-checkbox-group v-model="form.selfwill">
                  <el-checkbox
                    v-for="dict in dict.type.sys_SelfWill || []"
                    :key="dict.value"
                    :label="dict.value"
                  >
                    {{ dict.label }}
                  </el-checkbox>
                </el-checkbox-group>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <div display="flex">
              <el-row>
                <el-col :span="12">
@@ -649,21 +665,7 @@
              </el-row>
            </div>
          </el-row>
          <el-row>
            <el-col :span="24">
              <el-form-item align="left" label="本人意愿 " prop="selfwill">
                <el-checkbox-group v-model="form.selfwill">
                  <el-checkbox
                    v-for="dict in dict.type.sys_SelfWill || []"
                    :key="dict.value"
                    :label="dict.value"
                  >
                    {{ dict.label }}
                  </el-checkbox>
                </el-checkbox-group>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="主要亲属" prop="majorrelatives">
@@ -1184,11 +1186,17 @@
            <el-form-item label-width="100px" label="捐献决定">
              <el-checkbox-group v-model="organdecision">
                <el-checkbox
                  v-for="item in organselection"
                  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-input
                v-if="organdecision.includes('其他')"
@@ -1438,7 +1446,7 @@
                    width="90"
                    prop="organno"
                  /> -->
                     <el-table-column
                  <el-table-column
                    label="分配接收时间"
                    align="center"
                    width="200"
@@ -1571,11 +1579,11 @@
        >
          <el-row>
            <el-col :span="10">
              <el-form-item
                label="捐献医院"
                prop="donateHospital "
              >
                <el-input v-model="witnessform.donateHospital " placeholder="请输入捐献医院" />
              <el-form-item label="捐献医院" prop="donateHospital ">
                <el-input
                  v-model="witnessform.donateHospital"
                  placeholder="请输入捐献医院"
                />
              </el-form-item>
            </el-col>
          </el-row>
@@ -1606,7 +1614,7 @@
                />
              </el-form-item>
            </el-col>
                  <el-col :span="6">
            <el-col :span="6">
              <el-form-item
                align="left"
                label="死亡原因"
@@ -1636,7 +1644,6 @@
                </el-date-picker>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="24">
@@ -2009,7 +2016,7 @@
                      />
                    </template>
                  </el-table-column>
                     <el-table-column
                  <el-table-column
                    label="获取开始时间"
                    align="center"
                    width="200"
@@ -2823,19 +2830,23 @@
        infoid: null
      },
      kinshiplist: ["配偶", "父亲", "母亲", "子女", "受托人"],
      organselection: [
      // 固定的选项列表(移除了"遗体")
      fixedOrganSelection: [
        "肝脏",
        "双肾",
        "左肾",
        "右肾",
        "肾脏",
        "单左肾",
        "单右肾",
        "心脏",
        "肺脏",
        "胰腺",
        "小肠",
        "双眼组织",
        "遗体",
        "其他"
      ],
      // 需要条件显示的选项
      conditionalOrgan: "遗体",
      //选择器官表单
      organList: {
@@ -3107,6 +3118,13 @@
    this.Getnetworkheader();
    this.getdataList();
    this.infoid = this.$route.query.id;
  },
  computed: {
    // 计算属性:决定是否显示“遗体”选项
    shouldShowConditionalOrgan() {
      // 当选中项中包含“遗体”时,才显示它
      return this.organdecision.includes(this.conditionalOrgan);
    }
  },
  mounted() {
    // this.id = this.$route.query.id;
@@ -4404,7 +4422,7 @@
  .left-course {
    background: #fff;
    width: 17vw;
    width: 14vw;
    text-align: center;
    margin: 20px 10px;
    padding: 10px;
@@ -4412,7 +4430,7 @@
    min-height: 888px;
    .postfilx {
      width: 15vw;
      width: 12vw;
      text-align: center;
      margin: 20px 10px;
      padding: 10px;