|
@@ -183,7 +183,12 @@
|
|
|
<el-table-column label="患者姓名" align="center" prop="patientName" />
|
|
<el-table-column label="患者姓名" align="center" prop="patientName" />
|
|
|
<el-table-column label="诊断" align="center" prop="diagnose" />
|
|
<el-table-column label="诊断" align="center" prop="diagnose" />
|
|
|
<el-table-column label="医生名称" align="center" prop="doctorName" />
|
|
<el-table-column label="医生名称" align="center" prop="doctorName" />
|
|
|
- <el-table-column label="药师名称" align="center" prop="doctorDrugName" />
|
|
|
|
|
|
|
+ <el-table-column label="药师名称" align="center" prop="doctorDrugName">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <!-- 使用 v-if 指令,根据当前行的 status 值决定是否渲染药师名称 -->
|
|
|
|
|
+ <span v-if="scope.row.status !== 0">{{ scope.row.doctorDrugName }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="状态" align="center" prop="status" >
|
|
<el-table-column label="状态" align="center" prop="status" >
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<dict-tag :options="prescribeStatusOptions" :value="scope.row.status"/>
|
|
<dict-tag :options="prescribeStatusOptions" :value="scope.row.status"/>
|