yubo
2026-03-11 4c72dd4e55dbfae3dca4a7ac4342220e93f25a8b
src/views/dashboard/tjUser.vue
@@ -38,10 +38,10 @@
        <el-table-column show-overflow-tooltip prop="physicalExamDate" label="体检日期" width="100" />
        <el-table-column show-overflow-tooltip prop="physicalExamType" :formatter="typeFormat" label="体检类型" width="80" />
        <el-table-column show-overflow-tooltip prop="bloodPressure" label="血压" width="60" />
        <el-table-column show-overflow-tooltip prop="transaminase" label="转氨酶" width="60" />
        <el-table-column show-overflow-tooltip prop="ecg" label="心电图" width="60" />
        <el-table-column show-overflow-tooltip prop="conclusion" label="体检结论" />
        <el-table-column show-overflow-tooltip prop="reviewRecord" label="复查记录" />
        <el-table-column show-overflow-tooltip prop="transaminase" label="转氨酶" width="70" />
        <el-table-column show-overflow-tooltip prop="ecg" label="心电图" width="70" />
        <el-table-column show-overflow-tooltip prop="conclusion" label="体检结论" min-width="100" />
        <el-table-column show-overflow-tooltip prop="reviewRecord" label="复查记录" min-width="100" />
        <el-table-column show-overflow-tooltip prop="remark" label="备注" />
      </el-table>
      <pagination
@@ -113,12 +113,14 @@
    }
  },
  mounted() {
    this.getDicts('PHYSICALEXAMTYPE').then(response => {
      this.physicalExamTypeOptions = response.data
    })
    this.getDicts('ECG').then(response => {
      this.ecgOptions = response.data
    })
    setTimeout(() => {
      this.getDicts('PHYSICALEXAMTYPE').then(response => {
        this.physicalExamTypeOptions = response.data
      })
      this.getDicts('ECG').then(response => {
        this.ecgOptions = response.data
      })
    }, 1000)
  },
  methods: {
    typeFormat(row, column) {