主工作列表 bug

push
鹿和sa0ChunLuyu 16 hours ago
parent a753e536dd
commit 90d5557d96

@ -119,12 +119,12 @@
</el-table-column> </el-table-column>
<el-table-column prop="reg_num" label="门诊号" width="120" sortable="custom"> <el-table-column prop="reg_num" label="门诊号" width="120" sortable="custom">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.patient_type != 0">{{ scope.row.reg_num }}</span> {{ Number(scope.row.patient_type) !== 0 ? scope.row.reg_num : '' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="episodeid" label="住院号" width="120" sortable="custom"> <el-table-column prop="episodeid" label="住院号" width="120" sortable="custom">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.patient_type == 0">{{ scope.row.episodeid?.slice(-10) }}</span> {{ Number(scope.row.patient_type) === 0 ? scope.row.episodeid?.slice(-10) : '' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="user_name" label="姓名" width="100" sortable="custom" /> <el-table-column prop="user_name" label="姓名" width="100" sortable="custom" />
@ -171,10 +171,10 @@
<el-table-column prop="docotr" label="申请医生" width="80" /> <el-table-column prop="docotr" label="申请医生" width="80" />
<el-table-column prop="patient_type" label="病人类型" width="80"> <el-table-column prop="patient_type" label="病人类型" width="80">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.patient_type==0"></span> <span v-if="Number(scope.row.patient_type)===0"></span>
<span v-if="scope.row.patient_type==1"></span> <span v-if="Number(scope.row.patient_type)===1"></span>
<span v-if="scope.row.patient_type==2"></span> <span v-if="Number(scope.row.patient_type)===2"></span>
<span v-if="scope.row.patient_type==3"></span> <span v-if="Number(scope.row.patient_type)===3"></span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="user_phone" label="电话" width="120" sortable="custom" /> <el-table-column prop="user_phone" label="电话" width="120" sortable="custom" />
@ -269,12 +269,12 @@
</el-table-column> </el-table-column>
<el-table-column label="门诊号" width="120"> <el-table-column label="门诊号" width="120">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.patient_type != 0">{{ scope.row.reg_num }}</span> {{ Number(scope.row.patient_type) !== 0 ? scope.row.reg_num : '' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="住院号" width="120"> <el-table-column label="住院号" width="120">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.patient_type == 0">{{ scope.row.episodeid?.slice(-10) }}</span> {{ Number(scope.row.patient_type) === 0 ? scope.row.episodeid?.slice(-10) : '' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="user_name" label="姓名" /> <el-table-column prop="user_name" label="姓名" />
@ -312,10 +312,10 @@
<el-table-column prop="docotr" label="申请医生" width="80" /> <el-table-column prop="docotr" label="申请医生" width="80" />
<el-table-column prop="patient_type" label="病人类型" width="80"> <el-table-column prop="patient_type" label="病人类型" width="80">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.patient_type==0"></span> <span v-if="Number(scope.row.patient_type)===0"></span>
<span v-if="scope.row.patient_type==1"></span> <span v-if="Number(scope.row.patient_type)===1"></span>
<span v-if="scope.row.patient_type==2"></span> <span v-if="Number(scope.row.patient_type)===2"></span>
<span v-if="scope.row.patient_type==3"></span> <span v-if="Number(scope.row.patient_type)===3"></span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="user_phone" label="电话" width="120" /> <el-table-column prop="user_phone" label="电话" width="120" />

Loading…
Cancel
Save