|
@@ -35,12 +35,12 @@
|
35
|
35
|
<template slot-scope="scope">{{scope.row.info?scope.row.info.doctor:''}}</template>
|
36
|
36
|
</el-table-column>
|
37
|
37
|
<el-table-column align="center" prop="name" label="诊断">
|
38
|
|
- <template slot-scope="scope">{{ scope.row.info ? scope.row.info.diagnosis :''}}</template>
|
|
38
|
+ <template slot-scope="scope">{{ scope.row.info?scope.row.info.diagnosis :''}}</template>
|
39
|
39
|
</el-table-column>
|
40
|
40
|
<el-table-column align="center" prop="name" label="状态" width="100">
|
41
|
41
|
<template slot-scope="scope">
|
42
|
|
- <div v-if=" scope.row.info.id == 0">未就诊</div>
|
43
|
|
- <div v-if=" scope.row.info.id > 0">已就诊</div>
|
|
42
|
+ <div v-if=" scope.row.info && scope.row.info.id > 0">已就诊</div>
|
|
43
|
+ <div v-else>未就诊</div>
|
44
|
44
|
</template>
|
45
|
45
|
</el-table-column>
|
46
|
46
|
<el-table-column align="center" prop="name" label="操作" width="100">
|