|
|
|
|
@ -119,12 +119,12 @@
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="reg_num" label="门诊号" width="120" sortable="custom">
|
|
|
|
|
<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>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="episodeid" label="住院号" width="120" sortable="custom">
|
|
|
|
|
<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>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<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="patient_type" label="病人类型" width="80">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<span v-if="scope.row.patient_type==0">住院</span>
|
|
|
|
|
<span v-if="scope.row.patient_type==1">门诊</span>
|
|
|
|
|
<span v-if="scope.row.patient_type==2">急诊</span>
|
|
|
|
|
<span v-if="scope.row.patient_type==3">体检</span>
|
|
|
|
|
<span v-if="Number(scope.row.patient_type)===0">住院</span>
|
|
|
|
|
<span v-if="Number(scope.row.patient_type)===1">门诊</span>
|
|
|
|
|
<span v-if="Number(scope.row.patient_type)===2">急诊</span>
|
|
|
|
|
<span v-if="Number(scope.row.patient_type)===3">体检</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="user_phone" label="电话" width="120" sortable="custom" />
|
|
|
|
|
@ -269,12 +269,12 @@
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="门诊号" width="120">
|
|
|
|
|
<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>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="住院号" width="120">
|
|
|
|
|
<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>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="user_name" label="姓名" />
|
|
|
|
|
@ -312,10 +312,10 @@
|
|
|
|
|
<el-table-column prop="docotr" label="申请医生" width="80" />
|
|
|
|
|
<el-table-column prop="patient_type" label="病人类型" width="80">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<span v-if="scope.row.patient_type==0">住院</span>
|
|
|
|
|
<span v-if="scope.row.patient_type==1">门诊</span>
|
|
|
|
|
<span v-if="scope.row.patient_type==2">急诊</span>
|
|
|
|
|
<span v-if="scope.row.patient_type==3">体检</span>
|
|
|
|
|
<span v-if="Number(scope.row.patient_type)===0">住院</span>
|
|
|
|
|
<span v-if="Number(scope.row.patient_type)===1">门诊</span>
|
|
|
|
|
<span v-if="Number(scope.row.patient_type)===2">急诊</span>
|
|
|
|
|
<span v-if="Number(scope.row.patient_type)===3">体检</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="user_phone" label="电话" width="120" />
|
|
|
|
|
|