|
@ -80,48 +80,48 @@ |
|
|
|
|
|
|
|
|
<el-table v-loading="loading" :data="listDat" @selection-change="handleSelectionChange" max-height="600"> |
|
|
<el-table v-loading="loading" :data="listDat" @selection-change="handleSelectionChange" max-height="600"> |
|
|
<el-table-column type="selection" width="55" align="center" /> |
|
|
<el-table-column type="selection" width="55" align="center" /> |
|
|
<el-table-column fixed label="姓名" align="center" prop="name" width="100" /> |
|
|
<el-table-column fixed label="姓名" align="center" prop="name" min-width="100" /> |
|
|
<el-table-column fixed label="性别" align="center" prop="gender" show-overflow-tooltip width="100"> |
|
|
<el-table-column fixed label="性别" align="center" prop="gender" show-overflow-tooltip min-width="100"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span v-if="scope.row.gender == 0">男</span> |
|
|
<span v-if="scope.row.gender == 0">男</span> |
|
|
<span v-if="scope.row.gender == 1">女</span> |
|
|
<span v-if="scope.row.gender == 1">女</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column fixed label="年龄" align="center" prop="age" show-overflow-tooltip width="80" /> |
|
|
<el-table-column fixed label="年龄" align="center" prop="age" show-overflow-tooltip min-width="80" /> |
|
|
<el-table-column label="民族" align="center" prop="ethnicity" show-overflow-tooltip width="100" /> |
|
|
<el-table-column label="民族" align="center" prop="ethnicity" show-overflow-tooltip min-width="100" /> |
|
|
<el-table-column label="受教育年限" align="center" prop="educationYears" show-overflow-tooltip width="100" /> |
|
|
<el-table-column label="受教育年限" align="center" prop="educationYears" show-overflow-tooltip min-width="100" /> |
|
|
<el-table-column label="手机号码" align="center" prop="phone" show-overflow-tooltip width="150" /> |
|
|
<el-table-column label="手机号码" align="center" prop="phone" show-overflow-tooltip min-width="150" /> |
|
|
<el-table-column label="证件类型" align="center" prop="idCardType" show-overflow-tooltip width="200"> |
|
|
<el-table-column label="证件类型" align="center" prop="idCardType" show-overflow-tooltip min-width="200"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
{{ idCardTypeValue[scope.row.idCardType] }} |
|
|
{{ idCardTypeValue[scope.row.idCardType] }} |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column label="证件号码" align="center" prop="idCard" show-overflow-tooltip width="180" /> |
|
|
<el-table-column label="证件号码" align="center" prop="idCard" show-overflow-tooltip min-width="180" /> |
|
|
<el-table-column label="门诊/住院" align="center" show-overflow-tooltip width="100"> |
|
|
<el-table-column label="门诊/住院" align="center" show-overflow-tooltip min-width="100"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span v-if="scope.row.visitType == 0">门诊</span> |
|
|
<span v-if="scope.row.visitType == 0">门诊</span> |
|
|
<span v-if="scope.row.visitType == 1">住院</span> |
|
|
<span v-if="scope.row.visitType == 1">住院</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column label="门诊号/住院号" align="center" prop="visitNumber" show-overflow-tooltip width="180" /> |
|
|
<el-table-column label="门诊号/住院号" align="center" prop="visitNumber" show-overflow-tooltip min-width="180" /> |
|
|
<el-table-column label="门诊时间/住院时间" align="center" show-overflow-tooltip width="140"> |
|
|
<el-table-column label="门诊时间/住院时间" align="center" show-overflow-tooltip min-width="140"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span> |
|
|
<span> |
|
|
{{ parseTime(scope.row.visitTime, "{y}-{m}-{d} {h}:{i}") }} |
|
|
{{ parseTime(scope.row.visitTime, "{y}-{m}-{d} {h}:{i}") }} |
|
|
</span> |
|
|
</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column label="出院时间" align="center" prop="dischargeTime" show-overflow-tooltip width="140"> |
|
|
<el-table-column label="出院时间" align="center" prop="dischargeTime" show-overflow-tooltip min-width="140"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span> |
|
|
<span> |
|
|
{{ parseTime(scope.row.dischargeTime, "{y}-{m}-{d} {h}:{i}") }} |
|
|
{{ parseTime(scope.row.dischargeTime, "{y}-{m}-{d} {h}:{i}") }} |
|
|
</span> |
|
|
</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column label="责任医生" align="center" prop="doctor" show-overflow-tooltip width="100" /> |
|
|
<el-table-column label="责任医生" align="center" prop="doctor" show-overflow-tooltip min-width="100" /> |
|
|
<el-table-column label="主要诊断" align="center" prop="diagnosisName" show-overflow-tooltip width="100" /> |
|
|
<el-table-column label="主要诊断" align="center" prop="diagnosisName" show-overflow-tooltip min-width="100" /> |
|
|
<el-table-column label="建档人" align="center" prop="createBy" show-overflow-tooltip width="100" /> |
|
|
<el-table-column label="建档人" align="center" prop="createBy" show-overflow-tooltip min-width="100" /> |
|
|
<el-table-column label="建档时间" align="center" width="140"> |
|
|
<el-table-column label="建档时间" align="center" min-width="140"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span> |
|
|
<span> |
|
|
{{ parseTime(scope.row.createTime, "{y}-{m}-{d} {h}:{i}") }} |
|
|
{{ parseTime(scope.row.createTime, "{y}-{m}-{d} {h}:{i}") }} |
|
|