WXL
3 天以前 dc082351978a1e9f75d7a1471a0ca7ebeac552a5
src/views/project/DonationProcess/index.vue
@@ -172,7 +172,12 @@
        </template>
      </el-table-column>
      <el-table-column label="姓名" align="center" prop="name" width="100" />
      <el-table-column
        label="捐献者姓名"
        align="center"
        prop="name"
        width="100"
      />
      <el-table-column label="性别" align="center" prop="sex" width="80">
        <template slot-scope="scope">
@@ -190,12 +195,13 @@
          />
        </template>
      </el-table-column>
      <el-table-column
        label="传染病"
        align="center"
        prop="infectious"
        width="180"
      />
       <el-table-column label="传染病" align="center" prop="infectious">
        <template slot-scope="scope">
          <span v-for="item in scope.row.infectious.split(',')"
            ><dict-tag :options="dict.type.sys_Infectious" :value="item" />
          </span>
        </template>
      </el-table-column>
      <el-table-column
        label="首诊医院"
@@ -400,6 +406,7 @@
    "sys_donornode",
    "sys_BloodType",
    "sys_EthicalReview",
    'sys_Infectious',
    "sys_BaseAssessConclusion"
  ],
  data() {
@@ -463,8 +470,7 @@
        this.stats.pendingCount = response.data.terminationCase[0];
        this.stats.approvedCount = response.data.terminationCase[1];
        this.stats.terminatedCount = response.data.terminationCase[2];
        this.stats.totalCount =
          response.total - response.data.terminationCase[2];
        this.stats.totalCount = response.total;
        this.allTableData = realData;
        let filteredData = this.applyFrontendFilter(realData);